@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
@@ -104,9 +104,11 @@ __export(components_exports, {
104
104
  Drawer: () => Drawer,
105
105
  Dropdown: () => Dropdown,
106
106
  FileInput: () => FileInput,
107
+ Flex: () => Flex,
107
108
  GradientCardHeader: () => GradientCardHeader,
108
109
  Icon: () => Icon,
109
110
  IconContainer: () => IconContainer,
111
+ IconWithCircleBackground: () => IconWithCircleBackground,
110
112
  InfoIconTooltip: () => InfoIconTooltip,
111
113
  InlineCode: () => InlineCode,
112
114
  LightboxImage: () => LightboxImage,
@@ -597,8 +599,8 @@ function ArrowUpRightCircleFill() {
597
599
  children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
598
600
  "path",
599
601
  {
600
- "fill-rule": "evenodd",
601
- "clip-rule": "evenodd",
602
+ fillRule: "evenodd",
603
+ clipRule: "evenodd",
602
604
  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",
603
605
  fill: "black"
604
606
  }
@@ -1499,8 +1501,8 @@ function Figma() {
1499
1501
  children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
1500
1502
  "path",
1501
1503
  {
1502
- "fill-rule": "evenodd",
1503
- "clip-rule": "evenodd",
1504
+ fillRule: "evenodd",
1505
+ clipRule: "evenodd",
1504
1506
  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",
1505
1507
  fill: "black"
1506
1508
  }
@@ -4172,7 +4174,7 @@ var colors = baseColors;
4172
4174
  function isColorKey(key) {
4173
4175
  return key in colors;
4174
4176
  }
4175
- function hcNeutralFromBg(bgHex, defaultHex, altHex) {
4177
+ function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
4176
4178
  const bgRGB = hexToRGB(bgHex);
4177
4179
  const hcRGB = hexToRGB(defaultHex);
4178
4180
  if (!bgRGB || !hcRGB)
@@ -4213,7 +4215,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
4213
4215
  // src/styles/buttons.tsx
4214
4216
  var buttonsThemeBase = {
4215
4217
  defaultSize: "Small",
4216
- defaultTypography: "Body Strong",
4218
+ defaultTypographyType: "Body Strong",
4219
+ defaultColor: "text",
4217
4220
  defaultBorderRadius: 32,
4218
4221
  defaultBorderWidth: 1,
4219
4222
  defaultBackgroundColor: "bg",
@@ -4237,6 +4240,7 @@ var buttonsThemeBase = {
4237
4240
  var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
4238
4241
  kinds: {
4239
4242
  primary: {
4243
+ defaultColor: "bg",
4240
4244
  defaultBorderWidth: 0,
4241
4245
  defaultBackgroundColor: "c9Neutral",
4242
4246
  defaultBorderColor: "c9Neutral",
@@ -4264,7 +4268,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
4264
4268
  defaultHoverBorderColor: ["gray90", "gray20"]
4265
4269
  },
4266
4270
  blue39: {
4267
- defaultBorderColor: "blue39"
4271
+ defaultBorderColor: "blue39",
4272
+ defaultColor: "gray98"
4273
+ },
4274
+ blue43: {
4275
+ defaultColor: "white"
4276
+ },
4277
+ green33: {
4278
+ defaultColor: "white"
4279
+ },
4280
+ purple55: {
4281
+ defaultColor: "white"
4282
+ },
4283
+ danger: {
4284
+ defaultColor: "white"
4268
4285
  }
4269
4286
  }
4270
4287
  });
@@ -7507,7 +7524,8 @@ var baseThemeColors = {
7507
7524
  success: colors.success,
7508
7525
  text: colors.black,
7509
7526
  vlcNeutral: colors.gray95,
7510
- warning: colors.warning
7527
+ warning: colors.warning,
7528
+ inputBackground: colors.white
7511
7529
  };
7512
7530
  var themeOrColorKeyValues = [
7513
7531
  ...Object.keys(baseThemeColors),
@@ -7555,7 +7573,8 @@ var darkBaseTheme = {
7555
7573
  vlcNeutral: colors.gray20,
7556
7574
  warning: colors.warning,
7557
7575
  buttons: defaultButtonsTheme,
7558
- loading: "LoadingSpinner"
7576
+ loading: "LoadingSpinner",
7577
+ inputBackground: colors.black
7559
7578
  };
7560
7579
  var lightTheme = extend(lightBaseTheme, {
7561
7580
  header: extendBase(lightBaseTheme, {
@@ -7594,6 +7613,7 @@ var umameDocsLightTheme = extend(lightTheme, {
7594
7613
  secondary: colors.grayBlue43,
7595
7614
  text: colors.grayBlue9,
7596
7615
  link: colors.blue39,
7616
+ inputBackground: colors.white,
7597
7617
  typography: getTypography("UmameDocs" /* UmameDocs */, {
7598
7618
  main: "Manrope",
7599
7619
  code: "Monaco"
@@ -7638,28 +7658,30 @@ var bridgeBaseSettings = {
7638
7658
  code: "Monaco"
7639
7659
  }),
7640
7660
  buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
7641
- defaultTypography: "Title",
7661
+ defaultTypographyType: "Title",
7642
7662
  defaultSize: "Medium",
7643
7663
  defaultBorderRadius: 8,
7644
7664
  defaultBorderWidth: 0,
7665
+ defaultPaddingsY: {
7666
+ ExtraSmall: 14,
7667
+ Small: 14,
7668
+ Schmedium: 14,
7669
+ Medium: 14,
7670
+ Mlarge: 14,
7671
+ Large: 14
7672
+ },
7645
7673
  kinds: {
7646
7674
  primary: {
7675
+ defaultColor: "bg",
7647
7676
  defaultBackgroundColor: "blue39",
7648
7677
  defaultHoverBackgroundColor: "blue37"
7649
7678
  },
7650
7679
  ghost: {
7680
+ defaultColor: "secondary",
7651
7681
  defaultBackgroundColor: "transparent",
7652
7682
  defaultBorderWidth: 0,
7653
7683
  defaultHoverBackgroundColor: "transparent",
7654
- defaultHoverBorderColor: "transparent",
7655
- defaultPaddingsY: {
7656
- ExtraSmall: 0,
7657
- Small: 0,
7658
- Schmedium: 0,
7659
- Medium: 0,
7660
- Mlarge: 0,
7661
- Large: 0
7662
- }
7684
+ defaultHoverBorderColor: "transparent"
7663
7685
  },
7664
7686
  secondary: {
7665
7687
  defaultBackgroundColor: "transparent",
@@ -7676,7 +7698,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
7676
7698
  bg: colors.gray98,
7677
7699
  smBg: colors.gray98,
7678
7700
  text: colors.grayBlue9,
7679
- secondary: colors.grayBlue43
7701
+ secondary: colors.grayBlue43,
7702
+ inputBackground: colors.white
7680
7703
  }));
7681
7704
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
7682
7705
  type: "bridgeDark" /* BridgeDark */
@@ -7874,11 +7897,12 @@ var overlaySurfaceBorderColor = ({
7874
7897
  `;
7875
7898
  var overlaySurface = ({
7876
7899
  theme,
7877
- important = false
7900
+ important = false,
7901
+ border = true
7878
7902
  }) => import_react17.css`
7879
- background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })}
7903
+ background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
7880
7904
  ${important ? "!important" : ""};
7881
- border: 0.5px solid ${important ? "!important" : ""};
7905
+ ${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
7882
7906
  ${overlaySurfaceBorderColor({ theme, important })};
7883
7907
  ${themeOr(
7884
7908
  `box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
@@ -7985,7 +8009,7 @@ var IconContainer = import_styled2.default.span`
7985
8009
  ${({ theme, fontColor }) => {
7986
8010
  const color = getFontColor(theme, fontColor, "inherit");
7987
8011
  return `
7988
- & svg {
8012
+ svg, path {
7989
8013
  color: ${getFontColor(theme, fontColor, "inherit")};
7990
8014
 
7991
8015
  /*
@@ -8228,6 +8252,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
8228
8252
  Link,
8229
8253
  {
8230
8254
  to: node.to,
8255
+ newTab: !!node.newTab,
8231
8256
  children: node.text
8232
8257
  },
8233
8258
  `link-${i}-${node.text.substr(0, 10)}`
@@ -8966,22 +8991,6 @@ var UnstyledButton = import_styled16.default.button`
8966
8991
 
8967
8992
  // src/components/Button.tsx
8968
8993
  var import_jsx_runtime134 = require("@emotion/react/jsx-runtime");
8969
- function getDefaultTextColor({ kind }) {
8970
- switch (kind) {
8971
- case "blue43":
8972
- case "green33":
8973
- case "purple55":
8974
- case "danger":
8975
- return "white";
8976
- case "blue39":
8977
- return "gray98";
8978
- case "primary": {
8979
- return "bg";
8980
- }
8981
- default:
8982
- return "text";
8983
- }
8984
- }
8985
8994
  var roundPaddingsX = {
8986
8995
  [TokenSize.ExtraSmall]: 10,
8987
8996
  [TokenSize.Small]: 10,
@@ -9004,7 +9013,7 @@ function getPaddingX(size2, kind, isRound) {
9004
9013
  function getPadding({ paddingY, kind, size: size2, iconSide, isRound }) {
9005
9014
  const paddingX = getPaddingX(size2, kind, isRound);
9006
9015
  const paddingForIcon = 0;
9007
- return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
9016
+ return kind === "ghost" ? 0 : `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
9008
9017
  }
9009
9018
  function resolveBackgroundColorKey(theme, kind, defaultKey) {
9010
9019
  var _a;
@@ -9034,12 +9043,14 @@ function resolveProps(props, theme) {
9034
9043
  kind = "secondary",
9035
9044
  size: sizeProp,
9036
9045
  paddingY: paddingYType = "regular",
9037
- borderRadius
9046
+ borderRadius,
9047
+ typography: typographyProp
9038
9048
  } = _a, rest = __objRest(_a, [
9039
9049
  "kind",
9040
9050
  "size",
9041
9051
  "paddingY",
9042
- "borderRadius"
9052
+ "borderRadius",
9053
+ "typography"
9043
9054
  ]);
9044
9055
  const size2 = resolveProp(sizeProp, kind, "defaultSize", theme);
9045
9056
  const defaultPaddingsY = resolveProp(null, kind, "defaultPaddingsY", theme);
@@ -9065,9 +9076,15 @@ function resolveProps(props, theme) {
9065
9076
  kind,
9066
9077
  "defaultHoverBorderColor"
9067
9078
  );
9079
+ const typography = {
9080
+ type: (typographyProp == null ? void 0 : typographyProp.type) || resolveProp(null, kind, "defaultTypographyType", theme),
9081
+ color: (typographyProp == null ? void 0 : typographyProp.color) || resolveProp(null, kind, "defaultColor", theme),
9082
+ size: size2
9083
+ };
9068
9084
  return __spreadProps(__spreadValues({}, rest), {
9069
9085
  kind,
9070
9086
  size: size2,
9087
+ typography,
9071
9088
  paddingY: typeof defaultPaddingY === "number" ? defaultPaddingY : defaultPaddingY[paddingYType],
9072
9089
  borderRadius: resolveProp(borderRadius, kind, "defaultBorderRadius", theme),
9073
9090
  backgroundColor: backgroundColor2,
@@ -9111,12 +9128,6 @@ function Button(props) {
9111
9128
  borderRadius
9112
9129
  } = resolveProps(props, theme);
9113
9130
  const tooltipId = (0, import_react29.useRef)((0, import_lodash_es5.uniqueId)());
9114
- const fontColor = (typography == null ? void 0 : typography.color) || getDefaultTextColor({ kind, theme });
9115
- const buttonTypography = {
9116
- type: (typography == null ? void 0 : typography.type) || theme.buttons.defaultTypography,
9117
- size: size2,
9118
- color: fontColor
9119
- };
9120
9131
  const iconSize = size2 === "ExtraSmall" ? 12 : 16;
9121
9132
  let currentIcon = null;
9122
9133
  if (loading) {
@@ -9125,7 +9136,7 @@ function Button(props) {
9125
9136
  {
9126
9137
  iconSide,
9127
9138
  text,
9128
- typography: buttonTypography,
9139
+ typography,
9129
9140
  kind,
9130
9141
  children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Loading, { size: iconSize, center: false })
9131
9142
  }
@@ -9136,9 +9147,9 @@ function Button(props) {
9136
9147
  {
9137
9148
  iconSide,
9138
9149
  text,
9139
- typography: buttonTypography,
9150
+ typography,
9140
9151
  kind,
9141
- children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Icon, { name: icon, width: iconSize, color: fontColor })
9152
+ children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
9142
9153
  }
9143
9154
  );
9144
9155
  }
@@ -9161,10 +9172,10 @@ function Button(props) {
9161
9172
  textOverflow: "ellipsis",
9162
9173
  overflow: "hidden"
9163
9174
  },
9164
- children: renderTypography(buttonTypography.type, {
9175
+ children: renderTypography(typography.type, {
9165
9176
  content: text,
9166
- color: buttonTypography.color,
9167
- size: buttonTypography.size
9177
+ color: typography.color,
9178
+ size: size2
9168
9179
  })
9169
9180
  }
9170
9181
  ),
@@ -9179,7 +9190,7 @@ function Button(props) {
9179
9190
  id,
9180
9191
  kind,
9181
9192
  type,
9182
- typography: buttonTypography,
9193
+ typography,
9183
9194
  onClick,
9184
9195
  fullWidth,
9185
9196
  iconSide,
@@ -10157,7 +10168,7 @@ var textInputStyle = ({
10157
10168
  var _a;
10158
10169
  return import_react34.css`
10159
10170
  border-radius: ${textInputBorderRadiusPx}px;
10160
- background-color: ${disabled ? theme.vlcNeutral : theme.bg};
10171
+ background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
10161
10172
  cursor: ${disabled ? "not-allowed" : "auto"};
10162
10173
  box-sizing: border-box;
10163
10174
  font-weight: ${textInputFontWeight};
@@ -11367,6 +11378,9 @@ var Drawer = (props) => {
11367
11378
  const [grabbing, setGrabbing] = (0, import_react41.useState)(false);
11368
11379
  const drawerContainerRef = (0, import_react41.useRef)(null);
11369
11380
  const handleClose = () => {
11381
+ if (props.nonDismissable) {
11382
+ return;
11383
+ }
11370
11384
  setIsOpen(false);
11371
11385
  setTimeout(() => {
11372
11386
  props.onClose && props.onClose();
@@ -11376,6 +11390,9 @@ var Drawer = (props) => {
11376
11390
  };
11377
11391
  const handleTouchMove = (event) => {
11378
11392
  var _a, _b;
11393
+ if (props.nonDismissable) {
11394
+ return;
11395
+ }
11379
11396
  if (lastY === null) {
11380
11397
  setLastY(event.touches[0].clientY);
11381
11398
  } else {
@@ -11392,9 +11409,15 @@ var Drawer = (props) => {
11392
11409
  }
11393
11410
  };
11394
11411
  const handleTouchStart = () => {
11412
+ if (props.nonDismissable) {
11413
+ return;
11414
+ }
11395
11415
  setGrabbing(true);
11396
11416
  };
11397
11417
  const handleTouchEnd = () => {
11418
+ if (props.nonDismissable) {
11419
+ return;
11420
+ }
11398
11421
  setGrabbing(false);
11399
11422
  if (fractionVisible < 0.8) {
11400
11423
  handleClose();
@@ -11422,16 +11445,17 @@ var Drawer = (props) => {
11422
11445
  grabbing,
11423
11446
  ref: drawerContainerRef,
11424
11447
  children: [
11425
- props.grabber && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Grabber, { onClick: handleClose, children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(GrabberBar, {}) }),
11426
- props.closeButton && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(CloseButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
11448
+ props.grabber && !props.nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Grabber, { onClick: handleClose, children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(GrabberBar, {}) }),
11449
+ props.handleBack && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(BackButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
11427
11450
  Button,
11428
11451
  {
11429
- onClick: handleClose,
11430
- icon: "Close",
11452
+ onClick: props.handleBack,
11453
+ icon: "ChevronLeft",
11431
11454
  kind: "ghost",
11432
- size: "ExtraSmall"
11455
+ size: "Small"
11433
11456
  }
11434
11457
  ) }),
11458
+ props.closeButton && !props.nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(CloseButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(CloseButton, { onClick: handleClose, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Icon, { name: "Close", width: 12 }) }) }),
11435
11459
  props.children
11436
11460
  ]
11437
11461
  }
@@ -11464,6 +11488,7 @@ var Background = import_styled31.default.div`
11464
11488
  `;
11465
11489
  var DrawerContainer = import_styled31.default.div`
11466
11490
  position: fixed;
11491
+ max-height: 100dvh;
11467
11492
  width: 100%;
11468
11493
  background-color: ${({ theme }) => theme.bg};
11469
11494
  right: 0;
@@ -11474,6 +11499,7 @@ var DrawerContainer = import_styled31.default.div`
11474
11499
  display: flex;
11475
11500
  flex-direction: column;
11476
11501
  padding: ${"72px" /* 6xl */} ${"32px" /* xl */} ${"40px" /* 2xl */} ${"32px" /* xl */};
11502
+ overflow-y: scroll;
11477
11503
 
11478
11504
  // Only smooth transition when not grabbing, otherwise dragging will feel very laggy
11479
11505
  ${(props) => props.grabbing && props.isOpen ? "" : "transition: transform 0.3s ease-in-out;"};
@@ -11520,11 +11546,32 @@ var CloseButtonContainer = import_styled31.default.div`
11520
11546
  border-radius: 50%;
11521
11547
  background-color: ${colors.grayBlue94};
11522
11548
  padding: ${"8px" /* xs */};
11549
+ height: 30px;
11550
+ width: 30px;
11551
+ display: flex;
11552
+ align-items: center;
11523
11553
 
11524
11554
  * > * {
11525
11555
  line-height: 14px;
11526
11556
  }
11527
11557
  `;
11558
+ var CloseButton = (0, import_styled31.default)(UnstyledButton)`
11559
+ ${standardFocusOutline}
11560
+ width: 24px;
11561
+ height: 24px;
11562
+ justify-self: flex-end;
11563
+ `;
11564
+ var BackButtonContainer = import_styled31.default.div`
11565
+ position: absolute;
11566
+ top: 20px;
11567
+ left: 20px;
11568
+ border-radius: 50%;
11569
+ padding: ${"8px" /* xs */};
11570
+ height: 30px;
11571
+ width: 30px;
11572
+ display: flex;
11573
+ align-items: center;
11574
+ `;
11528
11575
  var GrabberBar = import_styled31.default.div`
11529
11576
  width: 36px;
11530
11577
  height: 5px;
@@ -12112,39 +12159,53 @@ var StyledFileInput = import_styled34.default.div`
12112
12159
  }
12113
12160
  `;
12114
12161
 
12162
+ // src/components/Flex.tsx
12163
+ var import_styled35 = __toESM(require("@emotion/styled"), 1);
12164
+ var import_jsx_runtime154 = require("@emotion/react/jsx-runtime");
12165
+ function Flex({ center = false, children, as = "div" }) {
12166
+ return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(StyledFlex, { center, as, children });
12167
+ }
12168
+ var StyledFlex = import_styled35.default.div`
12169
+ display: flex;
12170
+ ${({ center }) => center && `
12171
+ justify-content: center;
12172
+ align-items: center;
12173
+ `}
12174
+ `;
12175
+
12115
12176
  // src/components/GradientCardHeader.tsx
12116
- var import_styled36 = __toESM(require("@emotion/styled"), 1);
12177
+ var import_styled37 = __toESM(require("@emotion/styled"), 1);
12117
12178
 
12118
12179
  // src/components/StatusIndicator.tsx
12119
- var import_styled35 = __toESM(require("@emotion/styled"), 1);
12120
- var import_jsx_runtime154 = require("@emotion/react/jsx-runtime");
12180
+ var import_styled36 = __toESM(require("@emotion/styled"), 1);
12181
+ var import_jsx_runtime155 = require("@emotion/react/jsx-runtime");
12121
12182
  function StatusIndicator({
12122
12183
  color = "success",
12123
12184
  text,
12124
12185
  size: size2 = 12,
12125
12186
  fontWeight = 700
12126
12187
  }) {
12127
- return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(StyledStatusIndicator, { color, size: size2, fontWeight, children: text });
12188
+ return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(StyledStatusIndicator, { color, size: size2, fontWeight, children: text });
12128
12189
  }
12129
- var StyledStatusIndicator = import_styled35.default.div`
12190
+ var StyledStatusIndicator = import_styled36.default.div`
12130
12191
  color: ${({ theme, color }) => theme[color]};
12131
12192
  font-size: ${({ size: size2 }) => pxToRems(size2)};
12132
12193
  font-weight: ${({ fontWeight }) => fontWeight};
12133
12194
  `;
12134
12195
 
12135
12196
  // src/components/GradientCardHeader.tsx
12136
- var import_jsx_runtime155 = require("@emotion/react/jsx-runtime");
12197
+ var import_jsx_runtime156 = require("@emotion/react/jsx-runtime");
12137
12198
  function GradientCardHeader(props) {
12138
- return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)(CardHeaderWrapper, { children: [
12139
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(Gradients, {}),
12140
- /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("div", { children: [
12141
- props.status && /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(StatusIndicator, __spreadValues({}, props.status)),
12142
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(CardHeaderTitle, { children: props.title })
12199
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)(CardHeaderWrapper, { children: [
12200
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(Gradients, {}),
12201
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { children: [
12202
+ props.status && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(StatusIndicator, __spreadValues({}, props.status)),
12203
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(CardHeaderTitle, { children: props.title })
12143
12204
  ] }),
12144
12205
  props.children
12145
12206
  ] });
12146
12207
  }
12147
- var CardHeaderWrapper = import_styled36.default.div`
12208
+ var CardHeaderWrapper = import_styled37.default.div`
12148
12209
  position: relative;
12149
12210
  display: flex;
12150
12211
  flex-direction: column;
@@ -12154,7 +12215,7 @@ var CardHeaderWrapper = import_styled36.default.div`
12154
12215
  color: white;
12155
12216
  height: 264px;
12156
12217
  `;
12157
- var CardHeaderTitle = import_styled36.default.h3`
12218
+ var CardHeaderTitle = import_styled37.default.h3`
12158
12219
  font-size: 21px;
12159
12220
  font-weight: 800;
12160
12221
  color: white;
@@ -12163,12 +12224,12 @@ var CardHeaderTitle = import_styled36.default.h3`
12163
12224
  position: relative;
12164
12225
  `;
12165
12226
  var Gradients = () => {
12166
- return /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("div", { style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }, children: [
12167
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(BackgroundGradients, {}),
12168
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(AccentGradients, {})
12227
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { style: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0 }, children: [
12228
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(BackgroundGradients, {}),
12229
+ /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(AccentGradients, {})
12169
12230
  ] });
12170
12231
  };
12171
- var BackgroundGradients = import_styled36.default.div`
12232
+ var BackgroundGradients = import_styled37.default.div`
12172
12233
  &:before,
12173
12234
  &:after {
12174
12235
  content: "";
@@ -12203,7 +12264,7 @@ var BackgroundGradients = import_styled36.default.div`
12203
12264
  );
12204
12265
  }
12205
12266
  `;
12206
- var AccentGradients = import_styled36.default.div`
12267
+ var AccentGradients = import_styled37.default.div`
12207
12268
  position: absolute;
12208
12269
  top: 0;
12209
12270
  left: 0;
@@ -12243,32 +12304,46 @@ var AccentGradients = import_styled36.default.div`
12243
12304
  }
12244
12305
  `;
12245
12306
 
12307
+ // src/components/IconWithCircleBackground.tsx
12308
+ var import_styled38 = __toESM(require("@emotion/styled"), 1);
12309
+ var import_jsx_runtime157 = require("@emotion/react/jsx-runtime");
12310
+ function IconWithCircleBackground({
12311
+ iconName = "WarningSign"
12312
+ }) {
12313
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Flex, { center: true, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(StyledIconWithCircleBackground, { children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Icon, { name: iconName, width: 40, color: "grayBlue9" }) }) });
12314
+ }
12315
+ var StyledIconWithCircleBackground = import_styled38.default.div`
12316
+ background-color: ${({ theme }) => getColor(theme, "grayBlue94")};
12317
+ border-radius: 50%;
12318
+ padding: 20px;
12319
+ `;
12320
+
12246
12321
  // src/components/InfoIconTooltip.tsx
12247
12322
  var import_react46 = require("react");
12248
- var import_jsx_runtime156 = require("@emotion/react/jsx-runtime");
12323
+ var import_jsx_runtime158 = require("@emotion/react/jsx-runtime");
12249
12324
  function InfoIconTooltip({
12250
12325
  id,
12251
12326
  content,
12252
12327
  verticalAlign = "middle"
12253
12328
  }) {
12254
12329
  const contentNodes = toReactNodes(content);
12255
- return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)(import_react46.Fragment, { children: [
12256
- /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
12330
+ return /* @__PURE__ */ (0, import_jsx_runtime158.jsxs)(import_react46.Fragment, { children: [
12331
+ /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
12257
12332
  "div",
12258
12333
  {
12259
12334
  "data-tooltip-id": id,
12260
12335
  style: { display: "inline-flex", alignItems: "center", verticalAlign },
12261
- children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(Icon, { name: "Info", width: 12, ml: 4 })
12336
+ children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(Icon, { name: "Info", width: 12, ml: 4 })
12262
12337
  }
12263
12338
  ),
12264
- /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(Tooltip, { id, render: () => contentNodes, clickable: true })
12339
+ /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(Tooltip, { id, render: () => contentNodes, clickable: true })
12265
12340
  ] });
12266
12341
  }
12267
12342
 
12268
12343
  // src/components/LightboxImage.tsx
12269
- var import_styled37 = __toESM(require("@emotion/styled"), 1);
12344
+ var import_styled39 = __toESM(require("@emotion/styled"), 1);
12270
12345
  var import_react47 = require("react");
12271
- var import_jsx_runtime157 = require("@emotion/react/jsx-runtime");
12346
+ var import_jsx_runtime159 = require("@emotion/react/jsx-runtime");
12272
12347
  var LightboxImage = ({ children }) => {
12273
12348
  const [isOpen, setIsOpen] = (0, import_react47.useState)(false);
12274
12349
  const [boundingRect, setBoundingRect] = (0, import_react47.useState)({
@@ -12296,9 +12371,9 @@ var LightboxImage = ({ children }) => {
12296
12371
  (0, import_react47.useEffect)(() => {
12297
12372
  handleSetBoundingRect(imageRef);
12298
12373
  }, [imageRef]);
12299
- return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)(import_jsx_runtime157.Fragment, { children: [
12300
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(DummyImage, { isOpen, boundingRect }),
12301
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
12374
+ return /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(import_jsx_runtime159.Fragment, { children: [
12375
+ /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(DummyImage, { isOpen, boundingRect }),
12376
+ /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
12302
12377
  StyledImage,
12303
12378
  {
12304
12379
  isOpen,
@@ -12309,13 +12384,13 @@ var LightboxImage = ({ children }) => {
12309
12384
  children
12310
12385
  }
12311
12386
  ),
12312
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Lightbox, { isOpen, onClick: handleMouseUp })
12387
+ /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(Lightbox, { isOpen, onClick: handleMouseUp })
12313
12388
  ] });
12314
12389
  };
12315
- var DummyImage = import_styled37.default.div`
12390
+ var DummyImage = import_styled39.default.div`
12316
12391
  ${(props) => props.isOpen ? `height: ${props.boundingRect.height}px; width: ${props.boundingRect.width}px;` : ``}
12317
12392
  `;
12318
- var StyledImage = import_styled37.default.div`
12393
+ var StyledImage = import_styled39.default.div`
12319
12394
  display: flex;
12320
12395
  justify-content: start;
12321
12396
  align-items: center;
@@ -12363,7 +12438,7 @@ var StyledImage = import_styled37.default.div`
12363
12438
  }
12364
12439
  }
12365
12440
  `;
12366
- var Lightbox = import_styled37.default.div`
12441
+ var Lightbox = import_styled39.default.div`
12367
12442
  transition: opacity 0.2s ease-out;
12368
12443
  position: fixed;
12369
12444
  opacity: 0;
@@ -12393,7 +12468,7 @@ var import_react48 = require("@emotion/react");
12393
12468
  var import_react49 = require("react");
12394
12469
  var import_react_tooltip2 = require("react-tooltip/dist/react-tooltip.css");
12395
12470
  var import_fonts = require("../static/fonts.css");
12396
- var import_jsx_runtime158 = require("@emotion/react/jsx-runtime");
12471
+ var import_jsx_runtime160 = require("@emotion/react/jsx-runtime");
12397
12472
  var globalComponentStyles = ({ theme }) => import_react48.css`
12398
12473
  @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
12399
12474
 
@@ -12512,20 +12587,20 @@ function GlobalStyles() {
12512
12587
  height: 100%;
12513
12588
  }
12514
12589
  `;
12515
- return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(import_react48.Global, { styles: globalStyles });
12590
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(import_react48.Global, { styles: globalStyles });
12516
12591
  }
12517
12592
 
12518
12593
  // src/components/LightsparkProvider.tsx
12519
- var import_jsx_runtime159 = require("@emotion/react/jsx-runtime");
12594
+ var import_jsx_runtime161 = require("@emotion/react/jsx-runtime");
12520
12595
  function LightsparkProvider({ children }) {
12521
- return /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(import_react50.ThemeProvider, { theme: themes.light, children: [
12522
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(GlobalStyles, {}),
12596
+ return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_react50.ThemeProvider, { theme: themes.light, children: [
12597
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(GlobalStyles, {}),
12523
12598
  children
12524
12599
  ] });
12525
12600
  }
12526
12601
 
12527
12602
  // src/components/Modal.tsx
12528
- var import_styled39 = __toESM(require("@emotion/styled"), 1);
12603
+ var import_styled41 = __toESM(require("@emotion/styled"), 1);
12529
12604
  var import_react53 = __toESM(require("react"), 1);
12530
12605
  var import_react_dom3 = __toESM(require("react-dom"), 1);
12531
12606
 
@@ -12544,9 +12619,9 @@ function useLiveRef() {
12544
12619
  }
12545
12620
 
12546
12621
  // src/components/ProgressBar.tsx
12547
- var import_styled38 = __toESM(require("@emotion/styled"), 1);
12622
+ var import_styled40 = __toESM(require("@emotion/styled"), 1);
12548
12623
  var import_react52 = require("react");
12549
- var import_jsx_runtime160 = require("@emotion/react/jsx-runtime");
12624
+ var import_jsx_runtime162 = require("@emotion/react/jsx-runtime");
12550
12625
  var defaultProps3 = {
12551
12626
  isSm: false,
12552
12627
  stepDuration: 0.5
@@ -12567,7 +12642,7 @@ function ProgressBar({
12567
12642
  }, 0);
12568
12643
  }
12569
12644
  }, [progressPercentage]);
12570
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(ProgressBarContainer, { isSm, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Bar, { isSm, percentage, stepDuration, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
12645
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(ProgressBarContainer, { isSm, children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Bar, { isSm, percentage, stepDuration, children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
12571
12646
  BarBg,
12572
12647
  {
12573
12648
  background,
@@ -12578,7 +12653,7 @@ function ProgressBar({
12578
12653
  ) }) });
12579
12654
  }
12580
12655
  ProgressBar.defaultProps = defaultProps3;
12581
- var ProgressBarContainer = import_styled38.default.div`
12656
+ var ProgressBarContainer = import_styled40.default.div`
12582
12657
  ${standardBorderRadius(16)}
12583
12658
  background-color: ${({ theme }) => themeOr(theme.c05Neutral, theme.c1Neutral)({ theme })};
12584
12659
  box-sizing: border-box;
@@ -12588,7 +12663,7 @@ var ProgressBarContainer = import_styled38.default.div`
12588
12663
  width: 100%;
12589
12664
  position: relative;
12590
12665
  `;
12591
- var BarBg = import_styled38.default.div`
12666
+ var BarBg = import_styled40.default.div`
12592
12667
  ${standardBorderRadius(16)}
12593
12668
  width: ${({ percentage }) => 100 / percentage * 100}%;
12594
12669
  height: 100%;
@@ -12602,7 +12677,7 @@ var BarBg = import_styled38.default.div`
12602
12677
  #3f2e7e 115.32%
12603
12678
  )`};
12604
12679
  `;
12605
- var Bar = import_styled38.default.div`
12680
+ var Bar = import_styled40.default.div`
12606
12681
  ${standardBorderRadius(16)}
12607
12682
  overflow: hidden;
12608
12683
  box-sizing: border-box;
@@ -12614,12 +12689,13 @@ var Bar = import_styled38.default.div`
12614
12689
  `;
12615
12690
 
12616
12691
  // src/components/Modal.tsx
12617
- var import_jsx_runtime161 = require("@emotion/react/jsx-runtime");
12692
+ var import_jsx_runtime163 = require("@emotion/react/jsx-runtime");
12618
12693
  function isSubmitLinkWithHref(submitLink) {
12619
12694
  return Boolean(submitLink && "href" in submitLink);
12620
12695
  }
12621
12696
  function Modal({
12622
12697
  visible,
12698
+ topContent,
12623
12699
  title,
12624
12700
  description,
12625
12701
  children,
@@ -12635,13 +12711,15 @@ function Modal({
12635
12711
  submitLink,
12636
12712
  cancelText = "Cancel",
12637
12713
  firstFocusRef,
12638
- smDrawer,
12714
+ smKind = "default",
12715
+ top,
12639
12716
  nonDismissable = false,
12640
12717
  autoFocus = true,
12641
12718
  width: width3 = 460,
12642
12719
  progressBar,
12643
12720
  buttonLayout = "horizontal",
12644
- extraActions
12721
+ extraActions,
12722
+ handleBack
12645
12723
  }) {
12646
12724
  const visibleChangedRef = (0, import_react53.useRef)(false);
12647
12725
  const nodeRef = (0, import_react53.useRef)(null);
@@ -12741,9 +12819,12 @@ function Modal({
12741
12819
  }
12742
12820
  const linkIsHref = isSubmitLinkWithHref(submitLink);
12743
12821
  const linkIsRoute = !linkIsHref && submitLink;
12744
- const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
12745
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((action) => action.content),
12746
- !isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
12822
+ const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_jsx_runtime163.Fragment, { children: [
12823
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((_a, i) => {
12824
+ var _b = _a, { placement, text } = _b, rest = __objRest(_b, ["placement", "text"]);
12825
+ return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
12826
+ }),
12827
+ !isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
12747
12828
  Button,
12748
12829
  {
12749
12830
  disabled: cancelDisabled,
@@ -12751,7 +12832,7 @@ function Modal({
12751
12832
  text: cancelText
12752
12833
  }
12753
12834
  ),
12754
- onSubmit && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
12835
+ (onSubmit || submitLink) && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
12755
12836
  Button,
12756
12837
  {
12757
12838
  kind: "primary",
@@ -12765,13 +12846,16 @@ function Modal({
12765
12846
  onClick: submitLink ? onSubmit : void 0
12766
12847
  }
12767
12848
  ),
12768
- isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Button, { onClick: onClose, text: cancelText }),
12769
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((action) => action.content)
12849
+ isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Button, { onClick: onClose, text: cancelText }),
12850
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((_c, i) => {
12851
+ var _d = _c, { placement, text } = _d, rest = __objRest(_d, ["placement", "text"]);
12852
+ return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
12853
+ })
12770
12854
  ] });
12771
12855
  let titleContent = null;
12772
12856
  if (title) {
12773
12857
  if (typeof title === "string") {
12774
- titleContent = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Headline, { heading: "h4", size: TokenSize.Small, children: title });
12858
+ titleContent = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Headline, { heading: "h4", size: TokenSize.Small, children: title });
12775
12859
  } else {
12776
12860
  titleContent = toReactNodes(title);
12777
12861
  }
@@ -12779,31 +12863,45 @@ function Modal({
12779
12863
  let descriptionContent = null;
12780
12864
  if (description) {
12781
12865
  if (typeof description === "string") {
12782
- descriptionContent = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Description, { children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Body, { size: "ExtraSmall", content: description }) });
12866
+ descriptionContent = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Description, { children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Body, { size: "ExtraSmall", content: description }) });
12783
12867
  } else {
12784
- descriptionContent = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Description, { children: toReactNodes(description) });
12868
+ descriptionContent = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Description, { children: toReactNodes(description) });
12785
12869
  }
12786
12870
  }
12787
- const modalContent = /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_react53.Fragment, { children: [
12788
- progressBar ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
12871
+ let topContentNode = null;
12872
+ if (topContent) {
12873
+ topContentNode = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { css: { marginBottom: "32px" /* xl */ }, children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(IconWithCircleBackground, __spreadValues({}, topContent)) });
12874
+ }
12875
+ const modalContent = /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_react53.Fragment, { children: [
12876
+ progressBar ? /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
12789
12877
  ProgressBar,
12790
12878
  {
12791
12879
  progressPercentage: progressBar.progressPercentage,
12792
12880
  isSm: progressBar.isSm
12793
12881
  }
12794
12882
  ) }) : null,
12883
+ topContentNode,
12795
12884
  titleContent,
12796
12885
  descriptionContent,
12797
12886
  children,
12798
- onSubmit || onCancel ? buttonLayout === "horizontal" ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ModalButtonColumn, { children: buttonContent }) : null
12887
+ onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ModalButtonColumn, { children: buttonContent }) : null
12799
12888
  ] });
12800
12889
  let content;
12801
- if (smDrawer && isSm) {
12802
- content = /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Drawer, { onClose: () => onClickCloseButton(), closeButton: true, children: modalContent });
12890
+ if (smKind === "drawer" && isSm) {
12891
+ content = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
12892
+ Drawer,
12893
+ {
12894
+ onClose: () => onClickCloseButton(),
12895
+ closeButton: true,
12896
+ nonDismissable,
12897
+ handleBack,
12898
+ children: modalContent
12899
+ }
12900
+ );
12803
12901
  } else {
12804
- content = /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_react53.Fragment, { children: [
12805
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ModalOverlay, { ref: overlayRef }),
12806
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
12902
+ content = /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_react53.Fragment, { children: [
12903
+ !(smKind === "fullscreen" && bp2.isSm()) ? /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ModalOverlay, { ref: overlayRef }) : null,
12904
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
12807
12905
  ModalContainer,
12808
12906
  {
12809
12907
  "aria-modal": true,
@@ -12811,27 +12909,31 @@ function Modal({
12811
12909
  tabIndex: -1,
12812
12910
  role: "dialog",
12813
12911
  ref: modalContainerRef,
12814
- children: /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(ModalContent, { width: width3, ghost, children: [
12815
- !firstFocusRef && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
12816
- !(nonDismissable || ghost) && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(CloseButtonContainer2, { children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Icon, { name: "Close", width: 9 }) }) }),
12817
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ModalContentInner, { ghost, children: modalContent })
12912
+ top: top || (smKind === "default" ? standardContentInset.smPx : 0),
12913
+ children: /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(ModalContent, { width: width3, ghost, smKind, children: [
12914
+ !firstFocusRef && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
12915
+ !ghost && /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(ModalNavigation, { children: [
12916
+ handleBack && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(BackButton, { onClick: handleBack, children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Icon, { name: "ChevronLeft", width: 16 }) }),
12917
+ !nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(CloseButton2, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Icon, { name: "Close", width: 9 }) })
12918
+ ] }),
12919
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ModalContentInner, { ghost, children: modalContent })
12818
12920
  ] })
12819
12921
  }
12820
12922
  )
12821
12923
  ] });
12822
12924
  }
12823
12925
  return visible && nodeReady && nodeRef.current ? import_react_dom3.default.createPortal(
12824
- onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("form", { onSubmit: onSubmitForm, children: content }) : content,
12926
+ onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("form", { onSubmit: onSubmitForm, children: content }) : content,
12825
12927
  nodeRef.current
12826
12928
  ) : null;
12827
12929
  }
12828
- var DefaultFocusTarget = (0, import_styled39.default)(UnstyledButton)`
12930
+ var DefaultFocusTarget = (0, import_styled41.default)(UnstyledButton)`
12829
12931
  position: absolute;
12830
12932
  top: -30px;
12831
12933
  width: 0;
12832
12934
  height: 0;
12833
12935
  `;
12834
- var ModalOverlay = import_styled39.default.div`
12936
+ var ModalOverlay = import_styled41.default.div`
12835
12937
  position: fixed;
12836
12938
  bottom: 0;
12837
12939
  left: 0;
@@ -12840,7 +12942,7 @@ var ModalOverlay = import_styled39.default.div`
12840
12942
  height: 100vh;
12841
12943
  background: rgba(0, 0, 0, 0.5);
12842
12944
  `;
12843
- var ModalContainer = import_styled39.default.div`
12945
+ var ModalContainer = import_styled41.default.div`
12844
12946
  pointer-events: none;
12845
12947
  position: fixed;
12846
12948
  top: 0;
@@ -12855,17 +12957,17 @@ var ModalContainer = import_styled39.default.div`
12855
12957
  justify-content: center;
12856
12958
  align-items: center;
12857
12959
  color: ${({ theme }) => theme.text};
12858
- padding-top: ${standardContentInset.smPx}px;
12960
+ ${(props) => `top: ${props.top}px;`}
12859
12961
  `;
12860
12962
  var contentTopMarginPx = 24;
12861
- var Description = import_styled39.default.div`
12963
+ var Description = import_styled41.default.div`
12862
12964
  color: ${({ theme }) => theme.mcNeutral};
12863
12965
  margin-top: ${"12px" /* sm */};
12864
12966
  & + * {
12865
12967
  margin-top: ${contentTopMarginPx}px;
12866
12968
  }
12867
12969
  `;
12868
- var ModalButtonRow = import_styled39.default.div`
12970
+ var ModalButtonRow = import_styled41.default.div`
12869
12971
  margin-top: ${"24px" /* lg */};
12870
12972
  ${bp.minSm(`display: flex;`)}
12871
12973
  gap: 10px;
@@ -12877,7 +12979,7 @@ var ModalButtonRow = import_styled39.default.div`
12877
12979
  `)}
12878
12980
  }
12879
12981
  `;
12880
- var ModalButtonColumn = import_styled39.default.div`
12982
+ var ModalButtonColumn = import_styled41.default.div`
12881
12983
  display: flex;
12882
12984
  flex-direction: column;
12883
12985
  gap: ${"12px" /* sm */};
@@ -12888,17 +12990,23 @@ var ModalButtonColumn = import_styled39.default.div`
12888
12990
 
12889
12991
  margin-top: ${"24px" /* lg */};
12890
12992
  `;
12891
- var ModalContent = import_styled39.default.div`
12892
- ${overflowAutoWithoutScrollbars}
12893
- ${standardContentInset.smCSS}
12894
- ${(props) => props.ghost ? "" : standardBorderRadius(16)}
12895
- ${(props) => props.ghost ? "" : overlaySurface}
12993
+ var ModalContent = import_styled41.default.div`
12896
12994
  pointer-events: auto;
12897
12995
  transition: width 0.25s ease-in;
12898
- width: ${(props) => props.width}px;
12899
- max-width: 100%;
12900
- max-height: 100%;
12901
- position: absolute;
12996
+
12997
+ ${({ theme, smKind, ghost }) => ghost ? "" : overlaySurface({ theme, border: smKind !== "fullscreen" })}
12998
+ ${overflowAutoWithoutScrollbars}
12999
+ ${(props) => props.smKind === "fullscreen" && bp.isSm() ? `
13000
+ width: 100%;
13001
+ height: 100%;
13002
+ ` : `
13003
+ ${props.ghost ? "" : standardBorderRadius(16)}
13004
+ ${standardContentInset.smCSS.styles}
13005
+ width: ${props.width}px;
13006
+ max-width: 100%;
13007
+ max-height: 100%;
13008
+ position: absolute;
13009
+ `}
12902
13010
  ${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
12903
13011
 
12904
13012
  ${headlineSelector("h4")} { {
@@ -12908,18 +13016,24 @@ var ModalContent = import_styled39.default.div`
12908
13016
  }
12909
13017
  }
12910
13018
  `;
12911
- var CloseButtonContainer2 = import_styled39.default.div`
12912
- display: flex;
12913
- flex-direction: row;
13019
+ var ModalNavigation = import_styled41.default.div`
13020
+ display: grid;
13021
+ grid-auto-flow: column;
12914
13022
  width: 100%;
12915
- justify-content: flex-end;
12916
13023
  `;
12917
- var CloseButton = (0, import_styled39.default)(UnstyledButton)`
13024
+ var BackButton = (0, import_styled41.default)(UnstyledButton)`
13025
+ ${standardFocusOutline}
13026
+ width: 24px;
13027
+ height: 24px;
13028
+ justify-self: flex-start;
13029
+ `;
13030
+ var CloseButton2 = (0, import_styled41.default)(UnstyledButton)`
12918
13031
  ${standardFocusOutline}
12919
13032
  width: 24px;
12920
13033
  height: 24px;
13034
+ justify-self: flex-end;
12921
13035
  `;
12922
- var ModalContentInner = import_styled39.default.div`
13036
+ var ModalContentInner = import_styled41.default.div`
12923
13037
  ${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
12924
13038
  ${(props) => props.ghost ? "" : `${bp.sm(`
12925
13039
  padding-left: 10px;
@@ -12929,15 +13043,15 @@ var ModalContentInner = import_styled39.default.div`
12929
13043
 
12930
13044
  // src/components/PageSection/PageSection.tsx
12931
13045
  var import_react55 = require("@emotion/react");
12932
- var import_styled41 = __toESM(require("@emotion/styled"), 1);
13046
+ var import_styled43 = __toESM(require("@emotion/styled"), 1);
12933
13047
  var import_react56 = require("react");
12934
13048
 
12935
13049
  // src/components/TextButton.tsx
12936
13050
  var import_react54 = require("@emotion/react");
12937
- var import_styled40 = __toESM(require("@emotion/styled"), 1);
13051
+ var import_styled42 = __toESM(require("@emotion/styled"), 1);
12938
13052
 
12939
13053
  // src/components/TextIconAligner.tsx
12940
- var import_jsx_runtime162 = require("@emotion/react/jsx-runtime");
13054
+ var import_jsx_runtime164 = require("@emotion/react/jsx-runtime");
12941
13055
  function TextIconAligner({
12942
13056
  content,
12943
13057
  typography,
@@ -12950,7 +13064,7 @@ function TextIconAligner({
12950
13064
  size: (typography == null ? void 0 : typography.size) || "Small",
12951
13065
  color: (typography == null ? void 0 : typography.color) || "inherit"
12952
13066
  });
12953
- const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
13067
+ const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
12954
13068
  Icon,
12955
13069
  {
12956
13070
  name: leftIcon.name,
@@ -12959,7 +13073,7 @@ function TextIconAligner({
12959
13073
  color: leftIcon.color
12960
13074
  }
12961
13075
  ) : null;
12962
- const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
13076
+ const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
12963
13077
  Icon,
12964
13078
  {
12965
13079
  name: rightIcon.name,
@@ -12968,7 +13082,7 @@ function TextIconAligner({
12968
13082
  color: rightIcon.color
12969
13083
  }
12970
13084
  ) : null;
12971
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(
13085
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(
12972
13086
  "span",
12973
13087
  {
12974
13088
  css: {
@@ -12987,7 +13101,7 @@ function TextIconAligner({
12987
13101
  }
12988
13102
 
12989
13103
  // src/components/TextButton.tsx
12990
- var import_jsx_runtime163 = require("@emotion/react/jsx-runtime");
13104
+ var import_jsx_runtime165 = require("@emotion/react/jsx-runtime");
12991
13105
  function TextButton({
12992
13106
  text: textProp,
12993
13107
  to,
@@ -13013,7 +13127,7 @@ function TextButton({
13013
13127
  };
13014
13128
  }
13015
13129
  const defaultIconColor = iconMatchTextColor ? void 0 : "mcNeutral";
13016
- const content = /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
13130
+ const content = /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
13017
13131
  TextIconAligner,
13018
13132
  {
13019
13133
  onClick,
@@ -13043,9 +13157,9 @@ function TextButton({
13043
13157
  }
13044
13158
  };
13045
13159
  if (to) {
13046
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ButtonLink2, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, children: content }));
13160
+ return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(ButtonLink2, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, children: content }));
13047
13161
  }
13048
- return href ? /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ButtonHrefLink2, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(StyledButton2, __spreadProps(__spreadValues({}, commonProps), { children: content }));
13162
+ return href ? /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(ButtonHrefLink2, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(StyledButton2, __spreadProps(__spreadValues({}, commonProps), { children: content }));
13049
13163
  }
13050
13164
  var buttonStyle2 = ({
13051
13165
  theme,
@@ -13069,13 +13183,13 @@ var buttonStyle2 = ({
13069
13183
  cursor: ${disabled ? "not-allowed" : "pointer"};
13070
13184
  }
13071
13185
  `;
13072
- var StyledButton2 = (0, import_styled40.default)(UnstyledButton)`
13186
+ var StyledButton2 = (0, import_styled42.default)(UnstyledButton)`
13073
13187
  ${(props) => buttonStyle2(props)}
13074
13188
  `;
13075
- var ButtonLink2 = (0, import_styled40.default)(Link)`
13189
+ var ButtonLink2 = (0, import_styled42.default)(Link)`
13076
13190
  ${(props) => buttonStyle2(props)}
13077
13191
  `;
13078
- var ButtonHrefLink2 = import_styled40.default.a`
13192
+ var ButtonHrefLink2 = import_styled42.default.a`
13079
13193
  ${(props) => buttonStyle2(props)}
13080
13194
  `;
13081
13195
 
@@ -13083,19 +13197,19 @@ var ButtonHrefLink2 = import_styled40.default.a`
13083
13197
  var pageSectionScrollOffset = 20;
13084
13198
 
13085
13199
  // src/components/PageSection/PageSection.tsx
13086
- var import_jsx_runtime164 = require("@emotion/react/jsx-runtime");
13200
+ var import_jsx_runtime166 = require("@emotion/react/jsx-runtime");
13087
13201
  function PageSection({
13088
13202
  children,
13089
13203
  title,
13090
13204
  sectionId,
13091
13205
  headerOffset = 0
13092
13206
  }) {
13093
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(StyledPageSection, { scrollMarginTop: headerOffset + pageSectionScrollOffset, children: [
13094
- title ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Heading, { type: "h3", id: sectionId, mt: 0, mb: 40, children: title }) : null,
13207
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(StyledPageSection, { scrollMarginTop: headerOffset + pageSectionScrollOffset, children: [
13208
+ title ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Heading, { type: "h3", id: sectionId, mt: 0, mb: 40, children: title }) : null,
13095
13209
  children
13096
13210
  ] });
13097
13211
  }
13098
- var StyledPageSection = import_styled41.default.div`
13212
+ var StyledPageSection = import_styled43.default.div`
13099
13213
  &:first-of-type {
13100
13214
  ${bp.minSm(`
13101
13215
  margin-top: 4px;
@@ -13119,24 +13233,24 @@ var PageSectionBoxActionColumn = ({
13119
13233
  label,
13120
13234
  value,
13121
13235
  valueId
13122
- }) => /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(StyledPageSectionBoxActionColumn, { children: [
13123
- /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxActionColumnLabel, { children: label }),
13124
- value ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxActionColumnValue, { id: valueId, children: value }) : /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxActionColumnNoValue, { children: "Unknown" })
13236
+ }) => /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(StyledPageSectionBoxActionColumn, { children: [
13237
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxActionColumnLabel, { children: label }),
13238
+ value ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxActionColumnValue, { id: valueId, children: value }) : /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxActionColumnNoValue, { children: "Unknown" })
13125
13239
  ] });
13126
- var StyledPageSectionBoxActionColumn = import_styled41.default.div``;
13127
- var PageSectionBoxActionColumnLabel = import_styled41.default.div`
13240
+ var StyledPageSectionBoxActionColumn = import_styled43.default.div``;
13241
+ var PageSectionBoxActionColumnLabel = import_styled43.default.div`
13128
13242
  color: ${colors.gray40};
13129
13243
  font-weight: 500;
13130
13244
  margin: 0;
13131
13245
  `;
13132
- var PageSectionBoxActionColumnValue = import_styled41.default.div`
13246
+ var PageSectionBoxActionColumnValue = import_styled43.default.div`
13133
13247
  font-weight: 700;
13134
13248
  margin-bottom: 0;
13135
13249
  margin-top: 6px;
13136
13250
  overflow: hidden;
13137
13251
  text-overflow: ellipsis;
13138
13252
  `;
13139
- var PageSectionBoxActionColumnNoValue = (0, import_styled41.default)(
13253
+ var PageSectionBoxActionColumnNoValue = (0, import_styled43.default)(
13140
13254
  PageSectionBoxActionColumnValue
13141
13255
  )`
13142
13256
  color: ${colors.gray80};
@@ -13153,17 +13267,17 @@ function PageSectionBoxAction({
13153
13267
  toParams
13154
13268
  }) {
13155
13269
  const theme = (0, import_react55.useTheme)();
13156
- return loading ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Loading, { size: 12, center: false }) }) : icon ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(UnstyledButton, { onClick: icon.onClick, children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Icon, { name: icon.name, width: 12, color: "mcNeutral" }) }) }) : dropdownItems ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
13270
+ return loading ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Loading, { size: 12, center: false }) }) : icon ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(UnstyledButton, { onClick: icon.onClick, children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Icon, { name: icon.name, width: 12, color: "mcNeutral" }) }) }) : dropdownItems ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
13157
13271
  Dropdown,
13158
13272
  {
13159
13273
  button: {
13160
- getContent: () => /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Icon, { name: "DotGrid1x3Horizontal", width: 16 })
13274
+ getContent: () => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Icon, { name: "DotGrid1x3Horizontal", width: 16 })
13161
13275
  },
13162
13276
  dropdownItems
13163
13277
  }
13164
- ) : isDelete ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(UnstyledButton, { css: { color: theme.mcNeutral }, onClick, children: "Delete" }) : label ? (
13278
+ ) : isDelete ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(UnstyledButton, { css: { color: theme.mcNeutral }, onClick, children: "Delete" }) : label ? (
13165
13279
  /* Extra div for proper default alignment inside flex contexts */
13166
- /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
13280
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
13167
13281
  TextButton,
13168
13282
  {
13169
13283
  leftIcon: icon,
@@ -13184,26 +13298,26 @@ var PageSectionBoxActionRow = ({
13184
13298
  action,
13185
13299
  smFlexColumn = true
13186
13300
  }) => {
13187
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(import_react56.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(
13301
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_react56.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(
13188
13302
  SPageSectionBoxActionRow,
13189
13303
  {
13190
13304
  separator: Boolean(separator),
13191
13305
  smFlexColumn: Boolean(smFlexColumn),
13192
13306
  children: [
13193
- title ? /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)("div", { children: [
13194
- /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(PageSectionBoxTitle, { children: [
13307
+ title ? /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("div", { children: [
13308
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(PageSectionBoxTitle, { children: [
13195
13309
  title,
13196
- titleBadge ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Badge, { text: titleBadge, ml: 4 }) : null
13310
+ titleBadge ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Badge, { text: titleBadge, ml: 4 }) : null
13197
13311
  ] }),
13198
- description ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxDescription, { children: description }) : null
13312
+ description ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxDescription, { children: description }) : null
13199
13313
  ] }) : null,
13200
13314
  children,
13201
- /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxAction, __spreadValues({}, action))
13315
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxAction, __spreadValues({}, action))
13202
13316
  ]
13203
13317
  }
13204
13318
  ) });
13205
13319
  };
13206
- var SPageSectionBoxActionRow = import_styled41.default.div`
13320
+ var SPageSectionBoxActionRow = import_styled43.default.div`
13207
13321
  display: flex;
13208
13322
  gap: 12px;
13209
13323
  align-items: top;
@@ -13233,8 +13347,8 @@ var SPageSectionBoxActionRow = import_styled41.default.div`
13233
13347
  padding-top: 32px;
13234
13348
  `}
13235
13349
  `;
13236
- var PageSectionBoxColumn = import_styled41.default.div``;
13237
- var PageSectionBoxRow = import_styled41.default.div`
13350
+ var PageSectionBoxColumn = import_styled43.default.div``;
13351
+ var PageSectionBoxRow = import_styled43.default.div`
13238
13352
  display: grid;
13239
13353
  grid-template-columns: repeat(
13240
13354
  auto-fit,
@@ -13246,13 +13360,13 @@ function PageSectionBox({
13246
13360
  description,
13247
13361
  children
13248
13362
  }) {
13249
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(StyledPageSectionBox, { children: [
13250
- description && /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxDescription, { children: toReactNodes(description) }),
13363
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(StyledPageSectionBox, { children: [
13364
+ description && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxDescription, { children: toReactNodes(description) }),
13251
13365
  children,
13252
- (action == null ? void 0 : action.label) ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("div", { css: { marginTop: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PageSectionBoxAction, __spreadValues({}, action)) }) : null
13366
+ (action == null ? void 0 : action.label) ? /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { css: { marginTop: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageSectionBoxAction, __spreadValues({}, action)) }) : null
13253
13367
  ] });
13254
13368
  }
13255
- var StyledPageSectionBox = import_styled41.default.div`
13369
+ var StyledPageSectionBox = import_styled43.default.div`
13256
13370
  & + & {
13257
13371
  margin-top: 32px;
13258
13372
  }
@@ -13310,21 +13424,21 @@ var StyledPageSectionBox = import_styled41.default.div`
13310
13424
  `)}
13311
13425
  }
13312
13426
  `;
13313
- var PageSectionBoxTitle = import_styled41.default.div`
13427
+ var PageSectionBoxTitle = import_styled43.default.div`
13314
13428
  display: flex;
13315
13429
  align-items: center;
13316
13430
  font-size: ${({ lg }) => lg ? 14 : 12}px;
13317
13431
  font-weight: 600;
13318
13432
  line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) + badgeVPadding * 2}px;
13319
13433
  `;
13320
- var PageSectionBoxDescription = import_styled41.default.div`
13434
+ var PageSectionBoxDescription = import_styled43.default.div`
13321
13435
  color: ${({ theme }) => theme.mcNeutral};
13322
13436
  ${PageSectionBoxTitle} + & {
13323
13437
  margin-top: 6px;
13324
13438
  }
13325
13439
  `;
13326
13440
  var gapPx = 24;
13327
- var PageSectionRow = import_styled41.default.div`
13441
+ var PageSectionRow = import_styled43.default.div`
13328
13442
  display: flex;
13329
13443
  flex-direction: column;
13330
13444
  gap: ${gapPx}px;
@@ -13338,7 +13452,7 @@ var PageSectionRow = import_styled41.default.div`
13338
13452
  margin-top: 0;
13339
13453
  }
13340
13454
  `;
13341
- var PageSectionRowSubSection = import_styled41.default.div`
13455
+ var PageSectionRowSubSection = import_styled43.default.div`
13342
13456
  box-sizing: border-box;
13343
13457
  width: 100%;
13344
13458
 
@@ -13366,10 +13480,10 @@ var PageSectionRowSubSection = import_styled41.default.div`
13366
13480
  `;
13367
13481
 
13368
13482
  // src/components/PageSection/PageSectionNav.tsx
13369
- var import_styled42 = __toESM(require("@emotion/styled"), 1);
13483
+ var import_styled44 = __toESM(require("@emotion/styled"), 1);
13370
13484
  var import_core3 = require("@lightsparkdev/core");
13371
- var import_jsx_runtime165 = require("@emotion/react/jsx-runtime");
13372
- var StyledPageSectionNav = import_styled42.default.div`
13485
+ var import_jsx_runtime167 = require("@emotion/react/jsx-runtime");
13486
+ var StyledPageSectionNav = import_styled44.default.div`
13373
13487
  display: none;
13374
13488
  flex-direction: column;
13375
13489
  margin-right: 32px;
@@ -13384,13 +13498,13 @@ var StyledPageSectionNav = import_styled42.default.div`
13384
13498
  width: 200px;
13385
13499
  `)}
13386
13500
  `;
13387
- var PageSectionList = import_styled42.default.ul`
13501
+ var PageSectionList = import_styled44.default.ul`
13388
13502
  margin: 0;
13389
13503
  padding: 0;
13390
13504
  position: sticky;
13391
13505
  top: ${({ top }) => top}px;
13392
13506
  `;
13393
- var StyledPageSectionNavItem = import_styled42.default.li`
13507
+ var StyledPageSectionNavItem = import_styled44.default.li`
13394
13508
  align-items: center;
13395
13509
  color: ${colors.gray40};
13396
13510
  display: flex;
@@ -13408,7 +13522,7 @@ var StyledPageSectionNavItem = import_styled42.default.li`
13408
13522
  }
13409
13523
  }
13410
13524
  `;
13411
- var PageSectionListItem = ({ leftIcon, label, sectionId }) => /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(StyledPageSectionNavItem, { children: /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
13525
+ var PageSectionListItem = ({ leftIcon, label, sectionId }) => /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(StyledPageSectionNavItem, { children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
13412
13526
  TextButton,
13413
13527
  {
13414
13528
  text: label,
@@ -13427,8 +13541,8 @@ function PageSectionNav({
13427
13541
  headerOffset = 0,
13428
13542
  pageSectionNavItems
13429
13543
  }) {
13430
- return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(StyledPageSectionNav, { children: /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(PageSectionList, { top: headerOffset + pageSectionScrollOffset, children: pageSectionNavItems.filter(import_core3.notNullUndefined).map((item) => {
13431
- return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
13544
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(StyledPageSectionNav, { children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(PageSectionList, { top: headerOffset + pageSectionScrollOffset, children: pageSectionNavItems.filter(import_core3.notNullUndefined).map((item) => {
13545
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
13432
13546
  PageSectionListItem,
13433
13547
  {
13434
13548
  leftIcon: item.leftIcon,
@@ -13704,7 +13818,7 @@ var allCountryNames = Object.values(countryCodesToNames);
13704
13818
  var countryNamesToCodes = (0, import_lodash_es7.invert)(countryCodesToNames);
13705
13819
 
13706
13820
  // src/components/PhoneInput.tsx
13707
- var import_jsx_runtime166 = require("@emotion/react/jsx-runtime");
13821
+ var import_jsx_runtime168 = require("@emotion/react/jsx-runtime");
13708
13822
  var countries = (0, import_libphonenumber_js.getCountries)();
13709
13823
  var defaultOptions = countries.map((countryCode) => {
13710
13824
  if (countryCodesToNames[countryCode] === void 0) {
@@ -13766,7 +13880,7 @@ function PhoneInput({
13766
13880
  const formattedValue = formatter.input(value);
13767
13881
  const isValidPhone = formatter.isValid();
13768
13882
  const error = !isValidPhone && wasBlurred ? "Please enter a valid phone number." : void 0;
13769
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
13883
+ return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
13770
13884
  TextInput,
13771
13885
  {
13772
13886
  select: {
@@ -13787,9 +13901,9 @@ function PhoneInput({
13787
13901
  }
13788
13902
 
13789
13903
  // src/components/Radio.tsx
13790
- var import_styled43 = __toESM(require("@emotion/styled"), 1);
13904
+ var import_styled45 = __toESM(require("@emotion/styled"), 1);
13791
13905
  var import_react58 = require("react");
13792
- var import_jsx_runtime167 = require("@emotion/react/jsx-runtime");
13906
+ var import_jsx_runtime169 = require("@emotion/react/jsx-runtime");
13793
13907
  function Radio({
13794
13908
  radioOptions,
13795
13909
  onChange,
@@ -13800,8 +13914,8 @@ function Radio({
13800
13914
  onChange(e.target.value);
13801
13915
  setSelectedOption(e.target.value);
13802
13916
  };
13803
- return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(RadioContainer, { children: radioOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)(RadioRow, { htmlFor: option.label, children: [
13804
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
13917
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(RadioContainer, { children: radioOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(RadioRow, { htmlFor: option.label, children: [
13918
+ /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
13805
13919
  RadioInput,
13806
13920
  {
13807
13921
  id: option.label,
@@ -13811,26 +13925,26 @@ function Radio({
13811
13925
  onChange: handleRadioClick
13812
13926
  }
13813
13927
  ),
13814
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(Label, { children: option.label })
13928
+ /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(Label, { children: option.label })
13815
13929
  ] }, option.label)) });
13816
13930
  }
13817
- var RadioContainer = import_styled43.default.div`
13931
+ var RadioContainer = import_styled45.default.div`
13818
13932
  label: flex;
13819
13933
  flex-direction: column;
13820
13934
  `;
13821
- var RadioRow = import_styled43.default.label`
13935
+ var RadioRow = import_styled45.default.label`
13822
13936
  display: flex;
13823
13937
  align-items: center;
13824
13938
  gap: ${"12px" /* sm */};
13825
13939
  `;
13826
- var RadioInput = import_styled43.default.input``;
13940
+ var RadioInput = import_styled45.default.input``;
13827
13941
 
13828
13942
  // src/components/SecretContainer.tsx
13829
- var import_styled44 = __toESM(require("@emotion/styled"), 1);
13830
- var import_jsx_runtime168 = require("@emotion/react/jsx-runtime");
13943
+ var import_styled46 = __toESM(require("@emotion/styled"), 1);
13944
+ var import_jsx_runtime170 = require("@emotion/react/jsx-runtime");
13831
13945
  function SecretContainer(props) {
13832
- return props.secret ? /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)(StyledSecretContainer, { hasSecret: true, success: props.success, children: [
13833
- /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
13946
+ return props.secret ? /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(StyledSecretContainer, { hasSecret: true, success: props.success, children: [
13947
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
13834
13948
  "span",
13835
13949
  {
13836
13950
  style: {
@@ -13842,10 +13956,10 @@ function SecretContainer(props) {
13842
13956
  children: props.secret
13843
13957
  }
13844
13958
  ),
13845
- /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(CopyToClipboardButton, { value: props.secret, isSm: true, ml: 4 })
13846
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(StyledSecretContainer, { hasSecret: false, children: "There are no tokens associated with this account" });
13959
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(CopyToClipboardButton, { value: props.secret, isSm: true, ml: 4 })
13960
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(StyledSecretContainer, { hasSecret: false, children: "There are no tokens associated with this account" });
13847
13961
  }
13848
- var StyledSecretContainer = import_styled44.default.div`
13962
+ var StyledSecretContainer = import_styled46.default.div`
13849
13963
  background-color: ${({ theme, hasSecret, success }) => hasSecret ? success ? theme.success : theme.c05Neutral : theme.bg};
13850
13964
  ${standardBorderRadius(8)}
13851
13965
  padding: 18px 20px;
@@ -13857,11 +13971,11 @@ var StyledSecretContainer = import_styled44.default.div`
13857
13971
  `;
13858
13972
 
13859
13973
  // src/components/Toasts.tsx
13860
- var import_styled45 = __toESM(require("@emotion/styled"), 1);
13974
+ var import_styled47 = __toESM(require("@emotion/styled"), 1);
13861
13975
  var import_lodash_es8 = require("lodash-es");
13862
13976
  var import_react59 = require("react");
13863
13977
  var import_react_dom4 = __toESM(require("react-dom"), 1);
13864
- var import_jsx_runtime169 = require("@emotion/react/jsx-runtime");
13978
+ var import_jsx_runtime171 = require("@emotion/react/jsx-runtime");
13865
13979
  var firstDur = 0.3;
13866
13980
  function Toasts({
13867
13981
  queue,
@@ -14000,9 +14114,9 @@ function Toasts({
14000
14114
  const fromCurrent = i === currentToastIndex ? 0 : currentToastIndex - i;
14001
14115
  const movingToCurrent = currentToast.isHiding && i === currentToastIndex - 1;
14002
14116
  const hidingFromCurrent = currentToast.isHiding ? fromCurrent - 1 : fromCurrent;
14003
- const textNode = /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
14004
- return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(import_react59.Fragment, { children: import_react_dom4.default.createPortal(
14005
- /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(
14117
+ const textNode = /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("span", { children: toast.text ? toReactNodes(toast.text) : null });
14118
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_react59.Fragment, { children: import_react_dom4.default.createPortal(
14119
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(
14006
14120
  StyledToast,
14007
14121
  {
14008
14122
  isActive: toast.isActive,
@@ -14022,7 +14136,7 @@ function Toasts({
14022
14136
  movingToCurrent,
14023
14137
  children: [
14024
14138
  textNode,
14025
- /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
14139
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
14026
14140
  UnstyledButton,
14027
14141
  {
14028
14142
  css: extend2(flexCenter, {
@@ -14034,7 +14148,7 @@ function Toasts({
14034
14148
  outlineColor: `${colors.white} !important`
14035
14149
  }),
14036
14150
  onClick: () => hideToast(toast.id),
14037
- children: /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(Icon, { name: "Close", width: 9 })
14151
+ children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { name: "Close", width: 9 })
14038
14152
  }
14039
14153
  )
14040
14154
  ]
@@ -14048,7 +14162,7 @@ var width2 = 400;
14048
14162
  var beginTopPx = -100;
14049
14163
  var beginHeightPx = 50;
14050
14164
  var minScale = 0.95;
14051
- var StyledToast = import_styled45.default.div`
14165
+ var StyledToast = import_styled47.default.div`
14052
14166
  position: fixed;
14053
14167
  z-index: ${z.toast};
14054
14168
  line-height: ${pxToRems(16)};
@@ -14214,9 +14328,11 @@ var StyledToast = import_styled45.default.div`
14214
14328
  Drawer,
14215
14329
  Dropdown,
14216
14330
  FileInput,
14331
+ Flex,
14217
14332
  GradientCardHeader,
14218
14333
  Icon,
14219
14334
  IconContainer,
14335
+ IconWithCircleBackground,
14220
14336
  InfoIconTooltip,
14221
14337
  InlineCode,
14222
14338
  LightboxImage,