@comercti/react-components-hmg 0.9.2 → 0.9.4
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 +29 -29
- package/comerc-style-guide.es.js +2267 -2272
- package/comerc-style-guide.umd.js +29 -29
- package/index.d.ts +6 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -247,8 +247,9 @@ onRedirect?: (item: ItensMenu_2) => any;
|
|
|
247
247
|
type: "menu" | "selection";
|
|
248
248
|
itemsMenu: ItensMenu_2[];
|
|
249
249
|
itemsSelection: ItemsSelection_2[];
|
|
250
|
+
top: string;
|
|
250
251
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
251
|
-
dropdownRef:
|
|
252
|
+
dropdownRef: HTMLButtonElement;
|
|
252
253
|
}, any>;
|
|
253
254
|
|
|
254
255
|
declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
|
|
@@ -1219,7 +1220,7 @@ declare function __VLS_template_6(): {
|
|
|
1219
1220
|
default: () => VNode[];
|
|
1220
1221
|
};
|
|
1221
1222
|
refs: {
|
|
1222
|
-
dropdownRef:
|
|
1223
|
+
dropdownRef: HTMLButtonElement;
|
|
1223
1224
|
};
|
|
1224
1225
|
rootEl: any;
|
|
1225
1226
|
};
|
|
@@ -1900,6 +1901,8 @@ declare interface DropdownProps {
|
|
|
1900
1901
|
itemsSelection?: ItemsSelection[];
|
|
1901
1902
|
/** Define o tipo do dropdown */
|
|
1902
1903
|
type?: 'menu' | 'selection';
|
|
1904
|
+
/** Define o valor do top para o dropdown */
|
|
1905
|
+
top?: string;
|
|
1903
1906
|
}
|
|
1904
1907
|
|
|
1905
1908
|
declare interface FileItem {
|
|
@@ -1910,7 +1913,7 @@ declare interface FileItem {
|
|
|
1910
1913
|
|
|
1911
1914
|
declare type Header = {
|
|
1912
1915
|
text: string;
|
|
1913
|
-
value: string;
|
|
1916
|
+
value: string | ((item: Record<string, unknown>) => string);
|
|
1914
1917
|
sortable?: boolean;
|
|
1915
1918
|
};
|
|
1916
1919
|
|