@cloud-ru/ds-uikit-product-notification 2.1.5 → 2.1.6-preview-c4c5a859.0
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/cjs/components/NotificationPanel/components/NotificationCardStack/styles.module.css +1 -1
- package/dist/cjs/components/NotificationPanel/helperComponents/StackTail/styles.module.css +2 -2
- package/dist/cjs/style.css +3 -3
- package/dist/esm/components/NotificationPanel/components/NotificationCardStack/styles.module.css +1 -1
- package/dist/esm/components/NotificationPanel/helperComponents/StackTail/styles.module.css +2 -2
- package/dist/esm/style.css +3 -3
- package/package.json +19 -19
- package/src/components/NotificationPanel/components/NotificationCardStack/styles.module.scss +1 -1
- package/src/components/NotificationPanel/helperComponents/StackTail/styles.module.scss +2 -2
package/dist/cjs/components/NotificationPanel/components/NotificationCardStack/styles.module.css
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
opacity:0;
|
|
63
63
|
transition:translate var(--snack-notification-stack-animation-duration), scale var(--snack-notification-stack-animation-duration), opacity var(--snack-notification-stack-animation-duration);
|
|
64
64
|
}
|
|
65
|
-
[data-open] .animationContainer{
|
|
65
|
+
.stack[data-open] .animationContainer{
|
|
66
66
|
translate:0 0;
|
|
67
67
|
scale:1;
|
|
68
68
|
opacity:1;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
width:100%;
|
|
13
13
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) calc(calc(var(--snack-notification-stack-animation-duration) / 2) / 1.7) ease-out;
|
|
14
14
|
}
|
|
15
|
-
[data-open] .animationContainer{
|
|
15
|
+
.container[data-open] .animationContainer{
|
|
16
16
|
bottom:calc(-1 * calc(8 * var(--sn-primitive-dimension-52, 52px)));
|
|
17
17
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) ease-out;
|
|
18
18
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
bottom:0;
|
|
43
43
|
left:var(--sn-primitive-dimension-8, 8px);
|
|
44
44
|
}
|
|
45
|
-
[data-open] .card{
|
|
45
|
+
.container[data-open] .card{
|
|
46
46
|
right:0;
|
|
47
47
|
left:0;
|
|
48
48
|
opacity:0;
|
package/dist/cjs/style.css
CHANGED
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
opacity:0;
|
|
289
289
|
transition:translate var(--snack-notification-stack-animation-duration), scale var(--snack-notification-stack-animation-duration), opacity var(--snack-notification-stack-animation-duration);
|
|
290
290
|
}
|
|
291
|
-
[data-open] .animationContainer{
|
|
291
|
+
.stack[data-open] .animationContainer{
|
|
292
292
|
translate:0 0;
|
|
293
293
|
scale:1;
|
|
294
294
|
opacity:1;
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
width:100%;
|
|
347
347
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) calc(calc(var(--snack-notification-stack-animation-duration) / 2) / 1.7) ease-out;
|
|
348
348
|
}
|
|
349
|
-
[data-open] .animationContainer{
|
|
349
|
+
.container[data-open] .animationContainer{
|
|
350
350
|
bottom:calc(-1 * calc(8 * var(--sn-primitive-dimension-52, 52px)));
|
|
351
351
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) ease-out;
|
|
352
352
|
}
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
bottom:0;
|
|
377
377
|
left:var(--sn-primitive-dimension-8, 8px);
|
|
378
378
|
}
|
|
379
|
-
[data-open] .card{
|
|
379
|
+
.container[data-open] .card{
|
|
380
380
|
right:0;
|
|
381
381
|
left:0;
|
|
382
382
|
opacity:0;
|
package/dist/esm/components/NotificationPanel/components/NotificationCardStack/styles.module.css
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
opacity:0;
|
|
63
63
|
transition:translate var(--snack-notification-stack-animation-duration), scale var(--snack-notification-stack-animation-duration), opacity var(--snack-notification-stack-animation-duration);
|
|
64
64
|
}
|
|
65
|
-
[data-open] .animationContainer{
|
|
65
|
+
.stack[data-open] .animationContainer{
|
|
66
66
|
translate:0 0;
|
|
67
67
|
scale:1;
|
|
68
68
|
opacity:1;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
width:100%;
|
|
13
13
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) calc(calc(var(--snack-notification-stack-animation-duration) / 2) / 1.7) ease-out;
|
|
14
14
|
}
|
|
15
|
-
[data-open] .animationContainer{
|
|
15
|
+
.container[data-open] .animationContainer{
|
|
16
16
|
bottom:calc(-1 * calc(8 * var(--sn-primitive-dimension-52, 52px)));
|
|
17
17
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) ease-out;
|
|
18
18
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
bottom:0;
|
|
43
43
|
left:var(--sn-primitive-dimension-8, 8px);
|
|
44
44
|
}
|
|
45
|
-
[data-open] .card{
|
|
45
|
+
.container[data-open] .card{
|
|
46
46
|
right:0;
|
|
47
47
|
left:0;
|
|
48
48
|
opacity:0;
|
package/dist/esm/style.css
CHANGED
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
opacity:0;
|
|
289
289
|
transition:translate var(--snack-notification-stack-animation-duration), scale var(--snack-notification-stack-animation-duration), opacity var(--snack-notification-stack-animation-duration);
|
|
290
290
|
}
|
|
291
|
-
[data-open] .animationContainer{
|
|
291
|
+
.stack[data-open] .animationContainer{
|
|
292
292
|
translate:0 0;
|
|
293
293
|
scale:1;
|
|
294
294
|
opacity:1;
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
width:100%;
|
|
347
347
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) calc(calc(var(--snack-notification-stack-animation-duration) / 2) / 1.7) ease-out;
|
|
348
348
|
}
|
|
349
|
-
[data-open] .animationContainer{
|
|
349
|
+
.container[data-open] .animationContainer{
|
|
350
350
|
bottom:calc(-1 * calc(8 * var(--sn-primitive-dimension-52, 52px)));
|
|
351
351
|
transition:bottom calc(var(--snack-notification-stack-animation-duration) / 2) ease-out;
|
|
352
352
|
}
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
bottom:0;
|
|
377
377
|
left:var(--sn-primitive-dimension-8, 8px);
|
|
378
378
|
}
|
|
379
|
-
[data-open] .card{
|
|
379
|
+
.container[data-open] .card{
|
|
380
380
|
right:0;
|
|
381
381
|
left:0;
|
|
382
382
|
opacity:0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/ds-uikit-product-notification",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6-preview-c4c5a859.0",
|
|
4
4
|
"description": "Пакет уведомлений — карточка NotificationCard, лента NotificationPanelContent со стеками и группами и адаптивная обёртка NotificationPanel (drawer на desktop, bottom-sheet на mobile).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@cloud-ru/ds-adaptive": "
|
|
38
|
-
"@cloud-ru/ds-
|
|
39
|
-
"@cloud-ru/ds-
|
|
40
|
-
"@cloud-ru/ds-drawer": "
|
|
41
|
-
"@cloud-ru/ds-icons": "
|
|
42
|
-
"@cloud-ru/ds-
|
|
43
|
-
"@cloud-ru/ds-
|
|
44
|
-
"@cloud-ru/ds-list": "
|
|
45
|
-
"@cloud-ru/ds-materials": "
|
|
46
|
-
"@cloud-ru/ds-scroll": "
|
|
47
|
-
"@cloud-ru/ds-segment-control": "
|
|
48
|
-
"@cloud-ru/ds-skeleton": "
|
|
49
|
-
"@cloud-ru/ds-status": "
|
|
50
|
-
"@cloud-ru/ds-tag": "
|
|
51
|
-
"@cloud-ru/ds-
|
|
52
|
-
"@cloud-ru/ds-
|
|
53
|
-
"@cloud-ru/ds-
|
|
54
|
-
"@cloud-ru/ds-
|
|
37
|
+
"@cloud-ru/ds-adaptive": "1.0.3",
|
|
38
|
+
"@cloud-ru/ds-chips": "1.2.6-preview-c4c5a859.0",
|
|
39
|
+
"@cloud-ru/ds-button": "1.0.5",
|
|
40
|
+
"@cloud-ru/ds-drawer": "2.1.7-preview-c4c5a859.0",
|
|
41
|
+
"@cloud-ru/ds-icons": "1.7.1",
|
|
42
|
+
"@cloud-ru/ds-link": "1.0.18",
|
|
43
|
+
"@cloud-ru/ds-info-block": "1.0.4",
|
|
44
|
+
"@cloud-ru/ds-list": "3.0.5-preview-c4c5a859.0",
|
|
45
|
+
"@cloud-ru/ds-materials": "2.0.2",
|
|
46
|
+
"@cloud-ru/ds-scroll": "1.0.6",
|
|
47
|
+
"@cloud-ru/ds-segment-control": "1.0.18",
|
|
48
|
+
"@cloud-ru/ds-skeleton": "1.0.3",
|
|
49
|
+
"@cloud-ru/ds-status": "1.1.14-preview-c4c5a859.0",
|
|
50
|
+
"@cloud-ru/ds-tag": "1.1.19-preview-c4c5a859.0",
|
|
51
|
+
"@cloud-ru/ds-tooltip": "1.0.16",
|
|
52
|
+
"@cloud-ru/ds-truncate-string": "1.0.17",
|
|
53
|
+
"@cloud-ru/ds-utils": "1.3.0",
|
|
54
|
+
"@cloud-ru/ds-typography": "1.0.2"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
@@ -32,7 +32,7 @@ $tail-slide-distance: calc(8 * #{base.$sn-primitive-dimension-52});
|
|
|
32
32
|
// после того, как стопка уехала вверх.
|
|
33
33
|
transition: bottom $halfDuration calc(#{$halfDuration} / 1.7) ease-out;
|
|
34
34
|
|
|
35
|
-
[data-open] & {
|
|
35
|
+
.container[data-open] & {
|
|
36
36
|
bottom: calc(-1 * #{$tail-slide-distance});
|
|
37
37
|
transition: bottom $halfDuration ease-out;
|
|
38
38
|
}
|
|
@@ -77,7 +77,7 @@ $tail-slide-distance: calc(8 * #{base.$sn-primitive-dimension-52});
|
|
|
77
77
|
|
|
78
78
|
// На раскрытии корешки разъезжаются на всю ширину и затухают (без задержки),
|
|
79
79
|
// визуально «превращаясь» в выезжающие карточки стопки.
|
|
80
|
-
[data-open] & {
|
|
80
|
+
.container[data-open] & {
|
|
81
81
|
right: 0;
|
|
82
82
|
left: 0;
|
|
83
83
|
opacity: 0;
|