@symply.io/basic-components 1.6.6-alpha.2 → 1.6.6-beta.1

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.
@@ -18,7 +18,7 @@ interface SelectorBaseProps<T extends string | number> extends Omit<FormControlP
18
18
  }
19
19
  export interface SimpleSelectorProps<T extends string | number> extends SelectorBaseProps<T> {
20
20
  value: T;
21
- onChange: (value?: string | number) => void;
21
+ onChange: (value?: string | T) => void;
22
22
  }
23
23
  export interface MultipleSelectorProps<T extends string | number> extends SelectorBaseProps<T> {
24
24
  value: Array<T>;
package/README.md CHANGED
@@ -601,11 +601,11 @@ It is extended from `@mui/material/FormControl`, so it includes all properties o
601
601
 
602
602
  <h5>Multiple Selector Props</h5> Extended from the Base Props
603
603
 
604
- | Name | Type | Default | Required | Description |
605
- | -------------- | ---------------------------------- | ------- | -------- | ------------------------------------------------------------ |
606
- | onChange | func | | true | Callback fired when the `Select` value is changed.<br />**Signature:**<br/>`function(value: Array<number> | Array<string>) => void`<br/>*value:* The value of the `Select` element. |
607
- | showCheckmarks | bool | false | false | If `true` the option will be shown with a checkbox. |
608
- | value | Array\<number\> \| Array\<string\> | | false | The value of the `Select` element. |
604
+ | Name | Type | Default | Required | Description |
605
+ | -------------- | ----------------------------------- | ------- | -------- | ------------------------------------------------------------ |
606
+ | onChange | func | | true | Callback fired when the `Select` value is changed.<br />**Signature:**<br/>`function(value: Array<number> | Array<string>) => void`<br/>*value:* The value of the `Select` element. |
607
+ | showCheckmarks | bool | false | false | If `true` the option will be shown with a checkbox. |
608
+ | value | Array\<T extends number \| string\> | | | The value of the `Select` element. |
609
609
 
610
610
 
611
611
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.6.6-alpha.2",
3
+ "version": "1.6.6-beta.1",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",