@semcore/radio 5.0.3 → 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,12 @@
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
+
5
11
  ## [5.0.3] - 2022-06-02
6
12
 
7
13
  ### 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
@@ -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.3",
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