skillgrid 0.0.85 → 0.0.86
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/assets/components/Snackbar/Provider/SnackbarProvider.module-CXp57W1g.css +1 -0
- package/dist/assets/components/Snackbar/Snackbar.module-gnMPmaUr.css +1 -0
- package/dist/components/Snackbar/Provider/SnackbarProvider.js +153 -64
- package/dist/components/Snackbar/Provider/SnackbarProvider.module.css.js +14 -6
- package/dist/components/Snackbar/Provider/SnackbarProvider.type.d.ts +9 -4
- package/dist/components/Snackbar/Snackbar.js +172 -134
- package/dist/components/Snackbar/Snackbar.module.css.js +42 -40
- package/dist/components/Snackbar/Snackbar.type.d.ts +8 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.css +1 -1
- package/package.json +1 -1
- package/dist/assets/components/Snackbar/Provider/SnackbarProvider.module-F1FVM9qU.css +0 -1
- package/dist/assets/components/Snackbar/Snackbar.module-KVPJ2b4w.css +0 -1
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import '../../assets/components/Snackbar/Snackbar.module-
|
|
1
|
+
import '../../assets/components/Snackbar/Snackbar.module-gnMPmaUr.css';const t = "_snackbar_92a88_13", n = "_slideIn_92a88_1", i = "_snackbarStack_92a88_44", a = "_snackbarVertical_92a88_49", c = "_fix_92a88_56", e = "_fill_92a88_62", _ = "_hug_92a88_68", s = "_stackWidth_92a88_80", o = "_content_92a88_86", r = "_textActionsContainer_92a88_96", x = "_textActionsContainerVertical_92a88_103", l = "_contentVertical_92a88_108", k = "_contentText_92a88_112", g = "_icon_92a88_117", u = "_buttonLink_92a88_122", b = "_exiting_92a88_128", d = "_slideOut_92a88_1", C = "_exitingTimeout_92a88_134", T = "_exitingClose_92a88_139", V = "_exitingStack_92a88_145", f = "_swipeTransition_92a88_151", p = "_exitingEscape_92a88_157", h = {
|
|
2
2
|
snackbar: t,
|
|
3
|
-
slideIn:
|
|
4
|
-
snackbarStack:
|
|
5
|
-
snackbarVertical:
|
|
3
|
+
slideIn: n,
|
|
4
|
+
snackbarStack: i,
|
|
5
|
+
snackbarVertical: a,
|
|
6
6
|
fix: c,
|
|
7
|
-
fill:
|
|
8
|
-
hug:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
fill: e,
|
|
8
|
+
hug: _,
|
|
9
|
+
stackWidth: s,
|
|
10
|
+
content: o,
|
|
11
|
+
textActionsContainer: r,
|
|
12
|
+
textActionsContainerVertical: x,
|
|
13
|
+
contentVertical: l,
|
|
14
|
+
contentText: k,
|
|
15
|
+
icon: g,
|
|
16
|
+
buttonLink: u,
|
|
17
|
+
exiting: b,
|
|
18
|
+
slideOut: d,
|
|
19
|
+
exitingTimeout: C,
|
|
20
|
+
exitingClose: T,
|
|
21
|
+
exitingStack: V,
|
|
22
|
+
swipeTransition: f,
|
|
23
|
+
exitingEscape: p
|
|
23
24
|
};
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
u as buttonLink,
|
|
27
|
+
o as content,
|
|
28
|
+
k as contentText,
|
|
29
|
+
l as contentVertical,
|
|
30
|
+
h as default,
|
|
31
|
+
b as exiting,
|
|
32
|
+
T as exitingClose,
|
|
33
|
+
p as exitingEscape,
|
|
34
|
+
V as exitingStack,
|
|
35
|
+
C as exitingTimeout,
|
|
36
|
+
e as fill,
|
|
36
37
|
c as fix,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
_ as hug,
|
|
39
|
+
g as icon,
|
|
40
|
+
n as slideIn,
|
|
41
|
+
d as slideOut,
|
|
41
42
|
t as snackbar,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
r as
|
|
43
|
+
i as snackbarStack,
|
|
44
|
+
a as snackbarVertical,
|
|
45
|
+
s as stackWidth,
|
|
46
|
+
f as swipeTransition,
|
|
47
|
+
r as textActionsContainer,
|
|
48
|
+
x as textActionsContainerVertical
|
|
47
49
|
};
|
|
@@ -77,8 +77,15 @@ export type SnackbarProps = {
|
|
|
77
77
|
*/
|
|
78
78
|
linkButtonProps?: LinkButtonProps;
|
|
79
79
|
/**
|
|
80
|
-
* Если true —
|
|
80
|
+
* Если true — по клику на кнопку "Link" закроется снекбар
|
|
81
81
|
* По дефолту true
|
|
82
82
|
*/
|
|
83
83
|
closeOnLinkClick?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Растягивает Snackbar до ширины контейнера стека.
|
|
86
|
+
* Служебный prop SnackbarProvider.
|
|
87
|
+
*
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
stretchToStack?: boolean;
|
|
84
91
|
};
|