@thecb/components 9.0.6-beta.0 → 9.0.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.
package/dist/index.d.ts CHANGED
@@ -472,7 +472,7 @@ interface FormSelectProps {
472
472
  showErrors?: boolean;
473
473
  errorMessages?: ErrorMessageDictionary;
474
474
  field?: Field;
475
- onChange?: (value: string) => void | SetAction; // this type would be accurate for the Dropdown change event but not the FormSelect change event
475
+ onChange?: (value: string) => void; // this type would be more accurate for the Dropdown change event but not the FormSelect change event
476
476
  disabledValues?: string[];
477
477
  themeValues?: object;
478
478
  hasTitles?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "9.0.6-beta.0",
3
+ "version": "9.0.6-beta.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -5,7 +5,6 @@ import {
5
5
  Field,
6
6
  FieldActions,
7
7
  FormSelectOption,
8
- SetAction
9
8
  } from "../../../types/common";
10
9
 
11
10
  export interface FormSelectProps {
@@ -17,7 +16,7 @@ export interface FormSelectProps {
17
16
  showErrors?: boolean;
18
17
  errorMessages?: ErrorMessageDictionary;
19
18
  field?: Field;
20
- onChange?: (value: string) => void | SetAction; // this type would be accurate for the Dropdown change event but not the FormSelect change event
19
+ onChange?: (value: string) => void; // this type would be more accurate for the Dropdown change event but not the FormSelect change event
21
20
  disabledValues?: string[];
22
21
  themeValues?: object;
23
22
  hasTitles?: boolean;