@inspark/components-web 19.0.0 → 19.0.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/package.json +1 -1
- package/src/base/_functions.scss +3 -2
- package/webpack.config.js +10 -1
package/package.json
CHANGED
package/src/base/_functions.scss
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
@return map.get($inuit-config, $key);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
// color.red/green/blue are deprecated in Sass 1.79+ but required for compatibility
|
|
15
|
+
// with consumers that use Angular DevKit's bundled Sass (1.54.x) which lacks color.channel().
|
|
14
16
|
@function hex-to-rgb-numbers($color) {
|
|
15
|
-
@return '#{color.
|
|
16
|
-
//@return color.channel($color, "red", $space: rgb) + ',' + color.channel($color, "green", $space: rgb) + ',' + color.channel($color, "blue", $space: rgb)
|
|
17
|
+
@return '#{color.red($color)},#{color.green($color)},#{color.blue($color)}';
|
|
17
18
|
}
|
package/webpack.config.js
CHANGED
|
@@ -36,7 +36,16 @@ module.exports = {
|
|
|
36
36
|
use: [
|
|
37
37
|
MiniCssExtractPlugin.loader,
|
|
38
38
|
'css-loader',
|
|
39
|
-
|
|
39
|
+
{
|
|
40
|
+
loader: 'sass-loader',
|
|
41
|
+
options: {
|
|
42
|
+
sassOptions: {
|
|
43
|
+
// Suppress deprecation for color.red/green/blue —
|
|
44
|
+
// needed for Angular DevKit compatibility (bundles Sass 1.54.x which lacks color.channel)
|
|
45
|
+
silenceDeprecations: ['color-functions'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
40
49
|
],
|
|
41
50
|
},
|
|
42
51
|
{
|