@lightsparkdev/ui 1.0.2 → 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 (283) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{buttons-e4eb84a2.d.ts → buttons-35280bfe.d.ts} +7 -0
  3. package/dist/{buttons-b7f56076.d.ts → buttons-36cdd0fe.d.ts} +7 -0
  4. package/dist/{chunk-GNVEN6UE.js → chunk-2AGBCGOW.js} +2 -2
  5. package/dist/{chunk-HZ63YB4Y.js → chunk-2XUHQWCJ.js} +3 -3
  6. package/dist/{chunk-CMQELZES.js → chunk-35PJW7RT.js} +2 -2
  7. package/dist/{chunk-37RRWSDE.js → chunk-435FPPZK.js} +2 -2
  8. package/dist/{chunk-55M7XHBZ.js → chunk-4BFBANKF.js} +8 -8
  9. package/dist/{chunk-VUXU77SU.js → chunk-4C2TISN7.js} +1 -1
  10. package/dist/{chunk-ZNZAY47J.js → chunk-4JHXRPRB.js} +3 -3
  11. package/dist/{chunk-XUVCOSIE.js → chunk-54EOEIEN.js} +2 -2
  12. package/dist/{chunk-BMSSV6NX.js → chunk-5TTLUOJ5.js} +1 -1
  13. package/dist/{chunk-S6AOKANU.js → chunk-6CNJ5ZCC.js} +4 -4
  14. package/dist/{chunk-2H7TBKII.js → chunk-7FHOKVKJ.js} +6 -6
  15. package/dist/{chunk-VYTN6ASZ.js → chunk-7IHNYMFQ.js} +2 -2
  16. package/dist/{chunk-F6EVBEMN.js → chunk-7N2PFDYE.js} +2 -2
  17. package/dist/{chunk-KFX7US6Y.js → chunk-7WDAN3OC.js} +1 -1
  18. package/dist/{chunk-XP3BAAUO.js → chunk-7YY6BH5O.js} +2 -2
  19. package/dist/{chunk-56QJRFP2.js → chunk-B6S7Y4K7.js} +2 -2
  20. package/dist/{chunk-SKXCT2FQ.js → chunk-BDZ46Z2I.js} +2 -2
  21. package/dist/{chunk-EMXTALIX.js → chunk-BENSR2YW.js} +1 -1
  22. package/dist/{chunk-5H32AOXL.js → chunk-BHP5YL2N.js} +1 -1
  23. package/dist/{chunk-2XRCGW74.js → chunk-BSH6WRUZ.js} +3 -3
  24. package/dist/{chunk-WV5AB4ZB.js → chunk-C4KZC45Y.js} +67 -33
  25. package/dist/{chunk-PNSZAJL7.js → chunk-CRTTTIAD.js} +2 -2
  26. package/dist/{chunk-CHK5DOMV.js → chunk-DXA3WUSX.js} +2 -2
  27. package/dist/{chunk-CZQER3QD.js → chunk-E4DUADXU.js} +1 -1
  28. package/dist/{chunk-CZCPVHVB.js → chunk-GSKTHUQJ.js} +2 -2
  29. package/dist/{chunk-TM3C4LEG.js → chunk-GWHKALYQ.js} +2 -2
  30. package/dist/{chunk-5XZJEYHG.js → chunk-HGOGF6I7.js} +1 -1
  31. package/dist/{chunk-KBYU4ZQ3.js → chunk-I3FI3FNP.js} +3 -3
  32. package/dist/{chunk-A4JZESAS.js → chunk-IBZBPQMZ.js} +7 -3
  33. package/dist/{chunk-DNVKN2FG.js → chunk-ILEZ6AWT.js} +3 -3
  34. package/dist/{chunk-TVLELY54.js → chunk-J3YVJWRG.js} +4 -4
  35. package/dist/{chunk-467PLJO3.js → chunk-JNNJVBHF.js} +51 -6
  36. package/dist/{chunk-J7SV67XL.js → chunk-K7FYXGOI.js} +1 -1
  37. package/dist/{chunk-2JYYREVX.js → chunk-KX5QZXCD.js} +1 -1
  38. package/dist/{chunk-NYQLPSG3.js → chunk-LGKXPUSI.js} +2 -2
  39. package/dist/{chunk-AI6DCUWK.js → chunk-LH7GLNMY.js} +1 -1
  40. package/dist/{chunk-UVGBD7XM.js → chunk-LIQSJ5R7.js} +2 -2
  41. package/dist/{chunk-W3BAJ3HT.js → chunk-LOL5TJ3H.js} +10 -10
  42. package/dist/{chunk-6JFJDBV2.js → chunk-LTCJ6LNO.js} +1 -1
  43. package/dist/{chunk-HRZNVE2K.js → chunk-MRGHRTKA.js} +2 -2
  44. package/dist/{chunk-HA4AQO3T.js → chunk-MWDDIXIP.js} +1 -1
  45. package/dist/{chunk-JOQCJPOA.js → chunk-N2NPIZCV.js} +9 -9
  46. package/dist/{chunk-TM2NGRD2.js → chunk-OKXC33OU.js} +1 -1
  47. package/dist/{chunk-7NPHOJXD.js → chunk-PG2W2HVB.js} +5 -5
  48. package/dist/{chunk-SRHSJOES.js → chunk-PQKVR2BR.js} +1 -1
  49. package/dist/{chunk-YRYVSAWS.js → chunk-QQSV7XJX.js} +1 -1
  50. package/dist/{chunk-27SFWLPS.js → chunk-RPNTFEXE.js} +1 -1
  51. package/dist/{chunk-RSAYBOK5.js → chunk-SEZEDINC.js} +3 -3
  52. package/dist/{chunk-EV6PGQPM.js → chunk-SLKPLSJU.js} +9 -9
  53. package/dist/{chunk-L6S22JUU.js → chunk-SNFRMD6Z.js} +3 -3
  54. package/dist/{chunk-OA3BZAST.js → chunk-UH5F35II.js} +3 -3
  55. package/dist/{chunk-DCFB5MJ7.js → chunk-VXKNN4SF.js} +10 -10
  56. package/dist/{chunk-UBYBILLK.js → chunk-WGKUDRZ7.js} +2 -2
  57. package/dist/{chunk-HP4VPMN7.js → chunk-WTMJTGW4.js} +2 -2
  58. package/dist/{chunk-SGSLTG65.js → chunk-X4TGLNCH.js} +3 -3
  59. package/dist/{chunk-35WJ3PKH.js → chunk-XB4KQFK2.js} +2 -2
  60. package/dist/{chunk-6H7PZJ2A.js → chunk-XDP7GCYE.js} +2 -1
  61. package/dist/{chunk-GGEAODIA.js → chunk-XM2HQVUK.js} +4 -4
  62. package/dist/{chunk-LL5YLPNM.js → chunk-Y7RQUJUS.js} +5 -5
  63. package/dist/{chunk-D73OOC3E.js → chunk-YIHC25WB.js} +3 -3
  64. package/dist/{chunk-UNULJ3P6.js → chunk-YRNEIRHM.js} +4 -4
  65. package/dist/components/Badge.cjs +9 -4
  66. package/dist/components/Badge.js +19 -19
  67. package/dist/components/Banner/Banner.cjs +9 -4
  68. package/dist/components/Banner/Banner.d.cts +1 -1
  69. package/dist/components/Banner/Banner.d.ts +1 -1
  70. package/dist/components/Banner/Banner.js +18 -18
  71. package/dist/components/Button.cjs +14 -8
  72. package/dist/components/Button.d.cts +1 -1
  73. package/dist/components/Button.d.ts +1 -1
  74. package/dist/components/Button.js +20 -20
  75. package/dist/components/ButtonRow.cjs +14 -8
  76. package/dist/components/ButtonRow.d.cts +1 -1
  77. package/dist/components/ButtonRow.d.ts +1 -1
  78. package/dist/components/ButtonRow.js +22 -22
  79. package/dist/components/CardPage.cjs +7 -3
  80. package/dist/components/CardPage.js +24 -24
  81. package/dist/components/Checkbox.js +3 -3
  82. package/dist/components/CodeBlock.cjs +12 -7
  83. package/dist/components/CodeBlock.js +8 -8
  84. package/dist/components/CodeInput/CodeInput.cjs +8 -4
  85. package/dist/components/CodeInput/CodeInput.js +6 -6
  86. package/dist/components/CodeInput/SingleCodeInput.cjs +8 -4
  87. package/dist/components/CodeInput/SingleCodeInput.js +5 -5
  88. package/dist/components/Collapsible.cjs +8 -4
  89. package/dist/components/Collapsible.js +5 -5
  90. package/dist/components/CommaNumberInput.cjs +13 -8
  91. package/dist/components/CommaNumberInput.d.cts +1 -1
  92. package/dist/components/CommaNumberInput.d.ts +1 -1
  93. package/dist/components/CommaNumberInput.js +11 -11
  94. package/dist/components/ContentTable.cjs +8 -4
  95. package/dist/components/ContentTable.js +4 -4
  96. package/dist/components/CopyToClipboardButton.cjs +12 -7
  97. package/dist/components/CopyToClipboardButton.js +6 -6
  98. package/dist/components/CurrencyAmount.cjs +8 -4
  99. package/dist/components/CurrencyAmount.js +4 -4
  100. package/dist/components/Drawer.cjs +185 -143
  101. package/dist/components/Drawer.d.cts +2 -0
  102. package/dist/components/Drawer.d.ts +2 -0
  103. package/dist/components/Drawer.js +21 -21
  104. package/dist/components/Dropdown.cjs +12 -7
  105. package/dist/components/Dropdown.d.cts +1 -1
  106. package/dist/components/Dropdown.d.ts +1 -1
  107. package/dist/components/Dropdown.js +5 -5
  108. package/dist/components/FileInput.cjs +8 -4
  109. package/dist/components/FileInput.js +10 -10
  110. package/dist/components/GradientCardHeader.js +5 -5
  111. package/dist/components/Icon/Icon.cjs +8 -4
  112. package/dist/components/Icon/Icon.d.cts +1 -1
  113. package/dist/components/Icon/Icon.d.ts +1 -1
  114. package/dist/components/Icon/Icon.js +3 -3
  115. package/dist/components/IconWithCircleBackground.cjs +8 -4
  116. package/dist/components/IconWithCircleBackground.js +59 -59
  117. package/dist/components/InfoIconTooltip.cjs +13 -7
  118. package/dist/components/InfoIconTooltip.d.cts +1 -1
  119. package/dist/components/InfoIconTooltip.d.ts +1 -1
  120. package/dist/components/InfoIconTooltip.js +19 -19
  121. package/dist/components/LightsparkProvider.cjs +7 -3
  122. package/dist/components/LightsparkProvider.js +4 -4
  123. package/dist/components/Loading.cjs +8 -4
  124. package/dist/components/Loading.js +4 -4
  125. package/dist/components/Modal.cjs +111 -36
  126. package/dist/components/Modal.d.cts +14 -8
  127. package/dist/components/Modal.d.ts +14 -8
  128. package/dist/components/Modal.js +59 -59
  129. package/dist/components/PageSection/PageSection.cjs +13 -7
  130. package/dist/components/PageSection/PageSection.d.cts +1 -1
  131. package/dist/components/PageSection/PageSection.d.ts +1 -1
  132. package/dist/components/PageSection/PageSection.js +29 -29
  133. package/dist/components/PageSection/PageSectionNav.cjs +9 -4
  134. package/dist/components/PageSection/PageSectionNav.js +20 -20
  135. package/dist/components/PhoneInput.cjs +13 -8
  136. package/dist/components/PhoneInput.d.cts +1 -1
  137. package/dist/components/PhoneInput.d.ts +1 -1
  138. package/dist/components/PhoneInput.js +11 -11
  139. package/dist/components/Pill.cjs +8 -4
  140. package/dist/components/Pill.js +7 -7
  141. package/dist/components/ProgressBar.cjs +7 -3
  142. package/dist/components/ProgressBar.js +3 -3
  143. package/dist/components/Radio.cjs +9 -4
  144. package/dist/components/Radio.js +19 -19
  145. package/dist/components/SecretContainer.cjs +12 -7
  146. package/dist/components/SecretContainer.js +7 -7
  147. package/dist/components/StatusIndicator.js +4 -4
  148. package/dist/components/TextButton.cjs +9 -4
  149. package/dist/components/TextButton.d.cts +1 -1
  150. package/dist/components/TextButton.d.ts +1 -1
  151. package/dist/components/TextButton.js +19 -19
  152. package/dist/components/TextIconAligner.cjs +9 -4
  153. package/dist/components/TextIconAligner.d.cts +1 -1
  154. package/dist/components/TextIconAligner.d.ts +1 -1
  155. package/dist/components/TextIconAligner.js +17 -17
  156. package/dist/components/TextInput.cjs +13 -8
  157. package/dist/components/TextInput.d.cts +1 -1
  158. package/dist/components/TextInput.d.ts +1 -1
  159. package/dist/components/TextInput.js +10 -10
  160. package/dist/components/Toasts.cjs +9 -4
  161. package/dist/components/Toasts.d.cts +1 -1
  162. package/dist/components/Toasts.d.ts +1 -1
  163. package/dist/components/Toasts.js +20 -20
  164. package/dist/components/Toggle.cjs +7 -3
  165. package/dist/components/Toggle.js +4 -4
  166. package/dist/components/Tooltip.cjs +11 -6
  167. package/dist/components/Tooltip.js +3 -3
  168. package/dist/components/UnstyledButton.js +3 -3
  169. package/dist/components/documentation/AnchorLinkHeader.cjs +8 -4
  170. package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
  171. package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
  172. package/dist/components/documentation/AnchorLinkHeader.js +8 -8
  173. package/dist/components/documentation/DocsBodyParagraph.cjs +7 -3
  174. package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
  175. package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
  176. package/dist/components/documentation/DocsBodyParagraph.js +6 -6
  177. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +7 -3
  178. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
  179. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
  180. package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
  181. package/dist/components/documentation/DocsHeadline.cjs +7 -3
  182. package/dist/components/documentation/DocsHeadline.d.cts +1 -1
  183. package/dist/components/documentation/DocsHeadline.d.ts +1 -1
  184. package/dist/components/documentation/DocsHeadline.js +7 -7
  185. package/dist/components/documentation/Video.cjs +16 -0
  186. package/dist/components/documentation/Video.d.cts +7 -1
  187. package/dist/components/documentation/Video.d.ts +7 -1
  188. package/dist/components/documentation/Video.js +18 -2
  189. package/dist/components/documentation/index.cjs +8 -4
  190. package/dist/components/documentation/index.d.cts +1 -1
  191. package/dist/components/documentation/index.d.ts +1 -1
  192. package/dist/components/documentation/index.js +8 -8
  193. package/dist/components/index.cjs +112 -37
  194. package/dist/components/index.d.cts +1 -1
  195. package/dist/components/index.d.ts +1 -1
  196. package/dist/components/index.js +59 -59
  197. package/dist/components/typography/Article.cjs +7 -3
  198. package/dist/components/typography/Article.js +13 -13
  199. package/dist/components/typography/Body.cjs +9 -4
  200. package/dist/components/typography/Body.d.cts +1 -1
  201. package/dist/components/typography/Body.d.ts +1 -1
  202. package/dist/components/typography/Body.js +6 -6
  203. package/dist/components/typography/BodyStrong.cjs +9 -4
  204. package/dist/components/typography/BodyStrong.d.cts +1 -1
  205. package/dist/components/typography/BodyStrong.d.ts +1 -1
  206. package/dist/components/typography/BodyStrong.js +6 -6
  207. package/dist/components/typography/Code.cjs +9 -4
  208. package/dist/components/typography/Code.d.cts +1 -1
  209. package/dist/components/typography/Code.d.ts +1 -1
  210. package/dist/components/typography/Code.js +6 -6
  211. package/dist/components/typography/Display.cjs +9 -4
  212. package/dist/components/typography/Display.d.cts +1 -1
  213. package/dist/components/typography/Display.d.ts +1 -1
  214. package/dist/components/typography/Display.js +6 -6
  215. package/dist/components/typography/Headline.cjs +9 -4
  216. package/dist/components/typography/Headline.d.cts +1 -1
  217. package/dist/components/typography/Headline.d.ts +1 -1
  218. package/dist/components/typography/Headline.js +6 -6
  219. package/dist/components/typography/Label.cjs +9 -4
  220. package/dist/components/typography/Label.d.cts +1 -1
  221. package/dist/components/typography/Label.d.ts +1 -1
  222. package/dist/components/typography/Label.js +6 -6
  223. package/dist/components/typography/LabelModerate.cjs +9 -4
  224. package/dist/components/typography/LabelModerate.d.cts +1 -1
  225. package/dist/components/typography/LabelModerate.d.ts +1 -1
  226. package/dist/components/typography/LabelModerate.js +6 -6
  227. package/dist/components/typography/LabelStrong.cjs +9 -4
  228. package/dist/components/typography/LabelStrong.d.cts +1 -1
  229. package/dist/components/typography/LabelStrong.d.ts +1 -1
  230. package/dist/components/typography/LabelStrong.js +6 -6
  231. package/dist/components/typography/Overline.cjs +9 -4
  232. package/dist/components/typography/Overline.d.cts +1 -1
  233. package/dist/components/typography/Overline.d.ts +1 -1
  234. package/dist/components/typography/Overline.js +6 -6
  235. package/dist/components/typography/Title.cjs +9 -4
  236. package/dist/components/typography/Title.d.cts +1 -1
  237. package/dist/components/typography/Title.d.ts +1 -1
  238. package/dist/components/typography/Title.js +6 -6
  239. package/dist/components/typography/index.cjs +9 -4
  240. package/dist/components/typography/index.d.cts +1 -1
  241. package/dist/components/typography/index.d.ts +1 -1
  242. package/dist/components/typography/index.js +18 -18
  243. package/dist/components/typography/renderTypography.cjs +9 -4
  244. package/dist/components/typography/renderTypography.d.cts +1 -1
  245. package/dist/components/typography/renderTypography.d.ts +1 -1
  246. package/dist/components/typography/renderTypography.js +16 -16
  247. package/dist/styles/buttons.d.cts +1 -1
  248. package/dist/styles/buttons.d.ts +1 -1
  249. package/dist/styles/common.cjs +11 -6
  250. package/dist/styles/common.d.cts +3 -2
  251. package/dist/styles/common.d.ts +3 -2
  252. package/dist/styles/common.js +2 -2
  253. package/dist/styles/fields.cjs +8 -4
  254. package/dist/styles/fields.d.cts +1 -1
  255. package/dist/styles/fields.d.ts +1 -1
  256. package/dist/styles/fields.js +4 -4
  257. package/dist/styles/global.cjs +7 -3
  258. package/dist/styles/global.d.cts +1 -1
  259. package/dist/styles/global.d.ts +1 -1
  260. package/dist/styles/global.js +3 -3
  261. package/dist/styles/themes.cjs +7 -3
  262. package/dist/styles/themes.d.cts +1 -1
  263. package/dist/styles/themes.d.ts +1 -1
  264. package/dist/styles/themes.js +1 -1
  265. package/dist/styles/type.d.cts +1 -1
  266. package/dist/styles/type.d.ts +1 -1
  267. package/dist/styles/type.js +4 -4
  268. package/dist/styles/typography.cjs +7 -3
  269. package/dist/styles/typography.d.cts +1 -1
  270. package/dist/styles/typography.d.ts +1 -1
  271. package/dist/styles/typography.js +2 -2
  272. package/dist/styles/utils.js +3 -3
  273. package/dist/types/index.d.cts +1 -1
  274. package/dist/types/index.d.ts +1 -1
  275. package/dist/utils/toNonTypographicReactNodes.cjs +9 -4
  276. package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
  277. package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
  278. package/dist/utils/toNonTypographicReactNodes.js +4 -4
  279. package/dist/utils/toReactNodes.cjs +9 -4
  280. package/dist/utils/toReactNodes.d.cts +1 -1
  281. package/dist/utils/toReactNodes.d.ts +1 -1
  282. package/dist/utils/toReactNodes.js +17 -17
  283. package/package.json +1 -1
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-YMNSXZ5D.js";
4
4
  import {
5
5
  toNonTypographicReactNodes
6
- } from "./chunk-6H7PZJ2A.js";
6
+ } from "./chunk-XDP7GCYE.js";
7
7
  import {
8
8
  applyTypography
9
- } from "./chunk-VUXU77SU.js";
9
+ } from "./chunk-4C2TISN7.js";
10
10
 
