@comercti/react-components 0.9.0 → 0.10.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
@@ -248,7 +248,7 @@ type: "menu" | "selection";
248
248
  itemsMenu: ItensMenu_2[];
249
249
  itemsSelection: ItemsSelection_2[];
250
250
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
251
- dropdownRef: HTMLDivElement;
251
+ dropdownRef: HTMLButtonElement;
252
252
  }, any>;
253
253
 
254
254
  declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
@@ -1219,7 +1219,7 @@ declare function __VLS_template_6(): {
1219
1219
  default: () => VNode[];
1220
1220
  };
1221
1221
  refs: {
1222
- dropdownRef: HTMLDivElement;
1222
+ dropdownRef: HTMLButtonElement;
1223
1223
  };
1224
1224
  rootEl: any;
1225
1225
  };
@@ -1910,7 +1910,7 @@ declare interface FileItem {
1910
1910
 
1911
1911
  declare type Header = {
1912
1912
  text: string;
1913
- value: string;
1913
+ value: string | ((item: Record<string, unknown>) => string);
1914
1914
  sortable?: boolean;
1915
1915
  };
1916
1916
 
@@ -2086,6 +2086,17 @@ data: IData | null;
2086
2086
  export { }
2087
2087
 
2088
2088
 
2089
+ declare module 'vue' {
2090
+ interface GlobalComponents {
2091
+ 'ce-pagination': typeof PaginationComponent;
2092
+ 'ce-progress-indicator': typeof ProgressIndicatorComponent;
2093
+ 'ce-progress-steps': typeof ProgressStepsComponent;
2094
+ 'ce-data-table': typeof DataTableComponent;
2095
+ 'ce-items-per-page': typeof ItemsPerPageComponent;
2096
+ }
2097
+ }
2098
+
2099
+
2089
2100
  declare module 'vue' {
2090
2101
  interface GlobalComponents {
2091
2102
  'ce-autocomplete': typeof AutocompleteComponent;
@@ -2129,13 +2140,9 @@ declare module 'vue' {
2129
2140
 
2130
2141
  declare module 'vue' {
2131
2142
  interface GlobalComponents {
2132
- 'ce-card': typeof CardComponent;
2133
- 'ce-card-header': typeof CardHeaderComponent;
2134
- 'ce-card-text': typeof CardTextComponent;
2135
- 'ce-content-divider': typeof ContentDividerComponent;
2136
- 'ce-footer': typeof FooterComponent;
2137
- 'ce-layout': typeof LayoutComponent;
2138
- 'ce-section-footer': typeof SectionFooterComponent;
2143
+ 'ce-avatar': typeof AvatarComponent;
2144
+ 'ce-filter-group': typeof FilterGroupComponent;
2145
+ 'ce-badge': typeof BadgeComponent;
2139
2146
  }
2140
2147
  }
2141
2148
 
@@ -2153,19 +2160,12 @@ declare module 'vue' {
2153
2160
 
2154
2161
  declare module 'vue' {
2155
2162
  interface GlobalComponents {
2156
- 'ce-pagination': typeof PaginationComponent;
2157
- 'ce-progress-indicator': typeof ProgressIndicatorComponent;
2158
- 'ce-progress-steps': typeof ProgressStepsComponent;
2159
- 'ce-data-table': typeof DataTableComponent;
2160
- 'ce-items-per-page': typeof ItemsPerPageComponent;
2161
- }
2162
- }
2163
-
2164
-
2165
- declare module 'vue' {
2166
- interface GlobalComponents {
2167
- 'ce-avatar': typeof AvatarComponent;
2168
- 'ce-filter-group': typeof FilterGroupComponent;
2169
- 'ce-badge': typeof BadgeComponent;
2163
+ 'ce-card': typeof CardComponent;
2164
+ 'ce-card-header': typeof CardHeaderComponent;
2165
+ 'ce-card-text': typeof CardTextComponent;
2166
+ 'ce-content-divider': typeof ContentDividerComponent;
2167
+ 'ce-footer': typeof FooterComponent;
2168
+ 'ce-layout': typeof LayoutComponent;
2169
+ 'ce-section-footer': typeof SectionFooterComponent;
2170
2170
  }
2171
2171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",