@cloud-ru/uikit-product-load-status 1.1.11-preview-e99a99a6.0 → 1.2.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 CHANGED
@@ -3,6 +3,17 @@
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
+ # 1.2.0 (2026-04-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **RM-4210:** forwardRef for LoadStatus ([be75d10](https://github.com/cloud-ru-tech/uikit-product/commit/be75d10e508339b02378b1a2aaf4662aa8b18d97))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 1.1.10 (2026-04-27)
7
18
 
8
19
  ### Only dependencies have been changed
@@ -1,9 +1,8 @@
1
- import { ReactNode } from 'react';
2
1
  import { WithSupportProps } from '@cloud-ru/uikit-product-utils';
3
2
  import { ProgressBarProps } from '@snack-uikit/progress-bar';
4
3
  import { LoadValueType, ProgressLimitList } from './types';
5
4
  export type LoadStatusProps = WithSupportProps<{
6
- label?: ReactNode;
5
+ label?: string;
7
6
  value?: string;
8
7
  hint?: string;
9
8
  valueType?: LoadValueType;
@@ -14,7 +13,7 @@ export type LoadStatusProps = WithSupportProps<{
14
13
  export declare const LoadStatus: import("react").ForwardRefExoticComponent<{
15
14
  'data-test-id'?: string;
16
15
  } & import("react").AriaAttributes & {
17
- label?: ReactNode;
16
+ label?: string;
18
17
  value?: string;
19
18
  hint?: string;
20
19
  valueType?: LoadValueType;
@@ -1,9 +1,8 @@
1
- import { ReactNode } from 'react';
2
1
  import { WithSupportProps } from '@cloud-ru/uikit-product-utils';
3
2
  import { ProgressBarProps } from '@snack-uikit/progress-bar';
4
3
  import { LoadValueType, ProgressLimitList } from './types';
5
4
  export type LoadStatusProps = WithSupportProps<{
6
- label?: ReactNode;
5
+ label?: string;
7
6
  value?: string;
8
7
  hint?: string;
9
8
  valueType?: LoadValueType;
@@ -14,7 +13,7 @@ export type LoadStatusProps = WithSupportProps<{
14
13
  export declare const LoadStatus: import("react").ForwardRefExoticComponent<{
15
14
  'data-test-id'?: string;
16
15
  } & import("react").AriaAttributes & {
17
- label?: ReactNode;
16
+ label?: string;
18
17
  value?: string;
19
18
  hint?: string;
20
19
  valueType?: LoadValueType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-ru/uikit-product-load-status",
3
3
  "title": "Load Status",
4
- "version": "1.1.11-preview-e99a99a6.0",
4
+ "version": "1.2.0",
5
5
  "sideEffects": [
6
6
  "*.css",
7
7
  "*.woff",
@@ -45,5 +45,5 @@
45
45
  "peerDependencies": {
46
46
  "@snack-uikit/figma-tokens": "*"
47
47
  },
48
- "gitHead": "e584fa2e3e9e6300502615ed545b67c1ac3beb7b"
48
+ "gitHead": "055ec4124cb1ee6358eef3de599dae9479fc581a"
49
49
  }
@@ -1,5 +1,5 @@
1
1
  import cn from 'classnames';
2
- import { forwardRef, ReactNode } from 'react';
2
+ import { forwardRef } from 'react';
3
3
 
4
4
  import { CrossFilledSVG } from '@cloud-ru/uikit-product-icons';
5
5
  import { extractSupportProps, WithSupportProps } from '@cloud-ru/uikit-product-utils';
@@ -14,7 +14,7 @@ import { getProgressBarColor } from './utils';
14
14
 
15
15
  export type LoadStatusProps = WithSupportProps<
16
16
  {
17
- label?: ReactNode;
17
+ label?: string;
18
18
  value?: string;
19
19
  hint?: string;
20
20
  valueType?: LoadValueType;