@starlightcms/react-sdk 2.3.0 → 3.0.0-beta.2
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/dist/cjs/ResponsiveImage/index.d.ts.map +1 -1
- package/dist/cjs/ResponsiveImage/index.js +18 -8
- package/dist/cjs/ResponsiveImage/index.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/HTML/index.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/HTML/index.js +4 -6
- package/dist/cjs/VisualContent/blocks/HTML/index.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/Header.d.ts +0 -1
- package/dist/cjs/VisualContent/blocks/Header.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/Header.js +5 -2
- package/dist/cjs/VisualContent/blocks/Header.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/Image/index.d.ts +1 -1
- package/dist/cjs/VisualContent/blocks/Image/index.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/Image/index.js +51 -13
- package/dist/cjs/VisualContent/blocks/Image/index.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/List/index.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/List/index.js +9 -11
- package/dist/cjs/VisualContent/blocks/List/index.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/Paragraph.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/Paragraph.js +6 -3
- package/dist/cjs/VisualContent/blocks/Paragraph.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/Quote.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/Quote.js +1 -2
- package/dist/cjs/VisualContent/blocks/Quote.js.map +1 -1
- package/dist/cjs/VisualContent/blocks/Video/index.d.ts.map +1 -1
- package/dist/cjs/VisualContent/blocks/Video/index.js +7 -6
- package/dist/cjs/VisualContent/blocks/Video/index.js.map +1 -1
- package/dist/cjs/VisualContent/index.d.ts +0 -1
- package/dist/cjs/VisualContent/index.d.ts.map +1 -1
- package/dist/cjs/VisualContent/index.js +18 -9
- package/dist/cjs/VisualContent/index.js.map +1 -1
- package/dist/cjs/VisualContent/types.d.ts +1 -1
- package/dist/cjs/VisualContent/types.d.ts.map +1 -1
- package/dist/esm/ResponsiveImage/index.d.ts.map +1 -1
- package/dist/esm/ResponsiveImage/index.js +1 -1
- package/dist/esm/ResponsiveImage/index.js.map +1 -1
- package/dist/esm/VisualContent/blocks/HTML/index.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/HTML/index.js +4 -6
- package/dist/esm/VisualContent/blocks/HTML/index.js.map +1 -1
- package/dist/esm/VisualContent/blocks/Header.d.ts +0 -1
- package/dist/esm/VisualContent/blocks/Header.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/Header.js +5 -2
- package/dist/esm/VisualContent/blocks/Header.js.map +1 -1
- package/dist/esm/VisualContent/blocks/Image/index.d.ts +1 -1
- package/dist/esm/VisualContent/blocks/Image/index.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/Image/index.js +34 -6
- package/dist/esm/VisualContent/blocks/Image/index.js.map +1 -1
- package/dist/esm/VisualContent/blocks/List/index.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/List/index.js +9 -11
- package/dist/esm/VisualContent/blocks/List/index.js.map +1 -1
- package/dist/esm/VisualContent/blocks/Paragraph.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/Paragraph.js +6 -3
- package/dist/esm/VisualContent/blocks/Paragraph.js.map +1 -1
- package/dist/esm/VisualContent/blocks/Quote.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/Quote.js +1 -2
- package/dist/esm/VisualContent/blocks/Quote.js.map +1 -1
- package/dist/esm/VisualContent/blocks/Video/index.d.ts.map +1 -1
- package/dist/esm/VisualContent/blocks/Video/index.js +7 -6
- package/dist/esm/VisualContent/blocks/Video/index.js.map +1 -1
- package/dist/esm/VisualContent/index.d.ts +0 -1
- package/dist/esm/VisualContent/index.d.ts.map +1 -1
- package/dist/esm/VisualContent/index.js +1 -2
- package/dist/esm/VisualContent/index.js.map +1 -1
- package/dist/esm/VisualContent/types.d.ts +1 -1
- package/dist/esm/VisualContent/types.d.ts.map +1 -1
- package/dist/styles.css +197 -0
- package/dist/styles.css.map +1 -0
- package/package.json +17 -18
- package/dist/cjs/VisualContent/blocks/HTML/styles.d.ts +0 -6
- package/dist/cjs/VisualContent/blocks/HTML/styles.d.ts.map +0 -1
- package/dist/cjs/VisualContent/blocks/HTML/styles.js +0 -13
- package/dist/cjs/VisualContent/blocks/HTML/styles.js.map +0 -1
- package/dist/cjs/VisualContent/blocks/Image/styles.d.ts +0 -19
- package/dist/cjs/VisualContent/blocks/Image/styles.d.ts.map +0 -1
- package/dist/cjs/VisualContent/blocks/Image/styles.js +0 -41
- package/dist/cjs/VisualContent/blocks/Image/styles.js.map +0 -1
- package/dist/cjs/VisualContent/blocks/List/styles.d.ts +0 -6
- package/dist/cjs/VisualContent/blocks/List/styles.d.ts.map +0 -1
- package/dist/cjs/VisualContent/blocks/List/styles.js +0 -21
- package/dist/cjs/VisualContent/blocks/List/styles.js.map +0 -1
- package/dist/cjs/VisualContent/blocks/Video/styles.d.ts +0 -14
- package/dist/cjs/VisualContent/blocks/Video/styles.d.ts.map +0 -1
- package/dist/cjs/VisualContent/blocks/Video/styles.js +0 -41
- package/dist/cjs/VisualContent/blocks/Video/styles.js.map +0 -1
- package/dist/cjs/VisualContent/styles.d.ts +0 -14
- package/dist/cjs/VisualContent/styles.d.ts.map +0 -1
- package/dist/cjs/VisualContent/styles.js +0 -89
- package/dist/cjs/VisualContent/styles.js.map +0 -1
- package/dist/esm/VisualContent/blocks/HTML/styles.d.ts +0 -6
- package/dist/esm/VisualContent/blocks/HTML/styles.d.ts.map +0 -1
- package/dist/esm/VisualContent/blocks/HTML/styles.js +0 -7
- package/dist/esm/VisualContent/blocks/HTML/styles.js.map +0 -1
- package/dist/esm/VisualContent/blocks/Image/styles.d.ts +0 -19
- package/dist/esm/VisualContent/blocks/Image/styles.d.ts.map +0 -1
- package/dist/esm/VisualContent/blocks/Image/styles.js +0 -35
- package/dist/esm/VisualContent/blocks/Image/styles.js.map +0 -1
- package/dist/esm/VisualContent/blocks/List/styles.d.ts +0 -6
- package/dist/esm/VisualContent/blocks/List/styles.d.ts.map +0 -1
- package/dist/esm/VisualContent/blocks/List/styles.js +0 -15
- package/dist/esm/VisualContent/blocks/List/styles.js.map +0 -1
- package/dist/esm/VisualContent/blocks/Video/styles.d.ts +0 -14
- package/dist/esm/VisualContent/blocks/Video/styles.d.ts.map +0 -1
- package/dist/esm/VisualContent/blocks/Video/styles.js +0 -35
- package/dist/esm/VisualContent/blocks/Video/styles.js.map +0 -1
- package/dist/esm/VisualContent/styles.d.ts +0 -14
- package/dist/esm/VisualContent/styles.d.ts.map +0 -1
- package/dist/esm/VisualContent/styles.js +0 -83
- package/dist/esm/VisualContent/styles.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { FigureWrapper } from '../../styles';
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
export const ImageWrapper = styled(FigureWrapper) `
|
|
4
|
-
margin: 1em auto;
|
|
5
|
-
`;
|
|
6
|
-
export const SelectedImage = styled.img `
|
|
7
|
-
display: block;
|
|
8
|
-
margin: auto;
|
|
9
|
-
object-fit: cover;
|
|
10
|
-
|
|
11
|
-
max-width: ${({ width, originalWidth }) => {
|
|
12
|
-
if (originalWidth && width === 'auto')
|
|
13
|
-
return originalWidth;
|
|
14
|
-
switch (width) {
|
|
15
|
-
case 'auto':
|
|
16
|
-
return '100%';
|
|
17
|
-
case 'justify':
|
|
18
|
-
case 'max':
|
|
19
|
-
return 'initial';
|
|
20
|
-
}
|
|
21
|
-
}};
|
|
22
|
-
|
|
23
|
-
width: ${({ width }) => {
|
|
24
|
-
switch (width) {
|
|
25
|
-
case 'auto':
|
|
26
|
-
return 'initial';
|
|
27
|
-
case 'justify':
|
|
28
|
-
case 'max':
|
|
29
|
-
return '100%';
|
|
30
|
-
default:
|
|
31
|
-
return width;
|
|
32
|
-
}
|
|
33
|
-
}};
|
|
34
|
-
`;
|
|
35
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/VisualContent/blocks/Image/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;;CAEhD,CAAA;AAOD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAY;;;;;eAKpC,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE;IACxC,IAAI,aAAa,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,aAAa,CAAA;IAE3D,QAAQ,KAAK,EAAE;QACb,KAAK,MAAM;YACT,OAAO,MAAM,CAAA;QACf,KAAK,SAAS,CAAC;QACf,KAAK,KAAK;YACR,OAAO,SAAS,CAAA;KACnB;AACH,CAAC;;WAEQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACrB,QAAQ,KAAK,EAAE;QACb,KAAK,MAAM;YACT,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC;QACf,KAAK,KAAK;YACR,OAAO,MAAM,CAAA;QACf;YACE,OAAO,KAAK,CAAA;KACf;AACH,CAAC;CACF,CAAA","sourcesContent":["import { FigureWrapper } from '../../styles'\nimport styled from '@emotion/styled'\n\nexport const ImageWrapper = styled(FigureWrapper)`\n margin: 1em auto;\n`\n\ntype ImageProps = {\n width: string\n originalWidth?: string | undefined\n}\n\nexport const SelectedImage = styled.img<ImageProps>`\n display: block;\n margin: auto;\n object-fit: cover;\n\n max-width: ${({ width, originalWidth }) => {\n if (originalWidth && width === 'auto') return originalWidth\n\n switch (width) {\n case 'auto':\n return '100%'\n case 'justify':\n case 'max':\n return 'initial'\n }\n }};\n\n width: ${({ width }) => {\n switch (width) {\n case 'auto':\n return 'initial'\n case 'justify':\n case 'max':\n return '100%'\n default:\n return width\n }\n }};\n`\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ListWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
6
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/VisualContent/blocks/List/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,WAAW;;;6GAYvB,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import styled from '@emotion/styled';
|
|
2
|
-
export const ListWrapper = styled.ul `
|
|
3
|
-
list-style: none;
|
|
4
|
-
padding-left: 1em;
|
|
5
|
-
|
|
6
|
-
> li {
|
|
7
|
-
margin: 0.5em 0;
|
|
8
|
-
|
|
9
|
-
&::before {
|
|
10
|
-
content: '•';
|
|
11
|
-
margin-right: 0.5em;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
`;
|
|
15
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/VisualContent/blocks/List/styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;;CAYnC,CAAA","sourcesContent":["import styled from '@emotion/styled'\n\nexport const ListWrapper = styled.ul`\n list-style: none;\n padding-left: 1em;\n\n > li {\n margin: 0.5em 0;\n\n &::before {\n content: '•';\n margin-right: 0.5em;\n }\n }\n`\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type VideoWrapperProps = {
|
|
3
|
-
width: string | null;
|
|
4
|
-
};
|
|
5
|
-
export declare const VideoWrapper: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
-
} & import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
} & {
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
} & VideoWrapperProps, {}, {}>;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/VisualContent/blocks/Video/styles.ts"],"names":[],"mappings":";AAGA,aAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;8BA+BxB,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { FigureWrapper } from '../../styles';
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
export const VideoWrapper = styled(FigureWrapper) `
|
|
4
|
-
margin: 0;
|
|
5
|
-
|
|
6
|
-
> div {
|
|
7
|
-
> * {
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
> iframe {
|
|
12
|
-
display: block;
|
|
13
|
-
margin: auto;
|
|
14
|
-
|
|
15
|
-
aspect-ratio: 16/9;
|
|
16
|
-
|
|
17
|
-
border: none;
|
|
18
|
-
|
|
19
|
-
background-color: transparent;
|
|
20
|
-
|
|
21
|
-
width: ${({ width }) => {
|
|
22
|
-
switch (width) {
|
|
23
|
-
case 'auto':
|
|
24
|
-
return 'initial';
|
|
25
|
-
case 'justify':
|
|
26
|
-
case 'max':
|
|
27
|
-
return '100%';
|
|
28
|
-
default:
|
|
29
|
-
return width;
|
|
30
|
-
}
|
|
31
|
-
}};
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/VisualContent/blocks/Video/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAMpC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAmB;;;;;;;;;;;;;;;;;;eAkBrD,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACrB,QAAQ,KAAK,EAAE;QACb,KAAK,MAAM;YACT,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC;QACf,KAAK,KAAK;YACR,OAAO,MAAM,CAAA;QACf;YACE,OAAO,KAAK,CAAA;KACf;AACH,CAAC;;;CAGN,CAAA","sourcesContent":["import { FigureWrapper } from '../../styles'\nimport styled from '@emotion/styled'\n\ntype VideoWrapperProps = {\n width: string | null\n}\n\nexport const VideoWrapper = styled(FigureWrapper)<VideoWrapperProps>`\n margin: 0;\n\n > div {\n > * {\n max-width: 100%;\n }\n\n > iframe {\n display: block;\n margin: auto;\n\n aspect-ratio: 16/9;\n\n border: none;\n\n background-color: transparent;\n\n width: ${({ width }) => {\n switch (width) {\n case 'auto':\n return 'initial'\n case 'justify':\n case 'max':\n return '100%'\n default:\n return width\n }\n }};\n }\n }\n`\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const OuterWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const BlockWrapper: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const FigureWrapper: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
14
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/VisualContent/styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY;;;yGAiExB,CAAA;AAED,eAAO,MAAM,YAAY;;;yGAMxB,CAAA;AAED,eAAO,MAAM,aAAa;;;mGAMzB,CAAA"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
export const OuterWrapper = styled.div `
|
|
4
|
-
.sl__color {
|
|
5
|
-
padding: 2px 0;
|
|
6
|
-
border-radius: 4px;
|
|
7
|
-
|
|
8
|
-
&__bg {
|
|
9
|
-
&--red {
|
|
10
|
-
background-color: rgb(253, 235, 236);
|
|
11
|
-
}
|
|
12
|
-
&--pink {
|
|
13
|
-
background-color: rgb(253, 235, 236);
|
|
14
|
-
}
|
|
15
|
-
&--purple {
|
|
16
|
-
background-color: rgb(244, 240, 247);
|
|
17
|
-
}
|
|
18
|
-
&--blue {
|
|
19
|
-
background-color: rgb(231, 243, 248);
|
|
20
|
-
}
|
|
21
|
-
&--green {
|
|
22
|
-
background-color: rgb(237, 243, 236);
|
|
23
|
-
}
|
|
24
|
-
&--yellow {
|
|
25
|
-
background-color: rgb(251, 243, 219);
|
|
26
|
-
}
|
|
27
|
-
&--orange {
|
|
28
|
-
background-color: rgb(251, 236, 221);
|
|
29
|
-
}
|
|
30
|
-
&--brown {
|
|
31
|
-
background-color: rgb(244, 238, 238);
|
|
32
|
-
}
|
|
33
|
-
&--gray {
|
|
34
|
-
background-color: rgb(241, 241, 239);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__text {
|
|
39
|
-
&--red {
|
|
40
|
-
color: rgb(212, 76, 71);
|
|
41
|
-
}
|
|
42
|
-
&--pink {
|
|
43
|
-
color: rgb(193, 76, 138);
|
|
44
|
-
}
|
|
45
|
-
&--purple {
|
|
46
|
-
color: rgb(144, 101, 176);
|
|
47
|
-
}
|
|
48
|
-
&--blue {
|
|
49
|
-
color: rgb(51, 126, 169);
|
|
50
|
-
}
|
|
51
|
-
&--green {
|
|
52
|
-
color: rgb(68, 131, 97);
|
|
53
|
-
}
|
|
54
|
-
&--yellow {
|
|
55
|
-
color: rgb(203, 145, 47);
|
|
56
|
-
}
|
|
57
|
-
&--orange {
|
|
58
|
-
color: rgb(217, 115, 13);
|
|
59
|
-
}
|
|
60
|
-
&--brown {
|
|
61
|
-
color: rgb(159, 107, 83);
|
|
62
|
-
}
|
|
63
|
-
&--gray {
|
|
64
|
-
color: rgb(120, 119, 116);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
`;
|
|
69
|
-
export const BlockWrapper = styled.div `
|
|
70
|
-
margin: auto;
|
|
71
|
-
|
|
72
|
-
&.sl-width-max {
|
|
73
|
-
max-width: 100%;
|
|
74
|
-
}
|
|
75
|
-
`;
|
|
76
|
-
export const FigureWrapper = styled.figure `
|
|
77
|
-
figcaption {
|
|
78
|
-
display: flex;
|
|
79
|
-
justify-content: center;
|
|
80
|
-
margin-top: 6px;
|
|
81
|
-
}
|
|
82
|
-
`;
|
|
83
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/VisualContent/styles.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiErC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;CAMrC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAA;;;;;;CAMzC,CAAA","sourcesContent":["'use client'\n\nimport styled from '@emotion/styled'\n\nexport const OuterWrapper = styled.div`\n .sl__color {\n padding: 2px 0;\n border-radius: 4px;\n\n &__bg {\n &--red {\n background-color: rgb(253, 235, 236);\n }\n &--pink {\n background-color: rgb(253, 235, 236);\n }\n &--purple {\n background-color: rgb(244, 240, 247);\n }\n &--blue {\n background-color: rgb(231, 243, 248);\n }\n &--green {\n background-color: rgb(237, 243, 236);\n }\n &--yellow {\n background-color: rgb(251, 243, 219);\n }\n &--orange {\n background-color: rgb(251, 236, 221);\n }\n &--brown {\n background-color: rgb(244, 238, 238);\n }\n &--gray {\n background-color: rgb(241, 241, 239);\n }\n }\n\n &__text {\n &--red {\n color: rgb(212, 76, 71);\n }\n &--pink {\n color: rgb(193, 76, 138);\n }\n &--purple {\n color: rgb(144, 101, 176);\n }\n &--blue {\n color: rgb(51, 126, 169);\n }\n &--green {\n color: rgb(68, 131, 97);\n }\n &--yellow {\n color: rgb(203, 145, 47);\n }\n &--orange {\n color: rgb(217, 115, 13);\n }\n &--brown {\n color: rgb(159, 107, 83);\n }\n &--gray {\n color: rgb(120, 119, 116);\n }\n }\n }\n`\n\nexport const BlockWrapper = styled.div`\n margin: auto;\n\n &.sl-width-max {\n max-width: 100%;\n }\n`\n\nexport const FigureWrapper = styled.figure`\n figcaption {\n display: flex;\n justify-content: center;\n margin-top: 6px;\n }\n`\n"]}
|