@comercti/react-components 0.5.0 → 0.6.0

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/index.d.ts CHANGED
@@ -283,14 +283,14 @@ focus: () => void;
283
283
  /** Abre/Fecha dropdown do select */
284
284
  click: () => void;
285
285
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
286
- "update:modelValue": (value: string | CustomEvent<any> | string[]) => any;
287
- change: (value: string | CustomEvent<any> | string[]) => any;
286
+ "update:modelValue": (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
287
+ change: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
288
288
  inputSearch: (value: string) => any;
289
289
  openDropdown: () => any;
290
290
  closeDropdown: () => any;
291
291
  }, string, PublicProps, Readonly<CeSelectFieldProps> & Readonly<{
292
- "onUpdate:modelValue"?: (value: string | CustomEvent<any> | string[]) => any;
293
- onChange?: (value: string | CustomEvent<any> | string[]) => any;
292
+ "onUpdate:modelValue"?: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
293
+ onChange?: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
294
294
  onInputSearch?: (value: string) => any;
295
295
  onOpenDropdown?: () => any;
296
296
  onCloseDropdown?: () => any;
@@ -1566,7 +1566,7 @@ export declare const CeSelect: default_2.ComponentType<typeof _default_18>;
1566
1566
 
1567
1567
  declare interface CeSelectFieldProps {
1568
1568
  /** Valor do select para two-way binding (v-model) */
1569
- modelValue?: string | string[] | null;
1569
+ modelValue?: string | number | boolean | Array<string | number | boolean> | null;
1570
1570
  /** ID única do select */
1571
1571
  id?: string;
1572
1572
  /** Estrutura para adicionar o select */
@@ -2014,7 +2014,7 @@ export declare const removeCeToast: (id: number) => void;
2014
2014
 
2015
2015
  declare interface SelectOption {
2016
2016
  label?: string;
2017
- value?: string | null;
2017
+ value?: string | number | boolean | null;
2018
2018
  disabled?: boolean;
2019
2019
  header?: string;
2020
2020
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",