@ghentcdh/ui 1.1.0 → 2.0.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 (52) hide show
  1. package/Markdown-C7ZNnPQB.js +1 -0
  2. package/Markdown-OZGmR-pI.js +76 -0
  3. package/button/Btn.properties.d.ts +6 -2
  4. package/button/btn.vue.d.ts +15 -5
  5. package/const/colors.d.ts +2 -1
  6. package/drawer/drawer.properties.d.ts +4 -0
  7. package/drawer/drawer.vue.d.ts +9 -0
  8. package/form/Checkbox.properties.d.ts +14 -1
  9. package/form/Checkbox.vue.d.ts +37 -4
  10. package/form/Input.properties.d.ts +18 -1
  11. package/form/Input.vue.d.ts +46 -4
  12. package/form/InputNumber.properties.d.ts +14 -1
  13. package/form/InputNumber.vue.d.ts +37 -4
  14. package/form/Textarea.properties.d.ts +26 -1
  15. package/form/Textarea.vue.d.ts +64 -4
  16. package/form/core/ControlWrapper.properties.d.ts +54 -1
  17. package/form/core/ControlWrapper.vue.d.ts +38 -4
  18. package/form/core/properties.d.ts +2 -16
  19. package/form/core/styles.d.ts +1 -1
  20. package/form/core/utils/style.d.ts +3 -3
  21. package/form/index.d.ts +273 -1
  22. package/form/select/AutoComplete.properties.d.ts +27 -2
  23. package/form/select/AutoComplete.vue.d.ts +67 -7
  24. package/form/select/ListResults.properties.d.ts +7 -1
  25. package/form/select/ListResults.vue.d.ts +12 -3
  26. package/form/select/MultiSelect.vue.d.ts +67 -7
  27. package/form/select/SelectComponent.vue.d.ts +55 -4
  28. package/form/select/SelectWrapper.properties.d.ts +57 -9
  29. package/form/select/SelectWrapper.vue.d.ts +93 -11
  30. package/form/text/Markdown.vue.d.ts +37 -4
  31. package/form/text/MarkdownComponent.properties.d.ts +14 -1
  32. package/form/text/MarkdownFallback.vue.d.ts +267 -0
  33. package/icons/icon-list.d.ts +3 -1
  34. package/index-NGeplssl.js +2 -0
  35. package/index-WrdKkd9c.js +2633 -0
  36. package/index.css +1 -1
  37. package/index.d.ts +1 -0
  38. package/index.js +1 -2
  39. package/index.mjs +66 -2370
  40. package/modal/modal.vue.d.ts +1 -0
  41. package/package.json +14 -7
  42. package/table/cells/text.cell.vue.d.ts +1 -1
  43. package/table/column.model.d.ts +6 -0
  44. package/table/header/sort.header.properties.d.ts +1 -1
  45. package/table/header/sort.header.vue.d.ts +2 -2
  46. package/table/index.d.ts +2 -0
  47. package/table/pagination.component.properties.d.ts +5 -0
  48. package/table/pagination.component.vue.d.ts +9 -0
  49. package/table/table.component.properties.d.ts +4 -0
  50. package/table/table.component.vue.d.ts +9 -0
  51. package/table/table.model.d.ts +4 -1
  52. package/test-utils/withSetup.d.ts +0 -4
@@ -5,18 +5,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5
5
  };
6
6
  id: {
7
7
  type: StringConstructor;
8
+ default: undefined;
8
9
  };
9
10
  placeholder: {
10
11
  type: StringConstructor;
12
+ default: undefined;
11
13
  };
12
14
  description: {
13
15
  type: StringConstructor;
16
+ default: undefined;
14
17
  };
15
18
  errors: {
16
19
  type: StringConstructor;
20
+ default: undefined;
17
21
  };
18
22
  label: {
19
23
  type: StringConstructor;
24
+ default: undefined;
20
25
  };
21
26
  visible: {
22
27
  type: BooleanConstructor;
@@ -68,7 +73,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
73
  readonly label: "fieldset-legend";
69
74
  readonly error: "";
70
75
  readonly input: "input";
71
- readonly textarea: "input h-32";
76
+ readonly textarea: "textarea h-32";
72
77
  readonly checkbox: "checkbox";
73
78
  readonly select: "input pr-14";
74
79
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -83,6 +88,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
83
88
  type: StringConstructor;
84
89
  default: string;
85
90
  };