11
11
  // src/components/typography/Headline.tsx
12
12
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CopyToClipboardButton
3
- } from "./chunk-SGSLTG65.js";
3
+ } from "./chunk-X4TGLNCH.js";
4
4
  import {
5
5
  standardBorderRadius
6
- } from "./chunk-7NPHOJXD.js";
6
+ } from "./chunk-PG2W2HVB.js";
7
7
 
8
8
  // src/components/SecretContainer.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardLineHeightEms
3
- } from "./chunk-7NPHOJXD.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
 
5
5
  // src/components/Checkbox.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-6H7PZJ2A.js";
3
+ } from "./chunk-XDP7GCYE.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-VUXU77SU.js";
6
+ } from "./chunk-4C2TISN7.js";
7
7
 
8
8
  // src/components/typography/LabelStrong.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-6H7PZJ2A.js";
3
+ } from "./chunk-XDP7GCYE.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-VUXU77SU.js";
6
+ } from "./chunk-4C2TISN7.js";
7
7
 
8
8
  // src/components/typography/Body.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TextInput
3
- } from "./chunk-JOQCJPOA.js";
3
+ } from "./chunk-N2NPIZCV.js";
4
4
  import {
5
5
  addCommasToDigits,
6
6
  removeChars,
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-VI6WTKMV.js";
11
11
  import {
12
12
  rootFontSizePx
13
- } from "./chunk-7NPHOJXD.js";
13
+ } from "./chunk-PG2W2HVB.js";
14
14
  import {
15
15
  getFontColor
16
- } from "./chunk-A4JZESAS.js";
16
+ } from "./chunk-IBZBPQMZ.js";
17
17
 
