@comercti/react-components-hmg 0.8.7 → 0.8.9
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 +7 -7
- package/comerc-style-guide.es.js +657 -623
- package/comerc-style-guide.umd.js +7 -7
- package/index.d.ts +5 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ title: string;
|
|
|
111
111
|
color: string;
|
|
112
112
|
variant: "dropdown" | "collapse";
|
|
113
113
|
backgroundColor: string;
|
|
114
|
+
isOpen: boolean;
|
|
114
115
|
titleColor: string;
|
|
115
116
|
disabledSubmit: boolean;
|
|
116
117
|
disabledClear: boolean;
|
|
@@ -243,12 +244,11 @@ onSelected?: (value: Coluna[]) => any;
|
|
|
243
244
|
onRedirect?: (item: ItensMenu_2) => any;
|
|
244
245
|
}>, {
|
|
245
246
|
type: "menu" | "selection";
|
|
246
|
-
variant: "outlined" | "text";
|
|
247
247
|
itemsMenu: ItensMenu_2[];
|
|
248
248
|
itemsSelection: ItemsSelection_2[];
|
|
249
249
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
250
250
|
dropdownRef: HTMLDivElement;
|
|
251
|
-
},
|
|
251
|
+
}, any>;
|
|
252
252
|
|
|
253
253
|
declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
|
|
254
254
|
/** focus input */
|
|
@@ -564,6 +564,8 @@ declare type __VLS_Props_22 = {
|
|
|
564
564
|
disabledSubmit?: boolean;
|
|
565
565
|
/**Desabilita o botão de limpar */
|
|
566
566
|
disabledClear?: boolean;
|
|
567
|
+
/** Define se o menu está aberto */
|
|
568
|
+
isOpen?: boolean;
|
|
567
569
|
};
|
|
568
570
|
|
|
569
571
|
declare type __VLS_Props_23 = {
|
|
@@ -1197,7 +1199,7 @@ declare function __VLS_template_6(): {
|
|
|
1197
1199
|
refs: {
|
|
1198
1200
|
dropdownRef: HTMLDivElement;
|
|
1199
1201
|
};
|
|
1200
|
-
rootEl:
|
|
1202
|
+
rootEl: any;
|
|
1201
1203
|
};
|
|
1202
1204
|
|
|
1203
1205
|
declare function __VLS_template_7(): {
|
|
@@ -1871,8 +1873,6 @@ declare interface DropdownProps {
|
|
|
1871
1873
|
itemsMenu?: ItensMenu[];
|
|
1872
1874
|
/** Define os itens do dropdown tipo seleção */
|
|
1873
1875
|
itemsSelection?: ItemsSelection[];
|
|
1874
|
-
/** Define a variante do dropdown */
|
|
1875
|
-
variant?: 'outlined' | 'text';
|
|
1876
1876
|
/** Define o tipo do dropdown */
|
|
1877
1877
|
type?: 'menu' | 'selection';
|
|
1878
1878
|
}
|