@vchasno/ui-kit 0.1.1 → 0.1.3

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.
@@ -2,10 +2,13 @@ import React from 'react';
2
2
  import './Switcher.global.css';
3
3
  export interface SwitcherProps {
4
4
  className?: string;
5
- height?: number;
6
5
  color?: string;
6
+ size?: string | number;
7
7
  checked?: boolean;
8
- onChecked?: (checked: boolean) => void;
8
+ onChecked?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
9
+ disabled?: boolean;
10
+ defaultChecked?: boolean;
11
+ lazy?: boolean;
9
12
  }
10
13
  declare const Switcher: React.ForwardRefExoticComponent<SwitcherProps & React.RefAttributes<HTMLInputElement>>;
11
14
  export default Switcher;
@@ -12,6 +12,7 @@ export { default as Pagination } from './Pagination';
12
12
  export type { PaginationProps } from './Pagination';
13
13
  export { default as Select } from './Select/Select';
14
14
  export type { SelectProps } from './Select/Select';
15
+ export type { Option as SelectOption } from './Select/types';
15
16
  export { default as SelectCreatable } from './Select/SelectCreatable';
16
17
  export type { SelectCreatableProps } from './Select/SelectCreatable';
17
18
  export { default as TextInput } from './TextInput';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vchasno/ui-kit",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "React UI components for Vchanso applications",
5
5
  "main": "dist/index.min.js",
6
6
  "module": "dist/index.js",