@comercti/react-components 0.4.0 → 0.5.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
@@ -3,6 +3,7 @@ import { ComponentProvideOptions } from 'vue';
3
3
  import { default as default_2 } from 'react';
4
4
  import { DefineComponent } from 'vue';
5
5
  import { IData } from './toast/interfaces';
6
+ import { ItemsSelection as ItemsSelection_2 } from './interfaces';
6
7
  import { ItensMenu } from '../../../../../../../../../src/components/menu/interfaces';
7
8
  import { IVariants as IVariants_2 } from './interfaces';
8
9
  import { PublicProps } from 'vue';
@@ -245,6 +246,8 @@ onRedirect?: (item: ItensMenu_2) => any;
245
246
  }>, {
246
247
  type: "menu" | "selection";
247
248
  variant: "outlined" | "text";
249
+ itemsMenu: ItensMenu_2[];
250
+ itemsSelection: ItemsSelection_2[];
248
251
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
249
252
  dropdownRef: HTMLDivElement;
250
253
  }, HTMLDivElement>;
@@ -1185,8 +1188,10 @@ declare function __VLS_template_5(): {
1185
1188
  declare function __VLS_template_6(): {
1186
1189
  attrs: Partial<{}>;
1187
1190
  slots: Readonly<{
1191
+ /** Slot para o conteúdo do button */
1188
1192
  default: () => VNode[];
1189
1193
  }> & {
1194
+ /** Slot para o conteúdo do button */
1190
1195
  default: () => VNode[];
1191
1196
  };
1192
1197
  refs: {
@@ -1740,11 +1745,11 @@ size: number | string;
1740
1745
  declare const _default_25: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1741
1746
 
1742
1747
  declare const _default_26: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1743
- toggleMenu: (clicado: boolean) => any;
1744
1748
  redirect: (item: SubMenu | ItensMenu_2) => any;
1749
+ toggleMenu: (clicado: boolean) => any;
1745
1750
  }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
1746
- onToggleMenu?: (clicado: boolean) => any;
1747
1751
  onRedirect?: (item: SubMenu | ItensMenu_2) => any;
1752
+ onToggleMenu?: (clicado: boolean) => any;
1748
1753
  }>, {
1749
1754
  isHome: boolean;
1750
1755
  isSearch: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",