@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
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  toReactNodes
3
- } from "./chunk-VENBTZHV.js";
3
+ } from "./chunk-LIQSJ5R7.js";
4
+ import {
5
+ UnstyledButton
6
+ } from "./chunk-LTCJ6LNO.js";
4
7
  import {
5
8
  z
6
9
  } from "./chunk-55OQPFLF.js";
7
- import {
8
- UnstyledButton
9
- } from "./chunk-HGYVPOA7.js";
10
10
  import {
11
11
  extend,
12
12
  flexCenter,
13
13
  pxToRems
14
- } from "./chunk-JXXIU52B.js";
14
+ } from "./chunk-7WDAN3OC.js";
15
15
  import {
16
16
  Icon
17
- } from "./chunk-UAFWDZRG.js";
17
+ } from "./chunk-I3FI3FNP.js";
18
18
  import {
19
19
  standardContentInset
20
- } from "./chunk-52POF2W4.js";
20
+ } from "./chunk-PG2W2HVB.js";
21
21
  import {
22
22
  themeOr
23
- } from "./chunk-ZFDYANKZ.js";
23
+ } from "./chunk-IBZBPQMZ.js";
24
24
  import {
25
25
  colors
26
- } from "./chunk-KYTOF4WO.js";
26
+ } from "./chunk-XUWFUTR4.js";
27
27
  import {
28
28
  __spreadProps,
29
29
  __spreadValues
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  rootFontSizeRems,
6
6
  standardLineHeightEms
7
- } from "./chunk-52POF2W4.js";
7
+ } from "./chunk-PG2W2HVB.js";
8
8
  import {
9
9
  useThemeBg
10
- } from "./chunk-ZFDYANKZ.js";
10
+ } from "./chunk-IBZBPQMZ.js";
11
11
  import {
12
12
  bp
13
13
  } from "./chunk-JSGRNWSB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SingleCodeInput
3
- } from "./chunk-QSVZXM35.js";
3
+ } from "./chunk-PQKVR2BR.js";
4
4
  import {
5
5
  textInputBorderColor
6
- } from "./chunk-FEJU2K4L.js";
6
+ } from "./chunk-6CNJ5ZCC.js";
7
7
  import {
8
8
  __spreadProps,
9
9
  __spreadValues
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  rootFontSizePx
3
- } from "./chunk-52POF2W4.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
 
5
5
  // src/styles/utils.tsx
6
6
  import { css } from "@emotion/react";
@@ -12,8 +12,8 @@ function Figma() {
12
12
  children: /* @__PURE__ */ jsx(
13
13
  "path",
14
14
  {
15
- "fill-rule": "evenodd",
16
- "clip-rule": "evenodd",
15
+ fillRule: "evenodd",
16
+ clipRule: "evenodd",
17
17
  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",
18
18
  fill: "black"
19
19
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  renderTypography
3
- } from "./chunk-44UNWWP3.js";
3
+ } from "./chunk-VXKNN4SF.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-UAFWDZRG.js";
6
+ } from "./chunk-I3FI3FNP.js";
7
7
 
8
8
  // src/components/TextIconAligner.tsx
9
9
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-EDN2QDCB.js";
4
4
  import {
5
5
  colors
6
- } from "./chunk-KYTOF4WO.js";
6
+ } from "./chunk-XUWFUTR4.js";
7
7
 
8
8
  // src/router.tsx
9
9
  import { omit } from "lodash-es";
@@ -0,0 +1,7 @@
1
+ // src/hooks/useIsomorphicLayoutEffect.tsx
2
+ import React from "react";
3
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
4
+
5
+ export {
6
+ useIsomorphicLayoutEffect
7
+ };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-QBJ57KNQ.js";
3
+ } from "./chunk-XDP7GCYE.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-WIFHFWAN.js";
6
+ } from "./chunk-4C2TISN7.js";
7
7
 
8
8
  // src/components/typography/LabelModerate.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toNonTypographicReactNodes
3
- } from "./chunk-QBJ57KNQ.js";
3
+ } from "./chunk-XDP7GCYE.js";
4
4
  import {
5
5
  applyTypography
6
- } from "./chunk-WIFHFWAN.js";
6
+ } from "./chunk-4C2TISN7.js";
7
7
 
