@lightsparkdev/ui 1.0.1 → 1.0.3

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 (318) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{buttons-38b5823f.d.ts → buttons-35280bfe.d.ts} +40 -15
  3. package/dist/{buttons-a63671c2.d.ts → buttons-36cdd0fe.d.ts} +40 -15
  4. package/dist/{chunk-IOWK2GBE.js → chunk-2AGBCGOW.js} +2 -2
  5. package/dist/{chunk-BAQMHUBZ.js → chunk-2IXAUIKR.js} +2 -2
  6. package/dist/{chunk-YYPRW5VJ.js → chunk-2XUHQWCJ.js} +4 -4
  7. package/dist/{chunk-HV6SRK57.js → chunk-35PJW7RT.js} +2 -2
  8. package/dist/{chunk-NHZO42IA.js → chunk-435FPPZK.js} +2 -2
  9. package/dist/{chunk-ACYYMZQZ.js → chunk-4BFBANKF.js} +13 -13
  10. package/dist/{chunk-WIFHFWAN.js → chunk-4C2TISN7.js} +1 -1
  11. package/dist/{chunk-KBL7GU4S.js → chunk-4JHXRPRB.js} +3 -3
  12. package/dist/{chunk-RVT4NV6Z.js → chunk-54EOEIEN.js} +2 -2
  13. package/dist/{chunk-54WKLEUU.js → chunk-5TTLUOJ5.js} +1 -1
  14. package/dist/{chunk-FEJU2K4L.js → chunk-6CNJ5ZCC.js} +4 -4
  15. package/dist/{chunk-I5PGTS2V.js → chunk-7FHOKVKJ.js} +9 -9
  16. package/dist/{chunk-UKAPI3BN.js → chunk-7IHNYMFQ.js} +2 -2
  17. package/dist/{chunk-4CYGTH2J.js → chunk-7N2PFDYE.js} +2 -2
  18. package/dist/{chunk-JXXIU52B.js → chunk-7WDAN3OC.js} +1 -1
  19. package/dist/{chunk-GKH3ZH4N.js → chunk-7Y2G2JDF.js} +2 -2
  20. package/dist/{chunk-CZH4OCQY.js → chunk-7YY6BH5O.js} +2 -2
  21. package/dist/{chunk-4QVTXKRX.js → chunk-AAFUVYVP.js} +1 -1
  22. package/dist/chunk-ABSTTY5Q.js +7 -0
  23. package/dist/{chunk-NMJGBK5W.js → chunk-B6S7Y4K7.js} +2 -2
  24. package/dist/{chunk-3TKO2L4T.js → chunk-BDZ46Z2I.js} +2 -2
  25. package/dist/{chunk-E6XGSPA6.js → chunk-BENSR2YW.js} +1 -1
  26. package/dist/{chunk-BPZ7AV7W.js → chunk-BHP5YL2N.js} +1 -1
  27. package/dist/{chunk-NEH2HFAW.js → chunk-BSH6WRUZ.js} +3 -3
  28. package/dist/{chunk-2I6UL3CQ.js → chunk-C4KZC45Y.js} +125 -59
  29. package/dist/{chunk-4YN25H5H.js → chunk-CRTTTIAD.js} +2 -2
  30. package/dist/{chunk-TKERS7F6.js → chunk-DXA3WUSX.js} +2 -2
  31. package/dist/{chunk-SW6GFFIG.js → chunk-E4DUADXU.js} +1 -1
  32. package/dist/{chunk-GKBQAEH5.js → chunk-FO7I4E45.js} +17 -2
  33. package/dist/{chunk-MD7VQ24I.js → chunk-FT62PIPN.js} +119 -119
  34. package/dist/{chunk-FUC2Z5QZ.js → chunk-GSKTHUQJ.js} +2 -2
  35. package/dist/{chunk-POTDIFIX.js → chunk-GWHKALYQ.js} +2 -2
  36. package/dist/{chunk-TW4DU3WY.js → chunk-HGOGF6I7.js} +1 -1
  37. package/dist/{chunk-UAFWDZRG.js → chunk-I3FI3FNP.js} +4 -4
  38. package/dist/{chunk-ZFDYANKZ.js → chunk-IBZBPQMZ.js} +21 -15
  39. package/dist/chunk-IL6J7EBZ.js +17 -0
  40. package/dist/{chunk-VRZRCDI4.js → chunk-ILEZ6AWT.js} +5 -5
  41. package/dist/{chunk-LWYMD7X4.js → chunk-J3YVJWRG.js} +5 -5
  42. package/dist/{chunk-HXKKG2VQ.js → chunk-JNNJVBHF.js} +52 -7
  43. package/dist/{chunk-ZKJS5M5E.js → chunk-K7FYXGOI.js} +1 -1
  44. package/dist/{chunk-NPY3QVGG.js → chunk-KX5QZXCD.js} +1 -1
  45. package/dist/{chunk-TSHXYNRZ.js → chunk-LGKXPUSI.js} +3 -3
  46. package/dist/{chunk-KOD6R7U5.js → chunk-LH7GLNMY.js} +1 -1
  47. package/dist/{chunk-VENBTZHV.js → chunk-LIQSJ5R7.js} +2 -2
  48. package/dist/{chunk-UA3XC7J6.js → chunk-LOL5TJ3H.js} +11 -11
  49. package/dist/{chunk-HGYVPOA7.js → chunk-LTCJ6LNO.js} +1 -1
  50. package/dist/{chunk-YQP6EWZY.js → chunk-MRGHRTKA.js} +2 -2
  51. package/dist/{chunk-7TOLLB23.js → chunk-MWDDIXIP.js} +1 -1
  52. package/dist/{chunk-HE76YUIL.js → chunk-N2NPIZCV.js} +11 -11
  53. package/dist/{chunk-MO5PIHUX.js → chunk-OKXC33OU.js} +1 -1
  54. package/dist/{chunk-52POF2W4.js → chunk-PG2W2HVB.js} +6 -6
  55. package/dist/{chunk-QSVZXM35.js → chunk-PQKVR2BR.js} +1 -1
  56. package/dist/{chunk-RHHYOFN6.js → chunk-QQSV7XJX.js} +1 -1
  57. package/dist/{chunk-3A6TEYT3.js → chunk-RPNTFEXE.js} +1 -1
  58. package/dist/{chunk-CB2PBQ2G.js → chunk-SEZEDINC.js} +3 -3
  59. package/dist/{chunk-GHIYWOAC.js → chunk-SLKPLSJU.js} +27 -41
  60. package/dist/{chunk-AXFZE7WZ.js → chunk-SNFRMD6Z.js} +4 -4
  61. package/dist/{chunk-SBFDPMTS.js → chunk-UH5F35II.js} +3 -3
  62. package/dist/{chunk-44UNWWP3.js → chunk-VXKNN4SF.js} +13 -13
  63. package/dist/{chunk-AHIR5UAO.js → chunk-WGKUDRZ7.js} +2 -2
  64. package/dist/{chunk-MGXWKJDU.js → chunk-WTMJTGW4.js} +2 -2
  65. package/dist/{chunk-PK4E5P4Q.js → chunk-X4TGLNCH.js} +3 -3
  66. package/dist/{chunk-QVKXSZ63.js → chunk-XB4KQFK2.js} +2 -2
  67. package/dist/{chunk-QBJ57KNQ.js → chunk-XDP7GCYE.js} +3 -2
  68. package/dist/{chunk-5GVDRJLI.js → chunk-XM2HQVUK.js} +7 -7
  69. package/dist/{chunk-KYTOF4WO.js → chunk-XUWFUTR4.js} +1 -1
  70. package/dist/{chunk-C7TNFU3D.js → chunk-Y7RQUJUS.js} +5 -5
  71. package/dist/{chunk-CY3LZRBR.js → chunk-YIHC25WB.js} +3 -3
  72. package/dist/{chunk-3BMKXP5E.js → chunk-YRNEIRHM.js} +5 -5
  73. package/dist/components/Badge.cjs +43 -21
  74. package/dist/components/Badge.js +80 -80
  75. package/dist/components/Banner/Banner.cjs +43 -21
  76. package/dist/components/Banner/Banner.d.cts +1 -1
  77. package/dist/components/Banner/Banner.d.ts +1 -1
  78. package/dist/components/Banner/Banner.js +79 -79
  79. package/dist/components/Button.cjs +65 -56
  80. package/dist/components/Button.d.cts +2 -5
  81. package/dist/components/Button.d.ts +2 -5
  82. package/dist/components/Button.js +81 -81
  83. package/dist/components/ButtonRow.cjs +65 -56
  84. package/dist/components/ButtonRow.d.cts +1 -1
  85. package/dist/components/ButtonRow.d.ts +1 -1
  86. package/dist/components/ButtonRow.js +83 -83
  87. package/dist/components/CardPage.cjs +37 -16
  88. package/dist/components/CardPage.js +85 -85
  89. package/dist/components/Checkbox.js +5 -5
  90. package/dist/components/CodeBlock.cjs +46 -24
  91. package/dist/components/CodeBlock.js +68 -68
  92. package/dist/components/CodeInput/CodeInput.cjs +38 -17
  93. package/dist/components/CodeInput/CodeInput.js +8 -8
  94. package/dist/components/CodeInput/SingleCodeInput.cjs +38 -17
  95. package/dist/components/CodeInput/SingleCodeInput.js +7 -7
  96. package/dist/components/Collapsible.cjs +42 -21
  97. package/dist/components/Collapsible.js +65 -65
  98. package/dist/components/CommaNumberInput.cjs +47 -25
  99. package/dist/components/CommaNumberInput.d.cts +1 -1
  100. package/dist/components/CommaNumberInput.d.ts +1 -1
  101. package/dist/components/CommaNumberInput.js +71 -71
  102. package/dist/components/ContentTable.cjs +42 -21
  103. package/dist/components/ContentTable.js +64 -64
  104. package/dist/components/CopyToClipboardButton.cjs +46 -24
  105. package/dist/components/CopyToClipboardButton.js +66 -66
  106. package/dist/components/CurrencyAmount.cjs +42 -21
  107. package/dist/components/CurrencyAmount.js +64 -64
  108. package/dist/components/Drawer.cjs +236 -191
  109. package/dist/components/Drawer.d.cts +2 -0
  110. package/dist/components/Drawer.d.ts +2 -0
  111. package/dist/components/Drawer.js +82 -82
  112. package/dist/components/Dropdown.cjs +46 -24
  113. package/dist/components/Dropdown.d.cts +1 -1
  114. package/dist/components/Dropdown.d.ts +1 -1
  115. package/dist/components/Dropdown.js +66 -66
  116. package/dist/components/FileInput.cjs +42 -21
  117. package/dist/components/FileInput.js +70 -70
  118. package/dist/components/Flex.cjs +51 -0
  119. package/dist/components/Flex.d.cts +11 -0
  120. package/dist/components/Flex.d.ts +11 -0
  121. package/dist/components/Flex.js +7 -0
  122. package/dist/components/GradientCardHeader.js +7 -7
  123. package/dist/components/Icon/Icon.cjs +42 -21
  124. package/dist/components/Icon/Icon.d.cts +1 -1
  125. package/dist/components/Icon/Icon.d.ts +1 -1
  126. package/dist/components/Icon/Icon.js +63 -63
  127. package/dist/components/IconWithCircleBackground.cjs +7737 -0
  128. package/dist/components/IconWithCircleBackground.d.cts +8 -0
  129. package/dist/components/IconWithCircleBackground.d.ts +8 -0
  130. package/dist/components/IconWithCircleBackground.js +198 -0
  131. package/dist/components/InfoIconTooltip.cjs +47 -24
  132. package/dist/components/InfoIconTooltip.d.cts +1 -1
  133. package/dist/components/InfoIconTooltip.d.ts +1 -1
  134. package/dist/components/InfoIconTooltip.js +80 -80
  135. package/dist/components/LightsparkProvider.cjs +37 -16
  136. package/dist/components/LightsparkProvider.js +6 -6
  137. package/dist/components/Loading.cjs +42 -21
  138. package/dist/components/Loading.js +64 -64
  139. package/dist/components/Modal.cjs +229 -115
  140. package/dist/components/Modal.d.cts +18 -9
  141. package/dist/components/Modal.d.ts +18 -9
  142. package/dist/components/Modal.js +129 -86
  143. package/dist/components/PageSection/PageSection.cjs +47 -24
  144. package/dist/components/PageSection/PageSection.d.cts +1 -1
  145. package/dist/components/PageSection/PageSection.d.ts +1 -1
  146. package/dist/components/PageSection/PageSection.js +90 -90
  147. package/dist/components/PageSection/PageSectionNav.cjs +43 -21
  148. package/dist/components/PageSection/PageSectionNav.js +81 -81
  149. package/dist/components/PhoneInput.cjs +47 -25
  150. package/dist/components/PhoneInput.d.cts +1 -1
  151. package/dist/components/PhoneInput.d.ts +1 -1
  152. package/dist/components/PhoneInput.js +71 -71
  153. package/dist/components/Pill.cjs +42 -21
  154. package/dist/components/Pill.js +67 -67
  155. package/dist/components/ProgressBar.cjs +37 -16
  156. package/dist/components/ProgressBar.js +5 -5
  157. package/dist/components/Radio.cjs +43 -21
  158. package/dist/components/Radio.js +80 -80
  159. package/dist/components/SecretContainer.cjs +46 -24
  160. package/dist/components/SecretContainer.js +67 -67
  161. package/dist/components/StatusIndicator.js +6 -6
  162. package/dist/components/TextButton.cjs +43 -21
  163. package/dist/components/TextButton.d.cts +1 -1
  164. package/dist/components/TextButton.d.ts +1 -1
  165. package/dist/components/TextButton.js +80 -80
  166. package/dist/components/TextIconAligner.cjs +43 -21
  167. package/dist/components/TextIconAligner.d.cts +1 -1
  168. package/dist/components/TextIconAligner.d.ts +1 -1
  169. package/dist/components/TextIconAligner.js +78 -78
  170. package/dist/components/TextInput.cjs +47 -25
  171. package/dist/components/TextInput.d.cts +1 -1
  172. package/dist/components/TextInput.d.ts +1 -1
  173. package/dist/components/TextInput.js +70 -70
  174. package/dist/components/Toasts.cjs +43 -21
  175. package/dist/components/Toasts.d.cts +1 -1
  176. package/dist/components/Toasts.d.ts +1 -1
  177. package/dist/components/Toasts.js +81 -81
  178. package/dist/components/Toggle.cjs +37 -16
  179. package/dist/components/Toggle.js +6 -6
  180. package/dist/components/Tooltip.cjs +41 -19
  181. package/dist/components/Tooltip.js +5 -5
  182. package/dist/components/UnstyledButton.js +5 -5
  183. package/dist/components/documentation/AnchorLinkHeader.cjs +42 -21
  184. package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
  185. package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
  186. package/dist/components/documentation/AnchorLinkHeader.js +69 -69
  187. package/dist/components/documentation/DocsBodyParagraph.cjs +37 -16
  188. package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
  189. package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
  190. package/dist/components/documentation/DocsBodyParagraph.js +67 -67
  191. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +37 -16
  192. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
  193. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
  194. package/dist/components/documentation/DocsBodyStrongParagraph.js +67 -67
  195. package/dist/components/documentation/DocsHeadline.cjs +37 -16
  196. package/dist/components/documentation/DocsHeadline.d.cts +1 -1
  197. package/dist/components/documentation/DocsHeadline.d.ts +1 -1
  198. package/dist/components/documentation/DocsHeadline.js +68 -68
  199. package/dist/components/documentation/Video.cjs +16 -0
  200. package/dist/components/documentation/Video.d.cts +7 -1
  201. package/dist/components/documentation/Video.d.ts +7 -1
  202. package/dist/components/documentation/Video.js +20 -4
  203. package/dist/components/documentation/index.cjs +42 -21
  204. package/dist/components/documentation/index.d.cts +1 -1
  205. package/dist/components/documentation/index.d.ts +1 -1
  206. package/dist/components/documentation/index.js +69 -69
  207. package/dist/components/index.cjs +347 -231
  208. package/dist/components/index.d.cts +3 -1
  209. package/dist/components/index.d.ts +3 -1
  210. package/dist/components/index.js +138 -132
  211. package/dist/components/typography/Article.cjs +37 -16
  212. package/dist/components/typography/Article.js +74 -74
  213. package/dist/components/typography/Body.cjs +43 -21
  214. package/dist/components/typography/Body.d.cts +1 -1
  215. package/dist/components/typography/Body.d.ts +1 -1
  216. package/dist/components/typography/Body.js +67 -67
  217. package/dist/components/typography/BodyStrong.cjs +43 -21
  218. package/dist/components/typography/BodyStrong.d.cts +1 -1
  219. package/dist/components/typography/BodyStrong.d.ts +1 -1
  220. package/dist/components/typography/BodyStrong.js +67 -67
  221. package/dist/components/typography/Code.cjs +43 -21
  222. package/dist/components/typography/Code.d.cts +1 -1
  223. package/dist/components/typography/Code.d.ts +1 -1
  224. package/dist/components/typography/Code.js +67 -67
  225. package/dist/components/typography/Display.cjs +43 -21
  226. package/dist/components/typography/Display.d.cts +1 -1
  227. package/dist/components/typography/Display.d.ts +1 -1
  228. package/dist/components/typography/Display.js +67 -67
  229. package/dist/components/typography/Headline.cjs +43 -21
  230. package/dist/components/typography/Headline.d.cts +1 -1
  231. package/dist/components/typography/Headline.d.ts +1 -1
  232. package/dist/components/typography/Headline.js +67 -67
  233. package/dist/components/typography/Label.cjs +43 -21
  234. package/dist/components/typography/Label.d.cts +1 -1
  235. package/dist/components/typography/Label.d.ts +1 -1
  236. package/dist/components/typography/Label.js +67 -67
  237. package/dist/components/typography/LabelModerate.cjs +43 -21
  238. package/dist/components/typography/LabelModerate.d.cts +1 -1
  239. package/dist/components/typography/LabelModerate.d.ts +1 -1
  240. package/dist/components/typography/LabelModerate.js +67 -67
  241. package/dist/components/typography/LabelStrong.cjs +43 -21
  242. package/dist/components/typography/LabelStrong.d.cts +1 -1
  243. package/dist/components/typography/LabelStrong.d.ts +1 -1
  244. package/dist/components/typography/LabelStrong.js +67 -67
  245. package/dist/components/typography/Overline.cjs +43 -21
  246. package/dist/components/typography/Overline.d.cts +1 -1
  247. package/dist/components/typography/Overline.d.ts +1 -1
  248. package/dist/components/typography/Overline.js +67 -67
  249. package/dist/components/typography/Title.cjs +43 -21
  250. package/dist/components/typography/Title.d.cts +1 -1
  251. package/dist/components/typography/Title.d.ts +1 -1
  252. package/dist/components/typography/Title.js +67 -67
  253. package/dist/components/typography/index.cjs +43 -21
  254. package/dist/components/typography/index.d.cts +1 -1
  255. package/dist/components/typography/index.d.ts +1 -1
  256. package/dist/components/typography/index.js +86 -86
  257. package/dist/components/typography/renderTypography.cjs +43 -21
  258. package/dist/components/typography/renderTypography.d.cts +1 -1
  259. package/dist/components/typography/renderTypography.d.ts +1 -1
  260. package/dist/components/typography/renderTypography.js +77 -77
  261. package/dist/hooks/useDocumentTitle.cjs +56 -0
  262. package/dist/hooks/useDocumentTitle.d.cts +3 -0
  263. package/dist/hooks/useDocumentTitle.d.ts +3 -0
  264. package/dist/hooks/useDocumentTitle.js +20 -0
  265. package/dist/hooks/useIsomorphicLayoutEffect.cjs +41 -0
  266. package/dist/hooks/useIsomorphicLayoutEffect.d.cts +5 -0
  267. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +5 -0
  268. package/dist/hooks/useIsomorphicLayoutEffect.js +7 -0
  269. package/dist/icons/ArrowUpRightCircleFill.cjs +2 -2
  270. package/dist/icons/ArrowUpRightCircleFill.js +1 -1
  271. package/dist/icons/Figma.cjs +2 -2
  272. package/dist/icons/Figma.js +1 -1
  273. package/dist/icons/index.cjs +4 -4
  274. package/dist/icons/index.js +121 -121
  275. package/dist/router.js +2 -2
  276. package/dist/styles/buttons.cjs +17 -2
  277. package/dist/styles/buttons.d.cts +1 -1
  278. package/dist/styles/buttons.d.ts +1 -1
  279. package/dist/styles/buttons.js +1 -1
  280. package/dist/styles/colors.cjs +1 -1
  281. package/dist/styles/colors.d.cts +1 -1
  282. package/dist/styles/colors.d.ts +1 -1
  283. package/dist/styles/colors.js +1 -1
  284. package/dist/styles/common.cjs +41 -19
  285. package/dist/styles/common.d.cts +3 -2
  286. package/dist/styles/common.d.ts +3 -2
  287. package/dist/styles/common.js +4 -4
  288. package/dist/styles/fields.cjs +38 -17
  289. package/dist/styles/fields.d.cts +1 -1
  290. package/dist/styles/fields.d.ts +1 -1
  291. package/dist/styles/fields.js +6 -6
  292. package/dist/styles/global.cjs +37 -16
  293. package/dist/styles/global.d.cts +1 -1
  294. package/dist/styles/global.d.ts +1 -1
  295. package/dist/styles/global.js +5 -5
  296. package/dist/styles/themes.cjs +37 -16
  297. package/dist/styles/themes.d.cts +1 -1
  298. package/dist/styles/themes.d.ts +1 -1
  299. package/dist/styles/themes.js +3 -3
  300. package/dist/styles/type.d.cts +1 -1
  301. package/dist/styles/type.d.ts +1 -1
  302. package/dist/styles/type.js +6 -6
  303. package/dist/styles/typography.cjs +37 -16
  304. package/dist/styles/typography.d.cts +1 -1
  305. package/dist/styles/typography.d.ts +1 -1
  306. package/dist/styles/typography.js +4 -4
  307. package/dist/styles/utils.js +5 -5
  308. package/dist/types/index.d.cts +1 -1
  309. package/dist/types/index.d.ts +1 -1
  310. package/dist/utils/toNonTypographicReactNodes.cjs +43 -21
  311. package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
  312. package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
  313. package/dist/utils/toNonTypographicReactNodes.js +65 -65
  314. package/dist/utils/toReactNodes.cjs +43 -21
  315. package/dist/utils/toReactNodes.d.cts +1 -1
  316. package/dist/utils/toReactNodes.d.ts +1 -1
  317. package/dist/utils/toReactNodes.js +78 -78
  318. package/package.json +1 -1