18
18
  // src/components/Icon/Icon.tsx
19
19
  import styled from "@emotion/styled";
@@ -63,7 +63,7 @@ var IconContainer = styled.span`
63
63
  ${({ theme, fontColor }) => {
64
64
  const color = getFontColor(theme, fontColor, "inherit");
65
65
  return `
66
- & svg {
66
+ svg, path {
67
67
  color: ${getFontColor(theme, fontColor, "inherit")};
68
68
 
69
69
  /*
@@ -61,7 +61,8 @@ var baseThemeColors = {
61
61
  success: colors.success,
62
62
  text: colors.black,
63
63
  vlcNeutral: colors.gray95,
64
- warning: colors.warning
64
+ warning: colors.warning,
65
+ inputBackground: colors.white
65
66
  };
66
67
  var themeOrColorKeyValues = [
67
68
  ...Object.keys(baseThemeColors),
@@ -109,7 +110,8 @@ var darkBaseTheme = {
109
110
  vlcNeutral: colors.gray20,
110
111
  warning: colors.warning,
111
112
  buttons: defaultButtonsTheme,
112
- loading: "LoadingSpinner"
113
+ loading: "LoadingSpinner",
114
+ inputBackground: colors.black
113
115
  };
114
116
  var lightTheme = extend(lightBaseTheme, {
115
117
  header: extendBase(lightBaseTheme, {
@@ -148,6 +150,7 @@ var umameDocsLightTheme = extend(lightTheme, {
148
150
  secondary: colors.grayBlue43,
149
151
  text: colors.grayBlue9,
150
152
  link: colors.blue39,
153
+ inputBackground: colors.white,
151
154
  typography: getTypography("UmameDocs" /* UmameDocs */, {
152
155
  main: "Manrope",
153
156
  code: "Monaco"
@@ -232,7 +235,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
232
235
  bg: colors.gray98,
233
236
  smBg: colors.gray98,
234
237
  text: colors.grayBlue9,
235
- secondary: colors.grayBlue43
238
+ secondary: colors.grayBlue43,
239
+ inputBackground: colors.white
236
240
  }));