8
8
  // src/components/typography/Label.tsx
9
9
  import styled from "@emotion/styled";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2NT4RAQ3.js";
4
4
  import {
5
5
  StyledHeadline
6
- } from "./chunk-4YN25H5H.js";
6
+ } from "./chunk-CRTTTIAD.js";
7
7
 
8
8
  // src/components/documentation/DocsHeadline.tsx
9
9
  import React from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  firstChild,
3
3
  pxToRems
4
- } from "./chunk-JXXIU52B.js";
4
+ } from "./chunk-7WDAN3OC.js";
5
5
  import {
6
6
  bp
7
7
  } from "./chunk-JSGRNWSB.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Pill
3
- } from "./chunk-LWYMD7X4.js";
3
+ } from "./chunk-J3YVJWRG.js";
4
4
  import {
5
5
  InputSubtext,
6
6
  inputBlockStyle
7
- } from "./chunk-FEJU2K4L.js";
7
+ } from "./chunk-6CNJ5ZCC.js";
8
8
  import {
9
9
  Icon
10
- } from "./chunk-UAFWDZRG.js";
10
+ } from "./chunk-I3FI3FNP.js";
11
11
 
12
12
  // src/components/FileInput.tsx
13
13
  import styled from "@emotion/styled";
@@ -3,45 +3,51 @@ import {
3
3
  } from "./chunk-NBCCPGA4.js";
4
4
  import {
5
5
  ProgressBar
6
- } from "./chunk-RVT4NV6Z.js";
6
+ } from "./chunk-54EOEIEN.js";
7
+ import {
8
+ Flex
9
+ } from "./chunk-IL6J7EBZ.js";
7
10
  import {
8
11
  toReactNodes
9
- } from "./chunk-VENBTZHV.js";
12
+ } from "./chunk-LIQSJ5R7.js";
10
13
  import {
11
14
  Drawer
12
- } from "./chunk-HXKKG2VQ.js";
15
+ } from "./chunk-JNNJVBHF.js";
13
16
  import {
14
17
  Button,
15
18
  ButtonSelector
16
- } from "./chunk-GHIYWOAC.js";
19
+ } from "./chunk-SLKPLSJU.js";
20
+ import {
21
+ Body
22
+ } from "./chunk-GWHKALYQ.js";
17
23
  import {
18
24
  Headline,
19
25
  headlineSelector
20
- } from "./chunk-4YN25H5H.js";
26
+ } from "./chunk-CRTTTIAD.js";
21
27
  import {
22
28
  select
23
29
  } from "./chunk-YMNSXZ5D.js";
24
30
  import {
25
- Body
26
- } from "./chunk-POTDIFIX.js";
31
+ UnstyledButton
32
+ } from "./chunk-LTCJ6LNO.js";
27
33
  import {
28
34
  z
29
35
  } from "./chunk-55OQPFLF.js";
30
- import {
31
- UnstyledButton
32
- } from "./chunk-HGYVPOA7.js";
33
36
  import {
34
37
  overflowAutoWithoutScrollbars
35
- } from "./chunk-JXXIU52B.js";
38
+ } from "./chunk-7WDAN3OC.js";
36
39
  import {
37
40
  Icon
38
- } from "./chunk-UAFWDZRG.js";
41
+ } from "./chunk-I3FI3FNP.js";
39
42
  import {
40
43
  overlaySurface,
41
44
  standardBorderRadius,
42
45
  standardContentInset,
43
46
  standardFocusOutline
44
- } from "./chunk-52POF2W4.js";
47
+ } from "./chunk-PG2W2HVB.js";
48
+ import {
49
+ getColor
50
+ } from "./chunk-IBZBPQMZ.js";
45
51
  import {
46
52
  TokenSize
47
53
  } from "./chunk-ENBUKLVT.js";
@@ -49,17 +55,38 @@ import {
49
55
  bp,
50
56
  useBreakpoints
51
57
  } from "./chunk-JSGRNWSB.js";
58
+ import {
59
+ __objRest,
60
+ __spreadValues
61
+ } from "./chunk-LOPKRCGI.js";
52
62
 
53
63
  // src/components/Modal.tsx