91
+ size: {
92
+ type: StringConstructor;
93
+ default: undefined;
94
+ };
95
+ hideErrors: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
86
99
  modelValue: {
87
100
  type: import('vue').PropType<any>;
88
101
  };
@@ -95,18 +108,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
95
108
  };
96
109
  id: {
97
110
  type: StringConstructor;
111
+ default: undefined;
98
112
  };
99
113
  placeholder: {
100
114
  type: StringConstructor;
115
+ default: undefined;
101
116
  };
102
117
  description: {
103
118
  type: StringConstructor;
119
+ default: undefined;
104
120
  };
105
121
  errors: {
106
122
  type: StringConstructor;
123
+ default: undefined;
107
124
  };
108
125
  label: {
109
126
  type: StringConstructor;
127
+ default: undefined;
110
128
  };
111
129
  visible: {
112
130
  type: BooleanConstructor;
@@ -158,7 +176,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
158
176
  readonly label: "fieldset-legend";
159
177
  readonly error: "";
160
178
  readonly input: "input";
161
- readonly textarea: "input h-32";
179
+ readonly textarea: "textarea h-32";
162
180
  readonly checkbox: "checkbox";
163
181
  readonly select: "input pr-14";
164
182
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -173,13 +191,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
173
191
  type: StringConstructor;
174
192
  default: string;
175
193
  };
194
+ size: {
195
+ type: StringConstructor;
196
+ default: undefined;
197
+ };
198
+ hideErrors: {
199
+ type: BooleanConstructor;
200
+ default: boolean;
201
+ };
176
202
  modelValue: {
177
203
  type: import('vue').PropType<any>;
178
204
  };
179
205
  }>> & Readonly<{
180
206
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
181
207
  }>, {
208
+ size: string;
209
+ label: string;
182
210
  required: boolean;
211
+ id: string;
212
+ placeholder: string;
183
213
  width: string;
184
214
  styles: {
185
215
  readonly group: {
@@ -205,7 +235,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
205
235
  readonly label: "fieldset-legend";
206
236
  readonly error: "";
207
237
  readonly input: "input";
208
- readonly textarea: "input h-32";
238
+ readonly textarea: "textarea h-32";
209
239
  readonly checkbox: "checkbox";
210
240
  readonly select: "input pr-14";
211
241
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -216,10 +246,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
216
246
  };
217
247
  };
218
248
  hideLabel: boolean;
219
- isTouched: boolean;
220
249
  visible: boolean;
250
+ errors: string;
251
+ isTouched: boolean;
252
+ description: string;
221
253
  enabled: boolean;
222
254
  isFocused: boolean;
255
+ hideErrors: boolean;
223
256
  steps: number;
224
257
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
225
258
  export default _default;
@@ -3,20 +3,37 @@ export declare const TextareaProperties: {
3
3
  type: NumberConstructor;
4
4
  default: number;
5
5
  };
6
+ dir: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ height: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ minHeight: {
15
+ type: StringConstructor;
16
+ default: undefined;
17
+ };
6
18
  id: {
7
19
  type: StringConstructor;
20
+ default: undefined;
8
21
  };
9
22
  placeholder: {
10
23
  type: StringConstructor;
24
+ default: undefined;
11
25
  };
12
26
  description: {
13
27
  type: StringConstructor;
28
+ default: undefined;
14
29
  };
15
30
  errors: {
16
31
  type: StringConstructor;
32
+ default: undefined;
17
33
  };
18
34
  label: {
19
35
  type: StringConstructor;
36
+ default: undefined;
20
37
  };
21
38
  visible: {
22
39
  type: BooleanConstructor;
@@ -68,7 +85,7 @@ export declare const TextareaProperties: {
68
85
  readonly label: "fieldset-legend";
69
86
  readonly error: "";
70
87
  readonly input: "input";
71
- readonly textarea: "input h-32";
88
+ readonly textarea: "textarea h-32";
72
89
  readonly checkbox: "checkbox";
73
90
  readonly select: "input pr-14";
74
91
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -83,5 +100,13 @@ export declare const TextareaProperties: {
83
100
  type: StringConstructor;
84
101
  default: string;
85
102
  };
103
+ size: {
104
+ type: StringConstructor;
105
+ default: undefined;
106
+ };
107
+ hideErrors: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
86
111
  };
87
112
  export declare const TextareaEmits: string[];
@@ -3,20 +3,37 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3
3
  type: NumberConstructor;
4
4
  default: number;
5
5
  };
6
+ dir: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ height: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ minHeight: {
15
+ type: StringConstructor;
16
+ default: undefined;
17
+ };
6
18
  id: {
7
19
  type: StringConstructor;
20
+ default: undefined;
8
21
  };
9
22
  placeholder: {
10
23
  type: StringConstructor;
24
+ default: undefined;
11
25
  };
12
26
  description: {
13
27
  type: StringConstructor;
28
+ default: undefined;
14
29
  };
15
30
  errors: {
16
31
  type: StringConstructor;
32
+ default: undefined;
17
33
  };
18
34
  label: {
19
35
  type: StringConstructor;
36
+ default: undefined;
20
37
  };
21
38
  visible: {
22
39
  type: BooleanConstructor;
@@ -68,7 +85,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
85
  readonly label: "fieldset-legend";
69
86
  readonly error: "";
70
87
  readonly input: "input";
71
- readonly textarea: "input h-32";
88
+ readonly textarea: "textarea h-32";
72
89
  readonly checkbox: "checkbox";
73
90
  readonly select: "input pr-14";
74
91
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -83,6 +100,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
83
100
  type: StringConstructor;
84
101
  default: string;
85
102
  };
103
+ size: {
104
+ type: StringConstructor;
105
+ default: undefined;
106
+ };
107
+ hideErrors: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
86
111
  modelValue: {
87
112
  type: import('vue').PropType<string>;
88
113
  };
@@ -93,20 +118,37 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
118
  type: NumberConstructor;
94
119
  default: number;
95
120
  };
