@lightsparkdev/ui 1.0.1 → 1.0.2
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 +7 -0
- package/dist/{buttons-a63671c2.d.ts → buttons-b7f56076.d.ts} +33 -15
- package/dist/{buttons-38b5823f.d.ts → buttons-e4eb84a2.d.ts} +33 -15
- package/dist/{chunk-3A6TEYT3.js → chunk-27SFWLPS.js} +1 -1
- package/dist/{chunk-I5PGTS2V.js → chunk-2H7TBKII.js} +9 -9
- package/dist/{chunk-BAQMHUBZ.js → chunk-2IXAUIKR.js} +2 -2
- package/dist/{chunk-NPY3QVGG.js → chunk-2JYYREVX.js} +1 -1
- package/dist/{chunk-NEH2HFAW.js → chunk-2XRCGW74.js} +3 -3
- package/dist/{chunk-QVKXSZ63.js → chunk-35WJ3PKH.js} +2 -2
- package/dist/{chunk-NHZO42IA.js → chunk-37RRWSDE.js} +2 -2
- package/dist/{chunk-HXKKG2VQ.js → chunk-467PLJO3.js} +2 -2
- package/dist/{chunk-ACYYMZQZ.js → chunk-55M7XHBZ.js} +13 -13
- package/dist/{chunk-NMJGBK5W.js → chunk-56QJRFP2.js} +2 -2
- package/dist/{chunk-BPZ7AV7W.js → chunk-5H32AOXL.js} +1 -1
- package/dist/{chunk-TW4DU3WY.js → chunk-5XZJEYHG.js} +1 -1
- package/dist/{chunk-QBJ57KNQ.js → chunk-6H7PZJ2A.js} +2 -2
- package/dist/{chunk-HGYVPOA7.js → chunk-6JFJDBV2.js} +1 -1
- package/dist/{chunk-52POF2W4.js → chunk-7NPHOJXD.js} +2 -2
- package/dist/{chunk-GKH3ZH4N.js → chunk-7Y2G2JDF.js} +2 -2
- package/dist/{chunk-ZFDYANKZ.js → chunk-A4JZESAS.js} +14 -12
- package/dist/{chunk-4QVTXKRX.js → chunk-AAFUVYVP.js} +1 -1
- package/dist/chunk-ABSTTY5Q.js +7 -0
- package/dist/{chunk-KOD6R7U5.js → chunk-AI6DCUWK.js} +1 -1
- package/dist/{chunk-54WKLEUU.js → chunk-BMSSV6NX.js} +1 -1
- package/dist/{chunk-TKERS7F6.js → chunk-CHK5DOMV.js} +2 -2
- package/dist/{chunk-HV6SRK57.js → chunk-CMQELZES.js} +2 -2
- package/dist/{chunk-FUC2Z5QZ.js → chunk-CZCPVHVB.js} +2 -2
- package/dist/{chunk-SW6GFFIG.js → chunk-CZQER3QD.js} +1 -1
- package/dist/{chunk-CY3LZRBR.js → chunk-D73OOC3E.js} +3 -3
- package/dist/{chunk-44UNWWP3.js → chunk-DCFB5MJ7.js} +13 -13
- package/dist/{chunk-VRZRCDI4.js → chunk-DNVKN2FG.js} +5 -5
- package/dist/{chunk-E6XGSPA6.js → chunk-EMXTALIX.js} +1 -1
- package/dist/{chunk-GHIYWOAC.js → chunk-EV6PGQPM.js} +26 -40
- package/dist/{chunk-4CYGTH2J.js → chunk-F6EVBEMN.js} +2 -2
- package/dist/{chunk-GKBQAEH5.js → chunk-FO7I4E45.js} +17 -2
- package/dist/{chunk-MD7VQ24I.js → chunk-FT62PIPN.js} +119 -119
- package/dist/{chunk-5GVDRJLI.js → chunk-GGEAODIA.js} +7 -7
- package/dist/{chunk-IOWK2GBE.js → chunk-GNVEN6UE.js} +2 -2
- package/dist/{chunk-7TOLLB23.js → chunk-HA4AQO3T.js} +1 -1
- package/dist/{chunk-MGXWKJDU.js → chunk-HP4VPMN7.js} +2 -2
- package/dist/{chunk-YQP6EWZY.js → chunk-HRZNVE2K.js} +2 -2
- package/dist/{chunk-YYPRW5VJ.js → chunk-HZ63YB4Y.js} +4 -4
- package/dist/chunk-IL6J7EBZ.js +17 -0
- package/dist/{chunk-ZKJS5M5E.js → chunk-J7SV67XL.js} +1 -1
- package/dist/{chunk-HE76YUIL.js → chunk-JOQCJPOA.js} +11 -11
- package/dist/{chunk-UAFWDZRG.js → chunk-KBYU4ZQ3.js} +3 -3
- package/dist/{chunk-JXXIU52B.js → chunk-KFX7US6Y.js} +1 -1
- package/dist/{chunk-AXFZE7WZ.js → chunk-L6S22JUU.js} +4 -4
- package/dist/{chunk-C7TNFU3D.js → chunk-LL5YLPNM.js} +5 -5
- package/dist/{chunk-TSHXYNRZ.js → chunk-NYQLPSG3.js} +3 -3
- package/dist/{chunk-SBFDPMTS.js → chunk-OA3BZAST.js} +3 -3
- package/dist/{chunk-4YN25H5H.js → chunk-PNSZAJL7.js} +2 -2
- package/dist/{chunk-CB2PBQ2G.js → chunk-RSAYBOK5.js} +3 -3
- package/dist/{chunk-FEJU2K4L.js → chunk-S6AOKANU.js} +3 -3
- package/dist/{chunk-PK4E5P4Q.js → chunk-SGSLTG65.js} +3 -3
- package/dist/{chunk-3TKO2L4T.js → chunk-SKXCT2FQ.js} +2 -2
- package/dist/{chunk-QSVZXM35.js → chunk-SRHSJOES.js} +1 -1
- package/dist/{chunk-MO5PIHUX.js → chunk-TM2NGRD2.js} +1 -1
- package/dist/{chunk-POTDIFIX.js → chunk-TM3C4LEG.js} +2 -2
- package/dist/{chunk-LWYMD7X4.js → chunk-TVLELY54.js} +5 -5
- package/dist/{chunk-AHIR5UAO.js → chunk-UBYBILLK.js} +2 -2
- package/dist/{chunk-3BMKXP5E.js → chunk-UNULJ3P6.js} +5 -5
- package/dist/{chunk-VENBTZHV.js → chunk-UVGBD7XM.js} +2 -2
- package/dist/{chunk-WIFHFWAN.js → chunk-VUXU77SU.js} +1 -1
- package/dist/{chunk-UKAPI3BN.js → chunk-VYTN6ASZ.js} +2 -2
- package/dist/{chunk-UA3XC7J6.js → chunk-W3BAJ3HT.js} +11 -11
- package/dist/{chunk-2I6UL3CQ.js → chunk-WV5AB4ZB.js} +73 -41
- package/dist/{chunk-CZH4OCQY.js → chunk-XP3BAAUO.js} +2 -2
- package/dist/{chunk-RVT4NV6Z.js → chunk-XUVCOSIE.js} +2 -2
- package/dist/{chunk-KYTOF4WO.js → chunk-XUWFUTR4.js} +1 -1
- package/dist/{chunk-RHHYOFN6.js → chunk-YRYVSAWS.js} +1 -1
- package/dist/{chunk-KBL7GU4S.js → chunk-ZNZAY47J.js} +3 -3
- package/dist/components/Badge.cjs +34 -17
- package/dist/components/Badge.js +80 -80
- package/dist/components/Banner/Banner.cjs +34 -17
- 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 +51 -48
- 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 +51 -48
- 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 +30 -13
- package/dist/components/CardPage.js +85 -85
- package/dist/components/Checkbox.js +5 -5
- package/dist/components/CodeBlock.cjs +34 -17
- package/dist/components/CodeBlock.js +68 -68
- package/dist/components/CodeInput/CodeInput.cjs +30 -13
- package/dist/components/CodeInput/CodeInput.js +8 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +30 -13
- package/dist/components/CodeInput/SingleCodeInput.js +7 -7
- package/dist/components/Collapsible.cjs +34 -17
- package/dist/components/Collapsible.js +65 -65
- package/dist/components/CommaNumberInput.cjs +34 -17
- 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 +34 -17
- package/dist/components/ContentTable.js +64 -64
- package/dist/components/CopyToClipboardButton.cjs +34 -17
- package/dist/components/CopyToClipboardButton.js +66 -66
- package/dist/components/CurrencyAmount.cjs +34 -17
- package/dist/components/CurrencyAmount.js +64 -64
- package/dist/components/Drawer.cjs +51 -48
- package/dist/components/Drawer.js +82 -82
- package/dist/components/Dropdown.cjs +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +7733 -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 +34 -17
- 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 +30 -13
- package/dist/components/LightsparkProvider.js +6 -6
- package/dist/components/Loading.cjs +34 -17
- package/dist/components/Loading.js +64 -64
- package/dist/components/Modal.cjs +124 -85
- package/dist/components/Modal.d.cts +6 -3
- package/dist/components/Modal.d.ts +6 -3
- package/dist/components/Modal.js +129 -86
- package/dist/components/PageSection/PageSection.cjs +34 -17
- 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 +34 -17
- package/dist/components/PageSection/PageSectionNav.js +81 -81
- package/dist/components/PhoneInput.cjs +34 -17
- 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 +34 -17
- package/dist/components/Pill.js +67 -67
- package/dist/components/ProgressBar.cjs +30 -13
- package/dist/components/ProgressBar.js +5 -5
- package/dist/components/Radio.cjs +34 -17
- package/dist/components/Radio.js +80 -80
- package/dist/components/SecretContainer.cjs +34 -17
- package/dist/components/SecretContainer.js +67 -67
- package/dist/components/StatusIndicator.js +6 -6
- package/dist/components/TextButton.cjs +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +30 -13
- package/dist/components/Toggle.js +6 -6
- package/dist/components/Tooltip.cjs +30 -13
- package/dist/components/Tooltip.js +5 -5
- package/dist/components/UnstyledButton.js +5 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +34 -17
- 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 +30 -13
- 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 +30 -13
- 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 +30 -13
- 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.js +4 -4
- package/dist/components/documentation/index.cjs +34 -17
- 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 +241 -200
- 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 +30 -13
- package/dist/components/typography/Article.js +74 -74
- package/dist/components/typography/Body.cjs +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +34 -17
- 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 +30 -13
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +4 -4
- package/dist/styles/fields.cjs +30 -13
- 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 +30 -13
- 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 +30 -13
- 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 +30 -13
- 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/utils/toNonTypographicReactNodes.cjs +34 -17
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +65 -65
- package/dist/utils/toReactNodes.cjs +34 -17
- 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
|
@@ -150,7 +150,7 @@ var colors = baseColors;
|
|
|
150
150
|
function isColorKey(key) {
|
|
151
151
|
return key in colors;
|
|
152
152
|
}
|
|
153
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
153
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
154
154
|
const bgRGB = hexToRGB(bgHex);
|
|
155
155
|
const hcRGB = hexToRGB(defaultHex);
|
|
156
156
|
if (!bgRGB || !hcRGB)
|
|
@@ -291,7 +291,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
291
291
|
// src/styles/buttons.tsx
|
|
292
292
|
var buttonsThemeBase = {
|
|
293
293
|
defaultSize: "Small",
|
|
294
|
-
|
|
294
|
+
defaultTypographyType: "Body Strong",
|
|
295
|
+
defaultColor: "text",
|
|
295
296
|
defaultBorderRadius: 32,
|
|
296
297
|
defaultBorderWidth: 1,
|
|
297
298
|
defaultBackgroundColor: "bg",
|
|
@@ -315,6 +316,7 @@ var buttonsThemeBase = {
|
|
|
315
316
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
316
317
|
kinds: {
|
|
317
318
|
primary: {
|
|
319
|
+
defaultColor: "bg",
|
|
318
320
|
defaultBorderWidth: 0,
|
|
319
321
|
defaultBackgroundColor: "c9Neutral",
|
|
320
322
|
defaultBorderColor: "c9Neutral",
|
|
@@ -342,7 +344,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
342
344
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
343
345
|
},
|
|
344
346
|
blue39: {
|
|
345
|
-
defaultBorderColor: "blue39"
|
|
347
|
+
defaultBorderColor: "blue39",
|
|
348
|
+
defaultColor: "gray98"
|
|
349
|
+
},
|
|
350
|
+
blue43: {
|
|
351
|
+
defaultColor: "white"
|
|
352
|
+
},
|
|
353
|
+
green33: {
|
|
354
|
+
defaultColor: "white"
|
|
355
|
+
},
|
|
356
|
+
purple55: {
|
|
357
|
+
defaultColor: "white"
|
|
358
|
+
},
|
|
359
|
+
danger: {
|
|
360
|
+
defaultColor: "white"
|
|
346
361
|
}
|
|
347
362
|
}
|
|
348
363
|
});
|
|
@@ -3664,28 +3679,30 @@ var bridgeBaseSettings = {
|
|
|
3664
3679
|
code: "Monaco"
|
|
3665
3680
|
}),
|
|
3666
3681
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3667
|
-
|
|
3682
|
+
defaultTypographyType: "Title",
|
|
3668
3683
|
defaultSize: "Medium",
|
|
3669
3684
|
defaultBorderRadius: 8,
|
|
3670
3685
|
defaultBorderWidth: 0,
|
|
3686
|
+
defaultPaddingsY: {
|
|
3687
|
+
ExtraSmall: 14,
|
|
3688
|
+
Small: 14,
|
|
3689
|
+
Schmedium: 14,
|
|
3690
|
+
Medium: 14,
|
|
3691
|
+
Mlarge: 14,
|
|
3692
|
+
Large: 14
|
|
3693
|
+
},
|
|
3671
3694
|
kinds: {
|
|
3672
3695
|
primary: {
|
|
3696
|
+
defaultColor: "bg",
|
|
3673
3697
|
defaultBackgroundColor: "blue39",
|
|
3674
3698
|
defaultHoverBackgroundColor: "blue37"
|
|
3675
3699
|
},
|
|
3676
3700
|
ghost: {
|
|
3701
|
+
defaultColor: "secondary",
|
|
3677
3702
|
defaultBackgroundColor: "transparent",
|
|
3678
3703
|
defaultBorderWidth: 0,
|
|
3679
3704
|
defaultHoverBackgroundColor: "transparent",
|
|
3680
|
-
defaultHoverBorderColor: "transparent"
|
|
3681
|
-
defaultPaddingsY: {
|
|
3682
|
-
ExtraSmall: 0,
|
|
3683
|
-
Small: 0,
|
|
3684
|
-
Schmedium: 0,
|
|
3685
|
-
Medium: 0,
|
|
3686
|
-
Mlarge: 0,
|
|
3687
|
-
Large: 0
|
|
3688
|
-
}
|
|
3705
|
+
defaultHoverBorderColor: "transparent"
|
|
3689
3706
|
},
|
|
3690
3707
|
secondary: {
|
|
3691
3708
|
defaultBackgroundColor: "transparent",
|
|
@@ -4365,8 +4382,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4365
4382
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4366
4383
|
"path",
|
|
4367
4384
|
{
|
|
4368
|
-
|
|
4369
|
-
|
|
4385
|
+
fillRule: "evenodd",
|
|
4386
|
+
clipRule: "evenodd",
|
|
4370
4387
|
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",
|
|
4371
4388
|
fill: "black"
|
|
4372
4389
|
}
|
|
@@ -5267,8 +5284,8 @@ function Figma() {
|
|
|
5267
5284
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5268
5285
|
"path",
|
|
5269
5286
|
{
|
|
5270
|
-
|
|
5271
|
-
|
|
5287
|
+
fillRule: "evenodd",
|
|
5288
|
+
clipRule: "evenodd",
|
|
5272
5289
|
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",
|
|
5273
5290
|
fill: "black"
|
|
5274
5291
|
}
|
|
@@ -3,133 +3,133 @@ import {
|
|
|
3
3
|
InlineCode,
|
|
4
4
|
ProgrammingLanguageOptions,
|
|
5
5
|
StyledCodeBlock
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-UNULJ3P6.js";
|
|
7
|
+
import "../chunk-SGSLTG65.js";
|
|
8
|
+
import "../chunk-27SFWLPS.js";
|
|
9
|
+
import "../chunk-6JFJDBV2.js";
|
|
9
10
|
import "../chunk-55OQPFLF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-UAFWDZRG.js";
|
|
11
|
+
import "../chunk-KFX7US6Y.js";
|
|
12
|
+
import "../chunk-KBYU4ZQ3.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-7NPHOJXD.js";
|
|
128
|
+
import "../chunk-A4JZESAS.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
|
CodeBlock,
|
|
@@ -223,7 +223,7 @@ var colors = baseColors;
|
|
|
223
223
|
function isColorKey(key) {
|
|
224
224
|
return key in colors;
|
|
225
225
|
}
|
|
226
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
226
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
227
227
|
const bgRGB = hexToRGB(bgHex);
|
|
228
228
|
const hcRGB = hexToRGB(defaultHex);
|
|
229
229
|
if (!bgRGB || !hcRGB)
|
|
@@ -264,7 +264,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
264
264
|
// src/styles/buttons.tsx
|
|
265
265
|
var buttonsThemeBase = {
|
|
266
266
|
defaultSize: "Small",
|
|
267
|
-
|
|
267
|
+
defaultTypographyType: "Body Strong",
|
|
268
|
+
defaultColor: "text",
|
|
268
269
|
defaultBorderRadius: 32,
|
|
269
270
|
defaultBorderWidth: 1,
|
|
270
271
|
defaultBackgroundColor: "bg",
|
|
@@ -288,6 +289,7 @@ var buttonsThemeBase = {
|
|
|
288
289
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
289
290
|
kinds: {
|
|
290
291
|
primary: {
|
|
292
|
+
defaultColor: "bg",
|
|
291
293
|
defaultBorderWidth: 0,
|
|
292
294
|
defaultBackgroundColor: "c9Neutral",
|
|
293
295
|
defaultBorderColor: "c9Neutral",
|
|
@@ -315,7 +317,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
315
317
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
316
318
|
},
|
|
317
319
|
blue39: {
|
|
318
|
-
defaultBorderColor: "blue39"
|
|
320
|
+
defaultBorderColor: "blue39",
|
|
321
|
+
defaultColor: "gray98"
|
|
322
|
+
},
|
|
323
|
+
blue43: {
|
|
324
|
+
defaultColor: "white"
|
|
325
|
+
},
|
|
326
|
+
green33: {
|
|
327
|
+
defaultColor: "white"
|
|
328
|
+
},
|
|
329
|
+
purple55: {
|
|
330
|
+
defaultColor: "white"
|
|
331
|
+
},
|
|
332
|
+
danger: {
|
|
333
|
+
defaultColor: "white"
|
|
319
334
|
}
|
|
320
335
|
}
|
|
321
336
|
});
|
|
@@ -3689,28 +3704,30 @@ var bridgeBaseSettings = {
|
|
|
3689
3704
|
code: "Monaco"
|
|
3690
3705
|
}),
|
|
3691
3706
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3692
|
-
|
|
3707
|
+
defaultTypographyType: "Title",
|
|
3693
3708
|
defaultSize: "Medium",
|
|
3694
3709
|
defaultBorderRadius: 8,
|
|
3695
3710
|
defaultBorderWidth: 0,
|
|
3711
|
+
defaultPaddingsY: {
|
|
3712
|
+
ExtraSmall: 14,
|
|
3713
|
+
Small: 14,
|
|
3714
|
+
Schmedium: 14,
|
|
3715
|
+
Medium: 14,
|
|
3716
|
+
Mlarge: 14,
|
|
3717
|
+
Large: 14
|
|
3718
|
+
},
|
|
3696
3719
|
kinds: {
|
|
3697
3720
|
primary: {
|
|
3721
|
+
defaultColor: "bg",
|
|
3698
3722
|
defaultBackgroundColor: "blue39",
|
|
3699
3723
|
defaultHoverBackgroundColor: "blue37"
|
|
3700
3724
|
},
|
|
3701
3725
|
ghost: {
|
|
3726
|
+
defaultColor: "secondary",
|
|
3702
3727
|
defaultBackgroundColor: "transparent",
|
|
3703
3728
|
defaultBorderWidth: 0,
|
|
3704
3729
|
defaultHoverBackgroundColor: "transparent",
|
|
3705
|
-
defaultHoverBorderColor: "transparent"
|
|
3706
|
-
defaultPaddingsY: {
|
|
3707
|
-
ExtraSmall: 0,
|
|
3708
|
-
Small: 0,
|
|
3709
|
-
Schmedium: 0,
|
|
3710
|
-
Medium: 0,
|
|
3711
|
-
Mlarge: 0,
|
|
3712
|
-
Large: 0
|
|
3713
|
-
}
|
|
3730
|
+
defaultHoverBorderColor: "transparent"
|
|
3714
3731
|
},
|
|
3715
3732
|
secondary: {
|
|
3716
3733
|
defaultBackgroundColor: "transparent",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CodeInput,
|
|
3
3
|
StyledCodeInput
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-F6EVBEMN.js";
|
|
5
|
+
import "../../chunk-SRHSJOES.js";
|
|
6
|
+
import "../../chunk-S6AOKANU.js";
|
|
7
|
+
import "../../chunk-VUXU77SU.js";
|
|
8
8
|
import "../../chunk-55OQPFLF.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-7NPHOJXD.js";
|
|
10
|
+
import "../../chunk-A4JZESAS.js";
|
|
11
11
|
import "../../chunk-ENBUKLVT.js";
|
|
12
12
|
import "../../chunk-JSGRNWSB.js";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-FO7I4E45.js";
|
|
14
|
+
import "../../chunk-XUWFUTR4.js";
|
|
15
15
|
import "../../chunk-LOPKRCGI.js";
|
|
16
16
|
export {
|
|
17
17
|
CodeInput,
|
|
@@ -218,7 +218,7 @@ var colors = baseColors;
|
|
|
218
218
|
function isColorKey(key) {
|
|
219
219
|
return key in colors;
|
|
220
220
|
}
|
|
221
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
221
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
222
222
|
const bgRGB = hexToRGB(bgHex);
|
|
223
223
|
const hcRGB = hexToRGB(defaultHex);
|
|
224
224
|
if (!bgRGB || !hcRGB)
|
|
@@ -259,7 +259,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
259
259
|
// src/styles/buttons.tsx
|
|
260
260
|
var buttonsThemeBase = {
|
|
261
261
|
defaultSize: "Small",
|
|
262
|
-
|
|
262
|
+
defaultTypographyType: "Body Strong",
|
|
263
|
+
defaultColor: "text",
|
|
263
264
|
defaultBorderRadius: 32,
|
|
264
265
|
defaultBorderWidth: 1,
|
|
265
266
|
defaultBackgroundColor: "bg",
|
|
@@ -283,6 +284,7 @@ var buttonsThemeBase = {
|
|
|
283
284
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
284
285
|
kinds: {
|
|
285
286
|
primary: {
|
|
287
|
+
defaultColor: "bg",
|
|
286
288
|
defaultBorderWidth: 0,
|
|
287
289
|
defaultBackgroundColor: "c9Neutral",
|
|
288
290
|
defaultBorderColor: "c9Neutral",
|
|
@@ -310,7 +312,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
310
312
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
311
313
|
},
|
|
312
314
|
blue39: {
|
|
313
|
-
defaultBorderColor: "blue39"
|
|
315
|
+
defaultBorderColor: "blue39",
|
|
316
|
+
defaultColor: "gray98"
|
|
317
|
+
},
|
|
318
|
+
blue43: {
|
|
319
|
+
defaultColor: "white"
|
|
320
|
+
},
|
|
321
|
+
green33: {
|
|
322
|
+
defaultColor: "white"
|
|
323
|
+
},
|
|
324
|
+
purple55: {
|
|
325
|
+
defaultColor: "white"
|
|
326
|
+
},
|
|
327
|
+
danger: {
|
|
328
|
+
defaultColor: "white"
|
|
314
329
|
}
|
|
315
330
|
}
|
|
316
331
|
});
|
|
@@ -3684,28 +3699,30 @@ var bridgeBaseSettings = {
|
|
|
3684
3699
|
code: "Monaco"
|
|
3685
3700
|
}),
|
|
3686
3701
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3687
|
-
|
|
3702
|
+
defaultTypographyType: "Title",
|
|
3688
3703
|
defaultSize: "Medium",
|
|
3689
3704
|
defaultBorderRadius: 8,
|
|
3690
3705
|
defaultBorderWidth: 0,
|
|
3706
|
+
defaultPaddingsY: {
|
|
3707
|
+
ExtraSmall: 14,
|
|
3708
|
+
Small: 14,
|
|
3709
|
+
Schmedium: 14,
|
|
3710
|
+
Medium: 14,
|
|
3711
|
+
Mlarge: 14,
|
|
3712
|
+
Large: 14
|
|
3713
|
+
},
|
|
3691
3714
|
kinds: {
|
|
3692
3715
|
primary: {
|
|
3716
|
+
defaultColor: "bg",
|
|
3693
3717
|
defaultBackgroundColor: "blue39",
|
|
3694
3718
|
defaultHoverBackgroundColor: "blue37"
|
|
3695
3719
|
},
|
|
3696
3720
|
ghost: {
|
|
3721
|
+
defaultColor: "secondary",
|
|
3697
3722
|
defaultBackgroundColor: "transparent",
|
|
3698
3723
|
defaultBorderWidth: 0,
|
|
3699
3724
|
defaultHoverBackgroundColor: "transparent",
|
|
3700
|
-
defaultHoverBorderColor: "transparent"
|
|
3701
|
-
defaultPaddingsY: {
|
|
3702
|
-
ExtraSmall: 0,
|
|
3703
|
-
Small: 0,
|
|
3704
|
-
Schmedium: 0,
|
|
3705
|
-
Medium: 0,
|
|
3706
|
-
Mlarge: 0,
|
|
3707
|
-
Large: 0
|
|
3708
|
-
}
|
|
3725
|
+
defaultHoverBorderColor: "transparent"
|
|
3709
3726
|
},
|
|
3710
3727
|
secondary: {
|
|
3711
3728
|
defaultBackgroundColor: "transparent",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SingleCodeInput
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-SRHSJOES.js";
|
|
4
|
+
import "../../chunk-S6AOKANU.js";
|
|
5
|
+
import "../../chunk-VUXU77SU.js";
|
|
6
6
|
import "../../chunk-55OQPFLF.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-7NPHOJXD.js";
|
|
8
|
+
import "../../chunk-A4JZESAS.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
|
SingleCodeInput
|
|
@@ -217,7 +217,7 @@ var colors = baseColors;
|
|
|
217
217
|
function isColorKey(key) {
|
|
218
218
|
return key in colors;
|
|
219
219
|
}
|
|
220
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
220
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
221
221
|
const bgRGB = hexToRGB(bgHex);
|
|
222
222
|
const hcRGB = hexToRGB(defaultHex);
|
|
223
223
|
if (!bgRGB || !hcRGB)
|
|
@@ -258,7 +258,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
258
258
|
// src/styles/buttons.tsx
|
|
259
259
|
var buttonsThemeBase = {
|
|
260
260
|
defaultSize: "Small",
|
|
261
|
-
|
|
261
|
+
defaultTypographyType: "Body Strong",
|
|
262
|
+
defaultColor: "text",
|
|
262
263
|
defaultBorderRadius: 32,
|
|
263
264
|
defaultBorderWidth: 1,
|
|
264
265
|
defaultBackgroundColor: "bg",
|
|
@@ -282,6 +283,7 @@ var buttonsThemeBase = {
|
|
|
282
283
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
283
284
|
kinds: {
|
|
284
285
|
primary: {
|
|
286
|
+
defaultColor: "bg",
|
|
285
287
|
defaultBorderWidth: 0,
|
|
286
288
|
defaultBackgroundColor: "c9Neutral",
|
|
287
289
|
defaultBorderColor: "c9Neutral",
|
|
@@ -309,7 +311,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
309
311
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
310
312
|
},
|
|
311
313
|
blue39: {
|
|
312
|
-
defaultBorderColor: "blue39"
|
|
314
|
+
defaultBorderColor: "blue39",
|
|
315
|
+
defaultColor: "gray98"
|
|
316
|
+
},
|
|
317
|
+
blue43: {
|
|
318
|
+
defaultColor: "white"
|
|
319
|
+
},
|
|
320
|
+
green33: {
|
|
321
|
+
defaultColor: "white"
|
|
322
|
+
},
|
|
323
|
+
purple55: {
|
|
324
|
+
defaultColor: "white"
|
|
325
|
+
},
|
|
326
|
+
danger: {
|
|
327
|
+
defaultColor: "white"
|
|
313
328
|
}
|
|
314
329
|
}
|
|
315
330
|
});
|
|
@@ -3631,28 +3646,30 @@ var bridgeBaseSettings = {
|
|
|
3631
3646
|
code: "Monaco"
|
|
3632
3647
|
}),
|
|
3633
3648
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3634
|
-
|
|
3649
|
+
defaultTypographyType: "Title",
|
|
3635
3650
|
defaultSize: "Medium",
|
|
3636
3651
|
defaultBorderRadius: 8,
|
|
3637
3652
|
defaultBorderWidth: 0,
|
|
3653
|
+
defaultPaddingsY: {
|
|
3654
|
+
ExtraSmall: 14,
|
|
3655
|
+
Small: 14,
|
|
3656
|
+
Schmedium: 14,
|
|
3657
|
+
Medium: 14,
|
|
3658
|
+
Mlarge: 14,
|
|
3659
|
+
Large: 14
|
|
3660
|
+
},
|
|
3638
3661
|
kinds: {
|
|
3639
3662
|
primary: {
|
|
3663
|
+
defaultColor: "bg",
|
|
3640
3664
|
defaultBackgroundColor: "blue39",
|
|
3641
3665
|
defaultHoverBackgroundColor: "blue37"
|
|
3642
3666
|
},
|
|
3643
3667
|
ghost: {
|
|
3668
|
+
defaultColor: "secondary",
|
|
3644
3669
|
defaultBackgroundColor: "transparent",
|
|
3645
3670
|
defaultBorderWidth: 0,
|
|
3646
3671
|
defaultHoverBackgroundColor: "transparent",
|
|
3647
|
-
defaultHoverBorderColor: "transparent"
|
|
3648
|
-
defaultPaddingsY: {
|
|
3649
|
-
ExtraSmall: 0,
|
|
3650
|
-
Small: 0,
|
|
3651
|
-
Schmedium: 0,
|
|
3652
|
-
Medium: 0,
|
|
3653
|
-
Mlarge: 0,
|
|
3654
|
-
Large: 0
|
|
3655
|
-
}
|
|
3672
|
+
defaultHoverBorderColor: "transparent"
|
|
3656
3673
|
},
|
|
3657
3674
|
secondary: {
|
|
3658
3675
|
defaultBackgroundColor: "transparent",
|
|
@@ -4283,8 +4300,8 @@ function ArrowUpRightCircleFill() {
|
|
|
4283
4300
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4284
4301
|
"path",
|
|
4285
4302
|
{
|
|
4286
|
-
|
|
4287
|
-
|
|
4303
|
+
fillRule: "evenodd",
|
|
4304
|
+
clipRule: "evenodd",
|
|
4288
4305
|
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",
|
|
4289
4306
|
fill: "black"
|
|
4290
4307
|
}
|
|
@@ -5185,8 +5202,8 @@ function Figma() {
|
|
|
5185
5202
|
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5186
5203
|
"path",
|
|
5187
5204
|
{
|
|
5188
|
-
|
|
5189
|
-
|
|
5205
|
+
fillRule: "evenodd",
|
|
5206
|
+
clipRule: "evenodd",
|
|
5190
5207
|
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",
|
|
5191
5208
|
fill: "black"
|
|
5192
5209
|
}
|