@cloud-ru/uikit-product-utils 7.0.2 → 8.0.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/CHANGELOG.md +23 -0
- package/dist/cjs/components/index.d.ts +0 -1
- package/dist/cjs/components/index.js +0 -1
- package/dist/cjs/config.d.ts +2 -0
- package/dist/cjs/config.js +18 -0
- package/dist/cjs/hooks/index.d.ts +0 -1
- package/dist/cjs/hooks/index.js +0 -1
- package/dist/cjs/styles/default.js +4 -4
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/components/index.js +0 -1
- package/dist/esm/config.d.ts +2 -0
- package/dist/esm/config.js +2 -0
- package/dist/esm/hooks/index.d.ts +0 -1
- package/dist/esm/hooks/index.js +0 -1
- package/dist/esm/styles/default.js +1 -1
- package/package.json +22 -6
- package/src/components/index.ts +0 -1
- package/src/config.ts +2 -0
- package/src/hooks/index.ts +0 -1
- package/src/styles/default.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 8.0.0 (2025-11-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* **FF-7631:** special entry for useConfig ([21d4aea](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/21d4aea1e3ea05b517f66080af8f2eefaf999cfb))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 7.0.3 (2025-11-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **PD-3377:** removed contributors ([121640f](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/121640f7b88b20a728a6ad2c39de8841532bb308))
|
|
23
|
+
* **PD-3377:** replaced tokens import to snack-uikit scoped package ([dd13d3b](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/dd13d3b7134a4b0d4696830dcd78c0e790700d09))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
## 7.0.2 (2025-11-13)
|
|
7
30
|
|
|
8
31
|
|
|
@@ -14,5 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ConfigProvider"), exports);
|
|
18
17
|
__exportStar(require("./ForThemeMode"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./components/ConfigProvider"), exports);
|
|
18
|
+
__exportStar(require("./hooks/useConfig"), exports);
|
|
@@ -6,7 +6,6 @@ export * from './useForceUpdate';
|
|
|
6
6
|
export * from './useForceUpdateOnPageLoadedCompletely';
|
|
7
7
|
export * from './useEventHandler';
|
|
8
8
|
export * from './useUniqueId';
|
|
9
|
-
export * from './useConfig';
|
|
10
9
|
export * from './useTextProvider';
|
|
11
10
|
export * from './useAdaptive';
|
|
12
11
|
export * from './useDisplayMode';
|
package/dist/cjs/hooks/index.js
CHANGED
|
@@ -22,7 +22,6 @@ __exportStar(require("./useForceUpdate"), exports);
|
|
|
22
22
|
__exportStar(require("./useForceUpdateOnPageLoadedCompletely"), exports);
|
|
23
23
|
__exportStar(require("./useEventHandler"), exports);
|
|
24
24
|
__exportStar(require("./useUniqueId"), exports);
|
|
25
|
-
__exportStar(require("./useConfig"), exports);
|
|
26
25
|
__exportStar(require("./useTextProvider"), exports);
|
|
27
26
|
__exportStar(require("./useAdaptive"), exports);
|
|
28
27
|
__exportStar(require("./useDisplayMode"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SHADOW = exports.ANIMATIONS = exports.DEFAULT_STYLES = void 0;
|
|
4
|
-
const
|
|
4
|
+
const figma_tokens_1 = require("@snack-uikit/figma-tokens");
|
|
5
5
|
function getLoadingWheelAnimationPerChild(quantity, duration) {
|
|
6
6
|
function getLoadingWheelAnimation(child) {
|
|
7
7
|
return `
|
|
@@ -59,7 +59,7 @@ exports.ANIMATIONS = {
|
|
|
59
59
|
`,
|
|
60
60
|
};
|
|
61
61
|
exports.SHADOW = {
|
|
62
|
-
SMALL:
|
|
63
|
-
MEDIUM:
|
|
64
|
-
LARGE:
|
|
62
|
+
SMALL: figma_tokens_1.themeVars.boxShadow.elevation.level1, // old value: '0 2px 12px rgba(0, 0, 0, 0.04)',
|
|
63
|
+
MEDIUM: figma_tokens_1.themeVars.boxShadow.elevation.level3, // old value: '0 4px 20px rgba(0, 0, 0, 0.08)',
|
|
64
|
+
LARGE: figma_tokens_1.themeVars.boxShadow.elevation.level4, // old value: '0 8px 32px rgba(0, 0, 0, 0.08)',
|
|
65
65
|
};
|
|
@@ -6,7 +6,6 @@ export * from './useForceUpdate';
|
|
|
6
6
|
export * from './useForceUpdateOnPageLoadedCompletely';
|
|
7
7
|
export * from './useEventHandler';
|
|
8
8
|
export * from './useUniqueId';
|
|
9
|
-
export * from './useConfig';
|
|
10
9
|
export * from './useTextProvider';
|
|
11
10
|
export * from './useAdaptive';
|
|
12
11
|
export * from './useDisplayMode';
|
package/dist/esm/hooks/index.js
CHANGED
|
@@ -6,7 +6,6 @@ export * from './useForceUpdate';
|
|
|
6
6
|
export * from './useForceUpdateOnPageLoadedCompletely';
|
|
7
7
|
export * from './useEventHandler';
|
|
8
8
|
export * from './useUniqueId';
|
|
9
|
-
export * from './useConfig';
|
|
10
9
|
export * from './useTextProvider';
|
|
11
10
|
export * from './useAdaptive';
|
|
12
11
|
export * from './useDisplayMode';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-utils",
|
|
3
3
|
"title": "Utils",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8.0.0",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -9,9 +9,25 @@
|
|
|
9
9
|
],
|
|
10
10
|
"description": "",
|
|
11
11
|
"types": "./dist/esm/index.d.ts",
|
|
12
|
+
"typesVersions": {
|
|
13
|
+
"*": {
|
|
14
|
+
".": [
|
|
15
|
+
"./dist/esm/index.d.ts"
|
|
16
|
+
],
|
|
17
|
+
"uikit-config": [
|
|
18
|
+
"./dist/esm/config.d.ts"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
12
22
|
"exports": {
|
|
13
|
-
"
|
|
14
|
-
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/esm/index.js",
|
|
25
|
+
"require": "./dist/cjs/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./uikit-config": {
|
|
28
|
+
"import": "./dist/esm/config.js",
|
|
29
|
+
"require": "./dist/cjs/config.js"
|
|
30
|
+
}
|
|
15
31
|
},
|
|
16
32
|
"files": [
|
|
17
33
|
"dist/esm",
|
|
@@ -30,7 +46,6 @@
|
|
|
30
46
|
"name": "Akhremenko Grigorii",
|
|
31
47
|
"url": "https://github.com/AGrigorii"
|
|
32
48
|
},
|
|
33
|
-
"contributors": [],
|
|
34
49
|
"license": "Apache-2.0",
|
|
35
50
|
"publishConfig": {
|
|
36
51
|
"access": "public"
|
|
@@ -49,7 +64,8 @@
|
|
|
49
64
|
"@sbercloud/figma-tokens-cloud-platform": "*",
|
|
50
65
|
"@sbercloud/figma-tokens-giga-id": "*",
|
|
51
66
|
"@sbercloud/figma-tokens-mlspace": "*",
|
|
52
|
-
"@sbercloud/figma-tokens-web": "*"
|
|
67
|
+
"@sbercloud/figma-tokens-web": "*",
|
|
68
|
+
"@snack-uikit/figma-tokens": "*"
|
|
53
69
|
},
|
|
54
70
|
"peerDependenciesMeta": {
|
|
55
71
|
"@sbercloud/figma-tokens-admin": {
|
|
@@ -68,5 +84,5 @@
|
|
|
68
84
|
"optional": true
|
|
69
85
|
}
|
|
70
86
|
},
|
|
71
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "46b285728ff0dfe51d89b375469a6c05d6f2dba9"
|
|
72
88
|
}
|
package/src/components/index.ts
CHANGED
package/src/config.ts
ADDED
package/src/hooks/index.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from './useForceUpdate';
|
|
|
6
6
|
export * from './useForceUpdateOnPageLoadedCompletely';
|
|
7
7
|
export * from './useEventHandler';
|
|
8
8
|
export * from './useUniqueId';
|
|
9
|
-
export * from './useConfig';
|
|
10
9
|
export * from './useTextProvider';
|
|
11
10
|
export * from './useAdaptive';
|
|
12
11
|
export * from './useDisplayMode';
|
package/src/styles/default.ts
CHANGED