-
Notifications
You must be signed in to change notification settings - Fork 683
Expand file tree
/
Copy pathlib.test.ts.snap
More file actions
281 lines (253 loc) · 7.6 KB
/
lib.test.ts.snap
File metadata and controls
281 lines (253 loc) · 7.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`SASS ESM Shims ignored1.scss: files 1`] = `Array []`;
exports[`SASS ESM Shims ignored2.scss: files 1`] = `Array []`;
exports[`SASS ESM Shims styles.module.sass: files 1`] = `
Array [
"styles.module.css",
"styles.module.sass.d.ts",
"styles.module.sass.js",
]
`;
exports[`SASS ESM Shims styles.module.sass: styles.module.css 1`] = `
"/**
* * This file gets transpiled by the heft-sass-plugin and output to the lib/ folder.
* * Then Webpack uses css-loader to embed, and finally style-loader to apply it to the DOM.
* */
/**
* * This file is a SASS partial and therefore has no direct output file, but gets embedded into other files.
* */
.exampleImport {
font-style: italic;
color: darkcyan;
}
html, body {
margin: 0;
height: 100%;
background-color: #c0c0c0;
font-family: Tahoma, sans-serif;
}
.exampleApp {
background-color: #ffffff;
padding: 20px;
border-radius: 5px;
width: 400px;
}
.exampleButton {
display: inline-block;
padding: 10px 20px;
border: 0 solid transparent;
font-size: 16px;
line-height: 1.5;
text-align: center;
transition-duration: 0.4s;
user-select: none;
vertical-align: middle;
transition-property: background-color, color, border-color;
background-color: mediumorchid;
border-color: mediumorchid;
border-radius: 3px;
color: #fff;
}
.exampleButton:not(:disabled):not([aria-disabled=true]) {
cursor: pointer;
}
.exampleButton:hover, .exampleButton:focus {
text-decoration: none;
}
.exampleButton:disabled, .exampleButton[aria-disabled=true] {
box-shadow: none;
}
.exampleButton:hover {
background-color: rgb(160.4485981308, 48.6878504673, 188.1121495327);
border-color: rgb(160.4485981308, 48.6878504673, 188.1121495327);
color: #fff;
}
.exampleButton:focus {
outline: 2px dotted mediumorchid;
outline-offset: 1px;
}
.exampleButton:disabled, .exampleButton[aria-disabled=true] {
background-color: mediumorchid;
border-color: mediumorchid;
color: #fff;
opacity: 0.7;
}"
`;
exports[`SASS ESM Shims styles.module.sass: styles.module.sass.d.ts 1`] = `
"declare interface IStyles {
exampleImport: string;
exampleApp: string;
exampleButton: string;
}
declare const styles: IStyles;
export default styles;"
`;
exports[`SASS ESM Shims styles.module.sass: styles.module.sass.js 1`] = `"export { default } from \\"./styles.module.css\\";"`;
exports[`SASS ESM Shims stylesAltSyntax.global.scss: files 1`] = `
Array [
"stylesAltSyntax.global.css",
"stylesAltSyntax.global.scss.d.ts",
"stylesAltSyntax.global.scss.js",
]
`;
exports[`SASS ESM Shims stylesAltSyntax.global.scss: stylesAltSyntax.global.css 1`] = `
"/**
* This file gets transpiled by the heft-sass-plugin and output to the lib/ folder.
* Then Webpack uses css-loader to embed, and finally style-loader to apply it to the DOM.
*/
.ms-label {
margin-bottom: 20px;
}"
`;
exports[`SASS ESM Shims stylesAltSyntax.global.scss: stylesAltSyntax.global.scss.d.ts 1`] = `"export {};"`;
exports[`SASS ESM Shims stylesAltSyntax.global.scss: stylesAltSyntax.global.scss.js 1`] = `"import \\"./stylesAltSyntax.global.css\\";export {};"`;
exports[`SASS ESM Shims stylesAltSyntax.module.scss: files 1`] = `
Array [
"stylesAltSyntax.module.css",
"stylesAltSyntax.module.scss.d.ts",
"stylesAltSyntax.module.scss.js",
]
`;
exports[`SASS ESM Shims stylesAltSyntax.module.scss: stylesAltSyntax.module.css 1`] = `
"/**
* This file gets transpiled by the heft-sass-plugin and output to the lib/ folder.
* Then Webpack uses css-loader to embed, and finally style-loader to apply it to the DOM.
*/
.label {
margin-bottom: var(--normalMargin, 20px);
}
.style-with-dashes {
margin-top: var(--normalMargin, 20px);
}"
`;
exports[`SASS ESM Shims stylesAltSyntax.module.scss: stylesAltSyntax.module.scss.d.ts 1`] = `
"declare interface IStyles {
label: string;
\\"style-with-dashes\\": string;
}
declare const styles: IStyles;
export default styles;"
`;
exports[`SASS ESM Shims stylesAltSyntax.module.scss: stylesAltSyntax.module.scss.js 1`] = `"export { default } from \\"./stylesAltSyntax.module.css\\";"`;
exports[`SASS ESM Shims stylesUseAltSyntax.module.scss: files 1`] = `
Array [
"stylesUseAltSyntax.module.css",
"stylesUseAltSyntax.module.scss.d.ts",
"stylesUseAltSyntax.module.scss.js",
]
`;
exports[`SASS ESM Shims stylesUseAltSyntax.module.scss: stylesUseAltSyntax.module.css 1`] = `
"/**
* This file gets transpiled by the heft-sass-plugin and output to the lib/ folder.
* Then Webpack uses css-loader to embed, and finally style-loader to apply it to the DOM.
*/
/**
* This file is a SASS partial and therefore has no direct output file,
* but gets embedded into other files.
*/
/**
* * * This file is used to verify that Sass imports using with configurable variable definition are successful.
* * */
:root {
--list-margin-top: calc(1.25 * 1rem);
}
.label {
display: block;
color: #4682ff;
}
.exampleList {
list-style-type: circle;
margin-top: var(--list-margin-top);
}
.exampleListItem1 {
color: deepskyblue;
}
.exampleListItem2 {
background-color: dodgerblue;
color: #e16f00;
}
.exampleListItem3 {
background-color: #b7c274;
color: darkslateblue;
}"
`;
exports[`SASS ESM Shims stylesUseAltSyntax.module.scss: stylesUseAltSyntax.module.scss.d.ts 1`] = `
"declare interface IStyles {
label: string;
exampleList: string;
exampleListItem1: string;
exampleListItem2: string;
exampleListItem3: string;
}
declare const styles: IStyles;
export default styles;"
`;
exports[`SASS ESM Shims stylesUseAltSyntax.module.scss: stylesUseAltSyntax.module.scss.js 1`] = `"export { default } from \\"./stylesUseAltSyntax.module.css\\";"`;
exports[`SASS ESM Shims stylesUseSyntax.module.sass: files 1`] = `
Array [
"stylesUseSyntax.module.css",
"stylesUseSyntax.module.sass.d.ts",
"stylesUseSyntax.module.sass.js",
]
`;
exports[`SASS ESM Shims stylesUseSyntax.module.sass: stylesUseSyntax.module.css 1`] = `
"/**
* * This file gets transpiled by the heft-sass-plugin and output to the lib/ folder.
* * Then Webpack uses css-loader to embed, and finally style-loader to apply it to the DOM.
* */
/**
* This file is a SASS partial and therefore has no direct output file,
* but gets embedded into other files.
*/
/**
* * * This file is used to verify that Sass imports using with configurable variable definition are successful.
* * */
.exampleAnchor {
display: inline-block;
padding: 10px 20px;
border: 0 solid transparent;
font-size: 16px;
line-height: 1.5;
text-align: center;
transition-duration: 0.4s;
user-select: none;
vertical-align: middle;
transition-property: background-color, color, border-color;
background-color: #7a717f;
border-color: #7a717f;
border-radius: 3px;
color: #fff;
}
.exampleAnchor:not(:disabled):not([aria-disabled=true]) {
cursor: pointer;
}
.exampleAnchor:hover, .exampleAnchor:focus {
text-decoration: none;
}
.exampleAnchor:disabled, .exampleAnchor[aria-disabled=true] {
box-shadow: none;
}
.exampleAnchor:hover {
background-color: rgb(97.6, 90.4, 101.6);
border-color: rgb(97.6, 90.4, 101.6);
color: #fff;
}
.exampleAnchor:focus {
outline: 2px dotted #7a717f;
outline-offset: 1px;
}
.exampleAnchor:disabled, .exampleAnchor[aria-disabled=true] {
background-color: #7a717f;
border-color: #7a717f;
color: #fff;
opacity: 0.7;
}"
`;
exports[`SASS ESM Shims stylesUseSyntax.module.sass: stylesUseSyntax.module.sass.d.ts 1`] = `
"declare interface IStyles {
exampleAnchor: string;
}
declare const styles: IStyles;
export default styles;"
`;
exports[`SASS ESM Shims stylesUseSyntax.module.sass: stylesUseSyntax.module.sass.js 1`] = `"export { default } from \\"./stylesUseSyntax.module.css\\";"`;