237
241
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
238
242
  type: "bridgeDark" /* BridgeDark */
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-E3FGOYEJ.js";
7
7
  import {
8
8
  toReactNodes
9
- } from "./chunk-UVGBD7XM.js";
9
+ } from "./chunk-LIQSJ5R7.js";
10
10
  import {
11
11
  Link
12
12
  } from "./chunk-AAFUVYVP.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-55OQPFLF.js";
16
16
  import {
17
17
  Icon
18
- } from "./chunk-KBYU4ZQ3.js";
18
+ } from "./chunk-I3FI3FNP.js";
19
19
  import {
20
20
  getColor
21
- } from "./chunk-A4JZESAS.js";
21
+ } from "./chunk-IBZBPQMZ.js";
22
22
  import {
23
23
  bp
24
24
  } from "./chunk-JSGRNWSB.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Loading
3
- } from "./chunk-BMSSV6NX.js";
3
+ } from "./chunk-5TTLUOJ5.js";
4
4
  import {
5
5
  UnstyledButton
6
- } from "./chunk-6JFJDBV2.js";
6
+ } from "./chunk-LTCJ6LNO.js";
7
7
  import {
8
8
  flexCenter
9
- } from "./chunk-KFX7US6Y.js";
9
+ } from "./chunk-7WDAN3OC.js";
10
10
  import {
11
11
  Icon
12
- } from "./chunk-KBYU4ZQ3.js";
12
+ } from "./chunk-I3FI3FNP.js";
13
13
  import {
14
14
  colors
15
15
  } from "./chunk-XUWFUTR4.js";
