@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
package/dist/styles/fields.cjs
CHANGED
|
@@ -237,7 +237,7 @@ var colors = baseColors;
|
|
|
237
237
|
function isColorKey(key) {
|
|
238
238
|
return key in colors;
|
|
239
239
|
}
|
|
240
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
240
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
241
241
|
const bgRGB = hexToRGB(bgHex);
|
|
242
242
|
const hcRGB = hexToRGB(defaultHex);
|
|
243
243
|
if (!bgRGB || !hcRGB)
|
|
@@ -278,7 +278,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
278
278
|
// src/styles/buttons.tsx
|
|
279
279
|
var buttonsThemeBase = {
|
|
280
280
|
defaultSize: "Small",
|
|
281
|
-
|
|
281
|
+
defaultTypographyType: "Body Strong",
|
|
282
|
+
defaultColor: "text",
|
|
282
283
|
defaultBorderRadius: 32,
|
|
283
284
|
defaultBorderWidth: 1,
|
|
284
285
|
defaultBackgroundColor: "bg",
|
|
@@ -302,6 +303,7 @@ var buttonsThemeBase = {
|
|
|
302
303
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
303
304
|
kinds: {
|
|
304
305
|
primary: {
|
|
306
|
+
defaultColor: "bg",
|
|
305
307
|
defaultBorderWidth: 0,
|
|
306
308
|
defaultBackgroundColor: "c9Neutral",
|
|
307
309
|
defaultBorderColor: "c9Neutral",
|
|
@@ -329,7 +331,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
329
331
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
330
332
|
},
|
|
331
333
|
blue39: {
|
|
332
|
-
defaultBorderColor: "blue39"
|
|
334
|
+
defaultBorderColor: "blue39",
|
|
335
|
+
defaultColor: "gray98"
|
|
336
|
+
},
|
|
337
|
+
blue43: {
|
|
338
|
+
defaultColor: "white"
|
|
339
|
+
},
|
|
340
|
+
green33: {
|
|
341
|
+
defaultColor: "white"
|
|
342
|
+
},
|
|
343
|
+
purple55: {
|
|
344
|
+
defaultColor: "white"
|
|
345
|
+
},
|
|
346
|
+
danger: {
|
|
347
|
+
defaultColor: "white"
|
|
333
348
|
}
|
|
334
349
|
}
|
|
335
350
|
});
|
|
@@ -3703,28 +3718,30 @@ var bridgeBaseSettings = {
|
|
|
3703
3718
|
code: "Monaco"
|
|
3704
3719
|
}),
|
|
3705
3720
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3706
|
-
|
|
3721
|
+
defaultTypographyType: "Title",
|
|
3707
3722
|
defaultSize: "Medium",
|
|
3708
3723
|
defaultBorderRadius: 8,
|
|
3709
3724
|
defaultBorderWidth: 0,
|
|
3725
|
+
defaultPaddingsY: {
|
|
3726
|
+
ExtraSmall: 14,
|
|
3727
|
+
Small: 14,
|
|
3728
|
+
Schmedium: 14,
|
|
3729
|
+
Medium: 14,
|
|
3730
|
+
Mlarge: 14,
|
|
3731
|
+
Large: 14
|
|
3732
|
+
},
|
|
3710
3733
|
kinds: {
|
|
3711
3734
|
primary: {
|
|
3735
|
+
defaultColor: "bg",
|
|
3712
3736
|
defaultBackgroundColor: "blue39",
|
|
3713
3737
|
defaultHoverBackgroundColor: "blue37"
|
|
3714
3738
|
},
|
|
3715
3739
|
ghost: {
|
|
3740
|
+
defaultColor: "secondary",
|
|
3716
3741
|
defaultBackgroundColor: "transparent",
|
|
3717
3742
|
defaultBorderWidth: 0,
|
|
3718
3743
|
defaultHoverBackgroundColor: "transparent",
|
|
3719
|
-
defaultHoverBorderColor: "transparent"
|
|
3720
|
-
defaultPaddingsY: {
|
|
3721
|
-
ExtraSmall: 0,
|
|
3722
|
-
Small: 0,
|
|
3723
|
-
Schmedium: 0,
|
|
3724
|
-
Medium: 0,
|
|
3725
|
-
Mlarge: 0,
|
|
3726
|
-
Large: 0
|
|
3727
|
-
}
|
|
3744
|
+
defaultHoverBorderColor: "transparent"
|
|
3728
3745
|
},
|
|
3729
3746
|
secondary: {
|
|
3730
3747
|
defaultBackgroundColor: "transparent",
|
package/dist/styles/fields.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import {
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../buttons-b7f56076.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.cjs';
|
|
7
7
|
import './tokens/typography.cjs';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import * as _emotion_react from '@emotion/react';
|
|
5
|
-
import {
|
|
5
|
+
import { b as ThemeProp, W as WithTheme } from '../buttons-e4eb84a2.js';
|
|
6
6
|
import { SimpleTypographyProps } from './typography.js';
|
|
7
7
|
import './tokens/typography.js';
|
|
8
8
|
import '@emotion/css';
|
package/dist/styles/fields.js
CHANGED
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
textInputPaddingPx,
|
|
23
23
|
textInputPlaceholderColor,
|
|
24
24
|
textInputStyle
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-S6AOKANU.js";
|
|
26
|
+
import "../chunk-VUXU77SU.js";
|
|
27
27
|
import "../chunk-55OQPFLF.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-7NPHOJXD.js";
|
|
29
|
+
import "../chunk-A4JZESAS.js";
|
|
30
30
|
import "../chunk-ENBUKLVT.js";
|
|
31
31
|
import "../chunk-JSGRNWSB.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-FO7I4E45.js";
|
|
33
|
+
import "../chunk-XUWFUTR4.js";
|
|
34
34
|
import "../chunk-LOPKRCGI.js";
|
|
35
35
|
export {
|
|
36
36
|
FieldError,
|
package/dist/styles/global.cjs
CHANGED
|
@@ -233,7 +233,7 @@ var baseColors = __spreadProps(__spreadValues({}, neutral), {
|
|
|
233
233
|
secondary: neutral.black
|
|
234
234
|
});
|
|
235
235
|
var colors = baseColors;
|
|
236
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
236
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
237
237
|
const bgRGB = hexToRGB(bgHex);
|
|
238
238
|
const hcRGB = hexToRGB(defaultHex);
|
|
239
239
|
if (!bgRGB || !hcRGB)
|
|
@@ -274,7 +274,8 @@ var import_deepmerge = __toESM(require("deepmerge"), 1);
|
|
|
274
274
|
// src/styles/buttons.tsx
|
|
275
275
|
var buttonsThemeBase = {
|
|
276
276
|
defaultSize: "Small",
|
|
277
|
-
|
|
277
|
+
defaultTypographyType: "Body Strong",
|
|
278
|
+
defaultColor: "text",
|
|
278
279
|
defaultBorderRadius: 32,
|
|
279
280
|
defaultBorderWidth: 1,
|
|
280
281
|
defaultBackgroundColor: "bg",
|
|
@@ -298,6 +299,7 @@ var buttonsThemeBase = {
|
|
|
298
299
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
299
300
|
kinds: {
|
|
300
301
|
primary: {
|
|
302
|
+
defaultColor: "bg",
|
|
301
303
|
defaultBorderWidth: 0,
|
|
302
304
|
defaultBackgroundColor: "c9Neutral",
|
|
303
305
|
defaultBorderColor: "c9Neutral",
|
|
@@ -325,7 +327,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
325
327
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
326
328
|
},
|
|
327
329
|
blue39: {
|
|
328
|
-
defaultBorderColor: "blue39"
|
|
330
|
+
defaultBorderColor: "blue39",
|
|
331
|
+
defaultColor: "gray98"
|
|
332
|
+
},
|
|
333
|
+
blue43: {
|
|
334
|
+
defaultColor: "white"
|
|
335
|
+
},
|
|
336
|
+
green33: {
|
|
337
|
+
defaultColor: "white"
|
|
338
|
+
},
|
|
339
|
+
purple55: {
|
|
340
|
+
defaultColor: "white"
|
|
341
|
+
},
|
|
342
|
+
danger: {
|
|
343
|
+
defaultColor: "white"
|
|
329
344
|
}
|
|
330
345
|
}
|
|
331
346
|
});
|
|
@@ -3647,28 +3662,30 @@ var bridgeBaseSettings = {
|
|
|
3647
3662
|
code: "Monaco"
|
|
3648
3663
|
}),
|
|
3649
3664
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3650
|
-
|
|
3665
|
+
defaultTypographyType: "Title",
|
|
3651
3666
|
defaultSize: "Medium",
|
|
3652
3667
|
defaultBorderRadius: 8,
|
|
3653
3668
|
defaultBorderWidth: 0,
|
|
3669
|
+
defaultPaddingsY: {
|
|
3670
|
+
ExtraSmall: 14,
|
|
3671
|
+
Small: 14,
|
|
3672
|
+
Schmedium: 14,
|
|
3673
|
+
Medium: 14,
|
|
3674
|
+
Mlarge: 14,
|
|
3675
|
+
Large: 14
|
|
3676
|
+
},
|
|
3654
3677
|
kinds: {
|
|
3655
3678
|
primary: {
|
|
3679
|
+
defaultColor: "bg",
|
|
3656
3680
|
defaultBackgroundColor: "blue39",
|
|
3657
3681
|
defaultHoverBackgroundColor: "blue37"
|
|
3658
3682
|
},
|
|
3659
3683
|
ghost: {
|
|
3684
|
+
defaultColor: "secondary",
|
|
3660
3685
|
defaultBackgroundColor: "transparent",
|
|
3661
3686
|
defaultBorderWidth: 0,
|
|
3662
3687
|
defaultHoverBackgroundColor: "transparent",
|
|
3663
|
-
defaultHoverBorderColor: "transparent"
|
|
3664
|
-
defaultPaddingsY: {
|
|
3665
|
-
ExtraSmall: 0,
|
|
3666
|
-
Small: 0,
|
|
3667
|
-
Schmedium: 0,
|
|
3668
|
-
Medium: 0,
|
|
3669
|
-
Mlarge: 0,
|
|
3670
|
-
Large: 0
|
|
3671
|
-
}
|
|
3688
|
+
defaultHoverBorderColor: "transparent"
|
|
3672
3689
|
},
|
|
3673
3690
|
secondary: {
|
|
3674
3691
|
defaultBackgroundColor: "transparent",
|
package/dist/styles/global.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as ThemeProp } from '../buttons-b7f56076.js';
|
|
4
4
|
import './tokens/typography.cjs';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.cjs';
|
package/dist/styles/global.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as _emotion_react from '@emotion/react';
|
|
3
|
-
import {
|
|
3
|
+
import { b as ThemeProp } from '../buttons-e4eb84a2.js';
|
|
4
4
|
import './tokens/typography.js';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.js';
|
package/dist/styles/global.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles,
|
|
3
3
|
globalComponentStyles
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VYTN6ASZ.js";
|
|
5
5
|
import "../chunk-VQVEZVAG.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7NPHOJXD.js";
|
|
7
|
+
import "../chunk-A4JZESAS.js";
|
|
8
8
|
import "../chunk-ENBUKLVT.js";
|
|
9
9
|
import "../chunk-JSGRNWSB.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-FO7I4E45.js";
|
|
11
|
+
import "../chunk-XUWFUTR4.js";
|
|
12
12
|
import "../chunk-LOPKRCGI.js";
|
|
13
13
|
export {
|
|
14
14
|
GlobalStyles,
|
package/dist/styles/themes.cjs
CHANGED
|
@@ -187,7 +187,8 @@ function useBreakpoints() {
|
|
|
187
187
|
// src/styles/buttons.tsx
|
|
188
188
|
var buttonsThemeBase = {
|
|
189
189
|
defaultSize: "Small",
|
|
190
|
-
|
|
190
|
+
defaultTypographyType: "Body Strong",
|
|
191
|
+
defaultColor: "text",
|
|
191
192
|
defaultBorderRadius: 32,
|
|
192
193
|
defaultBorderWidth: 1,
|
|
193
194
|
defaultBackgroundColor: "bg",
|
|
@@ -211,6 +212,7 @@ var buttonsThemeBase = {
|
|
|
211
212
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
212
213
|
kinds: {
|
|
213
214
|
primary: {
|
|
215
|
+
defaultColor: "bg",
|
|
214
216
|
defaultBorderWidth: 0,
|
|
215
217
|
defaultBackgroundColor: "c9Neutral",
|
|
216
218
|
defaultBorderColor: "c9Neutral",
|
|
@@ -238,7 +240,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
238
240
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
239
241
|
},
|
|
240
242
|
blue39: {
|
|
241
|
-
defaultBorderColor: "blue39"
|
|
243
|
+
defaultBorderColor: "blue39",
|
|
244
|
+
defaultColor: "gray98"
|
|
245
|
+
},
|
|
246
|
+
blue43: {
|
|
247
|
+
defaultColor: "white"
|
|
248
|
+
},
|
|
249
|
+
green33: {
|
|
250
|
+
defaultColor: "white"
|
|
251
|
+
},
|
|
252
|
+
purple55: {
|
|
253
|
+
defaultColor: "white"
|
|
254
|
+
},
|
|
255
|
+
danger: {
|
|
256
|
+
defaultColor: "white"
|
|
242
257
|
}
|
|
243
258
|
}
|
|
244
259
|
});
|
|
@@ -304,7 +319,7 @@ var colors = baseColors;
|
|
|
304
319
|
function isColorKey(key) {
|
|
305
320
|
return key in colors;
|
|
306
321
|
}
|
|
307
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
322
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
308
323
|
const bgRGB = hexToRGB(bgHex);
|
|
309
324
|
const hcRGB = hexToRGB(defaultHex);
|
|
310
325
|
if (!bgRGB || !hcRGB)
|
|
@@ -3666,28 +3681,30 @@ var bridgeBaseSettings = {
|
|
|
3666
3681
|
code: "Monaco"
|
|
3667
3682
|
}),
|
|
3668
3683
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3669
|
-
|
|
3684
|
+
defaultTypographyType: "Title",
|
|
3670
3685
|
defaultSize: "Medium",
|
|
3671
3686
|
defaultBorderRadius: 8,
|
|
3672
3687
|
defaultBorderWidth: 0,
|
|
3688
|
+
defaultPaddingsY: {
|
|
3689
|
+
ExtraSmall: 14,
|
|
3690
|
+
Small: 14,
|
|
3691
|
+
Schmedium: 14,
|
|
3692
|
+
Medium: 14,
|
|
3693
|
+
Mlarge: 14,
|
|
3694
|
+
Large: 14
|
|
3695
|
+
},
|
|
3673
3696
|
kinds: {
|
|
3674
3697
|
primary: {
|
|
3698
|
+
defaultColor: "bg",
|
|
3675
3699
|
defaultBackgroundColor: "blue39",
|
|
3676
3700
|
defaultHoverBackgroundColor: "blue37"
|
|
3677
3701
|
},
|
|
3678
3702
|
ghost: {
|
|
3703
|
+
defaultColor: "secondary",
|
|
3679
3704
|
defaultBackgroundColor: "transparent",
|
|
3680
3705
|
defaultBorderWidth: 0,
|
|
3681
3706
|
defaultHoverBackgroundColor: "transparent",
|
|
3682
|
-
defaultHoverBorderColor: "transparent"
|
|
3683
|
-
defaultPaddingsY: {
|
|
3684
|
-
ExtraSmall: 0,
|
|
3685
|
-
Small: 0,
|
|
3686
|
-
Schmedium: 0,
|
|
3687
|
-
Medium: 0,
|
|
3688
|
-
Mlarge: 0,
|
|
3689
|
-
Large: 0
|
|
3690
|
-
}
|
|
3707
|
+
defaultHoverBorderColor: "transparent"
|
|
3691
3708
|
},
|
|
3692
3709
|
secondary: {
|
|
3693
3710
|
defaultBackgroundColor: "transparent",
|
package/dist/styles/themes.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { h as BackgroundColorKey, j as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, c as Themes, W as WithTheme, m as getBackgroundColor, g as getColor, f as getFontColor, r as ifDark, q as ifLight, k as isBackgroundColorKey, l as isBackgroundColorKeyTuple, n as isDark, o as isLight, i as isThemeColorKey, e as isThemeOrColorKey, s as setFonts, p as themeOr, t as themeOrColorKeyValues, d as themes, u as useThemeBg } from '../buttons-b7f56076.js';
|
|
3
3
|
import './tokens/typography.cjs';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.cjs';
|
package/dist/styles/themes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@emotion/react';
|
|
2
|
-
export {
|
|
2
|
+
export { h as BackgroundColorKey, j as BackgroundColorKeyArg, F as FontColorKey, L as LightsparkTheme, S as SurfaceThemeColorKey, T as ThemeOrColorKey, b as ThemeProp, c as Themes, W as WithTheme, m as getBackgroundColor, g as getColor, f as getFontColor, r as ifDark, q as ifLight, k as isBackgroundColorKey, l as isBackgroundColorKeyTuple, n as isDark, o as isLight, i as isThemeColorKey, e as isThemeOrColorKey, s as setFonts, p as themeOr, t as themeOrColorKeyValues, d as themes, u as useThemeBg } from '../buttons-e4eb84a2.js';
|
|
3
3
|
import './tokens/typography.js';
|
|
4
4
|
import '@emotion/css';
|
|
5
5
|
import './colors.js';
|
package/dist/styles/themes.js
CHANGED
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
themeOrColorKeyValues,
|
|
17
17
|
themes,
|
|
18
18
|
useThemeBg
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-A4JZESAS.js";
|
|
20
20
|
import "../chunk-ENBUKLVT.js";
|
|
21
21
|
import "../chunk-JSGRNWSB.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-FO7I4E45.js";
|
|
23
|
+
import "../chunk-XUWFUTR4.js";
|
|
24
24
|
import "../chunk-LOPKRCGI.js";
|
|
25
25
|
export {
|
|
26
26
|
Themes,
|
package/dist/styles/type.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import _emotion_styled__default from '@emotion/styled';
|
|
3
|
-
import '../buttons-
|
|
3
|
+
import '../buttons-b7f56076.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './tokens/typography.cjs';
|
|
6
6
|
import '@emotion/css';
|
package/dist/styles/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import _emotion_styled__default from '@emotion/styled';
|
|
3
|
-
import '../buttons-
|
|
3
|
+
import '../buttons-e4eb84a2.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './tokens/typography.js';
|
|
6
6
|
import '@emotion/css';
|
package/dist/styles/type.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
Heading,
|
|
4
4
|
headingWithDefaults,
|
|
5
5
|
headings
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-5H32AOXL.js";
|
|
7
|
+
import "../chunk-KFX7US6Y.js";
|
|
8
|
+
import "../chunk-7NPHOJXD.js";
|
|
9
|
+
import "../chunk-A4JZESAS.js";
|
|
10
10
|
import "../chunk-ENBUKLVT.js";
|
|
11
11
|
import "../chunk-JSGRNWSB.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-FO7I4E45.js";
|
|
13
|
+
import "../chunk-XUWFUTR4.js";
|
|
14
14
|
import "../chunk-LOPKRCGI.js";
|
|
15
15
|
export {
|
|
16
16
|
Heading,
|
|
@@ -154,7 +154,8 @@ function inRange(currentBp, assertBp) {
|
|
|
154
154
|
// src/styles/buttons.tsx
|
|
155
155
|
var buttonsThemeBase = {
|
|
156
156
|
defaultSize: "Small",
|
|
157
|
-
|
|
157
|
+
defaultTypographyType: "Body Strong",
|
|
158
|
+
defaultColor: "text",
|
|
158
159
|
defaultBorderRadius: 32,
|
|
159
160
|
defaultBorderWidth: 1,
|
|
160
161
|
defaultBackgroundColor: "bg",
|
|
@@ -178,6 +179,7 @@ var buttonsThemeBase = {
|
|
|
178
179
|
var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
179
180
|
kinds: {
|
|
180
181
|
primary: {
|
|
182
|
+
defaultColor: "bg",
|
|
181
183
|
defaultBorderWidth: 0,
|
|
182
184
|
defaultBackgroundColor: "c9Neutral",
|
|
183
185
|
defaultBorderColor: "c9Neutral",
|
|
@@ -205,7 +207,20 @@ var defaultButtonsTheme = __spreadProps(__spreadValues({}, buttonsThemeBase), {
|
|
|
205
207
|
defaultHoverBorderColor: ["gray90", "gray20"]
|
|
206
208
|
},
|
|
207
209
|
blue39: {
|
|
208
|
-
defaultBorderColor: "blue39"
|
|
210
|
+
defaultBorderColor: "blue39",
|
|
211
|
+
defaultColor: "gray98"
|
|
212
|
+
},
|
|
213
|
+
blue43: {
|
|
214
|
+
defaultColor: "white"
|
|
215
|
+
},
|
|
216
|
+
green33: {
|
|
217
|
+
defaultColor: "white"
|
|
218
|
+
},
|
|
219
|
+
purple55: {
|
|
220
|
+
defaultColor: "white"
|
|
221
|
+
},
|
|
222
|
+
danger: {
|
|
223
|
+
defaultColor: "white"
|
|
209
224
|
}
|
|
210
225
|
}
|
|
211
226
|
});
|
|
@@ -270,7 +285,7 @@ var colors = baseColors;
|
|
|
270
285
|
function isColorKey(key) {
|
|
271
286
|
return key in colors;
|
|
272
287
|
}
|
|
273
|
-
function hcNeutralFromBg(bgHex, defaultHex, altHex) {
|
|
288
|
+
function hcNeutralFromBg(bgHex, defaultHex = colors.black, altHex = colors.white) {
|
|
274
289
|
const bgRGB = hexToRGB(bgHex);
|
|
275
290
|
const hcRGB = hexToRGB(defaultHex);
|
|
276
291
|
if (!bgRGB || !hcRGB)
|
|
@@ -3673,28 +3688,30 @@ var bridgeBaseSettings = {
|
|
|
3673
3688
|
code: "Monaco"
|
|
3674
3689
|
}),
|
|
3675
3690
|
buttons: (0, import_deepmerge.default)(buttonsThemeBase, {
|
|
3676
|
-
|
|
3691
|
+
defaultTypographyType: "Title",
|
|
3677
3692
|
defaultSize: "Medium",
|
|
3678
3693
|
defaultBorderRadius: 8,
|
|
3679
3694
|
defaultBorderWidth: 0,
|
|
3695
|
+
defaultPaddingsY: {
|
|
3696
|
+
ExtraSmall: 14,
|
|
3697
|
+
Small: 14,
|
|
3698
|
+
Schmedium: 14,
|
|
3699
|
+
Medium: 14,
|
|
3700
|
+
Mlarge: 14,
|
|
3701
|
+
Large: 14
|
|
3702
|
+
},
|
|
3680
3703
|
kinds: {
|
|
3681
3704
|
primary: {
|
|
3705
|
+
defaultColor: "bg",
|
|
3682
3706
|
defaultBackgroundColor: "blue39",
|
|
3683
3707
|
defaultHoverBackgroundColor: "blue37"
|
|
3684
3708
|
},
|
|
3685
3709
|
ghost: {
|
|
3710
|
+
defaultColor: "secondary",
|
|
3686
3711
|
defaultBackgroundColor: "transparent",
|
|
3687
3712
|
defaultBorderWidth: 0,
|
|
3688
3713
|
defaultHoverBackgroundColor: "transparent",
|
|
3689
|
-
defaultHoverBorderColor: "transparent"
|
|
3690
|
-
defaultPaddingsY: {
|
|
3691
|
-
ExtraSmall: 0,
|
|
3692
|
-
Small: 0,
|
|
3693
|
-
Schmedium: 0,
|
|
3694
|
-
Medium: 0,
|
|
3695
|
-
Mlarge: 0,
|
|
3696
|
-
Large: 0
|
|
3697
|
-
}
|
|
3714
|
+
defaultHoverBorderColor: "transparent"
|
|
3698
3715
|
},
|
|
3699
3716
|
secondary: {
|
|
3700
3717
|
defaultBackgroundColor: "transparent",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@emotion/react';
|
|
2
2
|
import { Complete } from '@lightsparkdev/core';
|
|
3
|
-
import { F as FontColorKey } from '../buttons-
|
|
3
|
+
import { F as FontColorKey } from '../buttons-b7f56076.js';
|
|
4
4
|
import { TypographyTypeKey, TokenSizeKey } from './tokens/typography.cjs';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@emotion/react';
|
|
2
2
|
import { Complete } from '@lightsparkdev/core';
|
|
3
|
-
import { F as FontColorKey } from '../buttons-
|
|
3
|
+
import { F as FontColorKey } from '../buttons-e4eb84a2.js';
|
|
4
4
|
import { TypographyTypeKey, TokenSizeKey } from './tokens/typography.js';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyTypography
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-VUXU77SU.js";
|
|
4
|
+
import "../chunk-A4JZESAS.js";
|
|
5
5
|
import "../chunk-ENBUKLVT.js";
|
|
6
6
|
import "../chunk-JSGRNWSB.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-FO7I4E45.js";
|
|
8
|
+
import "../chunk-XUWFUTR4.js";
|
|
9
9
|
import "../chunk-LOPKRCGI.js";
|
|
10
10
|
export {
|
|
11
11
|
applyTypography
|
package/dist/styles/utils.js
CHANGED
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
remsToPx,
|
|
14
14
|
size,
|
|
15
15
|
textCenter
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-KFX7US6Y.js";
|
|
17
|
+
import "../chunk-7NPHOJXD.js";
|
|
18
|
+
import "../chunk-A4JZESAS.js";
|
|
19
19
|
import "../chunk-ENBUKLVT.js";
|
|
20
20
|
import "../chunk-JSGRNWSB.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-FO7I4E45.js";
|
|
22
|
+
import "../chunk-XUWFUTR4.js";
|
|
23
23
|
import "../chunk-LOPKRCGI.js";
|
|
24
24
|
export {
|
|
25
25
|
absoluteCenter,
|