@lightsparkdev/ui 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/{buttons-38b5823f.d.ts → buttons-35280bfe.d.ts} +40 -15
- package/dist/{buttons-a63671c2.d.ts → buttons-36cdd0fe.d.ts} +40 -15
- package/dist/{chunk-IOWK2GBE.js → chunk-2AGBCGOW.js} +2 -2
- package/dist/{chunk-BAQMHUBZ.js → chunk-2IXAUIKR.js} +2 -2
- package/dist/{chunk-YYPRW5VJ.js → chunk-2XUHQWCJ.js} +4 -4
- package/dist/{chunk-HV6SRK57.js → chunk-35PJW7RT.js} +2 -2
- package/dist/{chunk-NHZO42IA.js → chunk-435FPPZK.js} +2 -2
- package/dist/{chunk-ACYYMZQZ.js → chunk-4BFBANKF.js} +13 -13
- package/dist/{chunk-WIFHFWAN.js → chunk-4C2TISN7.js} +1 -1
- package/dist/{chunk-KBL7GU4S.js → chunk-4JHXRPRB.js} +3 -3
- package/dist/{chunk-RVT4NV6Z.js → chunk-54EOEIEN.js} +2 -2
- package/dist/{chunk-54WKLEUU.js → chunk-5TTLUOJ5.js} +1 -1
- package/dist/{chunk-FEJU2K4L.js → chunk-6CNJ5ZCC.js} +4 -4
- package/dist/{chunk-I5PGTS2V.js → chunk-7FHOKVKJ.js} +9 -9
- package/dist/{chunk-UKAPI3BN.js → chunk-7IHNYMFQ.js} +2 -2
- package/dist/{chunk-4CYGTH2J.js → chunk-7N2PFDYE.js} +2 -2
- package/dist/{chunk-JXXIU52B.js → chunk-7WDAN3OC.js} +1 -1
- package/dist/{chunk-GKH3ZH4N.js → chunk-7Y2G2JDF.js} +2 -2
- package/dist/{chunk-CZH4OCQY.js → chunk-7YY6BH5O.js} +2 -2
- package/dist/{chunk-4QVTXKRX.js → chunk-AAFUVYVP.js} +1 -1
- package/dist/chunk-ABSTTY5Q.js +7 -0
- package/dist/{chunk-NMJGBK5W.js → chunk-B6S7Y4K7.js} +2 -2
- package/dist/{chunk-3TKO2L4T.js → chunk-BDZ46Z2I.js} +2 -2
- package/dist/{chunk-E6XGSPA6.js → chunk-BENSR2YW.js} +1 -1
- package/dist/{chunk-BPZ7AV7W.js → chunk-BHP5YL2N.js} +1 -1
- package/dist/{chunk-NEH2HFAW.js → chunk-BSH6WRUZ.js} +3 -3
- package/dist/{chunk-2I6UL3CQ.js → chunk-C4KZC45Y.js} +125 -59
- package/dist/{chunk-4YN25H5H.js → chunk-CRTTTIAD.js} +2 -2
- package/dist/{chunk-TKERS7F6.js → chunk-DXA3WUSX.js} +2 -2
- package/dist/{chunk-SW6GFFIG.js → chunk-E4DUADXU.js} +1 -1
- package/dist/{chunk-GKBQAEH5.js → chunk-FO7I4E45.js} +17 -2
- package/dist/{chunk-MD7VQ24I.js → chunk-FT62PIPN.js} +119 -119
- package/dist/{chunk-FUC2Z5QZ.js → chunk-GSKTHUQJ.js} +2 -2
- package/dist/{chunk-POTDIFIX.js → chunk-GWHKALYQ.js} +2 -2
- package/dist/{chunk-TW4DU3WY.js → chunk-HGOGF6I7.js} +1 -1
- package/dist/{chunk-UAFWDZRG.js → chunk-I3FI3FNP.js} +4 -4
- package/dist/{chunk-ZFDYANKZ.js → chunk-IBZBPQMZ.js} +21 -15
- package/dist/chunk-IL6J7EBZ.js +17 -0
- package/dist/{chunk-VRZRCDI4.js → chunk-ILEZ6AWT.js} +5 -5
- package/dist/{chunk-LWYMD7X4.js → chunk-J3YVJWRG.js} +5 -5
- package/dist/{chunk-HXKKG2VQ.js → chunk-JNNJVBHF.js} +52 -7
- package/dist/{chunk-ZKJS5M5E.js → chunk-K7FYXGOI.js} +1 -1
- package/dist/{chunk-NPY3QVGG.js → chunk-KX5QZXCD.js} +1 -1
- package/dist/{chunk-TSHXYNRZ.js → chunk-LGKXPUSI.js} +3 -3
- package/dist/{chunk-KOD6R7U5.js → chunk-LH7GLNMY.js} +1 -1
- package/dist/{chunk-VENBTZHV.js → chunk-LIQSJ5R7.js} +2 -2
- package/dist/{chunk-UA3XC7J6.js → chunk-LOL5TJ3H.js} +11 -11
- package/dist/{chunk-HGYVPOA7.js → chunk-LTCJ6LNO.js} +1 -1
- package/dist/{chunk-YQP6EWZY.js → chunk-MRGHRTKA.js} +2 -2
- package/dist/{chunk-7TOLLB23.js → chunk-MWDDIXIP.js} +1 -1
- package/dist/{chunk-HE76YUIL.js → chunk-N2NPIZCV.js} +11 -11
- package/dist/{chunk-MO5PIHUX.js → chunk-OKXC33OU.js} +1 -1
- package/dist/{chunk-52POF2W4.js → chunk-PG2W2HVB.js} +6 -6
- package/dist/{chunk-QSVZXM35.js → chunk-PQKVR2BR.js} +1 -1
- package/dist/{chunk-RHHYOFN6.js → chunk-QQSV7XJX.js} +1 -1
- package/dist/{chunk-3A6TEYT3.js → chunk-RPNTFEXE.js} +1 -1
- package/dist/{chunk-CB2PBQ2G.js → chunk-SEZEDINC.js} +3 -3
- package/dist/{chunk-GHIYWOAC.js → chunk-SLKPLSJU.js} +27 -41
- package/dist/{chunk-AXFZE7WZ.js → chunk-SNFRMD6Z.js} +4 -4
- package/dist/{chunk-SBFDPMTS.js → chunk-UH5F35II.js} +3 -3
- package/dist/{chunk-44UNWWP3.js → chunk-VXKNN4SF.js} +13 -13
- package/dist/{chunk-AHIR5UAO.js → chunk-WGKUDRZ7.js} +2 -2
- package/dist/{chunk-MGXWKJDU.js → chunk-WTMJTGW4.js} +2 -2
- package/dist/{chunk-PK4E5P4Q.js → chunk-X4TGLNCH.js} +3 -3
- package/dist/{chunk-QVKXSZ63.js → chunk-XB4KQFK2.js} +2 -2
- package/dist/{chunk-QBJ57KNQ.js → chunk-XDP7GCYE.js} +3 -2
- package/dist/{chunk-5GVDRJLI.js → chunk-XM2HQVUK.js} +7 -7
- package/dist/{chunk-KYTOF4WO.js → chunk-XUWFUTR4.js} +1 -1
- package/dist/{chunk-C7TNFU3D.js → chunk-Y7RQUJUS.js} +5 -5
- package/dist/{chunk-CY3LZRBR.js → chunk-YIHC25WB.js} +3 -3
- package/dist/{chunk-3BMKXP5E.js → chunk-YRNEIRHM.js} +5 -5
- package/dist/components/Badge.cjs +43 -21
- package/dist/components/Badge.js +80 -80
- package/dist/components/Banner/Banner.cjs +43 -21
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +79 -79
- package/dist/components/Button.cjs +65 -56
- package/dist/components/Button.d.cts +2 -5
- package/dist/components/Button.d.ts +2 -5
- package/dist/components/Button.js +81 -81
- package/dist/components/ButtonRow.cjs +65 -56
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +83 -83
- package/dist/components/CardPage.cjs +37 -16
- package/dist/components/CardPage.js +85 -85
- package/dist/components/Checkbox.js +5 -5
- package/dist/components/CodeBlock.cjs +46 -24
- package/dist/components/CodeBlock.js +68 -68
- package/dist/components/CodeInput/CodeInput.cjs +38 -17
- package/dist/components/CodeInput/CodeInput.js +8 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +38 -17
- package/dist/components/CodeInput/SingleCodeInput.js +7 -7
- package/dist/components/Collapsible.cjs +42 -21
- package/dist/components/Collapsible.js +65 -65
- package/dist/components/CommaNumberInput.cjs +47 -25
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +71 -71
- package/dist/components/ContentTable.cjs +42 -21
- package/dist/components/ContentTable.js +64 -64
- package/dist/components/CopyToClipboardButton.cjs +46 -24
- package/dist/components/CopyToClipboardButton.js +66 -66
- package/dist/components/CurrencyAmount.cjs +42 -21
- package/dist/components/CurrencyAmount.js +64 -64
- package/dist/components/Drawer.cjs +236 -191
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +82 -82
- package/dist/components/Dropdown.cjs +46 -24
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +66 -66
- package/dist/components/FileInput.cjs +42 -21
- package/dist/components/FileInput.js +70 -70
- package/dist/components/Flex.cjs +51 -0
- package/dist/components/Flex.d.cts +11 -0
- package/dist/components/Flex.d.ts +11 -0
- package/dist/components/Flex.js +7 -0
- package/dist/components/GradientCardHeader.js +7 -7
- package/dist/components/Icon/Icon.cjs +42 -21
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +63 -63
- package/dist/components/IconWithCircleBackground.cjs +7737 -0
- package/dist/components/IconWithCircleBackground.d.cts +8 -0
- package/dist/components/IconWithCircleBackground.d.ts +8 -0
- package/dist/components/IconWithCircleBackground.js +198 -0
- package/dist/components/InfoIconTooltip.cjs +47 -24
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +80 -80
- package/dist/components/LightsparkProvider.cjs +37 -16
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +42 -21
- package/dist/components/Loading.js +64 -64
- package/dist/components/Modal.cjs +229 -115
- package/dist/components/Modal.d.cts +18 -9
- package/dist/components/Modal.d.ts +18 -9
- package/dist/components/Modal.js +129 -86
- package/dist/components/PageSection/PageSection.cjs +47 -24
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +90 -90
- package/dist/components/PageSection/PageSectionNav.cjs +43 -21
- package/dist/components/PageSection/PageSectionNav.js +81 -81
- package/dist/components/PhoneInput.cjs +47 -25
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +71 -71
- package/dist/components/Pill.cjs +42 -21
- package/dist/components/Pill.js +67 -67
- package/dist/components/ProgressBar.cjs +37 -16
- package/dist/components/ProgressBar.js +5 -5
- package/dist/components/Radio.cjs +43 -21
- package/dist/components/Radio.js +80 -80
- package/dist/components/SecretContainer.cjs +46 -24
- package/dist/components/SecretContainer.js +67 -67
- package/dist/components/StatusIndicator.js +6 -6
- package/dist/components/TextButton.cjs +43 -21
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +80 -80
- package/dist/components/TextIconAligner.cjs +43 -21
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +78 -78
- package/dist/components/TextInput.cjs +47 -25
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +70 -70
- package/dist/components/Toasts.cjs +43 -21
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +81 -81
- package/dist/components/Toggle.cjs +37 -16
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Tooltip.cjs +41 -19
- package/dist/components/Tooltip.js +5 -5
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +42 -21
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +69 -69
- package/dist/components/documentation/DocsBodyParagraph.cjs +37 -16
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +67 -67
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +37 -16
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +67 -67
- package/dist/components/documentation/DocsHeadline.cjs +37 -16
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +68 -68
- package/dist/components/documentation/Video.cjs +16 -0
- package/dist/components/documentation/Video.d.cts +7 -1
- package/dist/components/documentation/Video.d.ts +7 -1
- package/dist/components/documentation/Video.js +20 -4
- package/dist/components/documentation/index.cjs +42 -21
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +69 -69
- package/dist/components/index.cjs +347 -231
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +138 -132
- package/dist/components/typography/Article.cjs +37 -16
- package/dist/components/typography/Article.js +74 -74
- package/dist/components/typography/Body.cjs +43 -21
- package/dist/components/typography/Body.d.cts +1 -1
- package/dist/components/typography/Body.d.ts +1 -1
- package/dist/components/typography/Body.js +67 -67
- package/dist/components/typography/BodyStrong.cjs +43 -21
- package/dist/components/typography/BodyStrong.d.cts +1 -1
- package/dist/components/typography/BodyStrong.d.ts +1 -1
- package/dist/components/typography/BodyStrong.js +67 -67
- package/dist/components/typography/Code.cjs +43 -21
- package/dist/components/typography/Code.d.cts +1 -1
- package/dist/components/typography/Code.d.ts +1 -1
- package/dist/components/typography/Code.js +67 -67
- package/dist/components/typography/Display.cjs +43 -21
- package/dist/components/typography/Display.d.cts +1 -1
- package/dist/components/typography/Display.d.ts +1 -1
- package/dist/components/typography/Display.js +67 -67
- package/dist/components/typography/Headline.cjs +43 -21
- package/dist/components/typography/Headline.d.cts +1 -1
- package/dist/components/typography/Headline.d.ts +1 -1
- package/dist/components/typography/Headline.js +67 -67
- package/dist/components/typography/Label.cjs +43 -21
- package/dist/components/typography/Label.d.cts +1 -1
- package/dist/components/typography/Label.d.ts +1 -1
- package/dist/components/typography/Label.js +67 -67
- package/dist/components/typography/LabelModerate.cjs +43 -21
- package/dist/components/typography/LabelModerate.d.cts +1 -1
- package/dist/components/typography/LabelModerate.d.ts +1 -1
- package/dist/components/typography/LabelModerate.js +67 -67
- package/dist/components/typography/LabelStrong.cjs +43 -21
- package/dist/components/typography/LabelStrong.d.cts +1 -1
- package/dist/components/typography/LabelStrong.d.ts +1 -1
- package/dist/components/typography/LabelStrong.js +67 -67
- package/dist/components/typography/Overline.cjs +43 -21
- package/dist/components/typography/Overline.d.cts +1 -1
- package/dist/components/typography/Overline.d.ts +1 -1
- package/dist/components/typography/Overline.js +67 -67
- package/dist/components/typography/Title.cjs +43 -21
- package/dist/components/typography/Title.d.cts +1 -1
- package/dist/components/typography/Title.d.ts +1 -1
- package/dist/components/typography/Title.js +67 -67
- package/dist/components/typography/index.cjs +43 -21
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +86 -86
- package/dist/components/typography/renderTypography.cjs +43 -21
- package/dist/components/typography/renderTypography.d.cts +1 -1
- package/dist/components/typography/renderTypography.d.ts +1 -1
- package/dist/components/typography/renderTypography.js +77 -77
- package/dist/hooks/useDocumentTitle.cjs +56 -0
- package/dist/hooks/useDocumentTitle.d.cts +3 -0
- package/dist/hooks/useDocumentTitle.d.ts +3 -0
- package/dist/hooks/useDocumentTitle.js +20 -0
- package/dist/hooks/useIsomorphicLayoutEffect.cjs +41 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.cts +5 -0
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +5 -0
- package/dist/hooks/useIsomorphicLayoutEffect.js +7 -0
- package/dist/icons/ArrowUpRightCircleFill.cjs +2 -2
- package/dist/icons/ArrowUpRightCircleFill.js +1 -1
- package/dist/icons/Figma.cjs +2 -2
- package/dist/icons/Figma.js +1 -1
- package/dist/icons/index.cjs +4 -4
- package/dist/icons/index.js +121 -121
- package/dist/router.js +2 -2
- package/dist/styles/buttons.cjs +17 -2
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/buttons.js +1 -1
- package/dist/styles/colors.cjs +1 -1
- package/dist/styles/colors.d.cts +1 -1
- package/dist/styles/colors.d.ts +1 -1
- package/dist/styles/colors.js +1 -1
- package/dist/styles/common.cjs +41 -19
- package/dist/styles/common.d.cts +3 -2
- package/dist/styles/common.d.ts +3 -2
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +38 -17
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +6 -6
- package/dist/styles/global.cjs +37 -16
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +5 -5
- package/dist/styles/themes.cjs +37 -16
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +3 -3
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +6 -6
- package/dist/styles/typography.cjs +37 -16
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +4 -4
- package/dist/styles/utils.js +5 -5
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +43 -21
- package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
- package/dist/utils/toNonTypographicReactNodes.js +65 -65
- package/dist/utils/toReactNodes.cjs +43 -21
- package/dist/utils/toReactNodes.d.cts +1 -1
- package/dist/utils/toReactNodes.d.ts +1 -1
- package/dist/utils/toReactNodes.js +78 -78
- package/package.json +1 -1
|
@@ -220,7 +220,7 @@ var colors = baseColors;
|
|
|
220
220
|
function isColorKey(key) {
|
|
221
221
|
return key in colors;
|
|
222
222
|
}
|
|
223
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
223
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
224
224
|
const bgRGB = hexToRGB(bgHex);
|
|
225
225
|
const hcRGB = hexToRGB(defaultHex);
|
|
226
226
|
if (!bgRGB || !hcRGB)
|
|
@@ -261,7 +261,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
261
261
|
// src/styles/buttons.tsx
|
|
262
262
|
var buttonsThemeBase = {
|
|
263
263
|
defaultSize: "Small",
|
|
264
|
-
|
|
264
|
+
defaultTypographyType: "Body Strong",
|
|
265
|
+
defaultColor: "text",
|
|
265
266
|
defaultBorderRadius: 32,
|
|
266
267
|
defaultBorderWidth: 1,
|
|
267
268
|
defaultBackgroundColor: "bg",
|
|
@@ -285,6 +286,7 @@ var buttonsThemeBase = {
|
|
|
285
286
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
286
287
|
kinds: {
|
|
287
288
|
primary: {
|
|
289
|
+
defaultColor: "bg",
|
|
288
290
|
defaultBorderWidth: 0,
|
|
289
291
|
defaultBackgroundColor: "c9Neutral",
|
|
290
292
|
defaultBorderColor: "c9Neutral",
|
|
@@ -312,7 +314,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
312
314
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
313
315
|
},
|
|
314
316
|
blue39: {
|
|
315
|
-
defaultBorderColor: "blue39"
|
|
317
|
+
defaultBorderColor: "blue39",
|
|
318
|
+
defaultColor: "gray98"
|
|
319
|
+
},
|
|
320
|
+
blue43: {
|
|
321
|
+
defaultColor: "white"
|
|
322
|
+
},
|
|
323
|
+
green33: {
|
|
324
|
+
defaultColor: "white"
|
|
325
|
+
},
|
|
326
|
+
purple55: {
|
|
327
|
+
defaultColor: "white"
|
|
328
|
+
},
|
|
329
|
+
danger: {
|
|
330
|
+
defaultColor: "white"
|
|
316
331
|
}
|
|
317
332
|
}
|
|
318
333
|
});
|
|
@@ -3503,7 +3518,8 @@ var baseThemeColors = {
|
|
|
3503
3518
|
success: colors.success,
|
|
3504
3519
|
text: colors.black,
|
|
3505
3520
|
vlcNeutral: colors.gray95,
|
|
3506
|
-
warning: colors.warning
|
|
3521
|
+
warning: colors.warning,
|
|
3522
|
+
inputBackground: colors.white
|
|
3507
3523
|
};
|
|
3508
3524
|
var themeOrColorKeyValues = [
|
|
3509
3525
|
...Object.keys(baseThemeColors),
|
|
@@ -3551,7 +3567,8 @@ var darkBaseTheme = {
|
|
|
3551
3567
|
vlcNeutral: colors.gray20,
|
|
3552
3568
|
warning: colors.warning,
|
|
3553
3569
|
buttons: defaultButtonsTheme,
|
|
3554
|
-
loading: "LoadingSpinner"
|
|
3570
|
+
loading: "LoadingSpinner",
|
|
3571
|
+
inputBackground: colors.black
|
|
3555
3572
|
};
|
|
3556
3573
|
var lightTheme = extend(lightBaseTheme, {
|
|
3557
3574
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3590,6 +3607,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3590
3607
|
secondary: colors.grayBlue43,
|
|
3591
3608
|
text: colors.grayBlue9,
|
|
3592
3609
|
link: colors.blue39,
|
|
3610
|
+
inputBackground: colors.white,
|
|
3593
3611
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3594
3612
|
main: "Manrope",
|
|
3595
3613
|
code: "Monaco"
|
|
@@ -3634,28 +3652,30 @@ var bridgeBaseSettings = {
|
|
|
3634
3652
|
code: "Monaco"
|
|
3635
3653
|
}),
|
|
3636
3654
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3637
|
-
|
|
3655
|
+
defaultTypographyType: "Title",
|
|
3638
3656
|
defaultSize: "Medium",
|
|
3639
3657
|
defaultBorderRadius: 8,
|
|
3640
3658
|
defaultBorderWidth: 0,
|
|
3659
|
+
defaultPaddingsY: {
|
|
3660
|
+
ExtraSmall: 14,
|
|
3661
|
+
Small: 14,
|
|
3662
|
+
Schmedium: 14,
|
|
3663
|
+
Medium: 14,
|
|
3664
|
+
Mlarge: 14,
|
|
3665
|
+
Large: 14
|
|
3666
|
+
},
|
|
3641
3667
|
kinds: {
|
|
3642
3668
|
primary: {
|
|
3669
|
+
defaultColor: "bg",
|
|
3643
3670
|
defaultBackgroundColor: "blue39",
|
|
3644
3671
|
defaultHoverBackgroundColor: "blue37"
|
|
3645
3672
|
},
|
|
3646
3673
|
ghost: {
|
|
3674
|
+
defaultColor: "secondary",
|
|
3647
3675
|
defaultBackgroundColor: "transparent",
|
|
3648
3676
|
defaultBorderWidth: 0,
|
|
3649
3677
|
defaultHoverBackgroundColor: "transparent",
|
|
3650
|
-
defaultHoverBorderColor: "transparent"
|
|
3651
|
-
defaultPaddingsY: {
|
|
3652
|
-
ExtraSmall: 0,
|
|
3653
|
-
Small: 0,
|
|
3654
|
-
Schmedium: 0,
|
|
3655
|
-
Medium: 0,
|
|
3656
|
-
Mlarge: 0,
|
|
3657
|
-
Large: 0
|
|
3658
|
-
}
|
|
3678
|
+
defaultHoverBorderColor: "transparent"
|
|
3659
3679
|
},
|
|
3660
3680
|
secondary: {
|
|
3661
3681
|
defaultBackgroundColor: "transparent",
|
|
@@ -3672,7 +3692,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3672
3692
|
bg: colors.gray98,
|
|
3673
3693
|
smBg: colors.gray98,
|
|
3674
3694
|
text: colors.grayBlue9,
|
|
3675
|
-
secondary: colors.grayBlue43
|
|
3695
|
+
secondary: colors.grayBlue43,
|
|
3696
|
+
inputBackground: colors.white
|
|
3676
3697
|
}));
|
|
3677
3698
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3678
3699
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -4385,8 +4406,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4385
4406
|
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4386
4407
|
"path",
|
|
4387
4408
|
{
|
|
4388
|
-
|
|
4389
|
-
|
|
4409
|
+
fillRule: "evenodd",
|
|
4410
|
+
clipRule: "evenodd",
|
|
4390
4411
|
d: "M20 1.25C30.3553 1.25 38.75 9.64468 38.75 20C38.75 30.3553 30.3553 38.75 20 38.75C9.64468 38.75 1.25 30.3553 1.25 20C1.25 9.64468 9.64468 1.25 20 1.25ZM15.4392 12.4122C14.8869 12.4122 14.4392 12.8599 14.4392 13.4122C14.4392 13.9644 14.8869 14.4122 15.4392 14.4122H24.1736L12.7051 25.8807C12.3146 26.2713 12.3146 26.9044 12.7051 27.2949C13.0956 27.6855 13.7288 27.6855 14.1193 27.2949L25.5879 15.8263V24.5608C25.5879 25.1131 26.0356 25.5608 26.5879 25.5608C27.1402 25.5608 27.5879 25.1131 27.5879 24.5608V13.4122C27.5879 12.8599 27.1402 12.4122 26.5879 12.4122H15.4392Z",
|
|
4391
4412
|
fill: "black"
|
|
4392
4413
|
}
|
|
@@ -5287,8 +5308,8 @@ function Figma() {
|
|
|
5287
5308
|
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5288
5309
|
"path",
|
|
5289
5310
|
{
|
|
5290
|
-
|
|
5291
|
-
|
|
5311
|
+
fillRule: "evenodd",
|
|
5312
|
+
clipRule: "evenodd",
|
|
5292
5313
|
d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
|
|
5293
5314
|
fill: "black"
|
|
5294
5315
|
}
|
|
@@ -7832,7 +7853,7 @@ var IconContainer = import_styled3.default.span`
|
|
|
7832
7853
|
${({ theme, fontColor }) => {
|
|
7833
7854
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7834
7855
|
return `
|
|
7835
|
-
|
|
7856
|
+
svg, path {
|
|
7836
7857
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7837
7858
|
|
|
7838
7859
|
/*
|
|
@@ -1,135 +1,135 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileInput,
|
|
3
3
|
StyledFileInput
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-BSH6WRUZ.js";
|
|
5
|
+
import "../chunk-J3YVJWRG.js";
|
|
6
|
+
import "../chunk-6CNJ5ZCC.js";
|
|
7
|
+
import "../chunk-5TTLUOJ5.js";
|
|
8
|
+
import "../chunk-4C2TISN7.js";
|
|
9
|
+
import "../chunk-LTCJ6LNO.js";
|
|
9
10
|
import "../chunk-55OQPFLF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-UAFWDZRG.js";
|
|
11
|
+
import "../chunk-7WDAN3OC.js";
|
|
12
|
+
import "../chunk-I3FI3FNP.js";
|
|
13
13
|
import "../chunk-EDN2QDCB.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-6B3T5X4O.js";
|
|
16
|
-
import "../chunk-3BSQFYGE.js";
|
|
17
|
-
import "../chunk-XBKRPEVT.js";
|
|
18
|
-
import "../chunk-5522HZOC.js";
|
|
19
|
-
import "../chunk-PJMGLSAW.js";
|
|
20
|
-
import "../chunk-FRZBZ7PD.js";
|
|
21
|
-
import "../chunk-3CHMNLGD.js";
|
|
14
|
+
import "../chunk-FT62PIPN.js";
|
|
22
15
|
import "../chunk-5ZDDVLS6.js";
|
|
23
16
|
import "../chunk-BCXQD6ZP.js";
|
|
24
17
|
import "../chunk-JWMMGYNV.js";
|
|
25
18
|
import "../chunk-MASPP6U5.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-F3YK2EER.js";
|
|
19
|
+
import "../chunk-6B3T5X4O.js";
|
|
20
|
+
import "../chunk-3BSQFYGE.js";
|
|
21
|
+
import "../chunk-XBKRPEVT.js";
|
|
30
22
|
import "../chunk-5XZ7ZEC7.js";
|
|
31
23
|
import "../chunk-H52K5UTT.js";
|
|
32
24
|
import "../chunk-3KOUSJV6.js";
|
|
33
25
|
import "../chunk-L52XQKBX.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-5522HZOC.js";
|
|
27
|
+
import "../chunk-PJMGLSAW.js";
|
|
28
|
+
import "../chunk-FRZBZ7PD.js";
|
|
29
|
+
import "../chunk-3CHMNLGD.js";
|
|
38
30
|
import "../chunk-VRG7HI7X.js";
|
|
39
31
|
import "../chunk-AFROYZKQ.js";
|
|
40
32
|
import "../chunk-TAEOGBWY.js";
|
|
41
33
|
import "../chunk-LQ6VW2FH.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-RPYB66KY.js";
|
|
35
|
+
import "../chunk-GOURVX6U.js";
|
|
36
|
+
import "../chunk-HPIVJCNC.js";
|
|
37
|
+
import "../chunk-F3YK2EER.js";
|
|
46
38
|
import "../chunk-MXCYWGHN.js";
|
|
47
39
|
import "../chunk-ZXACVTYJ.js";
|
|
48
40
|
import "../chunk-WDFOXMFH.js";
|
|
49
41
|
import "../chunk-E6ZB6OJD.js";
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-J5NYACJ7.js";
|
|
43
|
+
import "../chunk-CKOW6ME2.js";
|
|
44
|
+
import "../chunk-BX32TDWY.js";
|
|
45
|
+
import "../chunk-IPD2D6QD.js";
|
|
54
46
|
import "../chunk-G3AHVMGL.js";
|
|
55
47
|
import "../chunk-XHLHQC5Q.js";
|
|
56
48
|
import "../chunk-QBM7XXVQ.js";
|
|
57
49
|
import "../chunk-5EFICY5Y.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-3YVEKRB3.js";
|
|
51
|
+
import "../chunk-M4ORU6SJ.js";
|
|
52
|
+
import "../chunk-2TGRHBA5.js";
|
|
53
|
+
import "../chunk-H5R5ZG3Z.js";
|
|
62
54
|
import "../chunk-W5QTCRAG.js";
|
|
63
55
|
import "../chunk-CPHTE26N.js";
|
|
64
56
|
import "../chunk-N5LIZ3K6.js";
|
|
65
57
|
import "../chunk-LHSGZZVE.js";
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-M2H6AEUK.js";
|
|
59
|
+
import "../chunk-XXE3N5AE.js";
|
|
60
|
+
import "../chunk-3XGQJIDN.js";
|
|
61
|
+
import "../chunk-GJAG2D3Y.js";
|
|
70
62
|
import "../chunk-YO5J3T3L.js";
|
|
71
63
|
import "../chunk-XGUCS6ED.js";
|
|
72
64
|
import "../chunk-36ATWJ72.js";
|
|
73
65
|
import "../chunk-K6KKTYTR.js";
|
|
74
|
-
import "../chunk-
|
|
75
|
-
import "../chunk-
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-
|
|
66
|
+
import "../chunk-677VQ4DY.js";
|
|
67
|
+
import "../chunk-BDCKN7K3.js";
|
|
68
|
+
import "../chunk-LDOAR276.js";
|
|
69
|
+
import "../chunk-SIWCH44U.js";
|
|
78
70
|
import "../chunk-24JOGF62.js";
|
|
79
71
|
import "../chunk-55PXMNOG.js";
|
|
80
72
|
import "../chunk-FLREHHOH.js";
|
|
81
73
|
import "../chunk-RCIZUC7L.js";
|
|
82
|
-
import "../chunk-
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-QAWK7SU6.js";
|
|
75
|
+
import "../chunk-72CHU34B.js";
|
|
76
|
+
import "../chunk-5EIYTCCK.js";
|
|
77
|
+
import "../chunk-OSOHJUPD.js";
|
|
86
78
|
import "../chunk-262GCJFO.js";
|
|
87
79
|
import "../chunk-GY5XKCWS.js";
|
|
88
80
|
import "../chunk-ZMCAQFC6.js";
|
|
89
81
|
import "../chunk-PO5NJLKW.js";
|
|
90
|
-
import "../chunk-
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
93
|
-
import "../chunk-
|
|
82
|
+
import "../chunk-7Y2G2JDF.js";
|
|
83
|
+
import "../chunk-7UBU5MKY.js";
|
|
84
|
+
import "../chunk-IX5TIDMO.js";
|
|
85
|
+
import "../chunk-FGJPZTJP.js";
|
|
94
86
|
import "../chunk-FOC33AUT.js";
|
|
95
87
|
import "../chunk-ACWTDOWH.js";
|
|
96
88
|
import "../chunk-KX3WMRSO.js";
|
|
97
89
|
import "../chunk-4EKGRFUQ.js";
|
|
98
|
-
import "../chunk-
|
|
99
|
-
import "../chunk-
|
|
100
|
-
import "../chunk-
|
|
101
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-KODQP6CN.js";
|
|
91
|
+
import "../chunk-UZ4TRHF3.js";
|
|
92
|
+
import "../chunk-PF5SD6AF.js";
|
|
93
|
+
import "../chunk-5XTJZUMA.js";
|
|
102
94
|
import "../chunk-272LB55I.js";
|
|
103
95
|
import "../chunk-V5GQM24U.js";
|
|
104
96
|
import "../chunk-VNJ4NNZJ.js";
|
|
105
97
|
import "../chunk-6AFSPHQC.js";
|
|
106
|
-
import "../chunk-
|
|
107
|
-
import "../chunk-
|
|
108
|
-
import "../chunk-
|
|
109
|
-
import "../chunk-
|
|
98
|
+
import "../chunk-C4CFIKAL.js";
|
|
99
|
+
import "../chunk-TA7W237X.js";
|
|
100
|
+
import "../chunk-TSYLKHL2.js";
|
|
101
|
+
import "../chunk-ZE4CS3ZS.js";
|
|
110
102
|
import "../chunk-ZLYJ3AKU.js";
|
|
111
103
|
import "../chunk-57MJ26OG.js";
|
|
112
104
|
import "../chunk-IYEEAOW3.js";
|
|
113
105
|
import "../chunk-4FM66VF3.js";
|
|
114
|
-
import "../chunk-
|
|
115
|
-
import "../chunk-
|
|
116
|
-
import "../chunk-
|
|
117
|
-
import "../chunk-
|
|
118
|
-
import "../chunk-DW6LFUI2.js";
|
|
106
|
+
import "../chunk-NETNVCI3.js";
|
|
107
|
+
import "../chunk-WNQ7KWL6.js";
|
|
108
|
+
import "../chunk-O6YPHO6M.js";
|
|
109
|
+
import "../chunk-2ITITIZK.js";
|
|
119
110
|
import "../chunk-6AC5YUBP.js";
|
|
120
111
|
import "../chunk-ZQXRHPB6.js";
|
|
121
112
|
import "../chunk-Q3YLC4JA.js";
|
|
122
|
-
import "../chunk-
|
|
113
|
+
import "../chunk-2IXAUIKR.js";
|
|
114
|
+
import "../chunk-NESZTWYE.js";
|
|
115
|
+
import "../chunk-WHIOQKWN.js";
|
|
116
|
+
import "../chunk-CJDIDKDD.js";
|
|
117
|
+
import "../chunk-SGI4RWHJ.js";
|
|
123
118
|
import "../chunk-36RZWQ7S.js";
|
|
124
119
|
import "../chunk-UCOL37RG.js";
|
|
125
120
|
import "../chunk-YRFC56VN.js";
|
|
126
121
|
import "../chunk-U2VV6SRJ.js";
|
|
127
|
-
import "../chunk-
|
|
128
|
-
import "../chunk-
|
|
122
|
+
import "../chunk-C5PYKGR6.js";
|
|
123
|
+
import "../chunk-VI6WTKMV.js";
|
|
124
|
+
import "../chunk-QW2INB5A.js";
|
|
125
|
+
import "../chunk-JLD7MGLC.js";
|
|
126
|
+
import "../chunk-DW6LFUI2.js";
|
|
127
|
+
import "../chunk-PG2W2HVB.js";
|
|
128
|
+
import "../chunk-IBZBPQMZ.js";
|
|
129
129
|
import "../chunk-ENBUKLVT.js";
|
|
130
130
|
import "../chunk-JSGRNWSB.js";
|
|
131
|
-
import "../chunk-
|
|
132
|
-
import "../chunk-
|
|
131
|
+
import "../chunk-FO7I4E45.js";
|
|
132
|
+
import "../chunk-XUWFUTR4.js";
|
|
133
133
|
import "../chunk-LOPKRCGI.js";
|
|
134
134
|
export {
|
|
135
135
|
FileInput,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/components/Flex.tsx
|
|
31
|
+
var Flex_exports = {};
|
|
32
|
+
__export(Flex_exports, {
|
|
33
|
+
Flex: () => Flex
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(Flex_exports);
|
|
36
|
+
var import_styled = __toESM(require("@emotion/styled"), 1);
|
|
37
|
+
var import_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
38
|
+
function Flex({ center = false, children, as = "div" }) {
|
|
39
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StyledFlex, { center, as, children });
|
|
40
|
+
}
|
|
41
|
+
var StyledFlex = import_styled.default.div`
|
|
42
|
+
display: flex;
|
|
43
|
+
${({ center }) => center && `
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
46
|
+
`}
|
|
47
|
+
`;
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
Flex
|
|
51
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
type FlexProps = {
|
|
5
|
+
center?: boolean | undefined;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
as?: ElementType | undefined;
|
|
8
|
+
};
|
|
9
|
+
declare function Flex({ center, children, as }: FlexProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { Flex };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
type FlexProps = {
|
|
5
|
+
center?: boolean | undefined;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
as?: ElementType | undefined;
|
|
8
|
+
};
|
|
9
|
+
declare function Flex({ center, children, as }: FlexProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { Flex };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GradientCardHeader
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QQSV7XJX.js";
|
|
4
|
+
import "../chunk-MWDDIXIP.js";
|
|
5
5
|
import "../chunk-55OQPFLF.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7WDAN3OC.js";
|
|
7
|
+
import "../chunk-PG2W2HVB.js";
|
|
8
|
+
import "../chunk-IBZBPQMZ.js";
|
|
9
9
|
import "../chunk-ENBUKLVT.js";
|
|
10
10
|
import "../chunk-JSGRNWSB.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-FO7I4E45.js";
|
|
12
|
+
import "../chunk-XUWFUTR4.js";
|
|
13
13
|
import "../chunk-LOPKRCGI.js";
|
|
14
14
|
export {
|
|
15
15
|
GradientCardHeader
|
|
@@ -494,8 +494,8 @@ function ArrowUpRightCircleFill() {
|
|
|
494
494
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
495
495
|
"path",
|
|
496
496
|
{
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
fillRule: "evenodd",
|
|
498
|
+
clipRule: "evenodd",
|
|
499
499
|
d: "M20 1.25C30.3553 1.25 38.75 9.64468 38.75 20C38.75 30.3553 30.3553 38.75 20 38.75C9.64468 38.75 1.25 30.3553 1.25 20C1.25 9.64468 9.64468 1.25 20 1.25ZM15.4392 12.4122C14.8869 12.4122 14.4392 12.8599 14.4392 13.4122C14.4392 13.9644 14.8869 14.4122 15.4392 14.4122H24.1736L12.7051 25.8807C12.3146 26.2713 12.3146 26.9044 12.7051 27.2949C13.0956 27.6855 13.7288 27.6855 14.1193 27.2949L25.5879 15.8263V24.5608C25.5879 25.1131 26.0356 25.5608 26.5879 25.5608C27.1402 25.5608 27.5879 25.1131 27.5879 24.5608V13.4122C27.5879 12.8599 27.1402 12.4122 26.5879 12.4122H15.4392Z",
|
|
500
500
|
fill: "black"
|
|
501
501
|
}
|
|
@@ -1396,8 +1396,8 @@ function Figma() {
|
|
|
1396
1396
|
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1397
1397
|
"path",
|
|
1398
1398
|
{
|
|
1399
|
-
|
|
1400
|
-
|
|
1399
|
+
fillRule: "evenodd",
|
|
1400
|
+
clipRule: "evenodd",
|
|
1401
1401
|
d: "M8.01074 9.04831C8.01074 5.43178 10.9425 2.5 14.5591 2.5L25.7952 2.5C29.4118 2.5 32.3435 5.43178 32.3435 9.04831C32.3435 11.3383 31.1681 13.3537 29.3876 14.5242C31.1681 15.6947 32.3435 17.7102 32.3435 20.0001C32.3435 23.6167 29.4118 26.5485 25.7952 26.5485H25.653C23.9575 26.5485 22.4126 25.9041 21.2496 24.847V30.8806C21.2496 34.5453 18.2412 37.5 14.5944 37.5C10.9868 37.5 8.01074 34.5772 8.01074 30.9517C8.01074 28.6617 9.18619 26.6463 10.9666 25.476C9.18618 24.3055 8.01074 22.2901 8.01074 20.0001C8.01074 17.7102 9.1862 15.6947 10.9667 14.5242C9.18621 13.3537 8.01074 11.3383 8.01074 9.04831ZM14.5591 13.4517C12.1272 13.4517 10.1557 11.4802 10.1557 9.04831C10.1557 6.61641 12.1272 4.64497 14.5591 4.64497L19.1047 4.64497V13.4517H14.5591ZM19.1047 15.5966H14.5591C12.1272 15.5966 10.1557 17.5682 10.1557 20.0001C10.1557 22.4321 12.1272 24.4035 14.5591 24.4035H19.1047V15.5966ZM19.1047 26.5485H14.5591C12.1271 26.5485 10.1557 28.5198 10.1557 30.9517C10.1557 33.3746 12.1535 35.355 14.5944 35.355C17.0746 35.355 19.1047 33.3428 19.1047 30.8806V26.5485ZM25.7952 15.5966L25.653 15.5968C23.2211 15.5968 21.2496 17.5682 21.2496 20.0001C21.2496 22.4321 23.2211 24.4035 25.653 24.4035H25.7952C28.2271 24.4035 30.1986 22.4321 30.1986 20.0001C30.1986 17.5682 28.227 15.5967 25.7952 15.5966C25.7953 15.5966 25.7952 15.5966 25.7952 15.5966ZM25.7952 14.5242V13.4517H21.2496V4.64497H25.7952C28.2271 4.64497 30.1986 6.61641 30.1986 9.04831C30.1986 11.4802 28.2271 13.4517 25.7952 13.4517",
|
|
1402
1402
|
fill: "black"
|
|
1403
1403
|
}
|
|
@@ -4050,7 +4050,7 @@ var colors = baseColors;
|
|
|
4050
4050
|
function isColorKey(key) {
|
|
4051
4051
|
return key in colors;
|
|
4052
4052
|
}
|
|
4053
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
4053
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
4054
4054
|
const bgRGB = hexToRGB(bgHex);
|
|
4055
4055
|
const hcRGB = hexToRGB(defaultHex);
|
|
4056
4056
|
if (!bgRGB || !hcRGB)
|
|
@@ -4091,7 +4091,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
4091
4091
|
// src/styles/buttons.tsx
|
|
4092
4092
|
var buttonsThemeBase = {
|
|
4093
4093
|
defaultSize: "Small",
|
|
4094
|
-
|
|
4094
|
+
defaultTypographyType: "Body Strong",
|
|
4095
|
+
defaultColor: "text",
|
|
4095
4096
|
defaultBorderRadius: 32,
|
|
4096
4097
|
defaultBorderWidth: 1,
|
|
4097
4098
|
defaultBackgroundColor: "bg",
|
|
@@ -4115,6 +4116,7 @@ var buttonsThemeBase = {
|
|
|
4115
4116
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
4116
4117
|
kinds: {
|
|
4117
4118
|
primary: {
|
|
4119
|
+
defaultColor: "bg",
|
|
4118
4120
|
defaultBorderWidth: 0,
|
|
4119
4121
|
defaultBackgroundColor: "c9Neutral",
|
|
4120
4122
|
defaultBorderColor: "c9Neutral",
|
|
@@ -4142,7 +4144,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
4142
4144
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
4143
4145
|
},
|
|
4144
4146
|
blue39: {
|
|
4145
|
-
defaultBorderColor: "blue39"
|
|
4147
|
+
defaultBorderColor: "blue39",
|
|
4148
|
+
defaultColor: "gray98"
|
|
4149
|
+
},
|
|
4150
|
+
blue43: {
|
|
4151
|
+
defaultColor: "white"
|
|
4152
|
+
},
|
|
4153
|
+
green33: {
|
|
4154
|
+
defaultColor: "white"
|
|
4155
|
+
},
|
|
4156
|
+
purple55: {
|
|
4157
|
+
defaultColor: "white"
|
|
4158
|
+
},
|
|
4159
|
+
danger: {
|
|
4160
|
+
defaultColor: "white"
|
|
4146
4161
|
}
|
|
4147
4162
|
}
|
|
4148
4163
|
});
|
|
@@ -7333,7 +7348,8 @@ var baseThemeColors = {
|
|
|
7333
7348
|
success: colors.success,
|
|
7334
7349
|
text: colors.black,
|
|
7335
7350
|
vlcNeutral: colors.gray95,
|
|
7336
|
-
warning: colors.warning
|
|
7351
|
+
warning: colors.warning,
|
|
7352
|
+
inputBackground: colors.white
|
|
7337
7353
|
};
|
|
7338
7354
|
var themeOrColorKeyValues = [
|
|
7339
7355
|
...Object.keys(baseThemeColors),
|
|
@@ -7381,7 +7397,8 @@ var darkBaseTheme = {
|
|
|
7381
7397
|
vlcNeutral: colors.gray20,
|
|
7382
7398
|
warning: colors.warning,
|
|
7383
7399
|
buttons: defaultButtonsTheme,
|
|
7384
|
-
loading: "LoadingSpinner"
|
|
7400
|
+
loading: "LoadingSpinner",
|
|
7401
|
+
inputBackground: colors.black
|
|
7385
7402
|
};
|
|
7386
7403
|
var lightTheme = extend(lightBaseTheme, {
|
|
7387
7404
|
header: extendBase(lightBaseTheme, {
|
|
@@ -7420,6 +7437,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
7420
7437
|
secondary: colors.grayBlue43,
|
|
7421
7438
|
text: colors.grayBlue9,
|
|
7422
7439
|
link: colors.blue39,
|
|
7440
|
+
inputBackground: colors.white,
|
|
7423
7441
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
7424
7442
|
main: "Manrope",
|
|
7425
7443
|
code: "Monaco"
|
|
@@ -7464,28 +7482,30 @@ var bridgeBaseSettings = {
|
|
|
7464
7482
|
code: "Monaco"
|
|
7465
7483
|
}),
|
|
7466
7484
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
7467
|
-
|
|
7485
|
+
defaultTypographyType: "Title",
|
|
7468
7486
|
defaultSize: "Medium",
|
|
7469
7487
|
defaultBorderRadius: 8,
|
|
7470
7488
|
defaultBorderWidth: 0,
|
|
7489
|
+
defaultPaddingsY: {
|
|
7490
|
+
ExtraSmall: 14,
|
|
7491
|
+
Small: 14,
|
|
7492
|
+
Schmedium: 14,
|
|
7493
|
+
Medium: 14,
|
|
7494
|
+
Mlarge: 14,
|
|
7495
|
+
Large: 14
|
|
7496
|
+
},
|
|
7471
7497
|
kinds: {
|
|
7472
7498
|
primary: {
|
|
7499
|
+
defaultColor: "bg",
|
|
7473
7500
|
defaultBackgroundColor: "blue39",
|
|
7474
7501
|
defaultHoverBackgroundColor: "blue37"
|
|
7475
7502
|
},
|
|
7476
7503
|
ghost: {
|
|
7504
|
+
defaultColor: "secondary",
|
|
7477
7505
|
defaultBackgroundColor: "transparent",
|
|
7478
7506
|
defaultBorderWidth: 0,
|
|
7479
7507
|
defaultHoverBackgroundColor: "transparent",
|
|
7480
|
-
defaultHoverBorderColor: "transparent"
|
|
7481
|
-
defaultPaddingsY: {
|
|
7482
|
-
ExtraSmall: 0,
|
|
7483
|
-
Small: 0,
|
|
7484
|
-
Schmedium: 0,
|
|
7485
|
-
Medium: 0,
|
|
7486
|
-
Mlarge: 0,
|
|
7487
|
-
Large: 0
|
|
7488
|
-
}
|
|
7508
|
+
defaultHoverBorderColor: "transparent"
|
|
7489
7509
|
},
|
|
7490
7510
|
secondary: {
|
|
7491
7511
|
defaultBackgroundColor: "transparent",
|
|
@@ -7502,7 +7522,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
7502
7522
|
bg: colors.gray98,
|
|
7503
7523
|
smBg: colors.gray98,
|
|
7504
7524
|
text: colors.grayBlue9,
|
|
7505
|
-
secondary: colors.grayBlue43
|
|
7525
|
+
secondary: colors.grayBlue43,
|
|
7526
|
+
inputBackground: colors.white
|
|
7506
7527
|
}));
|
|
7507
7528
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
7508
7529
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -7658,7 +7679,7 @@ var IconContainer = import_styled2.default.span`
|
|
|
7658
7679
|
${({ theme, fontColor }) => {
|
|
7659
7680
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
7660
7681
|
return `
|
|
7661
|
-
|
|
7682
|
+
svg, path {
|
|
7662
7683
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
7663
7684
|
|
|
7664
7685
|
/*
|
|
@@ -2,7 +2,7 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _emotion_react from '@emotion/react';
|
|
4
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
-
import { F as FontColorKey } from '../../buttons-
|
|
5
|
+
import { F as FontColorKey } from '../../buttons-36cdd0fe.js';
|
|
6
6
|
import { IconName } from './types.cjs';
|
|
7
7
|
import '../../styles/tokens/typography.cjs';
|
|
8
8
|
import '@emotion/css';
|
|
@@ -2,7 +2,7 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _emotion_react from '@emotion/react';
|
|
4
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
-
import { F as FontColorKey } from '../../buttons-
|
|
5
|
+
import { F as FontColorKey } from '../../buttons-35280bfe.js';
|
|
6
6
|
import { IconName } from './types.js';
|
|
7
7
|
import '../../styles/tokens/typography.js';
|
|
8
8
|
import '@emotion/css';
|