54
- import styled from "@emotion/styled";
64
+ import styled2 from "@emotion/styled";
55
65
  import React, { Fragment, useEffect, useLayoutEffect, useRef } from "react";
56
66
  import ReactDOM from "react-dom";
57
- import { Fragment as Fragment2, jsx, jsxs } from "@emotion/react/jsx-runtime";
67
+
68
+ // src/components/IconWithCircleBackground.tsx
69
+ import styled from "@emotion/styled";
70
+ import { jsx } from "@emotion/react/jsx-runtime";
71
+ function IconWithCircleBackground({
72
+ iconName = "WarningSign"
73
+ }) {
74
+ return /* @__PURE__ */ jsx(Flex, { center: true, children: /* @__PURE__ */ jsx(StyledIconWithCircleBackground, { children: /* @__PURE__ */ jsx(Icon, { name: iconName, width: 40, color: "grayBlue9" }) }) });
75
+ }
76
+ var StyledIconWithCircleBackground = styled.div`
77
+ background-color: ${({ theme }) => getColor(theme, "grayBlue94")};
78
+ border-radius: 50%;
79
+ padding: 20px;
80
+ `;
81
+
82
+ // src/components/Modal.tsx
83
+ import { Fragment as Fragment2, jsx as jsx2, jsxs } from "@emotion/react/jsx-runtime";
58
84
  function isSubmitLinkWithHref(submitLink) {
59
85
  return Boolean(submitLink && "href" in submitLink);
60
86
  }
