claritas-web-framework 8.0.38 → 8.0.40
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/index.css +1 -1
- package/index.js +2 -2
- package/package.json +3 -3
- package/sass/_reboot.scss +1 -1
- package/sass/index.scss +1 -1
- package/sass/modules/_button.scss +1 -1
- package/sass/modules/_form.scss +1 -1
- package/sass/modules/_pill.scss +1 -1
- package/sass/modules/_tabs.scss +5 -5
- package/sass/modules/_tag.scss +1 -1
- package/tests.js +5 -5
- package/webpack.config.js +27 -27
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// Import CSS
|
|
2
|
-
import "./sass/index.scss";
|
|
1
|
+
// Import CSS
|
|
2
|
+
import "./sass/index.scss";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claritas-web-framework",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.40",
|
|
4
4
|
"description": "The CSS framework built for Claritas front end.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"html-webpack-plugin": "^5.5.3",
|
|
23
23
|
"mini-css-extract-plugin": "^2.7.6",
|
|
24
24
|
"prettier": "^3.0.3",
|
|
25
|
-
"sass": "^1.
|
|
25
|
+
"sass": "^1.68.0",
|
|
26
26
|
"sass-loader": "^13.3.2",
|
|
27
27
|
"stylelint": "^15.10.3",
|
|
28
28
|
"stylelint-config-standard": "^34.0.0",
|
|
29
29
|
"stylelint-config-standard-scss": "^11.0.0",
|
|
30
|
-
"stylelint-scss": "^5.1
|
|
30
|
+
"stylelint-scss": "^5.2.1",
|
|
31
31
|
"webpack": "^5.88.2",
|
|
32
32
|
"webpack-cli": "^5.1.4",
|
|
33
33
|
"webpack-dev-server": "^4.15.1"
|
package/sass/_reboot.scss
CHANGED
package/sass/index.scss
CHANGED
package/sass/modules/_form.scss
CHANGED
package/sass/modules/_pill.scss
CHANGED
package/sass/modules/_tabs.scss
CHANGED
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
& .nav--tabs {
|
|
18
|
-
--nav-item-border-color: var(--tabs-border-color);
|
|
19
|
-
--nav-item-border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
|
|
20
|
-
--nav-item-background: var(--tabs-background);
|
|
21
|
-
--nav-item-active-background: hsl(var(--body-color-h) var(--body-color-s) var(--body-color-l) / 0%);
|
|
22
|
-
|
|
23
18
|
margin-bottom: 0;
|
|
24
19
|
z-index: 1;
|
|
25
20
|
overflow: unset;
|
|
@@ -30,6 +25,11 @@
|
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
& .nav--item {
|
|
28
|
+
--nav-item-border-color: var(--tabs-border-color);
|
|
29
|
+
--nav-item-border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
|
|
30
|
+
--nav-item-background: var(--tabs-background);
|
|
31
|
+
--nav-item-active-background: hsl(var(--body-color-h) var(--body-color-s) var(--body-color-l) / 0%);
|
|
32
|
+
|
|
33
33
|
margin-bottom: -1px;
|
|
34
34
|
|
|
35
35
|
&:not(:last-child) {
|
package/sass/modules/_tag.scss
CHANGED
package/tests.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import fusv from "find-unused-sass-variables";
|
|
2
|
-
|
|
3
|
-
fusv.findAsync("scss").then((result) => {
|
|
4
|
-
console.log(result.unused);
|
|
5
|
-
});
|
|
1
|
+
import fusv from "find-unused-sass-variables";
|
|
2
|
+
|
|
3
|
+
fusv.findAsync("scss").then((result) => {
|
|
4
|
+
console.log(result.unused);
|
|
5
|
+
});
|
package/webpack.config.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
const path = require("path");
|
|
2
|
-
const rules = require("./webpack.rules");
|
|
3
|
-
const plugins = require("./webpack.plugins");
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
entry: "./index.js",
|
|
7
|
-
output: {
|
|
8
|
-
filename: "index.js",
|
|
9
|
-
path: path.resolve(__dirname, "dist"),
|
|
10
|
-
},
|
|
11
|
-
devServer: {
|
|
12
|
-
static: {
|
|
13
|
-
directory: path.resolve(path.join(__dirname, "dist")),
|
|
14
|
-
watch: true,
|
|
15
|
-
},
|
|
16
|
-
open: true,
|
|
17
|
-
liveReload: true,
|
|
18
|
-
watchFiles: ["sass/**/*", "index.html", "index.js"],
|
|
19
|
-
hot: true,
|
|
20
|
-
},
|
|
21
|
-
target: "web",
|
|
22
|
-
stats: {
|
|
23
|
-
loggingDebug: ["sass-loader"],
|
|
24
|
-
},
|
|
25
|
-
plugins,
|
|
26
|
-
module: { rules },
|
|
27
|
-
};
|
|
1
|
+
const path = require("path");
|
|
2
|
+
const rules = require("./webpack.rules");
|
|
3
|
+
const plugins = require("./webpack.plugins");
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
entry: "./index.js",
|
|
7
|
+
output: {
|
|
8
|
+
filename: "index.js",
|
|
9
|
+
path: path.resolve(__dirname, "dist"),
|
|
10
|
+
},
|
|
11
|
+
devServer: {
|
|
12
|
+
static: {
|
|
13
|
+
directory: path.resolve(path.join(__dirname, "dist")),
|
|
14
|
+
watch: true,
|
|
15
|
+
},
|
|
16
|
+
open: true,
|
|
17
|
+
liveReload: true,
|
|
18
|
+
watchFiles: ["sass/**/*", "index.html", "index.js"],
|
|
19
|
+
hot: true,
|
|
20
|
+
},
|
|
21
|
+
target: "web",
|
|
22
|
+
stats: {
|
|
23
|
+
loggingDebug: ["sass-loader"],
|
|
24
|
+
},
|
|
25
|
+
plugins,
|
|
26
|
+
module: { rules },
|
|
27
|
+
};
|