@lightsparkdev/ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-SGSLTG65.js → chunk-242JGEN4.js} +3 -3
- package/dist/{chunk-F6EVBEMN.js → chunk-2P6TCMZN.js} +2 -2
- package/dist/{chunk-J7SV67XL.js → chunk-3R5KJDSL.js} +1 -1
- package/dist/{chunk-L6S22JUU.js → chunk-4BERRPJN.js} +3 -3
- package/dist/{chunk-AI6DCUWK.js → chunk-4KURUJD2.js} +1 -1
- package/dist/{chunk-6H7PZJ2A.js → chunk-4X67A2CS.js} +2 -1
- package/dist/{chunk-YRYVSAWS.js → chunk-5F7IOIWL.js} +1 -1
- package/dist/{chunk-EMXTALIX.js → chunk-5ON3ICVC.js} +1 -1
- package/dist/{chunk-35WJ3PKH.js → chunk-642OXLAD.js} +2 -2
- package/dist/{chunk-SKXCT2FQ.js → chunk-7BSME2ZU.js} +2 -2
- package/dist/{chunk-GNVEN6UE.js → chunk-7COKMITX.js} +2 -2
- package/dist/{chunk-LL5YLPNM.js → chunk-7OJQZEVL.js} +5 -5
- package/dist/{chunk-GGEAODIA.js → chunk-7RLDCOUT.js} +4 -4
- package/dist/{chunk-S6AOKANU.js → chunk-7RMHMFS2.js} +4 -4
- package/dist/{chunk-CMQELZES.js → chunk-AZOVE32P.js} +2 -2
- package/dist/{chunk-5H32AOXL.js → chunk-BAGRU7JE.js} +1 -1
- package/dist/{chunk-2JYYREVX.js → chunk-BPGBJRZE.js} +1 -1
- package/dist/{chunk-UNULJ3P6.js → chunk-BRRDPQWW.js} +4 -4
- package/dist/{chunk-W3BAJ3HT.js → chunk-C3YODRA3.js} +15 -15
- package/dist/{chunk-HZ63YB4Y.js → chunk-C4HNAZFZ.js} +3 -3
- package/dist/{chunk-7NPHOJXD.js → chunk-CZFFMEAS.js} +5 -5
- package/dist/{chunk-HRZNVE2K.js → chunk-DIKOS5R6.js} +2 -2
- package/dist/{chunk-BMSSV6NX.js → chunk-DNGAINGL.js} +1 -1
- package/dist/{chunk-TVLELY54.js → chunk-DWUP3RDU.js} +4 -4
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/chunk-EIFK352Q.js +27 -0
- package/dist/{chunk-OA3BZAST.js → chunk-GLEAWATH.js} +3 -3
- package/dist/{chunk-KFX7US6Y.js → chunk-GQVNE3NU.js} +1 -1
- package/dist/{chunk-UBYBILLK.js → chunk-HPZVUEDJ.js} +2 -2
- package/dist/{chunk-TM3C4LEG.js → chunk-HVDX4OZJ.js} +2 -2
- package/dist/{chunk-6JFJDBV2.js → chunk-JAPRGAB7.js} +1 -1
- package/dist/{chunk-467PLJO3.js → chunk-JH53NBOD.js} +59 -10
- package/dist/{chunk-2XRCGW74.js → chunk-KBLCFXNL.js} +3 -3
- package/dist/{chunk-NYQLPSG3.js → chunk-KJHREJHT.js} +2 -2
- package/dist/{chunk-CZQER3QD.js → chunk-LFD2KVAB.js} +1 -1
- package/dist/{chunk-DCFB5MJ7.js → chunk-LGXMGWLV.js} +17 -16
- package/dist/{chunk-37RRWSDE.js → chunk-LLGN3OM3.js} +2 -2
- package/dist/{chunk-HA4AQO3T.js → chunk-MK2JFFUG.js} +1 -1
- package/dist/{chunk-EV6PGQPM.js → chunk-MNMVZI7D.js} +11 -11
- package/dist/{chunk-HP4VPMN7.js → chunk-OMY3WTAU.js} +2 -2
- package/dist/{chunk-VUXU77SU.js → chunk-OUHQXQOJ.js} +1 -1
- package/dist/{chunk-PNSZAJL7.js → chunk-OZQ5WPLN.js} +2 -2
- package/dist/{chunk-2H7TBKII.js → chunk-PDQVYUEW.js} +6 -6
- package/dist/{chunk-DNVKN2FG.js → chunk-QCHEDM2I.js} +3 -3
- package/dist/{chunk-CHK5DOMV.js → chunk-RESJONBZ.js} +2 -2
- package/dist/{chunk-XP3BAAUO.js → chunk-SZ4KKLYJ.js} +2 -2
- package/dist/{chunk-VYTN6ASZ.js → chunk-THTKSZSR.js} +2 -2
- package/dist/{chunk-KBYU4ZQ3.js → chunk-TNDSUTUN.js} +3 -3
- package/dist/{chunk-SRHSJOES.js → chunk-TNISOOCF.js} +1 -1
- package/dist/{chunk-55M7XHBZ.js → chunk-UNFCVZ32.js} +36 -33
- package/dist/{chunk-56QJRFP2.js → chunk-V523QTZQ.js} +2 -2
- package/dist/{chunk-A4JZESAS.js → chunk-VNQE6KEX.js} +16 -3
- package/dist/{chunk-5XZJEYHG.js → chunk-VR2GLRXH.js} +1 -1
- package/dist/chunk-VWD7T5MQ.js +74 -0
- package/dist/{chunk-XUVCOSIE.js → chunk-VXH6GWGE.js} +2 -2
- package/dist/{chunk-ZNZAY47J.js → chunk-W2N5QUG6.js} +9 -6
- package/dist/{chunk-D73OOC3E.js → chunk-WDJMAZFO.js} +3 -3
- package/dist/{chunk-WV5AB4ZB.js → chunk-XS4MH3QA.js} +102 -85
- package/dist/{chunk-TM2NGRD2.js → chunk-YRFCWL73.js} +5 -2
- package/dist/{chunk-CZCPVHVB.js → chunk-YRZ3VNBI.js} +2 -2
- package/dist/{chunk-JOQCJPOA.js → chunk-ZCXGHQQF.js} +9 -9
- package/dist/{chunk-UVGBD7XM.js → chunk-ZO35RX7V.js} +21 -13
- package/dist/{chunk-27SFWLPS.js → chunk-ZS7G6WIG.js} +1 -1
- package/dist/components/Badge.cjs +7845 -7476
- package/dist/components/Badge.d.cts +146 -7
- package/dist/components/Badge.d.ts +146 -7
- package/dist/components/Badge.js +20 -23
- package/dist/components/Banner/Banner.cjs +55 -26
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +18 -18
- package/dist/components/Button.cjs +46 -28
- package/dist/components/Button.d.cts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +20 -20
- package/dist/components/ButtonRow.cjs +49 -31
- package/dist/components/ButtonRow.d.cts +1 -1
- package/dist/components/ButtonRow.d.ts +1 -1
- package/dist/components/ButtonRow.js +22 -22
- package/dist/components/CardPage.cjs +16 -3
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.cjs +3 -3
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +21 -7
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +17 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +17 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +82 -7
- package/dist/components/Collapsible.js +6 -6
- package/dist/components/CommaNumberInput.cjs +22 -8
- package/dist/components/CommaNumberInput.d.cts +1 -1
- package/dist/components/CommaNumberInput.d.ts +1 -1
- package/dist/components/CommaNumberInput.js +11 -11
- package/dist/components/ContentTable.cjs +17 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +21 -7
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +17 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +293 -176
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +22 -22
- package/dist/components/Dropdown.cjs +21 -7
- package/dist/components/Dropdown.d.cts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +5 -5
- package/dist/components/FileInput.cjs +17 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +17 -4
- package/dist/components/Icon/Icon.d.cts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/IconWithCircleBackground.cjs +7349 -7338
- package/dist/components/IconWithCircleBackground.js +4 -73
- package/dist/components/InfoIconTooltip.cjs +62 -32
- package/dist/components/InfoIconTooltip.d.cts +1 -1
- package/dist/components/InfoIconTooltip.d.ts +1 -1
- package/dist/components/InfoIconTooltip.js +19 -19
- package/dist/components/LightsparkProvider.cjs +16 -3
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +17 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +297 -147
- package/dist/components/Modal.d.cts +21 -15
- package/dist/components/Modal.d.ts +21 -15
- package/dist/components/Modal.js +27 -68
- package/dist/components/PageSection/PageSection.cjs +214 -100
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +27 -31
- package/dist/components/PageSection/PageSectionNav.cjs +50 -21
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +22 -8
- package/dist/components/PhoneInput.d.cts +1 -1
- package/dist/components/PhoneInput.d.ts +1 -1
- package/dist/components/PhoneInput.js +11 -11
- package/dist/components/Pill.cjs +17 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +16 -3
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +7410 -7334
- package/dist/components/Radio.js +8 -22
- package/dist/components/SecretContainer.cjs +21 -7
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +46 -17
- package/dist/components/TextButton.d.cts +1 -1
- package/dist/components/TextButton.d.ts +1 -1
- package/dist/components/TextButton.js +19 -19
- package/dist/components/TextIconAligner.cjs +40 -11
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +17 -17
- package/dist/components/TextInput.cjs +22 -8
- package/dist/components/TextInput.d.cts +1 -1
- package/dist/components/TextInput.d.ts +1 -1
- package/dist/components/TextInput.js +10 -10
- package/dist/components/Toasts.cjs +66 -37
- package/dist/components/Toasts.d.cts +1 -1
- package/dist/components/Toasts.d.ts +1 -1
- package/dist/components/Toasts.js +20 -20
- package/dist/components/Toggle.cjs +108 -97
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +20 -6
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +17 -4
- package/dist/components/documentation/AnchorLinkHeader.d.cts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.d.ts +1 -1
- package/dist/components/documentation/AnchorLinkHeader.js +8 -8
- package/dist/components/documentation/DocsBodyParagraph.cjs +16 -3
- package/dist/components/documentation/DocsBodyParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyParagraph.js +6 -6
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +16 -3
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +1 -1
- package/dist/components/documentation/DocsBodyStrongParagraph.js +6 -6
- package/dist/components/documentation/DocsHeadline.cjs +16 -3
- package/dist/components/documentation/DocsHeadline.d.cts +1 -1
- package/dist/components/documentation/DocsHeadline.d.ts +1 -1
- package/dist/components/documentation/DocsHeadline.js +7 -7
- package/dist/components/documentation/Video.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 +18 -2
- package/dist/components/documentation/index.cjs +17 -4
- package/dist/components/documentation/index.d.cts +1 -1
- package/dist/components/documentation/index.d.ts +1 -1
- package/dist/components/documentation/index.js +8 -8
- package/dist/components/index.cjs +8474 -8234
- package/dist/components/index.d.cts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +69 -70
- package/dist/components/typography/Article.cjs +103 -28
- package/dist/components/typography/Article.js +14 -14
- package/dist/components/typography/Body.cjs +18 -4
- package/dist/components/typography/Body.d.cts +2 -2
- package/dist/components/typography/Body.d.ts +2 -2
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +18 -4
- package/dist/components/typography/BodyStrong.d.cts +2 -2
- package/dist/components/typography/BodyStrong.d.ts +2 -2
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +18 -4
- package/dist/components/typography/Code.d.cts +2 -2
- package/dist/components/typography/Code.d.ts +2 -2
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +18 -4
- package/dist/components/typography/Display.d.cts +2 -2
- package/dist/components/typography/Display.d.ts +2 -2
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +18 -4
- package/dist/components/typography/Headline.d.cts +2 -2
- package/dist/components/typography/Headline.d.ts +2 -2
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +18 -4
- package/dist/components/typography/Label.d.cts +2 -2
- package/dist/components/typography/Label.d.ts +2 -2
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +18 -4
- package/dist/components/typography/LabelModerate.d.cts +2 -2
- package/dist/components/typography/LabelModerate.d.ts +2 -2
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +18 -4
- package/dist/components/typography/LabelStrong.d.cts +2 -2
- package/dist/components/typography/LabelStrong.d.ts +2 -2
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +18 -4
- package/dist/components/typography/Overline.d.cts +2 -2
- package/dist/components/typography/Overline.d.ts +2 -2
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +18 -4
- package/dist/components/typography/Title.d.cts +3 -3
- package/dist/components/typography/Title.d.ts +3 -3
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +105 -29
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +22 -23
- package/dist/components/typography/renderTypography.cjs +34 -7
- package/dist/components/typography/renderTypography.d.cts +20 -20
- package/dist/components/typography/renderTypography.d.ts +20 -20
- package/dist/components/typography/renderTypography.js +16 -16
- package/dist/styles/buttons.d.cts +1 -1
- package/dist/styles/buttons.d.ts +1 -1
- package/dist/styles/common.cjs +20 -6
- package/dist/styles/common.d.cts +3 -2
- package/dist/styles/common.d.ts +3 -2
- package/dist/styles/common.js +2 -2
- package/dist/styles/fields.cjs +17 -4
- package/dist/styles/fields.d.cts +1 -1
- package/dist/styles/fields.d.ts +1 -1
- package/dist/styles/fields.js +4 -4
- package/dist/styles/global.cjs +16 -3
- package/dist/styles/global.d.cts +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/global.js +3 -3
- package/dist/styles/themes.cjs +16 -3
- package/dist/styles/themes.d.cts +1 -1
- package/dist/styles/themes.d.ts +1 -1
- package/dist/styles/themes.js +1 -1
- package/dist/styles/tokens/spacing.cjs +60 -21
- package/dist/styles/tokens/spacing.d.cts +40 -20
- package/dist/styles/tokens/spacing.d.ts +40 -20
- package/dist/styles/tokens/spacing.js +1 -1
- package/dist/styles/type.d.cts +1 -1
- package/dist/styles/type.d.ts +1 -1
- package/dist/styles/type.js +4 -4
- package/dist/styles/typography.cjs +16 -3
- package/dist/styles/typography.d.cts +1 -1
- package/dist/styles/typography.d.ts +1 -1
- package/dist/styles/typography.js +2 -2
- package/dist/styles/utils.js +3 -3
- package/dist/{buttons-b7f56076.d.ts → themes-37e92940.d.ts} +91 -67
- package/dist/{buttons-e4eb84a2.d.ts → themes-832e46b2.d.ts} +91 -67
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +18 -4
- package/dist/utils/toNonTypographicReactNodes.d.cts +2 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +2 -1
- package/dist/utils/toNonTypographicReactNodes.js +4 -4
- package/dist/utils/toReactNodes.cjs +59 -21
- package/dist/utils/toReactNodes.d.cts +13 -9
- package/dist/utils/toReactNodes.d.ts +13 -9
- package/dist/utils/toReactNodes.js +19 -17
- package/package.json +1 -1
- package/dist/chunk-3XSQV5U4.js +0 -26
- package/dist/chunk-B2VYAIYR.js +0 -0
- package/dist/chunk-RSAYBOK5.js +0 -35
|
@@ -23,27 +23,66 @@ __export(spacing_exports, {
|
|
|
23
23
|
Spacing: () => Spacing
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(spacing_exports);
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
26
|
+
var n = {
|
|
27
|
+
"4xs": 2,
|
|
28
|
+
"3xs": 4,
|
|
29
|
+
"2xs": 6,
|
|
30
|
+
xs: 8,
|
|
31
|
+
sm: 12,
|
|
32
|
+
md: 16,
|
|
33
|
+
lg: 24,
|
|
34
|
+
xl: 32,
|
|
35
|
+
"2xl": 40,
|
|
36
|
+
"3xl": 48,
|
|
37
|
+
"4xl": 56,
|
|
38
|
+
"5xl": 64,
|
|
39
|
+
"6xl": 72,
|
|
40
|
+
"7xl": 80,
|
|
41
|
+
"8xl": 96,
|
|
42
|
+
"9xl": 112,
|
|
43
|
+
"10xl": 128,
|
|
44
|
+
"11xl": 160
|
|
45
|
+
};
|
|
46
|
+
var Spacing = {
|
|
47
|
+
"4xs": n["4xs"],
|
|
48
|
+
"3xs": n["3xs"],
|
|
49
|
+
"2xs": n["2xs"],
|
|
50
|
+
xs: n.xs,
|
|
51
|
+
sm: n.sm,
|
|
52
|
+
md: n.md,
|
|
53
|
+
lg: n.lg,
|
|
54
|
+
xl: n.xl,
|
|
55
|
+
"2xl": n["2xl"],
|
|
56
|
+
"3xl": n["3xl"],
|
|
57
|
+
"4xl": n["4xl"],
|
|
58
|
+
"5xl": n["5xl"],
|
|
59
|
+
"6xl": n["6xl"],
|
|
60
|
+
"7xl": n["7xl"],
|
|
61
|
+
"8xl": n["8xl"],
|
|
62
|
+
"9xl": n["9xl"],
|
|
63
|
+
"10xl": n["10xl"],
|
|
64
|
+
"11xl": n["11xl"],
|
|
65
|
+
px: {
|
|
66
|
+
"4xs": `${n["4xs"]}px`,
|
|
67
|
+
"3xs": `${n["3xs"]}px`,
|
|
68
|
+
"2xs": `${n["2xs"]}px`,
|
|
69
|
+
xs: `${n.xs}px`,
|
|
70
|
+
sm: `${n.sm}px`,
|
|
71
|
+
md: `${n.md}px`,
|
|
72
|
+
lg: `${n.lg}px`,
|
|
73
|
+
xl: `${n.xl}px`,
|
|
74
|
+
"2xl": `${n["2xl"]}px`,
|
|
75
|
+
"3xl": `${n["3xl"]}px`,
|
|
76
|
+
"4xl": `${n["4xl"]}px`,
|
|
77
|
+
"5xl": `${n["5xl"]}px`,
|
|
78
|
+
"6xl": `${n["6xl"]}px`,
|
|
79
|
+
"7xl": `${n["7xl"]}px`,
|
|
80
|
+
"8xl": `${n["8xl"]}px`,
|
|
81
|
+
"9xl": `${n["9xl"]}px`,
|
|
82
|
+
"10xl": `${n["10xl"]}px`,
|
|
83
|
+
"11xl": `${n["11xl"]}px`
|
|
84
|
+
}
|
|
85
|
+
};
|
|
47
86
|
// Annotate the CommonJS export names for ESM import in node:
|
|
48
87
|
0 && (module.exports = {
|
|
49
88
|
Spacing
|
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
declare
|
|
2
|
-
"4xs"
|
|
3
|
-
"3xs"
|
|
4
|
-
"2xs"
|
|
5
|
-
xs
|
|
6
|
-
sm
|
|
7
|
-
md
|
|
8
|
-
lg
|
|
9
|
-
xl
|
|
10
|
-
"2xl"
|
|
11
|
-
"3xl"
|
|
12
|
-
"4xl"
|
|
13
|
-
"5xl"
|
|
14
|
-
"6xl"
|
|
15
|
-
"7xl"
|
|
16
|
-
"8xl"
|
|
17
|
-
"9xl"
|
|
18
|
-
"10xl"
|
|
19
|
-
"11xl"
|
|
20
|
-
|
|
1
|
+
declare const Spacing: {
|
|
2
|
+
readonly "4xs": 2;
|
|
3
|
+
readonly "3xs": 4;
|
|
4
|
+
readonly "2xs": 6;
|
|
5
|
+
readonly xs: 8;
|
|
6
|
+
readonly sm: 12;
|
|
7
|
+
readonly md: 16;
|
|
8
|
+
readonly lg: 24;
|
|
9
|
+
readonly xl: 32;
|
|
10
|
+
readonly "2xl": 40;
|
|
11
|
+
readonly "3xl": 48;
|
|
12
|
+
readonly "4xl": 56;
|
|
13
|
+
readonly "5xl": 64;
|
|
14
|
+
readonly "6xl": 72;
|
|
15
|
+
readonly "7xl": 80;
|
|
16
|
+
readonly "8xl": 96;
|
|
17
|
+
readonly "9xl": 112;
|
|
18
|
+
readonly "10xl": 128;
|
|
19
|
+
readonly "11xl": 160;
|
|
20
|
+
readonly px: {
|
|
21
|
+
readonly "4xs": "2px";
|
|
22
|
+
readonly "3xs": "4px";
|
|
23
|
+
readonly "2xs": "6px";
|
|
24
|
+
readonly xs: "8px";
|
|
25
|
+
readonly sm: "12px";
|
|
26
|
+
readonly md: "16px";
|
|
27
|
+
readonly lg: "24px";
|
|
28
|
+
readonly xl: "32px";
|
|
29
|
+
readonly "2xl": "40px";
|
|
30
|
+
readonly "3xl": "48px";
|
|
31
|
+
readonly "4xl": "56px";
|
|
32
|
+
readonly "5xl": "64px";
|
|
33
|
+
readonly "6xl": "72px";
|
|
34
|
+
readonly "7xl": "80px";
|
|
35
|
+
readonly "8xl": "96px";
|
|
36
|
+
readonly "9xl": "112px";
|
|
37
|
+
readonly "10xl": "128px";
|
|
38
|
+
readonly "11xl": "160px";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
21
41
|
|
|
22
42
|
export { Spacing };
|
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
declare
|
|
2
|
-
"4xs"
|
|
3
|
-
"3xs"
|
|
4
|
-
"2xs"
|
|
5
|
-
xs
|
|
6
|
-
sm
|
|
7
|
-
md
|
|
8
|
-
lg
|
|
9
|
-
xl
|
|
10
|
-
"2xl"
|
|
11
|
-
"3xl"
|
|
12
|
-
"4xl"
|
|
13
|
-
"5xl"
|
|
14
|
-
"6xl"
|
|
15
|
-
"7xl"
|
|
16
|
-
"8xl"
|
|
17
|
-
"9xl"
|
|
18
|
-
"10xl"
|
|
19
|
-
"11xl"
|
|
20
|
-
|
|
1
|
+
declare const Spacing: {
|
|
2
|
+
readonly "4xs": 2;
|
|
3
|
+
readonly "3xs": 4;
|
|
4
|
+
readonly "2xs": 6;
|
|
5
|
+
readonly xs: 8;
|
|
6
|
+
readonly sm: 12;
|
|
7
|
+
readonly md: 16;
|
|
8
|
+
readonly lg: 24;
|
|
9
|
+
readonly xl: 32;
|
|
10
|
+
readonly "2xl": 40;
|
|
11
|
+
readonly "3xl": 48;
|
|
12
|
+
readonly "4xl": 56;
|
|
13
|
+
readonly "5xl": 64;
|
|
14
|
+
readonly "6xl": 72;
|
|
15
|
+
readonly "7xl": 80;
|
|
16
|
+
readonly "8xl": 96;
|
|
17
|
+
readonly "9xl": 112;
|
|
18
|
+
readonly "10xl": 128;
|
|
19
|
+
readonly "11xl": 160;
|
|
20
|
+
readonly px: {
|
|
21
|
+
readonly "4xs": "2px";
|
|
22
|
+
readonly "3xs": "4px";
|
|
23
|
+
readonly "2xs": "6px";
|
|
24
|
+
readonly xs: "8px";
|
|
25
|
+
readonly sm: "12px";
|
|
26
|
+
readonly md: "16px";
|
|
27
|
+
readonly lg: "24px";
|
|
28
|
+
readonly xl: "32px";
|
|
29
|
+
readonly "2xl": "40px";
|
|
30
|
+
readonly "3xl": "48px";
|
|
31
|
+
readonly "4xl": "56px";
|
|
32
|
+
readonly "5xl": "64px";
|
|
33
|
+
readonly "6xl": "72px";
|
|
34
|
+
readonly "7xl": "80px";
|
|
35
|
+
readonly "8xl": "96px";
|
|
36
|
+
readonly "9xl": "112px";
|
|
37
|
+
readonly "10xl": "128px";
|
|
38
|
+
readonly "11xl": "160px";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
21
41
|
|
|
22
42
|
export { Spacing };
|
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 '../
|
|
3
|
+
import '../themes-37e92940.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 '../
|
|
3
|
+
import '../themes-832e46b2.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './tokens/typography.js';
|
|
6
6
|
import '@emotion/css';
|
package/dist/styles/type.js
CHANGED
|
@@ -3,10 +3,10 @@ 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-BAGRU7JE.js";
|
|
7
|
+
import "../chunk-GQVNE3NU.js";
|
|
8
|
+
import "../chunk-CZFFMEAS.js";
|
|
9
|
+
import "../chunk-VNQE6KEX.js";
|
|
10
10
|
import "../chunk-ENBUKLVT.js";
|
|
11
11
|
import "../chunk-JSGRNWSB.js";
|
|
12
12
|
import "../chunk-FO7I4E45.js";
|
|
@@ -3569,6 +3569,10 @@ var baseTheme = __spreadProps(__spreadValues({}, baseThemeColors), {
|
|
|
3569
3569
|
typography: getTypography("Lightspark" /* Lightspark */),
|
|
3570
3570
|
hcNeutralFromBg: (bgHex) => hcNeutralFromBg(bgHex, colors.black, colors.white),
|
|
3571
3571
|
buttons: defaultButtonsTheme,
|
|
3572
|
+
badge: {
|
|
3573
|
+
bg: "c05Neutral"
|
|
3574
|
+
},
|
|
3575
|
+
inputBackground: colors.white,
|
|
3572
3576
|
loading: "LoadingSpinner"
|
|
3573
3577
|
});
|
|
3574
3578
|
var lightBaseTheme = baseTheme;
|
|
@@ -3605,7 +3609,11 @@ var darkBaseTheme = {
|
|
|
3605
3609
|
vlcNeutral: colors.gray20,
|
|
3606
3610
|
warning: colors.warning,
|
|
3607
3611
|
buttons: defaultButtonsTheme,
|
|
3608
|
-
loading: "LoadingSpinner"
|
|
3612
|
+
loading: "LoadingSpinner",
|
|
3613
|
+
inputBackground: colors.black,
|
|
3614
|
+
badge: {
|
|
3615
|
+
bg: "c15Neutral"
|
|
3616
|
+
}
|
|
3609
3617
|
};
|
|
3610
3618
|
var lightTheme = extend(lightBaseTheme, {
|
|
3611
3619
|
header: extendBase(lightBaseTheme, {
|
|
@@ -3644,6 +3652,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
3644
3652
|
secondary: colors.grayBlue43,
|
|
3645
3653
|
text: colors.grayBlue9,
|
|
3646
3654
|
link: colors.blue39,
|
|
3655
|
+
inputBackground: colors.white,
|
|
3647
3656
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
3648
3657
|
main: "Manrope",
|
|
3649
3658
|
code: "Monaco"
|
|
@@ -3720,7 +3729,10 @@ var bridgeBaseSettings = {
|
|
|
3720
3729
|
defaultBorderWidth: 1
|
|
3721
3730
|
}
|
|
3722
3731
|
}
|
|
3723
|
-
})
|
|
3732
|
+
}),
|
|
3733
|
+
badge: {
|
|
3734
|
+
bg: "grayBlue94"
|
|
3735
|
+
}
|
|
3724
3736
|
};
|
|
3725
3737
|
var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3726
3738
|
type: "bridgeLight" /* BridgeLight */,
|
|
@@ -3728,7 +3740,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
3728
3740
|
bg: colors.gray98,
|
|
3729
3741
|
smBg: colors.gray98,
|
|
3730
3742
|
text: colors.grayBlue9,
|
|
3731
|
-
secondary: colors.grayBlue43
|
|
3743
|
+
secondary: colors.grayBlue43,
|
|
3744
|
+
inputBackground: colors.white
|
|
3732
3745
|
}));
|
|
3733
3746
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
3734
3747
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@emotion/react';
|
|
2
2
|
import { Complete } from '@lightsparkdev/core';
|
|
3
|
-
import { F as FontColorKey } from '../
|
|
3
|
+
import { F as FontColorKey } from '../themes-37e92940.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 '../
|
|
3
|
+
import { F as FontColorKey } from '../themes-832e46b2.js';
|
|
4
4
|
import { TypographyTypeKey, TokenSizeKey } from './tokens/typography.js';
|
|
5
5
|
import '@emotion/css';
|
|
6
6
|
import './colors.js';
|
package/dist/styles/utils.js
CHANGED
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
remsToPx,
|
|
14
14
|
size,
|
|
15
15
|
textCenter
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-GQVNE3NU.js";
|
|
17
|
+
import "../chunk-CZFFMEAS.js";
|
|
18
|
+
import "../chunk-VNQE6KEX.js";
|
|
19
19
|
import "../chunk-ENBUKLVT.js";
|
|
20
20
|
import "../chunk-JSGRNWSB.js";
|
|
21
21
|
import "../chunk-FO7I4E45.js";
|
|
@@ -1,9 +1,66 @@
|
|
|
1
1
|
import * as _emotion_react from '@emotion/react';
|
|
2
2
|
import { Theme } from '@emotion/react';
|
|
3
|
-
import { FontFamilies, TypographyGroup
|
|
3
|
+
import { TokenSizeKey, FontFamilies, TypographyGroup } from './styles/tokens/typography.cjs';
|
|
4
4
|
import { CSSInterpolation } from '@emotion/css';
|
|
5
5
|
import { ColorKey } from './styles/colors.cjs';
|
|
6
6
|
|
|
7
|
+
type PaddingYKey = "short" | "regular";
|
|
8
|
+
type PaddingY = number | {
|
|
9
|
+
[key in PaddingYKey]: number;
|
|
10
|
+
};
|
|
11
|
+
declare const buttonBorderRadiuses: readonly [8, 32];
|
|
12
|
+
type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
|
|
13
|
+
declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
|
|
14
|
+
type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
|
|
15
|
+
type ButtonTypographyArgs = {
|
|
16
|
+
type?: AllowedButtonTypographyTypes;
|
|
17
|
+
color?: ThemeOrColorKey;
|
|
18
|
+
};
|
|
19
|
+
declare const buttonsThemeBase: {
|
|
20
|
+
defaultSize: TokenSizeKey;
|
|
21
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
22
|
+
defaultColor: ThemeOrColorKey;
|
|
23
|
+
defaultBorderRadius: 8 | 32;
|
|
24
|
+
defaultBorderWidth: number;
|
|
25
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
26
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
27
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
28
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
29
|
+
defaultOutlineOffset: number;
|
|
30
|
+
defaultPaddingsY: {
|
|
31
|
+
ExtraSmall: number;
|
|
32
|
+
Small: PaddingY;
|
|
33
|
+
Schmedium: number;
|
|
34
|
+
Medium: number;
|
|
35
|
+
Mlarge: number;
|
|
36
|
+
Large: number;
|
|
37
|
+
};
|
|
38
|
+
kinds: {};
|
|
39
|
+
};
|
|
40
|
+
type ButtonsThemeKey = keyof typeof buttonsThemeBase;
|
|
41
|
+
type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
|
|
42
|
+
declare const defaultButtonsTheme: {
|
|
43
|
+
kinds: ButtonKindsProps;
|
|
44
|
+
defaultSize: TokenSizeKey;
|
|
45
|
+
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
46
|
+
defaultColor: ThemeOrColorKey;
|
|
47
|
+
defaultBorderRadius: 8 | 32;
|
|
48
|
+
defaultBorderWidth: number;
|
|
49
|
+
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
50
|
+
defaultBorderColor: BackgroundColorKeyArg;
|
|
51
|
+
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
52
|
+
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
53
|
+
defaultOutlineOffset: number;
|
|
54
|
+
defaultPaddingsY: {
|
|
55
|
+
ExtraSmall: number;
|
|
56
|
+
Small: PaddingY;
|
|
57
|
+
Schmedium: number;
|
|
58
|
+
Medium: number;
|
|
59
|
+
Mlarge: number;
|
|
60
|
+
Large: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
|
|
7
64
|
declare enum Themes {
|
|
8
65
|
Light = "light",
|
|
9
66
|
Dark = "dark",
|
|
@@ -1750,7 +1807,11 @@ declare const baseTheme: {
|
|
|
1750
1807
|
Large: number;
|
|
1751
1808
|
};
|
|
1752
1809
|
};
|
|
1753
|
-
|
|
1810
|
+
badge: {
|
|
1811
|
+
bg: ThemeOrColorKey;
|
|
1812
|
+
};
|
|
1813
|
+
inputBackground: string;
|
|
1814
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
1754
1815
|
bg: string;
|
|
1755
1816
|
smBg: string;
|
|
1756
1817
|
c05Neutral: string;
|
|
@@ -3504,7 +3565,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3504
3565
|
Large: number;
|
|
3505
3566
|
};
|
|
3506
3567
|
};
|
|
3507
|
-
|
|
3568
|
+
badge: {
|
|
3569
|
+
bg: ThemeOrColorKey;
|
|
3570
|
+
};
|
|
3571
|
+
inputBackground: string;
|
|
3572
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
3508
3573
|
bg: string;
|
|
3509
3574
|
smBg: string;
|
|
3510
3575
|
c05Neutral: string;
|
|
@@ -5235,7 +5300,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5235
5300
|
Large: number;
|
|
5236
5301
|
};
|
|
5237
5302
|
};
|
|
5238
|
-
|
|
5303
|
+
badge: {
|
|
5304
|
+
bg: ThemeOrColorKey;
|
|
5305
|
+
};
|
|
5306
|
+
inputBackground: string;
|
|
5307
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
5239
5308
|
bg: string;
|
|
5240
5309
|
smBg: string;
|
|
5241
5310
|
c05Neutral: string;
|
|
@@ -6967,7 +7036,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6967
7036
|
Large: number;
|
|
6968
7037
|
};
|
|
6969
7038
|
};
|
|
6970
|
-
|
|
7039
|
+
badge: {
|
|
7040
|
+
bg: ThemeOrColorKey;
|
|
7041
|
+
};
|
|
7042
|
+
inputBackground: string;
|
|
7043
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
6971
7044
|
bg: string;
|
|
6972
7045
|
smBg: string;
|
|
6973
7046
|
c05Neutral: string;
|
|
@@ -8699,7 +8772,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8699
8772
|
Large: number;
|
|
8700
8773
|
};
|
|
8701
8774
|
};
|
|
8702
|
-
|
|
8775
|
+
badge: {
|
|
8776
|
+
bg: ThemeOrColorKey;
|
|
8777
|
+
};
|
|
8778
|
+
inputBackground: string;
|
|
8779
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
8703
8780
|
bg: string;
|
|
8704
8781
|
smBg: string;
|
|
8705
8782
|
c05Neutral: string;
|
|
@@ -10431,7 +10508,11 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10431
10508
|
Large: number;
|
|
10432
10509
|
};
|
|
10433
10510
|
};
|
|
10434
|
-
|
|
10511
|
+
badge: {
|
|
10512
|
+
bg: ThemeOrColorKey;
|
|
10513
|
+
};
|
|
10514
|
+
inputBackground: string;
|
|
10515
|
+
loading: "Code" | "AI" | "AnchorLink" | "ApiConnection" | "AppIcon" | "ArrowCircle" | "ArrowCircleTier1" | "ArrowCircleTier2" | "ArrowCircleTier3" | "ArrowCornerDownRight" | "ArrowDown" | "ArrowUp" | "ArrowUpRightCircleFill" | "Bank" | "BitcoinB" | "BitcoinBOnRoundedSquare" | "CameraCapture" | "CaretRight" | "CentralArrowShareRight" | "Checkmark" | "CheckmarkCircleGreen" | "CheckmarkCircleTier1" | "CheckmarkCircleTier2" | "CheckmarkCircleTier3" | "Chevron" | "ChevronLeft" | "CircleCheck" | "CircleCheckOutline" | "CirclePlus" | "Clock" | "Close" | "Copy" | "CreditCard" | "DeleteIcon" | "Dollar" | "DollarManrope" | "DollarManropeSmall" | "DotGrid1x3Horizontal" | "Download" | "Envelope" | "ExclamationPoint" | "Explorer" | "Eye" | "EyeDropper" | "Figma" | "FlutterTwoTone" | "FramedLetterI" | "Gear" | "Github" | "GoTwoTone" | "GraphQLTwoTone" | "HeartOutline" | "Home" | "HorizontalArrows" | "Info" | "JavaScriptTwoTone" | "JavaTwoTone" | "KotlinTwoTone" | "LeftArrow" | "LightningOnRoundedSquare" | "LinkIcon" | "LoadingSpinner" | "Lock" | "Logo" | "LogoBolt" | "LogoOnCircle" | "MagicWand" | "Minus" | "Monitor" | "NodeAdd" | "NotEye" | "PaperPlane" | "Pencil" | "Person" | "PersonCircle" | "PiggyBank" | "Plus" | "PythonTwoTone" | "QRCodeIcon" | "QuestionCircle" | "QuestionCircleStrong" | "ReactTwoTone" | "Recycling" | "Remove" | "Restart" | "RightArrow" | "Roadmap" | "RustTwoTone" | "Satoshi" | "SatoshiRounded" | "Search" | "SecurityKey" | "Selector" | "SemiCircleOverlap" | "Share" | "ShieldCheck" | "Sidebar" | "Sort" | "StackedLines" | "SwiftTwoTone" | "TapSingle" | "Team" | "Terminal" | "Trash" | "TwoArrowsDown" | "TwoArrowsUp" | "Uma" | "UmaBridgeLoading" | "Upload" | "WalletSDKIcon" | "WarningSign";
|
|
10435
10516
|
bg: string;
|
|
10436
10517
|
smBg: string;
|
|
10437
10518
|
c05Neutral: string;
|
|
@@ -10479,71 +10560,14 @@ declare const themeOr: (lightValue: string, darkValue: string) => ({ theme }: {
|
|
|
10479
10560
|
}) => string;
|
|
10480
10561
|
declare function ifLight(style: CSSInterpolation): ({ theme }: {
|
|
10481
10562
|
theme: LightsparkTheme;
|
|
10482
|
-
}) => _emotion_react.SerializedStyles
|
|
10563
|
+
}) => "" | _emotion_react.SerializedStyles;
|
|
10483
10564
|
declare function ifDark(style: CSSInterpolation): ({ theme }: {
|
|
10484
10565
|
theme: LightsparkTheme;
|
|
10485
|
-
}) => _emotion_react.SerializedStyles
|
|
10566
|
+
}) => "" | _emotion_react.SerializedStyles;
|
|
10486
10567
|
declare function useThemeBg(): string;
|
|
10487
10568
|
type ThemeProp = {
|
|
10488
10569
|
theme: Theme;
|
|
10489
10570
|
};
|
|
10490
10571
|
type WithTheme<T extends Record<string, unknown>> = T & ThemeProp;
|
|
10491
10572
|
|
|
10492
|
-
|
|
10493
|
-
type PaddingY = number | {
|
|
10494
|
-
[key in PaddingYKey]: number;
|
|
10495
|
-
};
|
|
10496
|
-
declare const buttonBorderRadiuses: readonly [8, 32];
|
|
10497
|
-
type ButtonBorderRadius = (typeof buttonBorderRadiuses)[number];
|
|
10498
|
-
declare const allowedButtonTypographyTypes: readonly ["Body", "Body Strong", "Title", "Label", "Label Moderate", "Label Strong"];
|
|
10499
|
-
type AllowedButtonTypographyTypes = (typeof allowedButtonTypographyTypes)[number];
|
|
10500
|
-
type ButtonTypographyArgs = {
|
|
10501
|
-
type?: AllowedButtonTypographyTypes;
|
|
10502
|
-
color?: ThemeOrColorKey;
|
|
10503
|
-
};
|
|
10504
|
-
declare const buttonsThemeBase: {
|
|
10505
|
-
defaultSize: TokenSizeKey;
|
|
10506
|
-
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10507
|
-
defaultColor: ThemeOrColorKey;
|
|
10508
|
-
defaultBorderRadius: 8 | 32;
|
|
10509
|
-
defaultBorderWidth: number;
|
|
10510
|
-
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
10511
|
-
defaultBorderColor: BackgroundColorKeyArg;
|
|
10512
|
-
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
10513
|
-
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
10514
|
-
defaultOutlineOffset: number;
|
|
10515
|
-
defaultPaddingsY: {
|
|
10516
|
-
ExtraSmall: number;
|
|
10517
|
-
Small: PaddingY;
|
|
10518
|
-
Schmedium: number;
|
|
10519
|
-
Medium: number;
|
|
10520
|
-
Mlarge: number;
|
|
10521
|
-
Large: number;
|
|
10522
|
-
};
|
|
10523
|
-
kinds: {};
|
|
10524
|
-
};
|
|
10525
|
-
type ButtonsThemeKey = keyof typeof buttonsThemeBase;
|
|
10526
|
-
type ButtonKindsProps = Record<string, Partial<typeof buttonsThemeBase>>;
|
|
10527
|
-
declare const defaultButtonsTheme: {
|
|
10528
|
-
kinds: ButtonKindsProps;
|
|
10529
|
-
defaultSize: TokenSizeKey;
|
|
10530
|
-
defaultTypographyType: "Title" | "Body" | "Body Strong" | "Label" | "Label Moderate" | "Label Strong";
|
|
10531
|
-
defaultColor: ThemeOrColorKey;
|
|
10532
|
-
defaultBorderRadius: 8 | 32;
|
|
10533
|
-
defaultBorderWidth: number;
|
|
10534
|
-
defaultBackgroundColor: BackgroundColorKeyArg;
|
|
10535
|
-
defaultBorderColor: BackgroundColorKeyArg;
|
|
10536
|
-
defaultHoverBackgroundColor: BackgroundColorKeyArg;
|
|
10537
|
-
defaultHoverBorderColor: BackgroundColorKeyArg;
|
|
10538
|
-
defaultOutlineOffset: number;
|
|
10539
|
-
defaultPaddingsY: {
|
|
10540
|
-
ExtraSmall: number;
|
|
10541
|
-
Small: PaddingY;
|
|
10542
|
-
Schmedium: number;
|
|
10543
|
-
Medium: number;
|
|
10544
|
-
Mlarge: number;
|
|
10545
|
-
Large: number;
|
|
10546
|
-
};
|
|
10547
|
-
};
|
|
10548
|
-
|
|
10549
|
-
export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, defaultButtonsTheme as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, Themes as c, themes as d, isThemeOrColorKey as e, getFontColor as f, getColor as g, BackgroundColorKey as h, isThemeColorKey as i, BackgroundColorKeyArg as j, isBackgroundColorKey as k, isBackgroundColorKeyTuple as l, getBackgroundColor as m, isDark as n, isLight as o, themeOr as p, ifLight as q, ifDark as r, setFonts as s, themeOrColorKeyValues as t, useThemeBg as u, PaddingY as v, buttonBorderRadiuses as w, allowedButtonTypographyTypes as x, buttonsThemeBase as y, ButtonsThemeKey as z };
|
|
10573
|
+
export { AllowedButtonTypographyTypes as A, ButtonTypographyArgs as B, useThemeBg as C, FontColorKey as F, LightsparkTheme as L, PaddingYKey as P, SurfaceThemeColorKey as S, ThemeOrColorKey as T, WithTheme as W, ButtonBorderRadius as a, ThemeProp as b, PaddingY as c, buttonBorderRadiuses as d, allowedButtonTypographyTypes as e, buttonsThemeBase as f, ButtonsThemeKey as g, defaultButtonsTheme as h, Themes as i, themes as j, isThemeColorKey as k, isThemeOrColorKey as l, getColor as m, getFontColor as n, BackgroundColorKey as o, BackgroundColorKeyArg as p, isBackgroundColorKey as q, isBackgroundColorKeyTuple as r, setFonts as s, themeOrColorKeyValues as t, getBackgroundColor as u, isDark as v, isLight as w, themeOr as x, ifLight as y, ifDark as z };
|