indicator-ui 1.1.99 → 1.1.100

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.
@@ -1,5 +1,6 @@
1
- export { default as MarkStyle } from './Mark.module.scss';
1
+ export { default as SquareMarkStyle } from './SquareMark.module.scss';
2
2
  export { default as InfoWrapperStyle } from './InfoWrapper.module.scss';
3
3
  export { default as TitleStyle } from './Title.module.scss';
4
4
  export { default as SubtitleStyle } from './Subtitle.module.scss';
5
5
  export { default as MainWrapperStyle } from './MainWrapper.module.scss';
6
+ export { default as RadioMarkStyle } from './RadioMark.module.scss';
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Merge } from '../../../types';
3
3
  import { MainWrapper, Mark, Subtitle, Title } from './components';
4
- type PropsType = Merge<React.ComponentProps<typeof MainWrapper>, Pick<React.ComponentProps<typeof Mark>, 'status' | 'error' | 'disabled'> & Pick<React.ComponentProps<typeof Title>, 'title'> & Pick<React.ComponentProps<typeof Subtitle>, 'subtitle'>>;
4
+ type PropsType = Merge<React.ComponentProps<typeof MainWrapper>, Pick<React.ComponentProps<typeof Mark>, 'status' | 'error' | 'disabled' | 'checkboxType'> & Pick<React.ComponentProps<typeof Title>, 'title'> & Pick<React.ComponentProps<typeof Subtitle>, 'subtitle'>>;
5
5
  export declare function CheckboxMain(props: PropsType): React.JSX.Element;
6
6
  export {};
@@ -1,5 +1,6 @@
1
1
  type PropsType = {
2
2
  status?: 'checked' | 'indeterminate';
3
+ checkboxType?: 'square' | 'radio';
3
4
  error?: boolean;
4
5
  disabled?: boolean;
5
6
  };
@@ -0,0 +1,7 @@
1
+ type PropsType = {
2
+ status?: 'checked' | 'indeterminate';
3
+ error?: boolean;
4
+ disabled?: boolean;
5
+ };
6
+ export declare function RadioMark(props: PropsType): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ type PropsType = {
2
+ status?: 'checked' | 'indeterminate';
3
+ error?: boolean;
4
+ disabled?: boolean;
5
+ };
6
+ export declare function SquareMark(props: PropsType): import("react").JSX.Element;
7
+ export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.1.99",
14
+ "version": "1.1.100",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",