@@ -1,9 +1,18 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-EV6PGQPM.js";
3
+ } from "./chunk-SLKPLSJU.js";
4
+ import {
5
+ UnstyledButton
6
+ } from "./chunk-LTCJ6LNO.js";
4
7
  import {
5
8
  z
6
9
  } from "./chunk-55OQPFLF.js";
10
+ import {
11
+ Icon
12
+ } from "./chunk-I3FI3FNP.js";
13
+ import {
14
+ standardFocusOutline
15
+ } from "./chunk-PG2W2HVB.js";
7
16
  import {
8
17
  colors
9
18
  } from "./chunk-XUWFUTR4.js";
@@ -20,6 +29,9 @@ var Drawer = (props) => {
20
29
  const [grabbing, setGrabbing] = useState(false);
21
30
  const drawerContainerRef = useRef(null);
22
31
  const handleClose = () => {
32
+ if (props.nonDismissable) {
33
+ return;
34
+ }
23
35
  setIsOpen(false);
24
36
  setTimeout(() => {
25
37
  props.onClose && props.onClose();
@@ -29,6 +41,9 @@ var Drawer = (props) => {
29
41
  };
30
42
  const handleTouchMove = (event) => {
31
43
  var _a, _b;
44
+ if (props.nonDismissable) {
45
+ return;
46
+ }
32
47
  if (lastY === null) {
33
48
  setLastY(event.touches[0].clientY);
34
49
  } else {
@@ -45,9 +60,15 @@ var Drawer = (props) => {
45
60
  }
46
61
  };
47
62
  const handleTouchStart = () => {
63
+ if (props.nonDismissable) {
64
+ return;
65
+ }
48
66
  setGrabbing(true);
49
67
  };
50
68
  const handleTouchEnd = () => {
69
+ if (props.nonDismissable) {
70
+ return;
71
+ }
51
72
  setGrabbing(false);
52
73
  if (fractionVisible < 0.8) {
53
74
  handleClose();
@@ -75,16 +96,17 @@ var Drawer = (props) => {
75
96
  grabbing,
76
97
  ref: drawerContainerRef,
77
98
  children: [
78
- props.grabber && /* @__PURE__ */ jsx(Grabber, { onClick: handleClose, children: /* @__PURE__ */ jsx(GrabberBar, {}) }),
79
- props.closeButton && /* @__PURE__ */ jsx(CloseButtonContainer, { children: /* @__PURE__ */ jsx(
99
+ props.grabber && !props.nonDismissable && /* @__PURE__ */ jsx(Grabber, { onClick: handleClose, children: /* @__PURE__ */ jsx(GrabberBar, {}) }),
100
+ props.handleBack && /* @__PURE__ */ jsx(BackButtonContainer, { children: /* @__PURE__ */ jsx(
80
101
  Button,
81
102
  {
82
- onClick: handleClose,
83
- icon: "Close",
103
+ onClick: props.handleBack,
104
+ icon: "ChevronLeft",
84
105
  kind: "ghost",
85
- size: "ExtraSmall"
106
+ size: "Small"
86
107
  }
87
108
  ) }),
109
+ props.closeButton && !props.nonDismissable && /* @__PURE__ */ jsx(CloseButtonContainer, { children: /* @__PURE__ */ jsx(CloseButton, { onClick: handleClose, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 12 }) }) }),
88
110
  props.children
89
111
  ]
90
112
  }
@@ -117,6 +139,7 @@ var Background = styled.div`
117
139
  `;
118
140
  var DrawerContainer = styled.div`
119
141
  position: fixed;
142
+ max-height: 100dvh;
120
143
  width: 100%;
121
144
  background-color: ${({ theme }) => theme.bg};
122
145
  right: 0;
@@ -127,6 +150,7 @@ var DrawerContainer = styled.div`
127
150
  display: flex;
128
151
  flex-direction: column;
129
152
  padding: ${"72px" /* 6xl */} ${"32px" /* xl */} ${"40px" /* 2xl */} ${"32px" /* xl */};
153
+ overflow-y: scroll;
130
154
 
131
155
  // Only smooth transition when not grabbing, otherwise dragging will feel very laggy
132
156
  ${(props) => props.grabbing && props.isOpen ? "" : "transition: transform 0.3s ease-in-out;"};
@@ -173,11 +197,32 @@ var CloseButtonContainer = styled.div`
173
197
  border-radius: 50%;
174
198
  background-color: ${colors.grayBlue94};
175
199
  padding: ${"8px" /* xs */};
200
+ height: 30px;
201
+ width: 30px;
202
+ display: flex;
203
+ align-items: center;
176
204
 
177
205
  * > * {
178
206
  line-height: 14px;
179
207
  }
180
208
  `;
209
+ var CloseButton = styled(UnstyledButton)`
210
+ ${standardFocusOutline}
211
+ width: 24px;
212
+ height: 24px;
213
+ justify-self: flex-end;
214
+ `;
215
+ var BackButtonContainer = styled.div`
216
+ position: absolute;
217
+ top: 20px;
218
+ left: 20px;
219
+ border-radius: 50%;
220
+ padding: ${"8px" /* xs */};
221
+ height: 30px;
222
+ width: 30px;
223
+ display: flex;
224
+ align-items: center;
225
+ `;
181
226
  var GrabberBar = styled.div`
182
227
  width: 36px;
183
228
  height: 5px;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Icon
3
- } from "./chunk-KBYU4ZQ3.js";
3
+ } from "./chunk-I3FI3FNP.js";
4
4
 
5
5
  // src/components/ContentTable.tsx
6
6
  import styled from "@emotion/styled";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5KSG5D3I.js";
4
4
  import {
5
5
  TextInput
6
- } from "./chunk-JOQCJPOA.js";
6
+ } from "./chunk-N2NPIZCV.js";
7
7
  import {
8
8
  __spreadProps,
9
9
  __spreadValues
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-JJC2AUQ3.js";
4
4
  import {
5
5
  TextButton
6
- } from "./chunk-HZ63YB4Y.js";
6
+ } from "./chunk-2XUHQWCJ.js";
7
7
  import {
8
8
  IconContainer
9
- } from "./chunk-KBYU4ZQ3.js";
9
+ } from "./chunk-I3FI3FNP.js";
10
10
  import {
11
11
  bp
12
12
  } from "./chunk-JSGRNWSB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Icon
3
- } from "./chunk-KBYU4ZQ3.js";
3
+ } from "./chunk-I3FI3FNP.js";
4
4
 
5
5
  // src/components/CurrencyAmount.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderTypography
3
- } from "./chunk-DCFB5MJ7.js";
3
+ } from "./chunk-VXKNN4SF.js";
4
4
  import {
5
5
  isExternalLinkNode,
6
6
  isIconNode,
@@ -8,7 +8,7 @@ import {
8
8
  isNextLinkNode,
9
9
  isTextNode,
10
10
  toNonTypographicReactNodes
11
- } from "./chunk-6H7PZJ2A.js";
11
+ } from "./chunk-XDP7GCYE.js";
12
12
  import {
13
13
  __spreadProps,
14
14
  __spreadValues
@@ -3,40 +3,40 @@ import {
3
3
  } from "./chunk-JJC2AUQ3.js";
4
4
  import {
5
5
  TextButton
6
- } from "./chunk-HZ63YB4Y.js";
6
+ } from "./chunk-2XUHQWCJ.js";
7
7
  import {
8
8
  toReactNodes
9
- } from "./chunk-UVGBD7XM.js";
9
+ } from "./chunk-LIQSJ5R7.js";
10
10
  import {
11
11
  Dropdown
12
- } from "./chunk-GGEAODIA.js";
12
+ } from "./chunk-XM2HQVUK.js";
13
13
  import {
14
14
  standardBorderColor
15
- } from "./chunk-S6AOKANU.js";
15
+ } from "./chunk-6CNJ5ZCC.js";
16
16
  import {
17
17
  Badge,
18
18
  badgeVPadding
19
- } from "./chunk-RSAYBOK5.js";
19
+ } from "./chunk-SEZEDINC.js";
20
20
  import {
21
21
  Heading,
22
22
  headingWithDefaults
23
- } from "./chunk-5H32AOXL.js";
23
+ } from "./chunk-BHP5YL2N.js";
24
24
  import {
25
25
  Loading
26
- } from "./chunk-BMSSV6NX.js";
26
+ } from "./chunk-5TTLUOJ5.js";
27
27
  import {
28
28
  select
29
29
  } from "./chunk-YMNSXZ5D.js";
30
30
  import {
31
31
  UnstyledButton
32
- } from "./chunk-6JFJDBV2.js";
32
+ } from "./chunk-LTCJ6LNO.js";
33
33
  import {
34
34
  Icon
35
- } from "./chunk-KBYU4ZQ3.js";
35
+ } from "./chunk-I3FI3FNP.js";
36
36
  import {
37
37
  standardBorderRadius,
38
38
  standardLineHeightEms
39
- } from "./chunk-7NPHOJXD.js";
39
+ } from "./chunk-PG2W2HVB.js";
40
40
  import {
41
41
  bp
42
42
  } from "./chunk-JSGRNWSB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardFocusOutline
3
- } from "./chunk-7NPHOJXD.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
 
5
5
  // src/components/UnstyledButton.tsx
6
6
  import styled from "@emotion/styled";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-YMNSXZ5D.js";
4
4
  import {
5
5
  toNonTypographicReactNodes
6
- } from "./chunk-6H7PZJ2A.js";
6
+ } from "./chunk-XDP7GCYE.js";
7
7
  import {
8
8
  applyTypography
9
- } from "./chunk-VUXU77SU.js";
9
+ } from "./chunk-4C2TISN7.js";
10
10
 
11
11
  // src/components/typography/Display.tsx
12
12
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pxToRems
3
- } from "./chunk-KFX7US6Y.js";
3
+ } from "./chunk-7WDAN3OC.js";
4
4
 
5
5
  // src/components/StatusIndicator.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ToggleContainer
3
- } from "./chunk-L6S22JUU.js";
3
+ } from "./chunk-SNFRMD6Z.js";
4
4
  import {
5
5
  InputSubtext,
6
6
  defaultTextInputTypography,
7
7
  inputSpacingPx,
8
8
  textInputPlaceholderColor,
9
9
  textInputStyle
10
- } from "./chunk-S6AOKANU.js";
10
+ } from "./chunk-6CNJ5ZCC.js";
11
11
  import {
12
12
  applyTypography
13
- } from "./chunk-VUXU77SU.js";
13
+ } from "./chunk-4C2TISN7.js";
14
14
  import {
15
15
  CheckboxContainer
16
- } from "./chunk-CZQER3QD.js";
16
+ } from "./chunk-E4DUADXU.js";
17
17
  import {
18
18
  Tooltip
19
- } from "./chunk-27SFWLPS.js";
19
+ } from "./chunk-RPNTFEXE.js";
20
20
  import {
21
21
  UnstyledButton
22
- } from "./chunk-6JFJDBV2.js";
22
+ } from "./chunk-LTCJ6LNO.js";
23
23
  import {
24
24
  z
25
25
  } from "./chunk-55OQPFLF.js";
26
26
  import {
27
27
  Icon,
28
28
  IconContainer
29
- } from "./chunk-KBYU4ZQ3.js";
29
+ } from "./chunk-I3FI3FNP.js";
30
30
  import {
31
31
  standardBorderRadius
32
- } from "./chunk-7NPHOJXD.js";
32
+ } from "./chunk-PG2W2HVB.js";
33
33
  import {
34
34
  getFontColor
35
- } from "./chunk-A4JZESAS.js";
35
+ } from "./chunk-IBZBPQMZ.js";
36
36
  import {
37
37
  __spreadValues
38
38
  } from "./chunk-LOPKRCGI.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Label
3
- } from "./chunk-SKXCT2FQ.js";
3
+ } from "./chunk-BDZ46Z2I.js";
4
4
 
5
5
  // src/components/Radio.tsx
6
6
  import styled from "@emotion/styled";
@@ -1,11 +1,10 @@
1
1
  import {
2
2
  themeOr
3
- } from "./chunk-A4JZESAS.js";
3
+ } from "./chunk-IBZBPQMZ.js";
4
4
  import {
5
5
  bp
6
6
  } from "./chunk-JSGRNWSB.js";
7
7
  import {
8
- colors,
9
8
  darkGradient
10
9
  } from "./chunk-XUWFUTR4.js";
11
10
 
@@ -121,11 +120,12 @@ var overlaySurfaceBorderColor = ({
121
120
  `;
122
121
  var overlaySurface = ({
123
122
  theme,
124
- important = false
123
+ important = false,
124
+ border = true
125
125
  }) => css`
126
- background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })}
126
+ background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
127
127
  ${important ? "!important" : ""};
128
- border: 0.5px solid ${important ? "!important" : ""};
128
+ ${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
129
129
  ${overlaySurfaceBorderColor({ theme, important })};
130
130
  ${themeOr(
131
131
  `box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  textInputStyle
3
- } from "./chunk-S6AOKANU.js";
3
+ } from "./chunk-6CNJ5ZCC.js";
4
4
 
5
5
  // src/components/CodeInput/SingleCodeInput.tsx
6
6
  import { css, useTheme } from "@emotion/react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StatusIndicator
3
- } from "./chunk-HA4AQO3T.js";
3
+ } from "./chunk-MWDDIXIP.js";
4
4
  import {
5
5
  z
6
6
  } from "./chunk-55OQPFLF.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-55OQPFLF.js";
4
4
  import {
5
5
  overlaySurface
6
- } from "./chunk-7NPHOJXD.js";
6
+ } from "./chunk-PG2W2HVB.js";
7
7
  import {
8
8
  __spreadProps,
9
9
  __spreadValues
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  LabelModerate
3
- } from "./chunk-56QJRFP2.js";
3
+ } from "./chunk-B6S7Y4K7.js";
4
4
  import {
5
5
  standardBorderRadius
6
- } from "./chunk-7NPHOJXD.js";
6
+ } from "./chunk-PG2W2HVB.js";
7
7
  import {
8
8
  getColor,
9
9
  isLight
10
- } from "./chunk-A4JZESAS.js";
10
+ } from "./chunk-IBZBPQMZ.js";
11
11
 
