@sproutsocial/racine 11.0.2-dependencies.0 → 11.0.2-dependencies.1
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 +7 -0
- package/__flow__/Breadcrumb/index.js +2 -0
- package/__flow__/Collapsible/index.js +3 -0
- package/__flow__/Drawer/index.js +4 -0
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/Fieldset/index.js +8 -2
- package/__flow__/Icon/index.js +5 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/Menu/index.js +7 -0
- package/__flow__/Message/index.js +7 -0
- package/__flow__/Modal/index.js +5 -0
- package/__flow__/Popout/index.js +4 -1
- package/__flow__/SegmentedControl/index.js +2 -0
- package/__flow__/Table/index.js +6 -0
- package/__flow__/Text/index.js +8 -0
- package/__flow__/index.js +1 -0
- package/__flow__/systemProps/background.js +28 -0
- package/__flow__/systemProps/border.js +76 -0
- package/__flow__/systemProps/color.js +25 -0
- package/__flow__/systemProps/custom.js +23 -0
- package/__flow__/systemProps/flexbox.js +42 -0
- package/__flow__/systemProps/grid.js +43 -0
- package/__flow__/systemProps/index.js +17 -0
- package/__flow__/systemProps/layout.js +43 -0
- package/__flow__/systemProps/position.js +29 -0
- package/__flow__/systemProps/shadow.js +18 -0
- package/__flow__/systemProps/space.js +83 -0
- package/__flow__/systemProps/systemProps.js +55 -0
- package/__flow__/systemProps/tests/__snapshots__/background.test.js.snap +96 -0
- package/__flow__/systemProps/tests/__snapshots__/border.test.js.snap +469 -0
- package/__flow__/systemProps/tests/__snapshots__/color.test.js.snap +55 -0
- package/__flow__/systemProps/tests/__snapshots__/custom.test.js.snap +36 -0
- package/__flow__/systemProps/tests/__snapshots__/flexbox.test.js.snap +239 -0
- package/__flow__/systemProps/tests/__snapshots__/grid.test.js.snap +166 -0
- package/__flow__/systemProps/tests/__snapshots__/layout.test.js.snap +218 -0
- package/__flow__/systemProps/tests/__snapshots__/position.test.js.snap +115 -0
- package/__flow__/systemProps/tests/__snapshots__/shadow.test.js.snap +25 -0
- package/__flow__/systemProps/tests/__snapshots__/space.test.js.snap +39 -0
- package/__flow__/systemProps/tests/__snapshots__/typography.test.js.snap +166 -0
- package/__flow__/systemProps/tests/__snapshots__/variant.test.js.snap +17 -0
- package/__flow__/systemProps/tests/background.test.js +90 -0
- package/__flow__/systemProps/tests/border.test.js +299 -0
- package/__flow__/systemProps/tests/color.test.js +49 -0
- package/__flow__/systemProps/tests/custom.test.js +38 -0
- package/__flow__/systemProps/tests/flexbox.test.js +150 -0
- package/__flow__/systemProps/tests/grid.test.js +123 -0
- package/__flow__/systemProps/tests/layout.test.js +135 -0
- package/__flow__/systemProps/tests/position.test.js +78 -0
- package/__flow__/systemProps/tests/shadow.test.js +30 -0
- package/__flow__/systemProps/tests/space.test.js +32 -0
- package/__flow__/systemProps/tests/types.flow.js +55 -0
- package/__flow__/systemProps/tests/typography.test.js +93 -0
- package/__flow__/systemProps/tests/variant.test.js +25 -0
- package/__flow__/systemProps/types.flow.js +20 -0
- package/__flow__/systemProps/typography.js +34 -0
- package/__flow__/systemProps/variant.js +18 -0
- package/__flow__/themes/dark/theme.js +1 -0
- package/__flow__/themes/light/theme.js +1 -0
- package/bin/buildNpm.js +58 -0
- package/commonjs/Breadcrumb/index.js +1 -0
- package/commonjs/Collapsible/index.js +2 -0
- package/commonjs/Drawer/index.js +3 -0
- package/commonjs/Fieldset/index.js +6 -2
- package/commonjs/Icon/index.js +3 -1
- package/commonjs/IconViewBoxes.js +2 -0
- package/commonjs/Menu/index.js +6 -0
- package/commonjs/Message/index.js +13 -0
- package/commonjs/Modal/index.js +4 -0
- package/commonjs/Popout/index.js +5 -2
- package/commonjs/SegmentedControl/index.js +1 -0
- package/commonjs/Table/index.js +5 -0
- package/commonjs/Text/index.js +7 -0
- package/commonjs/include-icons.js +1 -1
- package/commonjs/index.js +78 -0
- package/commonjs/systemProps/background.js +9 -0
- package/commonjs/systemProps/border.js +9 -0
- package/commonjs/systemProps/color.js +9 -0
- package/commonjs/systemProps/custom.js +12 -0
- package/commonjs/systemProps/flexbox.js +9 -0
- package/commonjs/systemProps/grid.js +9 -0
- package/commonjs/systemProps/index.js +115 -0
- package/commonjs/systemProps/layout.js +9 -0
- package/commonjs/systemProps/position.js +9 -0
- package/commonjs/systemProps/shadow.js +9 -0
- package/commonjs/systemProps/space.js +10 -0
- package/commonjs/systemProps/systemProps.js +33 -0
- package/commonjs/systemProps/tests/types.flow.js +46 -0
- package/commonjs/systemProps/types.flow.js +1 -0
- package/commonjs/systemProps/typography.js +9 -0
- package/commonjs/systemProps/variant.js +12 -0
- package/commonjs/themes/dark/theme.js +1 -0
- package/commonjs/themes/light/theme.js +1 -0
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/dist/themes/dark/dark.scss +1 -0
- package/dist/themes/light/light.scss +1 -0
- package/icons/address-card-outline.svg +3 -0
- package/icons/deconstructed-negative-sentiment.svg +1 -1
- package/icons/deconstructed-neutral-sentiment.svg +1 -1
- package/icons/deconstructed-positive-sentiment.svg +1 -1
- package/icons/magic-wand.svg +3 -0
- package/icons/whatsapp.svg +5 -5
- package/includeIcons.js +1 -1
- package/lib/Breadcrumb/index.js +1 -0
- package/lib/Collapsible/index.js +2 -0
- package/lib/Drawer/index.js +3 -0
- package/lib/Fieldset/index.js +6 -2
- package/lib/Icon/index.js +3 -1
- package/lib/IconViewBoxes.js +2 -0
- package/lib/Menu/index.js +6 -0
- package/lib/Message/index.js +13 -0
- package/lib/Modal/index.js +4 -0
- package/lib/Popout/index.js +5 -2
- package/lib/SegmentedControl/index.js +1 -0
- package/lib/Table/index.js +5 -0
- package/lib/Text/index.js +7 -0
- package/lib/include-icons.js +1 -1
- package/lib/index.js +1 -0
- package/lib/systemProps/background.js +2 -0
- package/lib/systemProps/border.js +2 -0
- package/lib/systemProps/color.js +2 -0
- package/lib/systemProps/custom.js +5 -0
- package/lib/systemProps/flexbox.js +2 -0
- package/lib/systemProps/grid.js +2 -0
- package/lib/systemProps/index.js +14 -0
- package/lib/systemProps/layout.js +2 -0
- package/lib/systemProps/position.js +2 -0
- package/lib/systemProps/shadow.js +2 -0
- package/lib/systemProps/space.js +3 -0
- package/lib/systemProps/systemProps.js +14 -0
- package/lib/systemProps/tests/types.flow.js +44 -0
- package/lib/systemProps/types.flow.js +0 -0
- package/lib/systemProps/typography.js +2 -0
- package/lib/systemProps/variant.js +5 -0
- package/lib/themes/dark/theme.js +1 -0
- package/lib/themes/light/theme.js +1 -0
- package/package.json +15 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
|
|
3
|
+
import { layout } from "styled-system";
|
|
4
|
+
import type {
|
|
5
|
+
DisplayProperty,
|
|
6
|
+
HeightProperty,
|
|
7
|
+
MaxHeightProperty,
|
|
8
|
+
MaxWidthProperty,
|
|
9
|
+
MinHeightProperty,
|
|
10
|
+
MinWidthProperty,
|
|
11
|
+
OverflowProperty,
|
|
12
|
+
OverflowXProperty,
|
|
13
|
+
OverflowYProperty,
|
|
14
|
+
VerticalAlignProperty,
|
|
15
|
+
WidthProperty,
|
|
16
|
+
} from "csstype";
|
|
17
|
+
|
|
18
|
+
import type {
|
|
19
|
+
StyledSystemStyleFn,
|
|
20
|
+
TypeResponsiveBaseSystemProp,
|
|
21
|
+
} from "./types.flow.js";
|
|
22
|
+
|
|
23
|
+
// https://styled-system.com/table#layout
|
|
24
|
+
|
|
25
|
+
type TypeHeightProp = HeightProperty<number>;
|
|
26
|
+
type TypeWidthProp = WidthProperty<number>;
|
|
27
|
+
|
|
28
|
+
export type TypeLayoutSystemProps = $ReadOnly<{|
|
|
29
|
+
display?: TypeResponsiveBaseSystemProp<DisplayProperty>,
|
|
30
|
+
height?: TypeResponsiveBaseSystemProp<TypeHeightProp>,
|
|
31
|
+
maxHeight?: TypeResponsiveBaseSystemProp<MaxHeightProperty<number>>,
|
|
32
|
+
maxWidth?: TypeResponsiveBaseSystemProp<MaxWidthProperty<number>>,
|
|
33
|
+
minHeight?: TypeResponsiveBaseSystemProp<MinHeightProperty<number>>,
|
|
34
|
+
minWidth?: TypeResponsiveBaseSystemProp<MinWidthProperty<number>>,
|
|
35
|
+
overflow?: TypeResponsiveBaseSystemProp<OverflowProperty>,
|
|
36
|
+
overflowX?: TypeResponsiveBaseSystemProp<OverflowXProperty>,
|
|
37
|
+
overflowY?: TypeResponsiveBaseSystemProp<OverflowYProperty>,
|
|
38
|
+
size?: TypeResponsiveBaseSystemProp<TypeHeightProp & TypeWidthProp>,
|
|
39
|
+
verticalAlign?: TypeResponsiveBaseSystemProp<VerticalAlignProperty<void>>,
|
|
40
|
+
width?: TypeResponsiveBaseSystemProp<TypeWidthProp>,
|
|
41
|
+
|}>;
|
|
42
|
+
|
|
43
|
+
export const layoutSystemProps: StyledSystemStyleFn = layout;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
|
|
3
|
+
import { position } from "styled-system";
|
|
4
|
+
import type {
|
|
5
|
+
BottomProperty,
|
|
6
|
+
LeftProperty,
|
|
7
|
+
PositionProperty,
|
|
8
|
+
RightProperty,
|
|
9
|
+
TopProperty,
|
|
10
|
+
ZIndexProperty,
|
|
11
|
+
} from "csstype";
|
|
12
|
+
|
|
13
|
+
import type {
|
|
14
|
+
StyledSystemStyleFn,
|
|
15
|
+
TypeResponsiveBaseSystemProp,
|
|
16
|
+
} from "./types.flow.js";
|
|
17
|
+
|
|
18
|
+
// https://styled-system.com/table#position
|
|
19
|
+
|
|
20
|
+
export type TypePositionSystemProps = $ReadOnly<{|
|
|
21
|
+
bottom?: TypeResponsiveBaseSystemProp<BottomProperty<number>>,
|
|
22
|
+
left?: TypeResponsiveBaseSystemProp<LeftProperty<number>>,
|
|
23
|
+
position?: TypeResponsiveBaseSystemProp<PositionProperty>,
|
|
24
|
+
right?: TypeResponsiveBaseSystemProp<RightProperty<number>>,
|
|
25
|
+
top?: TypeResponsiveBaseSystemProp<TopProperty<number>>,
|
|
26
|
+
zIndex?: TypeResponsiveBaseSystemProp<ZIndexProperty>,
|
|
27
|
+
|}>;
|
|
28
|
+
|
|
29
|
+
export const positionSystemProps: StyledSystemStyleFn = position;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
|
|
3
|
+
import { shadow } from "styled-system";
|
|
4
|
+
import type { BoxShadowProperty, TextShadowProperty } from "csstype";
|
|
5
|
+
|
|
6
|
+
import type {
|
|
7
|
+
StyledSystemStyleFn,
|
|
8
|
+
TypeResponsiveBaseSystemProp,
|
|
9
|
+
} from "./types.flow.js";
|
|
10
|
+
|
|
11
|
+
// https://styled-system.com/table#shadow
|
|
12
|
+
|
|
13
|
+
export type TypeShadowSystemProps = $ReadOnly<{|
|
|
14
|
+
boxShadow?: TypeResponsiveBaseSystemProp<BoxShadowProperty>,
|
|
15
|
+
textShadow?: TypeResponsiveBaseSystemProp<TextShadowProperty>,
|
|
16
|
+
|}>;
|
|
17
|
+
|
|
18
|
+
export const shadowSystemProps: StyledSystemStyleFn = shadow;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* eslint-disable prettier/prettier */
|
|
2
|
+
// @flow strict-local
|
|
3
|
+
|
|
4
|
+
import { space } from "styled-system";
|
|
5
|
+
import type {
|
|
6
|
+
MarginProperty,
|
|
7
|
+
MarginBottomProperty,
|
|
8
|
+
MarginLeftProperty,
|
|
9
|
+
MarginRightProperty,
|
|
10
|
+
MarginTopProperty,
|
|
11
|
+
PaddingProperty,
|
|
12
|
+
PaddingBottomProperty,
|
|
13
|
+
PaddingLeftProperty,
|
|
14
|
+
PaddingRightProperty,
|
|
15
|
+
PaddingTopProperty,
|
|
16
|
+
} from "csstype";
|
|
17
|
+
|
|
18
|
+
import type {
|
|
19
|
+
StyledSystemStyleFn,
|
|
20
|
+
TypeResponsiveBaseSystemProp,
|
|
21
|
+
} from "./types.flow.js";
|
|
22
|
+
|
|
23
|
+
// https://styled-system.com/table#space
|
|
24
|
+
|
|
25
|
+
type TypeMarginSystemProp = TypeResponsiveBaseSystemProp<MarginProperty<number>>;
|
|
26
|
+
type TypeMarginBottomSystemProp = TypeResponsiveBaseSystemProp<MarginBottomProperty<number>>;
|
|
27
|
+
type TypeMarginLeftSystemProp = TypeResponsiveBaseSystemProp<MarginLeftProperty<number>>;
|
|
28
|
+
type TypeMarginRightSystemProp = TypeResponsiveBaseSystemProp<MarginRightProperty<number>>;
|
|
29
|
+
type TypeMarginTopSystemProp = TypeResponsiveBaseSystemProp<MarginTopProperty<number>>;
|
|
30
|
+
type TypeMarginXSystemProp = TypeResponsiveBaseSystemProp<MarginLeftProperty<number> & MarginRightProperty<number>>;
|
|
31
|
+
type TypeMarginYSystemProp = TypeResponsiveBaseSystemProp<MarginBottomProperty<number> & MarginTopProperty<number>>;
|
|
32
|
+
|
|
33
|
+
type TypePaddingSystemProp = TypeResponsiveBaseSystemProp<PaddingProperty<number>>;
|
|
34
|
+
type TypePaddingBottomSystemProp = TypeResponsiveBaseSystemProp<PaddingBottomProperty<number>>;
|
|
35
|
+
type TypePaddingLeftSystemProp = TypeResponsiveBaseSystemProp<PaddingLeftProperty<number>>;
|
|
36
|
+
type TypePaddingRightSystemProp = TypeResponsiveBaseSystemProp<PaddingRightProperty<number>>;
|
|
37
|
+
type TypePaddingTopSystemProp = TypeResponsiveBaseSystemProp<PaddingTopProperty<number>>;
|
|
38
|
+
type TypePaddingXSystemProp = TypeResponsiveBaseSystemProp<PaddingLeftProperty<number> & PaddingRightProperty<number>>;
|
|
39
|
+
type TypePaddingYSystemProp = TypeResponsiveBaseSystemProp<PaddingBottomProperty<number> & PaddingTopProperty<number>>;
|
|
40
|
+
|
|
41
|
+
export type TypeSpaceSystemProps = $ReadOnly<{|
|
|
42
|
+
// margin longhand
|
|
43
|
+
margin?: TypeMarginSystemProp,
|
|
44
|
+
marginBottom?: TypeMarginBottomSystemProp,
|
|
45
|
+
marginLeft?: TypeMarginLeftSystemProp,
|
|
46
|
+
marginRight?: TypeMarginRightSystemProp,
|
|
47
|
+
marginTop?: TypeMarginTopSystemProp,
|
|
48
|
+
// eslint-disable-next-line prettier/prettier
|
|
49
|
+
marginX?: TypeMarginXSystemProp,
|
|
50
|
+
// eslint-disable-next-line prettier/prettier
|
|
51
|
+
marginY?: TypeMarginYSystemProp,
|
|
52
|
+
|
|
53
|
+
// margin shorthand
|
|
54
|
+
m?: TypeMarginSystemProp,
|
|
55
|
+
mb?: TypeMarginBottomSystemProp,
|
|
56
|
+
ml?: TypeMarginLeftSystemProp,
|
|
57
|
+
mr?: TypeMarginRightSystemProp,
|
|
58
|
+
mt?: TypeMarginTopSystemProp,
|
|
59
|
+
mx?: TypeMarginXSystemProp,
|
|
60
|
+
my?: TypeMarginYSystemProp,
|
|
61
|
+
|
|
62
|
+
// padding longhand
|
|
63
|
+
padding?: TypePaddingSystemProp,
|
|
64
|
+
paddingBottom?: TypePaddingBottomSystemProp,
|
|
65
|
+
paddingLeft?: TypePaddingLeftSystemProp,
|
|
66
|
+
paddingRight?: TypePaddingRightSystemProp,
|
|
67
|
+
paddingTop?: TypePaddingTopSystemProp,
|
|
68
|
+
// eslint-disable-next-line prettier/prettier
|
|
69
|
+
paddingX?: TypePaddingXSystemProp,
|
|
70
|
+
// eslint-disable-next-line prettier/prettier
|
|
71
|
+
paddingY?: TypePaddingYSystemProp,
|
|
72
|
+
|
|
73
|
+
// padding shorthand
|
|
74
|
+
p?: TypePaddingSystemProp,
|
|
75
|
+
pb?: TypePaddingBottomSystemProp,
|
|
76
|
+
pl?: TypePaddingLeftSystemProp,
|
|
77
|
+
pr?: TypePaddingRightSystemProp,
|
|
78
|
+
pt?: TypePaddingTopSystemProp,
|
|
79
|
+
px?: TypePaddingXSystemProp,
|
|
80
|
+
py?: TypePaddingYSystemProp,
|
|
81
|
+
|}>;
|
|
82
|
+
|
|
83
|
+
export const spaceSystemProps: StyledSystemStyleFn = space;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
import { compose } from "styled-system";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
backgroundSystemProps,
|
|
6
|
+
type TypeBackgroundSystemProps,
|
|
7
|
+
} from "./background";
|
|
8
|
+
import { borderSystemProps, type TypeBorderSystemProps } from "./border";
|
|
9
|
+
import { colorSystemProps, type TypeColorSystemProps } from "./color";
|
|
10
|
+
import { customSystemProps, type TypeCustomSystemProps } from "./custom";
|
|
11
|
+
import { flexboxSystemProps, type TypeFlexboxSystemProps } from "./flexbox";
|
|
12
|
+
import { gridSystemProps, type TypeGridSystemProps } from "./grid";
|
|
13
|
+
import { layoutSystemProps, type TypeLayoutSystemProps } from "./layout";
|
|
14
|
+
import { positionSystemProps, type TypePositionSystemProps } from "./position";
|
|
15
|
+
import { shadowSystemProps, type TypeShadowSystemProps } from "./shadow";
|
|
16
|
+
import { spaceSystemProps, type TypeSpaceSystemProps } from "./space";
|
|
17
|
+
import {
|
|
18
|
+
typographySystemProps,
|
|
19
|
+
type TypeTypographySystemProps,
|
|
20
|
+
} from "./typography";
|
|
21
|
+
import { variantSystemProps, type TypeVariantSystemProps } from "./variant";
|
|
22
|
+
|
|
23
|
+
import type { StyledSystemStyleFn } from "./types.flow.js";
|
|
24
|
+
|
|
25
|
+
export type TypeSystemProps = $ReadOnly<{|
|
|
26
|
+
...TypeCustomSystemProps,
|
|
27
|
+
...TypeVariantSystemProps,
|
|
28
|
+
|
|
29
|
+
...TypeBackgroundSystemProps,
|
|
30
|
+
...TypeBorderSystemProps,
|
|
31
|
+
...TypeColorSystemProps,
|
|
32
|
+
...TypeFlexboxSystemProps,
|
|
33
|
+
...TypeGridSystemProps,
|
|
34
|
+
...TypeLayoutSystemProps,
|
|
35
|
+
...TypePositionSystemProps,
|
|
36
|
+
...TypeShadowSystemProps,
|
|
37
|
+
...TypeSpaceSystemProps,
|
|
38
|
+
...TypeTypographySystemProps,
|
|
39
|
+
|}>;
|
|
40
|
+
|
|
41
|
+
export const systemProps: StyledSystemStyleFn = compose(
|
|
42
|
+
customSystemProps,
|
|
43
|
+
variantSystemProps,
|
|
44
|
+
|
|
45
|
+
backgroundSystemProps,
|
|
46
|
+
borderSystemProps,
|
|
47
|
+
colorSystemProps,
|
|
48
|
+
flexboxSystemProps,
|
|
49
|
+
gridSystemProps,
|
|
50
|
+
layoutSystemProps,
|
|
51
|
+
positionSystemProps,
|
|
52
|
+
shadowSystemProps,
|
|
53
|
+
spaceSystemProps,
|
|
54
|
+
typographySystemProps
|
|
55
|
+
);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`background system props background 1`] = `
|
|
4
|
+
.c0 {
|
|
5
|
+
background: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.c1 {
|
|
9
|
+
background: 1px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
<div>
|
|
13
|
+
<div
|
|
14
|
+
class="c0"
|
|
15
|
+
/>
|
|
16
|
+
<div
|
|
17
|
+
class="c1"
|
|
18
|
+
/>
|
|
19
|
+
</div>
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
exports[`background system props backgroundImage 1`] = `
|
|
23
|
+
.c0 {
|
|
24
|
+
background-image: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.c1 {
|
|
28
|
+
background-image: 1px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
<div>
|
|
32
|
+
<div
|
|
33
|
+
class="c0"
|
|
34
|
+
/>
|
|
35
|
+
<div
|
|
36
|
+
class="c1"
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
|
|
41
|
+
exports[`background system props backgroundPosition 1`] = `
|
|
42
|
+
.c0 {
|
|
43
|
+
background-position: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.c1 {
|
|
47
|
+
background-position: 1px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
<div>
|
|
51
|
+
<div
|
|
52
|
+
class="c0"
|
|
53
|
+
/>
|
|
54
|
+
<div
|
|
55
|
+
class="c1"
|
|
56
|
+
/>
|
|
57
|
+
</div>
|
|
58
|
+
`;
|
|
59
|
+
|
|
60
|
+
exports[`background system props backgroundRepeat 1`] = `
|
|
61
|
+
.c0 {
|
|
62
|
+
background-repeat: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.c1 {
|
|
66
|
+
background-repeat: 1px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
<div>
|
|
70
|
+
<div
|
|
71
|
+
class="c0"
|
|
72
|
+
/>
|
|
73
|
+
<div
|
|
74
|
+
class="c1"
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
`;
|
|
78
|
+
|
|
79
|
+
exports[`background system props backgroundSize 1`] = `
|
|
80
|
+
.c0 {
|
|
81
|
+
background-size: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.c1 {
|
|
85
|
+
background-size: 1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
<div>
|
|
89
|
+
<div
|
|
90
|
+
class="c0"
|
|
91
|
+
/>
|
|
92
|
+
<div
|
|
93
|
+
class="c1"
|
|
94
|
+
/>
|
|
95
|
+
</div>
|
|
96
|
+
`;
|