@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
|
@@ -85,10 +85,10 @@ __export(Button_exports, {
|
|
|
85
85
|
buttonKinds: () => buttonKinds
|
|
86
86
|
});
|
|
87
87
|
module.exports = __toCommonJS(Button_exports);
|
|
88
|
-
var
|
|
88
|
+
var import_react25 = require("@emotion/react");
|
|
89
89
|
var import_styled15 = __toESM(require("@emotion/styled"), 1);
|
|
90
90
|
var import_lodash_es4 = require("lodash-es");
|
|
91
|
-
var
|
|
91
|
+
var import_react26 = require("react");
|
|
92
92
|
|
|
93
93
|
// src/router.tsx
|
|
94
94
|
var import_lodash_es = require("lodash-es");
|
|
@@ -3682,8 +3682,7 @@ var baseThemeColors = {
|
|
|
3682
3682
|
success: colors.success,
|
|
3683
3683
|
text: colors.black,
|
|
3684
3684
|
vlcNeutral: colors.gray95,
|
|
3685
|
-
warning: colors.warning
|
|
3686
|
-
inputBackground: colors.white
|
|
3685
|
+
warning: colors.warning
|
|
3687
3686
|
};
|
|
3688
3687
|
var themeOrColorKeyValues = [
|
|
3689
3688
|
...Object.keys(baseThemeColors),
|
|
@@ -3695,6 +3694,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3695
3694
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3696
3695
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3697
3696
|
buttons: defaultButtonsTheme,
|
|
3697
|
+
badge: {
|
|
3698
|
+
bg: "c05Neutral"
|
|
3699
|
+
},
|
|
3700
|
+
inputBackground: colors.white,
|
|
3698
3701
|
loading: "LoadingSpinner"
|
|
3699
3702
|
});
|
|
3700
3703
|
var lightBaseTheme = baseTheme;
|
|
@@ -3732,7 +3735,10 @@ var darkBaseTheme = {
|
|
|
3732
3735
|
warning: colors.warning,
|
|
3733
3736
|
buttons: defaultButtonsTheme,
|
|
3734
3737
|
loading: "LoadingSpinner",
|
|
3735
|
-
inputBackground: colors.black
|
|
3738
|
+
inputBackground: colors.black,
|
|
3739
|
+
badge: {
|
|
3740
|
+
bg: "c15Neutral"
|
|
3741
|
+
}
|
|
3736
3742
|
};
|
|
3737
3743
|
var lightTheme = extend(lightBaseTheme, {
|
|
3738
3744
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3848,7 +3854,10 @@ var bridgeBaseSettings = {
|
|
|
3848
3854
|
defaultBorderWidth: 1
|
|
3849
3855
|
}
|
|
3850
3856
|
}
|
|
3851
|
-
})
|
|
3857
|
+
}),
|
|
3858
|
+
badge: {
|
|
3859
|
+
bg: "grayBlue94"
|
|
3860
|
+
}
|
|
3852
3861
|
};
|
|
3853
3862
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3854
3863
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -8109,6 +8118,9 @@ var UnstyledButton = import_styled4.default.button`
|
|
|
8109
8118
|
font-weight: inherit;
|
|
8110
8119
|
`;
|
|
8111
8120
|
|
|
8121
|
+
// src/components/typography/renderTypography.tsx
|
|
8122
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
8123
|
+
|
|
8112
8124
|
// src/components/typography/Body.tsx
|
|
8113
8125
|
var import_styled5 = __toESM(require("@emotion/styled"), 1);
|
|
8114
8126
|
|
|
@@ -8450,7 +8462,6 @@ var StyledTitle = import_styled14.default.span`
|
|
|
8450
8462
|
`;
|
|
8451
8463
|
|
|
8452
8464
|
// src/components/typography/renderTypography.tsx
|
|
8453
|
-
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8454
8465
|
var typographyMap = {
|
|
8455
8466
|
Display,
|
|
8456
8467
|
Headline,
|
|
@@ -8462,15 +8473,16 @@ var typographyMap = {
|
|
|
8462
8473
|
"Label Strong": LabelStrong,
|
|
8463
8474
|
Overline,
|
|
8464
8475
|
Code: Code2,
|
|
8465
|
-
"Code Strong":
|
|
8476
|
+
"Code Strong": Code2
|
|
8466
8477
|
};
|
|
8467
8478
|
var renderTypography = (type, props) => {
|
|
8468
8479
|
const TypographyComponent = typographyMap[type];
|
|
8469
|
-
|
|
8480
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8481
|
+
return import_react24.default.createElement(TypographyComponent, rest, children);
|
|
8470
8482
|
};
|
|
8471
8483
|
|
|
8472
8484
|
// src/components/Button.tsx
|
|
8473
|
-
var
|
|
8485
|
+
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8474
8486
|
var buttonKinds = [
|
|
8475
8487
|
"secondary",
|
|
8476
8488
|
"primary",
|
|
@@ -8585,7 +8597,7 @@ function resolveProps(props, theme) {
|
|
|
8585
8597
|
});
|
|
8586
8598
|
}
|
|
8587
8599
|
function Button(props) {
|
|
8588
|
-
const theme = (0,
|
|
8600
|
+
const theme = (0, import_react25.useTheme)();
|
|
8589
8601
|
const {
|
|
8590
8602
|
kind,
|
|
8591
8603
|
typography,
|
|
@@ -8617,34 +8629,34 @@ function Button(props) {
|
|
|
8617
8629
|
tooltipText,
|
|
8618
8630
|
borderRadius
|
|
8619
8631
|
} = resolveProps(props, theme);
|
|
8620
|
-
const tooltipId = (0,
|
|
8632
|
+
const tooltipId = (0, import_react26.useRef)((0, import_lodash_es4.uniqueId)());
|
|
8621
8633
|
const iconSize = size === "ExtraSmall" ? 12 : 16;
|
|
8622
8634
|
let currentIcon = null;
|
|
8623
8635
|
if (loading) {
|
|
8624
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8636
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8625
8637
|
ButtonIcon,
|
|
8626
8638
|
{
|
|
8627
8639
|
iconSide,
|
|
8628
8640
|
text,
|
|
8629
8641
|
typography,
|
|
8630
8642
|
kind,
|
|
8631
|
-
children: /* @__PURE__ */ (0,
|
|
8643
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Loading, { size: iconSize, center: false })
|
|
8632
8644
|
}
|
|
8633
8645
|
);
|
|
8634
8646
|
} else if (icon) {
|
|
8635
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8647
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8636
8648
|
ButtonIcon,
|
|
8637
8649
|
{
|
|
8638
8650
|
iconSide,
|
|
8639
8651
|
text,
|
|
8640
8652
|
typography,
|
|
8641
8653
|
kind,
|
|
8642
|
-
children: /* @__PURE__ */ (0,
|
|
8654
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
|
|
8643
8655
|
}
|
|
8644
8656
|
);
|
|
8645
8657
|
}
|
|
8646
|
-
const content = /* @__PURE__ */ (0,
|
|
8647
|
-
/* @__PURE__ */ (0,
|
|
8658
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_react26.Fragment, { children: [
|
|
8659
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
|
|
8648
8660
|
"div",
|
|
8649
8661
|
__spreadProps(__spreadValues({}, tooltipText ? { "data-tooltip-id": tooltipId.current } : {}), {
|
|
8650
8662
|
css: {
|
|
@@ -8655,7 +8667,7 @@ function Button(props) {
|
|
|
8655
8667
|
},
|
|
8656
8668
|
children: [
|
|
8657
8669
|
iconSide === "left" && currentIcon,
|
|
8658
|
-
text && /* @__PURE__ */ (0,
|
|
8670
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8659
8671
|
"div",
|
|
8660
8672
|
{
|
|
8661
8673
|
css: {
|
|
@@ -8673,7 +8685,7 @@ function Button(props) {
|
|
|
8673
8685
|
]
|
|
8674
8686
|
})
|
|
8675
8687
|
),
|
|
8676
|
-
tooltipText ? /* @__PURE__ */ (0,
|
|
8688
|
+
tooltipText ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Tooltip, { id: tooltipId.current, content: tooltipText }) : null
|
|
8677
8689
|
] });
|
|
8678
8690
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
8679
8691
|
const commonProps = {
|
|
@@ -8703,9 +8715,9 @@ function Button(props) {
|
|
|
8703
8715
|
zIndex
|
|
8704
8716
|
};
|
|
8705
8717
|
if (to) {
|
|
8706
|
-
return /* @__PURE__ */ (0,
|
|
8718
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
|
|
8707
8719
|
}
|
|
8708
|
-
return href ? /* @__PURE__ */ (0,
|
|
8720
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8709
8721
|
ButtonHrefLink,
|
|
8710
8722
|
__spreadProps(__spreadValues({}, commonProps), {
|
|
8711
8723
|
href,
|
|
@@ -8713,7 +8725,7 @@ function Button(props) {
|
|
|
8713
8725
|
target: "_blank",
|
|
8714
8726
|
children: content
|
|
8715
8727
|
})
|
|
8716
|
-
) : /* @__PURE__ */ (0,
|
|
8728
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
|
|
8717
8729
|
}
|
|
8718
8730
|
var buttonStyle = ({
|
|
8719
8731
|
paddingY,
|
|
@@ -8733,7 +8745,7 @@ var buttonStyle = ({
|
|
|
8733
8745
|
hoverBackgroundColor,
|
|
8734
8746
|
hoverBorderColor
|
|
8735
8747
|
}) => {
|
|
8736
|
-
return
|
|
8748
|
+
return import_react25.css`
|
|
8737
8749
|
display: inline-flex;
|
|
8738
8750
|
opacity: ${disabled && !isLoading ? 0.2 : 1};
|
|
8739
8751
|
${disabled ? "pointer-events: none;" : ""}
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import { Theme } from '@emotion/react';
|
|
5
5
|
import { RouteParams } from '../router.cjs';
|
|
6
|
-
import { B as ButtonTypographyArgs, P as PaddingYKey, a as ButtonBorderRadius, A as AllowedButtonTypographyTypes, T as ThemeOrColorKey } from '../
|
|
6
|
+
import { B as ButtonTypographyArgs, P as PaddingYKey, a as ButtonBorderRadius, A as AllowedButtonTypographyTypes, T as ThemeOrColorKey } from '../themes-37e92940.js';
|
|
7
7
|
import { TokenSizeKey } from '../styles/tokens/typography.cjs';
|
|
8
8
|
import { IconName } from './Icon/types.cjs';
|
|
9
9
|
import 'react-router-dom';
|
|
@@ -3,7 +3,7 @@ import * as react from 'react';
|
|
|
3
3
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import { Theme } from '@emotion/react';
|
|
5
5
|
import { RouteParams } from '../router.js';
|
|
6
|
-
import { B as ButtonTypographyArgs, P as PaddingYKey, a as ButtonBorderRadius, A as AllowedButtonTypographyTypes, T as ThemeOrColorKey } from '../
|
|
6
|
+
import { B as ButtonTypographyArgs, P as PaddingYKey, a as ButtonBorderRadius, A as AllowedButtonTypographyTypes, T as ThemeOrColorKey } from '../themes-832e46b2.js';
|
|
7
7
|
import { TokenSizeKey } from '../styles/tokens/typography.js';
|
|
8
8
|
import { IconName } from './Icon/types.js';
|
|
9
9
|
import 'react-router-dom';
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
ButtonSelector,
|
|
4
4
|
StyledButton,
|
|
5
5
|
buttonKinds
|
|
6
|
-
} from "../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-
|
|
18
|
-
import "../chunk-CRTTTIAD.js";
|
|
6
|
+
} from "../chunk-MNMVZI7D.js";
|
|
7
|
+
import "../chunk-DNGAINGL.js";
|
|
8
|
+
import "../chunk-LGXMGWLV.js";
|
|
9
|
+
import "../chunk-V523QTZQ.js";
|
|
10
|
+
import "../chunk-YRZ3VNBI.js";
|
|
11
|
+
import "../chunk-HPZVUEDJ.js";
|
|
12
|
+
import "../chunk-7COKMITX.js";
|
|
13
|
+
import "../chunk-DIKOS5R6.js";
|
|
14
|
+
import "../chunk-AZOVE32P.js";
|
|
15
|
+
import "../chunk-HVDX4OZJ.js";
|
|
16
|
+
import "../chunk-OMY3WTAU.js";
|
|
17
|
+
import "../chunk-OZQ5WPLN.js";
|
|
19
18
|
import "../chunk-YMNSXZ5D.js";
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-7BSME2ZU.js";
|
|
20
|
+
import "../chunk-4X67A2CS.js";
|
|
21
21
|
import "../chunk-OPV246QW.js";
|
|
22
22
|
import "../chunk-AAFUVYVP.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-OUHQXQOJ.js";
|
|
24
|
+
import "../chunk-ZS7G6WIG.js";
|
|
25
|
+
import "../chunk-JAPRGAB7.js";
|
|
26
26
|
import "../chunk-55OQPFLF.js";
|
|
27
|
-
import "../chunk-
|
|
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";
|
|
@@ -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 */,
|
|
@@ -4011,10 +4020,10 @@ var overflowAutoWithoutScrollbars = import_react5.css`
|
|
|
4011
4020
|
`;
|
|
4012
4021
|
|
|
4013
4022
|
// src/components/Button.tsx
|
|
4014
|
-
var
|
|
4023
|
+
var import_react26 = require("@emotion/react");
|
|
4015
4024
|
var import_styled15 = __toESM(require("@emotion/styled"), 1);
|
|
4016
4025
|
var import_lodash_es4 = require("lodash-es");
|
|
4017
|
-
var
|
|
4026
|
+
var import_react27 = require("react");
|
|
4018
4027
|
|
|
4019
4028
|
// src/router.tsx
|
|
4020
4029
|
var import_lodash_es2 = require("lodash-es");
|
|
@@ -8172,6 +8181,9 @@ var UnstyledButton = import_styled4.default.button`
|
|
|
8172
8181
|
font-weight: inherit;
|
|
8173
8182
|
`;
|
|
8174
8183
|
|
|
8184
|
+
// src/components/typography/renderTypography.tsx
|
|
8185
|
+
var import_react25 = __toESM(require("react"), 1);
|
|
8186
|
+
|
|
8175
8187
|
// src/components/typography/Body.tsx
|
|
8176
8188
|
var import_styled5 = __toESM(require("@emotion/styled"), 1);
|
|
8177
8189
|
|
|
@@ -8513,7 +8525,6 @@ var StyledTitle = import_styled14.default.span`
|
|
|
8513
8525
|
`;
|
|
8514
8526
|
|
|
8515
8527
|
// src/components/typography/renderTypography.tsx
|
|
8516
|
-
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8517
8528
|
var typographyMap = {
|
|
8518
8529
|
Display,
|
|
8519
8530
|
Headline,
|
|
@@ -8525,15 +8536,16 @@ var typographyMap = {
|
|
|
8525
8536
|
"Label Strong": LabelStrong,
|
|
8526
8537
|
Overline,
|
|
8527
8538
|
Code: Code2,
|
|
8528
|
-
"Code Strong":
|
|
8539
|
+
"Code Strong": Code2
|
|
8529
8540
|
};
|
|
8530
8541
|
var renderTypography = (type, props) => {
|
|
8531
8542
|
const TypographyComponent = typographyMap[type];
|
|
8532
|
-
|
|
8543
|
+
const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
|
|
8544
|
+
return import_react25.default.createElement(TypographyComponent, rest, children);
|
|
8533
8545
|
};
|
|
8534
8546
|
|
|
8535
8547
|
// src/components/Button.tsx
|
|
8536
|
-
var
|
|
8548
|
+
var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
|
|
8537
8549
|
var roundPaddingsX = {
|
|
8538
8550
|
[TokenSize.ExtraSmall]: 10,
|
|
8539
8551
|
[TokenSize.Small]: 10,
|
|
@@ -8638,7 +8650,7 @@ function resolveProps(props, theme) {
|
|
|
8638
8650
|
});
|
|
8639
8651
|
}
|
|
8640
8652
|
function Button(props) {
|
|
8641
|
-
const theme = (0,
|
|
8653
|
+
const theme = (0, import_react26.useTheme)();
|
|
8642
8654
|
const {
|
|
8643
8655
|
kind,
|
|
8644
8656
|
typography,
|
|
@@ -8670,34 +8682,34 @@ function Button(props) {
|
|
|
8670
8682
|
tooltipText,
|
|
8671
8683
|
borderRadius
|
|
8672
8684
|
} = resolveProps(props, theme);
|
|
8673
|
-
const tooltipId = (0,
|
|
8685
|
+
const tooltipId = (0, import_react27.useRef)((0, import_lodash_es4.uniqueId)());
|
|
8674
8686
|
const iconSize = size2 === "ExtraSmall" ? 12 : 16;
|
|
8675
8687
|
let currentIcon = null;
|
|
8676
8688
|
if (loading) {
|
|
8677
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8689
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8678
8690
|
ButtonIcon,
|
|
8679
8691
|
{
|
|
8680
8692
|
iconSide,
|
|
8681
8693
|
text,
|
|
8682
8694
|
typography,
|
|
8683
8695
|
kind,
|
|
8684
|
-
children: /* @__PURE__ */ (0,
|
|
8696
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Loading, { size: iconSize, center: false })
|
|
8685
8697
|
}
|
|
8686
8698
|
);
|
|
8687
8699
|
} else if (icon) {
|
|
8688
|
-
currentIcon = /* @__PURE__ */ (0,
|
|
8700
|
+
currentIcon = /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8689
8701
|
ButtonIcon,
|
|
8690
8702
|
{
|
|
8691
8703
|
iconSide,
|
|
8692
8704
|
text,
|
|
8693
8705
|
typography,
|
|
8694
8706
|
kind,
|
|
8695
|
-
children: /* @__PURE__ */ (0,
|
|
8707
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { name: icon, width: iconSize, color: typography.color })
|
|
8696
8708
|
}
|
|
8697
8709
|
);
|
|
8698
8710
|
}
|
|
8699
|
-
const content = /* @__PURE__ */ (0,
|
|
8700
|
-
/* @__PURE__ */ (0,
|
|
8711
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(import_react27.Fragment, { children: [
|
|
8712
|
+
/* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(
|
|
8701
8713
|
"div",
|
|
8702
8714
|
__spreadProps(__spreadValues({}, tooltipText ? { "data-tooltip-id": tooltipId.current } : {}), {
|
|
8703
8715
|
css: {
|
|
@@ -8708,7 +8720,7 @@ function Button(props) {
|
|
|
8708
8720
|
},
|
|
8709
8721
|
children: [
|
|
8710
8722
|
iconSide === "left" && currentIcon,
|
|
8711
|
-
text && /* @__PURE__ */ (0,
|
|
8723
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8712
8724
|
"div",
|
|
8713
8725
|
{
|
|
8714
8726
|
css: {
|
|
@@ -8726,7 +8738,7 @@ function Button(props) {
|
|
|
8726
8738
|
]
|
|
8727
8739
|
})
|
|
8728
8740
|
),
|
|
8729
|
-
tooltipText ? /* @__PURE__ */ (0,
|
|
8741
|
+
tooltipText ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Tooltip, { id: tooltipId.current, content: tooltipText }) : null
|
|
8730
8742
|
] });
|
|
8731
8743
|
const isSingleCharRoundButton = Boolean(text && text.length === 1 && !icon);
|
|
8732
8744
|
const commonProps = {
|
|
@@ -8756,9 +8768,9 @@ function Button(props) {
|
|
|
8756
8768
|
zIndex
|
|
8757
8769
|
};
|
|
8758
8770
|
if (to) {
|
|
8759
|
-
return /* @__PURE__ */ (0,
|
|
8771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(ButtonLink, __spreadProps(__spreadValues({}, commonProps), { to, params: toParams, hash, children: content }));
|
|
8760
8772
|
}
|
|
8761
|
-
return href ? /* @__PURE__ */ (0,
|
|
8773
|
+
return href ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
|
|
8762
8774
|
ButtonHrefLink,
|
|
8763
8775
|
__spreadProps(__spreadValues({}, commonProps), {
|
|
8764
8776
|
href,
|
|
@@ -8766,7 +8778,7 @@ function Button(props) {
|
|
|
8766
8778
|
target: "_blank",
|
|
8767
8779
|
children: content
|
|
8768
8780
|
})
|
|
8769
|
-
) : /* @__PURE__ */ (0,
|
|
8781
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(StyledButton, __spreadProps(__spreadValues({}, commonProps), { children: content }));
|
|
8770
8782
|
}
|
|
8771
8783
|
var buttonStyle = ({
|
|
8772
8784
|
paddingY,
|
|
@@ -8786,7 +8798,7 @@ var buttonStyle = ({
|
|
|
8786
8798
|
hoverBackgroundColor,
|
|
8787
8799
|
hoverBorderColor
|
|
8788
8800
|
}) => {
|
|
8789
|
-
return
|
|
8801
|
+
return import_react26.css`
|
|
8790
8802
|
display: inline-flex;
|
|
8791
8803
|
opacity: ${disabled && !isLoading ? 0.2 : 1};
|
|
8792
8804
|
${disabled ? "pointer-events: none;" : ""}
|
|
@@ -8850,15 +8862,15 @@ var ButtonHrefLink = import_styled15.default.a`
|
|
|
8850
8862
|
`;
|
|
8851
8863
|
|
|
8852
8864
|
// src/components/ButtonRow.tsx
|
|
8853
|
-
var
|
|
8865
|
+
var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
|
|
8854
8866
|
function ButtonRow({
|
|
8855
8867
|
buttons,
|
|
8856
8868
|
className,
|
|
8857
8869
|
smSticky = true,
|
|
8858
8870
|
headerHeight = 0
|
|
8859
8871
|
}) {
|
|
8860
|
-
return /* @__PURE__ */ (0,
|
|
8861
|
-
(button, idx) => button === "divider" ? /* @__PURE__ */ (0,
|
|
8872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(ButtonRowContainer, { smSticky, headerHeight, children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(StyledButtonRow, { className, children: buttons.map(
|
|
8873
|
+
(button, idx) => button === "divider" ? /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(ButtonRowDivider, {}, idx) : /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(Button, __spreadValues({}, button), idx)
|
|
8862
8874
|
) }) });
|
|
8863
8875
|
}
|
|
8864
8876
|
var ButtonRowContainer = import_styled16.default.div`
|
|
@@ -5,7 +5,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
5
5
|
import { ButtonProps } from './Button.cjs';
|
|
6
6
|
import '../router.cjs';
|
|
7
7
|
import 'react-router-dom';
|
|
8
|
-
import '../
|
|
8
|
+
import '../themes-37e92940.js';
|
|
9
9
|
import '../styles/tokens/typography.cjs';
|
|
10
10
|
import '@emotion/css';
|
|
11
11
|
import '../styles/colors.cjs';
|
|
@@ -5,7 +5,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
5
5
|
import { ButtonProps } from './Button.js';
|
|
6
6
|
import '../router.js';
|
|
7
7
|
import 'react-router-dom';
|
|
8
|
-
import '../
|
|
8
|
+
import '../themes-832e46b2.js';
|
|
9
9
|
import '../styles/tokens/typography.js';
|
|
10
10
|
import '@emotion/css';
|
|
11
11
|
import '../styles/colors.js';
|
|
@@ -2,30 +2,30 @@ import {
|
|
|
2
2
|
ButtonRow,
|
|
3
3
|
ButtonRowContainer,
|
|
4
4
|
StyledButtonRow
|
|
5
|
-
} from "../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-
|
|
18
|
-
import "../chunk-CRTTTIAD.js";
|
|
5
|
+
} from "../chunk-WDJMAZFO.js";
|
|
6
|
+
import "../chunk-MNMVZI7D.js";
|
|
7
|
+
import "../chunk-DNGAINGL.js";
|
|
8
|
+
import "../chunk-LGXMGWLV.js";
|
|
9
|
+
import "../chunk-V523QTZQ.js";
|
|
10
|
+
import "../chunk-YRZ3VNBI.js";
|
|
11
|
+
import "../chunk-HPZVUEDJ.js";
|
|
12
|
+
import "../chunk-7COKMITX.js";
|
|
13
|
+
import "../chunk-DIKOS5R6.js";
|
|
14
|
+
import "../chunk-AZOVE32P.js";
|
|
15
|
+
import "../chunk-HVDX4OZJ.js";
|
|
16
|
+
import "../chunk-OMY3WTAU.js";
|
|
17
|
+
import "../chunk-OZQ5WPLN.js";
|
|
19
18
|
import "../chunk-YMNSXZ5D.js";
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-7BSME2ZU.js";
|
|
20
|
+
import "../chunk-4X67A2CS.js";
|
|
21
21
|
import "../chunk-OPV246QW.js";
|
|
22
22
|
import "../chunk-AAFUVYVP.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-OUHQXQOJ.js";
|
|
24
|
+
import "../chunk-ZS7G6WIG.js";
|
|
25
|
+
import "../chunk-JAPRGAB7.js";
|
|
26
26
|
import "../chunk-55OQPFLF.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-GQVNE3NU.js";
|
|
28
|
+
import "../chunk-TNDSUTUN.js";
|
|
29
29
|
import "../chunk-EDN2QDCB.js";
|
|
30
30
|
import "../chunk-FT62PIPN.js";
|
|
31
31
|
import "../chunk-5ZDDVLS6.js";
|
|
@@ -140,8 +140,8 @@ import "../chunk-VI6WTKMV.js";
|
|
|
140
140
|
import "../chunk-QW2INB5A.js";
|
|
141
141
|
import "../chunk-JLD7MGLC.js";
|
|
142
142
|
import "../chunk-DW6LFUI2.js";
|
|
143
|
-
import "../chunk-
|
|
144
|
-
import "../chunk-
|
|
143
|
+
import "../chunk-CZFFMEAS.js";
|
|
144
|
+
import "../chunk-VNQE6KEX.js";
|
|
145
145
|
import "../chunk-ENBUKLVT.js";
|
|
146
146
|
import "../chunk-JSGRNWSB.js";
|
|
147
147
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3533,8 +3533,7 @@ var baseThemeColors = {
|
|
|
3533
3533
|
success: colors.success,
|
|
3534
3534
|
text: colors.black,
|
|
3535
3535
|
vlcNeutral: colors.gray95,
|
|
3536
|
-
warning: colors.warning
|
|
3537
|
-
inputBackground: colors.white
|
|
3536
|
+
warning: colors.warning
|
|
3538
3537
|
};
|
|
3539
3538
|
var themeOrColorKeyValues = [
|
|
3540
3539
|
...Object.keys(baseThemeColors),
|
|
@@ -3546,6 +3545,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3546
3545
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3547
3546
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3548
3547
|
buttons: defaultButtonsTheme,
|
|
3548
|
+
badge: {
|
|
3549
|
+
bg: "c05Neutral"
|
|
3550
|
+
},
|
|
3551
|
+
inputBackground: colors.white,
|
|
3549
3552
|
loading: "LoadingSpinner"
|
|
3550
3553
|
});
|
|
3551
3554
|
var lightBaseTheme = baseTheme;
|
|
@@ -3583,7 +3586,10 @@ var darkBaseTheme = {
|
|
|
3583
3586
|
warning: colors.warning,
|
|
3584
3587
|
buttons: defaultButtonsTheme,
|
|
3585
3588
|
loading: "LoadingSpinner",
|
|
3586
|
-
inputBackground: colors.black
|
|
3589
|
+
inputBackground: colors.black,
|
|
3590
|
+
badge: {
|
|
3591
|
+
bg: "c15Neutral"
|
|
3592
|
+
}
|
|
3587
3593
|
};
|
|
3588
3594
|
var lightTheme = extend(lightBaseTheme, {
|
|
3589
3595
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3699,7 +3705,10 @@ var bridgeBaseSettings = {
|
|
|
3699
3705
|
defaultBorderWidth: 1
|
|
3700
3706
|
}
|
|
3701
3707
|
}
|
|
3702
|
-
})
|
|
3708
|
+
}),
|
|
3709
|
+
badge: {
|
|
3710
|
+
bg: "grayBlue94"
|
|
3711
|
+
}
|
|
3703
3712
|
};
|
|
3704
3713
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3705
3714
|
type: "bridgeLight" /* BridgeLight */,
|