@mantine/nprogress 7.6.0 → 7.6.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 +7 -7
- package/styles.css +34 -1
- package/styles.layer.css +35 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/nprogress",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2",
|
|
4
4
|
"description": "Navigation progress bar",
|
|
5
5
|
"homepage": "https://mantine.dev/x/nprogress/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"directory": "packages/@mantine/nprogress"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@mantine/core": "7.6.
|
|
47
|
-
"@mantine/hooks": "7.6.
|
|
46
|
+
"@mantine/core": "7.6.2",
|
|
47
|
+
"@mantine/hooks": "7.6.2",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@mantine/store": "7.6.
|
|
52
|
+
"@mantine/store": "7.6.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@mantine-tests/core": "1.0
|
|
56
|
-
"@mantine/core": "7.6.
|
|
57
|
-
"@mantine/hooks": "7.6.
|
|
55
|
+
"@mantine-tests/core": "1.1.0",
|
|
56
|
+
"@mantine/core": "7.6.2",
|
|
57
|
+
"@mantine/hooks": "7.6.2"
|
|
58
58
|
}
|
|
59
59
|
}
|
package/styles.css
CHANGED
|
@@ -1 +1,34 @@
|
|
|
1
|
-
.m-8f2832ae
|
|
1
|
+
.m-8f2832ae {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
inset-inline: 0;
|
|
5
|
+
z-index: var(--nprogress-z-index);
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
transition: opacity 150ms ease;
|
|
8
|
+
transition-delay: 50ms;
|
|
9
|
+
opacity: 0;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.m-8f2832ae:where([data-mounted]) {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.m-7a0fe999 {
|
|
18
|
+
position: relative;
|
|
19
|
+
transition: width 150ms ease;
|
|
20
|
+
overflow: visible;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.m-7a0fe999::before {
|
|
24
|
+
content: '';
|
|
25
|
+
position: absolute;
|
|
26
|
+
width: calc(6.25rem * var(--mantine-scale));
|
|
27
|
+
height: var(--progress-size);
|
|
28
|
+
top: 0;
|
|
29
|
+
inset-inline-end: 1px;
|
|
30
|
+
transform: rotate(4deg) translateY(-4px);
|
|
31
|
+
box-shadow:
|
|
32
|
+
0 0 10px var(--progress-section-color),
|
|
33
|
+
0 0 5px var(--progress-section-color);
|
|
34
|
+
}
|
package/styles.layer.css
CHANGED
|
@@ -1 +1,35 @@
|
|
|
1
|
-
@layer mantine {.m-8f2832ae
|
|
1
|
+
@layer mantine {.m-8f2832ae {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
inset-inline: 0;
|
|
5
|
+
z-index: var(--nprogress-z-index);
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
transition: opacity 150ms ease;
|
|
8
|
+
transition-delay: 50ms;
|
|
9
|
+
opacity: 0;
|
|
10
|
+
overflow: visible;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.m-8f2832ae:where([data-mounted]) {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.m-7a0fe999 {
|
|
18
|
+
position: relative;
|
|
19
|
+
transition: width 150ms ease;
|
|
20
|
+
overflow: visible;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.m-7a0fe999::before {
|
|
24
|
+
content: '';
|
|
25
|
+
position: absolute;
|
|
26
|
+
width: calc(6.25rem * var(--mantine-scale));
|
|
27
|
+
height: var(--progress-size);
|
|
28
|
+
top: 0;
|
|
29
|
+
inset-inline-end: 1px;
|
|
30
|
+
transform: rotate(4deg) translateY(-4px);
|
|
31
|
+
box-shadow:
|
|
32
|
+
0 0 10px var(--progress-section-color),
|
|
33
|
+
0 0 5px var(--progress-section-color);
|
|
34
|
+
}
|
|
35
|
+
}
|