@snack-uikit/utils 3.8.2-preview-8cf89a18.0 → 3.8.2-preview-845a4e8b.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/hooks/useDataPersist/sources/queryParamSource.js +1 -1
- package/dist/esm/hooks/useDataPersist/sources/queryParamSource.js +1 -1
- package/package.json +4 -10
- package/src/hooks/useDataPersist/sources/queryParamSource.ts +1 -1
- package/dist/cjs/fonts/SBSansInterface-Bold.woff +0 -0
- package/dist/cjs/fonts/SBSansInterface-Bold.woff2 +0 -0
- package/dist/cjs/fonts/SBSansInterface-Caps.woff +0 -0
- package/dist/cjs/fonts/SBSansInterface-Caps.woff2 +0 -0
- package/dist/cjs/fonts/SBSansInterface-Light.woff +0 -0
- package/dist/cjs/fonts/SBSansInterface-Light.woff2 +0 -0
- package/dist/cjs/fonts/SBSansInterface-Regular.woff +0 -0
- package/dist/cjs/fonts/SBSansInterface-Regular.woff2 +0 -0
- package/dist/cjs/fonts/SBSansInterface-Semibold.woff +0 -0
- package/dist/cjs/fonts/SBSansInterface-Semibold.woff2 +0 -0
- package/dist/cjs/fonts/SBSansTextMono-Bold.woff +0 -0
- package/dist/cjs/fonts/SBSansTextMono-Bold.woff2 +0 -0
- package/dist/cjs/fonts/SBSansTextMono-Regular.woff +0 -0
- package/dist/cjs/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/dist/cjs/globals.css +0 -49
- package/dist/esm/fonts/SBSansInterface-Bold.woff +0 -0
- package/dist/esm/fonts/SBSansInterface-Bold.woff2 +0 -0
- package/dist/esm/fonts/SBSansInterface-Caps.woff +0 -0
- package/dist/esm/fonts/SBSansInterface-Caps.woff2 +0 -0
- package/dist/esm/fonts/SBSansInterface-Light.woff +0 -0
- package/dist/esm/fonts/SBSansInterface-Light.woff2 +0 -0
- package/dist/esm/fonts/SBSansInterface-Regular.woff +0 -0
- package/dist/esm/fonts/SBSansInterface-Regular.woff2 +0 -0
- package/dist/esm/fonts/SBSansInterface-Semibold.woff +0 -0
- package/dist/esm/fonts/SBSansInterface-Semibold.woff2 +0 -0
- package/dist/esm/fonts/SBSansTextMono-Bold.woff +0 -0
- package/dist/esm/fonts/SBSansTextMono-Bold.woff2 +0 -0
- package/dist/esm/fonts/SBSansTextMono-Regular.woff +0 -0
- package/dist/esm/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/dist/esm/globals.css +0 -49
- package/src/fonts/SBSansInterface-Bold.woff +0 -0
- package/src/fonts/SBSansInterface-Bold.woff2 +0 -0
- package/src/fonts/SBSansInterface-Caps.woff +0 -0
- package/src/fonts/SBSansInterface-Caps.woff2 +0 -0
- package/src/fonts/SBSansInterface-Light.woff +0 -0
- package/src/fonts/SBSansInterface-Light.woff2 +0 -0
- package/src/fonts/SBSansInterface-Regular.woff +0 -0
- package/src/fonts/SBSansInterface-Regular.woff2 +0 -0
- package/src/fonts/SBSansInterface-Semibold.woff +0 -0
- package/src/fonts/SBSansInterface-Semibold.woff2 +0 -0
- package/src/fonts/SBSansTextMono-Bold.woff +0 -0
- package/src/fonts/SBSansTextMono-Bold.woff2 +0 -0
- package/src/fonts/SBSansTextMono-Regular.woff +0 -0
- package/src/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/src/globals.scss +0 -69
|
@@ -17,7 +17,7 @@ class QueryParamSource extends baseSource_1.BaseSource {
|
|
|
17
17
|
if ((0, utils_1.isBrowser)()) {
|
|
18
18
|
const url = new URL(window.location.href);
|
|
19
19
|
url.searchParams.set(this.filterKey, value);
|
|
20
|
-
history.
|
|
20
|
+
history.replaceState({}, '', url);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Utils",
|
|
7
|
-
"version": "3.8.2-preview-
|
|
7
|
+
"version": "3.8.2-preview-845a4e8b.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -13,14 +13,8 @@
|
|
|
13
13
|
"description": "Пакет с вспомогательными функциями",
|
|
14
14
|
"types": "./dist/esm/index.d.ts",
|
|
15
15
|
"exports": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"require": "./dist/cjs/index.js"
|
|
19
|
-
},
|
|
20
|
-
"./globals.css": {
|
|
21
|
-
"import": "./dist/esm/globals.css",
|
|
22
|
-
"require": "./dist/cjs/globals.css"
|
|
23
|
-
}
|
|
16
|
+
"import": "./dist/esm/index.js",
|
|
17
|
+
"require": "./dist/cjs/index.js"
|
|
24
18
|
},
|
|
25
19
|
"homepage": "https://github.com/cloud-ru-tech/snack-uikit/tree/master/packages/utils",
|
|
26
20
|
"repository": {
|
|
@@ -45,5 +39,5 @@
|
|
|
45
39
|
"react-swipeable": "7.0.2",
|
|
46
40
|
"uncontrollable": "8.0.4"
|
|
47
41
|
},
|
|
48
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "84992c2beb4db1a6bddcb3209c0ffbd26df23185"
|
|
49
43
|
}
|
|
@@ -13,7 +13,7 @@ export class QueryParamSource<TFilter> extends BaseSource<TFilter> {
|
|
|
13
13
|
if (isBrowser()) {
|
|
14
14
|
const url = new URL(window.location.href);
|
|
15
15
|
url.searchParams.set(this.filterKey, value);
|
|
16
|
-
history.
|
|
16
|
+
history.replaceState({}, '', url);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/cjs/globals.css
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@font-face{
|
|
2
|
-
font-family:"SB Sans Interface";
|
|
3
|
-
font-weight:600;
|
|
4
|
-
font-style:normal;
|
|
5
|
-
font-display:swap;
|
|
6
|
-
src:url("./fonts/SBSansInterface-Semibold.woff2") format("woff2"), url("./fonts/SBSansInterface-Semibold.woff") format("woff");
|
|
7
|
-
}
|
|
8
|
-
@font-face{
|
|
9
|
-
font-family:"SB Sans Interface";
|
|
10
|
-
font-weight:300;
|
|
11
|
-
font-style:normal;
|
|
12
|
-
font-display:swap;
|
|
13
|
-
src:url("./fonts/SBSansInterface-Light.woff2") format("woff2"), url("./fonts/SBSansInterface-Light.woff") format("woff");
|
|
14
|
-
}
|
|
15
|
-
@font-face{
|
|
16
|
-
font-family:"SB Sans Interface";
|
|
17
|
-
font-weight:bold;
|
|
18
|
-
font-style:normal;
|
|
19
|
-
font-display:swap;
|
|
20
|
-
src:url("./fonts/SBSansInterface-Bold.woff2") format("woff2"), url("./fonts/SBSansInterface-Bold.woff") format("woff");
|
|
21
|
-
}
|
|
22
|
-
@font-face{
|
|
23
|
-
font-family:"SB Sans Interface Caps";
|
|
24
|
-
font-weight:normal;
|
|
25
|
-
font-style:normal;
|
|
26
|
-
font-display:swap;
|
|
27
|
-
src:url("./fonts/SBSansInterface-Caps.woff2") format("woff2"), url("./fonts/SBSansInterface-Caps.woff") format("woff");
|
|
28
|
-
}
|
|
29
|
-
@font-face{
|
|
30
|
-
font-family:"SB Sans Interface";
|
|
31
|
-
font-weight:normal;
|
|
32
|
-
font-style:normal;
|
|
33
|
-
font-display:swap;
|
|
34
|
-
src:url("./fonts/SBSansInterface-Regular.woff2") format("woff2"), url("./fonts/SBSansInterface-Regular.woff") format("woff");
|
|
35
|
-
}
|
|
36
|
-
@font-face{
|
|
37
|
-
font-family:"SB Sans Text Mono";
|
|
38
|
-
font-weight:bold;
|
|
39
|
-
font-style:normal;
|
|
40
|
-
font-display:swap;
|
|
41
|
-
src:url("./fonts/SBSansTextMono-Bold.woff2") format("woff2"), url("./fonts/SBSansTextMono-Bold.woff") format("woff");
|
|
42
|
-
}
|
|
43
|
-
@font-face{
|
|
44
|
-
font-family:"SB Sans Text Mono";
|
|
45
|
-
font-weight:normal;
|
|
46
|
-
font-style:normal;
|
|
47
|
-
font-display:swap;
|
|
48
|
-
src:url("./fonts/SBSansTextMono-Regular.woff2") format("woff2"), url("./fonts/SBSansTextMono-Regular.woff") format("woff");
|
|
49
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/esm/globals.css
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@font-face{
|
|
2
|
-
font-family:"SB Sans Interface";
|
|
3
|
-
font-weight:600;
|
|
4
|
-
font-style:normal;
|
|
5
|
-
font-display:swap;
|
|
6
|
-
src:url("./fonts/SBSansInterface-Semibold.woff2") format("woff2"), url("./fonts/SBSansInterface-Semibold.woff") format("woff");
|
|
7
|
-
}
|
|
8
|
-
@font-face{
|
|
9
|
-
font-family:"SB Sans Interface";
|
|
10
|
-
font-weight:300;
|
|
11
|
-
font-style:normal;
|
|
12
|
-
font-display:swap;
|
|
13
|
-
src:url("./fonts/SBSansInterface-Light.woff2") format("woff2"), url("./fonts/SBSansInterface-Light.woff") format("woff");
|
|
14
|
-
}
|
|
15
|
-
@font-face{
|
|
16
|
-
font-family:"SB Sans Interface";
|
|
17
|
-
font-weight:bold;
|
|
18
|
-
font-style:normal;
|
|
19
|
-
font-display:swap;
|
|
20
|
-
src:url("./fonts/SBSansInterface-Bold.woff2") format("woff2"), url("./fonts/SBSansInterface-Bold.woff") format("woff");
|
|
21
|
-
}
|
|
22
|
-
@font-face{
|
|
23
|
-
font-family:"SB Sans Interface Caps";
|
|
24
|
-
font-weight:normal;
|
|
25
|
-
font-style:normal;
|
|
26
|
-
font-display:swap;
|
|
27
|
-
src:url("./fonts/SBSansInterface-Caps.woff2") format("woff2"), url("./fonts/SBSansInterface-Caps.woff") format("woff");
|
|
28
|
-
}
|
|
29
|
-
@font-face{
|
|
30
|
-
font-family:"SB Sans Interface";
|
|
31
|
-
font-weight:normal;
|
|
32
|
-
font-style:normal;
|
|
33
|
-
font-display:swap;
|
|
34
|
-
src:url("./fonts/SBSansInterface-Regular.woff2") format("woff2"), url("./fonts/SBSansInterface-Regular.woff") format("woff");
|
|
35
|
-
}
|
|
36
|
-
@font-face{
|
|
37
|
-
font-family:"SB Sans Text Mono";
|
|
38
|
-
font-weight:bold;
|
|
39
|
-
font-style:normal;
|
|
40
|
-
font-display:swap;
|
|
41
|
-
src:url("./fonts/SBSansTextMono-Bold.woff2") format("woff2"), url("./fonts/SBSansTextMono-Bold.woff") format("woff");
|
|
42
|
-
}
|
|
43
|
-
@font-face{
|
|
44
|
-
font-family:"SB Sans Text Mono";
|
|
45
|
-
font-weight:normal;
|
|
46
|
-
font-style:normal;
|
|
47
|
-
font-display:swap;
|
|
48
|
-
src:url("./fonts/SBSansTextMono-Regular.woff2") format("woff2"), url("./fonts/SBSansTextMono-Regular.woff") format("woff");
|
|
49
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/globals.scss
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'SB Sans Interface';
|
|
3
|
-
font-weight: 600;
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-display: swap;
|
|
6
|
-
src:
|
|
7
|
-
url('./fonts/SBSansInterface-Semibold.woff2') format('woff2'),
|
|
8
|
-
url('./fonts/SBSansInterface-Semibold.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'SB Sans Interface';
|
|
13
|
-
font-weight: 300;
|
|
14
|
-
font-style: normal;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src:
|
|
17
|
-
url('./fonts/SBSansInterface-Light.woff2') format('woff2'),
|
|
18
|
-
url('./fonts/SBSansInterface-Light.woff') format('woff');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@font-face {
|
|
22
|
-
font-family: 'SB Sans Interface';
|
|
23
|
-
font-weight: bold;
|
|
24
|
-
font-style: normal;
|
|
25
|
-
font-display: swap;
|
|
26
|
-
src:
|
|
27
|
-
url('./fonts/SBSansInterface-Bold.woff2') format('woff2'),
|
|
28
|
-
url('./fonts/SBSansInterface-Bold.woff') format('woff');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-family: 'SB Sans Interface Caps';
|
|
33
|
-
font-weight: normal;
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-display: swap;
|
|
36
|
-
src:
|
|
37
|
-
url('./fonts/SBSansInterface-Caps.woff2') format('woff2'),
|
|
38
|
-
url('./fonts/SBSansInterface-Caps.woff') format('woff');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: 'SB Sans Interface';
|
|
43
|
-
font-weight: normal;
|
|
44
|
-
font-style: normal;
|
|
45
|
-
font-display: swap;
|
|
46
|
-
src:
|
|
47
|
-
url('./fonts/SBSansInterface-Regular.woff2') format('woff2'),
|
|
48
|
-
url('./fonts/SBSansInterface-Regular.woff') format('woff');
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@font-face {
|
|
52
|
-
font-family: 'SB Sans Text Mono';
|
|
53
|
-
font-weight: bold;
|
|
54
|
-
font-style: normal;
|
|
55
|
-
font-display: swap;
|
|
56
|
-
src:
|
|
57
|
-
url('./fonts/SBSansTextMono-Bold.woff2') format('woff2'),
|
|
58
|
-
url('./fonts/SBSansTextMono-Bold.woff') format('woff');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@font-face {
|
|
62
|
-
font-family: 'SB Sans Text Mono';
|
|
63
|
-
font-weight: normal;
|
|
64
|
-
font-style: normal;
|
|
65
|
-
font-display: swap;
|
|
66
|
-
src:
|
|
67
|
-
url('./fonts/SBSansTextMono-Regular.woff2') format('woff2'),
|
|
68
|
-
url('./fonts/SBSansTextMono-Regular.woff') format('woff');
|
|
69
|
-
}
|