121
+ dir: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ height: {
126
+ type: StringConstructor;
127
+ default: undefined;
128
+ };
129
+ minHeight: {
130
+ type: StringConstructor;
131
+ default: undefined;
132
+ };
96
133
  id: {
97
134
  type: StringConstructor;
135
+ default: undefined;
98
136
  };
99
137
  placeholder: {
100
138
  type: StringConstructor;
139
+ default: undefined;
101
140
  };
102
141
  description: {
103
142
  type: StringConstructor;
143
+ default: undefined;
104
144
  };
105
145
  errors: {
106
146
  type: StringConstructor;
147
+ default: undefined;
107
148
  };
108
149
  label: {
109
150
  type: StringConstructor;
151
+ default: undefined;
110
152
  };
111
153
  visible: {
112
154
  type: BooleanConstructor;
@@ -158,7 +200,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
158
200
  readonly label: "fieldset-legend";
159
201
  readonly error: "";
160
202
  readonly input: "input";
161
- readonly textarea: "input h-32";
203
+ readonly textarea: "textarea h-32";
162
204
  readonly checkbox: "checkbox";
163
205
  readonly select: "input pr-14";
164
206
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -173,13 +215,26 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
173
215
  type: StringConstructor;
174
216
  default: string;
175
217
  };
218
+ size: {
219
+ type: StringConstructor;
220
+ default: undefined;
221
+ };
222
+ hideErrors: {
223
+ type: BooleanConstructor;
224
+ default: boolean;
225
+ };
176
226
  modelValue: {
177
227
  type: import('vue').PropType<string>;
178
228
  };
