@comercti/web-components-hmg 0.0.23
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 +75 -0
- package/comerc-style-guide.es.js +5876 -0
- package/comerc-style-guide.umd.js +75 -0
- package/favicon.ico +0 -0
- package/index.d.ts +115 -0
- package/package.json +93 -0
package/favicon.ico
ADDED
|
Binary file
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { IData } from './toast/interfaces';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
export declare const addToast: (title: string, message: string, type: "success" | "error" | "warn" | "info", duration?: number, data?: IData | null) => void;
|
|
5
|
+
|
|
6
|
+
export declare const isMobile: Ref<boolean, boolean>;
|
|
7
|
+
|
|
8
|
+
export declare const removeToast: (id: number) => void;
|
|
9
|
+
|
|
10
|
+
export declare const toasts: Ref< {
|
|
11
|
+
title: string;
|
|
12
|
+
message: string;
|
|
13
|
+
type: string;
|
|
14
|
+
duration: number;
|
|
15
|
+
id: number;
|
|
16
|
+
data: IData | null;
|
|
17
|
+
}[], {
|
|
18
|
+
title: string;
|
|
19
|
+
message: string;
|
|
20
|
+
type: string;
|
|
21
|
+
duration: number;
|
|
22
|
+
id: number;
|
|
23
|
+
data: IData | null;
|
|
24
|
+
}[] | {
|
|
25
|
+
title: string;
|
|
26
|
+
message: string;
|
|
27
|
+
type: string;
|
|
28
|
+
duration: number;
|
|
29
|
+
id: number;
|
|
30
|
+
data: IData | null;
|
|
31
|
+
}[]>;
|
|
32
|
+
|
|
33
|
+
export { }
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
declare module 'vue' {
|
|
37
|
+
interface GlobalComponents {
|
|
38
|
+
'ce-autocomplete': typeof AutocompleteComponent;
|
|
39
|
+
'ce-button': typeof ButtonComponent;
|
|
40
|
+
'ce-checkbox': typeof CheckboxComponent;
|
|
41
|
+
'ce-checkbox-group': typeof CheckboxGroupComponent;
|
|
42
|
+
'ce-date-picker': typeof DatePickerComponent;
|
|
43
|
+
'ce-input': typeof InputComponent;
|
|
44
|
+
'ce-button-groups': typeof ButtonGroupsComponent;
|
|
45
|
+
'ce-dropdown': typeof DropdownComponent;
|
|
46
|
+
'ce-file-upload': typeof FileUploadComponent;
|
|
47
|
+
'ce-radio-group': typeof RadioGroupComponent;
|
|
48
|
+
'ce-select': typeof SelectComponent;
|
|
49
|
+
'ce-slider': typeof SliderComponent;
|
|
50
|
+
'ce-toggle': typeof ToggleComponent;
|
|
51
|
+
'ce-button-wrapper': typeof ButtonWrapperComponent;
|
|
52
|
+
'ce-button-pagination': typeof ButtonPaginationComponent;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
declare module 'vue' {
|
|
58
|
+
interface GlobalComponents {
|
|
59
|
+
'ce-col': typeof ColComponent;
|
|
60
|
+
'ce-row': typeof RowComponent;
|
|
61
|
+
'ce-container': typeof ContainerComponent;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
declare module 'vue' {
|
|
67
|
+
interface GlobalComponents {
|
|
68
|
+
'ce-menu-sidebar': typeof MenuSidebarComponent;
|
|
69
|
+
'ce-menu-header': typeof MenuHeaderComponent;
|
|
70
|
+
'ce-breadcrumbs': typeof BreadcrumbsComponent;
|
|
71
|
+
'ce-tab': typeof TabComponent;
|
|
72
|
+
'ce-tab-item': typeof TabItemComponent;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
declare module 'vue' {
|
|
78
|
+
interface GlobalComponents {
|
|
79
|
+
'ce-card': typeof CardComponent;
|
|
80
|
+
'ce-card-header': typeof CardHeaderComponent;
|
|
81
|
+
'ce-card-text': typeof CardTextComponent;
|
|
82
|
+
'ce-content-divider': typeof ContentDividerComponent;
|
|
83
|
+
'ce-footer': typeof FooterComponent;
|
|
84
|
+
'ce-layout': typeof LayoutComponent;
|
|
85
|
+
'ce-section-footer': typeof SectionFooterComponent;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
declare module 'vue' {
|
|
91
|
+
interface GlobalComponents {
|
|
92
|
+
'ce-banners': typeof BannersComponent;
|
|
93
|
+
'ce-modal': typeof ModalComponent;
|
|
94
|
+
'ce-toast': typeof ToastComponent;
|
|
95
|
+
'ce-tooltip': typeof TooltipComponent;
|
|
96
|
+
'ce-loading': typeof LoadingComponent;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
declare module 'vue' {
|
|
102
|
+
interface GlobalComponents {
|
|
103
|
+
'ce-pagination': typeof PaginationComponent;
|
|
104
|
+
'ce-progress-indicator': typeof ProgressIndicatorComponent;
|
|
105
|
+
'ce-progress-steps': typeof ProgressStepsComponent;
|
|
106
|
+
'ce-data-table': typeof DataTableComponent;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
declare module 'vue' {
|
|
112
|
+
interface GlobalComponents {
|
|
113
|
+
'ce-avatar': typeof AvatarComponent;
|
|
114
|
+
}
|
|
115
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@comercti/web-components-hmg",
|
|
3
|
+
"version": "0.0.23",
|
|
4
|
+
"types": "./index.d.ts",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "private",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"design system",
|
|
9
|
+
"web components"
|
|
10
|
+
],
|
|
11
|
+
"description": "AVISO: Este pacote está em desenvolvimento e pode sofrer alterações sem aviso prévio. Não utilize em produção. ",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@wdns/vue-code-block": "^2.3.5",
|
|
14
|
+
"highlight.js": "^11.11.1",
|
|
15
|
+
"prismjs": "^1.30.0",
|
|
16
|
+
"react": "^17.0.2",
|
|
17
|
+
"react-dom": "^17.0.2",
|
|
18
|
+
"veaury": "^2.6.2",
|
|
19
|
+
"vitest-sonar-reporter": "^2.0.0",
|
|
20
|
+
"vue": "^3.5.13"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"vue": ">=3.2.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@fontsource/exo-2": "^5.1.1",
|
|
27
|
+
"@storybook/addon-actions": "^8.5.5",
|
|
28
|
+
"@storybook/addon-essentials": "8.5.5",
|
|
29
|
+
"@storybook/addon-interactions": "8.5.5",
|
|
30
|
+
"@storybook/addon-onboarding": "8.5.5",
|
|
31
|
+
"@storybook/addon-postcss": "^2.0.0",
|
|
32
|
+
"@storybook/addon-viewport": "^8.5.5",
|
|
33
|
+
"@storybook/blocks": "8.5.5",
|
|
34
|
+
"@storybook/manager-api": "^8.5.5",
|
|
35
|
+
"@storybook/test": "8.5.5",
|
|
36
|
+
"@storybook/theming": "^8.5.5",
|
|
37
|
+
"@storybook/vue3": "8.5.5",
|
|
38
|
+
"@storybook/vue3-vite": "8.5.5",
|
|
39
|
+
"@tsconfig/node22": "^22.0.0",
|
|
40
|
+
"@types/jsdom": "^21.1.7",
|
|
41
|
+
"@types/node": "^22.13.2",
|
|
42
|
+
"@types/react": "^17.0.85",
|
|
43
|
+
"@types/react-dom": "^17.0.26",
|
|
44
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
45
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
46
|
+
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
|
47
|
+
"@vitest/coverage-v8": "3.0.5",
|
|
48
|
+
"@vitest/eslint-plugin": "1.1.25",
|
|
49
|
+
"@vitest/ui": "3.0.5",
|
|
50
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
51
|
+
"@vue/eslint-config-typescript": "^14.4.0",
|
|
52
|
+
"@vue/test-utils": "^2.4.6",
|
|
53
|
+
"@vue/tsconfig": "^0.7.0",
|
|
54
|
+
"autoprefixer": "^10.4.20",
|
|
55
|
+
"eslint": "^9.20.1",
|
|
56
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
57
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
58
|
+
"jiti": "^2.4.2",
|
|
59
|
+
"jsdom": "^26.0.0",
|
|
60
|
+
"npm-run-all2": "^7.0.2",
|
|
61
|
+
"postcss": "^8.5.2",
|
|
62
|
+
"prettier": "^3.5.1",
|
|
63
|
+
"storybook": "8.5.5",
|
|
64
|
+
"storybook-addon-vue-mdx": "^1.0.6",
|
|
65
|
+
"tailwindcss": "^3.4.17",
|
|
66
|
+
"typescript": "~5.7.3",
|
|
67
|
+
"vite": "^6.1.0",
|
|
68
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
69
|
+
"vite-plugin-dts": "^4.5.0",
|
|
70
|
+
"vite-plugin-vue-devtools": "^7.7.2",
|
|
71
|
+
"vitest": "^3.0.5",
|
|
72
|
+
"vue-loader": "^17.4.2",
|
|
73
|
+
"vue-tsc": "^2.2.0"
|
|
74
|
+
},
|
|
75
|
+
"contributors": [
|
|
76
|
+
{
|
|
77
|
+
"name": "Kallif Abrahao",
|
|
78
|
+
"email": "kallif.abrahao@comerc.com.br"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Leonardo Cavalcante",
|
|
82
|
+
"email": "leonardo.cavalcante@comerc.com.br"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "Thallis Casemiro",
|
|
86
|
+
"email": "thallis.casemiro@comerc.com.br"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "Evandro Fontes",
|
|
90
|
+
"email": "evandro.fontes@comerc.com.br"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|