@lightsparkdev/ui 1.0.2 → 1.0.4

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 (295) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{chunk-SGSLTG65.js → chunk-242JGEN4.js} +3 -3
  3. package/dist/{chunk-F6EVBEMN.js → chunk-2P6TCMZN.js} +2 -2
  4. package/dist/{chunk-J7SV67XL.js → chunk-3R5KJDSL.js} +1 -1
  5. package/dist/{chunk-L6S22JUU.js → chunk-4BERRPJN.js} +3 -3
  6. package/dist/{chunk-AI6DCUWK.js → chunk-4KURUJD2.js} +1 -1
  7. package/dist/{chunk-6H7PZJ2A.js → chunk-4X67A2CS.js} +2 -1
  8. package/dist/{chunk-YRYVSAWS.js → chunk-5F7IOIWL.js} +1 -1
  9. package/dist/{chunk-EMXTALIX.js → chunk-5ON3ICVC.js} +1 -1
  10. package/dist/{chunk-35WJ3PKH.js → chunk-642OXLAD.js} +2 -2
  11. package/dist/{chunk-SKXCT2FQ.js → chunk-7BSME2ZU.js} +2 -2
  12. package/dist/{chunk-GNVEN6UE.js → chunk-7COKMITX.js} +2 -2
  13. package/dist/{chunk-LL5YLPNM.js → chunk-7OJQZEVL.js} +5 -5
  14. package/dist/{chunk-GGEAODIA.js → chunk-7RLDCOUT.js} +4 -4
  15. package/dist/{chunk-S6AOKANU.js → chunk-7RMHMFS2.js} +4 -4
  16. package/dist/{chunk-CMQELZES.js → chunk-AZOVE32P.js} +2 -2
  17. package/dist/{chunk-5H32AOXL.js → chunk-BAGRU7JE.js} +1 -1
  18. package/dist/{chunk-2JYYREVX.js → chunk-BPGBJRZE.js} +1 -1
  19. package/dist/{chunk-UNULJ3P6.js → chunk-BRRDPQWW.js} +4 -4
  20. package/dist/{chunk-W3BAJ3HT.js → chunk-C3YODRA3.js} +15 -15
  21. package/dist/{chunk-HZ63YB4Y.js → chunk-C4HNAZFZ.js} +3 -3
  22. package/dist/{chunk-7NPHOJXD.js → chunk-CZFFMEAS.js} +5 -5
  23. package/dist/{chunk-HRZNVE2K.js → chunk-DIKOS5R6.js} +2 -2
  24. package/dist/{chunk-BMSSV6NX.js → chunk-DNGAINGL.js} +1 -1
  25. package/dist/{chunk-TVLELY54.js → chunk-DWUP3RDU.js} +4 -4
  26. package/dist/chunk-E5DUKMCU.js +65 -0
  27. package/dist/chunk-EIFK352Q.js +27 -0
  28. package/dist/{chunk-OA3BZAST.js → chunk-GLEAWATH.js} +3 -3
  29. package/dist/{chunk-KFX7US6Y.js → chunk-GQVNE3NU.js} +1 -1
  30. package/dist/{chunk-UBYBILLK.js → chunk-HPZVUEDJ.js} +2 -2
  31. package/dist/{chunk-TM3C4LEG.js → chunk-HVDX4OZJ.js} +2 -2
  32. package/dist/{chunk-6JFJDBV2.js → chunk-JAPRGAB7.js} +1 -1
  33. package/dist/{chunk-467PLJO3.js → chunk-JH53NBOD.js} +59 -10
  34. package/dist/{chunk-2XRCGW74.js → chunk-KBLCFXNL.js} +3 -3
  35. package/dist/{chunk-NYQLPSG3.js → chunk-KJHREJHT.js} +2 -2
  36. package/dist/{chunk-CZQER3QD.js → chunk-LFD2KVAB.js} +1 -1
  37. package/dist/{chunk-DCFB5MJ7.js → chunk-LGXMGWLV.js} +17 -16
  38. package/dist/{chunk-37RRWSDE.js → chunk-LLGN3OM3.js} +2 -2
  39. package/dist/{chunk-HA4AQO3T.js → chunk-MK2JFFUG.js} +1 -1
  40. package/dist/{chunk-EV6PGQPM.js → chunk-MNMVZI7D.js} +11 -11
  41. package/dist/{chunk-HP4VPMN7.js → chunk-OMY3WTAU.js} +2 -2
  42. package/dist/{chunk-VUXU77SU.js → chunk-OUHQXQOJ.js} +1 -1
  43. package/dist/{chunk-PNSZAJL7.js → chunk-OZQ5WPLN.js} +2 -2
  44. package/dist/{chunk-2H7TBKII.js → chunk-PDQVYUEW.js} +6 -6
  45. package/dist/{chunk-DNVKN2FG.js → chunk-QCHEDM2I.js} +3 -3
  46. package/dist/{chunk-CHK5DOMV.js → chunk-RESJONBZ.js} +2 -2
  47. package/dist/{chunk-XP3BAAUO.js → chunk-SZ4KKLYJ.js} +2 -2
  48. package/dist/{chunk-VYTN6ASZ.js → chunk-THTKSZSR.js} +2 -2
  49. package/dist/{chunk-KBYU4ZQ3.js → chunk-TNDSUTUN.js} +3 -3
  50. package/dist/{chunk-SRHSJOES.js → chunk-TNISOOCF.js} +1 -1
  51. package/dist/{chunk-55M7XHBZ.js → chunk-UNFCVZ32.js} +36 -33
  52. package/dist/{chunk-56QJRFP2.js → chunk-V523QTZQ.js} +2 -2
  53. package/dist/{chunk-A4JZESAS.js → chunk-VNQE6KEX.js} +16 -3
  54. package/dist/{chunk-5XZJEYHG.js → chunk-VR2GLRXH.js} +1 -1
  55. package/dist/chunk-VWD7T5MQ.js +74 -0
  56. package/dist/{chunk-XUVCOSIE.js → chunk-VXH6GWGE.js} +2 -2
  57. package/dist/{chunk-ZNZAY47J.js → chunk-W2N5QUG6.js} +9 -6
  58. package/dist/{chunk-D73OOC3E.js → chunk-WDJMAZFO.js} +3 -3
  59. package/dist/{chunk-WV5AB4ZB.js → chunk-XS4MH3QA.js} +102 -85
  60. package/dist/{chunk-TM2NGRD2.js → chunk-YRFCWL73.js} +5 -2
  61. package/dist/{chunk-CZCPVHVB.js → chunk-YRZ3VNBI.js} +2 -2
  62. package/dist/{chunk-JOQCJPOA.js → chunk-ZCXGHQQF.js} +9 -9
  63. package/dist/{chunk-UVGBD7XM.js → chunk-ZO35RX7V.js} +21 -13
  64. package/dist/{chunk-27SFWLPS.js → chunk-ZS7G6WIG.js} +1 -1
  65. package/dist/components/Badge.cjs +7845 -7476
  66. package/dist/components/Badge.d.cts +146 -7
  67. package/dist/components/Badge.d.ts +146 -7
  68. package/dist/components/Badge.js +20 -23
  69. package/dist/components/Banner/Banner.cjs +55 -26
  70. package/dist/components/Banner/Banner.d.cts +1 -1
  71. package/dist/components/Banner/Banner.d.ts +1 -1
  72. package/dist/components/Banner/Banner.js +18 -18
  73. package/dist/components/Button.cjs +46 -28
  74. package/dist/components/Button.d.cts +1 -1
  75. package/dist/components/Button.d.ts +1 -1
  76. package/dist/components/Button.js +20 -20
  77. package/dist/components/ButtonRow.cjs +49 -31
  78. package/dist/components/ButtonRow.d.cts +1 -1
  79. package/dist/components/ButtonRow.d.ts +1 -1
  80. package/dist/components/ButtonRow.js +22 -22
  81. package/dist/components/CardPage.cjs +16 -3
  82. package/dist/components/CardPage.js +24 -24
  83. package/dist/components/Checkbox.cjs +3 -3
  84. package/dist/components/Checkbox.js +3 -3
  85. package/dist/components/CodeBlock.cjs +21 -7
  86. package/dist/components/CodeBlock.js +8 -8
  87. package/dist/components/CodeInput/CodeInput.cjs +17 -4
  88. package/dist/components/CodeInput/CodeInput.js +6 -6
  89. package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4
  90. package/dist/components/CodeInput/SingleCodeInput.js +5 -5
  91. package/dist/components/Collapsible.cjs +82 -7
  92. package/dist/components/Collapsible.js +6 -6
  93. package/dist/components/CommaNumberInput.cjs +22 -8
  94. package/dist/components/CommaNumberInput.d.cts +1 -1
  95. package/dist/components/CommaNumberInput.d.ts +1 -1
  96. package/dist/components/CommaNumberInput.js +11 -11
  97. package/dist/components/ContentTable.cjs +17 -4
  98. package/dist/components/ContentTable.js +4 -4
  99. package/dist/components/CopyToClipboardButton.cjs +21 -7
  100. package/dist/components/CopyToClipboardButton.js +6 -6
  101. package/dist/components/CurrencyAmount.cjs +17 -4
  102. package/dist/components/CurrencyAmount.js +4 -4
  103. package/dist/components/Drawer.cjs +293 -176
  104. package/dist/components/Drawer.d.cts +2 -0
  105. package/dist/components/Drawer.d.ts +2 -0
  106. package/dist/components/Drawer.js +22 -22
  107. package/dist/components/Dropdown.cjs +21 -7
  108. package/dist/components/Dropdown.d.cts +1 -1
  109. package/dist/components/Dropdown.d.ts +1 -1
  110. package/dist/components/Dropdown.js +5 -5
  111. package/dist/components/FileInput.cjs +17 -4
  112. package/dist/components/FileInput.js +10 -10
  113. package/dist/components/GradientCardHeader.js +5 -5
  114. package/dist/components/Icon/Icon.cjs +17 -4
  115. package/dist/components/Icon/Icon.d.cts +1 -1
  116. package/dist/components/Icon/Icon.d.ts +1 -1
  117. package/dist/components/Icon/Icon.js +3 -3
  118. package/dist/components/IconWithCircleBackground.cjs +7349 -7338
  119. package/dist/components/IconWithCircleBackground.js +4 -73
  120. package/dist/components/InfoIconTooltip.cjs +62 -32
  121. package/dist/components/InfoIconTooltip.d.cts +1 -1
  122. package/dist/components/InfoIconTooltip.d.ts +1 -1
  123. package/dist/components/InfoIconTooltip.js +19 -19
  124. package/dist/components/LightsparkProvider.cjs +16 -3
  125. package/dist/components/LightsparkProvider.js +4 -4
  126. package/dist/components/Loading.cjs +17 -4
  127. package/dist/components/Loading.js +4 -4
  128. package/dist/components/Modal.cjs +297 -147
  129. package/dist/components/Modal.d.cts +21 -15
  130. package/dist/components/Modal.d.ts +21 -15
  131. package/dist/components/Modal.js +27 -68
  132. package/dist/components/PageSection/PageSection.cjs +214 -100
  133. package/dist/components/PageSection/PageSection.d.cts +1 -1
  134. package/dist/components/PageSection/PageSection.d.ts +1 -1
  135. package/dist/components/PageSection/PageSection.js +27 -31
  136. package/dist/components/PageSection/PageSectionNav.cjs +50 -21
  137. package/dist/components/PageSection/PageSectionNav.js +20 -20
  138. package/dist/components/PhoneInput.cjs +22 -8
  139. package/dist/components/PhoneInput.d.cts +1 -1
  140. package/dist/components/PhoneInput.d.ts +1 -1
  141. package/dist/components/PhoneInput.js +11 -11
  142. package/dist/components/Pill.cjs +17 -4
  143. package/dist/components/Pill.js +7 -7
  144. package/dist/components/ProgressBar.cjs +16 -3
  145. package/dist/components/ProgressBar.js +3 -3
  146. package/dist/components/Radio.cjs +7410 -7334
  147. package/dist/components/Radio.js +8 -22
  148. package/dist/components/SecretContainer.cjs +21 -7
  149. package/dist/components/SecretContainer.js +7 -7
  150. package/dist/components/StatusIndicator.js +4 -4
  151. package/dist/components/TextButton.cjs +46 -17
  152. package/dist/components/TextButton.d.cts +1 -1
  153. package/dist/components/TextButton.d.ts +1 -1
  154. package/dist/components/TextButton.js +19 -19
  155. package/dist/components/TextIconAligner.cjs +40 -11
  156. package/dist/components/TextIconAligner.d.cts +1 -1
  157. package/dist/components/TextIconAligner.d.ts +1 -1
  158. package/dist/components/TextIconAligner.js +17 -17
  159. package/dist/components/TextInput.cjs +22 -8
  160. package/dist/components/TextInput.d.cts +1 -1
  161. package/dist/components/TextInput.d.ts +1 -1
  162. package/dist/components/TextInput.js +10 -10
  163. package/dist/components/Toasts.cjs +66 -37
  164. package/dist/components/Toasts.d.cts +1 -1
  165. package/dist/components/Toasts.d.ts +1 -1
  166. package/dist/components/Toasts.js +20 -20
  167. package/dist/components/Toggle.cjs +108 -97
  168. package/dist/components/Toggle.js +4 -4
  169. package/dist/components/Tooltip.cjs +20 -6
  170. package/dist/components/Tooltip.js +3 -3
  171. package/dist/components/UnstyledButton.js +3 -3
  172. package/dist/components/documentation/AnchorLinkHeader.cjs +17 -4
  173. package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
  174. package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
  175. package/dist/components/documentation/AnchorLinkHeader.js +8 -8
  176. package/dist/components/documentation/DocsBodyParagraph.cjs +16 -3
  177. package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
  178. package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
  179. package/dist/components/documentation/DocsBodyParagraph.js +6 -6
  180. package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -3
  181. package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
  182. package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
  183. package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
  184. package/dist/components/documentation/DocsHeadline.cjs +16 -3
  185. package/dist/components/documentation/DocsHeadline.d.cts +1 -1
  186. package/dist/components/documentation/DocsHeadline.d.ts +1 -1
  187. package/dist/components/documentation/DocsHeadline.js +7 -7
  188. package/dist/components/documentation/Video.cjs +16 -0
  189. package/dist/components/documentation/Video.d.cts +7 -1
  190. package/dist/components/documentation/Video.d.ts +7 -1
  191. package/dist/components/documentation/Video.js +18 -2
  192. package/dist/components/documentation/index.cjs +17 -4
  193. package/dist/components/documentation/index.d.cts +1 -1
  194. package/dist/components/documentation/index.d.ts +1 -1
  195. package/dist/components/documentation/index.js +8 -8
  196. package/dist/components/index.cjs +8474 -8234
  197. package/dist/components/index.d.cts +5 -5
  198. package/dist/components/index.d.ts +5 -5
  199. package/dist/components/index.js +69 -70
  200. package/dist/components/typography/Article.cjs +103 -28
  201. package/dist/components/typography/Article.js +14 -14
  202. package/dist/components/typography/Body.cjs +18 -4
  203. package/dist/components/typography/Body.d.cts +2 -2
  204. package/dist/components/typography/Body.d.ts +2 -2
  205. package/dist/components/typography/Body.js +6 -6
  206. package/dist/components/typography/BodyStrong.cjs +18 -4
  207. package/dist/components/typography/BodyStrong.d.cts +2 -2
  208. package/dist/components/typography/BodyStrong.d.ts +2 -2
  209. package/dist/components/typography/BodyStrong.js +6 -6
  210. package/dist/components/typography/Code.cjs +18 -4
  211. package/dist/components/typography/Code.d.cts +2 -2
  212. package/dist/components/typography/Code.d.ts +2 -2
  213. package/dist/components/typography/Code.js +6 -6
  214. package/dist/components/typography/Display.cjs +18 -4
  215. package/dist/components/typography/Display.d.cts +2 -2
  216. package/dist/components/typography/Display.d.ts +2 -2
  217. package/dist/components/typography/Display.js +6 -6
  218. package/dist/components/typography/Headline.cjs +18 -4
  219. package/dist/components/typography/Headline.d.cts +2 -2
  220. package/dist/components/typography/Headline.d.ts +2 -2
  221. package/dist/components/typography/Headline.js +6 -6
  222. package/dist/components/typography/Label.cjs +18 -4
  223. package/dist/components/typography/Label.d.cts +2 -2
  224. package/dist/components/typography/Label.d.ts +2 -2
  225. package/dist/components/typography/Label.js +6 -6
  226. package/dist/components/typography/LabelModerate.cjs +18 -4
  227. package/dist/components/typography/LabelModerate.d.cts +2 -2
  228. package/dist/components/typography/LabelModerate.d.ts +2 -2
  229. package/dist/components/typography/LabelModerate.js +6 -6
  230. package/dist/components/typography/LabelStrong.cjs +18 -4
  231. package/dist/components/typography/LabelStrong.d.cts +2 -2
  232. package/dist/components/typography/LabelStrong.d.ts +2 -2
  233. package/dist/components/typography/LabelStrong.js +6 -6
  234. package/dist/components/typography/Overline.cjs +18 -4
  235. package/dist/components/typography/Overline.d.cts +2 -2
  236. package/dist/components/typography/Overline.d.ts +2 -2
  237. package/dist/components/typography/Overline.js +6 -6
  238. package/dist/components/typography/Title.cjs +18 -4
  239. package/dist/components/typography/Title.d.cts +3 -3
  240. package/dist/components/typography/Title.d.ts +3 -3
  241. package/dist/components/typography/Title.js +6 -6
  242. package/dist/components/typography/index.cjs +105 -29
  243. package/dist/components/typography/index.d.cts +1 -1
  244. package/dist/components/typography/index.d.ts +1 -1
  245. package/dist/components/typography/index.js +22 -23
  246. package/dist/components/typography/renderTypography.cjs +34 -7
  247. package/dist/components/typography/renderTypography.d.cts +20 -20
  248. package/dist/components/typography/renderTypography.d.ts +20 -20
  249. package/dist/components/typography/renderTypography.js +16 -16
  250. package/dist/styles/buttons.d.cts +1 -1
  251. package/dist/styles/buttons.d.ts +1 -1
  252. package/dist/styles/common.cjs +20 -6
  253. package/dist/styles/common.d.cts +3 -2
  254. package/dist/styles/common.d.ts +3 -2
  255. package/dist/styles/common.js +2 -2
  256. package/dist/styles/fields.cjs +17 -4
  257. package/dist/styles/fields.d.cts +1 -1
  258. package/dist/styles/fields.d.ts +1 -1
  259. package/dist/styles/fields.js +4 -4
  260. package/dist/styles/global.cjs +16 -3
  261. package/dist/styles/global.d.cts +1 -1
  262. package/dist/styles/global.d.ts +1 -1
  263. package/dist/styles/global.js +3 -3
  264. package/dist/styles/themes.cjs +16 -3
  265. package/dist/styles/themes.d.cts +1 -1
  266. package/dist/styles/themes.d.ts +1 -1
  267. package/dist/styles/themes.js +1 -1
  268. package/dist/styles/tokens/spacing.cjs +60 -21
  269. package/dist/styles/tokens/spacing.d.cts +40 -20
  270. package/dist/styles/tokens/spacing.d.ts +40 -20
  271. package/dist/styles/tokens/spacing.js +1 -1
  272. package/dist/styles/type.d.cts +1 -1
  273. package/dist/styles/type.d.ts +1 -1
  274. package/dist/styles/type.js +4 -4
  275. package/dist/styles/typography.cjs +16 -3
  276. package/dist/styles/typography.d.cts +1 -1
  277. package/dist/styles/typography.d.ts +1 -1
  278. package/dist/styles/typography.js +2 -2
  279. package/dist/styles/utils.js +3 -3
  280. package/dist/{buttons-b7f56076.d.ts → themes-37e92940.d.ts} +91 -67
  281. package/dist/{buttons-e4eb84a2.d.ts → themes-832e46b2.d.ts} +91 -67
  282. package/dist/types/index.d.cts +1 -1
  283. package/dist/types/index.d.ts +1 -1
  284. package/dist/utils/toNonTypographicReactNodes.cjs +18 -4
  285. package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
  286. package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
  287. package/dist/utils/toNonTypographicReactNodes.js +4 -4
  288. package/dist/utils/toReactNodes.cjs +59 -21
  289. package/dist/utils/toReactNodes.d.cts +13 -9
  290. package/dist/utils/toReactNodes.d.ts +13 -9
  291. package/dist/utils/toReactNodes.js +19 -17
  292. package/package.json +1 -1
  293. package/dist/chunk-3XSQV5U4.js +0 -26
  294. package/dist/chunk-B2VYAIYR.js +0 -0
  295. package/dist/chunk-RSAYBOK5.js +0 -35