61
87
  function Modal({
62
88
  visible,
89
+ topContent,
63
90
  title,
64
91
  description,
65
92
  children,
@@ -75,13 +102,15 @@ function Modal({
75
102
  submitLink,
76
103
  cancelText = "Cancel",
77
104
  firstFocusRef,
78
- smDrawer,
105
+ smKind = "default",
106
+ top,
79
107
  nonDismissable = false,
80
108
  autoFocus = true,
81
109
  width = 460,
82
110
  progressBar,
83
111
  buttonLayout = "horizontal",
84
- extraActions
112
+ extraActions,
113
+ handleBack
85
114
  }) {
86
115
  const visibleChangedRef = useRef(false);
87
116
  const nodeRef = useRef(null);
@@ -182,8 +211,11 @@ function Modal({
182
211
  const linkIsHref = isSubmitLinkWithHref(submitLink);
183
212
  const linkIsRoute = !linkIsHref && submitLink;
184
213
  const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
185
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((action) => action.content),
186
- !isSm && !cancelHidden && /* @__PURE__ */ jsx(
214
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((_a, i) => {
215
+ var _b = _a, { placement, text } = _b, rest = __objRest(_b, ["placement", "text"]);
216
+ return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
217
+ }),
218
+ !isSm && !cancelHidden && /* @__PURE__ */ jsx2(
187
219
  Button,
188
220
  {
189
221
  disabled: cancelDisabled,
@@ -191,7 +223,7 @@ function Modal({
191
223
  text: cancelText
192
224
  }
193
225
  ),
194
- onSubmit && /* @__PURE__ */ jsx(
226
+ (onSubmit || submitLink) && /* @__PURE__ */ jsx2(
195
227
  Button,
196
228
  {
197
229
  kind: "primary",
@@ -205,13 +237,16 @@ function Modal({
205
237
  onClick: submitLink ? onSubmit : void 0
206
238
  }
207
239
  ),
208
- isSm && !cancelHidden && /* @__PURE__ */ jsx(Button, { onClick: onClose, text: cancelText }),
209
- extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((action) => action.content)
240
+ isSm && !cancelHidden && /* @__PURE__ */ jsx2(Button, { onClick: onClose, text: cancelText }),
241
+ extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((_c, i) => {
242
+ var _d = _c, { placement, text } = _d, rest = __objRest(_d, ["placement", "text"]);
243
+ return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
244
+ })
210
245
  ] });
211
246
  let titleContent = null;
212
247
  if (title) {
213
248
  if (typeof title === "string") {
214
- titleContent = /* @__PURE__ */ jsx(Headline, { heading: "h4", size: TokenSize.Small, children: title });
249
+ titleContent = /* @__PURE__ */ jsx2(Headline, { heading: "h4", size: TokenSize.Small, children: title });
215
250
  } else {
216
251
  titleContent = toReactNodes(title);
217
252
  }
@@ -219,31 +254,45 @@ function Modal({
219
254
  let descriptionContent = null;
220
255
  if (description) {
221
256
  if (typeof description === "string") {
222
- descriptionContent = /* @__PURE__ */ jsx(Description, { children: /* @__PURE__ */ jsx(Body, { size: "ExtraSmall", content: description }) });
257
+ descriptionContent = /* @__PURE__ */ jsx2(Description, { children: /* @__PURE__ */ jsx2(Body, { size: "ExtraSmall", content: description }) });
223
258
  } else {
224
- descriptionContent = /* @__PURE__ */ jsx(Description, { children: toReactNodes(description) });
259
+ descriptionContent = /* @__PURE__ */ jsx2(Description, { children: toReactNodes(description) });
225
260
  }
226
261
  }
262
+ let topContentNode = null;
263
+ if (topContent) {
264
+ topContentNode = /* @__PURE__ */ jsx2("div", { css: { marginBottom: "32px" /* xl */ }, children: /* @__PURE__ */ jsx2(IconWithCircleBackground, __spreadValues({}, topContent)) });
265
+ }
227
266
  const modalContent = /* @__PURE__ */ jsxs(Fragment, { children: [
228
- progressBar ? /* @__PURE__ */ jsx("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx(
267
+ progressBar ? /* @__PURE__ */ jsx2("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ jsx2(
229
268
  ProgressBar,
230
269
  {
231
270
  progressPercentage: progressBar.progressPercentage,
232
271
  isSm: progressBar.isSm
233
272
  }
234
273
  ) }) : null,
274
+ topContentNode,
235
275
  titleContent,
236
276
  descriptionContent,
237
277
  children,
238
- onSubmit || onCancel ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx(ModalButtonColumn, { children: buttonContent }) : null
278
+ onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx2(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx2(ModalButtonColumn, { children: buttonContent }) : null
239
279
  ] });
240
280
  let content;
241
- if (smDrawer && isSm) {
242
- content = /* @__PURE__ */ jsx(Drawer, { onClose: () => onClickCloseButton(), closeButton: true, children: modalContent });
281
+ if (smKind === "drawer" && isSm) {
282
+ content = /* @__PURE__ */ jsx2(
283
+ Drawer,
284
+ {
285
+ onClose: () => onClickCloseButton(),
286
+ closeButton: true,
287
+ nonDismissable,
288
+ handleBack,
289
+ children: modalContent
290
+ }
291
+ );
243
292
  } else {
244
293
  content = /* @__PURE__ */ jsxs(Fragment, { children: [
245
- /* @__PURE__ */ jsx(ModalOverlay, { ref: overlayRef }),
246
- /* @__PURE__ */ jsx(
294
+ !(smKind === "fullscreen" && bp2.isSm()) ? /* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }) : null,
295
+ /* @__PURE__ */ jsx2(
247
296
  ModalContainer,
248
297
  {
249
298
  "aria-modal": true,
@@ -251,27 +300,31 @@ function Modal({
251
300
  tabIndex: -1,
252
301
  role: "dialog",
253
302
  ref: modalContainerRef,
254
- children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, children: [
255
- !firstFocusRef && /* @__PURE__ */ jsx(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
256
- !(nonDismissable || ghost) && /* @__PURE__ */ jsx(CloseButtonContainer, { children: /* @__PURE__ */ jsx(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 9 }) }) }),
257
- /* @__PURE__ */ jsx(ModalContentInner, { ghost, children: modalContent })
303
+ top: top || (smKind === "default" ? standardContentInset.smPx : 0),
304
+ children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, smKind, children: [
305
+ !firstFocusRef && /* @__PURE__ */ jsx2(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
306
+ !ghost && /* @__PURE__ */ jsxs(ModalNavigation, { children: [
307
+ handleBack && /* @__PURE__ */ jsx2(BackButton, { onClick: handleBack, children: /* @__PURE__ */ jsx2(Icon, { name: "ChevronLeft", width: 16 }) }),
308
+ !nonDismissable && /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) })
309
+ ] }),
310
+ /* @__PURE__ */ jsx2(ModalContentInner, { ghost, children: modalContent })
258
311
  ] })
259
312
  }
260
313
  )
261
314
  ] });
262
315
  }
263
316
  return visible && nodeReady && nodeRef.current ? ReactDOM.createPortal(
264
- onSubmit ? /* @__PURE__ */ jsx("form", { onSubmit: onSubmitForm, children: content }) : content,
317
+ onSubmit ? /* @__PURE__ */ jsx2("form", { onSubmit: onSubmitForm, children: content }) : content,
265
318
  nodeRef.current
266
319
  ) : null;
267
320
  }
268
- var DefaultFocusTarget = styled(UnstyledButton)`
321
+ var DefaultFocusTarget = styled2(UnstyledButton)`
269
322
  position: absolute;
270
323
  top: -30px;
271
324
  width: 0;
272
325
  height: 0;
273
326
  `;
274
- var ModalOverlay = styled.div`
327
+ var ModalOverlay = styled2.div`
275
328
  position: fixed;
276
329
  bottom: 0;
277
330
  left: 0;
@@ -280,7 +333,7 @@ var ModalOverlay = styled.div`
280
333
  height: 100vh;
281
334
  background: rgba(0, 0, 0, 0.5);
282
335
  `;
283
- var ModalContainer = styled.div`
336
+ var ModalContainer = styled2.div`
284
337
  pointer-events: none;
285
338
  position: fixed;
286
339
  top: 0;
@@ -295,17 +348,17 @@ var ModalContainer = styled.div`
295
348
  justify-content: center;
296
349
  align-items: center;
297
350
  color: ${({ theme }) => theme.text};
298
- padding-top: ${standardContentInset.smPx}px;
351
+ ${(props) => `top: ${props.top}px;`}
299
352
  `;
300
353
  var contentTopMarginPx = 24;
301
- var Description = styled.div`
354
+ var Description = styled2.div`
302
355
  color: ${({ theme }) => theme.mcNeutral};
303
356
  margin-top: ${"12px" /* sm */};
304
357
  & + * {
305
358
  margin-top: ${contentTopMarginPx}px;
306
359
  }
307
360
  `;
308
- var ModalButtonRow = styled.div`
361
+ var ModalButtonRow = styled2.div`
309
362
  margin-top: ${"24px" /* lg */};
310
363
  ${bp.minSm(`display: flex;`)}
311
364
  gap: 10px;
@@ -317,7 +370,7 @@ var ModalButtonRow = styled.div`
317
370
  `)}
318
371
  }
319
372
  `;
320
- var ModalButtonColumn = styled.div`
373
+ var ModalButtonColumn = styled2.div`
321
374
  display: flex;
322
375
  flex-direction: column;
323
376
  gap: ${"12px" /* sm */};
@@ -328,17 +381,23 @@ var ModalButtonColumn = styled.div`
328
381
 
329
382
  margin-top: ${"24px" /* lg */};
330
383
  `;
331
- var ModalContent = styled.div`
332
- ${overflowAutoWithoutScrollbars}
333
- ${standardContentInset.smCSS}
334
- ${(props) => props.ghost ? "" : standardBorderRadius(16)}
335
- ${(props) => props.ghost ? "" : overlaySurface}
384
+ var ModalContent = styled2.div`
336
385
  pointer-events: auto;
337
386
  transition: width 0.25s ease-in;
338
- width: ${(props) => props.width}px;
339
- max-width: 100%;
340
- max-height: 100%;
341
- position: absolute;
387
+
388
+ ${({ theme, smKind, ghost }) => ghost ? "" : overlaySurface({ theme, border: smKind !== "fullscreen" })}
389
+ ${overflowAutoWithoutScrollbars}
390
+ ${(props) => props.smKind === "fullscreen" && bp.isSm() ? `
391
+ width: 100%;
392
+ height: 100%;
393
+ ` : `
394
+ ${props.ghost ? "" : standardBorderRadius(16)}
395
+ ${standardContentInset.smCSS.styles}
396
+ width: ${props.width}px;
397
+ max-width: 100%;
398
+ max-height: 100%;
399
+ position: absolute;
400
+ `}
342
401
  ${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
343
402
 
344
403
  ${headlineSelector("h4")} { {
@@ -348,18 +407,24 @@ var ModalContent = styled.div`
348
407
  }
349
408
  }
350
409
  `;
351
- var CloseButtonContainer = styled.div`
352
- display: flex;
353
- flex-direction: row;
410
+ var ModalNavigation = styled2.div`
411
+ display: grid;
412
+ grid-auto-flow: column;
354
413
  width: 100%;
355
- justify-content: flex-end;
356
414
  `;
357
- var CloseButton = styled(UnstyledButton)`
415
+ var BackButton = styled2(UnstyledButton)`
416
+ ${standardFocusOutline}
417
+ width: 24px;
418
+ height: 24px;
419
+ justify-self: flex-start;
420
+ `;
421
+ var CloseButton = styled2(UnstyledButton)`
358
422
  ${standardFocusOutline}
359
423
  width: 24px;
360
424
  height: 24px;
425
+ justify-self: flex-end;
361
426
  `;
362
- var ModalContentInner = styled.div`
427
+ var ModalContentInner = styled2.div`
363
428
  ${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
364
429
  ${(props) => props.ghost ? "" : `${bp.sm(`
365
430
  padding-left: 10px;
@@ -368,5 +433,6 @@ var ModalContentInner = styled.div`
368
433
  `;
369
434
 
370
435
  export {
371
- Modal
436
+ Modal,
437
+ IconWithCircleBackground
372
438
  };
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-YMNSXZ5D.js";
4
4
  import {
5
5
  toNonTypographicReactNodes
6
- } from "./chunk-QBJ57KNQ.js";
6
+ } from "./chunk-XDP7GCYE.js";
7
7
  import {
8
8
  applyTypography
9
- } from "./chunk-WIFHFWAN.js";
9
+ } from "./chunk-4C2TISN7.js";
10
10
 
11
11
  // src/components/typography/Headline.tsx
12
12
  import styled from "@emotion/styled";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CopyToClipboardButton
3
- } from "./chunk-PK4E5P4Q.js";
3
+ } from "./chunk-X4TGLNCH.js";
4
4
  import {
5
5
  standardBorderRadius
6
- } from "./chunk-52POF2W4.js";
6
+ } from "./chunk-PG2W2HVB.js";
7
7
 
8
8
  // src/components/SecretContainer.tsx
9
9
  import styled from "@emotion/styled";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardLineHeightEms
3
- } from "./chunk-52POF2W4.js";
3
+ } from "./chunk-PG2W2HVB.js";
4
4
 
5
5
  // src/components/Checkbox.tsx
6
6
  import styled from "@emotion/styled";
@@ -15,7 +15,8 @@ var allowedButtonTypographyTypes = [
15
15
  ];
16
16
  var buttonsThemeBase = {
17
17
  defaultSize: "Small",
18
- defaultTypography: "Body Strong",
18
+ defaultTypographyType: "Body Strong",
19
+ defaultColor: "text",
19
20
  defaultBorderRadius: 32,
20
21
  defaultBorderWidth: 1,
21
22
  defaultBackgroundColor: "bg",
@@ -39,6 +40,7 @@ var buttonsThemeBase = {
39
40
  var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
40
41
  kinds: {
41
42
  primary: {
43
+ defaultColor: "bg",
42
44
  defaultBorderWidth: 0,
43
45
  defaultBackgroundColor: "c9Neutral",
44
46
  defaultBorderColor: "c9Neutral",
@@ -66,7 +68,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
66
68
  defaultHoverBorderColor: ["gray90", "gray20"]
67
69
  },
68
70
  blue39: {
69
- defaultBorderColor: "blue39"
71
+ defaultBorderColor: "blue39",
72
+ defaultColor: "gray98"
73
+ },
74
+ blue43: {
75
+ defaultColor: "white"
76
+ },
77
+ green33: {
78
+ defaultColor: "white"
79
+ },
80
+ purple55: {
81
+ defaultColor: "white"
82
+ },
83
+ danger: {
84
+ defaultColor: "white"
70
85
  }
71
86
  }
72
87
  });