@comercti/react-components-hmg 0.22.2 → 0.22.3
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 +3 -3
- package/comerc-style-guide.es.js +1781 -1724
- package/comerc-style-guide.umd.js +3 -3
- package/index.d.ts +5 -142
- package/package.json +2 -3
package/index.d.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
2
|
import { ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
4
3
|
import { default as default_2 } from 'react';
|
|
5
4
|
import { DefineComponent } from 'vue';
|
|
6
|
-
import { ExtractPropTypes } from 'vue';
|
|
7
|
-
import { GlobalComponents } from 'vue';
|
|
8
|
-
import { GlobalDirectives } from 'vue';
|
|
9
5
|
import { IData } from './toast/interfaces';
|
|
10
6
|
import { ItemsSelection as ItemsSelection_2 } from './interfaces';
|
|
11
7
|
import { ItensMenu } from '../../../../../../../../../src/components/menu/interfaces';
|
|
12
8
|
import { IVariants as IVariants_2 } from './interfaces';
|
|
13
|
-
import { PropType } from 'vue';
|
|
14
9
|
import { PublicProps } from 'vue';
|
|
15
10
|
import { Ref } from 'vue';
|
|
16
11
|
import { VNode } from 'vue';
|
|
@@ -1907,9 +1902,9 @@ contoured: boolean;
|
|
|
1907
1902
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1908
1903
|
|
|
1909
1904
|
declare const _default_22: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1910
|
-
"update:modelValue": (
|
|
1905
|
+
"update:modelValue": (valor: string) => any;
|
|
1911
1906
|
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
1912
|
-
"onUpdate:modelValue"?: (
|
|
1907
|
+
"onUpdate:modelValue"?: (valor: string) => any;
|
|
1913
1908
|
}>, {
|
|
1914
1909
|
invalid: boolean;
|
|
1915
1910
|
disabled: boolean;
|
|
@@ -1920,140 +1915,7 @@ placeholder: string[];
|
|
|
1920
1915
|
shouldAutoFocus: boolean;
|
|
1921
1916
|
centralized: boolean;
|
|
1922
1917
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1923
|
-
otpRef:
|
|
1924
|
-
value: {
|
|
1925
|
-
type: PropType<string>;
|
|
1926
|
-
required: true;
|
|
1927
|
-
default: string;
|
|
1928
|
-
};
|
|
1929
|
-
placeholder: {
|
|
1930
|
-
type: PropType<string[]>;
|
|
1931
|
-
default: () => never[];
|
|
1932
|
-
};
|
|
1933
|
-
shouldAutoFocus: {
|
|
1934
|
-
type: PropType<boolean>;
|
|
1935
|
-
default: boolean;
|
|
1936
|
-
};
|
|
1937
|
-
numInputs: {
|
|
1938
|
-
type: PropType<number>;
|
|
1939
|
-
default: number;
|
|
1940
|
-
};
|
|
1941
|
-
separator: {
|
|
1942
|
-
type: PropType<string>;
|
|
1943
|
-
default: string;
|
|
1944
|
-
};
|
|
1945
|
-
inputClasses: {
|
|
1946
|
-
type: PropType<string | string[]>;
|
|
1947
|
-
default: string;
|
|
1948
|
-
};
|
|
1949
|
-
conditionalClass: {
|
|
1950
|
-
type: PropType<string[]>;
|
|
1951
|
-
default: () => never[];
|
|
1952
|
-
};
|
|
1953
|
-
inputType: {
|
|
1954
|
-
type: PropType<"number" | "password" | "tel" | "letter-numeric">;
|
|
1955
|
-
};
|
|
1956
|
-
inputmode: {
|
|
1957
|
-
type: PropType<"search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
|
|
1958
|
-
default: string;
|
|
1959
|
-
};
|
|
1960
|
-
isDisabled: {
|
|
1961
|
-
type: PropType<boolean>;
|
|
1962
|
-
default: boolean;
|
|
1963
|
-
};
|
|
1964
|
-
shouldFocusOrder: {
|
|
1965
|
-
type: PropType<boolean>;
|
|
1966
|
-
};
|
|
1967
|
-
}>> & Readonly<{
|
|
1968
|
-
"onOn-change"?: ((value: string) => any) | undefined;
|
|
1969
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
1970
|
-
"onOn-complete"?: ((value: string) => any) | undefined;
|
|
1971
|
-
}>, {
|
|
1972
|
-
clearInput: () => void;
|
|
1973
|
-
fillInput: (value: string) => void;
|
|
1974
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1975
|
-
"update:value": (value: string) => void;
|
|
1976
|
-
"on-change": (value: string) => void;
|
|
1977
|
-
"on-complete": (value: string) => void;
|
|
1978
|
-
}, PublicProps, {
|
|
1979
|
-
inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
1980
|
-
value: string;
|
|
1981
|
-
separator: string;
|
|
1982
|
-
inputClasses: string | string[];
|
|
1983
|
-
conditionalClass: string[];
|
|
1984
|
-
shouldAutoFocus: boolean;
|
|
1985
|
-
placeholder: string[];
|
|
1986
|
-
isDisabled: boolean;
|
|
1987
|
-
numInputs: number;
|
|
1988
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1989
|
-
P: {};
|
|
1990
|
-
B: {};
|
|
1991
|
-
D: {};
|
|
1992
|
-
C: {};
|
|
1993
|
-
M: {};
|
|
1994
|
-
Defaults: {};
|
|
1995
|
-
}, Readonly<ExtractPropTypes< {
|
|
1996
|
-
value: {
|
|
1997
|
-
type: PropType<string>;
|
|
1998
|
-
required: true;
|
|
1999
|
-
default: string;
|
|
2000
|
-
};
|
|
2001
|
-
placeholder: {
|
|
2002
|
-
type: PropType<string[]>;
|
|
2003
|
-
default: () => never[];
|
|
2004
|
-
};
|
|
2005
|
-
shouldAutoFocus: {
|
|
2006
|
-
type: PropType<boolean>;
|
|
2007
|
-
default: boolean;
|
|
2008
|
-
};
|
|
2009
|
-
numInputs: {
|
|
2010
|
-
type: PropType<number>;
|
|
2011
|
-
default: number;
|
|
2012
|
-
};
|
|
2013
|
-
separator: {
|
|
2014
|
-
type: PropType<string>;
|
|
2015
|
-
default: string;
|
|
2016
|
-
};
|
|
2017
|
-
inputClasses: {
|
|
2018
|
-
type: PropType<string | string[]>;
|
|
2019
|
-
default: string;
|
|
2020
|
-
};
|
|
2021
|
-
conditionalClass: {
|
|
2022
|
-
type: PropType<string[]>;
|
|
2023
|
-
default: () => never[];
|
|
2024
|
-
};
|
|
2025
|
-
inputType: {
|
|
2026
|
-
type: PropType<"number" | "password" | "tel" | "letter-numeric">;
|
|
2027
|
-
};
|
|
2028
|
-
inputmode: {
|
|
2029
|
-
type: PropType<"search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal">;
|
|
2030
|
-
default: string;
|
|
2031
|
-
};
|
|
2032
|
-
isDisabled: {
|
|
2033
|
-
type: PropType<boolean>;
|
|
2034
|
-
default: boolean;
|
|
2035
|
-
};
|
|
2036
|
-
shouldFocusOrder: {
|
|
2037
|
-
type: PropType<boolean>;
|
|
2038
|
-
};
|
|
2039
|
-
}>> & Readonly<{
|
|
2040
|
-
"onOn-change"?: ((value: string) => any) | undefined;
|
|
2041
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
2042
|
-
"onOn-complete"?: ((value: string) => any) | undefined;
|
|
2043
|
-
}>, {
|
|
2044
|
-
clearInput: () => void;
|
|
2045
|
-
fillInput: (value: string) => void;
|
|
2046
|
-
}, {}, {}, {}, {
|
|
2047
|
-
inputmode: "tel" | "none" | "text" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
2048
|
-
value: string;
|
|
2049
|
-
separator: string;
|
|
2050
|
-
inputClasses: string | string[];
|
|
2051
|
-
conditionalClass: string[];
|
|
2052
|
-
shouldAutoFocus: boolean;
|
|
2053
|
-
placeholder: string[];
|
|
2054
|
-
isDisabled: boolean;
|
|
2055
|
-
numInputs: number;
|
|
2056
|
-
}>;
|
|
1918
|
+
otpRef: HTMLDivElement;
|
|
2057
1919
|
}, HTMLDivElement>;
|
|
2058
1920
|
|
|
2059
1921
|
declare const _default_23: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
@@ -2122,7 +1984,7 @@ background: "smoky" | "transparent";
|
|
|
2122
1984
|
showLoading: boolean;
|
|
2123
1985
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2124
1986
|
|
|
2125
|
-
declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
1987
|
+
declare const _default_4: DefineComponent<IProgressStepsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IProgressStepsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2126
1988
|
|
|
2127
1989
|
declare const _default_40: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
2128
1990
|
|
|
@@ -2258,6 +2120,7 @@ declare interface IItems {
|
|
|
2258
2120
|
declare type IProgressStepsProps = {
|
|
2259
2121
|
/** Define os itens que serão exibidos */
|
|
2260
2122
|
items: IItems[];
|
|
2123
|
+
variant?: 'primary' | 'secondary';
|
|
2261
2124
|
};
|
|
2262
2125
|
|
|
2263
2126
|
export declare const isMobile: Ref<boolean, boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comercti/react-components-hmg",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"types": "index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "private",
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"react-dom": "^17.0.2",
|
|
22
22
|
"veaury": "^2.6.2",
|
|
23
23
|
"vitest-sonar-reporter": "^2.0.0",
|
|
24
|
-
"vue": "^3.5.13"
|
|
25
|
-
"vue3-otp-input": "^0.5.40"
|
|
24
|
+
"vue": "^3.5.13"
|
|
26
25
|
},
|
|
27
26
|
"peerDependencies": {
|
|
28
27
|
"vue": ">=3.2.0"
|