@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/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: HTMLDivElement;
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: HTMLDivElement;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",