@comercti/react-components 0.5.0 → 0.7.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/comerc-style-guide.cjs.js +3 -3
- package/comerc-style-guide.es.js +1294 -1298
- package/comerc-style-guide.umd.js +3 -3
- package/index.d.ts +6 -6
- package/package.json +1 -1
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 |
|
|
287
|
-
change: (value: string |
|
|
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 |
|
|
293
|
-
onChange?: (value: string |
|
|
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
|
|
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
|
}
|