@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lightsparkdev/ui
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - e647962: Updates to Button, CodeInput, Drawer, Icon, Modal, Video
8
+
3
9
  ## 1.0.2
4
10
 
5
11
  ### Patch Changes
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
43
43
  text: string;
44
44
  vlcNeutral: string;
45
45
  warning: string;
46
+ inputBackground: string;
46
47
  };
47
48
  type ThemeColorKey = keyof typeof baseThemeColors;
48
49
  declare const themeOrColorKeyValues: readonly string[];
@@ -1779,6 +1780,7 @@ declare const baseTheme: {
1779
1780
  text: string;
1780
1781
  vlcNeutral: string;
1781
1782
  warning: string;
1783
+ inputBackground: string;
1782
1784
  };
1783
1785
  type BaseTheme = typeof baseTheme;
1784
1786
  type LightsparkSurfaces = {
@@ -3533,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
3533
3535
  text: string;
3534
3536
  vlcNeutral: string;
3535
3537
  warning: string;
3538
+ inputBackground: string;
3536
3539
  header: {
3537
3540
  type: Themes;
3538
3541
  typography: {
@@ -5264,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
5264
5267
  text: string;
5265
5268
  vlcNeutral: string;
5266
5269
  warning: string;
5270
+ inputBackground: string;
5267
5271
  };
5268
5272
  nav: {
5269
5273
  type: Themes;
@@ -6996,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
6996
7000
  text: string;
6997
7001
  vlcNeutral: string;
6998
7002
  warning: string;
7003
+ inputBackground: string;
6999
7004
  };
7000
7005
  content: {
7001
7006
  type: Themes;
@@ -8728,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
8728
8733
  text: string;
8729
8734
  vlcNeutral: string;
8730
8735
  warning: string;
8736
+ inputBackground: string;
8731
8737
  };
8732
8738
  controls: {
8733
8739
  type: Themes;
@@ -10460,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
10460
10466
  text: string;
10461
10467
  vlcNeutral: string;
10462
10468
  warning: string;
10469
+ inputBackground: string;
10463
10470
  };
10464
10471
  };
10465
10472
  declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
43
43
  text: string;
44
44
  vlcNeutral: string;
45
45
  warning: string;
46
+ inputBackground: string;
46
47
  };
47
48
  type ThemeColorKey = keyof typeof baseThemeColors;
48
49
  declare const themeOrColorKeyValues: readonly string[];
@@ -1779,6 +1780,7 @@ declare const baseTheme: {
1779
1780
  text: string;
1780
1781
  vlcNeutral: string;
1781
1782
  warning: string;
1783
+ inputBackground: string;
1782
1784
  };
1783
1785
  type BaseTheme = typeof baseTheme;
1784
1786
  type LightsparkSurfaces = {
@@ -3533,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
3533
3535
  text: string;
3534
3536
  vlcNeutral: string;
3535
3537
  warning: string;
3538
+ inputBackground: string;
3536
3539
  header: {
3537
3540
  type: Themes;
3538
3541
  typography: {
@@ -5264,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
5264
5267
  text: string;
5265
5268
  vlcNeutral: string;
5266
5269
  warning: string;
5270
+ inputBackground: string;
5267
5271
  };
5268
5272
  nav: {
5269
5273
  type: Themes;
@@ -6996,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
6996
7000
  text: string;
6997
7001
  vlcNeutral: string;
6998
7002
  warning: string;
7003
+ inputBackground: string;
6999
7004
  };
7000
7005
  content: {
7001
7006
  type: Themes;
@@ -8728,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
8728
8733
  text: string;
8729
8734
  vlcNeutral: string;
8730
8735
  warning: string;
8736
+ inputBackground: string;
8731
8737
  };
8732
8738
  controls: {
8733
8739
  type: Themes;
@@ -10460,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
10460
10466
  text: string;
10461
10467
  vlcNeutral: string;
10462
10468
  warning: string;
10469
+ inputBackground: string;
10463
10470
  };
10464
10471
  };
10465
10472
  declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
@@ -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/Code.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  TextIconAligner
3
- } from "./chunk-XP3BAAUO.js";
3
+ } from "./chunk-7YY6BH5O.js";
4
4
  import {
5
5
  Link
6
6
  } from "./chunk-AAFUVYVP.js";