179
229
  }>> & Readonly<{
180
230
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
181
231
  }>, {
232
+ size: string;
233
+ label: string;
182
234
  required: boolean;
235
+ dir: string;
236
+ id: string;
237
+ placeholder: string;
183
238
  width: string;
184
239
  styles: {
185
240
  readonly group: {
@@ -205,7 +260,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
205
260
  readonly label: "fieldset-legend";
206
261
  readonly error: "";
207
262
  readonly input: "input";
208
- readonly textarea: "input h-32";
263
+ readonly textarea: "textarea h-32";
209
264
  readonly checkbox: "checkbox";
210
265
  readonly select: "input pr-14";
211
266
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -216,10 +271,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
216
271
  };
217
272
  };
218
273
  hideLabel: boolean;
219
- isTouched: boolean;
274
+ minHeight: string;
220
275
  visible: boolean;
276
+ errors: string;
277
+ isTouched: boolean;
278
+ description: string;
221
279
  enabled: boolean;
222
280
  isFocused: boolean;
281
+ hideErrors: boolean;
223
282
  rows: number;
283
+ height: string;
224
284
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
225
285
  export default _default;
@@ -1,20 +1,65 @@
1
1
  import { PropType } from 'vue';
2
2
  import { MyStyles } from '../core/styles';
3
+ /**
4
+ * Props shared by all form control wrappers (ControlWrapper, ReadonlyWrapper, etc.).
5
+ * Extend this interface for component-specific props.
6
+ */
7
+ export interface ControlWrapperProps {
8
+ /** Unique identifier for the control element. */
9
+ id?: string;
10
+ /** Placeholder text shown when the control is empty. */
11
+ placeholder?: string;
12
+ /** Help text displayed below the control. */
13
+ description?: string;
14
+ /** Error message displayed below the control. */
15
+ errors?: string;
16
+ /** Label text displayed above the control. */
17
+ label?: string;
18
+ /** Whether the description is visible. @default false */
19
+ visible?: boolean;
20
+ /** Whether the field is required (shows asterisk). @default false */
21
+ required?: boolean;
22
+ /** Whether the control accepts input. @default true */
23
+ enabled?: boolean;
24
+ /** Whether the control currently has focus. @default false */
25
+ isFocused?: boolean;
26
+ /** Whether the control has been interacted with. @default false */
27
+ isTouched?: boolean;
28
+ /** Hide the label above the control. @default false */
29
+ hideLabel?: boolean;
30
+ /** Style overrides merged with default styles. @default myStyles */
31
+ styles?: MyStyles;
32
+ /** Tailwind width class applied to the wrapper. @default '!w-48' */
33
+ width?: string;
34
+ /** Size variant for the control. */
35
+ size?: string;
36
+ /** Hide the error/description message area. @default false */
37
+ hideErrors?: boolean;
38
+ }
39
+ /**
40
+ * Runtime Vue props definition for {@link ControlWrapperProps}.
41
+ * Use with `defineProps()` or spread into other property objects.
42
+ */
3
43
  export declare const ControlWrapperProperties: {
4
44
  id: {
5
45
  type: StringConstructor;
46
+ default: undefined;
6
47
  };
7
48
  placeholder: {
8
49
  type: StringConstructor;
50
+ default: undefined;
9
51
  };
10
52
  description: {
11
53
  type: StringConstructor;
54
+ default: undefined;
12
55
  };
13
56
  errors: {
14
57
  type: StringConstructor;
58
+ default: undefined;
15
59
  };
16
60
  label: {
17
61
  type: StringConstructor;
62
+ default: undefined;
18
63
  };
19
64
  visible: {
20
65
  type: BooleanConstructor;
@@ -66,7 +111,7 @@ export declare const ControlWrapperProperties: {
66
111
  readonly label: "fieldset-legend";
67
112
  readonly error: "";
68
113
  readonly input: "input";
69
- readonly textarea: "input h-32";
114
+ readonly textarea: "textarea h-32";
70
115
  readonly checkbox: "checkbox";
71
116
  readonly select: "input pr-14";
72
117
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -81,4 +126,12 @@ export declare const ControlWrapperProperties: {
81
126
  type: StringConstructor;
82
127
  default: string;
83
128
  };
129
+ size: {
130
+ type: StringConstructor;
131
+ default: undefined;
132
+ };
133
+ hideErrors: {
134
+ type: BooleanConstructor;
135
+ default: boolean;
136
+ };
84
137
  };
@@ -1,6 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
3
  slots: {
4
+ 'label-action'?(_: {}): any;
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
@@ -10,18 +11,23 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
12
  id: {
12
13
  type: StringConstructor;
14
+ default: undefined;
13
15
  };
14
16
  placeholder: {
15
17
  type: StringConstructor;
18
+ default: undefined;
16
19
  };
17
20
  description: {
18
21
  type: StringConstructor;
22
+ default: undefined;
19
23
  };
20
24
  errors: {
21
25
  type: StringConstructor;
26
+ default: undefined;
22
27
  };
23
28
  label: {
24
29
  type: StringConstructor;
30
+ default: undefined;
25
31
  };
26
32
  visible: {
27
33
  type: BooleanConstructor;
@@ -73,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
79
  readonly label: "fieldset-legend";
74
80
  readonly error: "";
75
81
  readonly input: "input";
76
- readonly textarea: "input h-32";
82
+ readonly textarea: "textarea h-32";
77
83
  readonly checkbox: "checkbox";
78
84
  readonly select: "input pr-14";
79
85
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -88,21 +94,34 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
88
94
  type: StringConstructor;
89
95
  default: string;
90
96
  };
97
+ size: {
98
+ type: StringConstructor;
99
+ default: undefined;
100
+ };
101
+ hideErrors: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
91
105
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
92
106
  id: {
93
107
  type: StringConstructor;
108
+ default: undefined;
94
109
  };
95
110
  placeholder: {
96
111
  type: StringConstructor;
112
+ default: undefined;
97
113
  };
98
114
  description: {
99
115
  type: StringConstructor;
116
+ default: undefined;
100
117
  };
101
118
  errors: {
102
119
  type: StringConstructor;
120
+ default: undefined;
103
121
  };
104
122
  label: {
105
123
  type: StringConstructor;
124
+ default: undefined;
106
125
  };
107
126
  visible: {
108
127
  type: BooleanConstructor;
@@ -154,7 +173,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
154
173
  readonly label: "fieldset-legend";
155
174
  readonly error: "";
156
175
  readonly input: "input";
157
- readonly textarea: "input h-32";
176
+ readonly textarea: "textarea h-32";
158
177
  readonly checkbox: "checkbox";
159
178
  readonly select: "input pr-14";
160
179
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -169,8 +188,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
169
188
  type: StringConstructor;
170
189
  default: string;
171
190
  };
191
+ size: {
192
+ type: StringConstructor;
193
+ default: undefined;
194
+ };
195
+ hideErrors: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
172
199
  }>> & Readonly<{}>, {
200
+ size: string;
201
+ label: string;
173
202
  required: boolean;
203
+ id: string;
204
+ placeholder: string;
174
205
  width: string;
175
206
  styles: {
176
207
  readonly group: {
@@ -196,7 +227,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
196
227
  readonly label: "fieldset-legend";
197
228
  readonly error: "";
198
229
  readonly input: "input";
199
- readonly textarea: "input h-32";
230
+ readonly textarea: "textarea h-32";
200
231
  readonly checkbox: "checkbox";
201
232
  readonly select: "input pr-14";
202
233
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -207,10 +238,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
207
238
  };
208
239
  };
209
240
  hideLabel: boolean;
210
- isTouched: boolean;
211
241
  visible: boolean;
242
+ errors: string;
243
+ isTouched: boolean;
244
+ description: string;
212
245
  enabled: boolean;
213
246
  isFocused: boolean;
247
+ hideErrors: boolean;
214
248
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
215
249
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
216
250
  export default _default;
@@ -1,20 +1,6 @@
1
1
  import { Editor } from '@tiptap/vue-3';
2
- import { MyStyles } from './styles';
3
- export type ControlProperties = {
4
- id?: string;
5
- placeholder?: string;
6
- description?: string;
7
- errors?: string;
8
- label?: string;
9
- visible?: boolean;
10
- required?: boolean;
11
- enabled?: boolean;
12
- isFocused?: boolean;
13
- isTouched?: boolean;
14
- hideLabel?: boolean;
15
- styles?: MyStyles;
16
- width: string;
17
- };
2
+ import { ControlWrapperProps } from './ControlWrapper.properties';
3
+ export type ControlProperties = Required<ControlWrapperProps>;
18
4
  export type ToolbarAction = {
19
5
  /** Displayed inside the button (text or HTML, e.g. an icon) */
20
6
  label: string;
@@ -22,7 +22,7 @@ export declare const myStyles: {
22
22
  readonly label: "fieldset-legend";
23
23
  readonly error: "";
24
24
  readonly input: "input";
25
- readonly textarea: "input h-32";
25
+ readonly textarea: "textarea h-32";
26
26
  readonly checkbox: "checkbox";
27
27
  readonly select: "input pr-14";
28
28
  readonly description: "form-control--description label text-xs text-gray-500";
@@ -1,6 +1,6 @@
1
1
  import { ControlProperties } from '../properties';
2
- type ErrorControlProperties = Pick<ControlProperties, 'errors' | 'isTouched'>;
3
- export declare const showErrors: ({ isTouched, errors }: ErrorControlProperties) => boolean;
2
+ type StyleControlProperties = Pick<ControlProperties, 'errors' | 'isTouched' | 'size'>;
3
+ export declare const showErrors: ({ isTouched, errors }: StyleControlProperties) => boolean;
4
4
  export declare const isDescriptionHidden: (visible: boolean, description: string | undefined, isFocused: boolean, showUnfocusedDescription: boolean) => boolean;
5
- export declare const buildInputStyle: (styles: string, properties: ErrorControlProperties) => any;
5
+ export declare const buildInputStyle: (styles: string, properties: StyleControlProperties) => any;
6
6
  export {};