@@ -22,6 +22,18 @@ var __spreadValues = (a, b) => {
22
22
  return a;
23
23
  };
24
24
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
25
37
  var __export = (target, all) => {
26
38
  for (var name in all)
27
39
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -81,9 +93,9 @@ __export(PageSection_exports, {
81
93
  StyledPageSectionBox: () => StyledPageSectionBox
82
94
  });
83
95
  module.exports = __toCommonJS(PageSection_exports);
84
- var import_react30 = require("@emotion/react");
96
+ var import_react31 = require("@emotion/react");
85
97
  var import_styled20 = __toESM(require("@emotion/styled"), 1);
86
- var import_react31 = require("react");
98
+ var import_react32 = require("react");
87
99
 
88
100
  // src/styles/breakpoints.tsx
89
101
  var import_react = require("@emotion/react");
@@ -3608,6 +3620,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
3608
3620
  typography: getTypography("Lightspark" /* Lightspark */),
3609
3621
  hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
3610
3622
  buttons: defaultButtonsTheme,
3623
+ badge: {
3624
+ bg: "c05Neutral"
3625
+ },
3626
+ inputBackground: colors.white,
3611
3627
  loading: "LoadingSpinner"
3612
3628
  });
3613
3629
  var lightBaseTheme = baseTheme;
