@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
package/CHANGELOG.md
CHANGED
|
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
|
|
|
43
43
|
text: string;
|
|
44
44
|
vlcNeutral: string;
|
|
45
45
|
warning: string;
|
|
46
|
+
inputBackground: string;
|
|
46
47
|
};
|
|
47
48
|
type ThemeColorKey = keyof typeof baseThemeColors;
|
|
48
49
|
declare const themeOrColorKeyValues: readonly string[];
|
|
@@ -1779,6 +1780,7 @@ declare const baseTheme: {
|
|
|
1779
1780
|
text: string;
|
|
1780
1781
|
vlcNeutral: string;
|
|
1781
1782
|
warning: string;
|
|
1783
|
+
inputBackground: string;
|
|
1782
1784
|
};
|
|
1783
1785
|
type BaseTheme = typeof baseTheme;
|
|
1784
1786
|
type LightsparkSurfaces = {
|
|
@@ -3533,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3533
3535
|
text: string;
|
|
3534
3536
|
vlcNeutral: string;
|
|
3535
3537
|
warning: string;
|
|
3538
|
+
inputBackground: string;
|
|
3536
3539
|
header: {
|
|
3537
3540
|
type: Themes;
|
|
3538
3541
|
typography: {
|
|
@@ -5264,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5264
5267
|
text: string;
|
|
5265
5268
|
vlcNeutral: string;
|
|
5266
5269
|
warning: string;
|
|
5270
|
+
inputBackground: string;
|
|
5267
5271
|
};
|
|
5268
5272
|
nav: {
|
|
5269
5273
|
type: Themes;
|
|
@@ -6996,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6996
7000
|
text: string;
|
|
6997
7001
|
vlcNeutral: string;
|
|
6998
7002
|
warning: string;
|
|
7003
|
+
inputBackground: string;
|
|
6999
7004
|
};
|
|
7000
7005
|
content: {
|
|
7001
7006
|
type: Themes;
|
|
@@ -8728,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8728
8733
|
text: string;
|
|
8729
8734
|
vlcNeutral: string;
|
|
8730
8735
|
warning: string;
|
|
8736
|
+
inputBackground: string;
|
|
8731
8737
|
};
|
|
8732
8738
|
controls: {
|
|
8733
8739
|
type: Themes;
|
|
@@ -10460,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10460
10466
|
text: string;
|
|
10461
10467
|
vlcNeutral: string;
|
|
10462
10468
|
warning: string;
|
|
10469
|
+
inputBackground: string;
|
|
10463
10470
|
};
|
|
10464
10471
|
};
|
|
10465
10472
|
declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
|
|
@@ -43,6 +43,7 @@ declare const baseThemeColors: {
|
|
|
43
43
|
text: string;
|
|
44
44
|
vlcNeutral: string;
|
|
45
45
|
warning: string;
|
|
46
|
+
inputBackground: string;
|
|
46
47
|
};
|
|
47
48
|
type ThemeColorKey = keyof typeof baseThemeColors;
|
|
48
49
|
declare const themeOrColorKeyValues: readonly string[];
|
|
@@ -1779,6 +1780,7 @@ declare const baseTheme: {
|
|
|
1779
1780
|
text: string;
|
|
1780
1781
|
vlcNeutral: string;
|
|
1781
1782
|
warning: string;
|
|
1783
|
+
inputBackground: string;
|
|
1782
1784
|
};
|
|
1783
1785
|
type BaseTheme = typeof baseTheme;
|
|
1784
1786
|
type LightsparkSurfaces = {
|
|
@@ -3533,6 +3535,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
3533
3535
|
text: string;
|
|
3534
3536
|
vlcNeutral: string;
|
|
3535
3537
|
warning: string;
|
|
3538
|
+
inputBackground: string;
|
|
3536
3539
|
header: {
|
|
3537
3540
|
type: Themes;
|
|
3538
3541
|
typography: {
|
|
@@ -5264,6 +5267,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
5264
5267
|
text: string;
|
|
5265
5268
|
vlcNeutral: string;
|
|
5266
5269
|
warning: string;
|
|
5270
|
+
inputBackground: string;
|
|
5267
5271
|
};
|
|
5268
5272
|
nav: {
|
|
5269
5273
|
type: Themes;
|
|
@@ -6996,6 +7000,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
6996
7000
|
text: string;
|
|
6997
7001
|
vlcNeutral: string;
|
|
6998
7002
|
warning: string;
|
|
7003
|
+
inputBackground: string;
|
|
6999
7004
|
};
|
|
7000
7005
|
content: {
|
|
7001
7006
|
type: Themes;
|
|
@@ -8728,6 +8733,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
8728
8733
|
text: string;
|
|
8729
8734
|
vlcNeutral: string;
|
|
8730
8735
|
warning: string;
|
|
8736
|
+
inputBackground: string;
|
|
8731
8737
|
};
|
|
8732
8738
|
controls: {
|
|
8733
8739
|
type: Themes;
|
|
@@ -10460,6 +10466,7 @@ declare function setFonts(theme: Theme, fontFamilies: FontFamilies): {
|
|
|
10460
10466
|
text: string;
|
|
10461
10467
|
vlcNeutral: string;
|
|
10462
10468
|
warning: string;
|
|
10469
|
+
inputBackground: string;
|
|
10463
10470
|
};
|
|
10464
10471
|
};
|
|
10465
10472
|
declare function isThemeColorKey(key: unknown): key is ThemeColorKey;
|
|
@@ -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/Code.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextIconAligner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7YY6BH5O.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-LTCJ6LNO.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-PG2W2HVB.js";
|
|
16
16
|
import {
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
@@ -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/Title.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocsHeadline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BENSR2YW.js";
|
|
4
4
|
import {
|
|
5
5
|
select
|
|
6
6
|
} from "./chunk-YMNSXZ5D.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3FI3FNP.js";
|
|
10
10
|
import {
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StyledContentTable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K7FYXGOI.js";
|
|
4
4
|
import {
|
|
5
5
|
StyledCode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2AGBCGOW.js";
|
|
7
7
|
import {
|
|
8
8
|
displaySelector
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MRGHRTKA.js";
|
|
10
10
|
import {
|
|
11
11
|
StyledTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-35PJW7RT.js";
|
|
13
13
|
import {
|
|
14
14
|
StyledBody
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GWHKALYQ.js";
|
|
16
16
|
import {
|
|
17
17
|
ALL_HEADLINE_SELECTORS,
|
|
18
18
|
headlineSelector
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CRTTTIAD.js";
|
|
20
20
|
import {
|
|
21
21
|
select
|
|
22
22
|
} from "./chunk-YMNSXZ5D.js";
|
|
23
23
|
import {
|
|
24
24
|
overflowAutoWithoutScrollbars
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7WDAN3OC.js";
|
|
26
26
|
import {
|
|
27
27
|
standardBorderRadius
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PG2W2HVB.js";
|
|
29
29
|
import {
|
|
30
30
|
getTypographyString
|
|
31
31
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
overflowAutoWithoutScrollbars
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7WDAN3OC.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I3FI3FNP.js";
|
|
7
7
|
import {
|
|
8
8
|
standardBorderRadius
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PG2W2HVB.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Collapsible.tsx
|
|
12
12
|
import styled from "@emotion/styled";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4C2TISN7.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-PG2W2HVB.js";
|
|
11
11
|
import {
|
|
12
12
|
themeOr
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IBZBPQMZ.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
|
toReactNodes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
4
4
|
import {
|
|
5
5
|
UnstyledButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LTCJ6LNO.js";
|
|
7
7
|
import {
|
|
8
8
|
z
|
|
9
9
|
} from "./chunk-55OQPFLF.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
extend,
|
|
12
12
|
flexCenter,
|
|
13
13
|
pxToRems
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7WDAN3OC.js";
|
|
15
15
|
import {
|
|
16
16
|
Icon
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I3FI3FNP.js";
|
|
18
18
|
import {
|
|
19
19
|
standardContentInset
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PG2W2HVB.js";
|
|
21
21
|
import {
|
|
22
22
|
themeOr
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
24
24
|
import {
|
|
25
25
|
colors
|
|
26
26
|
} from "./chunk-XUWFUTR4.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
rootFontSizeRems,
|
|
6
6
|
standardLineHeightEms
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PG2W2HVB.js";
|
|
8
8
|
import {
|
|
9
9
|
useThemeBg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
11
11
|
import {
|
|
12
12
|
bp
|
|
13
13
|
} from "./chunk-JSGRNWSB.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderTypography
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VXKNN4SF.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I3FI3FNP.js";
|
|
7
7
|
|
|
8
8
|
// src/components/TextIconAligner.tsx
|
|
9
9
|
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
@@ -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/LabelModerate.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/Label.tsx
|
|
9
9
|
import styled from "@emotion/styled";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Pill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J3YVJWRG.js";
|
|
4
4
|
import {
|
|
5
5
|
InputSubtext,
|
|
6
6
|
inputBlockStyle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6CNJ5ZCC.js";
|
|
8
8
|
import {
|
|
9
9
|
Icon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I3FI3FNP.js";
|
|
11
11
|
|
|
12
12
|
// src/components/FileInput.tsx
|
|
13
13
|
import styled from "@emotion/styled";
|
|
@@ -3,51 +3,51 @@ import {
|
|
|
3
3
|
} from "./chunk-NBCCPGA4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProgressBar
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-54EOEIEN.js";
|
|
7
7
|
import {
|
|
8
8
|
Flex
|
|
9
9
|
} from "./chunk-IL6J7EBZ.js";
|
|
10
10
|
import {
|
|
11
11
|
toReactNodes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LIQSJ5R7.js";
|
|
13
13
|
import {
|
|
14
14
|
Drawer
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JNNJVBHF.js";
|
|
16
16
|
import {
|
|
17
17
|
Button,
|
|
18
18
|
ButtonSelector
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SLKPLSJU.js";
|
|
20
20
|
import {
|
|
21
21
|
Body
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GWHKALYQ.js";
|
|
23
23
|
import {
|
|
24
24
|
Headline,
|
|
25
25
|
headlineSelector
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CRTTTIAD.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
|
z
|
|
35
35
|
} from "./chunk-55OQPFLF.js";
|
|
36
36
|
import {
|
|
37
37
|
overflowAutoWithoutScrollbars
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7WDAN3OC.js";
|
|
39
39
|
import {
|
|
40
40
|
Icon
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-I3FI3FNP.js";
|
|
42
42
|
import {
|
|
43
43
|
overlaySurface,
|
|
44
44
|
standardBorderRadius,
|
|
45
45
|
standardContentInset,
|
|
46
46
|
standardFocusOutline
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PG2W2HVB.js";
|
|
48
48
|
import {
|
|
49
49
|
getColor
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IBZBPQMZ.js";
|
|
51
51
|
import {
|
|
52
52
|
TokenSize
|
|
53
53
|
} from "./chunk-ENBUKLVT.js";
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
useBreakpoints
|
|
57
57
|
} from "./chunk-JSGRNWSB.js";
|
|
58
58
|
import {
|
|
59
|
+
__objRest,
|
|
59
60
|
__spreadValues
|
|
60
61
|
} from "./chunk-LOPKRCGI.js";
|
|
61
62
|
|
|
@@ -101,13 +102,15 @@ function Modal({
|
|
|
101
102
|
submitLink,
|
|
102
103
|
cancelText = "Cancel",
|
|
103
104
|
firstFocusRef,
|
|
104
|
-
|
|
105
|
+
smKind = "default",
|
|
106
|
+
top,
|
|
105
107
|
nonDismissable = false,
|
|
106
108
|
autoFocus = true,
|
|
107
109
|
width = 460,
|
|
108
110
|
progressBar,
|
|
109
111
|
buttonLayout = "horizontal",
|
|
110
|
-
extraActions
|
|
112
|
+
extraActions,
|
|
113
|
+
handleBack
|
|
111
114
|
}) {
|
|
112
115
|
const visibleChangedRef = useRef(false);
|
|
113
116
|
const nodeRef = useRef(null);
|
|
@@ -208,7 +211,10 @@ function Modal({
|
|
|
208
211
|
const linkIsHref = isSubmitLinkWithHref(submitLink);
|
|
209
212
|
const linkIsRoute = !linkIsHref && submitLink;
|
|
210
213
|
const buttonContent = /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
211
|
-
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((
|
|
214
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "above").map((_a, i) => {
|
|
215
|
+
var _b = _a, { placement, text } = _b, rest = __objRest(_b, ["placement", "text"]);
|
|
216
|
+
return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
|
|
217
|
+
}),
|
|
212
218
|
!isSm && !cancelHidden && /* @__PURE__ */ jsx2(
|
|
213
219
|
Button,
|
|
214
220
|
{
|
|
@@ -232,7 +238,10 @@ function Modal({
|
|
|
232
238
|
}
|
|
233
239
|
),
|
|
234
240
|
isSm && !cancelHidden && /* @__PURE__ */ jsx2(Button, { onClick: onClose, text: cancelText }),
|
|
235
|
-
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((
|
|
241
|
+
extraActions == null ? void 0 : extraActions.filter((action) => action.placement === "below").map((_c, i) => {
|
|
242
|
+
var _d = _c, { placement, text } = _d, rest = __objRest(_d, ["placement", "text"]);
|
|
243
|
+
return /* @__PURE__ */ jsx2(Button, __spreadValues({ text }, rest), text || `no-text-${i}`);
|
|
244
|
+
})
|
|
236
245
|
] });
|
|
237
246
|
let titleContent = null;
|
|
238
247
|
if (title) {
|
|
@@ -269,11 +278,20 @@ function Modal({
|
|
|
269
278
|
onSubmit || onCancel || submitLink ? buttonLayout === "horizontal" ? /* @__PURE__ */ jsx2(ModalButtonRow, { children: buttonContent }) : /* @__PURE__ */ jsx2(ModalButtonColumn, { children: buttonContent }) : null
|
|
270
279
|
] });
|
|
271
280
|
let content;
|
|
272
|
-
if (
|
|
273
|
-
content = /* @__PURE__ */ jsx2(
|
|
281
|
+
if (smKind === "drawer" && isSm) {
|
|
282
|
+
content = /* @__PURE__ */ jsx2(
|
|
283
|
+
Drawer,
|
|
284
|
+
{
|
|
285
|
+
onClose: () => onClickCloseButton(),
|
|
286
|
+
closeButton: true,
|
|
287
|
+
nonDismissable,
|
|
288
|
+
handleBack,
|
|
289
|
+
children: modalContent
|
|
290
|
+
}
|
|
291
|
+
);
|
|
274
292
|
} else {
|
|
275
293
|
content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
276
|
-
/* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }),
|
|
294
|
+
!(smKind === "fullscreen" && bp2.isSm()) ? /* @__PURE__ */ jsx2(ModalOverlay, { ref: overlayRef }) : null,
|
|
277
295
|
/* @__PURE__ */ jsx2(
|
|
278
296
|
ModalContainer,
|
|
279
297
|
{
|
|
@@ -282,9 +300,13 @@ function Modal({
|
|
|
282
300
|
tabIndex: -1,
|
|
283
301
|
role: "dialog",
|
|
284
302
|
ref: modalContainerRef,
|
|
285
|
-
|
|
303
|
+
top: top || (smKind === "default" ? standardContentInset.smPx : 0),
|
|
304
|
+
children: /* @__PURE__ */ jsxs(ModalContent, { width, ghost, smKind, children: [
|
|
286
305
|
!firstFocusRef && /* @__PURE__ */ jsx2(DefaultFocusTarget, { ref: defaultFirstFocusRefCb }),
|
|
287
|
-
!
|
|
306
|
+
!ghost && /* @__PURE__ */ jsxs(ModalNavigation, { children: [
|
|
307
|
+
handleBack && /* @__PURE__ */ jsx2(BackButton, { onClick: handleBack, children: /* @__PURE__ */ jsx2(Icon, { name: "ChevronLeft", width: 16 }) }),
|
|
308
|
+
!nonDismissable && /* @__PURE__ */ jsx2(CloseButton, { onClick: onClickCloseButton, type: "button", children: /* @__PURE__ */ jsx2(Icon, { name: "Close", width: 9 }) })
|
|
309
|
+
] }),
|
|
288
310
|
/* @__PURE__ */ jsx2(ModalContentInner, { ghost, children: modalContent })
|
|
289
311
|
] })
|
|
290
312
|
}
|
|
@@ -326,7 +348,7 @@ var ModalContainer = styled2.div`
|
|
|
326
348
|
justify-content: center;
|
|
327
349
|
align-items: center;
|
|
328
350
|
color: ${({ theme }) => theme.text};
|
|
329
|
-
|
|
351
|
+
${(props) => `top: ${props.top}px;`}
|
|
330
352
|
`;
|
|
331
353
|
var contentTopMarginPx = 24;
|
|
332
354
|
var Description = styled2.div`
|
|
@@ -360,16 +382,22 @@ var ModalButtonColumn = styled2.div`
|
|
|
360
382
|
margin-top: ${"24px" /* lg */};
|
|
361
383
|
`;
|
|
362
384
|
var ModalContent = styled2.div`
|
|
363
|
-
${overflowAutoWithoutScrollbars}
|
|
364
|
-
${standardContentInset.smCSS}
|
|
365
|
-
${(props) => props.ghost ? "" : standardBorderRadius(16)}
|
|
366
|
-
${(props) => props.ghost ? "" : overlaySurface}
|
|
367
385
|
pointer-events: auto;
|
|
368
386
|
transition: width 0.25s ease-in;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
387
|
+
|
|
388
|
+
${({ theme, smKind, ghost }) => ghost ? "" : overlaySurface({ theme, border: smKind !== "fullscreen" })}
|
|
389
|
+
${overflowAutoWithoutScrollbars}
|
|
390
|
+
${(props) => props.smKind === "fullscreen" && bp.isSm() ? `
|
|
391
|
+
width: 100%;
|
|
392
|
+
height: 100%;
|
|
393
|
+
` : `
|
|
394
|
+
${props.ghost ? "" : standardBorderRadius(16)}
|
|
395
|
+
${standardContentInset.smCSS.styles}
|
|
396
|
+
width: ${props.width}px;
|
|
397
|
+
max-width: 100%;
|
|
398
|
+
max-height: 100%;
|
|
399
|
+
position: absolute;
|
|
400
|
+
`}
|
|
373
401
|
${(props) => props.ghost ? "" : "padding: 16px 16px 40px;"}
|
|
374
402
|
|
|
375
403
|
${headlineSelector("h4")} { {
|
|
@@ -379,16 +407,22 @@ var ModalContent = styled2.div`
|
|
|
379
407
|
}
|
|
380
408
|
}
|
|
381
409
|
`;
|
|
382
|
-
var
|
|
383
|
-
display:
|
|
384
|
-
|
|
410
|
+
var ModalNavigation = styled2.div`
|
|
411
|
+
display: grid;
|
|
412
|
+
grid-auto-flow: column;
|
|
385
413
|
width: 100%;
|
|
386
|
-
|
|
414
|
+
`;
|
|
415
|
+
var BackButton = styled2(UnstyledButton)`
|
|
416
|
+
${standardFocusOutline}
|
|
417
|
+
width: 24px;
|
|
418
|
+
height: 24px;
|
|
419
|
+
justify-self: flex-start;
|
|
387
420
|
`;
|
|
388
421
|
var CloseButton = styled2(UnstyledButton)`
|
|
389
422
|
${standardFocusOutline}
|
|
390
423
|
width: 24px;
|
|
391
424
|
height: 24px;
|
|
425
|
+
justify-self: flex-end;
|
|
392
426
|
`;
|
|
393
427
|
var ModalContentInner = styled2.div`
|
|
394
428
|
${(props) => props.ghost ? "" : "padding: 32px 24px 0;"}
|