@lightsparkdev/ui 0.0.1 → 0.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 (164) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{chunk-ACZDUWPH.js → chunk-2VBDEO6M.js} +2 -2
  3. package/dist/{chunk-FETTWCK3.js → chunk-3PB5DNAL.js} +1 -1
  4. package/dist/chunk-3XSQV5U4.js +26 -0
  5. package/dist/chunk-4I2ABBID.js +38 -0
  6. package/dist/{chunk-W4GDCWKZ.js → chunk-4K2KAYVH.js} +3 -3
  7. package/dist/{chunk-2RF46PE5.js → chunk-4ZZHBSW4.js} +48 -30
  8. package/dist/{chunk-XTEEADPV.js → chunk-6R6A5H4I.js} +34 -13
  9. package/dist/{chunk-LJYASIJC.js → chunk-6RXFA73Z.js} +19 -3
  10. package/dist/{chunk-DE24BV2C.js → chunk-ANJDI74G.js} +2 -2
  11. package/dist/{chunk-RUVXOYBL.js → chunk-BCFRW7CV.js} +5 -4
  12. package/dist/{chunk-X6BI4STY.js → chunk-DHNWT2E5.js} +1 -1
  13. package/dist/chunk-E4EXM4SY.js +921 -0
  14. package/dist/chunk-EZ4RHFY7.js +57 -0
  15. package/dist/{chunk-CQDQFIWT.js → chunk-FHNYQLMF.js} +10 -4
  16. package/dist/{chunk-K7MPHJNG.js → chunk-FRIQXHPR.js} +3 -3
  17. package/dist/{chunk-7NQH4LBZ.js → chunk-LD5LZXUP.js} +2 -2
  18. package/dist/chunk-LN7MMOXE.js +29 -0
  19. package/dist/{chunk-L7XFJWMY.js → chunk-MYG24ZWT.js} +1 -1
  20. package/dist/{chunk-I4PO6FQP.js → chunk-MYKMYG6H.js} +2 -2
  21. package/dist/{chunk-BZ5MKMI2.js → chunk-OLAFBUE5.js} +1 -1
  22. package/dist/{chunk-6RDG2DE3.js → chunk-OO5UJRAW.js} +2 -2
  23. package/dist/{chunk-Y4RJ7WS4.js → chunk-PVUPVJ3F.js} +1 -1
  24. package/dist/chunk-RBYRXBPI.js +29 -0
  25. package/dist/{chunk-4X3K3VRC.js → chunk-SUD5NOKE.js} +6 -6
  26. package/dist/{chunk-LZHLWOXG.js → chunk-SV5QPU7N.js} +1 -1
  27. package/dist/{chunk-LWTUQB7O.js → chunk-SW6ZA7W2.js} +2 -2
  28. package/dist/{chunk-O27TAUAS.js → chunk-U6LQLAWI.js} +3 -3
  29. package/dist/{chunk-6AV4TE6I.js → chunk-VV7F7VVL.js} +2 -2
  30. package/dist/{chunk-7ENCWBAN.js → chunk-WB6FFT7Y.js} +21 -7
  31. package/dist/{chunk-BKOTW3CK.js → chunk-WEPQ7LRL.js} +1 -1
  32. package/dist/{chunk-QR7BKTM6.js → chunk-XUGLVWSH.js} +4 -4
  33. package/dist/{chunk-WVEK4LFA.js → chunk-YHSFWCFN.js} +3 -3
  34. package/dist/chunk-ZQTE53SK.js +78 -0
  35. package/dist/components/Button.cjs +429 -236
  36. package/dist/components/Button.js +9 -9
  37. package/dist/components/ButtonRow.cjs +431 -236
  38. package/dist/components/ButtonRow.js +11 -11
  39. package/dist/components/Collapsible.cjs +428 -232
  40. package/dist/components/Collapsible.d.cts +10 -1
  41. package/dist/components/Collapsible.d.ts +10 -1
  42. package/dist/components/Collapsible.js +8 -7
  43. package/dist/components/ContentTable.cjs +1498 -0
  44. package/dist/components/ContentTable.d.cts +26 -0
  45. package/dist/components/ContentTable.d.ts +26 -0
  46. package/dist/components/ContentTable.js +16 -0
  47. package/dist/components/CopyToClipboardButton.cjs +409 -227
  48. package/dist/components/CopyToClipboardButton.js +7 -7
  49. package/dist/components/CurrencyAmount.cjs +409 -227
  50. package/dist/components/CurrencyAmount.js +6 -6
  51. package/dist/components/Icon.cjs +409 -227
  52. package/dist/components/Icon.js +5 -5
  53. package/dist/components/LightsparkProvider.cjs +410 -228
  54. package/dist/components/LightsparkProvider.js +6 -6
  55. package/dist/components/Loading.cjs +409 -227
  56. package/dist/components/Loading.js +6 -6
  57. package/dist/components/Modal.cjs +559 -275
  58. package/dist/components/Modal.d.cts +5 -10
  59. package/dist/components/Modal.d.ts +5 -10
  60. package/dist/components/Modal.js +12 -11
  61. package/dist/components/ProgressBar.cjs +1238 -0
  62. package/dist/components/ProgressBar.d.cts +17 -0
  63. package/dist/components/ProgressBar.d.ts +17 -0
  64. package/dist/components/ProgressBar.js +10 -0
  65. package/dist/components/SecretContainer.cjs +409 -227
  66. package/dist/components/SecretContainer.js +8 -8
  67. package/dist/components/TextIconAligner.cjs +409 -227
  68. package/dist/components/TextIconAligner.js +6 -6
  69. package/dist/components/UnstyledButton.cjs +409 -227
  70. package/dist/components/UnstyledButton.js +5 -5
  71. package/dist/components/documentation/AnchorLinkHeader.cjs +409 -229
  72. package/dist/components/documentation/AnchorLinkHeader.js +7 -7
  73. package/dist/components/documentation/index.cjs +409 -229
  74. package/dist/components/documentation/index.js +7 -7
  75. package/dist/components/index.cjs +590 -292
  76. package/dist/components/index.d.cts +1 -0
  77. package/dist/components/index.d.ts +1 -0
  78. package/dist/components/index.js +24 -19
  79. package/dist/hooks/useWhatChanged.cjs +30 -0
  80. package/dist/hooks/useWhatChanged.d.cts +1 -0
  81. package/dist/hooks/useWhatChanged.d.ts +1 -0
  82. package/dist/hooks/useWhatChanged.js +7 -0
  83. package/dist/icons/ApiConnection.cjs +44 -0
  84. package/dist/icons/ApiConnection.d.cts +5 -0
  85. package/dist/icons/ApiConnection.d.ts +5 -0
  86. package/dist/icons/ApiConnection.js +25 -0
  87. package/dist/icons/CentralArrowShareRight.cjs +53 -0
  88. package/dist/icons/CentralArrowShareRight.d.cts +5 -0
  89. package/dist/icons/CentralArrowShareRight.d.ts +5 -0
  90. package/dist/icons/CentralArrowShareRight.js +30 -0
  91. package/dist/icons/Restart.cjs +1 -1
  92. package/dist/icons/Restart.js +1 -1
  93. package/dist/icons/Uma.cjs +57 -0
  94. package/dist/icons/Uma.d.cts +5 -0
  95. package/dist/icons/Uma.d.ts +5 -0
  96. package/dist/icons/Uma.js +38 -0
  97. package/dist/icons/index.cjs +409 -227
  98. package/dist/icons/index.js +5 -5
  99. package/dist/index.d.cts +1 -2
  100. package/dist/index.d.ts +1 -2
  101. package/dist/router.cjs +429 -229
  102. package/dist/router.d.cts +8 -5
  103. package/dist/router.d.ts +8 -5
  104. package/dist/router.js +4 -3
  105. package/dist/styles/colors.cjs +409 -227
  106. package/dist/styles/colors.js +2 -2
  107. package/dist/styles/common.cjs +409 -227
  108. package/dist/styles/common.d.cts +1 -1
  109. package/dist/styles/common.d.ts +1 -1
  110. package/dist/styles/common.js +4 -4
  111. package/dist/styles/fields.cjs +409 -227
  112. package/dist/styles/fields.js +6 -6
  113. package/dist/styles/fonts/typography/Article.cjs +514 -274
  114. package/dist/styles/fonts/typography/Article.js +15 -9
  115. package/dist/styles/fonts/typography/Body.cjs +409 -229
  116. package/dist/styles/fonts/typography/Body.js +3 -3
  117. package/dist/styles/fonts/typography/BodyStrong.cjs +1196 -0
  118. package/dist/styles/fonts/typography/BodyStrong.d.cts +23 -0
  119. package/dist/styles/fonts/typography/BodyStrong.d.ts +23 -0
  120. package/dist/styles/fonts/typography/BodyStrong.js +13 -0
  121. package/dist/styles/fonts/typography/Code.cjs +6 -6
  122. package/dist/styles/fonts/typography/Code.d.cts +8 -1
  123. package/dist/styles/fonts/typography/Code.d.ts +8 -1
  124. package/dist/styles/fonts/typography/Code.js +6 -4
  125. package/dist/styles/fonts/typography/Display.cjs +409 -229
  126. package/dist/styles/fonts/typography/Display.js +3 -3
  127. package/dist/styles/fonts/typography/Headline.cjs +410 -230
  128. package/dist/styles/fonts/typography/Headline.js +3 -3
  129. package/dist/styles/fonts/typography/Label.cjs +409 -229
  130. package/dist/styles/fonts/typography/Label.js +3 -3
  131. package/dist/styles/fonts/typography/LabelModerate.cjs +1205 -0
  132. package/dist/styles/fonts/typography/LabelModerate.d.cts +18 -0
  133. package/dist/styles/fonts/typography/LabelModerate.d.ts +18 -0
  134. package/dist/styles/fonts/typography/LabelModerate.js +13 -0
  135. package/dist/styles/fonts/typography/LabelStrong.cjs +409 -229
  136. package/dist/styles/fonts/typography/LabelStrong.js +3 -3
  137. package/dist/styles/fonts/typography/Overline.cjs +1196 -0
  138. package/dist/styles/fonts/typography/Overline.d.cts +18 -0
  139. package/dist/styles/fonts/typography/Overline.d.ts +18 -0
  140. package/dist/styles/fonts/typography/Overline.js +13 -0
  141. package/dist/styles/fonts/typography/Title.cjs +417 -231
  142. package/dist/styles/fonts/typography/Title.d.cts +2 -1
  143. package/dist/styles/fonts/typography/Title.d.ts +2 -1
  144. package/dist/styles/fonts/typography/Title.js +3 -3
  145. package/dist/styles/fonts/typography/index.cjs +594 -299
  146. package/dist/styles/fonts/typography/index.d.cts +3 -0
  147. package/dist/styles/fonts/typography/index.d.ts +3 -0
  148. package/dist/styles/fonts/typography/index.js +31 -15
  149. package/dist/styles/fonts/typographyTokens.cjs +413 -233
  150. package/dist/styles/fonts/typographyTokens.d.cts +210 -28
  151. package/dist/styles/fonts/typographyTokens.d.ts +210 -28
  152. package/dist/styles/fonts/typographyTokens.js +1 -1
  153. package/dist/styles/global.cjs +410 -228
  154. package/dist/styles/global.js +5 -5
  155. package/dist/styles/tokens/spacing.cjs +50 -0
  156. package/dist/styles/tokens/spacing.d.cts +22 -0
  157. package/dist/styles/tokens/spacing.d.ts +22 -0
  158. package/dist/styles/tokens/spacing.js +7 -0
  159. package/dist/styles/type.cjs +409 -227
  160. package/dist/styles/type.js +5 -5
  161. package/dist/styles/utils.cjs +409 -227
  162. package/dist/styles/utils.js +5 -5
  163. package/package.json +7 -4
  164. package/dist/chunk-WVJNZRKF.js +0 -741