@@ -3644,7 +3660,11 @@ var darkBaseTheme = {
3644
3660
  vlcNeutral: colors.gray20,
3645
3661
  warning: colors.warning,
3646
3662
  buttons: defaultButtonsTheme,
3647
- loading: "LoadingSpinner"
3663
+ loading: "LoadingSpinner",
3664
+ inputBackground: colors.black,
3665
+ badge: {
3666
+ bg: "c15Neutral"
3667
+ }
3648
3668
  };
3649
3669
  var lightTheme = extend(lightBaseTheme, {
3650
3670
  header: extendBase(lightBaseTheme, {
@@ -3683,6 +3703,7 @@ var umameDocsLightTheme = extend(lightTheme, {
3683
3703
  secondary: colors.grayBlue43,
3684
3704
  text: colors.grayBlue9,
3685
3705
  link: colors.blue39,
3706
+ inputBackground: colors.white,
3686
3707
  typography: getTypography("UmameDocs" /* UmameDocs */, {
3687
3708
  main: "Manrope",
3688
3709
  code: "Monaco"
@@ -3759,7 +3780,10 @@ var bridgeBaseSettings = {
3759
3780
  defaultBorderWidth: 1
3760
3781
  }
3761
3782
  }
3762
- })
3783
+ }),
3784
+ badge: {
3785
+ bg: "grayBlue94"
3786
+ }
3763
3787
  };
3764
3788
  var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3765
3789
  type: "bridgeLight" /* BridgeLight */,
@@ -3767,7 +3791,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
3767
3791
  bg: colors.gray98,
3768
3792
  smBg: colors.gray98,
3769
3793
  text: colors.grayBlue9,
3770
- secondary: colors.grayBlue43
3794
+ secondary: colors.grayBlue43,
3795
+ inputBackground: colors.white
3771
3796
  }));