12
12
  // src/components/Badge.tsx
13
13
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  renderTypography
3
- } from "./chunk-DCFB5MJ7.js";
3
+ } from "./chunk-VXKNN4SF.js";
4
4
  import {
5
5
  Loading
6
- } from "./chunk-BMSSV6NX.js";
6
+ } from "./chunk-5TTLUOJ5.js";
7
7
  import {
8
8
  select
9
9
  } from "./chunk-YMNSXZ5D.js";
@@ -12,23 +12,23 @@ import {
12
12
  } from "./chunk-AAFUVYVP.js";
13
13
  import {
14
14
  applyTypography
15
- } from "./chunk-VUXU77SU.js";
15
+ } from "./chunk-4C2TISN7.js";
16
16
  import {
17
17
  Tooltip
18
- } from "./chunk-27SFWLPS.js";
18
+ } from "./chunk-RPNTFEXE.js";
19
19
  import {
20
20
  UnstyledButton
21
- } from "./chunk-6JFJDBV2.js";
21
+ } from "./chunk-LTCJ6LNO.js";
22
22
  import {
23
23
  Icon
24
- } from "./chunk-KBYU4ZQ3.js";
24
+ } from "./chunk-I3FI3FNP.js";
25
25
  import {
26
26
  getFocusOutline
27
- } from "./chunk-7NPHOJXD.js";
27
+ } from "./chunk-PG2W2HVB.js";
28
28
  import {
29
29
  getBackgroundColor,
30
30
  isThemeOrColorKey
31
- } from "./chunk-A4JZESAS.js";
31
+ } from "./chunk-IBZBPQMZ.js";
32
32
  import {
33
33
  TokenSize
34
34
  } from "./chunk-ENBUKLVT.js";
