@semcore/radio 5.0.1 → 5.0.4

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
@@ -2,6 +2,24 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [5.0.4] - 2022-06-27
6
+
7
+ ### Fixed
8
+
9
+ - Change inherited TS type for Radio (IFlexProps -> IBoxProps)
10
+
11
+ ## [5.0.3] - 2022-06-02
12
+
13
+ ### Changed
14
+
15
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/flex-box` [4.5.4 ~> 4.5.5]).
16
+
17
+ ## [5.0.2] - 2022-05-31
18
+
19
+ ### Changed
20
+
21
+ - Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4]).
22
+
5
23
  ## [5.0.1] - 2022-05-19
6
24
 
7
25
  ### Fixed
@@ -1,5 +1,5 @@
1
1
  import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
2
- import { IBoxProps, IFlexProps } from '@semcore/flex-box';
2
+ import { IBoxProps } from '@semcore/flex-box';
3
3
  import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
4
4
  import { Text } from '@semcore/typography';
5
5
 
@@ -7,7 +7,7 @@ export type RadioSize = 'm' | 'l';
7
7
  export type RadioState = 'normal' | 'invalid';
8
8
  export type RadioValue = string | number | boolean;
9
9
 
10
- export interface IRadioProps extends IFlexProps {
10
+ export interface IRadioProps extends IBoxProps {
11
11
  /**
12
12
  * The value displaying the state of the component
13
13
  * @default normal
@@ -1,5 +1,5 @@
1
1
  import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
2
- import { IBoxProps, IFlexProps } from '@semcore/flex-box';
2
+ import { IBoxProps } from '@semcore/flex-box';
3
3
  import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
4
4
  import { Text } from '@semcore/typography';
5
5
 
@@ -7,7 +7,7 @@ export type RadioSize = 'm' | 'l';
7
7
  export type RadioState = 'normal' | 'invalid';
8
8
  export type RadioValue = string | number | boolean;
9
9
 
10
- export interface IRadioProps extends IFlexProps {
10
+ export interface IRadioProps extends IBoxProps {
11
11
  /**
12
12
  * The value displaying the state of the component
13
13
  * @default normal
@@ -1,5 +1,5 @@
1
1
  import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
2
- import { IBoxProps, IFlexProps } from '@semcore/flex-box';
2
+ import { IBoxProps } from '@semcore/flex-box';
3
3
  import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
4
4
  import { Text } from '@semcore/typography';
5
5
 
@@ -7,7 +7,7 @@ export type RadioSize = 'm' | 'l';
7
7
  export type RadioState = 'normal' | 'invalid';
8
8
  export type RadioValue = string | number | boolean;
9
9
 
10
- export interface IRadioProps extends IFlexProps {
10
+ export interface IRadioProps extends IBoxProps {
11
11
  /**
12
12
  * The value displaying the state of the component
13
13
  * @default normal
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/radio",
3
3
  "description": "SEMRush Radio Component",
4
- "version": "5.0.1",
4
+ "version": "5.0.4",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CProps, PropGetterFn, ReturnEl } from '@semcore/core';
2
- import { IBoxProps, IFlexProps } from '@semcore/flex-box';
2
+ import { IBoxProps } from '@semcore/flex-box';
3
3
  import { IKeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
4
4
  import { Text } from '@semcore/typography';
5
5
 
@@ -7,7 +7,7 @@ export type RadioSize = 'm' | 'l';
7
7
  export type RadioState = 'normal' | 'invalid';
8
8
  export type RadioValue = string | number | boolean;
9
9
 
10
- export interface IRadioProps extends IFlexProps {
10
+ export interface IRadioProps extends IBoxProps {
11
11
  /**
12
12
  * The value displaying the state of the component
13
13
  * @default normal