@lightsparkdev/ui 1.0.3 → 1.0.5
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 +14 -0
- package/dist/{chunk-54EOEIEN.js → chunk-3DXU76SI.js} +2 -2
- package/dist/{chunk-PQKVR2BR.js → chunk-42D2SXB2.js} +1 -1
- package/dist/{chunk-BSH6WRUZ.js → chunk-45BHB7K7.js} +3 -3
- package/dist/{chunk-35PJW7RT.js → chunk-4EV5IUUJ.js} +2 -2
- package/dist/{chunk-XM2HQVUK.js → chunk-4IHNUHE3.js} +5 -5
- package/dist/{chunk-X4TGLNCH.js → chunk-5JJUXAVA.js} +3 -3
- package/dist/{chunk-ILEZ6AWT.js → chunk-7EAO66LB.js} +5 -5
- package/dist/{chunk-LIQSJ5R7.js → chunk-AKGW3FMJ.js} +21 -13
- package/dist/{chunk-7N2PFDYE.js → chunk-AVV74PTP.js} +2 -2
- package/dist/{chunk-SNFRMD6Z.js → chunk-AXNQ7BDD.js} +4 -4
- package/dist/{chunk-CRTTTIAD.js → chunk-BNHCCR3C.js} +2 -2
- package/dist/{chunk-UH5F35II.js → chunk-BRJKMY6Z.js} +3 -3
- package/dist/{chunk-7WDAN3OC.js → chunk-D4DFISYR.js} +1 -1
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/{chunk-YRNEIRHM.js → chunk-E6ZY35LN.js} +5 -5
- package/dist/{chunk-J3YVJWRG.js → chunk-EHH4M2LZ.js} +5 -5
- package/dist/{chunk-XB4KQFK2.js → chunk-EKU5IWJW.js} +2 -2
- package/dist/chunk-ERNTWEIJ.js +74 -0
- package/dist/{chunk-7IHNYMFQ.js → chunk-FE477HOE.js} +2 -2
- package/dist/{chunk-B6S7Y4K7.js → chunk-GGWFUEDW.js} +2 -2
- package/dist/{chunk-7YY6BH5O.js → chunk-GMEJR5XX.js} +2 -2
- package/dist/{chunk-LOL5TJ3H.js → chunk-GMOJB7PP.js} +16 -16
- package/dist/{chunk-RPNTFEXE.js → chunk-H3UUVMZ3.js} +1 -1
- package/dist/{chunk-WGKUDRZ7.js → chunk-HLZNFEDV.js} +2 -2
- package/dist/{chunk-XDP7GCYE.js → chunk-HNK2KIC7.js} +2 -2
- package/dist/{chunk-BENSR2YW.js → chunk-I3WMJNCP.js} +1 -1
- package/dist/{chunk-BDZ46Z2I.js → chunk-IH5SIRJL.js} +2 -2
- package/dist/{chunk-YIHC25WB.js → chunk-IIRG6R42.js} +3 -3
- package/dist/{chunk-C4KZC45Y.js → chunk-ILCC45G7.js} +54 -71
- package/dist/{chunk-MRGHRTKA.js → chunk-IXAXRBFS.js} +2 -2
- package/dist/{chunk-QQSV7XJX.js → chunk-JZKGVGBU.js} +1 -1
- package/dist/{chunk-XUWFUTR4.js → chunk-KPAVY3UH.js} +3 -1
- package/dist/{chunk-I3FI3FNP.js → chunk-LAGOF7IU.js} +2 -2
- package/dist/{chunk-MWDDIXIP.js → chunk-LH5VFS3E.js} +1 -1
- package/dist/{chunk-2XUHQWCJ.js → chunk-LKJ7QTWL.js} +4 -4
- package/dist/{chunk-N2NPIZCV.js → chunk-M7E2PMFK.js} +9 -9
- package/dist/{chunk-BHP5YL2N.js → chunk-N67Y7GWR.js} +1 -1
- package/dist/{chunk-4BFBANKF.js → chunk-NBIK5O3N.js} +37 -34
- package/dist/{chunk-SLKPLSJU.js → chunk-NK7WH3TK.js} +11 -11
- package/dist/{chunk-KX5QZXCD.js → chunk-NONMMIMQ.js} +1 -1
- package/dist/{chunk-Y7RQUJUS.js → chunk-NWPPTOKK.js} +5 -5
- package/dist/{chunk-4C2TISN7.js → chunk-OPUCWQMK.js} +1 -1
- package/dist/{chunk-GWHKALYQ.js → chunk-PBLWYVQF.js} +2 -2
- package/dist/{chunk-E4DUADXU.js → chunk-PYAKYQWS.js} +1 -1
- package/dist/{chunk-DXA3WUSX.js → chunk-PZTZ4436.js} +2 -2
- package/dist/{chunk-6CNJ5ZCC.js → chunk-Q76C6FJ5.js} +3 -3
- package/dist/{chunk-JNNJVBHF.js → chunk-QBRCVOJ4.js} +14 -10
- package/dist/{chunk-HGOGF6I7.js → chunk-QEZ7L6YF.js} +1 -1
- package/dist/{chunk-435FPPZK.js → chunk-QFVQ6QPA.js} +2 -2
- package/dist/{chunk-WTMJTGW4.js → chunk-QON4D7N2.js} +2 -2
- package/dist/chunk-QTPYP3IK.js +27 -0
- package/dist/{chunk-LH7GLNMY.js → chunk-QZMD3YHI.js} +1 -1
- package/dist/{chunk-VXKNN4SF.js → chunk-RQLRNKOP.js} +17 -16
- package/dist/{chunk-7FHOKVKJ.js → chunk-RRXB5FQC.js} +7 -7
- package/dist/{chunk-AAFUVYVP.js → chunk-SCIQSZSW.js} +1 -1
- package/dist/{chunk-5TTLUOJ5.js → chunk-SIYZ5PZT.js} +1 -1
- package/dist/{chunk-K7FYXGOI.js → chunk-TMIBU4ME.js} +1 -1
- package/dist/{chunk-LTCJ6LNO.js → chunk-TN5UPDZG.js} +1 -1
- package/dist/{chunk-IBZBPQMZ.js → chunk-UAUAYQ3C.js} +14 -5
- package/dist/{chunk-LGKXPUSI.js → chunk-VF5KSAZG.js} +3 -3
- package/dist/{chunk-GSKTHUQJ.js → chunk-XLKL3DNK.js} +2 -2
- package/dist/{chunk-OKXC33OU.js → chunk-XQIQOMNE.js} +5 -2
- package/dist/{chunk-PG2W2HVB.js → chunk-YG5BANJH.js} +2 -2
- package/dist/{chunk-4JHXRPRB.js → chunk-YXAKRSFW.js} +9 -6
- package/dist/{chunk-2AGBCGOW.js → chunk-ZR2TARGX.js} +2 -2
- package/dist/components/Badge.cjs +7784 -7418
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +22 -25
- package/dist/components/Banner/Banner.cjs +53 -27
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +20 -20
- package/dist/components/Button.cjs +39 -25
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +22 -22
- package/dist/components/ButtonRow.cjs +42 -28
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +24 -24
- package/dist/components/CardPage.cjs +16 -5
- package/dist/components/CardPage.js +26 -26
- package/dist/components/Checkbox.cjs +6 -4
- package/dist/components/Checkbox.js +4 -4
- package/dist/components/CodeBlock.cjs +16 -5
- package/dist/components/CodeBlock.js +9 -9
- package/dist/components/CodeInput/CodeInput.cjs +16 -5
- package/dist/components/CodeInput/CodeInput.js +7 -7
- package/dist/components/CodeInput/SingleCodeInput.cjs +16 -5
- package/dist/components/CodeInput/SingleCodeInput.js +6 -6
- package/dist/components/Collapsible.cjs +81 -8
- package/dist/components/Collapsible.js +7 -7
- package/dist/components/CommaNumberInput.cjs +16 -5
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +12 -12
- package/dist/components/ContentTable.cjs +16 -5
- package/dist/components/ContentTable.js +5 -5
- package/dist/components/CopyToClipboardButton.cjs +16 -5
- package/dist/components/CopyToClipboardButton.js +7 -7
- package/dist/components/CurrencyAmount.cjs +16 -5
- package/dist/components/CurrencyAmount.js +5 -5
- package/dist/components/Drawer.cjs +121 -44
- package/dist/components/Drawer.js +24 -24
- package/dist/components/Dropdown.cjs +16 -5
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +7 -7
- package/dist/components/FileInput.cjs +16 -5
- package/dist/components/FileInput.js +11 -11
- package/dist/components/GradientCardHeader.cjs +3 -1
- package/dist/components/GradientCardHeader.js +6 -6
- package/dist/components/Icon/Icon.cjs +16 -5
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +4 -4
- package/dist/components/IconWithCircleBackground.cjs +7349 -7340
- package/dist/components/IconWithCircleBackground.js +5 -74
- package/dist/components/InfoIconTooltip.cjs +56 -30
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +21 -21
- package/dist/components/LightsparkProvider.cjs +16 -5
- package/dist/components/LightsparkProvider.js +5 -5
- package/dist/components/Loading.cjs +16 -5
- package/dist/components/Loading.js +5 -5
- package/dist/components/Modal.cjs +205 -128
- package/dist/components/Modal.d.cts +9 -9
- package/dist/components/Modal.d.ts +9 -9
- package/dist/components/Modal.js +29 -70
- package/dist/components/PageSection/PageSection.cjs +208 -98
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +29 -33
- package/dist/components/PageSection/PageSectionNav.cjs +48 -22
- package/dist/components/PageSection/PageSectionNav.js +22 -22
- package/dist/components/PhoneInput.cjs +16 -5
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +12 -12
- package/dist/components/Pill.cjs +16 -5
- package/dist/components/Pill.js +8 -8
- package/dist/components/ProgressBar.cjs +16 -5
- package/dist/components/ProgressBar.js +4 -4
- package/dist/components/Radio.cjs +7412 -7339
- package/dist/components/Radio.js +10 -24
- package/dist/components/SecretContainer.cjs +16 -5
- package/dist/components/SecretContainer.js +8 -8
- package/dist/components/StatusIndicator.cjs +3 -1
- package/dist/components/StatusIndicator.js +5 -5
- package/dist/components/TextButton.cjs +44 -18
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +21 -21
- package/dist/components/TextIconAligner.cjs +38 -12
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +19 -19
- package/dist/components/TextInput.cjs +16 -5
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +11 -11
- package/dist/components/Toasts.cjs +64 -38
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +22 -22
- package/dist/components/Toggle.cjs +107 -98
- package/dist/components/Toggle.js +5 -5
- package/dist/components/Tooltip.cjs +16 -5
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/UnstyledButton.cjs +3 -1
- package/dist/components/UnstyledButton.js +4 -4
- package/dist/components/documentation/AnchorLinkHeader.cjs +16 -5
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +10 -10
- package/dist/components/documentation/DocsBodyParagraph.cjs +16 -5
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +8 -8
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -5
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +8 -8
- package/dist/components/documentation/DocsHeadline.cjs +16 -5
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +9 -9
- package/dist/components/documentation/Video.cjs +3 -1
- package/dist/components/documentation/Video.js +3 -3
- package/dist/components/documentation/index.cjs +16 -5
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +10 -10
- package/dist/components/index.cjs +8343 -8176
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +71 -72
- package/dist/components/typography/Article.cjs +103 -30
- package/dist/components/typography/Article.js +16 -16
- package/dist/components/typography/Body.cjs +16 -5
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +8 -8
- package/dist/components/typography/BodyStrong.cjs +16 -5
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +8 -8
- package/dist/components/typography/Code.cjs +16 -5
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +8 -8
- package/dist/components/typography/Display.cjs +16 -5
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +8 -8
- package/dist/components/typography/Headline.cjs +16 -5
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +8 -8
- package/dist/components/typography/Label.cjs +16 -5
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +8 -8
- package/dist/components/typography/LabelModerate.cjs +16 -5
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +8 -8
- package/dist/components/typography/LabelStrong.cjs +16 -5
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +8 -8
- package/dist/components/typography/Overline.cjs +16 -5
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +8 -8
- package/dist/components/typography/Title.cjs +16 -5
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +8 -8
- package/dist/components/typography/index.cjs +103 -30
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +24 -25
- package/dist/components/typography/renderTypography.cjs +32 -8
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- package/dist/components/typography/renderTypography.js +18 -18
- package/dist/router.cjs +3 -1
- package/dist/router.js +2 -2
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/colors.cjs +3 -1
- package/dist/styles/colors.d.cts +3 -1
- package/dist/styles/colors.d.ts +3 -1
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +16 -5
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +3 -3
- package/dist/styles/fields.cjs +16 -5
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +5 -5
- package/dist/styles/global.cjs +16 -5
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +4 -4
- package/dist/styles/themes.cjs +16 -5
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +2 -2
- 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.cjs +3 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +5 -5
- package/dist/styles/typography.cjs +16 -5
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +3 -3
- package/dist/styles/utils.cjs +3 -1
- package/dist/styles/utils.js +4 -4
- 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 +16 -5
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +6 -6
- package/dist/utils/toReactNodes.cjs +57 -22
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +21 -19
- package/package.json +2 -2
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-SEZEDINC.js +0 -35
|
@@ -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 = {
|
|
@@ -97,7 +97,6 @@ var neutral = {
|
|
|
97
97
|
gray30: "#4D4D4D",
|
|
98
98
|
gray40: "#666666",
|
|
99
99
|
gray50: "#808080",
|
|
100
|
-
gray57: "#8B8E98",
|
|
101
100
|
gray60: "#999999",
|
|
102
101
|
gray70: "#B3B3B3",
|
|
103
102
|
gray80: "#CCCCCC",
|
|
@@ -121,10 +120,13 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
121
120
|
blue37: "#21529c",
|
|
122
121
|
blue58: "#28BFFF",
|
|
123
122
|
// less than 50% saturated blue
|
|
123
|
+
grayBlue5: "#0c0d0f",
|
|
124
124
|
grayBlue9: "#16171A",
|
|
125
|
+
grayBlue18: "#21283a",
|
|
125
126
|
grayBlue32: "#4F5156",
|
|
126
127
|
grayBlue43: "#686A72",
|
|
127
128
|
grayBlue45: "#676F80",
|
|
129
|
+
grayBlue57: "#8B8E98",
|
|
128
130
|
grayBlue67: "#9BA7B9",
|
|
129
131
|
grayBlue80: "#C0C9D6",
|
|
130
132
|
grayBlue88: "#DEDFE4",
|
|
@@ -3597,8 +3599,7 @@ var baseThemeColors = {
|
|
|
3597
3599
|
success: colors.success,
|
|
3598
3600
|
text: colors.black,
|
|
3599
3601
|
vlcNeutral: colors.gray95,
|
|
3600
|
-
warning: colors.warning
|
|
3601
|
-
inputBackground: colors.white
|
|
3602
|
+
warning: colors.warning
|
|
3602
3603
|
};
|
|
3603
3604
|
var themeOrColorKeyValues = [
|
|
3604
3605
|
...Object.keys(baseThemeColors),
|
|
@@ -3610,6 +3611,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3610
3611
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3611
3612
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3612
3613
|
buttons: defaultButtonsTheme,
|
|
3614
|
+
badge: {
|
|
3615
|
+
bg: "c05Neutral"
|
|
3616
|
+
},
|
|
3617
|
+
inputBackground: colors.white,
|
|
3613
3618
|
loading: "LoadingSpinner"
|
|
3614
3619
|
});
|
|
3615
3620
|
var lightBaseTheme = baseTheme;
|
|
@@ -3647,7 +3652,10 @@ var darkBaseTheme = {
|
|
|
3647
3652
|
warning: colors.warning,
|
|
3648
3653
|
buttons: defaultButtonsTheme,
|
|
3649
3654
|
loading: "LoadingSpinner",
|
|
3650
|
-
inputBackground: colors.black
|
|
3655
|
+
inputBackground: colors.black,
|
|
3656
|
+
badge: {
|
|
3657
|
+
bg: "c15Neutral"
|
|
3658
|
+
}
|
|
3651
3659
|
};
|
|
3652
3660
|
var lightTheme = extend(lightBaseTheme, {
|
|
3653
3661
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3763,7 +3771,10 @@ var bridgeBaseSettings = {
|
|
|
3763
3771
|
defaultBorderWidth: 1
|
|
3764
3772
|
}
|
|
3765
3773
|
}
|
|
3766
|
-
})
|
|
3774
|
+
}),
|
|
3775
|
+
badge: {
|
|
3776
|
+
bg: "grayBlue94"
|
|
3777
|
+
}
|
|
3767
3778
|
};
|
|
3768
3779
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3769
3780
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3949,6 +3960,68 @@ var overlaySurface = ({
|
|
|
3949
3960
|
)({ theme })}
|
|
3950
3961
|
`;
|
|
3951
3962
|
|
|
3963
|
+
// src/styles/tokens/spacing.tsx
|
|
3964
|
+
var n = {
|
|
3965
|
+
"4xs": 2,
|
|
3966
|
+
"3xs": 4,
|
|
3967
|
+
"2xs": 6,
|
|
3968
|
+
xs: 8,
|
|
3969
|
+
sm: 12,
|
|
3970
|
+
md: 16,
|
|
3971
|
+
lg: 24,
|
|
3972
|
+
xl: 32,
|
|
3973
|
+
"2xl": 40,
|
|
3974
|
+
"3xl": 48,
|
|
3975
|
+
"4xl": 56,
|
|
3976
|
+
"5xl": 64,
|
|
3977
|
+
"6xl": 72,
|
|
3978
|
+
"7xl": 80,
|
|
3979
|
+
"8xl": 96,
|
|
3980
|
+
"9xl": 112,
|
|
3981
|
+
"10xl": 128,
|
|
3982
|
+
"11xl": 160
|
|
3983
|
+
};
|
|
3984
|
+
var Spacing = {
|
|
3985
|
+
"4xs": n["4xs"],
|
|
3986
|
+
"3xs": n["3xs"],
|
|
3987
|
+
"2xs": n["2xs"],
|
|
3988
|
+
xs: n.xs,
|
|
3989
|
+
sm: n.sm,
|
|
3990
|
+
md: n.md,
|
|
3991
|
+
lg: n.lg,
|
|
3992
|
+
xl: n.xl,
|
|
3993
|
+
"2xl": n["2xl"],
|
|
3994
|
+
"3xl": n["3xl"],
|
|
3995
|
+
"4xl": n["4xl"],
|
|
3996
|
+
"5xl": n["5xl"],
|
|
3997
|
+
"6xl": n["6xl"],
|
|
3998
|
+
"7xl": n["7xl"],
|
|
3999
|
+
"8xl": n["8xl"],
|
|
4000
|
+
"9xl": n["9xl"],
|
|
4001
|
+
"10xl": n["10xl"],
|
|
4002
|
+
"11xl": n["11xl"],
|
|
4003
|
+
px: {
|
|
4004
|
+
"4xs": `${n["4xs"]}px`,
|
|
4005
|
+
"3xs": `${n["3xs"]}px`,
|
|
4006
|
+
"2xs": `${n["2xs"]}px`,
|
|
4007
|
+
xs: `${n.xs}px`,
|
|
4008
|
+
sm: `${n.sm}px`,
|
|
4009
|
+
md: `${n.md}px`,
|
|
4010
|
+
lg: `${n.lg}px`,
|
|
4011
|
+
xl: `${n.xl}px`,
|
|
4012
|
+
"2xl": `${n["2xl"]}px`,
|
|
4013
|
+
"3xl": `${n["3xl"]}px`,
|
|
4014
|
+
"4xl": `${n["4xl"]}px`,
|
|
4015
|
+
"5xl": `${n["5xl"]}px`,
|
|
4016
|
+
"6xl": `${n["6xl"]}px`,
|
|
4017
|
+
"7xl": `${n["7xl"]}px`,
|
|
4018
|
+
"8xl": `${n["8xl"]}px`,
|
|
4019
|
+
"9xl": `${n["9xl"]}px`,
|
|
4020
|
+
"10xl": `${n["10xl"]}px`,
|
|
4021
|
+
"11xl": `${n["11xl"]}px`
|
|
4022
|
+
}
|
|
4023
|
+
};
|
|
4024
|
+
|
|
3952
4025
|
// src/styles/z-index.tsx
|
|
3953
4026
|
var z = {
|
|
3954
4027
|
card: 1,
|
|
@@ -3976,10 +4049,10 @@ var z = {
|
|
|
3976
4049
|
};
|
|
3977
4050
|
|
|
3978
4051
|
// src/components/Button.tsx
|
|
3979
|
-
var
|
|
4052
|
+
var import_react25 = require("@emotion/react");
|
|
3980
4053
|
var import_styled15 = __toESM(require("@emotion/styled"), 1);
|
|
3981
4054
|
var import_lodash_es4 = require("lodash-es");
|
|
3982
|
-
var
|
|
4055
|
+
var import_react26 = require("react");
|
|
3983
4056
|
|
|
3984
4057
|
// src/router.tsx
|
|
3985
4058
|
var import_lodash_es2 = require("lodash-es");
|
|
@@ -8109,6 +8182,9 @@ var UnstyledButton = import_styled4.default.button`
|
|
|
8109
8182
|
font-weight: inherit;
|
|
8110
8183
|
`;
|
|
8111
8184
|
|
|
8185
|
+
// src/components/typography/renderTypography.tsx
|
|
8186
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
8187
|
+
|
|
8112
8188
|
// src/components/typography/Body.tsx
|
|
8113
8189
|
var import_styled5 = __toESM(require("@emotion/styled"), 1);
|
|
8114
8190
|
|
|
@@ -8450,7 +8526,6 @@ var StyledTitle = import_styled14.default.span`
|
|
|
8450
8526
|
`;
|
|
8451
8527
|
|
|
8452
8528
|
// src/components/typography/renderTypography.tsx
|
|
8453
|
-
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8454
8529
|
var typographyMap = {
|
|
8455
8530
|
Display,
|
|
8456
8531
|
Headline,
|
|
@@ -8462,15 +8537,16 @@ var typographyMap = {
|
|
|
8462
8537
|
"Label Strong": LabelStrong,
|
|
8463
8538
|
Overline,
|
|
8464
8539
|
Code: Code2,
|
|
8465
|
-
"Code Strong":
|
|
8540
|
+
"Code Strong": Code2
|
|
8466
8541
|
};
|
|
8467
8542
|
var renderTypography = (type, props) => {
|
|
8468
8543
|
const TypographyComponent = typographyMap[type];
|
|
8469
|
-
|
|
8544
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8545
|
+
return import_react24.default.createElement(TypographyComponent, rest, children);
|
|
8470
8546
|
};
|
|
8471
8547
|
|
|
8472
8548
|
// src/components/Button.tsx
|
|
8473
|
-
var
|
|
8549
|
+
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8474
8550
|
var roundPaddingsX = {
|
|
8475
8551
|
[TokenSize.ExtraSmall]: 10,
|
|
8476
8552
|
[TokenSize.Small]: 10,
|
|
@@ -8575,7 +8651,7 @@ function resolveProps(props, theme) {
|
|
|
8575
8651
|
});
|
|
8576
8652
|
}
|
|
8577
8653
|
function Button(props) {
|
|
8578
|
-
const theme = (0,
|
|
8654
|
+
const theme = (0, import_react25.useTheme)();
|
|
8579
8655
|
const {
|
|
8580
8656
|
kind,
|
|
8581
8657
|
typography,
|
|
@@ -8607,34 +8683,34 @@ function Button(props) {
|
|
|
8607
8683
|
tooltipText,
|
|
8608
8684
|
borderRadius
|
|
8609
8685
|
} = resolveProps(props, theme);
|
|
8610
|
-
const tooltipId = (0,
|
|
8686
|
+
const tooltipId = (0, import_react26.useRef)((0, import_lodash_es4.uniqueId)());
|
|
8611
8687
|
const iconSize = size === "ExtraSmall" ? 12 : 16;
|
|
8612
8688
|
let currentIcon = null;
|
|
8613
8689
|
if (loading) {
|
|
8614
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8690
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8615
8691
|
ButtonIcon,
|
|
8616
8692
|
{
|
|
8617
8693
|
iconSide,
|
|
8618
8694
|
text,
|
|
8619
8695
|
typography,
|
|
8620
8696
|
kind,
|
|
8621
|
-
children: /* @__PURE__ */ (0,
|
|
8697
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Loading, { size: iconSize, center: false })
|
|
8622
8698
|
}
|
|
8623
8699
|
);
|
|
8624
8700
|
} else if (icon) {
|
|
8625
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8701
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8626
8702
|
ButtonIcon,
|
|
8627
8703
|
{
|
|
8628
8704
|
iconSide,
|
|
8629
8705
|
text,
|
|
8630
8706
|
typography,
|
|
8631
8707
|
kind,
|
|
8632
|
-
children: /* @__PURE__ */ (0,
|
|
8708
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
|
|
8633
8709
|
}
|
|
8634
8710
|
);
|
|
8635
8711
|
}
|
|
8636
|
-
const content = /* @__PURE__ */ (0,
|
|
8637
|
-
/* @__PURE__ */ (0,
|
|
8712
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_react26.Fragment, { children: [
|
|
8713
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
|
|
8638
8714
|
"div",
|
|
8639
8715
|
__spreadProps(__spreadValues({}, tooltipText ? { "data-tooltip-id": tooltipId.current } : {}), {
|
|
8640
8716
|
css: {
|
|
@@ -8645,7 +8721,7 @@ function Button(props) {
|
|
|
8645
8721
|
},
|
|
8646
8722
|
children: [
|
|
8647
8723
|
iconSide === "left" && currentIcon,
|
|
8648
|
-
text && /* @__PURE__ */ (0,
|
|
8724
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8649
8725
|
"div",
|
|
8650
8726
|
{
|
|
8651
8727
|
css: {
|
|
@@ -8663,7 +8739,7 @@ function Button(props) {
|
|
|
8663
8739
|
]
|
|
8664
8740
|
})
|
|
8665
8741
|
),
|
|
8666
|
-
tooltipText ? /* @__PURE__ */ (0,
|
|
8742
|
+
tooltipText ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Tooltip, { id: tooltipId.current, content: tooltipText }) : null
|
|
8667
8743
|
] });
|
|
8668
8744
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
8669
8745
|
const commonProps = {
|
|
@@ -8693,9 +8769,9 @@ function Button(props) {
|
|
|
8693
8769
|
zIndex
|
|
8694
8770
|
};
|
|
8695
8771
|
if (to) {
|
|
8696
|
-
return /* @__PURE__ */ (0,
|
|
8772
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
|
|
8697
8773
|
}
|
|
8698
|
-
return href ? /* @__PURE__ */ (0,
|
|
8774
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8699
8775
|
ButtonHrefLink,
|
|
8700
8776
|
__spreadProps(__spreadValues({}, commonProps), {
|
|
8701
8777
|
href,
|
|
@@ -8703,7 +8779,7 @@ function Button(props) {
|
|
|
8703
8779
|
target: "_blank",
|
|
8704
8780
|
children: content
|
|
8705
8781
|
})
|
|
8706
|
-
) : /* @__PURE__ */ (0,
|
|
8782
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
|
|
8707
8783
|
}
|
|
8708
8784
|
var buttonStyle = ({
|
|
8709
8785
|
paddingY,
|
|
@@ -8723,7 +8799,7 @@ var buttonStyle = ({
|
|
|
8723
8799
|
hoverBackgroundColor,
|
|
8724
8800
|
hoverBorderColor
|
|
8725
8801
|
}) => {
|
|
8726
|
-
return
|
|
8802
|
+
return import_react25.css`
|
|
8727
8803
|
display: inline-flex;
|
|
8728
8804
|
opacity: ${disabled && !isLoading ? 0.2 : 1};
|
|
8729
8805
|
${disabled ? "pointer-events: none;" : ""}
|
|
@@ -8787,14 +8863,14 @@ var ButtonHrefLink = import_styled15.default.a`
|
|
|
8787
8863
|
`;
|
|
8788
8864
|
|
|
8789
8865
|
// src/components/Drawer.tsx
|
|
8790
|
-
var
|
|
8866
|
+
var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
|
|
8791
8867
|
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,
|
|
8868
|
+
const [isOpen, setIsOpen] = (0, import_react27.useState)(true);
|
|
8869
|
+
const [lastY, setLastY] = (0, import_react27.useState)(null);
|
|
8870
|
+
const [totalDeltaY, setTotalDeltaY] = (0, import_react27.useState)(0);
|
|
8871
|
+
const [fractionVisible, setFractionVisible] = (0, import_react27.useState)(1);
|
|
8872
|
+
const [grabbing, setGrabbing] = (0, import_react27.useState)(false);
|
|
8873
|
+
const drawerContainerRef = (0, import_react27.useRef)(null);
|
|
8798
8874
|
const handleClose = () => {
|
|
8799
8875
|
if (props.nonDismissable) {
|
|
8800
8876
|
return;
|
|
@@ -8843,8 +8919,8 @@ var Drawer = (props) => {
|
|
|
8843
8919
|
setTotalDeltaY(0);
|
|
8844
8920
|
setLastY(null);
|
|
8845
8921
|
};
|
|
8846
|
-
return /* @__PURE__ */ (0,
|
|
8847
|
-
/* @__PURE__ */ (0,
|
|
8922
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_jsx_runtime131.Fragment, { children: [
|
|
8923
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
8848
8924
|
Background,
|
|
8849
8925
|
{
|
|
8850
8926
|
isOpen,
|
|
@@ -8852,7 +8928,7 @@ var Drawer = (props) => {
|
|
|
8852
8928
|
onClick: handleClose
|
|
8853
8929
|
}
|
|
8854
8930
|
),
|
|
8855
|
-
/* @__PURE__ */ (0,
|
|
8931
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(
|
|
8856
8932
|
DrawerContainer,
|
|
8857
8933
|
{
|
|
8858
8934
|
isOpen,
|
|
@@ -8863,8 +8939,8 @@ var Drawer = (props) => {
|
|
|
8863
8939
|
grabbing,
|
|
8864
8940
|
ref: drawerContainerRef,
|
|
8865
8941
|
children: [
|
|
8866
|
-
props.grabber && !props.nonDismissable && /* @__PURE__ */ (0,
|
|
8867
|
-
props.handleBack && /* @__PURE__ */ (0,
|
|
8942
|
+
props.grabber && !props.nonDismissable && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Grabber, { onClick: handleClose, children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(GrabberBar, {}) }),
|
|
8943
|
+
props.handleBack && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(BackButtonContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
8868
8944
|
Button,
|
|
8869
8945
|
{
|
|
8870
8946
|
onClick: props.handleBack,
|
|
@@ -8873,7 +8949,7 @@ var Drawer = (props) => {
|
|
|
8873
8949
|
size: "Small"
|
|
8874
8950
|
}
|
|
8875
8951
|
) }),
|
|
8876
|
-
props.closeButton && !props.nonDismissable && /* @__PURE__ */ (0,
|
|
8952
|
+
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
8953
|
props.children
|
|
8878
8954
|
]
|
|
8879
8955
|
}
|
|
@@ -8913,10 +8989,11 @@ var DrawerContainer = import_styled16.default.div`
|
|
|
8913
8989
|
bottom: 0;
|
|
8914
8990
|
transform: translateY(${(props) => `${props.totalDeltaY}px`});
|
|
8915
8991
|
z-index: ${z.modalContainer};
|
|
8916
|
-
border-radius: ${
|
|
8992
|
+
border-radius: ${Spacing.px.lg} ${Spacing.px.lg} 0 0;
|
|
8917
8993
|
display: flex;
|
|
8918
8994
|
flex-direction: column;
|
|
8919
|
-
padding: ${"
|
|
8995
|
+
padding: ${Spacing.px["6xl"]} ${Spacing.px.xl} ${Spacing.px["2xl"]}
|
|
8996
|
+
${Spacing.px.xl};
|
|
8920
8997
|
overflow-y: scroll;
|
|
8921
8998
|
|
|
8922
8999
|
// Only smooth transition when not grabbing, otherwise dragging will feel very laggy
|
|
@@ -8949,7 +9026,7 @@ var Grabber = import_styled16.default.div`
|
|
|
8949
9026
|
top: 0;
|
|
8950
9027
|
left: 0;
|
|
8951
9028
|
width: 100%;
|
|
8952
|
-
height: ${
|
|
9029
|
+
height: ${Spacing.px.lg};
|
|
8953
9030
|
display: flex;
|
|
8954
9031
|
flex-direction: row;
|
|
8955
9032
|
justify-content: center;
|
|
@@ -8963,7 +9040,7 @@ var CloseButtonContainer = import_styled16.default.div`
|
|
|
8963
9040
|
right: 20px;
|
|
8964
9041
|
border-radius: 50%;
|
|
8965
9042
|
background-color: ${colors.grayBlue94};
|
|
8966
|
-
padding: ${
|
|
9043
|
+
padding: ${Spacing.px.xs};
|
|
8967
9044
|
height: 30px;
|
|
8968
9045
|
width: 30px;
|
|
8969
9046
|
display: flex;
|
|
@@ -8984,7 +9061,7 @@ var BackButtonContainer = import_styled16.default.div`
|
|
|
8984
9061
|
top: 20px;
|
|
8985
9062
|
left: 20px;
|
|
8986
9063
|
border-radius: 50%;
|
|
8987
|
-
padding: ${
|
|
9064
|
+
padding: ${Spacing.px.xs};
|
|
8988
9065
|
height: 30px;
|
|
8989
9066
|
width: 30px;
|
|
8990
9067
|
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-QBRCVOJ4.js";
|
|
5
|
+
import "../chunk-NK7WH3TK.js";
|
|
6
|
+
import "../chunk-SIYZ5PZT.js";
|
|
7
|
+
import "../chunk-RQLRNKOP.js";
|
|
8
|
+
import "../chunk-GGWFUEDW.js";
|
|
9
|
+
import "../chunk-XLKL3DNK.js";
|
|
10
|
+
import "../chunk-HLZNFEDV.js";
|
|
11
|
+
import "../chunk-ZR2TARGX.js";
|
|
12
|
+
import "../chunk-IXAXRBFS.js";
|
|
13
|
+
import "../chunk-4EV5IUUJ.js";
|
|
14
|
+
import "../chunk-PBLWYVQF.js";
|
|
15
|
+
import "../chunk-QON4D7N2.js";
|
|
16
|
+
import "../chunk-BNHCCR3C.js";
|
|
18
17
|
import "../chunk-YMNSXZ5D.js";
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-IH5SIRJL.js";
|
|
19
|
+
import "../chunk-HNK2KIC7.js";
|
|
20
20
|
import "../chunk-OPV246QW.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-SCIQSZSW.js";
|
|
22
|
+
import "../chunk-OPUCWQMK.js";
|
|
23
|
+
import "../chunk-H3UUVMZ3.js";
|
|
24
|
+
import "../chunk-TN5UPDZG.js";
|
|
25
25
|
import "../chunk-55OQPFLF.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-E5DUKMCU.js";
|
|
27
|
+
import "../chunk-LAGOF7IU.js";
|
|
28
28
|
import "../chunk-EDN2QDCB.js";
|
|
29
29
|
import "../chunk-FT62PIPN.js";
|
|
30
30
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -139,12 +139,12 @@ 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-YG5BANJH.js";
|
|
143
|
+
import "../chunk-UAUAYQ3C.js";
|
|
144
144
|
import "../chunk-ENBUKLVT.js";
|
|
145
145
|
import "../chunk-JSGRNWSB.js";
|
|
146
146
|
import "../chunk-FO7I4E45.js";
|
|
147
|
-
import "../chunk-
|
|
147
|
+
import "../chunk-KPAVY3UH.js";
|
|
148
148
|
import "../chunk-LOPKRCGI.js";
|
|
149
149
|
export {
|
|
150
150
|
Drawer
|
|
@@ -71,7 +71,6 @@ var neutral = {
|
|
|
71
71
|
gray30: "#4D4D4D",
|
|
72
72
|
gray40: "#666666",
|
|
73
73
|
gray50: "#808080",
|
|
74
|
-
gray57: "#8B8E98",
|
|
75
74
|
gray60: "#999999",
|
|
76
75
|
gray70: "#B3B3B3",
|
|
77
76
|
gray80: "#CCCCCC",
|
|
@@ -95,10 +94,13 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
95
94
|
blue37: "#21529c",
|
|
96
95
|
blue58: "#28BFFF",
|
|
97
96
|
// less than 50% saturated blue
|
|
97
|
+
grayBlue5: "#0c0d0f",
|
|
98
98
|
grayBlue9: "#16171A",
|
|
99
|
+
grayBlue18: "#21283a",
|
|
99
100
|
grayBlue32: "#4F5156",
|
|
100
101
|
grayBlue43: "#686A72",
|
|
101
102
|
grayBlue45: "#676F80",
|
|
103
|
+
grayBlue57: "#8B8E98",
|
|
102
104
|
grayBlue67: "#9BA7B9",
|
|
103
105
|
grayBlue80: "#C0C9D6",
|
|
104
106
|
grayBlue88: "#DEDFE4",
|
|
@@ -3595,8 +3597,7 @@ var baseThemeColors = {
|
|
|
3595
3597
|
success: colors.success,
|
|
3596
3598
|
text: colors.black,
|
|
3597
3599
|
vlcNeutral: colors.gray95,
|
|
3598
|
-
warning: colors.warning
|
|
3599
|
-
inputBackground: colors.white
|
|
3600
|
+
warning: colors.warning
|
|
3600
3601
|
};
|
|
3601
3602
|
var themeOrColorKeyValues = [
|
|
3602
3603
|
...Object.keys(baseThemeColors),
|
|
@@ -3608,6 +3609,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3608
3609
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3609
3610
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3610
3611
|
buttons: defaultButtonsTheme,
|
|
3612
|
+
badge: {
|
|
3613
|
+
bg: "c05Neutral"
|
|
3614
|
+
},
|
|
3615
|
+
inputBackground: colors.white,
|
|
3611
3616
|
loading: "LoadingSpinner"
|
|
3612
3617
|
});
|
|
3613
3618
|
var lightBaseTheme = baseTheme;
|
|
@@ -3645,7 +3650,10 @@ var darkBaseTheme = {
|
|
|
3645
3650
|
warning: colors.warning,
|
|
3646
3651
|
buttons: defaultButtonsTheme,
|
|
3647
3652
|
loading: "LoadingSpinner",
|
|
3648
|
-
inputBackground: colors.black
|
|
3653
|
+
inputBackground: colors.black,
|
|
3654
|
+
badge: {
|
|
3655
|
+
bg: "c15Neutral"
|
|
3656
|
+
}
|
|
3649
3657
|
};
|
|
3650
3658
|
var lightTheme = extend(lightBaseTheme, {
|
|
3651
3659
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3761,7 +3769,10 @@ var bridgeBaseSettings = {
|
|
|
3761
3769
|
defaultBorderWidth: 1
|
|
3762
3770
|
}
|
|
3763
3771
|
}
|
|
3764
|
-
})
|
|
3772
|
+
}),
|
|
3773
|
+
badge: {
|
|
3774
|
+
bg: "grayBlue94"
|
|
3775
|
+
}
|
|
3765
3776
|
};
|
|
3766
3777
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3767
3778
|
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-4IHNUHE3.js";
|
|
4
4
|
import "../chunk-VQVEZVAG.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-SCIQSZSW.js";
|
|
6
|
+
import "../chunk-TN5UPDZG.js";
|
|
7
7
|
import "../chunk-55OQPFLF.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-LAGOF7IU.js";
|
|
9
9
|
import "../chunk-EDN2QDCB.js";
|
|
10
10
|
import "../chunk-FT62PIPN.js";
|
|
11
11
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -120,12 +120,12 @@ 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-YG5BANJH.js";
|
|
124
|
+
import "../chunk-UAUAYQ3C.js";
|
|
125
125
|
import "../chunk-ENBUKLVT.js";
|
|
126
126
|
import "../chunk-JSGRNWSB.js";
|
|
127
127
|
import "../chunk-FO7I4E45.js";
|
|
128
|
-
import "../chunk-
|
|
128
|
+
import "../chunk-KPAVY3UH.js";
|
|
129
129
|
import "../chunk-LOPKRCGI.js";
|
|
130
130
|
export {
|
|
131
131
|
Dropdown
|
|
@@ -170,7 +170,6 @@ var neutral = {
|
|
|
170
170
|
gray30: "#4D4D4D",
|
|
171
171
|
gray40: "#666666",
|
|
172
172
|
gray50: "#808080",
|
|
173
|
-
gray57: "#8B8E98",
|
|
174
173
|
gray60: "#999999",
|
|
175
174
|
gray70: "#B3B3B3",
|
|
176
175
|
gray80: "#CCCCCC",
|
|
@@ -194,10 +193,13 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
194
193
|
blue37: "#21529c",
|
|
195
194
|
blue58: "#28BFFF",
|
|
196
195
|
// less than 50% saturated blue
|
|
196
|
+
grayBlue5: "#0c0d0f",
|
|
197
197
|
grayBlue9: "#16171A",
|
|
198
|
+
grayBlue18: "#21283a",
|
|
198
199
|
grayBlue32: "#4F5156",
|
|
199
200
|
grayBlue43: "#686A72",
|
|
200
201
|
grayBlue45: "#676F80",
|
|
202
|
+
grayBlue57: "#8B8E98",
|
|
201
203
|
grayBlue67: "#9BA7B9",
|
|
202
204
|
grayBlue80: "#C0C9D6",
|
|
203
205
|
grayBlue88: "#DEDFE4",
|
|
@@ -3518,8 +3520,7 @@ var baseThemeColors = {
|
|
|
3518
3520
|
success: colors.success,
|
|
3519
3521
|
text: colors.black,
|
|
3520
3522
|
vlcNeutral: colors.gray95,
|
|
3521
|
-
warning: colors.warning
|
|
3522
|
-
inputBackground: colors.white
|
|
3523
|
+
warning: colors.warning
|
|
3523
3524
|
};
|
|
3524
3525
|
var themeOrColorKeyValues = [
|
|
3525
3526
|
...Object.keys(baseThemeColors),
|
|
@@ -3531,6 +3532,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3531
3532
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3532
3533
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3533
3534
|
buttons: defaultButtonsTheme,
|
|
3535
|
+
badge: {
|
|
3536
|
+
bg: "c05Neutral"
|
|
3537
|
+
},
|
|
3538
|
+
inputBackground: colors.white,
|
|
3534
3539
|
loading: "LoadingSpinner"
|
|
3535
3540
|
});
|
|
3536
3541
|
var lightBaseTheme = baseTheme;
|
|
@@ -3568,7 +3573,10 @@ var darkBaseTheme = {
|
|
|
3568
3573
|
warning: colors.warning,
|
|
3569
3574
|
buttons: defaultButtonsTheme,
|
|
3570
3575
|
loading: "LoadingSpinner",
|
|
3571
|
-
inputBackground: colors.black
|
|
3576
|
+
inputBackground: colors.black,
|
|
3577
|
+
badge: {
|
|
3578
|
+
bg: "c15Neutral"
|
|
3579
|
+
}
|
|
3572
3580
|
};
|
|
3573
3581
|
var lightTheme = extend(lightBaseTheme, {
|
|
3574
3582
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3684,7 +3692,10 @@ var bridgeBaseSettings = {
|
|
|
3684
3692
|
defaultBorderWidth: 1
|
|
3685
3693
|
}
|
|
3686
3694
|
}
|
|
3687
|
-
})
|
|
3695
|
+
}),
|
|
3696
|
+
badge: {
|
|
3697
|
+
bg: "grayBlue94"
|
|
3698
|
+
}
|
|
3688
3699
|
};
|
|
3689
3700
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3690
3701
|
type: "bridgeLight" /* BridgeLight */,
|