@codemonster-ru/vueforge 0.16.0 → 0.17.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.
@@ -0,0 +1,43 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ interface Props {
3
+ id?: string;
4
+ label?: string;
5
+ hint?: string;
6
+ error?: string;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ size?: Size;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ label?(_: {}): any;
15
+ default?(_: {
16
+ id: string;
17
+ describedBy: string | undefined;
18
+ invalid: boolean;
19
+ required: boolean;
20
+ }): any;
21
+ hint?(_: {}): any;
22
+ error?(_: {}): any;
23
+ };
24
+ refs: {};
25
+ rootEl: HTMLDivElement;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
29
+ label: string;
30
+ disabled: boolean;
31
+ error: string;
32
+ required: boolean;
33
+ size: Size;
34
+ id: string;
35
+ hint: string;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -77,6 +77,27 @@ export type InputTokens = {
77
77
  fontSize?: string;
78
78
  };
79
79
  };
80
+ export type FormFieldTokens = {
81
+ gap?: string;
82
+ textColor?: string;
83
+ labelFontSize?: string;
84
+ labelColor?: string;
85
+ requiredColor?: string;
86
+ hintFontSize?: string;
87
+ hintColor?: string;
88
+ errorColor?: string;
89
+ disabledOpacity?: string;
90
+ small?: {
91
+ gap?: string;
92
+ labelFontSize?: string;
93
+ hintFontSize?: string;
94
+ };
95
+ large?: {
96
+ gap?: string;
97
+ labelFontSize?: string;
98
+ hintFontSize?: string;
99
+ };
100
+ };
80
101
  export type TextareaTokens = {
81
102
  gap?: string;
82
103
  fontSize?: string;
@@ -379,6 +400,7 @@ export type ThemeComponentTokens = {
379
400
  radio?: RadioTokens;
380
401
  tabs?: TabsTokens;
381
402
  input?: InputTokens;
403
+ formField?: FormFieldTokens;
382
404
  textarea?: TextareaTokens;
383
405
  link?: LinkTokens;
384
406
  menu?: MenuTokens;
@@ -0,0 +1,22 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ textColor: string;
4
+ labelFontSize: string;
5
+ labelColor: string;
6
+ requiredColor: string;
7
+ hintFontSize: string;
8
+ hintColor: string;
9
+ errorColor: string;
10
+ disabledOpacity: string;
11
+ small: {
12
+ gap: string;
13
+ labelFontSize: string;
14
+ hintFontSize: string;
15
+ };
16
+ large: {
17
+ gap: string;
18
+ labelFontSize: string;
19
+ hintFontSize: string;
20
+ };
21
+ };
22
+ export default _default;
@@ -234,6 +234,27 @@ declare const _default: {
234
234
  fontSize: string;
235
235
  };
236
236
  };
237
+ formField: {
238
+ gap: string;
239
+ textColor: string;
240
+ labelFontSize: string;
241
+ labelColor: string;
242
+ requiredColor: string;
243
+ hintFontSize: string;
244
+ hintColor: string;
245
+ errorColor: string;
246
+ disabledOpacity: string;
247
+ small: {
248
+ gap: string;
249
+ labelFontSize: string;
250
+ hintFontSize: string;
251
+ };
252
+ large: {
253
+ gap: string;
254
+ labelFontSize: string;
255
+ hintFontSize: string;
256
+ };
257
+ };
237
258
  textarea: {
238
259
  gap: string;
239
260
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",