@lightsparkdev/ui 1.0.3 → 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.
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-X4TGLNCH.js → chunk-242JGEN4.js} +3 -3
- package/dist/{chunk-7N2PFDYE.js → chunk-2P6TCMZN.js} +2 -2
- package/dist/{chunk-K7FYXGOI.js → chunk-3R5KJDSL.js} +1 -1
- package/dist/{chunk-SNFRMD6Z.js → chunk-4BERRPJN.js} +3 -3
- package/dist/{chunk-LH7GLNMY.js → chunk-4KURUJD2.js} +1 -1
- package/dist/{chunk-XDP7GCYE.js → chunk-4X67A2CS.js} +1 -1
- package/dist/{chunk-QQSV7XJX.js → chunk-5F7IOIWL.js} +1 -1
- package/dist/{chunk-BENSR2YW.js → chunk-5ON3ICVC.js} +1 -1
- package/dist/{chunk-XB4KQFK2.js → chunk-642OXLAD.js} +2 -2
- package/dist/{chunk-BDZ46Z2I.js → chunk-7BSME2ZU.js} +2 -2
- package/dist/{chunk-2AGBCGOW.js → chunk-7COKMITX.js} +2 -2
- package/dist/{chunk-Y7RQUJUS.js → chunk-7OJQZEVL.js} +5 -5
- package/dist/{chunk-XM2HQVUK.js → chunk-7RLDCOUT.js} +4 -4
- package/dist/{chunk-6CNJ5ZCC.js → chunk-7RMHMFS2.js} +3 -3
- package/dist/{chunk-35PJW7RT.js → chunk-AZOVE32P.js} +2 -2
- package/dist/{chunk-BHP5YL2N.js → chunk-BAGRU7JE.js} +1 -1
- package/dist/{chunk-KX5QZXCD.js → chunk-BPGBJRZE.js} +1 -1
- package/dist/{chunk-YRNEIRHM.js → chunk-BRRDPQWW.js} +4 -4
- package/dist/{chunk-LOL5TJ3H.js → chunk-C3YODRA3.js} +15 -15
- package/dist/{chunk-2XUHQWCJ.js → chunk-C4HNAZFZ.js} +3 -3
- package/dist/{chunk-PG2W2HVB.js → chunk-CZFFMEAS.js} +1 -1
- package/dist/{chunk-MRGHRTKA.js → chunk-DIKOS5R6.js} +2 -2
- package/dist/{chunk-5TTLUOJ5.js → chunk-DNGAINGL.js} +1 -1
- package/dist/{chunk-J3YVJWRG.js → chunk-DWUP3RDU.js} +4 -4
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/chunk-EIFK352Q.js +27 -0
- package/dist/{chunk-UH5F35II.js → chunk-GLEAWATH.js} +3 -3
- package/dist/{chunk-7WDAN3OC.js → chunk-GQVNE3NU.js} +1 -1
- package/dist/{chunk-WGKUDRZ7.js → chunk-HPZVUEDJ.js} +2 -2
- package/dist/{chunk-GWHKALYQ.js → chunk-HVDX4OZJ.js} +2 -2
- package/dist/{chunk-LTCJ6LNO.js → chunk-JAPRGAB7.js} +1 -1
- package/dist/{chunk-JNNJVBHF.js → chunk-JH53NBOD.js} +13 -9
- package/dist/{chunk-BSH6WRUZ.js → chunk-KBLCFXNL.js} +3 -3
- package/dist/{chunk-LGKXPUSI.js → chunk-KJHREJHT.js} +2 -2
- package/dist/{chunk-E4DUADXU.js → chunk-LFD2KVAB.js} +1 -1
- package/dist/{chunk-VXKNN4SF.js → chunk-LGXMGWLV.js} +17 -16
- package/dist/{chunk-435FPPZK.js → chunk-LLGN3OM3.js} +2 -2
- package/dist/{chunk-MWDDIXIP.js → chunk-MK2JFFUG.js} +1 -1
- package/dist/{chunk-SLKPLSJU.js → chunk-MNMVZI7D.js} +10 -10
- package/dist/{chunk-WTMJTGW4.js → chunk-OMY3WTAU.js} +2 -2
- package/dist/{chunk-4C2TISN7.js → chunk-OUHQXQOJ.js} +1 -1
- package/dist/{chunk-CRTTTIAD.js → chunk-OZQ5WPLN.js} +2 -2
- package/dist/{chunk-7FHOKVKJ.js → chunk-PDQVYUEW.js} +6 -6
- package/dist/{chunk-ILEZ6AWT.js → chunk-QCHEDM2I.js} +3 -3
- package/dist/{chunk-DXA3WUSX.js → chunk-RESJONBZ.js} +2 -2
- package/dist/{chunk-7YY6BH5O.js → chunk-SZ4KKLYJ.js} +2 -2
- package/dist/{chunk-7IHNYMFQ.js → chunk-THTKSZSR.js} +2 -2
- package/dist/{chunk-I3FI3FNP.js → chunk-TNDSUTUN.js} +2 -2
- package/dist/{chunk-PQKVR2BR.js → chunk-TNISOOCF.js} +1 -1
- package/dist/{chunk-4BFBANKF.js → chunk-UNFCVZ32.js} +36 -33
- package/dist/{chunk-B6S7Y4K7.js → chunk-V523QTZQ.js} +2 -2
- package/dist/{chunk-IBZBPQMZ.js → chunk-VNQE6KEX.js} +13 -4
- package/dist/{chunk-HGOGF6I7.js → chunk-VR2GLRXH.js} +1 -1
- package/dist/chunk-VWD7T5MQ.js +74 -0
- package/dist/{chunk-54EOEIEN.js → chunk-VXH6GWGE.js} +2 -2
- package/dist/{chunk-4JHXRPRB.js → chunk-W2N5QUG6.js} +9 -6
- package/dist/{chunk-YIHC25WB.js → chunk-WDJMAZFO.js} +3 -3
- package/dist/{chunk-C4KZC45Y.js → chunk-XS4MH3QA.js} +54 -71
- package/dist/{chunk-OKXC33OU.js → chunk-YRFCWL73.js} +5 -2
- package/dist/{chunk-GSKTHUQJ.js → chunk-YRZ3VNBI.js} +2 -2
- package/dist/{chunk-N2NPIZCV.js → chunk-ZCXGHQQF.js} +9 -9
- package/dist/{chunk-LIQSJ5R7.js → chunk-ZO35RX7V.js} +21 -13
- package/dist/{chunk-RPNTFEXE.js → chunk-ZS7G6WIG.js} +1 -1
- package/dist/components/Badge.cjs +7781 -7417
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +20 -23
- package/dist/components/Banner/Banner.cjs +50 -26
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +18 -18
- package/dist/components/Button.cjs +36 -24
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +20 -20
- package/dist/components/ButtonRow.cjs +39 -27
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +22 -22
- package/dist/components/CardPage.cjs +13 -4
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.cjs +3 -3
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +13 -4
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +13 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +13 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +78 -7
- package/dist/components/Collapsible.js +6 -6
- package/dist/components/CommaNumberInput.cjs +13 -4
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +11 -11
- package/dist/components/ContentTable.cjs +13 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +13 -4
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +13 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +118 -43
- package/dist/components/Drawer.js +22 -22
- package/dist/components/Dropdown.cjs +13 -4
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +5 -5
- package/dist/components/FileInput.cjs +13 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +13 -4
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/IconWithCircleBackground.cjs +7347 -7340
- package/dist/components/IconWithCircleBackground.js +4 -73
- package/dist/components/InfoIconTooltip.cjs +53 -29
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +19 -19
- package/dist/components/LightsparkProvider.cjs +13 -4
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +13 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +202 -127
- package/dist/components/Modal.d.cts +9 -9
- package/dist/components/Modal.d.ts +9 -9
- package/dist/components/Modal.js +27 -68
- package/dist/components/PageSection/PageSection.cjs +205 -97
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +27 -31
- package/dist/components/PageSection/PageSectionNav.cjs +45 -21
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +13 -4
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +11 -11
- package/dist/components/Pill.cjs +13 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +13 -4
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +7406 -7335
- package/dist/components/Radio.js +8 -22
- package/dist/components/SecretContainer.cjs +13 -4
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +41 -17
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +19 -19
- package/dist/components/TextIconAligner.cjs +35 -11
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +17 -17
- package/dist/components/TextInput.cjs +13 -4
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +10 -10
- package/dist/components/Toasts.cjs +61 -37
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +20 -20
- package/dist/components/Toggle.cjs +105 -98
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +13 -4
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +13 -4
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +8 -8
- package/dist/components/documentation/DocsBodyParagraph.cjs +13 -4
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +6 -6
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +13 -4
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
- package/dist/components/documentation/DocsHeadline.cjs +13 -4
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +7 -7
- package/dist/components/documentation/Video.js +2 -2
- package/dist/components/documentation/index.cjs +13 -4
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +8 -8
- package/dist/components/index.cjs +8341 -8176
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +69 -70
- package/dist/components/typography/Article.cjs +100 -29
- package/dist/components/typography/Article.js +14 -14
- package/dist/components/typography/Body.cjs +13 -4
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +13 -4
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +13 -4
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +13 -4
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +13 -4
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +13 -4
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +13 -4
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +13 -4
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +13 -4
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +13 -4
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +100 -29
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +22 -23
- package/dist/components/typography/renderTypography.cjs +29 -7
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- package/dist/components/typography/renderTypography.js +16 -16
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/common.cjs +13 -4
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +2 -2
- package/dist/styles/fields.cjs +13 -4
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +4 -4
- package/dist/styles/global.cjs +13 -4
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +3 -3
- package/dist/styles/themes.cjs +13 -4
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +1 -1
- package/dist/styles/tokens/spacing.cjs +60 -21
- package/dist/styles/tokens/spacing.d.cts +40 -20
- package/dist/styles/tokens/spacing.d.ts +40 -20
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +4 -4
- package/dist/styles/typography.cjs +13 -4
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +2 -2
- package/dist/styles/utils.js +3 -3
- package/dist/{buttons-36cdd0fe.d.ts → themes-37e92940.d.ts} +91 -74
- package/dist/{buttons-35280bfe.d.ts → themes-832e46b2.d.ts} +91 -74
- package/dist/utils/toNonTypographicReactNodes.cjs +13 -4
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +4 -4
- package/dist/utils/toReactNodes.cjs +54 -21
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +19 -17
- package/package.json +1 -1
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-SEZEDINC.js +0 -35
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-242JGEN4.js";
|
|
4
|
+
import "../chunk-ZS7G6WIG.js";
|
|
5
|
+
import "../chunk-JAPRGAB7.js";
|
|
6
6
|
import "../chunk-55OQPFLF.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-TNDSUTUN.js";
|
|
8
8
|
import "../chunk-EDN2QDCB.js";
|
|
9
9
|
import "../chunk-FT62PIPN.js";
|
|
10
10
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -119,8 +119,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
119
119
|
import "../chunk-QW2INB5A.js";
|
|
120
120
|
import "../chunk-JLD7MGLC.js";
|
|
121
121
|
import "../chunk-DW6LFUI2.js";
|
|
122
|
-
import "../chunk-
|
|
123
|
-
import "../chunk-
|
|
122
|
+
import "../chunk-CZFFMEAS.js";
|
|
123
|
+
import "../chunk-VNQE6KEX.js";
|
|
124
124
|
import "../chunk-ENBUKLVT.js";
|
|
125
125
|
import "../chunk-JSGRNWSB.js";
|
|
126
126
|
import "../chunk-FO7I4E45.js";
|
|
@@ -7352,8 +7352,7 @@ var baseThemeColors = {
|
|
|
7352
7352
|
success: colors.success,
|
|
7353
7353
|
text: colors.black,
|
|
7354
7354
|
vlcNeutral: colors.gray95,
|
|
7355
|
-
warning: colors.warning
|
|
7356
|
-
inputBackground: colors.white
|
|
7355
|
+
warning: colors.warning
|
|
7357
7356
|
};
|
|
7358
7357
|
var themeOrColorKeyValues = [
|
|
7359
7358
|
...Object.keys(baseThemeColors),
|
|
@@ -7365,6 +7364,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
7365
7364
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
7366
7365
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
7367
7366
|
buttons: defaultButtonsTheme,
|
|
7367
|
+
badge: {
|
|
7368
|
+
bg: "c05Neutral"
|
|
7369
|
+
},
|
|
7370
|
+
inputBackground: colors.white,
|
|
7368
7371
|
loading: "LoadingSpinner"
|
|
7369
7372
|
});
|
|
7370
7373
|
var lightBaseTheme = baseTheme;
|
|
@@ -7402,7 +7405,10 @@ var darkBaseTheme = {
|
|
|
7402
7405
|
warning: colors.warning,
|
|
7403
7406
|
buttons: defaultButtonsTheme,
|
|
7404
7407
|
loading: "LoadingSpinner",
|
|
7405
|
-
inputBackground: colors.black
|
|
7408
|
+
inputBackground: colors.black,
|
|
7409
|
+
badge: {
|
|
7410
|
+
bg: "c15Neutral"
|
|
7411
|
+
}
|
|
7406
7412
|
};
|
|
7407
7413
|
var lightTheme = extend(lightBaseTheme, {
|
|
7408
7414
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7518,7 +7524,10 @@ var bridgeBaseSettings = {
|
|
|
7518
7524
|
defaultBorderWidth: 1
|
|
7519
7525
|
}
|
|
7520
7526
|
}
|
|
7521
|
-
})
|
|
7527
|
+
}),
|
|
7528
|
+
badge: {
|
|
7529
|
+
bg: "grayBlue94"
|
|
7530
|
+
}
|
|
7522
7531
|
};
|
|
7523
7532
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7524
7533
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CurrencyAmount,
|
|
3
3
|
CurrencyIcon
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4KURUJD2.js";
|
|
5
|
+
import "../chunk-TNDSUTUN.js";
|
|
6
6
|
import "../chunk-EDN2QDCB.js";
|
|
7
7
|
import "../chunk-FT62PIPN.js";
|
|
8
8
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -117,8 +117,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
117
117
|
import "../chunk-QW2INB5A.js";
|
|
118
118
|
import "../chunk-JLD7MGLC.js";
|
|
119
119
|
import "../chunk-DW6LFUI2.js";
|
|
120
|
-
import "../chunk-
|
|
121
|
-
import "../chunk-
|
|
120
|
+
import "../chunk-CZFFMEAS.js";
|
|
121
|
+
import "../chunk-VNQE6KEX.js";
|
|
122
122
|
import "../chunk-ENBUKLVT.js";
|
|
123
123
|
import "../chunk-JSGRNWSB.js";
|
|
124
124
|
import "../chunk-FO7I4E45.js";
|
|
@@ -84,7 +84,7 @@ __export(Drawer_exports, {
|
|
|
84
84
|
});
|
|
85
85
|
module.exports = __toCommonJS(Drawer_exports);
|
|
86
86
|
var import_styled16 = __toESM(require("@emotion/styled"), 1);
|
|
87
|
-
var
|
|
87
|
+
var import_react27 = require("react");
|
|
88
88
|
|
|
89
89
|
// src/styles/colors.tsx
|
|
90
90
|
var neutral = {
|
|
@@ -3597,8 +3597,7 @@ var baseThemeColors = {
|
|
|
3597
3597
|
success: colors.success,
|
|
3598
3598
|
text: colors.black,
|
|
3599
3599
|
vlcNeutral: colors.gray95,
|
|
3600
|
-
warning: colors.warning
|
|
3601
|
-
inputBackground: colors.white
|
|
3600
|
+
warning: colors.warning
|
|
3602
3601
|
};
|
|
3603
3602
|
var themeOrColorKeyValues = [
|
|
3604
3603
|
...Object.keys(baseThemeColors),
|
|
@@ -3610,6 +3609,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3610
3609
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3611
3610
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3612
3611
|
buttons: defaultButtonsTheme,
|
|
3612
|
+
badge: {
|
|
3613
|
+
bg: "c05Neutral"
|
|
3614
|
+
},
|
|
3615
|
+
inputBackground: colors.white,
|
|
3613
3616
|
loading: "LoadingSpinner"
|
|
3614
3617
|
});
|
|
3615
3618
|
var lightBaseTheme = baseTheme;
|
|
@@ -3647,7 +3650,10 @@ var darkBaseTheme = {
|
|
|
3647
3650
|
warning: colors.warning,
|
|
3648
3651
|
buttons: defaultButtonsTheme,
|
|
3649
3652
|
loading: "LoadingSpinner",
|
|
3650
|
-
inputBackground: colors.black
|
|
3653
|
+
inputBackground: colors.black,
|
|
3654
|
+
badge: {
|
|
3655
|
+
bg: "c15Neutral"
|
|
3656
|
+
}
|
|
3651
3657
|
};
|
|
3652
3658
|
var lightTheme = extend(lightBaseTheme, {
|
|
3653
3659
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3763,7 +3769,10 @@ var bridgeBaseSettings = {
|
|
|
3763
3769
|
defaultBorderWidth: 1
|
|
3764
3770
|
}
|
|
3765
3771
|
}
|
|
3766
|
-
})
|
|
3772
|
+
}),
|
|
3773
|
+
badge: {
|
|
3774
|
+
bg: "grayBlue94"
|
|
3775
|
+
}
|
|
3767
3776
|
};
|
|
3768
3777
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3769
3778
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3949,6 +3958,68 @@ var overlaySurface = ({
|
|
|
3949
3958
|
)({ theme })}
|
|
3950
3959
|
`;
|
|
3951
3960
|
|
|
3961
|
+
// src/styles/tokens/spacing.tsx
|
|
3962
|
+
var n = {
|
|
3963
|
+
"4xs": 2,
|
|
3964
|
+
"3xs": 4,
|
|
3965
|
+
"2xs": 6,
|
|
3966
|
+
xs: 8,
|
|
3967
|
+
sm: 12,
|
|
3968
|
+
md: 16,
|
|
3969
|
+
lg: 24,
|
|
3970
|
+
xl: 32,
|
|
3971
|
+
"2xl": 40,
|
|
3972
|
+
"3xl": 48,
|
|
3973
|
+
"4xl": 56,
|
|
3974
|
+
"5xl": 64,
|
|
3975
|
+
"6xl": 72,
|
|
3976
|
+
"7xl": 80,
|
|
3977
|
+
"8xl": 96,
|
|
3978
|
+
"9xl": 112,
|
|
3979
|
+
"10xl": 128,
|
|
3980
|
+
"11xl": 160
|
|
3981
|
+
};
|
|
3982
|
+
var Spacing = {
|
|
3983
|
+
"4xs": n["4xs"],
|
|
3984
|
+
"3xs": n["3xs"],
|
|
3985
|
+
"2xs": n["2xs"],
|
|
3986
|
+
xs: n.xs,
|
|
3987
|
+
sm: n.sm,
|
|
3988
|
+
md: n.md,
|
|
3989
|
+
lg: n.lg,
|
|
3990
|
+
xl: n.xl,
|
|
3991
|
+
"2xl": n["2xl"],
|
|
3992
|
+
"3xl": n["3xl"],
|
|
3993
|
+
"4xl": n["4xl"],
|
|
3994
|
+
"5xl": n["5xl"],
|
|
3995
|
+
"6xl": n["6xl"],
|
|
3996
|
+
"7xl": n["7xl"],
|
|
3997
|
+
"8xl": n["8xl"],
|
|
3998
|
+
"9xl": n["9xl"],
|
|
3999
|
+
"10xl": n["10xl"],
|
|
4000
|
+
"11xl": n["11xl"],
|
|
4001
|
+
px: {
|
|
4002
|
+
"4xs": `${n["4xs"]}px`,
|
|
4003
|
+
"3xs": `${n["3xs"]}px`,
|
|
4004
|
+
"2xs": `${n["2xs"]}px`,
|
|
4005
|
+
xs: `${n.xs}px`,
|
|
4006
|
+
sm: `${n.sm}px`,
|
|
4007
|
+
md: `${n.md}px`,
|
|
4008
|
+
lg: `${n.lg}px`,
|
|
4009
|
+
xl: `${n.xl}px`,
|
|
4010
|
+
"2xl": `${n["2xl"]}px`,
|
|
4011
|
+
"3xl": `${n["3xl"]}px`,
|
|
4012
|
+
"4xl": `${n["4xl"]}px`,
|
|
4013
|
+
"5xl": `${n["5xl"]}px`,
|
|
4014
|
+
"6xl": `${n["6xl"]}px`,
|
|
4015
|
+
"7xl": `${n["7xl"]}px`,
|
|
4016
|
+
"8xl": `${n["8xl"]}px`,
|
|
4017
|
+
"9xl": `${n["9xl"]}px`,
|
|
4018
|
+
"10xl": `${n["10xl"]}px`,
|
|
4019
|
+
"11xl": `${n["11xl"]}px`
|
|
4020
|
+
}
|
|
4021
|
+
};
|
|
4022
|
+
|
|
3952
4023
|
// src/styles/z-index.tsx
|
|
3953
4024
|
var z = {
|
|
3954
4025
|
card: 1,
|
|
@@ -3976,10 +4047,10 @@ var z = {
|
|
|
3976
4047
|
};
|
|
3977
4048
|
|
|
3978
4049
|
// src/components/Button.tsx
|
|
3979
|
-
var
|
|
4050
|
+
var import_react25 = require("@emotion/react");
|
|
3980
4051
|
var import_styled15 = __toESM(require("@emotion/styled"), 1);
|
|
3981
4052
|
var import_lodash_es4 = require("lodash-es");
|
|
3982
|
-
var
|
|
4053
|
+
var import_react26 = require("react");
|
|
3983
4054
|
|
|
3984
4055
|
// src/router.tsx
|
|
3985
4056
|
var import_lodash_es2 = require("lodash-es");
|
|
@@ -8109,6 +8180,9 @@ var UnstyledButton = import_styled4.default.button`
|
|
|
8109
8180
|
font-weight: inherit;
|
|
8110
8181
|
`;
|
|
8111
8182
|
|
|
8183
|
+
// src/components/typography/renderTypography.tsx
|
|
8184
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
8185
|
+
|
|
8112
8186
|
// src/components/typography/Body.tsx
|
|
8113
8187
|
var import_styled5 = __toESM(require("@emotion/styled"), 1);
|
|
8114
8188
|
|
|
@@ -8450,7 +8524,6 @@ var StyledTitle = import_styled14.default.span`
|
|
|
8450
8524
|
`;
|
|
8451
8525
|
|
|
8452
8526
|
// src/components/typography/renderTypography.tsx
|
|
8453
|
-
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8454
8527
|
var typographyMap = {
|
|
8455
8528
|
Display,
|
|
8456
8529
|
Headline,
|
|
@@ -8462,15 +8535,16 @@ var typographyMap = {
|
|
|
8462
8535
|
"Label Strong": LabelStrong,
|
|
8463
8536
|
Overline,
|
|
8464
8537
|
Code: Code2,
|
|
8465
|
-
"Code Strong":
|
|
8538
|
+
"Code Strong": Code2
|
|
8466
8539
|
};
|
|
8467
8540
|
var renderTypography = (type, props) => {
|
|
8468
8541
|
const TypographyComponent = typographyMap[type];
|
|
8469
|
-
|
|
8542
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8543
|
+
return import_react24.default.createElement(TypographyComponent, rest, children);
|
|
8470
8544
|
};
|
|
8471
8545
|
|
|
8472
8546
|
// src/components/Button.tsx
|
|
8473
|
-
var
|
|
8547
|
+
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8474
8548
|
var roundPaddingsX = {
|
|
8475
8549
|
[TokenSize.ExtraSmall]: 10,
|
|
8476
8550
|
[TokenSize.Small]: 10,
|
|
@@ -8575,7 +8649,7 @@ function resolveProps(props, theme) {
|
|
|
8575
8649
|
});
|
|
8576
8650
|
}
|
|
8577
8651
|
function Button(props) {
|
|
8578
|
-
const theme = (0,
|
|
8652
|
+
const theme = (0, import_react25.useTheme)();
|
|
8579
8653
|
const {
|
|
8580
8654
|
kind,
|
|
8581
8655
|
typography,
|
|
@@ -8607,34 +8681,34 @@ function Button(props) {
|
|
|
8607
8681
|
tooltipText,
|
|
8608
8682
|
borderRadius
|
|
8609
8683
|
} = resolveProps(props, theme);
|
|
8610
|
-
const tooltipId = (0,
|
|
8684
|
+
const tooltipId = (0, import_react26.useRef)((0, import_lodash_es4.uniqueId)());
|
|
8611
8685
|
const iconSize = size === "ExtraSmall" ? 12 : 16;
|
|
8612
8686
|
let currentIcon = null;
|
|
8613
8687
|
if (loading) {
|
|
8614
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8688
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8615
8689
|
ButtonIcon,
|
|
8616
8690
|
{
|
|
8617
8691
|
iconSide,
|
|
8618
8692
|
text,
|
|
8619
8693
|
typography,
|
|
8620
8694
|
kind,
|
|
8621
|
-
children: /* @__PURE__ */ (0,
|
|
8695
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Loading, { size: iconSize, center: false })
|
|
8622
8696
|
}
|
|
8623
8697
|
);
|
|
8624
8698
|
} else if (icon) {
|
|
8625
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8699
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8626
8700
|
ButtonIcon,
|
|
8627
8701
|
{
|
|
8628
8702
|
iconSide,
|
|
8629
8703
|
text,
|
|
8630
8704
|
typography,
|
|
8631
8705
|
kind,
|
|
8632
|
-
children: /* @__PURE__ */ (0,
|
|
8706
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
|
|
8633
8707
|
}
|
|
8634
8708
|
);
|
|
8635
8709
|
}
|
|
8636
|
-
const content = /* @__PURE__ */ (0,
|
|
8637
|
-
/* @__PURE__ */ (0,
|
|
8710
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_react26.Fragment, { children: [
|
|
8711
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
|
|
8638
8712
|
"div",
|
|
8639
8713
|
__spreadProps(__spreadValues({}, tooltipText ? { "data-tooltip-id": tooltipId.current } : {}), {
|
|
8640
8714
|
css: {
|
|
@@ -8645,7 +8719,7 @@ function Button(props) {
|
|
|
8645
8719
|
},
|
|
8646
8720
|
children: [
|
|
8647
8721
|
iconSide === "left" && currentIcon,
|
|
8648
|
-
text && /* @__PURE__ */ (0,
|
|
8722
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8649
8723
|
"div",
|
|
8650
8724
|
{
|
|
8651
8725
|
css: {
|
|
@@ -8663,7 +8737,7 @@ function Button(props) {
|
|
|
8663
8737
|
]
|
|
8664
8738
|
})
|
|
8665
8739
|
),
|
|
8666
|
-
tooltipText ? /* @__PURE__ */ (0,
|
|
8740
|
+
tooltipText ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Tooltip, { id: tooltipId.current, content: tooltipText }) : null
|
|
8667
8741
|
] });
|
|
8668
8742
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
8669
8743
|
const commonProps = {
|
|
@@ -8693,9 +8767,9 @@ function Button(props) {
|
|
|
8693
8767
|
zIndex
|
|
8694
8768
|
};
|
|
8695
8769
|
if (to) {
|
|
8696
|
-
return /* @__PURE__ */ (0,
|
|
8770
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
|
|
8697
8771
|
}
|
|
8698
|
-
return href ? /* @__PURE__ */ (0,
|
|
8772
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8699
8773
|
ButtonHrefLink,
|
|
8700
8774
|
__spreadProps(__spreadValues({}, commonProps), {
|
|
8701
8775
|
href,
|
|
@@ -8703,7 +8777,7 @@ function Button(props) {
|
|
|
8703
8777
|
target: "_blank",
|
|
8704
8778
|
children: content
|
|
8705
8779
|
})
|
|
8706
|
-
) : /* @__PURE__ */ (0,
|
|
8780
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
|
|
8707
8781
|
}
|
|
8708
8782
|
var buttonStyle = ({
|
|
8709
8783
|
paddingY,
|
|
@@ -8723,7 +8797,7 @@ var buttonStyle = ({
|
|
|
8723
8797
|
hoverBackgroundColor,
|
|
8724
8798
|
hoverBorderColor
|
|
8725
8799
|
}) => {
|
|
8726
|
-
return
|
|
8800
|
+
return import_react25.css`
|
|
8727
8801
|
display: inline-flex;
|
|
8728
8802
|
opacity: ${disabled && !isLoading ? 0.2 : 1};
|
|
8729
8803
|
${disabled ? "pointer-events: none;" : ""}
|
|
@@ -8787,14 +8861,14 @@ var ButtonHrefLink = import_styled15.default.a`
|
|
|
8787
8861
|
`;
|
|
8788
8862
|
|
|
8789
8863
|
// src/components/Drawer.tsx
|
|
8790
|
-
var
|
|
8864
|
+
var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
|
|
8791
8865
|
var Drawer = (props) => {
|
|
8792
|
-
const [isOpen, setIsOpen] = (0,
|
|
8793
|
-
const [lastY, setLastY] = (0,
|
|
8794
|
-
const [totalDeltaY, setTotalDeltaY] = (0,
|
|
8795
|
-
const [fractionVisible, setFractionVisible] = (0,
|
|
8796
|
-
const [grabbing, setGrabbing] = (0,
|
|
8797
|
-
const drawerContainerRef = (0,
|
|
8866
|
+
const [isOpen, setIsOpen] = (0, import_react27.useState)(true);
|
|
8867
|
+
const [lastY, setLastY] = (0, import_react27.useState)(null);
|
|
8868
|
+
const [totalDeltaY, setTotalDeltaY] = (0, import_react27.useState)(0);
|
|
8869
|
+
const [fractionVisible, setFractionVisible] = (0, import_react27.useState)(1);
|
|
8870
|
+
const [grabbing, setGrabbing] = (0, import_react27.useState)(false);
|
|
8871
|
+
const drawerContainerRef = (0, import_react27.useRef)(null);
|
|
8798
8872
|
const handleClose = () => {
|
|
8799
8873
|
if (props.nonDismissable) {
|
|
8800
8874
|
return;
|
|
@@ -8843,8 +8917,8 @@ var Drawer = (props) => {
|
|
|
8843
8917
|
setTotalDeltaY(0);
|
|
8844
8918
|
setLastY(null);
|
|
8845
8919
|
};
|
|
8846
|
-
return /* @__PURE__ */ (0,
|
|
8847
|
-
/* @__PURE__ */ (0,
|
|
8920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_jsx_runtime131.Fragment, { children: [
|
|
8921
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
8848
8922
|
Background,
|
|
8849
8923
|
{
|
|
8850
8924
|
isOpen,
|
|
@@ -8852,7 +8926,7 @@ var Drawer = (props) => {
|
|
|
8852
8926
|
onClick: handleClose
|
|
8853
8927
|
}
|
|
8854
8928
|
),
|
|
8855
|
-
/* @__PURE__ */ (0,
|
|
8929
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(
|
|
8856
8930
|
DrawerContainer,
|
|
8857
8931
|
{
|
|
8858
8932
|
isOpen,
|
|
@@ -8863,8 +8937,8 @@ var Drawer = (props) => {
|
|
|
8863
8937
|
grabbing,
|
|
8864
8938
|
ref: drawerContainerRef,
|
|
8865
8939
|
children: [
|
|
8866
|
-
props.grabber && !props.nonDismissable && /* @__PURE__ */ (0,
|
|
8867
|
-
props.handleBack && /* @__PURE__ */ (0,
|
|
8940
|
+
props.grabber && !props.nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Grabber, { onClick: handleClose, children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(GrabberBar, {}) }),
|
|
8941
|
+
props.handleBack && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(BackButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
8868
8942
|
Button,
|
|
8869
8943
|
{
|
|
8870
8944
|
onClick: props.handleBack,
|
|
@@ -8873,7 +8947,7 @@ var Drawer = (props) => {
|
|
|
8873
8947
|
size: "Small"
|
|
8874
8948
|
}
|
|
8875
8949
|
) }),
|
|
8876
|
-
props.closeButton && !props.nonDismissable && /* @__PURE__ */ (0,
|
|
8950
|
+
props.closeButton && !props.nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(CloseButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(CloseButton, { onClick: handleClose, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Icon, { name: "Close", width: 12 }) }) }),
|
|
8877
8951
|
props.children
|
|
8878
8952
|
]
|
|
8879
8953
|
}
|
|
@@ -8913,10 +8987,11 @@ var DrawerContainer = import_styled16.default.div`
|
|
|
8913
8987
|
bottom: 0;
|
|
8914
8988
|
transform: translateY(${(props) => `${props.totalDeltaY}px`});
|
|
8915
8989
|
z-index: ${z.modalContainer};
|
|
8916
|
-
border-radius: ${
|
|
8990
|
+
border-radius: ${Spacing.px.lg} ${Spacing.px.lg} 0 0;
|
|
8917
8991
|
display: flex;
|
|
8918
8992
|
flex-direction: column;
|
|
8919
|
-
padding: ${"
|
|
8993
|
+
padding: ${Spacing.px["6xl"]} ${Spacing.px.xl} ${Spacing.px["2xl"]}
|
|
8994
|
+
${Spacing.px.xl};
|
|
8920
8995
|
overflow-y: scroll;
|
|
8921
8996
|
|
|
8922
8997
|
// Only smooth transition when not grabbing, otherwise dragging will feel very laggy
|
|
@@ -8949,7 +9024,7 @@ var Grabber = import_styled16.default.div`
|
|
|
8949
9024
|
top: 0;
|
|
8950
9025
|
left: 0;
|
|
8951
9026
|
width: 100%;
|
|
8952
|
-
height: ${
|
|
9027
|
+
height: ${Spacing.px.lg};
|
|
8953
9028
|
display: flex;
|
|
8954
9029
|
flex-direction: row;
|
|
8955
9030
|
justify-content: center;
|
|
@@ -8963,7 +9038,7 @@ var CloseButtonContainer = import_styled16.default.div`
|
|
|
8963
9038
|
right: 20px;
|
|
8964
9039
|
border-radius: 50%;
|
|
8965
9040
|
background-color: ${colors.grayBlue94};
|
|
8966
|
-
padding: ${
|
|
9041
|
+
padding: ${Spacing.px.xs};
|
|
8967
9042
|
height: 30px;
|
|
8968
9043
|
width: 30px;
|
|
8969
9044
|
display: flex;
|
|
@@ -8984,7 +9059,7 @@ var BackButtonContainer = import_styled16.default.div`
|
|
|
8984
9059
|
top: 20px;
|
|
8985
9060
|
left: 20px;
|
|
8986
9061
|
border-radius: 50%;
|
|
8987
|
-
padding: ${
|
|
9062
|
+
padding: ${Spacing.px.xs};
|
|
8988
9063
|
height: 30px;
|
|
8989
9064
|
width: 30px;
|
|
8990
9065
|
display: flex;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Drawer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-CRTTTIAD.js";
|
|
4
|
+
} from "../chunk-JH53NBOD.js";
|
|
5
|
+
import "../chunk-MNMVZI7D.js";
|
|
6
|
+
import "../chunk-DNGAINGL.js";
|
|
7
|
+
import "../chunk-LGXMGWLV.js";
|
|
8
|
+
import "../chunk-V523QTZQ.js";
|
|
9
|
+
import "../chunk-YRZ3VNBI.js";
|
|
10
|
+
import "../chunk-HPZVUEDJ.js";
|
|
11
|
+
import "../chunk-7COKMITX.js";
|
|
12
|
+
import "../chunk-DIKOS5R6.js";
|
|
13
|
+
import "../chunk-AZOVE32P.js";
|
|
14
|
+
import "../chunk-HVDX4OZJ.js";
|
|
15
|
+
import "../chunk-OMY3WTAU.js";
|
|
16
|
+
import "../chunk-OZQ5WPLN.js";
|
|
18
17
|
import "../chunk-YMNSXZ5D.js";
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-7BSME2ZU.js";
|
|
19
|
+
import "../chunk-4X67A2CS.js";
|
|
20
20
|
import "../chunk-OPV246QW.js";
|
|
21
21
|
import "../chunk-AAFUVYVP.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-OUHQXQOJ.js";
|
|
23
|
+
import "../chunk-ZS7G6WIG.js";
|
|
24
|
+
import "../chunk-JAPRGAB7.js";
|
|
25
25
|
import "../chunk-55OQPFLF.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-E5DUKMCU.js";
|
|
27
|
+
import "../chunk-TNDSUTUN.js";
|
|
28
28
|
import "../chunk-EDN2QDCB.js";
|
|
29
29
|
import "../chunk-FT62PIPN.js";
|
|
30
30
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -139,8 +139,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
139
139
|
import "../chunk-QW2INB5A.js";
|
|
140
140
|
import "../chunk-JLD7MGLC.js";
|
|
141
141
|
import "../chunk-DW6LFUI2.js";
|
|
142
|
-
import "../chunk-
|
|
143
|
-
import "../chunk-
|
|
142
|
+
import "../chunk-CZFFMEAS.js";
|
|
143
|
+
import "../chunk-VNQE6KEX.js";
|
|
144
144
|
import "../chunk-ENBUKLVT.js";
|
|
145
145
|
import "../chunk-JSGRNWSB.js";
|
|
146
146
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3595,8 +3595,7 @@ var baseThemeColors = {
|
|
|
3595
3595
|
success: colors.success,
|
|
3596
3596
|
text: colors.black,
|
|
3597
3597
|
vlcNeutral: colors.gray95,
|
|
3598
|
-
warning: colors.warning
|
|
3599
|
-
inputBackground: colors.white
|
|
3598
|
+
warning: colors.warning
|
|
3600
3599
|
};
|
|
3601
3600
|
var themeOrColorKeyValues = [
|
|
3602
3601
|
...Object.keys(baseThemeColors),
|
|
@@ -3608,6 +3607,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3608
3607
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3609
3608
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3610
3609
|
buttons: defaultButtonsTheme,
|
|
3610
|
+
badge: {
|
|
3611
|
+
bg: "c05Neutral"
|
|
3612
|
+
},
|
|
3613
|
+
inputBackground: colors.white,
|
|
3611
3614
|
loading: "LoadingSpinner"
|
|
3612
3615
|
});
|
|
3613
3616
|
var lightBaseTheme = baseTheme;
|
|
@@ -3645,7 +3648,10 @@ var darkBaseTheme = {
|
|
|
3645
3648
|
warning: colors.warning,
|
|
3646
3649
|
buttons: defaultButtonsTheme,
|
|
3647
3650
|
loading: "LoadingSpinner",
|
|
3648
|
-
inputBackground: colors.black
|
|
3651
|
+
inputBackground: colors.black,
|
|
3652
|
+
badge: {
|
|
3653
|
+
bg: "c15Neutral"
|
|
3654
|
+
}
|
|
3649
3655
|
};
|
|
3650
3656
|
var lightTheme = extend(lightBaseTheme, {
|
|
3651
3657
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3761,7 +3767,10 @@ var bridgeBaseSettings = {
|
|
|
3761
3767
|
defaultBorderWidth: 1
|
|
3762
3768
|
}
|
|
3763
3769
|
}
|
|
3764
|
-
})
|
|
3770
|
+
}),
|
|
3771
|
+
badge: {
|
|
3772
|
+
bg: "grayBlue94"
|
|
3773
|
+
}
|
|
3765
3774
|
};
|
|
3766
3775
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3767
3776
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3,7 +3,7 @@ import { CSSInterpolation } from '@emotion/css';
|
|
|
3
3
|
import { CSSObject } from '@emotion/styled';
|
|
4
4
|
import { ReactNode, RefObject } from 'react';
|
|
5
5
|
import { ExternalLink, RouteParams, RouteHash } from '../router.cjs';
|
|
6
|
-
import { W as WithTheme } from '../
|
|
6
|
+
import { W as WithTheme } from '../themes-37e92940.js';
|
|
7
7
|
import { IconName } from './Icon/types.cjs';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import 'react-router-dom';
|
|
@@ -3,7 +3,7 @@ import { CSSInterpolation } from '@emotion/css';
|
|
|
3
3
|
import { CSSObject } from '@emotion/styled';
|
|
4
4
|
import { ReactNode, RefObject } from 'react';
|
|
5
5
|
import { ExternalLink, RouteParams, RouteHash } from '../router.js';
|
|
6
|
-
import { W as WithTheme } from '../
|
|
6
|
+
import { W as WithTheme } from '../themes-832e46b2.js';
|
|
7
7
|
import { IconName } from './Icon/types.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import 'react-router-dom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Dropdown
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7RLDCOUT.js";
|
|
4
4
|
import "../chunk-VQVEZVAG.js";
|
|
5
5
|
import "../chunk-AAFUVYVP.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-JAPRGAB7.js";
|
|
7
7
|
import "../chunk-55OQPFLF.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-TNDSUTUN.js";
|
|
9
9
|
import "../chunk-EDN2QDCB.js";
|
|
10
10
|
import "../chunk-FT62PIPN.js";
|
|
11
11
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -120,8 +120,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
120
120
|
import "../chunk-QW2INB5A.js";
|
|
121
121
|
import "../chunk-JLD7MGLC.js";
|
|
122
122
|
import "../chunk-DW6LFUI2.js";
|
|
123
|
-
import "../chunk-
|
|
124
|
-
import "../chunk-
|
|
123
|
+
import "../chunk-CZFFMEAS.js";
|
|
124
|
+
import "../chunk-VNQE6KEX.js";
|
|
125
125
|
import "../chunk-ENBUKLVT.js";
|
|
126
126
|
import "../chunk-JSGRNWSB.js";
|
|
127
127
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3518,8 +3518,7 @@ var baseThemeColors = {
|
|
|
3518
3518
|
success: colors.success,
|
|
3519
3519
|
text: colors.black,
|
|
3520
3520
|
vlcNeutral: colors.gray95,
|
|
3521
|
-
warning: colors.warning
|
|
3522
|
-
inputBackground: colors.white
|
|
3521
|
+
warning: colors.warning
|
|
3523
3522
|
};
|
|
3524
3523
|
var themeOrColorKeyValues = [
|
|
3525
3524
|
...Object.keys(baseThemeColors),
|
|
@@ -3531,6 +3530,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3531
3530
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3532
3531
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3533
3532
|
buttons: defaultButtonsTheme,
|
|
3533
|
+
badge: {
|
|
3534
|
+
bg: "c05Neutral"
|
|
3535
|
+
},
|
|
3536
|
+
inputBackground: colors.white,
|
|
3534
3537
|
loading: "LoadingSpinner"
|
|
3535
3538
|
});
|
|
3536
3539
|
var lightBaseTheme = baseTheme;
|
|
@@ -3568,7 +3571,10 @@ var darkBaseTheme = {
|
|
|
3568
3571
|
warning: colors.warning,
|
|
3569
3572
|
buttons: defaultButtonsTheme,
|
|
3570
3573
|
loading: "LoadingSpinner",
|
|
3571
|
-
inputBackground: colors.black
|
|
3574
|
+
inputBackground: colors.black,
|
|
3575
|
+
badge: {
|
|
3576
|
+
bg: "c15Neutral"
|
|
3577
|
+
}
|
|
3572
3578
|
};
|
|
3573
3579
|
var lightTheme = extend(lightBaseTheme, {
|
|
3574
3580
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3684,7 +3690,10 @@ var bridgeBaseSettings = {
|
|
|
3684
3690
|
defaultBorderWidth: 1
|
|
3685
3691
|
}
|
|
3686
3692
|
}
|
|
3687
|
-
})
|
|
3693
|
+
}),
|
|
3694
|
+
badge: {
|
|
3695
|
+
bg: "grayBlue94"
|
|
3696
|
+
}
|
|
3688
3697
|
};
|
|
3689
3698
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3690
3699
|
type: "bridgeLight" /* BridgeLight */,
|