@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @lightsparkdev/ui
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1028e1c: Adds numbers to Spacing in addition to px values, setDefaultReactNodesTypography
|
|
8
|
+
|
|
9
|
+
## 1.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- e647962: Updates to Button, CodeInput, Drawer, Icon, Modal, Video
|
|
14
|
+
|
|
3
15
|
## 1.0.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -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";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-AAFUVYVP.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TNDSUTUN.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/toNonTypographicReactNodes.tsx
|
|
12
12
|
import { isObject } from "lodash-es";
|
|
@@ -44,6 +44,7 @@ function toNonTypographicReactNodes(toNonTypographicReactNodesArg) {
|
|
|
44
44
|
Link,
|
|
45
45
|
{
|
|
46
46
|
to: node.to,
|
|
47
|
+
newTab: !!node.newTab,
|
|
47
48
|
children: node.text
|
|
48
49
|
},
|
|
49
50
|
`link-${i}-${node.text.substr(0, 10)}`
|
|
@@ -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";
|
|
@@ -81,7 +81,7 @@ var textInputStyle = ({
|
|
|
81
81
|
var _a;
|
|
82
82
|
return css`
|
|
83
83
|
border-radius: ${textInputBorderRadiusPx}px;
|
|
84
|
-
background-color: ${disabled ? theme.vlcNeutral : theme.
|
|
84
|
+
background-color: ${disabled ? theme.vlcNeutral : theme.inputBackground};
|
|
85
85
|
cursor: ${disabled ? "not-allowed" : "auto"};
|
|
86
86
|
box-sizing: border-box;
|
|
87
87
|
font-weight: ${textInputFontWeight};
|
|
@@ -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-UVGBD7XM.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
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
themeOr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VNQE6KEX.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" : ""};`,
|
|
@@ -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";
|