@@ -83,6 +83,7 @@ __export(components_exports, {
83
83
  Loading: () => Loading,
84
84
  LoadingWrapper: () => LoadingWrapper,
85
85
  Modal: () => Modal,
86
+ ProgressBar: () => ProgressBar,
86
87
  SecretContainer: () => SecretContainer,
87
88
  StyledButton: () => StyledButton,
88
89
  TextIconAligner: () => TextIconAligner,
@@ -223,16 +224,32 @@ var FONT_FAMILIES = {
223
224
  code: "Monaco"
224
225
  };
225
226
  var LINE_HEIGHTS = {
226
- "5xl": "72px",
227
- "4xl": "60px",
228
- "3xl": "44px",
229
- "2xl": "40px",
230
- xl: "36px",
231
- lg: "32px",
232
- md: "28px",
233
- sm: "24px",
234
- xs: "20px",
235
- "2xs": "16px"
227
+ ["UmaDocs" /* UmaDocs */]: {
228
+ "5xl": "72px",
229
+ "4xl": "60px",
230
+ "3xl": "44px",
231
+ "2xl": "40px",
232
+ xl: "36px",
233
+ lg: "32px",
234
+ md: "28px",
235
+ sm: "24px",
236
+ xs: "20px",
237
+ "2xs": "16px"
238
+ },
239
+ ["Lightspark" /* Lightspark */]: {
240
+ "7xl": "72px",
241
+ "6xl": "60px",
242
+ "5xl": "44px",
243
+ "4xl": "40px",
244
+ "3xl": "36px",
245
+ "2xl": "32px",
246
+ xl: "28px",
247
+ lg: "24px",
248
+ md: "20px",
249
+ sm: "18px",
250
+ xs: "16px",
251
+ "2xs": "14px"
252
+ }
236
253
  };
237
254
  var FONT_WEIGHTS = {
238
255
  main: {
@@ -246,22 +263,47 @@ var FONT_WEIGHTS = {
246
263
  }
247
264
  };
248
265
  var FONT_SIZE = {
249
- "2xs": "11px",
250
- xs: "12px",
251
- sm: "14px",
252
- md: "16px",
253
- lg: "20px",
254
- xl: "24px",
255
- "2xl": "28px",
256
- "3xl": "32px",
257
- "4xl": "36px",
258
- "5xl": "48px",
259
- "6xl": "64px"
266
+ ["UmaDocs" /* UmaDocs */]: {
267
+ "2xs": "11px",
268
+ xs: "12px",
269
+ sm: "14px",
270
+ md: "16px",
271
+ lg: "20px",
272
+ xl: "24px",
273
+ "2xl": "28px",
274
+ "3xl": "32px",
275
+ "4xl": "36px",
276
+ "5xl": "48px",
277
+ "6xl": "64px"
278
+ },
279
+ ["Lightspark" /* Lightspark */]: {
280
+ "2xs": "10px",
281
+ xs: "12px",
282
+ sm: "14px",
283
+ md: "16px",
284
+ lg: "20px",
285
+ xl: "24px",
286
+ "2xl": "28px",
287
+ "3xl": "32px",
288
+ "4xl": "36px",
289
+ "5xl": "48px",
290
+ "6xl": "64px"
291
+ }
260
292
  };
261
293
  var LETTER_SPACING = {
262
- tight: "-.02em",
263
- normal: "0",
264
- loose: ".1em"
294
+ ["UmaDocs" /* UmaDocs */]: {
295
+ tight: "-.02em",
296
+ normal: "0",
297
+ loose: ".1em"
298
+ },
299
+ ["Lightspark" /* Lightspark */]: {
300
+ "tight-max": "-4%",
301
+ "tight-high": "-3%",
302
+ "tight-medium": "-2%",
303
+ "tight-low": "-0.5%",
304
+ normal: "0",
305
+ "loose-max": "1.44px"
306
+ }
265
307
  };
266
308
  var TEXT_CASE = {
267
309
  none: "none",
@@ -275,6 +317,7 @@ var PARAGRAPH_INDENT = {
275
317
  };
276
318
  var PARAGRAPH_SPACING = {
277
319
  default: "default",
320
+ 0: "0",
278
321
  16: "16px",
279
322
  40: "40px"
280
323
  };
@@ -295,10 +338,10 @@ var getTypography = (customFontFamilies) => {
295
338
  ["Large" /* Large */]: {
296
339
  "font-family": `${fontFamilies.main}`,
297
340
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
298
- "line-height": `${LINE_HEIGHTS["5xl"]}`,
299
- "font-size": `${FONT_SIZE["6xl"]}`,
300
- "letter-spacing": `${LETTER_SPACING.tight}`,
301
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
341
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["7xl"]}`,
342
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["6xl"]}`,
343
+ "letter-spacing": "-2.56px",
344
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
302
345
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
303
346
  "text-case": `${TEXT_CASE.none}`,
304
347
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -306,10 +349,10 @@ var getTypography = (customFontFamilies) => {
306
349
  ["Medium" /* Medium */]: {
307
350
  "font-family": `${fontFamilies.main}`,
308
351
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
309
- "line-height": `${LINE_HEIGHTS["4xl"]}`,
310
- "font-size": `${FONT_SIZE["5xl"]}`,
311
- "letter-spacing": `${LETTER_SPACING.tight}`,
312
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
352
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["6xl"]}`,
353
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["5xl"]}`,
354
+ "letter-spacing": "-1.92px",
355
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
313
356
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
314
357
  "text-case": `${TEXT_CASE.none}`,
315
358
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -317,10 +360,10 @@ var getTypography = (customFontFamilies) => {
317
360
  ["Small" /* Small */]: {
318
361
  "font-family": `${fontFamilies.main}`,
319
362
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
320
- "line-height": `${LINE_HEIGHTS["3xl"]}`,
321
- "font-size": `${FONT_SIZE["4xl"]}`,
322
- "letter-spacing": `${LETTER_SPACING.tight}`,
323
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
363
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["5xl"]}`,
364
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["4xl"]}`,
365
+ "letter-spacing": "-1.44px",
366
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
324
367
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
325
368
  "text-case": `${TEXT_CASE.none}`,
326
369
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -330,10 +373,10 @@ var getTypography = (customFontFamilies) => {
330
373
  ["Large" /* Large */]: {
331
374
  "font-family": `${fontFamilies.main}`,
332
375
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
333
- "line-height": `${LINE_HEIGHTS["2xl"]}`,
334
- "font-size": `${FONT_SIZE["3xl"]}`,
335
- "letter-spacing": `${LETTER_SPACING.tight}`,
336
- "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
376
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["4xl"]}`,
377
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["3xl"]}`,
378
+ "letter-spacing": "-.96px",
379
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
337
380
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
338
381
  "text-case": `${TEXT_CASE.none}`,
339
382
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -341,10 +384,10 @@ var getTypography = (customFontFamilies) => {
341
384
  ["Medium" /* Medium */]: {
342
385
  "font-family": `${fontFamilies.main}`,
343
386
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
344
- "line-height": `${LINE_HEIGHTS.xl}`,
345
- "font-size": `${FONT_SIZE["2xl"]}`,
346
- "letter-spacing": `${LETTER_SPACING.tight}`,
347
- "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
387
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["3xl"]}`,
388
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["2xl"]}`,
389
+ "letter-spacing": "-.84px",
390
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
348
391
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
349
392
  "text-case": `${TEXT_CASE.none}`,
350
393
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -352,10 +395,10 @@ var getTypography = (customFontFamilies) => {
352
395
  ["Small" /* Small */]: {
353
396
  "font-family": `${fontFamilies.main}`,
354
397
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
355
- "line-height": `${LINE_HEIGHTS.lg}`,
356
- "font-size": `${FONT_SIZE.xl}`,
357
- "letter-spacing": `${LETTER_SPACING.tight}`,
358
- "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
398
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["2xl"]}`,
399
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xl}`,
400
+ "letter-spacing": "-.72px",
401
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
359
402
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
360
403
  "text-case": `${TEXT_CASE.none}`,
361
404
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -365,10 +408,10 @@ var getTypography = (customFontFamilies) => {
365
408
  ["Large" /* Large */]: {
366
409
  "font-family": `${fontFamilies.main}`,
367
410
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
368
- "line-height": `${LINE_HEIGHTS.md}`,
369
- "font-size": `${FONT_SIZE.lg}`,
370
- "letter-spacing": `${LETTER_SPACING.normal}`,
371
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
411
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xl}`,
412
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].lg}`,
413
+ "letter-spacing": "-.4px",
414
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
372
415
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
373
416
  "text-case": `${TEXT_CASE.none}`,
374
417
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -376,10 +419,10 @@ var getTypography = (customFontFamilies) => {
376
419
  ["Medium" /* Medium */]: {
377
420
  "font-family": `${fontFamilies.main}`,
378
421
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
379
- "line-height": `${LINE_HEIGHTS.sm}`,
380
- "font-size": `${FONT_SIZE.md}`,
381
- "letter-spacing": `${LETTER_SPACING.normal}`,
382
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
422
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
423
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
424
+ "letter-spacing": "-.32x",
425
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
383
426
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
384
427
  "text-case": `${TEXT_CASE.none}`,
385
428
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -387,10 +430,10 @@ var getTypography = (customFontFamilies) => {
387
430
  ["Small" /* Small */]: {
388
431
  "font-family": `${fontFamilies.main}`,
389
432
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
390
- "line-height": `${LINE_HEIGHTS.xs}`,
391
- "font-size": `${FONT_SIZE.sm}`,
392
- "letter-spacing": `${LETTER_SPACING.normal}`,
393
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
433
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
434
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
435
+ "letter-spacing": "-.28px",
436
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
394
437
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
395
438
  "text-case": `${TEXT_CASE.none}`,
396
439
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -399,11 +442,11 @@ var getTypography = (customFontFamilies) => {
399
442
  Body: {
400
443
  ["Large" /* Large */]: {
401
444
  "font-family": `${fontFamilies.main}`,
402
- "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
403
- "line-height": `${LINE_HEIGHTS.sm}`,
404
- "font-size": `${FONT_SIZE.md}`,
405
- "letter-spacing": `${LETTER_SPACING.normal}`,
406
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
445
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
446
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xl}`,
447
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].lg}`,
448
+ "letter-spacing": "-.08px",
449
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
407
450
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
408
451
  "text-case": `${TEXT_CASE.none}`,
409
452
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -411,10 +454,10 @@ var getTypography = (customFontFamilies) => {
411
454
  ["Medium" /* Medium */]: {
412
455
  "font-family": `${fontFamilies.main}`,
413
456
  "font-weight": `${FONT_WEIGHTS.main.Medium}`,
414
- "line-height": `${LINE_HEIGHTS.sm}`,
415
- "font-size": `${FONT_SIZE.sm}`,
416
- "letter-spacing": `${LETTER_SPACING.normal}`,
417
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
457
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
458
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
459
+ "letter-spacing": "-.07px",
460
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
418
461
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
419
462
  "text-case": `${TEXT_CASE.none}`,
420
463
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -422,23 +465,93 @@ var getTypography = (customFontFamilies) => {
422
465
  ["Small" /* Small */]: {
423
466
  "font-family": `${fontFamilies.main}`,
424
467
  "font-weight": `${FONT_WEIGHTS.main.Medium}`,
425
- "line-height": `${LINE_HEIGHTS.sm}`,
426
- "font-size": `${FONT_SIZE.xs}`,
427
- "letter-spacing": `${LETTER_SPACING.normal}`,
428
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
468
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
469
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
470
+ "letter-spacing": "-.06px",
471
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
472
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
473
+ "text-case": `${TEXT_CASE.none}`,
474
+ "text-decoration": `${TEXT_DECORATION.none}`
475
+ }
476
+ },
477
+ "Body Strong": {
478
+ ["Large" /* Large */]: {
479
+ "font-family": `${fontFamilies.main}`,
480
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
481
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xl}`,
482
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].lg}`,
483
+ "letter-spacing": "-.08px",
484
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
485
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
486
+ "text-case": `${TEXT_CASE.none}`,
487
+ "text-decoration": `${TEXT_DECORATION.none}`
488
+ },
489
+ ["Medium" /* Medium */]: {
490
+ "font-family": `${fontFamilies.main}`,
491
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
492
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
493
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
494
+ "letter-spacing": "-.07px",
495
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
496
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
497
+ "text-case": `${TEXT_CASE.none}`,
498
+ "text-decoration": `${TEXT_DECORATION.none}`
499
+ },
500
+ ["Small" /* Small */]: {
501
+ "font-family": `${fontFamilies.main}`,
502
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
503
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
504
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
505
+ "letter-spacing": "-.06px",
506
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
429
507
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
430
508
  "text-case": `${TEXT_CASE.none}`,
431
509
  "text-decoration": `${TEXT_DECORATION.none}`
432
510
  }
433
511
  },
434
512
  Label: {
513
+ ["Large" /* Large */]: {
514
+ "font-family": `${fontFamilies.main}`,
515
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
516
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
517
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
518
+ "letter-spacing": "-.07px",
519
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
520
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
521
+ "text-case": `${TEXT_CASE.none}`,
522
+ "text-decoration": `${TEXT_DECORATION.none}`
523
+ },
524
+ ["Medium" /* Medium */]: {
525
+ "font-family": `${fontFamilies.main}`,
526
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
527
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xs}`,
528
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xs}`,
529
+ "letter-spacing": "-.06px",
530
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
531
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
532
+ "text-case": `${TEXT_CASE.none}`,
533
+ "text-decoration": `${TEXT_DECORATION.none}`
534
+ },
535
+ ["Small" /* Small */]: {
536
+ "font-family": `${fontFamilies.main}`,
537
+ "font-weight": `${FONT_WEIGHTS.main.Medium}`,
538
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["2xs"]}`,
539
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["2xs"]}`,
540
+ "letter-spacing": "-.05px",
541
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
542
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
543
+ "text-case": `${TEXT_CASE.none}`,
544
+ "text-decoration": `${TEXT_DECORATION.none}`
545
+ }
546
+ },
547
+ "Label Moderate": {
435
548
  ["Large" /* Large */]: {
436
549
  "font-family": `${fontFamilies.main}`,
437
550
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
438
- "line-height": `${LINE_HEIGHTS.xs}`,
439
- "font-size": `${FONT_SIZE.sm}`,
440
- "letter-spacing": `${LETTER_SPACING.normal}`,
441
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
551
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
552
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
553
+ "letter-spacing": "-.07px",
554
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
442
555
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
443
556
  "text-case": `${TEXT_CASE.none}`,
444
557
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -446,10 +559,10 @@ var getTypography = (customFontFamilies) => {
446
559
  ["Medium" /* Medium */]: {
447
560
  "font-family": `${fontFamilies.main}`,
448
561
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
449
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
450
- "font-size": `${FONT_SIZE.xs}`,
451
- "letter-spacing": `${LETTER_SPACING.normal}`,
452
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
562
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xs}`,
563
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xs}`,
564
+ "letter-spacing": "-.06px",
565
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
453
566
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
454
567
  "text-case": `${TEXT_CASE.none}`,
455
568
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -457,10 +570,10 @@ var getTypography = (customFontFamilies) => {
457
570
  ["Small" /* Small */]: {
458
571
  "font-family": `${fontFamilies.main}`,
459
572
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
460
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
461
- "font-size": `${FONT_SIZE["2xs"]}`,
462
- "letter-spacing": `${LETTER_SPACING.normal}`,
463
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
573
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["2xs"]}`,
574
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["2xs"]}`,
575
+ "letter-spacing": "-.05px",
576
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
464
577
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
465
578
  "text-case": `${TEXT_CASE.none}`,
466
579
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -470,10 +583,10 @@ var getTypography = (customFontFamilies) => {
470
583
  ["Large" /* Large */]: {
471
584
  "font-family": `${fontFamilies.main}`,
472
585
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
473
- "line-height": `${LINE_HEIGHTS.xs}`,
474
- "font-size": `${FONT_SIZE.sm}`,
475
- "letter-spacing": `${LETTER_SPACING.normal}`,
476
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
586
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
587
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
588
+ "letter-spacing": "-.07px",
589
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
477
590
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
478
591
  "text-case": `${TEXT_CASE.none}`,
479
592
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -481,10 +594,10 @@ var getTypography = (customFontFamilies) => {
481
594
  ["Medium" /* Medium */]: {
482
595
  "font-family": `${fontFamilies.main}`,
483
596
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
484
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
485
- "font-size": `${FONT_SIZE.xs}`,
486
- "letter-spacing": `${LETTER_SPACING.normal}`,
487
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
597
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xs}`,
598
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xs}`,
599
+ "letter-spacing": "-.06px",
600
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
488
601
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
489
602
  "text-case": `${TEXT_CASE.none}`,
490
603
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -492,10 +605,10 @@ var getTypography = (customFontFamilies) => {
492
605
  ["Small" /* Small */]: {
493
606
  "font-family": `${fontFamilies.main}`,
494
607
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
495
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
496
- "font-size": `${FONT_SIZE["2xs"]}`,
497
- "letter-spacing": `${LETTER_SPACING.normal}`,
498
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
608
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */]["2xs"]}`,
609
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */]["2xs"]}`,
610
+ "letter-spacing": "-.05px",
611
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
499
612
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
500
613
  "text-case": `${TEXT_CASE.none}`,
501
614
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -503,34 +616,34 @@ var getTypography = (customFontFamilies) => {
503
616
  },
504
617
  Overline: {
505
618
  ["Large" /* Large */]: {
506
- "font-family": `${fontFamilies.code}`,
507
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
508
- "line-height": `${LINE_HEIGHTS.sm}`,
509
- "font-size": `${FONT_SIZE.md}`,
510
- "letter-spacing": `${LETTER_SPACING.loose}`,
511
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
619
+ "font-family": `${fontFamilies.main}`,
620
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
621
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
622
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
623
+ "letter-spacing": "1.92px",
624
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
512
625
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
513
626
  "text-case": `${TEXT_CASE.uppercase}`,
514
627
  "text-decoration": `${TEXT_DECORATION.none}`
515
628
  },
516
629
  ["Medium" /* Medium */]: {
517
- "font-family": `${fontFamilies.code}`,
518
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
519
- "line-height": `${LINE_HEIGHTS.xs}`,
520
- "font-size": `${FONT_SIZE.sm}`,
521
- "letter-spacing": `${LETTER_SPACING.loose}`,
522
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
630
+ "font-family": `${fontFamilies.main}`,
631
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
632
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
633
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
634
+ "letter-spacing": "1.68px",
635
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
523
636
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
524
637
  "text-case": `${TEXT_CASE.uppercase}`,
525
638
  "text-decoration": `${TEXT_DECORATION.none}`
526
639
  },
527
640
  ["Small" /* Small */]: {
528
- "font-family": `${fontFamilies.code}`,
529
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
530
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
531
- "font-size": `${FONT_SIZE.xs}`,
532
- "letter-spacing": `${LETTER_SPACING.loose}`,
533
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
641
+ "font-family": `${fontFamilies.main}`,
642
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
643
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xs}`,
644
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xs}`,
645
+ "letter-spacing": "1.44px",
646
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
534
647
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
535
648
  "text-case": `${TEXT_CASE.uppercase}`,
536
649
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -540,10 +653,10 @@ var getTypography = (customFontFamilies) => {
540
653
  ["Large" /* Large */]: {
541
654
  "font-family": `${fontFamilies.code}`,
542
655
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
543
- "line-height": `${LINE_HEIGHTS.sm}`,
544
- "font-size": `${FONT_SIZE.md}`,
545
- "letter-spacing": `${LETTER_SPACING.normal}`,
546
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
656
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xl}`,
657
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].lg}`,
658
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
659
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
547
660
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
548
661
  "text-case": `${TEXT_CASE.none}`,
549
662
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -551,10 +664,10 @@ var getTypography = (customFontFamilies) => {
551
664
  ["Medium" /* Medium */]: {
552
665
  "font-family": `${fontFamilies.code}`,
553
666
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
554
- "line-height": `${LINE_HEIGHTS.sm}`,
555
- "font-size": `${FONT_SIZE.sm}`,
556
- "letter-spacing": `${LETTER_SPACING.normal}`,
557
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
667
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
668
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
669
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
670
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
558
671
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
559
672
  "text-case": `${TEXT_CASE.none}`,
560
673
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -562,10 +675,10 @@ var getTypography = (customFontFamilies) => {
562
675
  ["Small" /* Small */]: {
563
676
  "font-family": `${fontFamilies.code}`,
564
677
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
565
- "line-height": `${LINE_HEIGHTS.xs}`,
566
- "font-size": `${FONT_SIZE.xs}`,
567
- "letter-spacing": `${LETTER_SPACING.normal}`,
568
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
678
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
679
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
680
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
681
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
569
682
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
570
683
  "text-case": `${TEXT_CASE.none}`,
571
684
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -575,10 +688,10 @@ var getTypography = (customFontFamilies) => {
575
688
  ["Large" /* Large */]: {
576
689
  "font-family": `${fontFamilies.code}`,
577
690
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
578
- "line-height": `${LINE_HEIGHTS.sm}`,
579
- "font-size": `${FONT_SIZE.md}`,
580
- "letter-spacing": `${LETTER_SPACING.normal}`,
581
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
691
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].lg}`,
692
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].md}`,
693
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
694
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
582
695
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
583
696
  "text-case": `${TEXT_CASE.none}`,
584
697
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -586,10 +699,10 @@ var getTypography = (customFontFamilies) => {
586
699
  ["Medium" /* Medium */]: {
587
700
  "font-family": `${fontFamilies.code}`,
588
701
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
589
- "line-height": `${LINE_HEIGHTS.sm}`,
590
- "font-size": `${FONT_SIZE.sm}`,
591
- "letter-spacing": `${LETTER_SPACING.normal}`,
592
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
702
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].md}`,
703
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].sm}`,
704
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
705
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
593
706
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
594
707
  "text-case": `${TEXT_CASE.none}`,
595
708
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -597,10 +710,10 @@ var getTypography = (customFontFamilies) => {
597
710
  ["Small" /* Small */]: {
598
711
  "font-family": `${fontFamilies.code}`,
599
712
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
600
- "line-height": `${LINE_HEIGHTS.xs}`,
601
- "font-size": `${FONT_SIZE.xs}`,
602
- "letter-spacing": `${LETTER_SPACING.normal}`,
603
- "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
713
+ "line-height": `${LINE_HEIGHTS["Lightspark" /* Lightspark */].xs}`,
714
+ "font-size": `${FONT_SIZE["Lightspark" /* Lightspark */].xs}`,
715
+ "letter-spacing": `${LETTER_SPACING["Lightspark" /* Lightspark */].normal}`,
716
+ "paragraph-spacing": `${PARAGRAPH_SPACING[0]}`,
604
717
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
605
718
  "text-case": `${TEXT_CASE.none}`,
606
719
  "text-decoration": `${TEXT_DECORATION.none}`
@@ -612,9 +725,9 @@ var getTypography = (customFontFamilies) => {
612
725
  ["Large" /* Large */]: {
613
726
  "font-family": `${fontFamilies.main}`,
614
727
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
615
- "line-height": `${LINE_HEIGHTS["5xl"]}`,
616
- "font-size": `${FONT_SIZE["6xl"]}`,
617
- "letter-spacing": `${LETTER_SPACING.tight}`,
728
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["5xl"]}`,
729
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["6xl"]}`,
730
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
618
731
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
619
732
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
620
733
  "text-case": `${TEXT_CASE.none}`,
@@ -623,9 +736,9 @@ var getTypography = (customFontFamilies) => {
623
736
  ["Medium" /* Medium */]: {
624
737
  "font-family": `${fontFamilies.main}`,
625
738
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
626
- "line-height": `${LINE_HEIGHTS["4xl"]}`,
627
- "font-size": `${FONT_SIZE["5xl"]}`,
628
- "letter-spacing": `${LETTER_SPACING.tight}`,
739
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["4xl"]}`,
740
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["5xl"]}`,
741
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
629
742
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
630
743
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
631
744
  "text-case": `${TEXT_CASE.none}`,
@@ -634,9 +747,9 @@ var getTypography = (customFontFamilies) => {
634
747
  ["Small" /* Small */]: {
635
748
  "font-family": `${fontFamilies.main}`,
636
749
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
637
- "line-height": `${LINE_HEIGHTS["3xl"]}`,
638
- "font-size": `${FONT_SIZE["4xl"]}`,
639
- "letter-spacing": `${LETTER_SPACING.tight}`,
750
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["3xl"]}`,
751
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["4xl"]}`,
752
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
640
753
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
641
754
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
642
755
  "text-case": `${TEXT_CASE.none}`,
@@ -647,9 +760,9 @@ var getTypography = (customFontFamilies) => {
647
760
  ["Large" /* Large */]: {
648
761
  "font-family": `${fontFamilies.main}`,
649
762
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
650
- "line-height": `${LINE_HEIGHTS["2xl"]}`,
651
- "font-size": `${FONT_SIZE["3xl"]}`,
652
- "letter-spacing": `${LETTER_SPACING.tight}`,
763
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xl"]}`,
764
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["3xl"]}`,
765
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
653
766
  "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
654
767
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
655
768
  "text-case": `${TEXT_CASE.none}`,
@@ -658,9 +771,9 @@ var getTypography = (customFontFamilies) => {
658
771
  ["Medium" /* Medium */]: {
659
772
  "font-family": `${fontFamilies.main}`,
660
773
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
661
- "line-height": `${LINE_HEIGHTS.xl}`,
662
- "font-size": `${FONT_SIZE["2xl"]}`,
663
- "letter-spacing": `${LETTER_SPACING.tight}`,
774
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xl}`,
775
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["2xl"]}`,
776
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
664
777
  "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
665
778
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
666
779
  "text-case": `${TEXT_CASE.none}`,
@@ -669,9 +782,9 @@ var getTypography = (customFontFamilies) => {
669
782
  ["Small" /* Small */]: {
670
783
  "font-family": `${fontFamilies.main}`,
671
784
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
672
- "line-height": `${LINE_HEIGHTS.lg}`,
673
- "font-size": `${FONT_SIZE.xl}`,
674
- "letter-spacing": `${LETTER_SPACING.tight}`,
785
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].lg}`,
786
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xl}`,
787
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].tight}`,
675
788
  "paragraph-spacing": `${PARAGRAPH_SPACING[16]}`,
676
789
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
677
790
  "text-case": `${TEXT_CASE.none}`,
@@ -682,9 +795,9 @@ var getTypography = (customFontFamilies) => {
682
795
  ["Large" /* Large */]: {
683
796
  "font-family": `${fontFamilies.main}`,
684
797
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
685
- "line-height": `${LINE_HEIGHTS.md}`,
686
- "font-size": `${FONT_SIZE.lg}`,
687
- "letter-spacing": `${LETTER_SPACING.normal}`,
798
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].md}`,
799
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].lg}`,
800
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
688
801
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
689
802
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
690
803
  "text-case": `${TEXT_CASE.none}`,
@@ -693,9 +806,9 @@ var getTypography = (customFontFamilies) => {
693
806
  ["Medium" /* Medium */]: {
694
807
  "font-family": `${fontFamilies.main}`,
695
808
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
696
- "line-height": `${LINE_HEIGHTS.sm}`,
697
- "font-size": `${FONT_SIZE.md}`,
698
- "letter-spacing": `${LETTER_SPACING.normal}`,
809
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
810
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
811
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
699
812
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
700
813
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
701
814
  "text-case": `${TEXT_CASE.none}`,
@@ -704,9 +817,9 @@ var getTypography = (customFontFamilies) => {
704
817
  ["Small" /* Small */]: {
705
818
  "font-family": `${fontFamilies.main}`,
706
819
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
707
- "line-height": `${LINE_HEIGHTS.xs}`,
708
- "font-size": `${FONT_SIZE.sm}`,
709
- "letter-spacing": `${LETTER_SPACING.normal}`,
820
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
821
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
822
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
710
823
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
711
824
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
712
825
  "text-case": `${TEXT_CASE.none}`,
@@ -717,9 +830,9 @@ var getTypography = (customFontFamilies) => {
717
830
  ["Large" /* Large */]: {
718
831
  "font-family": `${fontFamilies.main}`,
719
832
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
720
- "line-height": `${LINE_HEIGHTS.sm}`,
721
- "font-size": `${FONT_SIZE.md}`,
722
- "letter-spacing": `${LETTER_SPACING.normal}`,
833
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
834
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
835
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
723
836
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
724
837
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
725
838
  "text-case": `${TEXT_CASE.none}`,
@@ -728,9 +841,9 @@ var getTypography = (customFontFamilies) => {
728
841
  ["Medium" /* Medium */]: {
729
842
  "font-family": `${fontFamilies.main}`,
730
843
  "font-weight": `${FONT_WEIGHTS.main.Medium}`,
731
- "line-height": `${LINE_HEIGHTS.sm}`,
732
- "font-size": `${FONT_SIZE.sm}`,
733
- "letter-spacing": `${LETTER_SPACING.normal}`,
844
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
845
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
846
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
734
847
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
735
848
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
736
849
  "text-case": `${TEXT_CASE.none}`,
@@ -739,9 +852,44 @@ var getTypography = (customFontFamilies) => {
739
852
  ["Small" /* Small */]: {
740
853
  "font-family": `${fontFamilies.main}`,
741
854
  "font-weight": `${FONT_WEIGHTS.main.Medium}`,
742
- "line-height": `${LINE_HEIGHTS.sm}`,
743
- "font-size": `${FONT_SIZE.xs}`,
744
- "letter-spacing": `${LETTER_SPACING.normal}`,
855
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
856
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
857
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
858
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
859
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
860
+ "text-case": `${TEXT_CASE.none}`,
861
+ "text-decoration": `${TEXT_DECORATION.none}`
862
+ }
863
+ },
864
+ "Body Strong": {
865
+ ["Large" /* Large */]: {
866
+ "font-family": `${fontFamilies.main}`,
867
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
868
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
869
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
870
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
871
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
872
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
873
+ "text-case": `${TEXT_CASE.none}`,
874
+ "text-decoration": `${TEXT_DECORATION.none}`
875
+ },
876
+ ["Medium" /* Medium */]: {
877
+ "font-family": `${fontFamilies.main}`,
878
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
879
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
880
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
881
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
882
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
883
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
884
+ "text-case": `${TEXT_CASE.none}`,
885
+ "text-decoration": `${TEXT_DECORATION.none}`
886
+ },
887
+ ["Small" /* Small */]: {
888
+ "font-family": `${fontFamilies.main}`,
889
+ "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
890
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
891
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
892
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
745
893
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
746
894
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
747
895
  "text-case": `${TEXT_CASE.none}`,
@@ -752,9 +900,9 @@ var getTypography = (customFontFamilies) => {
752
900
  ["Large" /* Large */]: {
753
901
  "font-family": `${fontFamilies.main}`,
754
902
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
755
- "line-height": `${LINE_HEIGHTS.xs}`,
756
- "font-size": `${FONT_SIZE.sm}`,
757
- "letter-spacing": `${LETTER_SPACING.normal}`,
903
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
904
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
905
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
758
906
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
759
907
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
760
908
  "text-case": `${TEXT_CASE.none}`,
@@ -763,9 +911,9 @@ var getTypography = (customFontFamilies) => {
763
911
  ["Medium" /* Medium */]: {
764
912
  "font-family": `${fontFamilies.main}`,
765
913
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
766
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
767
- "font-size": `${FONT_SIZE.xs}`,
768
- "letter-spacing": `${LETTER_SPACING.normal}`,
914
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
915
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
916
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
769
917
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
770
918
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
771
919
  "text-case": `${TEXT_CASE.none}`,
@@ -774,9 +922,44 @@ var getTypography = (customFontFamilies) => {
774
922
  ["Small" /* Small */]: {
775
923
  "font-family": `${fontFamilies.main}`,
776
924
  "font-weight": `${FONT_WEIGHTS.main.SemiBold}`,
777
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
778
- "font-size": `${FONT_SIZE["2xs"]}`,
779
- "letter-spacing": `${LETTER_SPACING.normal}`,
925
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
926
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["2xs"]}`,
927
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
928
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
929
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
930
+ "text-case": `${TEXT_CASE.none}`,
931
+ "text-decoration": `${TEXT_DECORATION.none}`
932
+ }
933
+ },
934
+ "Label Moderate": {
935
+ ["Large" /* Large */]: {
936
+ "font-family": `${fontFamilies.main}`,
937
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
938
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
939
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
940
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
941
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
942
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
943
+ "text-case": `${TEXT_CASE.none}`,
944
+ "text-decoration": `${TEXT_DECORATION.none}`
945
+ },
946
+ ["Medium" /* Medium */]: {
947
+ "font-family": `${fontFamilies.main}`,
948
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
949
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
950
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
951
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
952
+ "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
953
+ "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
954
+ "text-case": `${TEXT_CASE.none}`,
955
+ "text-decoration": `${TEXT_DECORATION.none}`
956
+ },
957
+ ["Small" /* Small */]: {
958
+ "font-family": `${fontFamilies.main}`,
959
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
960
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
961
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["2xs"]}`,
962
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
780
963
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
781
964
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
782
965
  "text-case": `${TEXT_CASE.none}`,
@@ -787,9 +970,9 @@ var getTypography = (customFontFamilies) => {
787
970
  ["Large" /* Large */]: {
788
971
  "font-family": `${fontFamilies.main}`,
789
972
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
790
- "line-height": `${LINE_HEIGHTS.xs}`,
791
- "font-size": `${FONT_SIZE.sm}`,
792
- "letter-spacing": `${LETTER_SPACING.normal}`,
973
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
974
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
975
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
793
976
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
794
977
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
795
978
  "text-case": `${TEXT_CASE.none}`,
@@ -798,9 +981,9 @@ var getTypography = (customFontFamilies) => {
798
981
  ["Medium" /* Medium */]: {
799
982
  "font-family": `${fontFamilies.main}`,
800
983
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
801
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
802
- "font-size": `${FONT_SIZE.xs}`,
803
- "letter-spacing": `${LETTER_SPACING.normal}`,
984
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
985
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
986
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
804
987
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
805
988
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
806
989
  "text-case": `${TEXT_CASE.none}`,
@@ -809,9 +992,9 @@ var getTypography = (customFontFamilies) => {
809
992
  ["Small" /* Small */]: {
810
993
  "font-family": `${fontFamilies.main}`,
811
994
  "font-weight": `${FONT_WEIGHTS.main.Bold}`,
812
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
813
- "font-size": `${FONT_SIZE["2xs"]}`,
814
- "letter-spacing": `${LETTER_SPACING.normal}`,
995
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
996
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */]["2xs"]}`,
997
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
815
998
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
816
999
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
817
1000
  "text-case": `${TEXT_CASE.none}`,
@@ -820,33 +1003,33 @@ var getTypography = (customFontFamilies) => {
820
1003
  },
821
1004
  Overline: {
822
1005
  ["Large" /* Large */]: {
823
- "font-family": `${fontFamilies.code}`,
824
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
825
- "line-height": `${LINE_HEIGHTS.sm}`,
826
- "font-size": `${FONT_SIZE.md}`,
827
- "letter-spacing": `${LETTER_SPACING.loose}`,
1006
+ "font-family": `${fontFamilies.main}`,
1007
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
1008
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1009
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
1010
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].loose}`,
828
1011
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
829
1012
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
830
1013
  "text-case": `${TEXT_CASE.uppercase}`,
831
1014
  "text-decoration": `${TEXT_DECORATION.none}`
832
1015
  },
833
1016
  ["Medium" /* Medium */]: {
834
- "font-family": `${fontFamilies.code}`,
835
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
836
- "line-height": `${LINE_HEIGHTS.xs}`,
837
- "font-size": `${FONT_SIZE.sm}`,
838
- "letter-spacing": `${LETTER_SPACING.loose}`,
1017
+ "font-family": `${fontFamilies.main}`,
1018
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
1019
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
1020
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
1021
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].loose}`,
839
1022
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
840
1023
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
841
1024
  "text-case": `${TEXT_CASE.uppercase}`,
842
1025
  "text-decoration": `${TEXT_DECORATION.none}`
843
1026
  },
844
1027
  ["Small" /* Small */]: {
845
- "font-family": `${fontFamilies.code}`,
846
- "font-weight": `${FONT_WEIGHTS.code.Bold}`,
847
- "line-height": `${LINE_HEIGHTS["2xs"]}`,
848
- "font-size": `${FONT_SIZE.xs}`,
849
- "letter-spacing": `${LETTER_SPACING.loose}`,
1028
+ "font-family": `${fontFamilies.main}`,
1029
+ "font-weight": `${FONT_WEIGHTS.main.Bold}`,
1030
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */]["2xs"]}`,
1031
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
1032
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].loose}`,
850
1033
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
851
1034
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
852
1035
  "text-case": `${TEXT_CASE.uppercase}`,
@@ -857,9 +1040,9 @@ var getTypography = (customFontFamilies) => {
857
1040
  ["Large" /* Large */]: {
858
1041
  "font-family": `${fontFamilies.code}`,
859
1042
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
860
- "line-height": `${LINE_HEIGHTS.sm}`,
861
- "font-size": `${FONT_SIZE.md}`,
862
- "letter-spacing": `${LETTER_SPACING.normal}`,
1043
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1044
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
1045
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
863
1046
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
864
1047
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
865
1048
  "text-case": `${TEXT_CASE.none}`,
@@ -868,9 +1051,9 @@ var getTypography = (customFontFamilies) => {
868
1051
  ["Medium" /* Medium */]: {
869
1052
  "font-family": `${fontFamilies.code}`,
870
1053
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
871
- "line-height": `${LINE_HEIGHTS.sm}`,
872
- "font-size": `${FONT_SIZE.sm}`,
873
- "letter-spacing": `${LETTER_SPACING.normal}`,
1054
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1055
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
1056
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
874
1057
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
875
1058
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
876
1059
  "text-case": `${TEXT_CASE.none}`,
@@ -879,9 +1062,9 @@ var getTypography = (customFontFamilies) => {
879
1062
  ["Small" /* Small */]: {
880
1063
  "font-family": `${fontFamilies.code}`,
881
1064
  "font-weight": `${FONT_WEIGHTS.code.Regular}`,
882
- "line-height": `${LINE_HEIGHTS.xs}`,
883
- "font-size": `${FONT_SIZE.xs}`,
884
- "letter-spacing": `${LETTER_SPACING.normal}`,
1065
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].xs}`,
1066
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
1067
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
885
1068
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
886
1069
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
887
1070
  "text-case": `${TEXT_CASE.none}`,
@@ -892,9 +1075,9 @@ var getTypography = (customFontFamilies) => {
892
1075
  ["Large" /* Large */]: {
893
1076
  "font-family": `${fontFamilies.code}`,
894
1077
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
895
- "line-height": `${LINE_HEIGHTS.sm}`,
896
- "font-size": `${FONT_SIZE.md}`,
897
- "letter-spacing": `${LETTER_SPACING.normal}`,
1078
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1079
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].md}`,
1080
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
898
1081
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
899
1082
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
900
1083
  "text-case": `${TEXT_CASE.none}`,
@@ -903,9 +1086,9 @@ var getTypography = (customFontFamilies) => {
903
1086
  ["Medium" /* Medium */]: {
904
1087
  "font-family": `${fontFamilies.code}`,
905
1088
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
906
- "line-height": `${LINE_HEIGHTS.sm}`,
907
- "font-size": `${FONT_SIZE.sm}`,
908
- "letter-spacing": `${LETTER_SPACING.normal}`,
1089
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1090
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].sm}`,
1091
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
909
1092
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
910
1093
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
911
1094
  "text-case": `${TEXT_CASE.none}`,
@@ -914,9 +1097,9 @@ var getTypography = (customFontFamilies) => {
914
1097
  ["Small" /* Small */]: {
915
1098
  "font-family": `${fontFamilies.code}`,
916
1099
  "font-weight": `${FONT_WEIGHTS.code.Bold}`,
917
- "line-height": `${LINE_HEIGHTS.sm}`,
918
- "font-size": `${FONT_SIZE.xs}`,
919
- "letter-spacing": `${LETTER_SPACING.normal}`,
1100
+ "line-height": `${LINE_HEIGHTS["UmaDocs" /* UmaDocs */].sm}`,
1101
+ "font-size": `${FONT_SIZE["UmaDocs" /* UmaDocs */].xs}`,
1102
+ "letter-spacing": `${LETTER_SPACING["UmaDocs" /* UmaDocs */].normal}`,
920
1103
  "paragraph-spacing": `${PARAGRAPH_SPACING.default}`,
921
1104
  "paragraph-indent": `${PARAGRAPH_INDENT[0]}`,
922
1105
  "text-case": `${TEXT_CASE.none}`,
@@ -1074,7 +1257,7 @@ var lightTheme = extend(lightBaseTheme, {
1074
1257
  }),
1075
1258
  nav: extendBase(lightBaseTheme, {
1076
1259
  text: colors.gray10,
1077
- secondary: colors.secondary
1260
+ secondary: colors.gray40
1078
1261
  }),
1079
1262
  content: extendBase(lightBaseTheme, {
1080
1263
  bg: colors.white,
@@ -1161,6 +1344,11 @@ function useThemeBg() {
1161
1344
  return isSm ? theme.smBg : theme.bg;
1162
1345
  }
1163
1346
 
1347
+ // src/utils/strings.tsx
1348
+ function isString(str) {
1349
+ return typeof str === "string";
1350
+ }
1351
+
1164
1352
  // src/router.tsx
1165
1353
  var import_jsx_runtime2 = require("@emotion/react/jsx-runtime");
1166
1354
  function replaceParams(to, params) {
@@ -1187,6 +1375,7 @@ function replaceParams(to, params) {
1187
1375
  }
1188
1376
  function Link({
1189
1377
  to,
1378
+ externalLink,
1190
1379
  params,
1191
1380
  children,
1192
1381
  css: css7,
@@ -1196,8 +1385,20 @@ function Link({
1196
1385
  blue = false,
1197
1386
  newTab = false
1198
1387
  }) {
1199
- let toStr = replaceParams(to, params);
1200
- toStr += hash ? `#${hash}` : "";
1388
+ if (!isString(to) && !externalLink) {
1389
+ throw new Error("Link must have either `to` or `externalLink` defined");
1390
+ }
1391
+ let toStr;
1392
+ if (isString(to)) {
1393
+ toStr = replaceParams(to, params);
1394
+ toStr += hash ? `#${hash}` : "";
1395
+ } else {
1396
+ const definedExternalLink = externalLink;
1397
+ if (!definedExternalLink.startsWith("http")) {
1398
+ throw new Error("Link's externalLink must start with http");
1399
+ }
1400
+ toStr = definedExternalLink;
1401
+ }
1201
1402
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
1202
1403
  import_react_router_dom.Link,
1203
1404
  {
@@ -1321,13 +1522,6 @@ var overlaySurface = ({ theme }) => import_react5.css`
1321
1522
  // src/components/Icon.tsx
1322
1523
  var import_styled2 = __toESM(require("@emotion/styled"), 1);
1323
1524
  var import_react6 = require("react");
1324
-
1325
- // src/utils/strings.tsx
1326
- function isString(str) {
1327
- return typeof str === "string";
1328
- }
1329
-
1330
- // src/components/Icon.tsx
1331
1525
  var import_jsx_runtime3 = require("@emotion/react/jsx-runtime");
1332
1526
  var iconMap = {};
1333
1527
  function loadIcon(iconName) {
@@ -1829,10 +2023,13 @@ function Collapsible({
1829
2023
  children,
1830
2024
  className,
1831
2025
  text,
2026
+ color,
1832
2027
  open,
1833
2028
  handleToggle,
1834
2029
  hamburger,
1835
- full
2030
+ full,
2031
+ buttonTextElement,
2032
+ contentIndent = true
1836
2033
  }) {
1837
2034
  const [isOpen, setIsOpen] = (0, import_react9.useState)(open);
1838
2035
  const handleClick = () => {
@@ -1846,12 +2043,18 @@ function Collapsible({
1846
2043
  }, [open]);
1847
2044
  const iconName = hamburger ? isOpen ? "Close" : "StackedLines" : "Down";
1848
2045
  const iconWidth = iconName === "Close" ? 12 : 14;
2046
+ let textElement = /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", {});
2047
+ if (buttonTextElement) {
2048
+ textElement = buttonTextElement;
2049
+ } else if (text) {
2050
+ textElement = /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { color, children: text });
2051
+ }
1849
2052
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(StyledCollapsible, { className, children: [
1850
2053
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(StyledCollapsibleButton, { onClick: handleClick, children: [
1851
- text ? text : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", {}),
2054
+ textElement,
1852
2055
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(IconContainer2, { isOpen, hamburger, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { width: iconWidth, name: iconName }) })
1853
2056
  ] }),
1854
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CollapsingContainer, { isOpen, full, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(InnerPadding, { children }) })
2057
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CollapsingContainer, { isOpen, full, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(InnerPadding, { contentIndent, children }) })
1855
2058
  ] });
1856
2059
  }
1857
2060
  var StyledCollapsible = import_styled7.default.div`
@@ -1914,11 +2117,16 @@ var CollapsingContainer = import_styled7.default.div`
1914
2117
  }
1915
2118
  `;
1916
2119
  var InnerPadding = import_styled7.default.div`
1917
- padding: 4px 0 4px 16px;
1918
- gap: 4px;
2120
+ padding: ${"4px" /* 3xs */} 0 ${"4px" /* 3xs */}
2121
+ ${(props) => props.contentIndent ? "16px" /* md */ : "0"};
2122
+ gap: ${"2px" /* 4xs */};
1919
2123
  display: flex;
1920
2124
  flex-direction: column;
1921
2125
  `;
2126
+ var Text = import_styled7.default.span`
2127
+ ${(props) => props.color ? `color: ${props.color};` : ""}
2128
+ line-height: inherit;
2129
+ `;
1922
2130
 
1923
2131
  // src/components/CommandKey.tsx
1924
2132
  var import_styled8 = __toESM(require("@emotion/styled"), 1);
@@ -2298,7 +2506,7 @@ var globalComponentStyles = ({ theme }) => import_react12.css`
2298
2506
  }
2299
2507
 
2300
2508
  strong {
2301
- font-weight: 600;
2509
+ font-weight: 700;
2302
2510
  }
2303
2511
  `;
2304
2512
  function GlobalStyles() {
@@ -2351,8 +2559,8 @@ function LightsparkProvider({ children }) {
2351
2559
  }
2352
2560
 
2353
2561
  // src/components/Modal.tsx
2354
- var import_styled12 = __toESM(require("@emotion/styled"), 1);
2355
- var import_react16 = __toESM(require("react"), 1);
2562
+ var import_styled13 = __toESM(require("@emotion/styled"), 1);
2563
+ var import_react17 = __toESM(require("react"), 1);
2356
2564
  var import_react_dom = __toESM(require("react-dom"), 1);
2357
2565
 
2358
2566
  // src/hooks/useLiveRef.tsx
@@ -2369,8 +2577,79 @@ function useLiveRef() {
2369
2577
  return [ready ? ref : { current: null }, refCb];
2370
2578
  }
2371
2579
 
2372
- // src/components/Modal.tsx
2580
+ // src/components/ProgressBar.tsx
2581
+ var import_styled12 = __toESM(require("@emotion/styled"), 1);
2582
+ var import_react16 = require("react");
2373
2583
  var import_jsx_runtime14 = require("@emotion/react/jsx-runtime");
2584
+ var defaultProps2 = {
2585
+ isSm: false,
2586
+ stepDuration: 0.5
2587
+ };
2588
+ function ProgressBar({
2589
+ background,
2590
+ progressPercentage,
2591
+ isSm = defaultProps2.isSm,
2592
+ stepDuration = defaultProps2.stepDuration
2593
+ }) {
2594
+ const [percentage, setPercentage] = (0, import_react16.useState)(5);
2595
+ if (progressPercentage === void 0) {
2596
+ setTimeout(() => {
2597
+ setPercentage(100);
2598
+ }, 0);
2599
+ }
2600
+ (0, import_react16.useEffect)(() => {
2601
+ if (progressPercentage !== void 0) {
2602
+ setPercentage(progressPercentage);
2603
+ }
2604
+ }, [progressPercentage]);
2605
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ProgressBarContainer, { isSm, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Bar, { isSm, percentage, stepDuration, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2606
+ BarBg,
2607
+ {
2608
+ background,
2609
+ isSm,
2610
+ percentage,
2611
+ stepDuration
2612
+ }
2613
+ ) }) });
2614
+ }
2615
+ ProgressBar.defaultProps = defaultProps2;
2616
+ var ProgressBarContainer = import_styled12.default.div`
2617
+ background-color: ${({ theme }) => themeOr(theme.c05Neutral, theme.c1Neutral)({ theme })};
2618
+ border-radius: 16px;
2619
+ box-sizing: border-box;
2620
+ display: flex;
2621
+ height: ${({ isSm }) => isSm ? "6px" : "16px"};
2622
+ justify-content: flex-start;
2623
+ width: 100%;
2624
+ position: relative;
2625
+ `;
2626
+ var BarBg = import_styled12.default.div`
2627
+ border-radius: 16px;
2628
+ width: ${({ percentage }) => 100 / percentage * 100}%;
2629
+ height: 100%;
2630
+
2631
+ background: ${({ background }) => background ? background : `
2632
+ linear-gradient(
2633
+ 90deg,
2634
+ #000000 -25.9%,
2635
+ #1b4077 14.55%,
2636
+ #a152c7 82.22%,
2637
+ #3f2e7e 115.32%
2638
+ )`};
2639
+ `;
2640
+ var Bar = import_styled12.default.div`
2641
+ overflow: hidden;
2642
+ border-radius: ${({ isSm }) => isSm ? "6px" : "16px"};
2643
+ box-sizing: border-box;
2644
+ display: inline-block;
2645
+ height: ${({ isSm }) => isSm ? "6px" : "16px"};
2646
+ width: ${(props) => props.percentage}%;
2647
+ transition: width ${({ stepDuration }) => stepDuration}s
2648
+ cubic-bezier(0.16, 0.3, 0.18, 1);
2649
+ `;
2650
+
2651
+ // src/components/Modal.tsx
2652
+ var import_jsx_runtime15 = require("@emotion/react/jsx-runtime");
2374
2653
  function Modal({
2375
2654
  visible,
2376
2655
  title,
@@ -2389,18 +2668,26 @@ function Modal({
2389
2668
  firstFocusRef,
2390
2669
  nonDismissable = false,
2391
2670
  autoFocus = true,
2392
- width
2671
+ width = 460,
2672
+ progressBar
2393
2673
  }) {
2394
- const nodeRef = (0, import_react16.useRef)(null);
2674
+ const visibleChangedRef = (0, import_react17.useRef)(false);
2675
+ const nodeRef = (0, import_react17.useRef)(null);
2395
2676
  const [defaultFirstFocusRef, defaultFirstFocusRefCb] = useLiveRef();
2396
2677
  const ref = firstFocusRef || defaultFirstFocusRef;
2397
- const [nodeReady, setNodeReady] = import_react16.default.useState(false);
2398
- const overlayRef = (0, import_react16.useRef)(null);
2399
- const prevFocusedElement = (0, import_react16.useRef)();
2400
- const modalContainerRef = (0, import_react16.useRef)(null);
2678
+ const [nodeReady, setNodeReady] = import_react17.default.useState(false);
2679
+ const overlayRef = (0, import_react17.useRef)(null);
2680
+ const prevFocusedElement = (0, import_react17.useRef)();
2681
+ const modalContainerRef = (0, import_react17.useRef)(null);
2401
2682
  const bp2 = useBreakpoints();
2402
2683
  const isSm = bp2.current("sm" /* sm */);
2403
- (0, import_react16.useEffect)(() => {
2684
+ (0, import_react17.useEffect)(() => {
2685
+ if (visible !== visibleChangedRef.current) {
2686
+ visibleChangedRef.current = visible;
2687
+ }
2688
+ }, [visible]);
2689
+ const visibleChanged = visible !== visibleChangedRef.current;
2690
+ (0, import_react17.useEffect)(() => {
2404
2691
  prevFocusedElement.current = document.activeElement;
2405
2692
  if (!nodeRef.current) {
2406
2693
  nodeRef.current = document.createElement("div");
@@ -2414,7 +2701,7 @@ function Modal({
2414
2701
  }
2415
2702
  };
2416
2703
  }, []);
2417
- (0, import_react16.useEffect)(() => {
2704
+ (0, import_react17.useEffect)(() => {
2418
2705
  const handleOutsideClick = (event) => {
2419
2706
  if (visible && overlayRef.current && event.target && overlayRef.current.contains(event.target) && !nonDismissable) {
2420
2707
  onClose();
@@ -2451,16 +2738,18 @@ function Modal({
2451
2738
  }
2452
2739
  };
2453
2740
  }, [onClose, visible, nonDismissable]);
2454
- (0, import_react16.useLayoutEffect)(() => {
2741
+ (0, import_react17.useLayoutEffect)(() => {
2455
2742
  if (visible) {
2456
- prevFocusedElement.current = document.activeElement;
2743
+ if (visibleChanged) {
2744
+ prevFocusedElement.current = document.activeElement;
2745
+ }
2457
2746
  if (typeof ref === "object" && (ref == null ? void 0 : ref.current) && autoFocus) {
2458
2747
  ref.current.focus();
2459
2748
  }
2460
- } else if (prevFocusedElement.current) {
2749
+ } else if (visibleChanged && prevFocusedElement.current) {
2461
2750
  prevFocusedElement.current.focus();
2462
2751
  }
2463
- }, [visible, ref, autoFocus]);
2752
+ }, [visible, visibleChanged, ref, autoFocus]);
2464
2753
  function onClickCloseButton(event) {
2465
2754
  event.stopPropagation();
2466
2755
  onClose();
@@ -2478,9 +2767,9 @@ function Modal({
2478
2767
  onClose();
2479
2768
  }
2480
2769
  }
2481
- const modalContent = /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react16.Fragment, { children: [
2482
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ModalOverlay, { ref: overlayRef }),
2483
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2770
+ const modalContent = /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_react17.Fragment, { children: [
2771
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(ModalOverlay, { ref: overlayRef }),
2772
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2484
2773
  ModalContainer,
2485
2774
  {
2486
2775
  "aria-modal": true,
@@ -2488,15 +2777,22 @@ function Modal({
2488
2777
  tabIndex: -1,
2489
2778
  role: "dialog",
2490
2779
  ref: modalContainerRef,
2491
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(ModalContent, { width, ghost, children: [
2492
- !firstFocusRef && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
2493
- !(nonDismissable || ghost) && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { name: "Close", width: 9 }) }),
2494
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(ModalContentInner, { ghost, children: [
2495
- title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("h4", { children: title }) : null,
2496
- description ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Description, { children: description }) : null,
2497
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { children }),
2498
- onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(ModalButtonRow, { children: [
2499
- !isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2780
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(ModalContent, { width, ghost, children: [
2781
+ !firstFocusRef && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
2782
+ !(nonDismissable || ghost) && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { name: "Close", width: 9 }) }),
2783
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(ModalContentInner, { ghost, children: [
2784
+ progressBar ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { css: { marginBottom: "20px" }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2785
+ ProgressBar,
2786
+ {
2787
+ progressPercentage: progressBar.progressPercentage,
2788
+ isSm: progressBar.isSm
2789
+ }
2790
+ ) }) : null,
2791
+ title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("h4", { children: title }) : null,
2792
+ description ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Description, { children: description }) : null,
2793
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { children }),
2794
+ onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(ModalButtonRow, { children: [
2795
+ !isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2500
2796
  Button,
2501
2797
  {
2502
2798
  disabled: cancelDisabled,
@@ -2504,7 +2800,7 @@ function Modal({
2504
2800
  text: cancelText != null ? cancelText : "Cancel"
2505
2801
  }
2506
2802
  ),
2507
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2803
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2508
2804
  Button,
2509
2805
  {
2510
2806
  disabled: submitDisabled,
@@ -2514,7 +2810,7 @@ function Modal({
2514
2810
  type: "submit"
2515
2811
  }
2516
2812
  ),
2517
- isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { onClick: onClose, text: "Cancel" })
2813
+ isSm && !cancelHidden && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Button, { onClick: onClose, text: "Cancel" })
2518
2814
  ] }) : null
2519
2815
  ] })
2520
2816
  ] })
@@ -2522,17 +2818,17 @@ function Modal({
2522
2818
  )
2523
2819
  ] });
2524
2820
  return visible && nodeReady && nodeRef.current ? import_react_dom.default.createPortal(
2525
- onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("form", { onSubmit: onSubmitForm, children: modalContent }) : modalContent,
2821
+ onSubmit ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("form", { onSubmit: onSubmitForm, children: modalContent }) : modalContent,
2526
2822
  nodeRef.current
2527
2823
  ) : null;
2528
2824
  }
2529
- var DefaultFocusTarget = (0, import_styled12.default)(UnstyledButton)`
2825
+ var DefaultFocusTarget = (0, import_styled13.default)(UnstyledButton)`
2530
2826
  position: absolute;
2531
2827
  top: -30px;
2532
2828
  width: 0;
2533
2829
  height: 0;
2534
2830
  `;
2535
- var ModalOverlay = import_styled12.default.div`
2831
+ var ModalOverlay = import_styled13.default.div`
2536
2832
  position: fixed;
2537
2833
  bottom: 0;
2538
2834
  left: 0;
@@ -2542,7 +2838,7 @@ var ModalOverlay = import_styled12.default.div`
2542
2838
  background: rgba(0, 0, 0, 0.5);
2543
2839
  backdrop-filter: blur(2px);
2544
2840
  `;
2545
- var ModalContainer = import_styled12.default.div`
2841
+ var ModalContainer = import_styled13.default.div`
2546
2842
  pointer-events: none;
2547
2843
  position: fixed;
2548
2844
  top: 0;
@@ -2560,14 +2856,14 @@ var ModalContainer = import_styled12.default.div`
2560
2856
  padding-top: ${standardContentInsetSmPx}px;
2561
2857
  `;
2562
2858
  var contentTopMarginPx = 24;
2563
- var Description = import_styled12.default.div`
2859
+ var Description = import_styled13.default.div`
2564
2860
  color: ${({ theme }) => theme.mcNeutral};
2565
2861
  margin-top: 4px;
2566
2862
  & + * {
2567
2863
  margin-top: ${contentTopMarginPx}px;
2568
2864
  }
2569
2865
  `;
2570
- var ModalButtonRow = import_styled12.default.div`
2866
+ var ModalButtonRow = import_styled13.default.div`
2571
2867
  margin-top: 32px;
2572
2868
  ${bp.minSm(`display: flex;`)}
2573
2869
 
@@ -2587,12 +2883,13 @@ var ModalButtonRow = import_styled12.default.div`
2587
2883
  `)}
2588
2884
  }
2589
2885
  `;
2590
- var ModalContent = import_styled12.default.div`
2886
+ var ModalContent = import_styled13.default.div`
2591
2887
  ${overflowAutoWithoutScrollbars}
2592
2888
  ${smContentInset}
2593
2889
  ${(props) => props.ghost ? "" : overlaySurface}
2594
2890
  pointer-events: auto;
2595
- width: ${(props) => props.width || 430}px;
2891
+ transition: width 0.25s ease-in;
2892
+ width: ${(props) => props.width}px;
2596
2893
  max-width: 100%;
2597
2894
  max-height: 100%;
2598
2895
  border-radius: 16px;
@@ -2608,12 +2905,12 @@ var ModalContent = import_styled12.default.div`
2608
2905
  }
2609
2906
  }
2610
2907
  `;
2611
- var CloseButton = (0, import_styled12.default)(UnstyledButton)`
2908
+ var CloseButton = (0, import_styled13.default)(UnstyledButton)`
2612
2909
  ${standardFocusOutline}
2613
2910
  width: 24px;
2614
2911
  height: 24px;
2615
2912
  `;
2616
- var ModalContentInner = import_styled12.default.div`
2913
+ var ModalContentInner = import_styled13.default.div`
2617
2914
  ${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
2618
2915
  ${(props) => props.ghost ? "" : `${bp.sm(`
2619
2916
  padding-left: 10px;
@@ -2622,11 +2919,11 @@ var ModalContentInner = import_styled12.default.div`
2622
2919
  `;
2623
2920
 
2624
2921
  // src/components/SecretContainer.tsx
2625
- var import_styled13 = __toESM(require("@emotion/styled"), 1);
2626
- var import_jsx_runtime15 = require("@emotion/react/jsx-runtime");
2922
+ var import_styled14 = __toESM(require("@emotion/styled"), 1);
2923
+ var import_jsx_runtime16 = require("@emotion/react/jsx-runtime");
2627
2924
  function SecretContainer(props) {
2628
- return props.secret ? /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(StyledSecretContainer, { hasSecret: true, success: props.success, children: [
2629
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
2925
+ return props.secret ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(StyledSecretContainer, { hasSecret: true, success: props.success, children: [
2926
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2630
2927
  "span",
2631
2928
  {
2632
2929
  style: {
@@ -2638,10 +2935,10 @@ function SecretContainer(props) {
2638
2935
  children: props.secret
2639
2936
  }
2640
2937
  ),
2641
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CopyToClipboardButton, { value: props.secret, isSm: true, ml: 4 })
2642
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(StyledSecretContainer, { hasSecret: false, children: "There are no tokens associated with this account" });
2938
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CopyToClipboardButton, { value: props.secret, isSm: true, ml: 4 })
2939
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(StyledSecretContainer, { hasSecret: false, children: "There are no tokens associated with this account" });
2643
2940
  }
2644
- var StyledSecretContainer = import_styled13.default.div`
2941
+ var StyledSecretContainer = import_styled14.default.div`
2645
2942
  background-color: ${({ theme, hasSecret, success }) => hasSecret ? success ? theme.success : theme.c05Neutral : theme.bg};
2646
2943
  border-radius: 8px;
2647
2944
  padding: 18px 20px;
@@ -2653,14 +2950,14 @@ var StyledSecretContainer = import_styled13.default.div`
2653
2950
  `;
2654
2951
 
2655
2952
  // src/components/TextIconAligner.tsx
2656
- var import_jsx_runtime16 = require("@emotion/react/jsx-runtime");
2953
+ var import_jsx_runtime17 = require("@emotion/react/jsx-runtime");
2657
2954
  function TextIconAligner({
2658
2955
  text,
2659
2956
  rightIcon,
2660
2957
  leftIcon,
2661
2958
  onClick
2662
2959
  }) {
2663
- const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2960
+ const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2664
2961
  Icon,
2665
2962
  {
2666
2963
  name: leftIcon.name,
@@ -2669,7 +2966,7 @@ function TextIconAligner({
2669
2966
  color: leftIcon.color
2670
2967
  }
2671
2968
  ) : null;
2672
- const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
2969
+ const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2673
2970
  Icon,
2674
2971
  {
2675
2972
  name: rightIcon.name,
@@ -2678,7 +2975,7 @@ function TextIconAligner({
2678
2975
  color: rightIcon.color
2679
2976
  }
2680
2977
  ) : null;
2681
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2978
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2682
2979
  "span",
2683
2980
  {
2684
2981
  css: {
@@ -2713,6 +3010,7 @@ function TextIconAligner({
2713
3010
  Loading,
2714
3011
  LoadingWrapper,
2715
3012
  Modal,
3013
+ ProgressBar,
2716
3014
  SecretContainer,
2717
3015
  StyledButton,
2718
3016
  TextIconAligner,