@@ -247,7 +247,7 @@ var colors = baseColors;
247
247
  function isColorKey(key) {
248
248
  return key in colors;
249
249
  }
250
- function hcNeutralFromBg(bgHex, defaultHex, altHex) {
250
+ function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
251
251
  const bgRGB = hexToRGB(bgHex);
252
252
  const hcRGB = hexToRGB(defaultHex);
253
253
  if (!bgRGB || !hcRGB)
@@ -288,7 +288,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
288
288
  // src/styles/buttons.tsx
289
289
  var buttonsThemeBase = {
290
290
  defaultSize: "Small",
291
- defaultTypography: "Body Strong",
291
+ defaultTypographyType: "Body Strong",
292
+ defaultColor: "text",
292
293
  defaultBorderRadius: 32,
293
294
  defaultBorderWidth: 1,
294
295
  defaultBackgroundColor: "bg",
@@ -312,6 +313,7 @@ var buttonsThemeBase = {
312
313
  var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
313
314
  kinds: {
314
315
  primary: {
316
+ defaultColor: "bg",
315
317
  defaultBorderWidth: 0,
316
318
  defaultBackgroundColor: "c9Neutral",
317
319
  defaultBorderColor: "c9Neutral",
@@ -339,7 +341,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
339
341
  defaultHoverBorderColor: ["gray90", "gray20"]
340
342
  },
341
343
  blue39: {
342
- defaultBorderColor: "blue39"
344
+ defaultBorderColor: "blue39",
345
+ defaultColor: "gray98"
346
+ },
347
+ blue43: {
348
+ defaultColor: "white"
349
+ },
350
+ green33: {
351
+ defaultColor: "white"
352
+ },
353
+ purple55: {
354
+ defaultColor: "white"
355
+ },
356
+ danger: {
357
+ defaultColor: "white"
343
358
  }
344
359
  }
345
360
  });
@@ -3582,7 +3597,8 @@ var baseThemeColors = {
3582
3597
  success: colors.success,
3583
3598
  text: colors.black,
3584
3599
  vlcNeutral: colors.gray95,
3585
- warning: colors.warning
3600
+ warning: colors.warning,
3601
+ inputBackground: colors.white
3586
3602
  };
3587
3603
  var themeOrColorKeyValues = [
3588
3604
  ...Object.keys(baseThemeColors),
@@ -3630,7 +3646,8 @@ var darkBaseTheme = {
3630
3646
  vlcNeutral: colors.gray20,
3631
3647
  warning: colors.warning,
3632
3648
  buttons: defaultButtonsTheme,
3633
- loading: "LoadingSpinner"
3649
+ loading: "LoadingSpinner",
3650
+ inputBackground: colors.black
3634
3651
  };
3635
3652
  var lightTheme = extend(lightBaseTheme, {
3636
3653
  header: extendBase(lightBaseTheme, {
@@ -3669,6 +3686,7 @@ var umameDocsLightTheme = extend(lightTheme, {
3669
3686
  secondary: colors.grayBlue43,
3670
3687
  text: colors.grayBlue9,
3671
3688
  link: colors.blue39,
3689
+ inputBackground: colors.white,
3672
3690
  typography: getTypography("UmameDocs" /* UmameDocs */, {
3673
3691
  main: "Manrope",
3674
3692
  code: "Monaco"
@@ -3713,28 +3731,30 @@ var bridgeBaseSettings = {
3713
3731
  code: "Monaco"
3714
3732
  }),
3715
3733
  buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
3716
- defaultTypography: "Title",
3734
+ defaultTypographyType: "Title",
3717
3735
  defaultSize: "Medium",
3718
3736
  defaultBorderRadius: 8,
3719
3737
  defaultBorderWidth: 0,
3738
+ defaultPaddingsY: {
3739
+ ExtraSmall: 14,
3740
+ Small: 14,
3741
+ Schmedium: 14,
3742
+ Medium: 14,
3743
+ Mlarge: 14,
3744
+ Large: 14
3745
+ },
3720
3746
  kinds: {
3721
3747
  primary: {
3748
+ defaultColor: "bg",
3722
3749
  defaultBackgroundColor: "blue39",
3723
3750
  defaultHoverBackgroundColor: "blue37"
3724
3751
  },
3725
3752
  ghost: {
3753
+ defaultColor: "secondary",
3726
3754
  defaultBackgroundColor: "transparent",
3727
3755
  defaultBorderWidth: 0,
3728
3756
  defaultHoverBackgroundColor: "transparent",
3729
- defaultHoverBorderColor: "transparent",
3730
- defaultPaddingsY: {
3731
- ExtraSmall: 0,
3732
- Small: 0,
3733
- Schmedium: 0,
3734
- Medium: 0,
3735
- Mlarge: 0,
3736
- Large: 0
3737
- }
3757
+ defaultHoverBorderColor: "transparent"
3738
3758
  },
3739
3759
  secondary: {
3740
3760
  defaultBackgroundColor: "transparent",
@@ -3751,7 +3771,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
3751
3771
  bg: colors.gray98,
3752
3772
  smBg: colors.gray98,
3753
3773
  text: colors.grayBlue9,
3754
- secondary: colors.grayBlue43
3774
+ secondary: colors.grayBlue43,
3775
+ inputBackground: colors.white
3755
3776
  }));
3756
3777
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3757
3778
  type: "bridgeDark" /* BridgeDark */
@@ -3915,11 +3936,12 @@ var overlaySurfaceBorderColor = ({
3915
3936
  `;
3916
3937
  var overlaySurface = ({
3917
3938
  theme,
3918
- important = false
3939
+ important = false,
3940
+ border = true
3919
3941
  }) => import_react4.css`
3920
- background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })}
3942
+ background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
3921
3943
  ${important ? "!important" : ""};
3922
- border: 0.5px solid ${important ? "!important" : ""};
3944
+ ${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
3923
3945
  ${overlaySurfaceBorderColor({ theme, important })};
3924
3946
  ${themeOr(
3925
3947
  `box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
@@ -4534,8 +4556,8 @@ function ArrowUpRightCircleFill() {
4534
4556
  children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
4535
4557
  "path",
4536
4558
  {
4537
- "fill-rule": "evenodd",
4538
- "clip-rule": "evenodd",
4559
+ fillRule: "evenodd",
4560
+ clipRule: "evenodd",
4539
4561
  d: "M20 1.25C30.3553 1.25 38.75 9.64468 38.75 20C38.75 30.3553 30.3553 38.75 20 38.75C9.64468 38.75 1.25 30.3553 1.25 20C1.25 9.64468 9.64468 1.25 20 1.25ZM15.4392 12.4122C14.8869 12.4122 14.4392 12.8599 14.4392 13.4122C14.4392 13.9644 14.8869 14.4122 15.4392 14.4122H24.1736L12.7051 25.8807C12.3146 26.2713 12.3146 26.9044 12.7051 27.2949C13.0956 27.6855 13.7288 27.6855 14.1193 27.2949L25.5879 15.8263V24.5608C25.5879 25.1131 26.0356 25.5608 26.5879 25.5608C27.1402 25.5608 27.5879 25.1131 27.5879 24.5608V13.4122C27.5879 12.8599 27.1402 12.4122 26.5879 12.4122H15.4392Z",
4540
4562
  fill: "black"
4541
4563
  }
@@ -5436,8 +5458,8 @@ function Figma() {
5436
5458
  children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5437
5459
  "path",
5438
5460
  {
5439
- "fill-rule": "evenodd",
5440
- "clip-rule": "evenodd",
5461
+ fillRule: "evenodd",
5462
+ clipRule: "evenodd",
5441
5463
  d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
5442
5464
  fill: "black"
5443
5465
  }
@@ -7976,7 +7998,7 @@ var IconContainer = import_styled2.default.span`
7976
7998
  ${({ theme, fontColor }) => {
7977
7999
  const color = getFontColor(theme, fontColor, "inherit");
7978
8000
  return `
7979
- & svg {
8001
+ svg, path {
7980
8002
  color: ${getFontColor(theme, fontColor, "inherit")};
7981
8003
 
7982
8004
  /*
@@ -8214,6 +8236,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
8214
8236
  Link,
8215
8237
  {
8216
8238
  to: node.to,
8239
+ newTab: !!node.newTab,
8217
8240
  children: node.text
8218
8241
  },
8219
8242
  `link-${i}-${node.text.substr(0, 10)}`
@@ -8511,22 +8534,6 @@ var renderTypography = (type, props) => {
8511
8534
 
8512
8535
  // src/components/Button.tsx
8513
8536
  var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
8514
- function getDefaultTextColor({ kind }) {
8515
- switch (kind) {
8516
- case "blue43":
8517
- case "green33":
8518
- case "purple55":
8519
- case "danger":
8520
- return "white";
8521
- case "blue39":
8522
- return "gray98";
8523
- case "primary": {
8524
- return "bg";
8525
- }
8526
- default:
8527
- return "text";
8528
- }
8529
- }
8530
8537
  var roundPaddingsX = {
8531
8538
  [TokenSize.ExtraSmall]: 10,
8532
8539
  [TokenSize.Small]: 10,
@@ -8549,7 +8556,7 @@ function getPaddingX(size2, kind, isRound) {
8549
8556
  function getPadding({ paddingY, kind, size: size2, iconSide, isRound }) {
8550
8557
  const paddingX = getPaddingX(size2, kind, isRound);
8551
8558
  const paddingForIcon = 0;
8552
- return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
8559
+ return kind === "ghost" ? 0 : `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
8553
8560
  }
8554
8561
  function resolveBackgroundColorKey(theme, kind, defaultKey) {
8555
8562
  var _a;
@@ -8579,12 +8586,14 @@ function resolveProps(props, theme) {
8579
8586
  kind = "secondary",
8580
8587
  size: sizeProp,
8581
8588
  paddingY: paddingYType = "regular",
8582
- borderRadius
8589
+ borderRadius,
8590
+ typography: typographyProp
8583
8591
  } = _a, rest = __objRest(_a, [
8584
8592
  "kind",
8585
8593
  "size",
8586
8594
  "paddingY",
8587
- "borderRadius"
8595
+ "borderRadius",
8596
+ "typography"
8588
8597
  ]);
8589
8598
  const size2 = resolveProp(sizeProp, kind, "defaultSize", theme);
8590
8599
  const defaultPaddingsY = resolveProp(null, kind, "defaultPaddingsY", theme);
@@ -8610,9 +8619,15 @@ function resolveProps(props, theme) {
8610
8619
  kind,
8611
8620
  "defaultHoverBorderColor"
8612
8621
  );
8622
+ const typography = {
8623
+ type: (typographyProp == null ? void 0 : typographyProp.type) || resolveProp(null, kind, "defaultTypographyType", theme),
8624
+ color: (typographyProp == null ? void 0 : typographyProp.color) || resolveProp(null, kind, "defaultColor", theme),
8625
+ size: size2
8626
+ };
8613
8627
  return __spreadProps(__spreadValues({}, rest), {
8614
8628
  kind,
8615
8629
  size: size2,
8630
+ typography,
8616
8631
  paddingY: typeof defaultPaddingY === "number" ? defaultPaddingY : defaultPaddingY[paddingYType],
8617
8632
  borderRadius: resolveProp(borderRadius, kind, "defaultBorderRadius", theme),
8618
8633
  backgroundColor,
@@ -8656,12 +8671,6 @@ function Button(props) {
8656
8671
  borderRadius
8657
8672
  } = resolveProps(props, theme);
8658
8673
  const tooltipId = (0, import_react26.useRef)((0, import_lodash_es4.uniqueId)());
8659
- const fontColor = (typography == null ? void 0 : typography.color) || getDefaultTextColor({ kind, theme });
8660
- const buttonTypography = {
8661
- type: (typography == null ? void 0 : typography.type) || theme.buttons.defaultTypography,
8662
- size: size2,
8663
- color: fontColor
8664
- };
8665
8674
  const iconSize = size2 === "ExtraSmall" ? 12 : 16;
8666
8675
  let currentIcon = null;
8667
8676
  if (loading) {
@@ -8670,7 +8679,7 @@ function Button(props) {
8670
8679
  {
8671
8680
  iconSide,
8672
8681
  text,
8673
- typography: buttonTypography,
8682
+ typography,
8674
8683
  kind,
8675
8684
  children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Loading, { size: iconSize, center: false })
8676
8685
  }
@@ -8681,9 +8690,9 @@ function Button(props) {
8681
8690
  {
8682
8691
  iconSide,
8683
8692
  text,
8684
- typography: buttonTypography,
8693
+ typography,
8685
8694
  kind,
8686
- children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Icon, { name: icon, width: iconSize, color: fontColor })
8695
+ children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
8687
8696
  }
8688
8697
  );
8689
8698
  }
@@ -8706,10 +8715,10 @@ function Button(props) {
8706
8715
  textOverflow: "ellipsis",
8707
8716
  overflow: "hidden"
8708
8717
  },
8709
- children: renderTypography(buttonTypography.type, {
8718
+ children: renderTypography(typography.type, {
8710
8719
  content: text,
8711
- color: buttonTypography.color,
8712
- size: buttonTypography.size
8720
+ color: typography.color,
8721
+ size: size2
8713
8722
  })
8714
8723
  }
8715
8724
  ),
@@ -8724,7 +8733,7 @@ function Button(props) {
8724
8733
  id,
8725
8734
  kind,
8726
8735
  type,
8727
- typography: buttonTypography,
8736
+ typography,
8728
8737
  onClick,
8729
8738
  fullWidth,
8730
8739
  iconSide,
@@ -5,7 +5,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
5
  import { ButtonProps } from './Button.cjs';
6
6
  import '../router.cjs';
7
7
  import 'react-router-dom';
8
- import '../buttons-a63671c2.js';
8
+ import '../buttons-36cdd0fe.js';
9
9
  import '../styles/tokens/typography.cjs';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.cjs';
@@ -5,7 +5,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
5
  import { ButtonProps } from './Button.js';
6
6
  import '../router.js';
7
7
  import 'react-router-dom';
8
- import '../buttons-38b5823f.js';
8
+ import '../buttons-35280bfe.js';
9
9
  import '../styles/tokens/typography.js';
10
10
  import '@emotion/css';
11
11
  import '../styles/colors.js';
@@ -2,150 +2,150 @@ import {
2
2
  ButtonRow,
3
3
  ButtonRowContainer,
4
4
  StyledButtonRow
5
- } from "../chunk-CY3LZRBR.js";
6
- import "../chunk-GHIYWOAC.js";
7
- import "../chunk-44UNWWP3.js";
8
- import "../chunk-54WKLEUU.js";
9
- import "../chunk-3TKO2L4T.js";
10
- import "../chunk-NMJGBK5W.js";
11
- import "../chunk-FUC2Z5QZ.js";
12
- import "../chunk-AHIR5UAO.js";
13
- import "../chunk-HV6SRK57.js";
14
- import "../chunk-IOWK2GBE.js";
15
- import "../chunk-YQP6EWZY.js";
16
- import "../chunk-4YN25H5H.js";
5
+ } from "../chunk-YIHC25WB.js";
6
+ import "../chunk-SLKPLSJU.js";
7
+ import "../chunk-VXKNN4SF.js";
8
+ import "../chunk-5TTLUOJ5.js";
9
+ import "../chunk-BDZ46Z2I.js";
10
+ import "../chunk-B6S7Y4K7.js";
11
+ import "../chunk-GSKTHUQJ.js";
12
+ import "../chunk-WGKUDRZ7.js";
13
+ import "../chunk-2AGBCGOW.js";
14
+ import "../chunk-MRGHRTKA.js";
15
+ import "../chunk-35PJW7RT.js";
16
+ import "../chunk-GWHKALYQ.js";
17
+ import "../chunk-WTMJTGW4.js";
18
+ import "../chunk-CRTTTIAD.js";
17
19
  import "../chunk-YMNSXZ5D.js";
18
- import "../chunk-POTDIFIX.js";
19
- import "../chunk-MGXWKJDU.js";
20
- import "../chunk-QBJ57KNQ.js";
20
+ import "../chunk-XDP7GCYE.js";
21
21
  import "../chunk-OPV246QW.js";
22
- import "../chunk-4QVTXKRX.js";
23
- import "../chunk-WIFHFWAN.js";
24
- import "../chunk-3A6TEYT3.js";
22
+ import "../chunk-AAFUVYVP.js";
23
+ import "../chunk-4C2TISN7.js";
24
+ import "../chunk-RPNTFEXE.js";
25
+ import "../chunk-LTCJ6LNO.js";
25
26
  import "../chunk-55OQPFLF.js";
26
- import "../chunk-HGYVPOA7.js";
27
- import "../chunk-JXXIU52B.js";
28
- import "../chunk-UAFWDZRG.js";
27
+ import "../chunk-7WDAN3OC.js";
28
+ import "../chunk-I3FI3FNP.js";
29
29
  import "../chunk-EDN2QDCB.js";
30
- import "../chunk-MD7VQ24I.js";
31
- import "../chunk-6B3T5X4O.js";
32
- import "../chunk-3BSQFYGE.js";
33
- import "../chunk-XBKRPEVT.js";
34
- import "../chunk-5522HZOC.js";
35
- import "../chunk-PJMGLSAW.js";
36
- import "../chunk-FRZBZ7PD.js";
37
- import "../chunk-3CHMNLGD.js";
30
+ import "../chunk-FT62PIPN.js";
38
31
  import "../chunk-5ZDDVLS6.js";
39
32
  import "../chunk-BCXQD6ZP.js";
40
33
  import "../chunk-JWMMGYNV.js";
41
34
  import "../chunk-MASPP6U5.js";
42
- import "../chunk-RPYB66KY.js";
43
- import "../chunk-GOURVX6U.js";
44
- import "../chunk-HPIVJCNC.js";
45
- import "../chunk-F3YK2EER.js";
35
+ import "../chunk-6B3T5X4O.js";
36
+ import "../chunk-3BSQFYGE.js";
37
+ import "../chunk-XBKRPEVT.js";
46
38
  import "../chunk-5XZ7ZEC7.js";
47
39
  import "../chunk-H52K5UTT.js";
48
40
  import "../chunk-3KOUSJV6.js";
49
41
  import "../chunk-L52XQKBX.js";
50
- import "../chunk-J5NYACJ7.js";
51
- import "../chunk-CKOW6ME2.js";
52
- import "../chunk-BX32TDWY.js";
53
- import "../chunk-IPD2D6QD.js";
42
+ import "../chunk-5522HZOC.js";
43
+ import "../chunk-PJMGLSAW.js";
44
+ import "../chunk-FRZBZ7PD.js";
45
+ import "../chunk-3CHMNLGD.js";
54
46
  import "../chunk-VRG7HI7X.js";
55
47
  import "../chunk-AFROYZKQ.js";
56
48
  import "../chunk-TAEOGBWY.js";
57
49
  import "../chunk-LQ6VW2FH.js";
58
- import "../chunk-3YVEKRB3.js";
59
- import "../chunk-M4ORU6SJ.js";
60
- import "../chunk-2TGRHBA5.js";
61
- import "../chunk-H5R5ZG3Z.js";
50
+ import "../chunk-RPYB66KY.js";
51
+ import "../chunk-GOURVX6U.js";
52
+ import "../chunk-HPIVJCNC.js";
53
+ import "../chunk-F3YK2EER.js";
62
54
  import "../chunk-MXCYWGHN.js";
63
55
  import "../chunk-ZXACVTYJ.js";
64
56
  import "../chunk-WDFOXMFH.js";
65
57
  import "../chunk-E6ZB6OJD.js";
66
- import "../chunk-M2H6AEUK.js";
67
- import "../chunk-XXE3N5AE.js";
68
- import "../chunk-3XGQJIDN.js";
69
- import "../chunk-GJAG2D3Y.js";
58
+ import "../chunk-J5NYACJ7.js";
59
+ import "../chunk-CKOW6ME2.js";
60
+ import "../chunk-BX32TDWY.js";
61
+ import "../chunk-IPD2D6QD.js";
70
62
  import "../chunk-G3AHVMGL.js";
71
63
  import "../chunk-XHLHQC5Q.js";
72
64
  import "../chunk-QBM7XXVQ.js";
73
65
  import "../chunk-5EFICY5Y.js";
74
- import "../chunk-677VQ4DY.js";
75
- import "../chunk-BDCKN7K3.js";
76
- import "../chunk-LDOAR276.js";
77
- import "../chunk-SIWCH44U.js";
66
+ import "../chunk-3YVEKRB3.js";
67
+ import "../chunk-M4ORU6SJ.js";
68
+ import "../chunk-2TGRHBA5.js";
69
+ import "../chunk-H5R5ZG3Z.js";
78
70
  import "../chunk-W5QTCRAG.js";
79
71
  import "../chunk-CPHTE26N.js";
80
72
  import "../chunk-N5LIZ3K6.js";
81
73
  import "../chunk-LHSGZZVE.js";
82
- import "../chunk-QAWK7SU6.js";
83
- import "../chunk-72CHU34B.js";
84
- import "../chunk-5EIYTCCK.js";
85
- import "../chunk-OSOHJUPD.js";
74
+ import "../chunk-M2H6AEUK.js";
75
+ import "../chunk-XXE3N5AE.js";
76
+ import "../chunk-3XGQJIDN.js";
77
+ import "../chunk-GJAG2D3Y.js";
86
78
  import "../chunk-YO5J3T3L.js";
87
79
  import "../chunk-XGUCS6ED.js";
88
80
  import "../chunk-36ATWJ72.js";
89
81
  import "../chunk-K6KKTYTR.js";
90
- import "../chunk-GKH3ZH4N.js";
91
- import "../chunk-7UBU5MKY.js";
92
- import "../chunk-IX5TIDMO.js";
93
- import "../chunk-FGJPZTJP.js";
82
+ import "../chunk-677VQ4DY.js";
83
+ import "../chunk-BDCKN7K3.js";
84
+ import "../chunk-LDOAR276.js";
85
+ import "../chunk-SIWCH44U.js";
94
86
  import "../chunk-24JOGF62.js";
95
87
  import "../chunk-55PXMNOG.js";
96
88
  import "../chunk-FLREHHOH.js";
97
89
  import "../chunk-RCIZUC7L.js";
98
- import "../chunk-KODQP6CN.js";
99
- import "../chunk-UZ4TRHF3.js";
100
- import "../chunk-PF5SD6AF.js";
101
- import "../chunk-5XTJZUMA.js";
90
+ import "../chunk-QAWK7SU6.js";
91
+ import "../chunk-72CHU34B.js";
92
+ import "../chunk-5EIYTCCK.js";
93
+ import "../chunk-OSOHJUPD.js";
102
94
  import "../chunk-262GCJFO.js";
103
95
  import "../chunk-GY5XKCWS.js";
104
96
  import "../chunk-ZMCAQFC6.js";
105
97
  import "../chunk-PO5NJLKW.js";
106
- import "../chunk-C4CFIKAL.js";
107
- import "../chunk-TA7W237X.js";
108
- import "../chunk-TSYLKHL2.js";
109
- import "../chunk-ZE4CS3ZS.js";
98
+ import "../chunk-7Y2G2JDF.js";
99
+ import "../chunk-7UBU5MKY.js";
100
+ import "../chunk-IX5TIDMO.js";
101
+ import "../chunk-FGJPZTJP.js";
110
102
  import "../chunk-FOC33AUT.js";
111
103
  import "../chunk-ACWTDOWH.js";
112
104
  import "../chunk-KX3WMRSO.js";
113
105
  import "../chunk-4EKGRFUQ.js";
114
- import "../chunk-NETNVCI3.js";
115
- import "../chunk-WNQ7KWL6.js";
116
- import "../chunk-O6YPHO6M.js";
117
- import "../chunk-2ITITIZK.js";
106
+ import "../chunk-KODQP6CN.js";
107
+ import "../chunk-UZ4TRHF3.js";
108
+ import "../chunk-PF5SD6AF.js";
109
+ import "../chunk-5XTJZUMA.js";
118
110
  import "../chunk-272LB55I.js";
119
111
  import "../chunk-V5GQM24U.js";
120
112
  import "../chunk-VNJ4NNZJ.js";
121
113
  import "../chunk-6AFSPHQC.js";
122
- import "../chunk-NESZTWYE.js";
123
- import "../chunk-WHIOQKWN.js";
124
- import "../chunk-CJDIDKDD.js";
125
- import "../chunk-SGI4RWHJ.js";
114
+ import "../chunk-C4CFIKAL.js";
115
+ import "../chunk-TA7W237X.js";
116
+ import "../chunk-TSYLKHL2.js";
117
+ import "../chunk-ZE4CS3ZS.js";
126
118
  import "../chunk-ZLYJ3AKU.js";
127
119
  import "../chunk-57MJ26OG.js";
128
120
  import "../chunk-IYEEAOW3.js";
129
121
  import "../chunk-4FM66VF3.js";
130
- import "../chunk-C5PYKGR6.js";
131
- import "../chunk-VI6WTKMV.js";
132
- import "../chunk-QW2INB5A.js";
133
- import "../chunk-JLD7MGLC.js";
134
- import "../chunk-DW6LFUI2.js";
122
+ import "../chunk-NETNVCI3.js";
123
+ import "../chunk-WNQ7KWL6.js";
124
+ import "../chunk-O6YPHO6M.js";
125
+ import "../chunk-2ITITIZK.js";
135
126
  import "../chunk-6AC5YUBP.js";
136
127
  import "../chunk-ZQXRHPB6.js";
137
128
  import "../chunk-Q3YLC4JA.js";
138
- import "../chunk-BAQMHUBZ.js";
129
+ import "../chunk-2IXAUIKR.js";
130
+ import "../chunk-NESZTWYE.js";
131
+ import "../chunk-WHIOQKWN.js";
132
+ import "../chunk-CJDIDKDD.js";
133
+ import "../chunk-SGI4RWHJ.js";
139
134
  import "../chunk-36RZWQ7S.js";
140
135
  import "../chunk-UCOL37RG.js";
141
136
  import "../chunk-YRFC56VN.js";
142
137
  import "../chunk-U2VV6SRJ.js";
143
- import "../chunk-52POF2W4.js";
144
- import "../chunk-ZFDYANKZ.js";
138
+ import "../chunk-C5PYKGR6.js";
139
+ import "../chunk-VI6WTKMV.js";
140
+ import "../chunk-QW2INB5A.js";
141
+ import "../chunk-JLD7MGLC.js";
142
+ import "../chunk-DW6LFUI2.js";
143
+ import "../chunk-PG2W2HVB.js";
144
+ import "../chunk-IBZBPQMZ.js";
145
145
  import "../chunk-ENBUKLVT.js";
146
146
  import "../chunk-JSGRNWSB.js";
147
- import "../chunk-GKBQAEH5.js";
148
- import "../chunk-KYTOF4WO.js";
147
+ import "../chunk-FO7I4E45.js";
148
+ import "../chunk-XUWFUTR4.js";
149
149
  import "../chunk-LOPKRCGI.js";
150
150
  export {
151
151
  ButtonRow,
@@ -235,7 +235,7 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
235
235
  secondary: neutral.black
236
236
  });
237
237
  var colors = baseColors;
238
- function hcNeutralFromBg(bgHex, defaultHex, altHex) {
238
+ function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
239
239
  const bgRGB = hexToRGB(bgHex);
240
240
  const hcRGB = hexToRGB(defaultHex);
241
241
  if (!bgRGB || !hcRGB)
@@ -276,7 +276,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
276
276
  // src/styles/buttons.tsx
277
277
  var buttonsThemeBase = {
278
278
  defaultSize: "Small",
279
- defaultTypography: "Body Strong",
279
+ defaultTypographyType: "Body Strong",
280
+ defaultColor: "text",
280
281
  defaultBorderRadius: 32,
281
282
  defaultBorderWidth: 1,
282
283
  defaultBackgroundColor: "bg",
@@ -300,6 +301,7 @@ var buttonsThemeBase = {
300
301
  var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
301
302
  kinds: {
302
303
  primary: {
304
+ defaultColor: "bg",
303
305
  defaultBorderWidth: 0,
304
306
  defaultBackgroundColor: "c9Neutral",
305
307
  defaultBorderColor: "c9Neutral",
@@ -327,7 +329,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
327
329
  defaultHoverBorderColor: ["gray90", "gray20"]
328
330
  },
329
331
  blue39: {
330
- defaultBorderColor: "blue39"
332
+ defaultBorderColor: "blue39",
333
+ defaultColor: "gray98"
334
+ },
335
+ blue43: {
336
+ defaultColor: "white"
337
+ },
338
+ green33: {
339
+ defaultColor: "white"
340
+ },
341
+ purple55: {
342
+ defaultColor: "white"
343
+ },
344
+ danger: {
345
+ defaultColor: "white"
331
346
  }
332
347
  }
333
348
  });
@@ -3518,7 +3533,8 @@ var baseThemeColors = {
3518
3533
  success: colors.success,
3519
3534
  text: colors.black,
3520
3535
  vlcNeutral: colors.gray95,
3521
- warning: colors.warning
3536
+ warning: colors.warning,
3537
+ inputBackground: colors.white
3522
3538
  };
3523
3539
  var themeOrColorKeyValues = [
3524
3540
  ...Object.keys(baseThemeColors),
@@ -3566,7 +3582,8 @@ var darkBaseTheme = {
3566
3582
  vlcNeutral: colors.gray20,
3567
3583
  warning: colors.warning,
3568
3584
  buttons: defaultButtonsTheme,
3569
- loading: "LoadingSpinner"
3585
+ loading: "LoadingSpinner",
3586
+ inputBackground: colors.black
3570
3587
  };
3571
3588
  var lightTheme = extend(lightBaseTheme, {
3572
3589
  header: extendBase(lightBaseTheme, {
@@ -3605,6 +3622,7 @@ var umameDocsLightTheme = extend(lightTheme, {
3605
3622
  secondary: colors.grayBlue43,
3606
3623
  text: colors.grayBlue9,
3607
3624
  link: colors.blue39,
3625
+ inputBackground: colors.white,
3608
3626
  typography: getTypography("UmameDocs" /* UmameDocs */, {
3609
3627
  main: "Manrope",
3610
3628
  code: "Monaco"
@@ -3649,28 +3667,30 @@ var bridgeBaseSettings = {
3649
3667
  code: "Monaco"
3650
3668
  }),
3651
3669
  buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
3652
- defaultTypography: "Title",
3670
+ defaultTypographyType: "Title",
3653
3671
  defaultSize: "Medium",
3654
3672
  defaultBorderRadius: 8,
3655
3673
  defaultBorderWidth: 0,
3674
+ defaultPaddingsY: {
3675
+ ExtraSmall: 14,
3676
+ Small: 14,
3677
+ Schmedium: 14,
3678
+ Medium: 14,
3679
+ Mlarge: 14,
3680
+ Large: 14
3681
+ },
3656
3682
  kinds: {
3657
3683
  primary: {
3684
+ defaultColor: "bg",
3658
3685
  defaultBackgroundColor: "blue39",
3659
3686
  defaultHoverBackgroundColor: "blue37"
3660
3687
  },
3661
3688
  ghost: {
3689
+ defaultColor: "secondary",
3662
3690
  defaultBackgroundColor: "transparent",
3663
3691
  defaultBorderWidth: 0,
3664
3692
  defaultHoverBackgroundColor: "transparent",
3665
- defaultHoverBorderColor: "transparent",
3666
- defaultPaddingsY: {
3667
- ExtraSmall: 0,
3668
- Small: 0,
3669
- Schmedium: 0,
3670
- Medium: 0,
3671
- Mlarge: 0,
3672
- Large: 0
3673
- }
3693
+ defaultHoverBorderColor: "transparent"
3674
3694
  },
3675
3695
  secondary: {
3676
3696
  defaultBackgroundColor: "transparent",
@@ -3687,7 +3707,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
3687
3707
  bg: colors.gray98,
3688
3708
  smBg: colors.gray98,
3689
3709
  text: colors.grayBlue9,
3690
- secondary: colors.grayBlue43
3710
+ secondary: colors.grayBlue43,
3711
+ inputBackground: colors.white
3691
3712
  }));
3692
3713
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3693
3714
  type: "bridgeDark" /* BridgeDark */