7
7
  import {
8
8
  UnstyledButton
9
- } from "./chunk-6JFJDBV2.js";
9
+ } from "./chunk-LTCJ6LNO.js";
10
10
  import {
11
11
  elide
12
12
  } from "./chunk-EDN2QDCB.js";
13
13
  import {
14
14
  getFocusOutline
15
- } from "./chunk-7NPHOJXD.js";
15
+ } from "./chunk-PG2W2HVB.js";
16
16
  import {
17
17
  __spreadProps,
18
18
  __spreadValues
@@ -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/Title.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DocsHeadline
3
- } from "./chunk-EMXTALIX.js";
3
+ } from "./chunk-BENSR2YW.js";
4
4
  import {
5
5
  select
6
6
  } from "./chunk-YMNSXZ5D.js";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-KBYU4ZQ3.js";
9
+ } from "./chunk-I3FI3FNP.js";
10
10
  import {
11
11
  __spreadProps,
12
12
  __spreadValues
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  StyledContentTable
3
- } from "./chunk-J7SV67XL.js";
3
+ } from "./chunk-K7FYXGOI.js";
4
4
  import {
5
5
  StyledCode
6
- } from "./chunk-GNVEN6UE.js";
6
+ } from "./chunk-2AGBCGOW.js";
7
7
  import {
8
8
  displaySelector
9
- } from "./chunk-HRZNVE2K.js";
9
+ } from "./chunk-MRGHRTKA.js";
10
10
  import {
11
11
  StyledTitle
12
- } from "./chunk-CMQELZES.js";
12
+ } from "./chunk-35PJW7RT.js";
13
13
  import {
14
14
  StyledBody
15
- } from "./chunk-TM3C4LEG.js";
15
+ } from "./chunk-GWHKALYQ.js";
16
16
  import {
17
17
  ALL_HEADLINE_SELECTORS,
18
18
  headlineSelector
19
- } from "./chunk-PNSZAJL7.js";
19
+ } from "./chunk-CRTTTIAD.js";
20
20
  import {
21
21
  select
22
22
  } from "./chunk-YMNSXZ5D.js";
23
23
  import {
24
24
  overflowAutoWithoutScrollbars
25
- } from "./chunk-KFX7US6Y.js";
25
+ } from "./chunk-7WDAN3OC.js";
26
26
  import {
27
27
  standardBorderRadius
28
- } from "./chunk-7NPHOJXD.js";
28
+ } from "./chunk-PG2W2HVB.js";
29
29
  import {
30
30
  getTypographyString
31
31
  } from "./chunk-ENBUKLVT.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFontColor
3
- } from "./chunk-A4JZESAS.js";
3
+ } from "./chunk-IBZBPQMZ.js";
4
4
  import {
5
5
  getTypographyString
6
6
  } from "./chunk-ENBUKLVT.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  overflowAutoWithoutScrollbars
3
- } from "./chunk-KFX7US6Y.js";
3
+ } from "./chunk-7WDAN3OC.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-KBYU4ZQ3.js";
6
+ } from "./chunk-I3FI3FNP.js";
7
7
  import {
8
8
  standardBorderRadius
9
- } from "./chunk-7NPHOJXD.js";
9
+ } from "./chunk-PG2W2HVB.js";
10
10
 
11
11
  // src/components/Collapsible.tsx
12
12
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  standardBorderRadius
3
- } from "./chunk-7NPHOJXD.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
  import {
5
5
  themeOr
6
- } from "./chunk-A4JZESAS.js";
6
+ } from "./chunk-IBZBPQMZ.js";
7
7
 
8
8
  // src/components/ProgressBar.tsx
9
9
  import styled from "@emotion/styled";
@@ -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/Loading.tsx
6
6
  import { useTheme } from "@emotion/react";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  applyTypography
3
- } from "./chunk-VUXU77SU.js";
3
+ } from "./chunk-4C2TISN7.js";
4
4
  import {
5
5
  z
6
6
  } from "./chunk-55OQPFLF.js";
7
7
  import {
8
8
  standardBorderRadius,
9
9
  subtext
10
- } from "./chunk-7NPHOJXD.js";
10
+ } from "./chunk-PG2W2HVB.js";
11
11
  import {
12
12
  themeOr
13
- } from "./chunk-A4JZESAS.js";
13
+ } from "./chunk-IBZBPQMZ.js";
14
14
 
15
15
  // src/styles/fields.tsx
16
16
  import { css } from "@emotion/react";
