@comercti/react-components-hmg 0.22.3 → 0.22.5
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 +27 -27
- package/comerc-style-guide.es.js +3894 -3803
- package/comerc-style-guide.umd.js +29 -29
- package/index.d.ts +22 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,10 +2,7 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
2
2
|
import { ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { default as default_2 } from 'react';
|
|
4
4
|
import { DefineComponent } from 'vue';
|
|
5
|
-
import { IData } from './toast/interfaces';
|
|
6
|
-
import { ItemsSelection as ItemsSelection_2 } from './interfaces';
|
|
7
5
|
import { ItensMenu } from '../../../../../../../../../src/components/menu/interfaces';
|
|
8
|
-
import { IVariants as IVariants_2 } from './interfaces';
|
|
9
6
|
import { PublicProps } from 'vue';
|
|
10
7
|
import { Ref } from 'vue';
|
|
11
8
|
import { VNode } from 'vue';
|
|
@@ -60,6 +57,8 @@ onRedirect?: (item: SubMenu | ItensMenu_2) => any;
|
|
|
60
57
|
onBackToHome?: (value: boolean) => any;
|
|
61
58
|
onLogout?: (value: boolean) => any;
|
|
62
59
|
}>, {
|
|
60
|
+
background: "white" | "black";
|
|
61
|
+
rounded: boolean;
|
|
63
62
|
itemsMenu: ItensMenu_2[];
|
|
64
63
|
itemsMenuMyService: ItensMenu_2[];
|
|
65
64
|
itemsSearch: ItensMenu_2[];
|
|
@@ -82,7 +81,7 @@ updateValue: (value: string) => any;
|
|
|
82
81
|
}, string, PublicProps, Readonly<ITabsProps> & Readonly<{
|
|
83
82
|
onUpdateValue?: (value: string) => any;
|
|
84
83
|
}>, {
|
|
85
|
-
variant: keyof
|
|
84
|
+
variant: keyof IVariants;
|
|
86
85
|
initialTab: string;
|
|
87
86
|
inactivate: boolean;
|
|
88
87
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -265,8 +264,9 @@ onSelected?: (value: Coluna[]) => any;
|
|
|
265
264
|
onRedirect?: (item: ItensMenu_2) => any;
|
|
266
265
|
}>, {
|
|
267
266
|
type: "menu" | "selection";
|
|
267
|
+
background: "white" | "black";
|
|
268
268
|
itemsMenu: ItensMenu_2[];
|
|
269
|
-
itemsSelection:
|
|
269
|
+
itemsSelection: ItemsSelection[];
|
|
270
270
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
271
271
|
dropdownRef: HTMLButtonElement;
|
|
272
272
|
}, any>;
|
|
@@ -557,6 +557,10 @@ declare type __VLS_Props_19 = {
|
|
|
557
557
|
email?: string;
|
|
558
558
|
/** Array de opções de pesquisa do menu */
|
|
559
559
|
itemsSearch?: ItensMenu_2[];
|
|
560
|
+
/** Define a cor de fundo */
|
|
561
|
+
background?: 'white' | 'black';
|
|
562
|
+
/** Define se o menu terá bordas arredondadas */
|
|
563
|
+
rounded?: boolean;
|
|
560
564
|
};
|
|
561
565
|
|
|
562
566
|
declare type __VLS_Props_2 = {
|
|
@@ -708,6 +712,8 @@ declare type __VLS_Props_3 = {
|
|
|
708
712
|
placeholder: string;
|
|
709
713
|
/** Valor para two-way binding (v-model) */
|
|
710
714
|
modelValue?: string;
|
|
715
|
+
/** Define a cor de fundo */
|
|
716
|
+
background?: 'white' | 'black';
|
|
711
717
|
};
|
|
712
718
|
|
|
713
719
|
declare type __VLS_Props_30 = {
|
|
@@ -727,7 +733,7 @@ declare type __VLS_Props_32 = {
|
|
|
727
733
|
|
|
728
734
|
declare type __VLS_Props_33 = {
|
|
729
735
|
variant: '1' | '2' | '3' | '4' | '5';
|
|
730
|
-
background: 'white' | 'green';
|
|
736
|
+
background: 'white' | 'green' | 'black';
|
|
731
737
|
items?: ItensMenu[];
|
|
732
738
|
socialMedia?: ISocialMedia[];
|
|
733
739
|
};
|
|
@@ -1961,9 +1967,9 @@ declare const _default_33: __VLS_WithTemplateSlots_17<typeof __VLS_component_17,
|
|
|
1961
1967
|
declare const _default_34: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1962
1968
|
|
|
1963
1969
|
declare const _default_35: DefineComponent<IToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1964
|
-
sendData: (data:
|
|
1970
|
+
sendData: (data: IData<unknown>) => any;
|
|
1965
1971
|
}, string, PublicProps, Readonly<IToastProps> & Readonly<{
|
|
1966
|
-
onSendData?: (data:
|
|
1972
|
+
onSendData?: (data: IData<unknown>) => any;
|
|
1967
1973
|
}>, {
|
|
1968
1974
|
position: "left-top" | "right-top" | "left-bottom" | "right-bottom";
|
|
1969
1975
|
pauseOnHover: boolean;
|
|
@@ -1999,7 +2005,7 @@ redirect: (valor?: string) => any;
|
|
|
1999
2005
|
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
2000
2006
|
onRedirect?: (valor?: string) => any;
|
|
2001
2007
|
}>, {
|
|
2002
|
-
background: "white" | "green";
|
|
2008
|
+
background: "white" | "green" | "black";
|
|
2003
2009
|
variant: "1" | "2" | "3" | "4" | "5";
|
|
2004
2010
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2005
2011
|
|
|
@@ -2049,7 +2055,10 @@ clearFilter: () => any;
|
|
|
2049
2055
|
onFilterList?: (value: string | CustomEvent<any>) => any;
|
|
2050
2056
|
onClearFilter?: () => any;
|
|
2051
2057
|
"onInput:focus"?: () => any;
|
|
2052
|
-
}>, {
|
|
2058
|
+
}>, {
|
|
2059
|
+
background: "white" | "black";
|
|
2060
|
+
items: string[];
|
|
2061
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2053
2062
|
|
|
2054
2063
|
declare const _default_8: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2055
2064
|
|
|
@@ -2070,6 +2079,8 @@ declare interface DropdownProps {
|
|
|
2070
2079
|
itemsSelection?: ItemsSelection[];
|
|
2071
2080
|
/** Define o tipo do dropdown */
|
|
2072
2081
|
type?: 'menu' | 'selection';
|
|
2082
|
+
/** Define a cor de fundo */
|
|
2083
|
+
background?: 'white' | 'black';
|
|
2073
2084
|
}
|
|
2074
2085
|
|
|
2075
2086
|
declare interface FileItem {
|
|
@@ -2106,7 +2117,7 @@ declare interface ICollapse {
|
|
|
2106
2117
|
value: boolean;
|
|
2107
2118
|
}
|
|
2108
2119
|
|
|
2109
|
-
declare interface
|
|
2120
|
+
declare interface IData<T = unknown> {
|
|
2110
2121
|
[key: string]: T;
|
|
2111
2122
|
}
|
|
2112
2123
|
|