@codemonster-ru/vueforge 0.3.5 → 0.6.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.
Files changed (38) hide show
  1. package/{LICENSE.md → LICENSE} +1 -1
  2. package/README.md +98 -2
  3. package/dist/index.css +1 -1
  4. package/dist/index.d.ts +5 -9
  5. package/dist/index.ts.mjs +1213 -701
  6. package/dist/index.ts.umd.js +3 -6
  7. package/dist/package/components/button.vue.d.ts +8 -2
  8. package/dist/package/components/checkbox.vue.d.ts +32 -0
  9. package/dist/package/components/input.vue.d.ts +49 -0
  10. package/dist/package/components/link.vue.d.ts +13 -3
  11. package/dist/package/components/menu.vue.d.ts +59 -2
  12. package/dist/package/components/popover.vue.d.ts +5 -0
  13. package/dist/package/components/select.vue.d.ts +39 -0
  14. package/dist/package/components/switch.vue.d.ts +32 -0
  15. package/dist/package/config/index.d.ts +19 -1
  16. package/dist/package/themes/default/base.d.ts +1 -0
  17. package/dist/package/themes/default/components/button.d.ts +2 -0
  18. package/dist/package/themes/default/components/checkbox.d.ts +14 -0
  19. package/dist/package/themes/default/components/input.d.ts +22 -0
  20. package/dist/package/themes/default/components/menu.d.ts +4 -0
  21. package/dist/package/themes/default/components/select.d.ts +35 -0
  22. package/dist/package/themes/default/components/switch.d.ts +14 -0
  23. package/dist/package/themes/default/index.d.ts +85 -18
  24. package/package.json +23 -7
  25. package/dist/package/components/container.vue.d.ts +0 -17
  26. package/dist/package/components/content.vue.d.ts +0 -17
  27. package/dist/package/components/demo.vue.d.ts +0 -17
  28. package/dist/package/components/footer.vue.d.ts +0 -17
  29. package/dist/package/components/header.vue.d.ts +0 -17
  30. package/dist/package/components/logo.vue.d.ts +0 -20
  31. package/dist/package/layouts/defaultLayout.vue.d.ts +0 -19
  32. package/dist/package/layouts/leftSidebarLayout.vue.d.ts +0 -17
  33. package/dist/package/themes/default/components/container.d.ts +0 -4
  34. package/dist/package/themes/default/components/content.d.ts +0 -2
  35. package/dist/package/themes/default/components/demo.d.ts +0 -2
  36. package/dist/package/themes/default/components/footer.d.ts +0 -9
  37. package/dist/package/themes/default/components/header.d.ts +0 -9
  38. package/dist/package/themes/default/components/logo.d.ts +0 -2
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ size: string;
3
+ gap: string;
4
+ borderRadius: string;
5
+ checkBorderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ checkedBackgroundColor: string;
9
+ checkedBorderColor: string;
10
+ checkColor: string;
11
+ textColor: string;
12
+ disabledOpacity: string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,22 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ fontSize: string;
4
+ padding: string;
5
+ borderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ textColor: string;
9
+ placeholderColor: string;
10
+ focusBorderColor: string;
11
+ hoverBorderColor: string;
12
+ disabledOpacity: string;
13
+ small: {
14
+ padding: string;
15
+ fontSize: string;
16
+ };
17
+ large: {
18
+ padding: string;
19
+ fontSize: string;
20
+ };
21
+ };
22
+ export default _default;
@@ -1,4 +1,8 @@
1
1
  declare const _default: {
2
+ iconGap: string;
3
+ submenuOffset: string;
4
+ separatorThickness: string;
5
+ separatorHeight: string;
2
6
  separatorColor: string;
3
7
  link: {
4
8
  hoverColor: string;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ fontSize: string;
4
+ controlGap: string;
5
+ chevronSize: string;
6
+ padding: string;
7
+ borderRadius: string;
8
+ borderColor: string;
9
+ backgroundColor: string;
10
+ textColor: string;
11
+ focusBorderColor: string;
12
+ hoverBorderColor: string;
13
+ disabledOpacity: string;
14
+ panelBackgroundColor: string;
15
+ panelBorderColor: string;
16
+ panelPadding: string;
17
+ panelMaxHeight: string;
18
+ panelRadiusOffset: string;
19
+ panelShadow: string;
20
+ focusRingShadow: string;
21
+ optionPadding: string;
22
+ optionBorderRadius: string;
23
+ optionHoverBackgroundColor: string;
24
+ optionActiveBackgroundColor: string;
25
+ optionActiveTextColor: string;
26
+ small: {
27
+ padding: string;
28
+ fontSize: string;
29
+ };
30
+ large: {
31
+ padding: string;
32
+ fontSize: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ width: string;
3
+ height: string;
4
+ thumbSize: string;
5
+ gap: string;
6
+ thumbOffset: string;
7
+ thumbTranslateOffset: string;
8
+ backgroundColor: string;
9
+ checkedBackgroundColor: string;
10
+ thumbColor: string;
11
+ textColor: string;
12
+ disabledOpacity: string;
13
+ };
14
+ export default _default;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  purple: string;
12
12
  gray: string;
13
13
  };
14
+ borderWidth: string;
14
15
  colorScheme: {
15
16
  light: {
16
17
  bgColor: string;
@@ -33,9 +34,11 @@ declare const _default: {
33
34
  };
34
35
  };
35
36
  button: {
37
+ fontSize: string;
36
38
  padding: string;
37
39
  borderRadius: string;
38
40
  roundedBorderRadius: string;
41
+ iconGap: string;
39
42
  small: {
40
43
  fontSize: string;
41
44
  padding: string;
@@ -179,33 +182,36 @@ declare const _default: {
179
182
  borderRadius: string;
180
183
  };
181
184
  codeBlock: {};
182
- container: {
183
- padding: string;
184
- };
185
- content: {};
186
- demo: {};
187
- footer: {
188
- color: string;
189
- padding: string;
190
- marginTop: string;
191
- borderTop: string;
192
- borderColor: string;
193
- backgroundColor: string;
194
- };
195
- header: {
196
- height: string;
185
+ input: {
186
+ gap: string;
187
+ fontSize: string;
197
188
  padding: string;
189
+ borderRadius: string;
198
190
  borderColor: string;
199
- borderBottom: string;
200
- marginBottom: string;
201
191
  backgroundColor: string;
192
+ textColor: string;
193
+ placeholderColor: string;
194
+ focusBorderColor: string;
195
+ hoverBorderColor: string;
196
+ disabledOpacity: string;
197
+ small: {
198
+ padding: string;
199
+ fontSize: string;
200
+ };
201
+ large: {
202
+ padding: string;
203
+ fontSize: string;
204
+ };
202
205
  };
203
206
  link: {
204
207
  hoverColor: string;
205
208
  activeColor: string;
206
209
  };
207
- logo: {};
208
210
  menu: {
211
+ iconGap: string;
212
+ submenuOffset: string;
213
+ separatorThickness: string;
214
+ separatorHeight: string;
209
215
  separatorColor: string;
210
216
  link: {
211
217
  hoverColor: string;
@@ -225,6 +231,66 @@ declare const _default: {
225
231
  popover: {
226
232
  backgroundColor: string;
227
233
  };
234
+ select: {
235
+ minWidth: string;
236
+ fontSize: string;
237
+ controlGap: string;
238
+ chevronSize: string;
239
+ padding: string;
240
+ borderRadius: string;
241
+ borderColor: string;
242
+ backgroundColor: string;
243
+ textColor: string;
244
+ focusBorderColor: string;
245
+ hoverBorderColor: string;
246
+ disabledOpacity: string;
247
+ panelBackgroundColor: string;
248
+ panelBorderColor: string;
249
+ panelPadding: string;
250
+ panelMaxHeight: string;
251
+ panelRadiusOffset: string;
252
+ panelShadow: string;
253
+ focusRingShadow: string;
254
+ optionPadding: string;
255
+ optionBorderRadius: string;
256
+ optionHoverBackgroundColor: string;
257
+ optionActiveBackgroundColor: string;
258
+ optionActiveTextColor: string;
259
+ small: {
260
+ padding: string;
261
+ fontSize: string;
262
+ };
263
+ large: {
264
+ padding: string;
265
+ fontSize: string;
266
+ };
267
+ };
268
+ checkbox: {
269
+ size: string;
270
+ gap: string;
271
+ borderRadius: string;
272
+ checkBorderRadius: string;
273
+ borderColor: string;
274
+ backgroundColor: string;
275
+ checkedBackgroundColor: string;
276
+ checkedBorderColor: string;
277
+ checkColor: string;
278
+ textColor: string;
279
+ disabledOpacity: string;
280
+ };
281
+ switch: {
282
+ width: string;
283
+ height: string;
284
+ thumbSize: string;
285
+ gap: string;
286
+ thumbOffset: string;
287
+ thumbTranslateOffset: string;
288
+ backgroundColor: string;
289
+ checkedBackgroundColor: string;
290
+ thumbColor: string;
291
+ textColor: string;
292
+ disabledOpacity: string;
293
+ };
228
294
  };
229
295
  colors: {
230
296
  white: string;
@@ -236,6 +302,7 @@ declare const _default: {
236
302
  purple: string;
237
303
  gray: string;
238
304
  };
305
+ borderWidth: string;
239
306
  colorScheme: {
240
307
  light: {
241
308
  bgColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.3.5",
3
+ "version": "0.6.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",
@@ -8,7 +8,18 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/codemonster-ru/vueforge.git"
10
10
  },
11
- "keywords": [],
11
+ "keywords": [
12
+ "vue",
13
+ "vue3",
14
+ "ui",
15
+ "components",
16
+ "component-library",
17
+ "ui-kit",
18
+ "design-system",
19
+ "theming",
20
+ "typescript",
21
+ "vite"
22
+ ],
12
23
  "main": "./dist/index.ts.umd.js",
13
24
  "module": "./dist/index.ts.mjs",
14
25
  "types": "./dist/index.d.ts",
@@ -34,15 +45,16 @@
34
45
  ],
35
46
  "scripts": {
36
47
  "dev": "vite dev --force --mode development",
37
- "build": "vite build --mode production"
48
+ "build": "vite build --mode production",
49
+ "lint": "eslint . --ext .ts,.vue",
50
+ "typecheck": "vue-tsc --noEmit"
38
51
  },
39
52
  "peerDependencies": {
53
+ "@codemonster-ru/vueiconify": "^0.7.0",
40
54
  "vue": "^3.0.0",
41
- "vue-router": "^4.4.5",
42
- "@codemonster-ru/vueiconify": "^0.7.0"
55
+ "vue-router": "^4.4.5"
43
56
  },
44
57
  "devDependencies": {
45
- "pinia": "^2.2.4",
46
58
  "@types/node": "^20.14.10",
47
59
  "@typescript-eslint/eslint-plugin": "^7.16.0",
48
60
  "@vitejs/plugin-vue": "^5.0.5",
@@ -51,6 +63,7 @@
51
63
  "eslint-config-prettier": "^9.1.0",
52
64
  "eslint-plugin-prettier": "^5.1.3",
53
65
  "eslint-plugin-vue": "^9.27.0",
66
+ "pinia": "^2.2.4",
54
67
  "prettier": "^3.3.2",
55
68
  "sass": "^1.77.8",
56
69
  "typescript": "^5.5.3",
@@ -58,5 +71,8 @@
58
71
  "vite-plugin-dts": "^4.5.0",
59
72
  "vue": "^3.4.31",
60
73
  "vue-tsc": "^2.0.21"
74
+ },
75
+ "dependencies": {
76
+ "@codemonster-ru/floater.js": "^1.0.7"
61
77
  }
62
- }
78
+ }
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,20 +0,0 @@
1
- import { RouteLocationAsPathGeneric, RouteLocationAsRelativeGeneric } from 'vue-router';
2
- interface Props {
3
- to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
4
- url?: string;
5
- src: string | Array<string>;
6
- alt?: string;
7
- type?: string;
8
- dark?: boolean;
9
- width?: string;
10
- height?: string;
11
- }
12
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
13
- type: string;
14
- to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
15
- url: string;
16
- alt: string;
17
- width: string;
18
- height: string;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
- export default _default;
@@ -1,19 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- header?(_: {}): any;
5
- content?(_: {}): any;
6
- footer?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,17 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- leftSidebar?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
8
- };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
- export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- padding: string;
3
- };
4
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- color: string;
3
- padding: string;
4
- marginTop: string;
5
- borderTop: string;
6
- borderColor: string;
7
- backgroundColor: string;
8
- };
9
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- height: string;
3
- padding: string;
4
- borderColor: string;
5
- borderBottom: string;
6
- marginBottom: string;
7
- backgroundColor: string;
8
- };
9
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: {};
2
- export default _default;