@lightsparkdev/ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{buttons-e4eb84a2.d.ts → buttons-35280bfe.d.ts} +7 -0
- package/dist/{buttons-b7f56076.d.ts → buttons-36cdd0fe.d.ts} +7 -0
- package/dist/{chunk-GNVEN6UE.js → chunk-2AGBCGOW.js} +2 -2
- package/dist/{chunk-HZ63YB4Y.js → chunk-2XUHQWCJ.js} +3 -3
- package/dist/{chunk-CMQELZES.js → chunk-35PJW7RT.js} +2 -2
- package/dist/{chunk-37RRWSDE.js → chunk-435FPPZK.js} +2 -2
- package/dist/{chunk-55M7XHBZ.js → chunk-4BFBANKF.js} +8 -8
- package/dist/{chunk-VUXU77SU.js → chunk-4C2TISN7.js} +1 -1
- package/dist/{chunk-ZNZAY47J.js → chunk-4JHXRPRB.js} +3 -3
- package/dist/{chunk-XUVCOSIE.js → chunk-54EOEIEN.js} +2 -2
- package/dist/{chunk-BMSSV6NX.js → chunk-5TTLUOJ5.js} +1 -1
- package/dist/{chunk-S6AOKANU.js → chunk-6CNJ5ZCC.js} +4 -4
- package/dist/{chunk-2H7TBKII.js → chunk-7FHOKVKJ.js} +6 -6
- package/dist/{chunk-VYTN6ASZ.js → chunk-7IHNYMFQ.js} +2 -2
- package/dist/{chunk-F6EVBEMN.js → chunk-7N2PFDYE.js} +2 -2
- package/dist/{chunk-KFX7US6Y.js → chunk-7WDAN3OC.js} +1 -1
- package/dist/{chunk-XP3BAAUO.js → chunk-7YY6BH5O.js} +2 -2
- package/dist/{chunk-56QJRFP2.js → chunk-B6S7Y4K7.js} +2 -2
- package/dist/{chunk-SKXCT2FQ.js → chunk-BDZ46Z2I.js} +2 -2
- package/dist/{chunk-EMXTALIX.js → chunk-BENSR2YW.js} +1 -1
- package/dist/{chunk-5H32AOXL.js → chunk-BHP5YL2N.js} +1 -1
- package/dist/{chunk-2XRCGW74.js → chunk-BSH6WRUZ.js} +3 -3
- package/dist/{chunk-WV5AB4ZB.js → chunk-C4KZC45Y.js} +67 -33
- package/dist/{chunk-PNSZAJL7.js → chunk-CRTTTIAD.js} +2 -2
- package/dist/{chunk-CHK5DOMV.js → chunk-DXA3WUSX.js} +2 -2
- package/dist/{chunk-CZQER3QD.js → chunk-E4DUADXU.js} +1 -1
- package/dist/{chunk-CZCPVHVB.js → chunk-GSKTHUQJ.js} +2 -2
- package/dist/{chunk-TM3C4LEG.js → chunk-GWHKALYQ.js} +2 -2
- package/dist/{chunk-5XZJEYHG.js → chunk-HGOGF6I7.js} +1 -1
- package/dist/{chunk-KBYU4ZQ3.js → chunk-I3FI3FNP.js} +3 -3
- package/dist/{chunk-A4JZESAS.js → chunk-IBZBPQMZ.js} +7 -3
- package/dist/{chunk-DNVKN2FG.js → chunk-ILEZ6AWT.js} +3 -3
- package/dist/{chunk-TVLELY54.js → chunk-J3YVJWRG.js} +4 -4
- package/dist/{chunk-467PLJO3.js → chunk-JNNJVBHF.js} +51 -6
- package/dist/{chunk-J7SV67XL.js → chunk-K7FYXGOI.js} +1 -1
- package/dist/{chunk-2JYYREVX.js → chunk-KX5QZXCD.js} +1 -1
- package/dist/{chunk-NYQLPSG3.js → chunk-LGKXPUSI.js} +2 -2
- package/dist/{chunk-AI6DCUWK.js → chunk-LH7GLNMY.js} +1 -1
- package/dist/{chunk-UVGBD7XM.js → chunk-LIQSJ5R7.js} +2 -2
- package/dist/{chunk-W3BAJ3HT.js → chunk-LOL5TJ3H.js} +10 -10
- package/dist/{chunk-6JFJDBV2.js → chunk-LTCJ6LNO.js} +1 -1
- package/dist/{chunk-HRZNVE2K.js → chunk-MRGHRTKA.js} +2 -2
- package/dist/{chunk-HA4AQO3T.js → chunk-MWDDIXIP.js} +1 -1
- package/dist/{chunk-JOQCJPOA.js → chunk-N2NPIZCV.js} +9 -9
- package/dist/{chunk-TM2NGRD2.js → chunk-OKXC33OU.js} +1 -1
- package/dist/{chunk-7NPHOJXD.js → chunk-PG2W2HVB.js} +5 -5
- package/dist/{chunk-SRHSJOES.js → chunk-PQKVR2BR.js} +1 -1
- package/dist/{chunk-YRYVSAWS.js → chunk-QQSV7XJX.js} +1 -1
- package/dist/{chunk-27SFWLPS.js → chunk-RPNTFEXE.js} +1 -1
- package/dist/{chunk-RSAYBOK5.js → chunk-SEZEDINC.js} +3 -3
- package/dist/{chunk-EV6PGQPM.js → chunk-SLKPLSJU.js} +9 -9
- package/dist/{chunk-L6S22JUU.js → chunk-SNFRMD6Z.js} +3 -3
- package/dist/{chunk-OA3BZAST.js → chunk-UH5F35II.js} +3 -3
- package/dist/{chunk-DCFB5MJ7.js → chunk-VXKNN4SF.js} +10 -10
- package/dist/{chunk-UBYBILLK.js → chunk-WGKUDRZ7.js} +2 -2
- package/dist/{chunk-HP4VPMN7.js → chunk-WTMJTGW4.js} +2 -2
- package/dist/{chunk-SGSLTG65.js → chunk-X4TGLNCH.js} +3 -3
- package/dist/{chunk-35WJ3PKH.js → chunk-XB4KQFK2.js} +2 -2
- package/dist/{chunk-6H7PZJ2A.js → chunk-XDP7GCYE.js} +2 -1
- package/dist/{chunk-GGEAODIA.js → chunk-XM2HQVUK.js} +4 -4
- package/dist/{chunk-LL5YLPNM.js → chunk-Y7RQUJUS.js} +5 -5
- package/dist/{chunk-D73OOC3E.js → chunk-YIHC25WB.js} +3 -3
- package/dist/{chunk-UNULJ3P6.js → chunk-YRNEIRHM.js} +4 -4
- package/dist/components/Badge.cjs +9 -4
- package/dist/components/Badge.js +19 -19
- package/dist/components/Banner/Banner.cjs +9 -4
- 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 +14 -8
- 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 +14 -8
- 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 +7 -3
- package/dist/components/CardPage.js +24 -24
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CodeBlock.cjs +12 -7
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +8 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +8 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +8 -4
- package/dist/components/Collapsible.js +5 -5
- package/dist/components/CommaNumberInput.cjs +13 -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 +8 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +12 -7
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +8 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +185 -143
- package/dist/components/Drawer.d.cts +2 -0
- package/dist/components/Drawer.d.ts +2 -0
- package/dist/components/Drawer.js +21 -21
- package/dist/components/Dropdown.cjs +12 -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 +8 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +8 -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 +8 -4
- package/dist/components/IconWithCircleBackground.js +59 -59
- package/dist/components/InfoIconTooltip.cjs +13 -7
- 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 +7 -3
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +8 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +111 -36
- package/dist/components/Modal.d.cts +14 -8
- package/dist/components/Modal.d.ts +14 -8
- package/dist/components/Modal.js +59 -59
- package/dist/components/PageSection/PageSection.cjs +13 -7
- package/dist/components/PageSection/PageSection.d.cts +1 -1
- package/dist/components/PageSection/PageSection.d.ts +1 -1
- package/dist/components/PageSection/PageSection.js +29 -29
- package/dist/components/PageSection/PageSectionNav.cjs +9 -4
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +13 -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 +8 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +7 -3
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +9 -4
- package/dist/components/Radio.js +19 -19
- package/dist/components/SecretContainer.cjs +12 -7
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +9 -4
- 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 +9 -4
- package/dist/components/TextIconAligner.d.cts +1 -1
- package/dist/components/TextIconAligner.d.ts +1 -1
- package/dist/components/TextIconAligner.js +17 -17
- package/dist/components/TextInput.cjs +13 -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 +9 -4
- 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 +7 -3
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +11 -6
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +8 -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 +7 -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 +7 -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 +7 -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 +8 -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 +112 -37
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +59 -59
- package/dist/components/typography/Article.cjs +7 -3
- package/dist/components/typography/Article.js +13 -13
- package/dist/components/typography/Body.cjs +9 -4
- package/dist/components/typography/Body.d.cts +1 -1
- package/dist/components/typography/Body.d.ts +1 -1
- package/dist/components/typography/Body.js +6 -6
- package/dist/components/typography/BodyStrong.cjs +9 -4
- package/dist/components/typography/BodyStrong.d.cts +1 -1
- package/dist/components/typography/BodyStrong.d.ts +1 -1
- package/dist/components/typography/BodyStrong.js +6 -6
- package/dist/components/typography/Code.cjs +9 -4
- package/dist/components/typography/Code.d.cts +1 -1
- package/dist/components/typography/Code.d.ts +1 -1
- package/dist/components/typography/Code.js +6 -6
- package/dist/components/typography/Display.cjs +9 -4
- package/dist/components/typography/Display.d.cts +1 -1
- package/dist/components/typography/Display.d.ts +1 -1
- package/dist/components/typography/Display.js +6 -6
- package/dist/components/typography/Headline.cjs +9 -4
- package/dist/components/typography/Headline.d.cts +1 -1
- package/dist/components/typography/Headline.d.ts +1 -1
- package/dist/components/typography/Headline.js +6 -6
- package/dist/components/typography/Label.cjs +9 -4
- package/dist/components/typography/Label.d.cts +1 -1
- package/dist/components/typography/Label.d.ts +1 -1
- package/dist/components/typography/Label.js +6 -6
- package/dist/components/typography/LabelModerate.cjs +9 -4
- package/dist/components/typography/LabelModerate.d.cts +1 -1
- package/dist/components/typography/LabelModerate.d.ts +1 -1
- package/dist/components/typography/LabelModerate.js +6 -6
- package/dist/components/typography/LabelStrong.cjs +9 -4
- package/dist/components/typography/LabelStrong.d.cts +1 -1
- package/dist/components/typography/LabelStrong.d.ts +1 -1
- package/dist/components/typography/LabelStrong.js +6 -6
- package/dist/components/typography/Overline.cjs +9 -4
- package/dist/components/typography/Overline.d.cts +1 -1
- package/dist/components/typography/Overline.d.ts +1 -1
- package/dist/components/typography/Overline.js +6 -6
- package/dist/components/typography/Title.cjs +9 -4
- package/dist/components/typography/Title.d.cts +1 -1
- package/dist/components/typography/Title.d.ts +1 -1
- package/dist/components/typography/Title.js +6 -6
- package/dist/components/typography/index.cjs +9 -4
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/components/typography/index.js +18 -18
- package/dist/components/typography/renderTypography.cjs +9 -4
- package/dist/components/typography/renderTypography.d.cts +1 -1
- package/dist/components/typography/renderTypography.d.ts +1 -1
- 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 +11 -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 +8 -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 +7 -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 +7 -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/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 +7 -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/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.cjs +9 -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 +9 -4
- package/dist/utils/toReactNodes.d.cts +1 -1
- package/dist/utils/toReactNodes.d.ts +1 -1
- package/dist/utils/toReactNodes.js +17 -17
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XDP7GCYE.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4C2TISN7.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Headline.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4TGLNCH.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PG2W2HVB.js";
|
|
7
7
|
|
|
8
8
|
// src/components/SecretContainer.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XDP7GCYE.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4C2TISN7.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/LabelStrong.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XDP7GCYE.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4C2TISN7.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Body.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-VI6WTKMV.js";
|
|
11
11
|
import {
|
|
12
12
|
rootFontSizePx
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PG2W2HVB.js";
|
|
14
14
|
import {
|
|
15
15
|
getFontColor
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
17
17
|
|
|
18
18
|
// src/components/Icon/Icon.tsx
|
|
19
19
|
import styled from "@emotion/styled";
|
|
@@ -63,7 +63,7 @@ var IconContainer = styled.span`
|
|
|
63
63
|
${({ theme, fontColor }) => {
|
|
64
64
|
const color = getFontColor(theme, fontColor, "inherit");
|
|
65
65
|
return `
|
|
66
|
-
|
|
66
|
+
svg, path {
|
|
67
67
|
color: ${getFontColor(theme, fontColor, "inherit")};
|
|
68
68
|
|
|
69
69
|
/*
|
|
@@ -61,7 +61,8 @@ var baseThemeColors = {
|
|
|
61
61
|
success: colors.success,
|
|
62
62
|
text: colors.black,
|
|
63
63
|
vlcNeutral: colors.gray95,
|
|
64
|
-
warning: colors.warning
|
|
64
|
+
warning: colors.warning,
|
|
65
|
+
inputBackground: colors.white
|
|
65
66
|
};
|
|
66
67
|
var themeOrColorKeyValues = [
|
|
67
68
|
...Object.keys(baseThemeColors),
|
|
@@ -109,7 +110,8 @@ var darkBaseTheme = {
|
|
|
109
110
|
vlcNeutral: colors.gray20,
|
|
110
111
|
warning: colors.warning,
|
|
111
112
|
buttons: defaultButtonsTheme,
|
|
112
|
-
loading: "LoadingSpinner"
|
|
113
|
+
loading: "LoadingSpinner",
|
|
114
|
+
inputBackground: colors.black
|
|
113
115
|
};
|
|
114
116
|
var lightTheme = extend(lightBaseTheme, {
|
|
115
117
|
header: extendBase(lightBaseTheme, {
|
|
@@ -148,6 +150,7 @@ var umameDocsLightTheme = extend(lightTheme, {
|
|
|
148
150
|
secondary: colors.grayBlue43,
|
|
149
151
|
text: colors.grayBlue9,
|
|
150
152
|
link: colors.blue39,
|
|
153
|
+
inputBackground: colors.white,
|
|
151
154
|
typography: getTypography("UmameDocs" /* UmameDocs */, {
|
|
152
155
|
main: "Manrope",
|
|
153
156
|
code: "Monaco"
|
|
@@ -232,7 +235,8 @@ var bridgeLightTheme = extend(lightTheme, __spreadProps(__spreadValues({}, bridg
|
|
|
232
235
|
bg: colors.gray98,
|
|
233
236
|
smBg: colors.gray98,
|
|
234
237
|
text: colors.grayBlue9,
|
|
235
|
-
secondary: colors.grayBlue43
|
|
238
|
+
secondary: colors.grayBlue43,
|
|
239
|
+
inputBackground: colors.white
|
|
236
240
|
}));
|
|
237
241
|
var bridgeDarkTheme = extend(darkTheme, __spreadProps(__spreadValues({}, bridgeBaseSettings), {
|
|
238
242
|
type: "bridgeDark" /* BridgeDark */
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-E3FGOYEJ.js";
|
|
7
7
|
import {
|
|
8
8
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
10
10
|
import {
|
|
11
11
|
Link
|
|
12
12
|
} from "./chunk-AAFUVYVP.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-55OQPFLF.js";
|
|
16
16
|
import {
|
|
17
17
|
Icon
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I3FI3FNP.js";
|
|
19
19
|
import {
|
|
20
20
|
getColor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
22
22
|
import {
|
|
23
23
|
bp
|
|
24
24
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Loading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5TTLUOJ5.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
7
7
|
import {
|
|
8
8
|
flexCenter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7WDAN3OC.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I3FI3FNP.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
15
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SLKPLSJU.js";
|
|
4
|
+
import {
|
|
5
|
+
UnstyledButton
|
|
6
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
4
7
|
import {
|
|
5
8
|
z
|
|
6
9
|
} from "./chunk-55OQPFLF.js";
|
|
10
|
+
import {
|
|
11
|
+
Icon
|
|
12
|
+
} from "./chunk-I3FI3FNP.js";
|
|
13
|
+
import {
|
|
14
|
+
standardFocusOutline
|
|
15
|
+
} from "./chunk-PG2W2HVB.js";
|
|
7
16
|
import {
|
|
8
17
|
colors
|
|
9
18
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -20,6 +29,9 @@ var Drawer = (props) => {
|
|
|
20
29
|
const [grabbing, setGrabbing] = useState(false);
|
|
21
30
|
const drawerContainerRef = useRef(null);
|
|
22
31
|
const handleClose = () => {
|
|
32
|
+
if (props.nonDismissable) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
23
35
|
setIsOpen(false);
|
|
24
36
|
setTimeout(() => {
|
|
25
37
|
props.onClose && props.onClose();
|
|
@@ -29,6 +41,9 @@ var Drawer = (props) => {
|
|
|
29
41
|
};
|
|
30
42
|
const handleTouchMove = (event) => {
|
|
31
43
|
var _a, _b;
|
|
44
|
+
if (props.nonDismissable) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
32
47
|
if (lastY === null) {
|
|
33
48
|
setLastY(event.touches[0].clientY);
|
|
34
49
|
} else {
|
|
@@ -45,9 +60,15 @@ var Drawer = (props) => {
|
|
|
45
60
|
}
|
|
46
61
|
};
|
|
47
62
|
const handleTouchStart = () => {
|
|
63
|
+
if (props.nonDismissable) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
48
66
|
setGrabbing(true);
|
|
49
67
|
};
|
|
50
68
|
const handleTouchEnd = () => {
|
|
69
|
+
if (props.nonDismissable) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
51
72
|
setGrabbing(false);
|
|
52
73
|
if (fractionVisible < 0.8) {
|
|
53
74
|
handleClose();
|
|
@@ -75,16 +96,17 @@ var Drawer = (props) => {
|
|
|
75
96
|
grabbing,
|
|
76
97
|
ref: drawerContainerRef,
|
|
77
98
|
children: [
|
|
78
|
-
props.grabber && /* @__PURE__ */ jsx(Grabber, { onClick: handleClose, children: /* @__PURE__ */ jsx(GrabberBar, {}) }),
|
|
79
|
-
props.
|
|
99
|
+
props.grabber && !props.nonDismissable && /* @__PURE__ */ jsx(Grabber, { onClick: handleClose, children: /* @__PURE__ */ jsx(GrabberBar, {}) }),
|
|
100
|
+
props.handleBack && /* @__PURE__ */ jsx(BackButtonContainer, { children: /* @__PURE__ */ jsx(
|
|
80
101
|
Button,
|
|
81
102
|
{
|
|
82
|
-
onClick:
|
|
83
|
-
icon: "
|
|
103
|
+
onClick: props.handleBack,
|
|
104
|
+
icon: "ChevronLeft",
|
|
84
105
|
kind: "ghost",
|
|
85
|
-
size: "
|
|
106
|
+
size: "Small"
|
|
86
107
|
}
|
|
87
108
|
) }),
|
|
109
|
+
props.closeButton && !props.nonDismissable && /* @__PURE__ */ jsx(CloseButtonContainer, { children: /* @__PURE__ */ jsx(CloseButton, { onClick: handleClose, type: "button", children: /* @__PURE__ */ jsx(Icon, { name: "Close", width: 12 }) }) }),
|
|
88
110
|
props.children
|
|
89
111
|
]
|
|
90
112
|
}
|
|
@@ -117,6 +139,7 @@ var Background = styled.div`
|
|
|
117
139
|
`;
|
|
118
140
|
var DrawerContainer = styled.div`
|
|
119
141
|
position: fixed;
|
|
142
|
+
max-height: 100dvh;
|
|
120
143
|
width: 100%;
|
|
121
144
|
background-color: ${({ theme }) => theme.bg};
|
|
122
145
|
right: 0;
|
|
@@ -127,6 +150,7 @@ var DrawerContainer = styled.div`
|
|
|
127
150
|
display: flex;
|
|
128
151
|
flex-direction: column;
|
|
129
152
|
padding: ${"72px" /* 6xl */} ${"32px" /* xl */} ${"40px" /* 2xl */} ${"32px" /* xl */};
|
|
153
|
+
overflow-y: scroll;
|
|
130
154
|
|
|
131
155
|
// Only smooth transition when not grabbing, otherwise dragging will feel very laggy
|
|
132
156
|
${(props) => props.grabbing && props.isOpen ? "" : "transition: transform 0.3s ease-in-out;"};
|
|
@@ -173,11 +197,32 @@ var CloseButtonContainer = styled.div`
|
|
|
173
197
|
border-radius: 50%;
|
|
174
198
|
background-color: ${colors.grayBlue94};
|
|
175
199
|
padding: ${"8px" /* xs */};
|
|
200
|
+
height: 30px;
|
|
201
|
+
width: 30px;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
176
204
|
|
|
177
205
|
* > * {
|
|
178
206
|
line-height: 14px;
|
|
179
207
|
}
|
|
180
208
|
`;
|
|
209
|
+
var CloseButton = styled(UnstyledButton)`
|
|
210
|
+
${standardFocusOutline}
|
|
211
|
+
width: 24px;
|
|
212
|
+
height: 24px;
|
|
213
|
+
justify-self: flex-end;
|
|
214
|
+
`;
|
|
215
|
+
var BackButtonContainer = styled.div`
|
|
216
|
+
position: absolute;
|
|
217
|
+
top: 20px;
|
|
218
|
+
left: 20px;
|
|
219
|
+
border-radius: 50%;
|
|
220
|
+
padding: ${"8px" /* xs */};
|
|
221
|
+
height: 30px;
|
|
222
|
+
width: 30px;
|
|
223
|
+
display: flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
`;
|
|
181
226
|
var GrabberBar = styled.div`
|
|
182
227
|
width: 36px;
|
|
183
228
|
height: 5px;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2XUHQWCJ.js";
|
|
7
7
|
import {
|
|
8
8
|
IconContainer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3FI3FNP.js";
|
|
10
10
|
import {
|
|
11
11
|
bp
|
|
12
12
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXKNN4SF.js";
|
|
4
4
|
import {
|
|
5
5
|
isExternalLinkNode,
|
|
6
6
|
isIconNode,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isNextLinkNode,
|
|
9
9
|
isTextNode,
|
|
10
10
|
toNonTypographicReactNodes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XDP7GCYE.js";
|
|
12
12
|
import {
|
|
13
13
|
__spreadProps,
|
|
14
14
|
__spreadValues
|
|
@@ -3,40 +3,40 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2XUHQWCJ.js";
|
|
7
7
|
import {
|
|
8
8
|
toReactNodes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
10
10
|
import {
|
|
11
11
|
Dropdown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XM2HQVUK.js";
|
|
13
13
|
import {
|
|
14
14
|
standardBorderColor
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6CNJ5ZCC.js";
|
|
16
16
|
import {
|
|
17
17
|
Badge,
|
|
18
18
|
badgeVPadding
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SEZEDINC.js";
|
|
20
20
|
import {
|
|
21
21
|
Heading,
|
|
22
22
|
headingWithDefaults
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BHP5YL2N.js";
|
|
24
24
|
import {
|
|
25
25
|
Loading
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5TTLUOJ5.js";
|
|
27
27
|
import {
|
|
28
28
|
select
|
|
29
29
|
} from "./chunk-YMNSXZ5D.js";
|
|
30
30
|
import {
|
|
31
31
|
UnstyledButton
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
33
33
|
import {
|
|
34
34
|
Icon
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-I3FI3FNP.js";
|
|
36
36
|
import {
|
|
37
37
|
standardBorderRadius,
|
|
38
38
|
standardLineHeightEms
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PG2W2HVB.js";
|
|
40
40
|
import {
|
|
41
41
|
bp
|
|
42
42
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XDP7GCYE.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4C2TISN7.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Display.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToggleContainer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNFRMD6Z.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
defaultTextInputTypography,
|
|
7
7
|
inputSpacingPx,
|
|
8
8
|
textInputPlaceholderColor,
|
|
9
9
|
textInputStyle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6CNJ5ZCC.js";
|
|
11
11
|
import {
|
|
12
12
|
applyTypography
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4C2TISN7.js";
|
|
14
14
|
import {
|
|
15
15
|
CheckboxContainer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E4DUADXU.js";
|
|
17
17
|
import {
|
|
18
18
|
Tooltip
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RPNTFEXE.js";
|
|
20
20
|
import {
|
|
21
21
|
UnstyledButton
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
23
23
|
import {
|
|
24
24
|
z
|
|
25
25
|
} from "./chunk-55OQPFLF.js";
|
|
26
26
|
import {
|
|
27
27
|
Icon,
|
|
28
28
|
IconContainer
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-I3FI3FNP.js";
|
|
30
30
|
import {
|
|
31
31
|
standardBorderRadius
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PG2W2HVB.js";
|
|
33
33
|
import {
|
|
34
34
|
getFontColor
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
36
36
|
import {
|
|
37
37
|
__spreadValues
|
|
38
38
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
themeOr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
4
4
|
import {
|
|
5
5
|
bp
|
|
6
6
|
} from "./chunk-JSGRNWSB.js";
|
|
7
7
|
import {
|
|
8
|
-
colors,
|
|
9
8
|
darkGradient
|
|
10
9
|
} from "./chunk-XUWFUTR4.js";
|
|
11
10
|
|
|
@@ -121,11 +120,12 @@ var overlaySurfaceBorderColor = ({
|
|
|
121
120
|
`;
|
|
122
121
|
var overlaySurface = ({
|
|
123
122
|
theme,
|
|
124
|
-
important = false
|
|
123
|
+
important = false,
|
|
124
|
+
border = true
|
|
125
125
|
}) => css`
|
|
126
|
-
background-color: ${themeOr(
|
|
126
|
+
background-color: ${themeOr(theme.bg, theme.c1Neutral)({ theme })}
|
|
127
127
|
${important ? "!important" : ""};
|
|
128
|
-
border: 0.5px solid ${important ? "!important" : ""}
|
|
128
|
+
${border ? `border: 0.5px solid ${important ? "!important" : ""};` : ""}
|
|
129
129
|
${overlaySurfaceBorderColor({ theme, important })};
|
|
130
130
|
${themeOr(
|
|
131
131
|
`box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08), 0px 1px 4px rgba(0, 0, 0, 0.1) ${important ? "!important" : ""};`,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LabelModerate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B6S7Y4K7.js";
|
|
4
4
|
import {
|
|
5
5
|
standardBorderRadius
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PG2W2HVB.js";
|
|
7
7
|
import {
|
|
8
8
|
getColor,
|
|
9
9
|
isLight
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
11
11
|
|
|
12
12
|
// src/components/Badge.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXKNN4SF.js";
|
|
4
4
|
import {
|
|
5
5
|
Loading
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5TTLUOJ5.js";
|
|
7
7
|
import {
|
|
8
8
|
select
|
|
9
9
|
} from "./chunk-YMNSXZ5D.js";
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
} from "./chunk-AAFUVYVP.js";
|
|
13
13
|
import {
|
|
14
14
|
applyTypography
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4C2TISN7.js";
|
|
16
16
|
import {
|
|
17
17
|
Tooltip
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RPNTFEXE.js";
|
|
19
19
|
import {
|
|
20
20
|
UnstyledButton
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
22
22
|
import {
|
|
23
23
|
Icon
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-I3FI3FNP.js";
|
|
25
25
|
import {
|
|
26
26
|
getFocusOutline
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PG2W2HVB.js";
|
|
28
28
|
import {
|
|
29
29
|
getBackgroundColor,
|
|
30
30
|
isThemeOrColorKey
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
32
32
|
import {
|
|
33
33
|
TokenSize
|
|
34
34
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -76,7 +76,7 @@ function getPaddingX(size, kind, isRound) {
|
|
|
76
76
|
function getPadding({ paddingY, kind, size, iconSide, isRound }) {
|
|
77
77
|
const paddingX = getPaddingX(size, kind, isRound);
|
|
78
78
|
const paddingForIcon = 0;
|
|
79
|
-
return `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
|
|
79
|
+
return kind === "ghost" ? 0 : `${paddingY}px ${paddingX + (iconSide === "right" ? paddingForIcon : 0)}px ${paddingY}px ${paddingX + (iconSide === "left" ? paddingForIcon : 0)}px`;
|
|
80
80
|
}
|
|
81
81
|
function resolveBackgroundColorKey(theme, kind, defaultKey) {
|
|
82
82
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
4
4
|
import {
|
|
5
5
|
standardLineHeightEms
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PG2W2HVB.js";
|
|
7
7
|
import {
|
|
8
8
|
themeOr
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
10
10
|
import {
|
|
11
11
|
colors
|
|
12
12
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RPNTFEXE.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3FI3FNP.js";
|
|
10
10
|
|
|
11
11
|
// src/components/InfoIconTooltip.tsx
|
|
12
12
|
import { Fragment } from "react";
|