@@ -76,7 +76,7 @@ function getPaddingX(size, kind, isRound) {
76
76
  function getPadding({ paddingY, kind, size, iconSide, isRound }) {
77
77
  const paddingX = getPaddingX(size, kind, isRound);
78
78
  const paddingForIcon = 0;
79
- return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
79
+ return kind === "ghost" ? 0 : `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
80
80
  }
81
81
  function resolveBackgroundColorKey(theme, kind, defaultKey) {
82
82
  var _a;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  UnstyledButton
3
- } from "./chunk-6JFJDBV2.js";
3
+ } from "./chunk-LTCJ6LNO.js";
4
4
  import {
5
5
  standardLineHeightEms
6
- } from "./chunk-7NPHOJXD.js";
6
+ } from "./chunk-PG2W2HVB.js";
7
7
  import {
8
8
  themeOr
9
- } from "./chunk-A4JZESAS.js";
9
+ } from "./chunk-IBZBPQMZ.js";
10
10
  import {
11
11
  colors
12
12
  } from "./chunk-XUWFUTR4.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  toReactNodes
3
- } from "./chunk-UVGBD7XM.js";
3
+ } from "./chunk-LIQSJ5R7.js";
4
4
  import {
5
5
  Tooltip
6
- } from "./chunk-27SFWLPS.js";
6
+ } from "./chunk-RPNTFEXE.js";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-KBYU4ZQ3.js";
9
+ } from "./chunk-I3FI3FNP.js";
10
10
 
11
11
  // src/components/InfoIconTooltip.tsx
12
12
  import { Fragment } from "react";