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