@lightsparkdev/ui 1.0.3 → 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 +6 -0
- package/dist/{chunk-X4TGLNCH.js → chunk-242JGEN4.js} +3 -3
- package/dist/{chunk-7N2PFDYE.js → chunk-2P6TCMZN.js} +2 -2
- package/dist/{chunk-K7FYXGOI.js → chunk-3R5KJDSL.js} +1 -1
- package/dist/{chunk-SNFRMD6Z.js → chunk-4BERRPJN.js} +3 -3
- package/dist/{chunk-LH7GLNMY.js → chunk-4KURUJD2.js} +1 -1
- package/dist/{chunk-XDP7GCYE.js → chunk-4X67A2CS.js} +1 -1
- package/dist/{chunk-QQSV7XJX.js → chunk-5F7IOIWL.js} +1 -1
- package/dist/{chunk-BENSR2YW.js → chunk-5ON3ICVC.js} +1 -1
- package/dist/{chunk-XB4KQFK2.js → chunk-642OXLAD.js} +2 -2
- package/dist/{chunk-BDZ46Z2I.js → chunk-7BSME2ZU.js} +2 -2
- package/dist/{chunk-2AGBCGOW.js → chunk-7COKMITX.js} +2 -2
- package/dist/{chunk-Y7RQUJUS.js → chunk-7OJQZEVL.js} +5 -5
- package/dist/{chunk-XM2HQVUK.js → chunk-7RLDCOUT.js} +4 -4
- package/dist/{chunk-6CNJ5ZCC.js → chunk-7RMHMFS2.js} +3 -3
- package/dist/{chunk-35PJW7RT.js → chunk-AZOVE32P.js} +2 -2
- package/dist/{chunk-BHP5YL2N.js → chunk-BAGRU7JE.js} +1 -1
- package/dist/{chunk-KX5QZXCD.js → chunk-BPGBJRZE.js} +1 -1
- package/dist/{chunk-YRNEIRHM.js → chunk-BRRDPQWW.js} +4 -4
- package/dist/{chunk-LOL5TJ3H.js → chunk-C3YODRA3.js} +15 -15
- package/dist/{chunk-2XUHQWCJ.js → chunk-C4HNAZFZ.js} +3 -3
- package/dist/{chunk-PG2W2HVB.js → chunk-CZFFMEAS.js} +1 -1
- package/dist/{chunk-MRGHRTKA.js → chunk-DIKOS5R6.js} +2 -2
- package/dist/{chunk-5TTLUOJ5.js → chunk-DNGAINGL.js} +1 -1
- package/dist/{chunk-J3YVJWRG.js → chunk-DWUP3RDU.js} +4 -4
- package/dist/chunk-E5DUKMCU.js +65 -0
- package/dist/chunk-EIFK352Q.js +27 -0
- package/dist/{chunk-UH5F35II.js → chunk-GLEAWATH.js} +3 -3
- package/dist/{chunk-7WDAN3OC.js → chunk-GQVNE3NU.js} +1 -1
- package/dist/{chunk-WGKUDRZ7.js → chunk-HPZVUEDJ.js} +2 -2
- package/dist/{chunk-GWHKALYQ.js → chunk-HVDX4OZJ.js} +2 -2
- package/dist/{chunk-LTCJ6LNO.js → chunk-JAPRGAB7.js} +1 -1
- package/dist/{chunk-JNNJVBHF.js → chunk-JH53NBOD.js} +13 -9
- package/dist/{chunk-BSH6WRUZ.js → chunk-KBLCFXNL.js} +3 -3
- package/dist/{chunk-LGKXPUSI.js → chunk-KJHREJHT.js} +2 -2
- package/dist/{chunk-E4DUADXU.js → chunk-LFD2KVAB.js} +1 -1
- package/dist/{chunk-VXKNN4SF.js → chunk-LGXMGWLV.js} +17 -16
- package/dist/{chunk-435FPPZK.js → chunk-LLGN3OM3.js} +2 -2
- package/dist/{chunk-MWDDIXIP.js → chunk-MK2JFFUG.js} +1 -1
- package/dist/{chunk-SLKPLSJU.js → chunk-MNMVZI7D.js} +10 -10
- package/dist/{chunk-WTMJTGW4.js → chunk-OMY3WTAU.js} +2 -2
- package/dist/{chunk-4C2TISN7.js → chunk-OUHQXQOJ.js} +1 -1
- package/dist/{chunk-CRTTTIAD.js → chunk-OZQ5WPLN.js} +2 -2
- package/dist/{chunk-7FHOKVKJ.js → chunk-PDQVYUEW.js} +6 -6
- package/dist/{chunk-ILEZ6AWT.js → chunk-QCHEDM2I.js} +3 -3
- package/dist/{chunk-DXA3WUSX.js → chunk-RESJONBZ.js} +2 -2
- package/dist/{chunk-7YY6BH5O.js → chunk-SZ4KKLYJ.js} +2 -2
- package/dist/{chunk-7IHNYMFQ.js → chunk-THTKSZSR.js} +2 -2
- package/dist/{chunk-I3FI3FNP.js → chunk-TNDSUTUN.js} +2 -2
- package/dist/{chunk-PQKVR2BR.js → chunk-TNISOOCF.js} +1 -1
- package/dist/{chunk-4BFBANKF.js → chunk-UNFCVZ32.js} +36 -33
- package/dist/{chunk-B6S7Y4K7.js → chunk-V523QTZQ.js} +2 -2
- package/dist/{chunk-IBZBPQMZ.js → chunk-VNQE6KEX.js} +13 -4
- package/dist/{chunk-HGOGF6I7.js → chunk-VR2GLRXH.js} +1 -1
- package/dist/chunk-VWD7T5MQ.js +74 -0
- package/dist/{chunk-54EOEIEN.js → chunk-VXH6GWGE.js} +2 -2
- package/dist/{chunk-4JHXRPRB.js → chunk-W2N5QUG6.js} +9 -6
- package/dist/{chunk-YIHC25WB.js → chunk-WDJMAZFO.js} +3 -3
- package/dist/{chunk-C4KZC45Y.js → chunk-XS4MH3QA.js} +54 -71
- package/dist/{chunk-OKXC33OU.js → chunk-YRFCWL73.js} +5 -2
- package/dist/{chunk-GSKTHUQJ.js → chunk-YRZ3VNBI.js} +2 -2
- package/dist/{chunk-N2NPIZCV.js → chunk-ZCXGHQQF.js} +9 -9
- package/dist/{chunk-LIQSJ5R7.js → chunk-ZO35RX7V.js} +21 -13
- package/dist/{chunk-RPNTFEXE.js → chunk-ZS7G6WIG.js} +1 -1
- package/dist/components/Badge.cjs +7781 -7417
- 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 +50 -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 +36 -24
- 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 +39 -27
- 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 +13 -4
- 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 +13 -4
- package/dist/components/CodeBlock.js +8 -8
- package/dist/components/CodeInput/CodeInput.cjs +13 -4
- package/dist/components/CodeInput/CodeInput.js +6 -6
- package/dist/components/CodeInput/SingleCodeInput.cjs +13 -4
- package/dist/components/CodeInput/SingleCodeInput.js +5 -5
- package/dist/components/Collapsible.cjs +78 -7
- package/dist/components/Collapsible.js +6 -6
- package/dist/components/CommaNumberInput.cjs +13 -4
- 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 +13 -4
- package/dist/components/ContentTable.js +4 -4
- package/dist/components/CopyToClipboardButton.cjs +13 -4
- package/dist/components/CopyToClipboardButton.js +6 -6
- package/dist/components/CurrencyAmount.cjs +13 -4
- package/dist/components/CurrencyAmount.js +4 -4
- package/dist/components/Drawer.cjs +118 -43
- package/dist/components/Drawer.js +22 -22
- package/dist/components/Dropdown.cjs +13 -4
- 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 +13 -4
- package/dist/components/FileInput.js +10 -10
- package/dist/components/GradientCardHeader.js +5 -5
- package/dist/components/Icon/Icon.cjs +13 -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 +7347 -7340
- package/dist/components/IconWithCircleBackground.js +4 -73
- package/dist/components/InfoIconTooltip.cjs +53 -29
- 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 +13 -4
- package/dist/components/LightsparkProvider.js +4 -4
- package/dist/components/Loading.cjs +13 -4
- package/dist/components/Loading.js +4 -4
- package/dist/components/Modal.cjs +202 -127
- package/dist/components/Modal.d.cts +9 -9
- package/dist/components/Modal.d.ts +9 -9
- package/dist/components/Modal.js +27 -68
- package/dist/components/PageSection/PageSection.cjs +205 -97
- 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 +45 -21
- package/dist/components/PageSection/PageSectionNav.js +20 -20
- package/dist/components/PhoneInput.cjs +13 -4
- 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 +13 -4
- package/dist/components/Pill.js +7 -7
- package/dist/components/ProgressBar.cjs +13 -4
- package/dist/components/ProgressBar.js +3 -3
- package/dist/components/Radio.cjs +7406 -7335
- package/dist/components/Radio.js +8 -22
- package/dist/components/SecretContainer.cjs +13 -4
- package/dist/components/SecretContainer.js +7 -7
- package/dist/components/StatusIndicator.js +4 -4
- package/dist/components/TextButton.cjs +41 -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 +35 -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 +13 -4
- 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 +61 -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 +105 -98
- package/dist/components/Toggle.js +4 -4
- package/dist/components/Tooltip.cjs +13 -4
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/UnstyledButton.js +3 -3
- package/dist/components/documentation/AnchorLinkHeader.cjs +13 -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 +13 -4
- 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 +13 -4
- 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 +13 -4
- 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.js +2 -2
- package/dist/components/documentation/index.cjs +13 -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 +8341 -8176
- 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 +100 -29
- package/dist/components/typography/Article.js +14 -14
- package/dist/components/typography/Body.cjs +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +13 -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 +100 -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 +29 -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 +13 -4
- package/dist/styles/common.d.cts +1 -1
- package/dist/styles/common.d.ts +1 -1
- package/dist/styles/common.js +2 -2
- package/dist/styles/fields.cjs +13 -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 +13 -4
- 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 +13 -4
- 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 +13 -4
- 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-36cdd0fe.d.ts → themes-37e92940.d.ts} +91 -74
- package/dist/{buttons-35280bfe.d.ts → themes-832e46b2.d.ts} +91 -74
- package/dist/utils/toNonTypographicReactNodes.cjs +13 -4
- package/dist/utils/toNonTypographicReactNodes.d.cts +1 -1
- package/dist/utils/toNonTypographicReactNodes.d.ts +1 -1
- package/dist/utils/toNonTypographicReactNodes.js +4 -4
- package/dist/utils/toReactNodes.cjs +54 -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-SEZEDINC.js +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZS7G6WIG.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JAPRGAB7.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TNDSUTUN.js";
|
|
10
10
|
import {
|
|
11
11
|
__async
|
|
12
12
|
} from "./chunk-LOPKRCGI.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UnstyledButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JAPRGAB7.js";
|
|
4
4
|
import {
|
|
5
5
|
standardLineHeightEms
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CZFFMEAS.js";
|
|
7
7
|
import {
|
|
8
8
|
themeOr
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VNQE6KEX.js";
|
|
10
10
|
import {
|
|
11
11
|
colors
|
|
12
12
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GlobalStyles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-THTKSZSR.js";
|
|
4
4
|
import {
|
|
5
5
|
themes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VNQE6KEX.js";
|
|
7
7
|
|
|
8
8
|
// src/components/LightsparkProvider.tsx
|
|
9
9
|
import { ThemeProvider } from "@emotion/react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X67A2CS.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Label.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X67A2CS.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Code.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BAGRU7JE.js";
|
|
4
4
|
import {
|
|
5
5
|
ButtonRowContainer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WDJMAZFO.js";
|
|
7
7
|
import {
|
|
8
8
|
z
|
|
9
9
|
} from "./chunk-55OQPFLF.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flexCenter,
|
|
12
12
|
overflowAutoWithoutScrollbars,
|
|
13
13
|
size
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GQVNE3NU.js";
|
|
15
15
|
import {
|
|
16
16
|
cardBorderRadiusPx,
|
|
17
17
|
darkGradientBg,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
standardBorderRadius,
|
|
20
20
|
standardCardShadow,
|
|
21
21
|
standardContentInset
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CZFFMEAS.js";
|
|
23
23
|
import {
|
|
24
24
|
themeOr
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VNQE6KEX.js";
|
|
26
26
|
import {
|
|
27
27
|
bp,
|
|
28
28
|
useBreakpoints
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
} from "./chunk-AAFUVYVP.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JAPRGAB7.js";
|
|
10
10
|
import {
|
|
11
11
|
z
|
|
12
12
|
} from "./chunk-55OQPFLF.js";
|
|
13
13
|
import {
|
|
14
14
|
Icon
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TNDSUTUN.js";
|
|
16
16
|
import {
|
|
17
17
|
overlaySurface,
|
|
18
18
|
standardBorderRadius,
|
|
19
19
|
standardFocusOutline
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CZFFMEAS.js";
|
|
21
21
|
import {
|
|
22
22
|
themeOr
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VNQE6KEX.js";
|
|
24
24
|
import {
|
|
25
25
|
bp
|
|
26
26
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
4
4
|
import {
|
|
5
5
|
z
|
|
6
6
|
} from "./chunk-55OQPFLF.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius,
|
|
9
9
|
subtext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CZFFMEAS.js";
|
|
11
11
|
import {
|
|
12
12
|
themeOr
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VNQE6KEX.js";
|
|
14
14
|
|
|
15
15
|
// src/styles/fields.tsx
|
|
16
16
|
import { css } from "@emotion/react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X67A2CS.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopyToClipboardButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-242JGEN4.js";
|
|
4
4
|
import {
|
|
5
5
|
overflowAutoWithoutScrollbars
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GQVNE3NU.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CZFFMEAS.js";
|
|
10
10
|
import {
|
|
11
11
|
themeOr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VNQE6KEX.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
15
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -3,40 +3,40 @@ import {
|
|
|
3
3
|
} from "./chunk-JJC2AUQ3.js";
|
|
4
4
|
import {
|
|
5
5
|
TextButton
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
toReactNodes
|
|
9
|
-
} from "./chunk-LIQSJ5R7.js";
|
|
6
|
+
} from "./chunk-C4HNAZFZ.js";
|
|
10
7
|
import {
|
|
11
8
|
Dropdown
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7RLDCOUT.js";
|
|
13
10
|
import {
|
|
14
11
|
standardBorderColor
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7RMHMFS2.js";
|
|
16
13
|
import {
|
|
17
14
|
Badge,
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
badgeSmVPadding
|
|
16
|
+
} from "./chunk-VWD7T5MQ.js";
|
|
17
|
+
import {
|
|
18
|
+
toReactNodes
|
|
19
|
+
} from "./chunk-ZO35RX7V.js";
|
|
20
20
|
import {
|
|
21
21
|
Heading,
|
|
22
22
|
headingWithDefaults
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BAGRU7JE.js";
|
|
24
24
|
import {
|
|
25
25
|
Loading
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DNGAINGL.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-JAPRGAB7.js";
|
|
33
33
|
import {
|
|
34
34
|
Icon
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-TNDSUTUN.js";
|
|
36
36
|
import {
|
|
37
37
|
standardBorderRadius,
|
|
38
38
|
standardLineHeightEms
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CZFFMEAS.js";
|
|
40
40
|
import {
|
|
41
41
|
bp
|
|
42
42
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -161,7 +161,7 @@ var PageSectionBoxActionRow = ({
|
|
|
161
161
|
title ? /* @__PURE__ */ jsxs("div", { children: [
|
|
162
162
|
/* @__PURE__ */ jsxs(PageSectionBoxTitle, { children: [
|
|
163
163
|
title,
|
|
164
|
-
titleBadge ? /* @__PURE__ */ jsx(Badge, {
|
|
164
|
+
titleBadge ? /* @__PURE__ */ jsx(Badge, { content: titleBadge, ml: 4 }) : null
|
|
165
165
|
] }),
|
|
166
166
|
description ? /* @__PURE__ */ jsx(PageSectionBoxDescription, { children: description }) : null
|
|
167
167
|
] }) : null,
|
|
@@ -283,7 +283,7 @@ var PageSectionBoxTitle = styled.div`
|
|
|
283
283
|
align-items: center;
|
|
284
284
|
font-size: ${({ lg }) => lg ? 14 : 12}px;
|
|
285
285
|
font-weight: 600;
|
|
286
|
-
line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) +
|
|
286
|
+
line-height: ${({ lg }) => standardLineHeightEms * (lg ? 14 : 12) + badgeSmVPadding * 2}px;
|
|
287
287
|
`;
|
|
288
288
|
var PageSectionBoxDescription = styled.div`
|
|
289
289
|
color: ${({ theme }) => theme.mcNeutral};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextIconAligner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZ4KKLYJ.js";
|
|
4
4
|
import {
|
|
5
5
|
Link
|
|
6
6
|
} from "./chunk-AAFUVYVP.js";
|
|
7
7
|
import {
|
|
8
8
|
UnstyledButton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JAPRGAB7.js";
|
|
10
10
|
import {
|
|
11
11
|
elide
|
|
12
12
|
} from "./chunk-EDN2QDCB.js";
|
|
13
13
|
import {
|
|
14
14
|
getFocusOutline
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CZFFMEAS.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-YMNSXZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
toNonTypographicReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4X67A2CS.js";
|
|
7
7
|
import {
|
|
8
8
|
applyTypography
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
10
10
|
|
|
11
11
|
// src/components/typography/Display.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Loading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DNGAINGL.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JAPRGAB7.js";
|
|
7
7
|
import {
|
|
8
8
|
flexCenter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GQVNE3NU.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TNDSUTUN.js";
|
|
13
13
|
import {
|
|
14
14
|
colors
|
|
15
15
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// src/styles/tokens/spacing.tsx
|
|
2
|
+
var n = {
|
|
3
|
+
"4xs": 2,
|
|
4
|
+
"3xs": 4,
|
|
5
|
+
"2xs": 6,
|
|
6
|
+
xs: 8,
|
|
7
|
+
sm: 12,
|
|
8
|
+
md: 16,
|
|
9
|
+
lg: 24,
|
|
10
|
+
xl: 32,
|
|
11
|
+
"2xl": 40,
|
|
12
|
+
"3xl": 48,
|
|
13
|
+
"4xl": 56,
|
|
14
|
+
"5xl": 64,
|
|
15
|
+
"6xl": 72,
|
|
16
|
+
"7xl": 80,
|
|
17
|
+
"8xl": 96,
|
|
18
|
+
"9xl": 112,
|
|
19
|
+
"10xl": 128,
|
|
20
|
+
"11xl": 160
|
|
21
|
+
};
|
|
22
|
+
var Spacing = {
|
|
23
|
+
"4xs": n["4xs"],
|
|
24
|
+
"3xs": n["3xs"],
|
|
25
|
+
"2xs": n["2xs"],
|
|
26
|
+
xs: n.xs,
|
|
27
|
+
sm: n.sm,
|
|
28
|
+
md: n.md,
|
|
29
|
+
lg: n.lg,
|
|
30
|
+
xl: n.xl,
|
|
31
|
+
"2xl": n["2xl"],
|
|
32
|
+
"3xl": n["3xl"],
|
|
33
|
+
"4xl": n["4xl"],
|
|
34
|
+
"5xl": n["5xl"],
|
|
35
|
+
"6xl": n["6xl"],
|
|
36
|
+
"7xl": n["7xl"],
|
|
37
|
+
"8xl": n["8xl"],
|
|
38
|
+
"9xl": n["9xl"],
|
|
39
|
+
"10xl": n["10xl"],
|
|
40
|
+
"11xl": n["11xl"],
|
|
41
|
+
px: {
|
|
42
|
+
"4xs": `${n["4xs"]}px`,
|
|
43
|
+
"3xs": `${n["3xs"]}px`,
|
|
44
|
+
"2xs": `${n["2xs"]}px`,
|
|
45
|
+
xs: `${n.xs}px`,
|
|
46
|
+
sm: `${n.sm}px`,
|
|
47
|
+
md: `${n.md}px`,
|
|
48
|
+
lg: `${n.lg}px`,
|
|
49
|
+
xl: `${n.xl}px`,
|
|
50
|
+
"2xl": `${n["2xl"]}px`,
|
|
51
|
+
"3xl": `${n["3xl"]}px`,
|
|
52
|
+
"4xl": `${n["4xl"]}px`,
|
|
53
|
+
"5xl": `${n["5xl"]}px`,
|
|
54
|
+
"6xl": `${n["6xl"]}px`,
|
|
55
|
+
"7xl": `${n["7xl"]}px`,
|
|
56
|
+
"8xl": `${n["8xl"]}px`,
|
|
57
|
+
"9xl": `${n["9xl"]}px`,
|
|
58
|
+
"10xl": `${n["10xl"]}px`,
|
|
59
|
+
"11xl": `${n["11xl"]}px`
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
Spacing
|
|
65
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Flex
|
|
3
|
+
} from "./chunk-IL6J7EBZ.js";
|
|
4
|
+
import {
|
|
5
|
+
Icon
|
|
6
|
+
} from "./chunk-TNDSUTUN.js";
|
|
7
|
+
import {
|
|
8
|
+
getColor
|
|
9
|
+
} from "./chunk-VNQE6KEX.js";
|
|
10
|
+
|
|
11
|
+
// src/components/IconWithCircleBackground.tsx
|
|
12
|
+
import styled from "@emotion/styled";
|
|
13
|
+
import { jsx } from "@emotion/react/jsx-runtime";
|
|
14
|
+
function IconWithCircleBackground({
|
|
15
|
+
iconName = "WarningSign"
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ jsx(Flex, { center: true, children: /* @__PURE__ */ jsx(StyledIconWithCircleBackground, { children: /* @__PURE__ */ jsx(Icon, { name: iconName, width: 40, color: "grayBlue9" }) }) });
|
|
18
|
+
}
|
|
19
|
+
var StyledIconWithCircleBackground = styled.div`
|
|
20
|
+
background-color: ${({ theme }) => getColor(theme, "grayBlue94")};
|
|
21
|
+
border-radius: 50%;
|
|
22
|
+
padding: 20px;
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
IconWithCircleBackground
|
|
27
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZO35RX7V.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZS7G6WIG.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TNDSUTUN.js";
|
|
10
10
|
|
|
11
11
|
// src/components/InfoIconTooltip.tsx
|
|
12
12
|
import { Fragment } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X67A2CS.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Overline.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toNonTypographicReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X67A2CS.js";
|
|
4
4
|
import {
|
|
5
5
|
applyTypography
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OUHQXQOJ.js";
|
|
7
7
|
|
|
8
8
|
// src/components/typography/Body.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MNMVZI7D.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JAPRGAB7.js";
|
|
7
7
|
import {
|
|
8
8
|
z
|
|
9
9
|
} from "./chunk-55OQPFLF.js";
|
|
10
|
+
import {
|
|
11
|
+
Spacing
|
|
12
|
+
} from "./chunk-E5DUKMCU.js";
|
|
10
13
|
import {
|
|
11
14
|
Icon
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TNDSUTUN.js";
|
|
13
16
|
import {
|
|
14
17
|
standardFocusOutline
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CZFFMEAS.js";
|
|
16
19
|
import {
|
|
17
20
|
colors
|
|
18
21
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -146,10 +149,11 @@ var DrawerContainer = styled.div`
|
|
|
146
149
|
bottom: 0;
|
|
147
150
|
transform: translateY(${(props) => `${props.totalDeltaY}px`});
|
|
148
151
|
z-index: ${z.modalContainer};
|
|
149
|
-
border-radius: ${
|
|
152
|
+
border-radius: ${Spacing.px.lg} ${Spacing.px.lg} 0 0;
|
|
150
153
|
display: flex;
|
|
151
154
|
flex-direction: column;
|
|
152
|
-
padding: ${"
|
|
155
|
+
padding: ${Spacing.px["6xl"]} ${Spacing.px.xl} ${Spacing.px["2xl"]}
|
|
156
|
+
${Spacing.px.xl};
|
|
153
157
|
overflow-y: scroll;
|
|
154
158
|
|
|
155
159
|
// Only smooth transition when not grabbing, otherwise dragging will feel very laggy
|
|
@@ -182,7 +186,7 @@ var Grabber = styled.div`
|
|
|
182
186
|
top: 0;
|
|
183
187
|
left: 0;
|
|
184
188
|
width: 100%;
|
|
185
|
-
height: ${
|
|
189
|
+
height: ${Spacing.px.lg};
|
|
186
190
|
display: flex;
|
|
187
191
|
flex-direction: row;
|
|
188
192
|
justify-content: center;
|
|
@@ -196,7 +200,7 @@ var CloseButtonContainer = styled.div`
|
|
|
196
200
|
right: 20px;
|
|
197
201
|
border-radius: 50%;
|
|
198
202
|
background-color: ${colors.grayBlue94};
|
|
199
|
-
padding: ${
|
|
203
|
+
padding: ${Spacing.px.xs};
|
|
200
204
|
height: 30px;
|
|
201
205
|
width: 30px;
|
|
202
206
|
display: flex;
|
|
@@ -217,7 +221,7 @@ var BackButtonContainer = styled.div`
|
|
|
217
221
|
top: 20px;
|
|
218
222
|
left: 20px;
|
|
219
223
|
border-radius: 50%;
|
|
220
|
-
padding: ${
|
|
224
|
+
padding: ${Spacing.px.xs};
|
|
221
225
|
height: 30px;
|
|
222
226
|
width: 30px;
|
|
223
227
|
display: flex;
|