@fast-simon/dashboard-utilities 1.0.8 → 1.0.9
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/lib/icons/styles.module.css +61 -0
- package/package.json +2 -2
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.svg {
|
|
2
|
+
fill: black;
|
|
3
|
+
transition: all ease-in-out 110ms;
|
|
4
|
+
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.svg:hover {
|
|
8
|
+
fill: var(--primary-color);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.svgPath {
|
|
12
|
+
stroke: black;
|
|
13
|
+
transition: all ease-in-out 200ms;
|
|
14
|
+
stroke-width: 2;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.iconWrapper {
|
|
18
|
+
transition: all ease-in-out 200ms;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
position: relative;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.iconWrapperForStrokedSvg:hover .svgPath {
|
|
28
|
+
stroke: var(--primary-color);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.iconWrapper:hover .svg {
|
|
32
|
+
fill: var(--primary-color);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.iconWrapperForStrokedSvg:hover .svg{
|
|
36
|
+
fill: var(--primary-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.iconWrapperForStrokedSvg {
|
|
40
|
+
transition: all ease-in-out 200ms;
|
|
41
|
+
width: 100%;
|
|
42
|
+
display: flex;
|
|
43
|
+
position: relative;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
height: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.iconWrapper:hover .materialIcon {
|
|
50
|
+
color: var(--primary-color);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.materialIcon {
|
|
54
|
+
transition: all ease-in-out 200ms;
|
|
55
|
+
font-size: 26px;
|
|
56
|
+
font-variation-settings:
|
|
57
|
+
'FILL' 0,
|
|
58
|
+
'wght' 500,
|
|
59
|
+
'GRAD' 0,
|
|
60
|
+
'opsz' 48
|
|
61
|
+
}
|
package/package.json
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
"files": [
|
|
4
4
|
"lib/**/*"
|
|
5
5
|
],
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.9",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "vite",
|
|
9
9
|
"preview": "vite preview",
|
|
10
10
|
"build": "tsc -p tsconfig-build.json",
|
|
11
11
|
"prepublishOnly": "npm version patch && npm run build",
|
|
12
|
-
"postbuild": "copyfiles -u 2 src/components/**/*.css lib/components && copyfiles -u 2
|
|
12
|
+
"postbuild": "copyfiles -u 2 src/components/**/*.css lib/components && copyfiles -u 2 src/icons/**/*.css lib/icons && copyfiles -u 2 src/assets/**/*.gif lib/assets",
|
|
13
13
|
"tsc": "tsc"
|
|
14
14
|
},
|
|
15
15
|
"main": "lib/main.js",
|