@@ -81,7 +81,7 @@ var textInputStyle = ({
81
81
  var _a;
82
82
  return css`
83
83
  border-radius: ${textInputBorderRadiusPx}px;
84
- background-color: ${disabled ? theme.vlcNeutral : theme.bg};
84
+ background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
85
85
  cursor: ${disabled ? "not-allowed" : "auto"};
86
86
  box-sizing: border-box;
87
87
  font-weight: ${textInputFontWeight};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toReactNodes
3
- } from "./chunk-UVGBD7XM.js";
3
+ } from "./chunk-LIQSJ5R7.js";
4
4
  import {
5
5
  UnstyledButton
6
- } from "./chunk-6JFJDBV2.js";
6
+ } from "./chunk-LTCJ6LNO.js";
7
7
  import {
8
8
  z
9
9
  } from "./chunk-55OQPFLF.js";
@@ -11,16 +11,16 @@ import {
11
11
  extend,
12
12
  flexCenter,
13
13
  pxToRems
14
- } from "./chunk-KFX7US6Y.js";
14
+ } from "./chunk-7WDAN3OC.js";
15
15
  import {
16
16
  Icon
17
- } from "./chunk-KBYU4ZQ3.js";
17
+ } from "./chunk-I3FI3FNP.js";
18
18
  import {
19
19
  standardContentInset
20
- } from "./chunk-7NPHOJXD.js";
20
+ } from "./chunk-PG2W2HVB.js";
21
21
  import {
22
22
  themeOr
23
- } from "./chunk-A4JZESAS.js";
23
+ } from "./chunk-IBZBPQMZ.js";
24
24
  import {
25
25
  colors
26
26
  } from "./chunk-XUWFUTR4.js";
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  rootFontSizeRems,
6
6
  standardLineHeightEms
7
- } from "./chunk-7NPHOJXD.js";
7
+ } from "./chunk-PG2W2HVB.js";
8
8
  import {
9
9
  useThemeBg
10
- } from "./chunk-A4JZESAS.js";
10
+ } from "./chunk-IBZBPQMZ.js";
11
11
  import {
12
12
  bp
13
13
  } from "./chunk-JSGRNWSB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SingleCodeInput
3
- } from "./chunk-SRHSJOES.js";
3
+ } from "./chunk-PQKVR2BR.js";
4
4
  import {
5
5
  textInputBorderColor
6
- } from "./chunk-S6AOKANU.js";
6
+ } from "./chunk-6CNJ5ZCC.js";
7
7
  import {
8
8
  __spreadProps,
9
9
  __spreadValues
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rootFontSizePx
3
- } from "./chunk-7NPHOJXD.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
 
5
5
  // src/styles/utils.tsx
6
6
  import { css } from "@emotion/react";
@@ -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
  Icon
6
- } from "./chunk-KBYU4ZQ3.js";
6
+ } from "./chunk-I3FI3FNP.js";
7
7
 
8
8
  // src/components/TextIconAligner.tsx
9
9
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
@@ -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/LabelModerate.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/Label.tsx
9
9
  import styled from "@emotion/styled";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2NT4RAQ3.js";
4
4
  import {
5
5
  StyledHeadline
6
- } from "./chunk-PNSZAJL7.js";
6
+ } from "./chunk-CRTTTIAD.js";
7
7
 
8
8
  // src/components/documentation/DocsHeadline.tsx
9
9
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  firstChild,
3
3
  pxToRems
4
- } from "./chunk-KFX7US6Y.js";
4
+ } from "./chunk-7WDAN3OC.js";
5
5
  import {
6
6
  bp
7
7
  } from "./chunk-JSGRNWSB.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Pill
3
- } from "./chunk-TVLELY54.js";
3
+ } from "./chunk-J3YVJWRG.js";
4
4
  import {
5
5
  InputSubtext,
6
6
  inputBlockStyle
7
- } from "./chunk-S6AOKANU.js";
7
+ } from "./chunk-6CNJ5ZCC.js";
8
8
  import {
9
9
  Icon
10
- } from "./chunk-KBYU4ZQ3.js";
10
+ } from "./chunk-I3FI3FNP.js";
11
11
 
12
12
  // src/components/FileInput.tsx
13
13
  import styled from "@emotion/styled";
@@ -3,51 +3,51 @@ import {
3
3
  } from "./chunk-NBCCPGA4.js";
4
4
  import {
5
5
  ProgressBar
6
- } from "./chunk-XUVCOSIE.js";
6
+ } from "./chunk-54EOEIEN.js";
7
7
  import {
8
8
  Flex
9
9
  } from "./chunk-IL6J7EBZ.js";
10
10
  import {
11
11
  toReactNodes
12
- } from "./chunk-UVGBD7XM.js";
12
+ } from "./chunk-LIQSJ5R7.js";
13
13
  import {
14
14
  Drawer
15
- } from "./chunk-467PLJO3.js";
15
+ } from "./chunk-JNNJVBHF.js";
16
16
  import {
17
17
  Button,
18
18
  ButtonSelector
19
- } from "./chunk-EV6PGQPM.js";
19
+ } from "./chunk-SLKPLSJU.js";
20
20
  import {
21
21
  Body
22
- } from "./chunk-TM3C4LEG.js";
22
+ } from "./chunk-GWHKALYQ.js";
23
23
  import {
24
24
  Headline,
25
25
  headlineSelector
26
- } from "./chunk-PNSZAJL7.js";
26
+ } from "./chunk-CRTTTIAD.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
  z
35
35
  } from "./chunk-55OQPFLF.js";
36
36
  import {
37
37
  overflowAutoWithoutScrollbars
38
- } from "./chunk-KFX7US6Y.js";
38
+ } from "./chunk-7WDAN3OC.js";
39
39
  import {
40
40
  Icon
41
- } from "./chunk-KBYU4ZQ3.js";
41
+ } from "./chunk-I3FI3FNP.js";
42
42
  import {
43
43
  overlaySurface,
44
44
  standardBorderRadius,
45
45
  standardContentInset,
46
46
  standardFocusOutline
47
- } from "./chunk-7NPHOJXD.js";
47
+ } from "./chunk-PG2W2HVB.js";
48
48
  import {
49
49
  getColor
50
- } from "./chunk-A4JZESAS.js";
50
+ } from "./chunk-IBZBPQMZ.js";
51
51
  import {
52
52
  TokenSize
53
53
  } from "./chunk-ENBUKLVT.js";
@@ -56,6 +56,7 @@ import {
56
56
  useBreakpoints
57
57
  } from "./chunk-JSGRNWSB.js";
58
58
  import {
59
+ __objRest,
59
60
  __spreadValues
60
61
  } from "./chunk-LOPKRCGI.js";
61
62
 
@@ -101,13 +102,15 @@ function Modal({
101
102
  submitLink,
102
103
  cancelText = "Cancel",
103
104
  firstFocusRef,
104
- smDrawer,
105
+ smKind = "default",
106
+ top,
105
107
  nonDismissable = false,
106
108
  autoFocus = true,
107
109
  width = 460,
108
110
  progressBar,
109
111
  buttonLayout = "horizontal",
110
- extraActions
112
+ extraActions,
113
+ handleBack
111
114
  }) {
112
115
  const visibleChangedRef = useRef(false);
113
116
  const nodeRef = useRef(null);
@@ -208,7 +211,10 @@ function Modal({
208
211
  const linkIsHref = isSubmitLinkWithHref(submitLink);
209
212
  const linkIsRoute = !linkIsHref && submitLink;
210
213
  const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
211
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((action) => action.content),
214
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((_a, i) => {
215
+ var _b = _a, { placement, text } = _b, rest = __objRest(_b, ["placement", "text"]);
216
+ return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
217
+ }),
212
218
  !isSm && !cancelHidden && /* @__PURE__ */ jsx2(
213
219
  Button,
214
220
  {
@@ -232,7 +238,10 @@ function Modal({
232
238
  }
233
239
  ),
234
240
  isSm && !cancelHidden && /* @__PURE__ */ jsx2(Button, { onClick: onClose, text: cancelText }),
235
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((action) => action.content)
241
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((_c, i) => {
242
+ var _d = _c, { placement, text } = _d, rest = __objRest(_d, ["placement", "text"]);
243
+ return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
244
+ })
236
245
  ] });
237
246
  let titleContent = null;
238
247
  if (title) {
@@ -269,11 +278,20 @@ function Modal({
269
278
  onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx2(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx2(ModalButtonColumn, { children: buttonContent }) : null
270
279
  ] });
271
280
  let content;
272
- if (smDrawer && isSm) {
273
- content = /* @__PURE__ */ jsx2(Drawer, { onClose: () => onClickCloseButton(), closeButton: true, children: modalContent });
281
+ if (smKind === "drawer" && isSm) {
282
+ content = /* @__PURE__ */ jsx2(
283
+ Drawer,
284
+ {
285
+ onClose: () => onClickCloseButton(),
286
+ closeButton: true,
287
+ nonDismissable,
288
+ handleBack,
289
+ children: modalContent
290
+ }
291
+ );
274
292
  } else {
275
293
  content = /* @__PURE__ */ jsxs(Fragment, { children: [
276
- /* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }),
294
+ !(smKind === "fullscreen" && bp2.isSm()) ? /* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }) : null,
277
295
  /* @__PURE__ */ jsx2(
278
296
  ModalContainer,
279
297
  {
@@ -282,9 +300,13 @@ function Modal({
282
300
  tabIndex: -1,
283
301
  role: "dialog",
284
302
  ref: modalContainerRef,
285
- children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, children: [
303
+ top: top || (smKind === "default" ? standardContentInset.smPx : 0),
304
+ children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, smKind, children: [
286
305
  !firstFocusRef && /* @__PURE__ */ jsx2(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
287
- !(nonDismissable || ghost) && /* @__PURE__ */ jsx2(CloseButtonContainer, { children: /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) }) }),
306
+ !ghost && /* @__PURE__ */ jsxs(ModalNavigation, { children: [
307
+ handleBack && /* @__PURE__ */ jsx2(BackButton, { onClick: handleBack, children: /* @__PURE__ */ jsx2(Icon, { name: "ChevronLeft", width: 16 }) }),
308
+ !nonDismissable && /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) })
309
+ ] }),
288
310
  /* @__PURE__ */ jsx2(ModalContentInner, { ghost, children: modalContent })
289
311
  ] })
290
312
  }
@@ -326,7 +348,7 @@ var ModalContainer = styled2.div`
326
348
  justify-content: center;
327
349
  align-items: center;
328
350
  color: ${({ theme }) => theme.text};
329
- padding-top: ${standardContentInset.smPx}px;
351
+ ${(props) => `top: ${props.top}px;`}
330
352
  `;
331
353
  var contentTopMarginPx = 24;
332
354
  var Description = styled2.div`
@@ -360,16 +382,22 @@ var ModalButtonColumn = styled2.div`
360
382
  margin-top: ${"24px" /* lg */};
361
383
  `;
362
384
  var ModalContent = styled2.div`
363
- ${overflowAutoWithoutScrollbars}
364
- ${standardContentInset.smCSS}
365
- ${(props) => props.ghost ? "" : standardBorderRadius(16)}
366
- ${(props) => props.ghost ? "" : overlaySurface}
367
385
  pointer-events: auto;
368
386
  transition: width 0.25s ease-in;
369
- width: ${(props) => props.width}px;
370
- max-width: 100%;
371
- max-height: 100%;
372
- position: absolute;
387
+
388
+ ${({ theme, smKind, ghost }) => ghost ? "" : overlaySurface({ theme, border: smKind !== "fullscreen" })}
389
+ ${overflowAutoWithoutScrollbars}
390
+ ${(props) => props.smKind === "fullscreen" && bp.isSm() ? `
391
+ width: 100%;
392
+ height: 100%;
393
+ ` : `
394
+ ${props.ghost ? "" : standardBorderRadius(16)}
395
+ ${standardContentInset.smCSS.styles}
396
+ width: ${props.width}px;
397
+ max-width: 100%;
398
+ max-height: 100%;
399
+ position: absolute;
400
+ `}
373
401
  ${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
374
402
 
375
403
  ${headlineSelector("h4")} { {
@@ -379,16 +407,22 @@ var ModalContent = styled2.div`
379
407
  }
380
408
  }
381
409
  `;
382
- var CloseButtonContainer = styled2.div`
383
- display: flex;
384
- flex-direction: row;
410
+ var ModalNavigation = styled2.div`
411
+ display: grid;
412
+ grid-auto-flow: column;
385
413
  width: 100%;
386
- justify-content: flex-end;
414
+ `;
415
+ var BackButton = styled2(UnstyledButton)`
416
+ ${standardFocusOutline}
417
+ width: 24px;
418
+ height: 24px;
419
+ justify-self: flex-start;
387
420
  `;
388
421
  var CloseButton = styled2(UnstyledButton)`
389
422
  ${standardFocusOutline}
390
423
  width: 24px;
391
424
  height: 24px;
425
+ justify-self: flex-end;
392
426
  `;
393
427
  var ModalContentInner = styled2.div`
394
428
  ${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}