3772
3797
  var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
3773
3798
  type: "bridgeDark" /* BridgeDark */
@@ -3910,11 +3935,12 @@ var overlaySurfaceBorderColor = ({
3910
3935
  `;
3911
3936
  var overlaySurface = ({
3912
3937
  theme,
3913
- important = false
3938
+ important = false,
3939
+ border = true
3914
3940
  }) => import_react4.css`
3915
- background-color: ${themeOr(colors.white, theme.c1Neutral)({ theme })}
3941
+ background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
3916
3942
  ${important ? "!important" : ""};
3917
- border: 0.5px solid ${important ? "!important" : ""};
3943
+ ${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
3918
3944
  ${overlaySurfaceBorderColor({ theme, important })};
3919
3945
  ${themeOr(
3920
3946
  `box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
@@ -4228,7 +4254,11 @@ function select(component) {
4228
4254
  }
4229
4255
 
4230
4256
  // src/utils/toReactNodes.tsx
4231
- var import_react25 = require("react");
4257
+ var import_lodash_es4 = require("lodash-es");
4258
+ var import_react26 = require("react");
4259
+
4260
+ // src/components/typography/renderTypography.tsx
4261
+ var import_react25 = __toESM(require("react"), 1);
4232
4262
 
4233
4263
  // src/components/typography/Body.tsx
4234
4264
  var import_styled5 = __toESM(require("@emotion/styled"), 1);
@@ -8154,7 +8184,7 @@ var IconContainer = import_styled4.default.span`
8154
8184
  ${({ theme, fontColor }) => {
8155
8185
  const color = getFontColor(theme, fontColor, "inherit");
8156
8186
  return `
8157
- & svg {
8187
+ svg, path {
8158
8188
  color: ${getFontColor(theme, fontColor, "inherit")};
8159
8189
 
8160
8190
  /*
@@ -8309,6 +8339,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
8309
8339
  Link,
8310
8340
  {
8311
8341
  to: node.to,
8342
+ newTab: !!node.newTab,
8312
8343
  children: node.text
8313
8344
  },
8314
8345
  `link-${i}-${node.text.substr(0, 10)}`
@@ -8585,7 +8616,6 @@ var StyledTitle = import_styled14.default.span`
8585
8616
  `;
8586
8617
 
8587
8618
  // src/components/typography/renderTypography.tsx
8588
- var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
8589
8619
  var typographyMap = {
8590
8620
  Display,
8591
8621
  Headline,
@@ -8597,60 +8627,144 @@ var typographyMap = {
8597
8627
  "Label Strong": LabelStrong,
8598
8628
  Overline,
8599
8629
  Code: Code2,
8600
- "Code Strong": () => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("div", { children: "Unimplemented" })
8630
+ "Code Strong": Code2
8601
8631
  };
8602
8632
  var renderTypography = (type, props) => {
8603
8633
  const TypographyComponent = typographyMap[type];
8604
- return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(TypographyComponent, __spreadValues({}, props));
8634
+ const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
8635
+ return import_react25.default.createElement(TypographyComponent, rest, children);
8605
8636
  };
8606
8637
 
8607
8638
  // src/utils/toReactNodes.tsx
8608
- var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
8639
+ var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
8609
8640
  function toReactNodes(toReactNodesArg) {
8610
8641
  const toReactNodesArray = Array.isArray(toReactNodesArg) ? toReactNodesArg : [toReactNodesArg];
8611
8642
  const reactNodes = toReactNodesArray.map((node, i) => {
8612
8643
  let content;
8613
8644
  if (!node) {
8614
8645
  return null;
8615
- } else if (typeof node !== "string" && "typography" in node && node.typography.type && node.typography.props) {
8616
- content = /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_react25.Fragment, { children: renderTypography(
8646
+ } else if (typeof node !== "string" && "typography" in node && node.typography.type) {
8647
+ const props = node.typography.props || {};
8648
+ content = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_react26.Fragment, { children: renderTypography(
8617
8649
  node.typography.type,
8618
- Object.assign(node.typography.props, {
8619
- content: node
8620
- })
8650
+ Object.assign(props, { content: node })
8621
8651
  ) }, `typography-${i}-${node.text.substr(0, 10)}`);
8622
8652
  } else {
8623
8653
  content = toNonTypographicReactNodes(node);
8624
8654
  }
8625
8655
  return content || null;
8626
8656
  });
8627
- return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_react25.Fragment, { children: reactNodes });
8657
+ return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_react26.Fragment, { children: reactNodes });
8658
+ }
8659
+ function setReactNodesTypography(nodesArg, nodesTypographyMap, replaceExistingTypography = true) {
8660
+ const nodes = Array.isArray(nodesArg) ? nodesArg : [nodesArg];
8661
+ const nodesWithTypography = nodes.map((node, i) => {
8662
+ if (isIconNode(node)) {
8663
+ return node;
8664
+ } else if (typeof node === "string") {
8665
+ if (nodesTypographyMap.text) {
8666
+ return {
8667
+ text: node,
8668
+ typography: nodesTypographyMap.text
8669
+ };
8670
+ }
8671
+ } else if (!node) {
8672
+ return node;
8673
+ }
8674
+ const useExistingTypography = !replaceExistingTypography && (0, import_lodash_es4.isObject)(node) && "typography" in node ? node.typography : void 0;
8675
+ if (isLinkNode(node)) {
8676
+ if (nodesTypographyMap.link) {
8677
+ return __spreadProps(__spreadValues({}, node), {
8678
+ typography: useExistingTypography || nodesTypographyMap.link
8679
+ });
8680
+ }
8681
+ } else if (isExternalLinkNode(node)) {
8682
+ if (nodesTypographyMap.externalLink) {
8683
+ return __spreadProps(__spreadValues({}, node), {
8684
+ typography: useExistingTypography || nodesTypographyMap.externalLink
8685
+ });
8686
+ }
8687
+ } else if (isNextLinkNode(node)) {
8688
+ if (nodesTypographyMap.nextLink) {
8689
+ return __spreadProps(__spreadValues({}, node), {
8690
+ typography: useExistingTypography || nodesTypographyMap.nextLink
8691
+ });
8692
+ }
8693
+ } else if (isTextNode(node)) {
8694
+ if (nodesTypographyMap.text) {
8695
+ return __spreadProps(__spreadValues({}, node), {
8696
+ typography: useExistingTypography || nodesTypographyMap.text
8697
+ });
8698
+ }
8699
+ }
8700
+ return node;
8701
+ });
8702
+ return nodesWithTypography;
8703
+ }
8704
+ function setDefaultReactNodesTypography(nodesArg, nodesTypographyMap) {
8705
+ return setReactNodesTypography(nodesArg, nodesTypographyMap, false);
8628
8706
  }
8629
8707
 
8630
8708
  // src/components/Badge.tsx
8631
8709
  var import_styled15 = __toESM(require("@emotion/styled"), 1);
8632
- var import_jsx_runtime132 = require("@emotion/react/jsx-runtime");
8633
- function Badge({ text, color, ml = 0, mr = 0 }) {
8634
- return text ? /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(StyledBadge, { color, ml, children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(LabelModerate, { size: "Small", color, children: text }) }) : null;
8635
- }
8636
- var badgeVPadding = 2;
8637
- var StyledBadge = import_styled15.default.span`
8638
- ${standardBorderRadius(4)}
8710
+ var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
8711
+ function Badge({
8712
+ content: contentProp,
8713
+ kind,
8714
+ icon,
8715
+ ml = 0,
8716
+ mr = 0,
8717
+ size: size2 = "sm",
8718
+ block = false,
8719
+ typography: typographyProp
8720
+ }) {
8721
+ const typography = {
8722
+ type: (typographyProp == null ? void 0 : typographyProp.type) || "Label Moderate",
8723
+ props: {
8724
+ size: (typographyProp == null ? void 0 : typographyProp.size) || "Small",
8725
+ color: (typographyProp == null ? void 0 : typographyProp.color) || (kind === "danger" ? "danger" : "text")
8726
+ }
8727
+ };
8728
+ const typographyMap2 = {
8729
+ link: typography,
8730
+ externalLink: typography,
8731
+ text: typography,
8732
+ nextLink: typography
8733
+ };
8734
+ let content = setDefaultReactNodesTypography(
8735
+ contentProp,
8736
+ typographyMap2
8737
+ );
8738
+ content = toReactNodes(content);
8739
+ return contentProp ? /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(StyledBadge, { kind, ml, size: size2, block, children: [
8740
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Icon, { name: icon.name, width: 20, color: icon.color }) : null,
8741
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(BadgeContent, { children: content })
8742
+ ] }) : null;
8743
+ }
8744
+ var badgeSmVPadding = 2;
8745
+ var badgeSmHPadding = 6;
8746
+ var StyledBadge = import_styled15.default.div`
8747
+ ${({ size: size2 }) => standardBorderRadius(size2 === "sm" ? 4 : 12)}
8639
8748
  ${({ ml }) => ml === 0 ? "" : `margin-left: ${ml}px;`}
8640
- padding: ${badgeVPadding}px 6px;
8641
- background-color: ${({ theme, color }) => {
8642
- if (color === "danger") {
8749
+
8750
+ display: ${({ block }) => block ? "flex" : "inline-flex"};
8751
+ gap: ${({ size: size2 }) => size2 === "sm" ? badgeSmHPadding : 12}px;
8752
+ align-items: center;
8753
+ padding: ${({ size: size2 }) => size2 === "sm" ? `${badgeSmVPadding}px ${badgeSmHPadding}px` : "12px 16px"};
8754
+ background-color: ${({ theme, kind }) => {
8755
+ if (kind === "danger") {
8643
8756
  return getColor(theme, "red42a10");
8644
8757
  } else {
8645
- return isLight(theme) ? theme.c05Neutral : theme.c15Neutral;
8758
+ return getColor(theme, theme.badge.bg);
8646
8759
  }
8647
8760
  }};
8648
8761
  `;
8762
+ var BadgeContent = import_styled15.default.div``;
8649
8763
 
8650
8764
  // src/components/Dropdown.tsx
8651
- var import_react26 = require("@emotion/react");
8765
+ var import_react27 = require("@emotion/react");
8652
8766
  var import_styled17 = __toESM(require("@emotion/styled"), 1);
8653
- var import_react27 = require("react");
8767
+ var import_react28 = require("react");
8654
8768
  var import_react_dom = __toESM(require("react-dom"), 1);
8655
8769
 
8656
8770
  // src/styles/constants.ts
@@ -8673,7 +8787,7 @@ var UnstyledButton = import_styled16.default.button`
8673
8787
  `;
8674
8788
 
8675
8789
  // src/components/Dropdown.tsx
8676
- var import_jsx_runtime133 = require("@emotion/react/jsx-runtime");
8790
+ var import_jsx_runtime132 = require("@emotion/react/jsx-runtime");
8677
8791
  function Dropdown({
8678
8792
  button,
8679
8793
  dropdownItems,
@@ -8690,22 +8804,22 @@ function Dropdown({
8690
8804
  footer = null,
8691
8805
  dropdownContent = null
8692
8806
  }) {
8693
- const theme = (0, import_react26.useTheme)();
8694
- const [isOpen, setIsOpen] = (0, import_react27.useState)(false);
8695
- const [dropdownButtonHeight, setDropdownButtonHeight] = (0, import_react27.useState)(0);
8696
- const [dropdownButtonWidth, setDropdownButtonWidth] = (0, import_react27.useState)(0);
8697
- const [dropdownCoords, setDropdownCoords] = (0, import_react27.useState)({
8807
+ const theme = (0, import_react27.useTheme)();
8808
+ const [isOpen, setIsOpen] = (0, import_react28.useState)(false);
8809
+ const [dropdownButtonHeight, setDropdownButtonHeight] = (0, import_react28.useState)(0);
8810
+ const [dropdownButtonWidth, setDropdownButtonWidth] = (0, import_react28.useState)(0);
8811
+ const [dropdownCoords, setDropdownCoords] = (0, import_react28.useState)({
8698
8812
  top: 0,
8699
8813
  left: 0,
8700
8814
  right: 0
8701
8815
  });
8702
- const dropdownRef = (0, import_react27.useRef)(null);
8703
- const dropdownButtonRef = (0, import_react27.useRef)(null);
8704
- const dropdownItemsRef = (0, import_react27.useRef)(null);
8705
- const [dropdownItemsWidth, setDropdownItemsWidth] = (0, import_react27.useState)(0);
8706
- const nodeRef = (0, import_react27.useRef)(null);
8707
- const [nodeReady, setNodeReady] = (0, import_react27.useState)(false);
8708
- (0, import_react27.useEffect)(() => {
8816
+ const dropdownRef = (0, import_react28.useRef)(null);
8817
+ const dropdownButtonRef = (0, import_react28.useRef)(null);
8818
+ const dropdownItemsRef = (0, import_react28.useRef)(null);
8819
+ const [dropdownItemsWidth, setDropdownItemsWidth] = (0, import_react28.useState)(0);
8820
+ const nodeRef = (0, import_react28.useRef)(null);
8821
+ const [nodeReady, setNodeReady] = (0, import_react28.useState)(false);
8822
+ (0, import_react28.useEffect)(() => {
8709
8823
  if (!nodeRef.current) {
8710
8824
  nodeRef.current = document.createElement("div");
8711
8825
  document.body.appendChild(nodeRef.current);
@@ -8718,7 +8832,7 @@ function Dropdown({
8718
8832
  }
8719
8833
  };
8720
8834
  }, []);
8721
- const setOpen = (0, import_react27.useCallback)(
8835
+ const setOpen = (0, import_react28.useCallback)(
8722
8836
  (newValue) => {
8723
8837
  setIsOpen(newValue);
8724
8838
  if (newValue && onOpen) {
@@ -8744,13 +8858,13 @@ function Dropdown({
8744
8858
  setOpen(false);
8745
8859
  }
8746
8860
  }
8747
- const handleRef = (0, import_react27.useCallback)((ref) => {
8861
+ const handleRef = (0, import_react28.useCallback)((ref) => {
8748
8862
  if (ref && !dropdownButtonRef.current) {
8749
8863
  dropdownButtonRef.current = ref;
8750
8864
  }
8751
8865
  return ref;
8752
8866
  }, []);
8753
- (0, import_react27.useEffect)(() => {
8867
+ (0, import_react28.useEffect)(() => {
8754
8868
  function handleClickOutside(event) {
8755
8869
  const targetOutsideDropdownItems = dropdownItemsRef.current && !dropdownItemsRef.current.contains(event.target);
8756
8870
  const targetOutsideDropdownButton = dropdownButtonRef.current && !dropdownButtonRef.current.contains(event.target);
@@ -8763,7 +8877,7 @@ function Dropdown({
8763
8877
  window.document.removeEventListener("mousedown", handleClickOutside);
8764
8878
  };
8765
8879
  }, [isOpen, setOpen]);
8766
- const reposition = (0, import_react27.useCallback)(() => {
8880
+ const reposition = (0, import_react28.useCallback)(() => {
8767
8881
  if (dropdownButtonRef.current && dropdownItemsRef.current) {
8768
8882
  const dropdownButtonRect = dropdownButtonRef.current.getBoundingClientRect();
8769
8883
  setDropdownCoords({
@@ -8777,7 +8891,7 @@ function Dropdown({
8777
8891
  setDropdownItemsWidth(dropdownItemsRect.width);
8778
8892
  }
8779
8893
  }, []);
8780
- (0, import_react27.useLayoutEffect)(() => {
8894
+ (0, import_react28.useLayoutEffect)(() => {
8781
8895
  function onWindowResize() {
8782
8896
  setOpen(false);
8783
8897
  reposition();
@@ -8815,7 +8929,7 @@ function Dropdown({
8815
8929
  dropdownResizeObserver == null ? void 0 : dropdownResizeObserver.disconnect();
8816
8930
  };
8817
8931
  }, [setOpen, horizontalScrollRef, closeOnScroll, reposition]);
8818
- const handleClickDropdownItems = (0, import_react27.useCallback)(() => {
8932
+ const handleClickDropdownItems = (0, import_react28.useCallback)(() => {
8819
8933
  setOpen(false);
8820
8934
  onClickDropdownItems && onClickDropdownItems();
8821
8935
  }, [onClickDropdownItems, setOpen]);
@@ -8829,13 +8943,13 @@ function Dropdown({
8829
8943
  }
8830
8944
  const buttonContent = button.label || button.getContent && button.getContent({ isOpen, theme });
8831
8945
  const containerCSS = getCSS && getCSS({ isOpen, theme });
8832
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
8946
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(
8833
8947
  "div",
8834
8948
  {
8835
8949
  css: __spreadValues({ position: "relative", display: "inline-flex" }, containerCSS),
8836
8950
  ref: dropdownRef,
8837
8951
  children: [
8838
- /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
8952
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
8839
8953
  DropdownButton,
8840
8954
  {
8841
8955
  id: button.id,
@@ -8863,7 +8977,7 @@ function Dropdown({
8863
8977
  }
8864
8978
  ),
8865
8979
  nodeReady && nodeRef.current ? import_react_dom.default.createPortal(
8866
- /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
8980
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(
8867
8981
  DropdownItems,
8868
8982
  {
8869
8983
  isOpen,
@@ -8874,7 +8988,7 @@ function Dropdown({
8874
8988
  maxWidth: maxDropdownItemsWidth,
8875
8989
  children: [
8876
8990
  dropdownItems == null ? void 0 : dropdownItems.map((dropdownItem, i) => {
8877
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)("li", { onBlur: handleBlur, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
8991
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("li", { onBlur: handleBlur, children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
8878
8992
  DropdownItem,
8879
8993
  {
8880
8994
  dropdownItem,
@@ -8883,7 +8997,7 @@ function Dropdown({
8883
8997
  ) }, dropdownItem.label);
8884
8998
  }),
8885
8999
  dropdownContent,
8886
- footer && /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(DropdownFooter, { children: footer })
9000
+ footer && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(DropdownFooter, { children: footer })
8887
9001
  ]
8888
9002
  }
8889
9003
  ),
@@ -8917,9 +9031,9 @@ function DropdownItem({
8917
9031
  dropdownItem,
8918
9032
  onClick
8919
9033
  }) {
8920
- const theme = (0, import_react26.useTheme)();
9034
+ const theme = (0, import_react27.useTheme)();
8921
9035
  const dropdownItemIcon = dropdownItem.getIcon && dropdownItem.getIcon({ dropdownItem, theme });
8922
- const dropdownItemIconNode = dropdownItemIcon ? /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
9036
+ const dropdownItemIconNode = dropdownItemIcon ? /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
8923
9037
  Icon,
8924
9038
  {
8925
9039
  name: dropdownItemIcon.name,
@@ -8928,12 +9042,12 @@ function DropdownItem({
8928
9042
  }
8929
9043
  ) : null;
8930
9044
  const cssProp2 = dropdownItem.getCSS && dropdownItem.getCSS({ theme, dropdownItem });
8931
- const onClickDropdownItem = (0, import_react27.useCallback)(() => {
9045
+ const onClickDropdownItem = (0, import_react28.useCallback)(() => {
8932
9046
  dropdownItem.onClick && dropdownItem.onClick(dropdownItem);
8933
9047
  onClick && onClick();
8934
9048
  }, [dropdownItem, onClick]);
8935
9049
  if (dropdownItem.to !== void 0 || dropdownItem.externalLink) {
8936
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
9050
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(
8937
9051
  DropdownItemLink,
8938
9052
  {
8939
9053
  selected: Boolean(dropdownItem.selected),
@@ -8950,7 +9064,7 @@ function DropdownItem({
8950
9064
  }
8951
9065
  );
8952
9066
  }
8953
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsxs)(
9067
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsxs)(
8954
9068
  DropdownItemDiv,
8955
9069
  {
8956
9070
  selected: false,
@@ -8987,13 +9101,13 @@ var dropdownItemStyle = ({ selected, theme }) => `
8987
9101
  var cssProp = ({
8988
9102
  theme,
8989
9103
  selected
8990
- }) => import_react26.css`
9104
+ }) => import_react27.css`
8991
9105
  ${dropdownItemStyle({ theme, selected: Boolean(selected) })}
8992
9106
  ${standardFocusOutline({ theme })}
8993
9107
  `;
8994
9108
  function DropdownItemLink(props) {
8995
- const theme = (0, import_react26.useTheme)();
8996
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
9109
+ const theme = (0, import_react27.useTheme)();
9110
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
8997
9111
  Link,
8998
9112
  __spreadProps(__spreadValues({}, props), {
8999
9113
  css: cssProp({ theme, selected: Boolean(props.selected) })
@@ -9006,9 +9120,9 @@ var DropdownItemDiv = import_styled17.default.div`
9006
9120
  `;
9007
9121
 
9008
9122
  // src/components/Loading.tsx
9009
- var import_react28 = require("@emotion/react");
9123
+ var import_react29 = require("@emotion/react");
9010
9124
  var import_styled18 = __toESM(require("@emotion/styled"), 1);
9011
- var import_jsx_runtime134 = require("@emotion/react/jsx-runtime");
9125
+ var import_jsx_runtime133 = require("@emotion/react/jsx-runtime");
9012
9126
  var defaultProps = {
9013
9127
  size: 60,
9014
9128
  center: true,
@@ -9019,8 +9133,8 @@ function Loading({
9019
9133
  size: size2 = defaultProps.size,
9020
9134
  ml = defaultProps.ml
9021
9135
  }) {
9022
- const theme = (0, import_react28.useTheme)();
9023
- return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(LoadingWrapper, { center, ml, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Rotate, { children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Icon, { name: theme.loading, width: size2 }) }) });
9136
+ const theme = (0, import_react29.useTheme)();
9137
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(LoadingWrapper, { center, ml, children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(Rotate, { children: /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(Icon, { name: theme.loading, width: size2 }) }) });
9024
9138
  }
9025
9139
  Loading.defaultProps = defaultProps;
9026
9140
  var LoadingWrapper = import_styled18.default.div`
@@ -9058,11 +9172,11 @@ var Rotate = import_styled18.default.div`
9058
9172
  `;
9059
9173
 
9060
9174
  // src/components/TextButton.tsx
9061
- var import_react29 = require("@emotion/react");
9175
+ var import_react30 = require("@emotion/react");
9062
9176
  var import_styled19 = __toESM(require("@emotion/styled"), 1);
9063
9177
 
9064
9178
  // src/components/TextIconAligner.tsx
9065
- var import_jsx_runtime135 = require("@emotion/react/jsx-runtime");
9179
+ var import_jsx_runtime134 = require("@emotion/react/jsx-runtime");
9066
9180
  function TextIconAligner({
9067
9181
  content,
9068
9182
  typography,
@@ -9075,7 +9189,7 @@ function TextIconAligner({
9075
9189
  size: (typography == null ? void 0 : typography.size) || "Small",
9076
9190
  color: (typography == null ? void 0 : typography.color) || "inherit"
9077
9191
  });
9078
- const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
9192
+ const leftIconNode = leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
9079
9193
  Icon,
9080
9194
  {
9081
9195
  name: leftIcon.name,
@@ -9084,7 +9198,7 @@ function TextIconAligner({
9084
9198
  color: leftIcon.color
9085
9199
  }
9086
9200
  ) : null;
9087
- const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
9201
+ const rightIconNode = rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
9088
9202
  Icon,
9089
9203
  {
9090
9204
  name: rightIcon.name,
@@ -9093,7 +9207,7 @@ function TextIconAligner({
9093
9207
  color: rightIcon.color
9094
9208
  }
9095
9209
  ) : null;
9096
- return /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(
9210
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(
9097
9211
  "span",
9098
9212
  {
9099
9213
  css: {
@@ -9112,7 +9226,7 @@ function TextIconAligner({
9112
9226
  }
9113
9227
 
9114
9228
  // src/components/TextButton.tsx
9115
- var import_jsx_runtime136 = require("@emotion/react/jsx-runtime");
9229
+ var import_jsx_runtime135 = require("@emotion/react/jsx-runtime");
9116
9230
  function TextButton({
9117
9231
  text: textProp,
9118
9232
  to,
@@ -9138,7 +9252,7 @@ function TextButton({
9138
9252
  };
9139
9253
  }
9140
9254
  const defaultIconColor = iconMatchTextColor ? void 0 : "mcNeutral";
9141
- const content = /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
9255
+ const content = /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
9142
9256
  TextIconAligner,
9143
9257
  {
9144
9258
  onClick,
@@ -9168,15 +9282,15 @@ function TextButton({
9168
9282
  }
9169
9283
  };
9170
9284
  if (to) {
9171
- return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, children: content }));
9285
+ return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, children: content }));
9172
9286
  }
9173
- return href ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(ButtonHrefLink, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
9287
+ return href ? /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(ButtonHrefLink, __spreadProps(__spreadValues({}, commonProps), { href, target: "_blank", children: content })) : /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
9174
9288
  }
9175
9289
  var buttonStyle = ({
9176
9290
  theme,
9177
9291
  disabled,
9178
9292
  padding
9179
- }) => import_react29.css`
9293
+ }) => import_react30.css`
9180
9294
  display: inline-flex;
9181
9295
  opacity: ${disabled ? 0.2 : 1};
9182
9296
  align-items: center;
@@ -9208,15 +9322,15 @@ var ButtonHrefLink = import_styled19.default.a`
9208
9322
  var pageSectionScrollOffset = 20;
9209
9323
 
9210
9324
  // src/components/PageSection/PageSection.tsx
9211
- var import_jsx_runtime137 = require("@emotion/react/jsx-runtime");
9325
+ var import_jsx_runtime136 = require("@emotion/react/jsx-runtime");
9212
9326
  function PageSection({
9213
9327
  children,
9214
9328
  title,
9215
9329
  sectionId,
9216
9330
  headerOffset = 0
9217
9331
  }) {
9218
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(StyledPageSection, { scrollMarginTop: headerOffset + pageSectionScrollOffset, children: [
9219
- title ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(Heading, { type: "h3", id: sectionId, mt: 0, mb: 40, children: title }) : null,
9332
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(StyledPageSection, { scrollMarginTop: headerOffset + pageSectionScrollOffset, children: [
9333
+ title ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Heading, { type: "h3", id: sectionId, mt: 0, mb: 40, children: title }) : null,
9220
9334
  children
9221
9335
  ] });
9222
9336
  }
@@ -9244,9 +9358,9 @@ var PageSectionBoxActionColumn = ({
9244
9358
  label,
9245
9359
  value,
9246
9360
  valueId
9247
- }) => /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(StyledPageSectionBoxActionColumn, { children: [
9248
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxActionColumnLabel, { children: label }),
9249
- value ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxActionColumnValue, { id: valueId, children: value }) : /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxActionColumnNoValue, { children: "Unknown" })
9361
+ }) => /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(StyledPageSectionBoxActionColumn, { children: [
9362
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxActionColumnLabel, { children: label }),
9363
+ value ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxActionColumnValue, { id: valueId, children: value }) : /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxActionColumnNoValue, { children: "Unknown" })
9250
9364
  ] });
9251
9365
  var StyledPageSectionBoxActionColumn = import_styled20.default.div``;
9252
9366
  var PageSectionBoxActionColumnLabel = import_styled20.default.div`
@@ -9277,18 +9391,18 @@ function PageSectionBoxAction({
9277
9391
  to,
9278
9392
  toParams
9279
9393
  }) {
9280
- const theme = (0, import_react30.useTheme)();
9281
- return loading ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(Loading, { size: 12, center: false }) }) : icon ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(UnstyledButton, { onClick: icon.onClick, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(Icon, { name: icon.name, width: 12, color: "mcNeutral" }) }) }) : dropdownItems ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
9394
+ const theme = (0, import_react31.useTheme)();
9395
+ return loading ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Loading, { size: 12, center: false }) }) : icon ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(UnstyledButton, { onClick: icon.onClick, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Icon, { name: icon.name, width: 12, color: "mcNeutral" }) }) }) : dropdownItems ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
9282
9396
  Dropdown,
9283
9397
  {
9284
9398
  button: {
9285
- getContent: () => /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(Icon, { name: "DotGrid1x3Horizontal", width: 16 })
9399
+ getContent: () => /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Icon, { name: "DotGrid1x3Horizontal", width: 16 })
9286
9400
  },
9287
9401
  dropdownItems
9288
9402
  }
9289
- ) : isDelete ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(UnstyledButton, { css: { color: theme.mcNeutral }, onClick, children: "Delete" }) : label ? (
9403
+ ) : isDelete ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(UnstyledButton, { css: { color: theme.mcNeutral }, onClick, children: "Delete" }) : label ? (
9290
9404
  /* Extra div for proper default alignment inside flex contexts */
9291
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
9405
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(
9292
9406
  TextButton,
9293
9407
  {
9294
9408
  leftIcon: icon,
@@ -9309,21 +9423,21 @@ var PageSectionBoxActionRow = ({
9309
9423
  action,
9310
9424
  smFlexColumn = true
9311
9425
  }) => {
9312
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(import_react31.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(
9426
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(import_react32.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(
9313
9427
  SPageSectionBoxActionRow,
9314
9428
  {
9315
9429
  separator: Boolean(separator),
9316
9430
  smFlexColumn: Boolean(smFlexColumn),
9317
9431
  children: [
9318
- title ? /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)("div", { children: [
9319
- /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(PageSectionBoxTitle, { children: [
9432
+ title ? /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { children: [
9433
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(PageSectionBoxTitle, { children: [
9320
9434
  title,
9321
- titleBadge ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(Badge, { text: titleBadge, ml: 4 }) : null
9435
+ titleBadge ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Badge, { content: titleBadge, ml: 4 }) : null
9322
9436
  ] }),
9323
- description ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxDescription, { children: description }) : null
9437
+ description ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxDescription, { children: description }) : null
9324
9438
  ] }) : null,
9325
9439
  children,
9326
- /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxAction, __spreadValues({}, action))
9440
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxAction, __spreadValues({}, action))
9327
9441
  ]
9328
9442
  }
9329
9443
  ) });
@@ -9371,10 +9485,10 @@ function PageSectionBox({
9371
9485
  description,
9372
9486
  children
9373
9487
  }) {
9374
- return /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(StyledPageSectionBox, { children: [
9375
- description && /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxDescription, { children: toReactNodes(description) }),
9488
+ return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)(StyledPageSectionBox, { children: [
9489
+ description && /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxDescription, { children: toReactNodes(description) }),
9376
9490
  children,
9377
- (action == null ? void 0 : action.label) ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("div", { css: { marginTop: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime137.jsx)(PageSectionBoxAction, __spreadValues({}, action)) }) : null
9491
+ (action == null ? void 0 : action.label) ? /* @__PURE__ */ (0, import_jsx_runtime136.jsx)("div", { css: { marginTop: "12px" }, children: /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(PageSectionBoxAction, __spreadValues({}, action)) }) : null
9378
9492
  ] });
9379
9493
  }
9380
9494
  var StyledPageSectionBox = import_styled20.default.div`
@@ -9440,7 +9554,7 @@ var PageSectionBoxTitle = import_styled20.default.div`
9440
9554
  align-items: center;
9441
9555
  font-size: ${({ lg }) => lg ? 14 : 12}px;
9442
9556
  font-weight: 600;
9443
- line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) + badgeVPadding * 2}px;
9557
+ line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) + badgeSmVPadding * 2}px;
9444
9558
  `;
9445
9559
  var PageSectionBoxDescription = import_styled20.default.div`
9446
9560
  color: ${({ theme }) => theme.mcNeutral};