@kern-ux-annex/kern-angular-kit 0.3.7 → 1.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.
- package/INTELLISENSE.md +513 -22
- package/README.md +19 -7
- package/fesm2022/kern-ux-annex-kern-angular-kit.mjs +375 -279
- package/fesm2022/kern-ux-annex-kern-angular-kit.mjs.map +1 -1
- package/index.d.ts +456 -32
- package/package.json +5 -6
- package/schemas/kern-components.schema.json +530 -1
- package/src/lib/schemas/kern-components.schema.json +809 -0
- package/COMPONENTS.md +0 -816
|
@@ -0,0 +1,809 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://kern-ux.de/schemas/kern-angular-kit.json",
|
|
4
|
+
"title": "KERN Angular Kit Components",
|
|
5
|
+
"description": "JSON Schema for KERN Angular Kit components configuration and validation",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"definitions": {
|
|
8
|
+
"KernAccordion": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Configuration for kern-accordion component",
|
|
11
|
+
"properties": {
|
|
12
|
+
"title": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The title text displayed in the accordion header"
|
|
15
|
+
},
|
|
16
|
+
"open": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"default": false,
|
|
19
|
+
"description": "Whether the accordion is initially expanded"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": ["title"],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
},
|
|
25
|
+
"KernAccordionGroup": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"description": "Configuration for kern-accordion-group component",
|
|
28
|
+
"properties": {},
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
},
|
|
31
|
+
"KernAlert": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"description": "Configuration for kern-alert component",
|
|
34
|
+
"properties": {
|
|
35
|
+
"title": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "The title text displayed in the alert"
|
|
38
|
+
},
|
|
39
|
+
"type": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["info", "success", "warning", "danger"],
|
|
42
|
+
"default": "info",
|
|
43
|
+
"description": "The visual style and semantic meaning of the alert"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": ["title"],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
"KernBadge": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"description": "Configuration for kern-badge component",
|
|
52
|
+
"properties": {
|
|
53
|
+
"variant": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": ["info", "success", "warning", "danger"],
|
|
56
|
+
"default": "info",
|
|
57
|
+
"description": "The visual style of the badge"
|
|
58
|
+
},
|
|
59
|
+
"icon": {
|
|
60
|
+
"type": ["string", "null"],
|
|
61
|
+
"description": "Icon name to display in the badge"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"KernButton": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"description": "Configuration for kern-button component",
|
|
69
|
+
"properties": {
|
|
70
|
+
"variant": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enum": ["primary", "secondary", "tertiary"],
|
|
73
|
+
"default": "primary",
|
|
74
|
+
"description": "The visual style of the button"
|
|
75
|
+
},
|
|
76
|
+
"block": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"default": false,
|
|
79
|
+
"description": "Whether the button should take full width"
|
|
80
|
+
},
|
|
81
|
+
"disabled": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"default": false,
|
|
84
|
+
"description": "Whether the button is disabled"
|
|
85
|
+
},
|
|
86
|
+
"type": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"enum": ["button", "submit", "reset"],
|
|
89
|
+
"default": "button",
|
|
90
|
+
"description": "The button type attribute"
|
|
91
|
+
},
|
|
92
|
+
"iconLeft": {
|
|
93
|
+
"type": ["string", "null"],
|
|
94
|
+
"description": "Icon name to display on the left side"
|
|
95
|
+
},
|
|
96
|
+
"iconRight": {
|
|
97
|
+
"type": ["string", "null"],
|
|
98
|
+
"description": "Icon name to display on the right side"
|
|
99
|
+
},
|
|
100
|
+
"srOnlyLabel": {
|
|
101
|
+
"type": "boolean",
|
|
102
|
+
"default": false,
|
|
103
|
+
"description": "Whether the label is screen reader only"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"additionalProperties": false
|
|
107
|
+
},
|
|
108
|
+
"KernCard": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"description": "Configuration for kern-card component",
|
|
111
|
+
"properties": {
|
|
112
|
+
"title": {
|
|
113
|
+
"type": ["string", "null"],
|
|
114
|
+
"description": "The card title"
|
|
115
|
+
},
|
|
116
|
+
"titleLinkHref": {
|
|
117
|
+
"type": ["string", "null"],
|
|
118
|
+
"description": "URL for the title link"
|
|
119
|
+
},
|
|
120
|
+
"titleLinkTarget": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": ["_self", "_blank", "_parent", "_top"],
|
|
123
|
+
"default": "_self",
|
|
124
|
+
"description": "Target for the title link"
|
|
125
|
+
},
|
|
126
|
+
"preline": {
|
|
127
|
+
"type": ["string", "null"],
|
|
128
|
+
"description": "Text displayed above the title"
|
|
129
|
+
},
|
|
130
|
+
"subline": {
|
|
131
|
+
"type": ["string", "null"],
|
|
132
|
+
"description": "Text displayed below the title"
|
|
133
|
+
},
|
|
134
|
+
"imgSrc": {
|
|
135
|
+
"type": ["string", "null"],
|
|
136
|
+
"description": "Image source URL"
|
|
137
|
+
},
|
|
138
|
+
"imgAlt": {
|
|
139
|
+
"type": ["string", "null"],
|
|
140
|
+
"description": "Image alt text"
|
|
141
|
+
},
|
|
142
|
+
"size": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": ["default", "small", "large"],
|
|
145
|
+
"default": "default",
|
|
146
|
+
"description": "The card size"
|
|
147
|
+
},
|
|
148
|
+
"headingLevel": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"enum": ["1", "2", "3", "4", "5"],
|
|
151
|
+
"default": "2",
|
|
152
|
+
"description": "The heading level for the title"
|
|
153
|
+
},
|
|
154
|
+
"btnPrimaryLabelText": {
|
|
155
|
+
"type": ["string", "null"],
|
|
156
|
+
"description": "Primary button label text"
|
|
157
|
+
},
|
|
158
|
+
"btnSecondaryLabelText": {
|
|
159
|
+
"type": ["string", "null"],
|
|
160
|
+
"description": "Secondary button label text"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
},
|
|
165
|
+
"KernDialog": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"description": "Configuration for kern-dialog component",
|
|
168
|
+
"properties": {
|
|
169
|
+
"dialogId": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "Custom ID for the dialog element (auto-generated if not provided)"
|
|
172
|
+
},
|
|
173
|
+
"title": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "The title text displayed in the dialog header"
|
|
176
|
+
},
|
|
177
|
+
"btnCloseLabelText": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"default": "Schließen",
|
|
180
|
+
"description": "Label text for the close button"
|
|
181
|
+
},
|
|
182
|
+
"btnPrimaryLabelText": {
|
|
183
|
+
"type": ["string", "null"],
|
|
184
|
+
"description": "Label text for the primary action button (null to hide)"
|
|
185
|
+
},
|
|
186
|
+
"btnSecondaryLabelText": {
|
|
187
|
+
"type": ["string", "null"],
|
|
188
|
+
"description": "Label text for the secondary action button (null to hide)"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": ["title"],
|
|
192
|
+
"additionalProperties": false
|
|
193
|
+
},
|
|
194
|
+
"KernDivider": {
|
|
195
|
+
"type": "object",
|
|
196
|
+
"description": "Configuration for kern-divider component",
|
|
197
|
+
"properties": {},
|
|
198
|
+
"additionalProperties": false
|
|
199
|
+
},
|
|
200
|
+
"KernIcon": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"description": "Configuration for kern-icon component",
|
|
203
|
+
"properties": {
|
|
204
|
+
"name": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"description": "The icon name/identifier"
|
|
207
|
+
},
|
|
208
|
+
"size": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "The icon size"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"required": ["name"],
|
|
214
|
+
"additionalProperties": false
|
|
215
|
+
},
|
|
216
|
+
"KernLink": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"description": "Configuration for kern-link component",
|
|
219
|
+
"properties": {
|
|
220
|
+
"href": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "The link URL"
|
|
223
|
+
},
|
|
224
|
+
"target": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"enum": ["_self", "_blank", "_parent", "_top"],
|
|
227
|
+
"default": "_self",
|
|
228
|
+
"description": "The link target"
|
|
229
|
+
},
|
|
230
|
+
"external": {
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"default": false,
|
|
233
|
+
"description": "Whether this is an external link"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": ["href"],
|
|
237
|
+
"additionalProperties": false
|
|
238
|
+
},
|
|
239
|
+
"KernLoader": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"description": "Configuration for kern-loader component",
|
|
242
|
+
"properties": {
|
|
243
|
+
"text": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"default": "Laden...",
|
|
246
|
+
"description": "Loading text displayed alongside the spinner"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"additionalProperties": false
|
|
250
|
+
},
|
|
251
|
+
"KernProgress": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"description": "Configuration for kern-progress component",
|
|
254
|
+
"properties": {
|
|
255
|
+
"value": {
|
|
256
|
+
"type": "number",
|
|
257
|
+
"description": "The current progress value"
|
|
258
|
+
},
|
|
259
|
+
"max": {
|
|
260
|
+
"type": "number",
|
|
261
|
+
"default": 100,
|
|
262
|
+
"description": "The maximum progress value"
|
|
263
|
+
},
|
|
264
|
+
"label": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"description": "The progress label"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": ["value"],
|
|
270
|
+
"additionalProperties": false
|
|
271
|
+
},
|
|
272
|
+
"KernKopfzeile": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"description": "Configuration for kern-kopfzeile component",
|
|
275
|
+
"properties": {
|
|
276
|
+
"fluid": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"description": "If set, the element stretches to full width"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"additionalProperties": false
|
|
282
|
+
},
|
|
283
|
+
"KernHeading": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"description": "Configuration for kern-heading component",
|
|
286
|
+
"properties": {
|
|
287
|
+
"level": {
|
|
288
|
+
"type": "string",
|
|
289
|
+
"enum": ["1", "2", "3", "4", "5", "6"],
|
|
290
|
+
"default": "1",
|
|
291
|
+
"description": "The heading level"
|
|
292
|
+
},
|
|
293
|
+
"text": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"description": "The heading text content"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"required": ["text"],
|
|
299
|
+
"additionalProperties": false
|
|
300
|
+
},
|
|
301
|
+
"KernTableColumn": {
|
|
302
|
+
"type": "object",
|
|
303
|
+
"description": "Table column definition",
|
|
304
|
+
"properties": {
|
|
305
|
+
"key": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "The data key for this column"
|
|
308
|
+
},
|
|
309
|
+
"header": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"description": "The column header text"
|
|
312
|
+
},
|
|
313
|
+
"numeric": {
|
|
314
|
+
"type": "boolean",
|
|
315
|
+
"default": false,
|
|
316
|
+
"description": "Whether this column contains numeric data"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"required": ["key", "header"],
|
|
320
|
+
"additionalProperties": false
|
|
321
|
+
},
|
|
322
|
+
"KernTable": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"description": "Configuration for kern-table component",
|
|
325
|
+
"properties": {
|
|
326
|
+
"responsive": {
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"default": true,
|
|
329
|
+
"description": "Whether the table is responsive"
|
|
330
|
+
},
|
|
331
|
+
"small": {
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"default": false,
|
|
334
|
+
"description": "Whether to use compact table styling"
|
|
335
|
+
},
|
|
336
|
+
"striped": {
|
|
337
|
+
"type": "boolean",
|
|
338
|
+
"default": false,
|
|
339
|
+
"description": "Whether to use striped row styling"
|
|
340
|
+
},
|
|
341
|
+
"caption": {
|
|
342
|
+
"type": ["string", "null"],
|
|
343
|
+
"description": "Table caption text"
|
|
344
|
+
},
|
|
345
|
+
"columns": {
|
|
346
|
+
"type": "array",
|
|
347
|
+
"items": { "$ref": "#/definitions/KernTableColumn" },
|
|
348
|
+
"description": "Table column definitions"
|
|
349
|
+
},
|
|
350
|
+
"data": {
|
|
351
|
+
"type": "array",
|
|
352
|
+
"items": { "type": "object" },
|
|
353
|
+
"description": "Table data rows"
|
|
354
|
+
},
|
|
355
|
+
"footer": {
|
|
356
|
+
"type": ["array", "null"],
|
|
357
|
+
"items": { "type": "object" },
|
|
358
|
+
"description": "Table footer rows"
|
|
359
|
+
},
|
|
360
|
+
"rowHeaderKey": {
|
|
361
|
+
"type": ["string", "null"],
|
|
362
|
+
"description": "Key for row header column"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"required": ["columns", "data"],
|
|
366
|
+
"additionalProperties": false
|
|
367
|
+
},
|
|
368
|
+
"KernSummaryItem": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"properties": {
|
|
371
|
+
"term": { "type": "string" },
|
|
372
|
+
"description": { "type": "string" }
|
|
373
|
+
},
|
|
374
|
+
"required": ["term", "description"],
|
|
375
|
+
"additionalProperties": false
|
|
376
|
+
},
|
|
377
|
+
"KernSummary": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"description": "Configuration for kern-summary component",
|
|
380
|
+
"properties": {
|
|
381
|
+
"titleId": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "Custom title ID"
|
|
384
|
+
},
|
|
385
|
+
"title": {
|
|
386
|
+
"type": ["string", "null"],
|
|
387
|
+
"description": "Summary title"
|
|
388
|
+
},
|
|
389
|
+
"titleNumber": {
|
|
390
|
+
"type": ["string", "null"],
|
|
391
|
+
"description": "Title number/prefix"
|
|
392
|
+
},
|
|
393
|
+
"headingLevel": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"enum": ["1", "2", "3", "4", "5", "6"],
|
|
396
|
+
"default": "3",
|
|
397
|
+
"description": "Heading level for the title"
|
|
398
|
+
},
|
|
399
|
+
"items": {
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": { "$ref": "#/definitions/KernSummaryItem" },
|
|
402
|
+
"description": "Summary items"
|
|
403
|
+
},
|
|
404
|
+
"actionLinkHref": {
|
|
405
|
+
"type": ["string", "null"],
|
|
406
|
+
"description": "Action link URL"
|
|
407
|
+
},
|
|
408
|
+
"actionLinkTarget": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"enum": ["_self", "_blank", "_parent", "_top"],
|
|
411
|
+
"default": "_self",
|
|
412
|
+
"description": "Action link target"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"required": ["items"],
|
|
416
|
+
"additionalProperties": false
|
|
417
|
+
},
|
|
418
|
+
"KernSummaryGroup": {
|
|
419
|
+
"type": "object",
|
|
420
|
+
"description": "Configuration for kern-summary-group component",
|
|
421
|
+
"properties": {},
|
|
422
|
+
"additionalProperties": false
|
|
423
|
+
},
|
|
424
|
+
"KernDescriptionList": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"description": "Configuration for kern-description-list component",
|
|
427
|
+
"properties": {
|
|
428
|
+
"items": {
|
|
429
|
+
"type": "array",
|
|
430
|
+
"items": { "$ref": "#/definitions/KernSummaryItem" },
|
|
431
|
+
"description": "Description list items"
|
|
432
|
+
},
|
|
433
|
+
"orientation": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"enum": ["horizontal", "vertical"],
|
|
436
|
+
"description": "List orientation"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": ["items"],
|
|
440
|
+
"additionalProperties": false
|
|
441
|
+
},
|
|
442
|
+
"KernTasklistItem": {
|
|
443
|
+
"type": "object",
|
|
444
|
+
"properties": {
|
|
445
|
+
"id": { "type": "string" },
|
|
446
|
+
"text": { "type": "string" },
|
|
447
|
+
"completed": { "type": "boolean", "default": false },
|
|
448
|
+
"href": { "type": "string" }
|
|
449
|
+
},
|
|
450
|
+
"required": ["id", "text"],
|
|
451
|
+
"additionalProperties": false
|
|
452
|
+
},
|
|
453
|
+
"KernTasklist": {
|
|
454
|
+
"type": "object",
|
|
455
|
+
"description": "Configuration for kern-tasklist component",
|
|
456
|
+
"properties": {
|
|
457
|
+
"tasks": {
|
|
458
|
+
"type": "array",
|
|
459
|
+
"items": { "$ref": "#/definitions/KernTasklistItem" },
|
|
460
|
+
"description": "Task items"
|
|
461
|
+
},
|
|
462
|
+
"editable": {
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"default": false,
|
|
465
|
+
"description": "Whether tasks can be edited"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"required": ["tasks"],
|
|
469
|
+
"additionalProperties": false
|
|
470
|
+
},
|
|
471
|
+
"KernInputBase": {
|
|
472
|
+
"type": "object",
|
|
473
|
+
"description": "Base configuration shared by all form input components",
|
|
474
|
+
"properties": {
|
|
475
|
+
"inputId": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"description": "Custom ID for the input element (auto-generated if not provided)"
|
|
478
|
+
},
|
|
479
|
+
"labelText": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"description": "Label text displayed for the input field"
|
|
482
|
+
},
|
|
483
|
+
"optional": {
|
|
484
|
+
"type": "boolean",
|
|
485
|
+
"default": false,
|
|
486
|
+
"description": "Whether to display '(optional)' in the label"
|
|
487
|
+
},
|
|
488
|
+
"readonly": {
|
|
489
|
+
"type": "boolean",
|
|
490
|
+
"default": false,
|
|
491
|
+
"description": "Whether the input is read-only"
|
|
492
|
+
},
|
|
493
|
+
"required": {
|
|
494
|
+
"type": "boolean",
|
|
495
|
+
"default": false,
|
|
496
|
+
"description": "Whether the input is required for form submission"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"required": ["labelText"]
|
|
500
|
+
},
|
|
501
|
+
"KernFieldset": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"description": "Configuration for kern-fieldset component",
|
|
504
|
+
"properties": {
|
|
505
|
+
"legend": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"description": "Fieldset legend text"
|
|
508
|
+
},
|
|
509
|
+
"required": {
|
|
510
|
+
"type": "boolean",
|
|
511
|
+
"default": false,
|
|
512
|
+
"description": "Whether the fieldset is required"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"required": ["legend"],
|
|
516
|
+
"additionalProperties": false
|
|
517
|
+
},
|
|
518
|
+
"KernInputError": {
|
|
519
|
+
"type": "object",
|
|
520
|
+
"description": "Configuration for kern-input-error component",
|
|
521
|
+
"properties": {
|
|
522
|
+
"errorText": {
|
|
523
|
+
"type": "string",
|
|
524
|
+
"description": "Error message text"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"required": ["errorText"],
|
|
528
|
+
"additionalProperties": false
|
|
529
|
+
},
|
|
530
|
+
"KernInputHint": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"description": "Configuration for kern-input-hint component",
|
|
533
|
+
"properties": {
|
|
534
|
+
"hintText": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"description": "Hint message text"
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"required": ["hintText"],
|
|
540
|
+
"additionalProperties": false
|
|
541
|
+
},
|
|
542
|
+
"KernInputText": {
|
|
543
|
+
"allOf": [
|
|
544
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
545
|
+
{
|
|
546
|
+
"type": "object",
|
|
547
|
+
"description": "Configuration for kern-input-text component",
|
|
548
|
+
"properties": {
|
|
549
|
+
"inputmode": {
|
|
550
|
+
"type": ["string", "null"],
|
|
551
|
+
"enum": ["decimal", "numeric", null],
|
|
552
|
+
"description": "Input mode hint for mobile keyboards"
|
|
553
|
+
},
|
|
554
|
+
"maxlength": {
|
|
555
|
+
"type": ["number", "null"],
|
|
556
|
+
"minimum": 1,
|
|
557
|
+
"description": "Maximum number of characters allowed"
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
},
|
|
563
|
+
"KernInputNumber": {
|
|
564
|
+
"allOf": [
|
|
565
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
566
|
+
{
|
|
567
|
+
"type": "object",
|
|
568
|
+
"description": "Configuration for kern-input-number component",
|
|
569
|
+
"properties": {
|
|
570
|
+
"min": {
|
|
571
|
+
"type": ["number", "null"],
|
|
572
|
+
"description": "Minimum allowed value"
|
|
573
|
+
},
|
|
574
|
+
"max": {
|
|
575
|
+
"type": ["number", "null"],
|
|
576
|
+
"description": "Maximum allowed value"
|
|
577
|
+
},
|
|
578
|
+
"step": {
|
|
579
|
+
"type": ["number", "null"],
|
|
580
|
+
"description": "Step increment for the input"
|
|
581
|
+
},
|
|
582
|
+
"autocomplete": {
|
|
583
|
+
"type": ["string", "null"],
|
|
584
|
+
"description": "Autocomplete attribute value"
|
|
585
|
+
},
|
|
586
|
+
"placeholder": {
|
|
587
|
+
"type": ["string", "null"],
|
|
588
|
+
"description": "Placeholder text"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
"KernInputDate": {
|
|
595
|
+
"allOf": [
|
|
596
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
597
|
+
{
|
|
598
|
+
"type": "object",
|
|
599
|
+
"description": "Configuration for kern-input-date component",
|
|
600
|
+
"properties": {
|
|
601
|
+
"min": {
|
|
602
|
+
"type": ["string", "null"],
|
|
603
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
604
|
+
"description": "Minimum selectable date in YYYY-MM-DD format"
|
|
605
|
+
},
|
|
606
|
+
"max": {
|
|
607
|
+
"type": ["string", "null"],
|
|
608
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
609
|
+
"description": "Maximum selectable date in YYYY-MM-DD format"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
"KernInputFile": {
|
|
616
|
+
"allOf": [
|
|
617
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
618
|
+
{
|
|
619
|
+
"type": "object",
|
|
620
|
+
"description": "Configuration for kern-input-file component",
|
|
621
|
+
"properties": {
|
|
622
|
+
"accept": {
|
|
623
|
+
"type": ["string", "null"],
|
|
624
|
+
"description": "Comma-separated list of accepted file types (MIME types or extensions)"
|
|
625
|
+
},
|
|
626
|
+
"multiple": {
|
|
627
|
+
"type": "boolean",
|
|
628
|
+
"default": false,
|
|
629
|
+
"description": "Whether multiple files can be selected"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
"KernInputPassword": {
|
|
636
|
+
"allOf": [
|
|
637
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
638
|
+
{
|
|
639
|
+
"type": "object",
|
|
640
|
+
"description": "Configuration for kern-input-password component",
|
|
641
|
+
"properties": {
|
|
642
|
+
"maxlength": {
|
|
643
|
+
"type": ["number", "null"],
|
|
644
|
+
"minimum": 1,
|
|
645
|
+
"description": "Maximum number of characters allowed"
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
]
|
|
650
|
+
},
|
|
651
|
+
"KernInputRadio": {
|
|
652
|
+
"allOf": [
|
|
653
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
654
|
+
{
|
|
655
|
+
"type": "object",
|
|
656
|
+
"description": "Configuration for kern-input-radio component",
|
|
657
|
+
"properties": {
|
|
658
|
+
"value": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"description": "The value submitted when this radio button is selected"
|
|
661
|
+
},
|
|
662
|
+
"name": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"description": "Name attribute for grouping radio buttons together"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"required": ["value", "name"]
|
|
668
|
+
}
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"KernInputSelect": {
|
|
672
|
+
"allOf": [
|
|
673
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
674
|
+
{
|
|
675
|
+
"type": "object",
|
|
676
|
+
"description": "Configuration for kern-input-select component",
|
|
677
|
+
"properties": {
|
|
678
|
+
"multiple": {
|
|
679
|
+
"type": "boolean",
|
|
680
|
+
"default": false,
|
|
681
|
+
"description": "Whether multiple options can be selected"
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
]
|
|
686
|
+
},
|
|
687
|
+
"KernInputTextarea": {
|
|
688
|
+
"allOf": [
|
|
689
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
690
|
+
{
|
|
691
|
+
"type": "object",
|
|
692
|
+
"description": "Configuration for kern-input-textarea component",
|
|
693
|
+
"properties": {
|
|
694
|
+
"rows": {
|
|
695
|
+
"type": ["number", "null"],
|
|
696
|
+
"minimum": 1,
|
|
697
|
+
"description": "Number of visible text lines for the textarea"
|
|
698
|
+
},
|
|
699
|
+
"cols": {
|
|
700
|
+
"type": ["number", "null"],
|
|
701
|
+
"minimum": 1,
|
|
702
|
+
"description": "Visible width of the textarea in characters"
|
|
703
|
+
},
|
|
704
|
+
"maxlength": {
|
|
705
|
+
"type": ["number", "null"],
|
|
706
|
+
"minimum": 1,
|
|
707
|
+
"description": "Maximum number of characters allowed"
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
},
|
|
713
|
+
"KernContainer": {
|
|
714
|
+
"type": "object",
|
|
715
|
+
"description": "Configuration for kern-container component",
|
|
716
|
+
"properties": {
|
|
717
|
+
"fluid": {
|
|
718
|
+
"type": "boolean"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"additionalProperties": false
|
|
722
|
+
},
|
|
723
|
+
"KernRow": {
|
|
724
|
+
"type": "object",
|
|
725
|
+
"description": "Configuration for kern-row component",
|
|
726
|
+
"properties": {
|
|
727
|
+
"verticalAlign": {
|
|
728
|
+
"type": ["string", "null"],
|
|
729
|
+
"enum": ["start", "center", "end", null]
|
|
730
|
+
},
|
|
731
|
+
"horizontalAlign": {
|
|
732
|
+
"type": ["string", "null"],
|
|
733
|
+
"enum": [
|
|
734
|
+
"start",
|
|
735
|
+
"center",
|
|
736
|
+
"end",
|
|
737
|
+
"around",
|
|
738
|
+
"between",
|
|
739
|
+
"evenly",
|
|
740
|
+
null
|
|
741
|
+
]
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"additionalProperties": false
|
|
745
|
+
},
|
|
746
|
+
"KernCol": {
|
|
747
|
+
"type": "object",
|
|
748
|
+
"description": "Configuration for kern-col component",
|
|
749
|
+
"properties": {
|
|
750
|
+
"size": {
|
|
751
|
+
"type": ["number", "object"]
|
|
752
|
+
},
|
|
753
|
+
"offset": {
|
|
754
|
+
"type": ["number", "object"]
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"additionalProperties": false
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"properties": {
|
|
761
|
+
"components": {
|
|
762
|
+
"type": "object",
|
|
763
|
+
"description": "Component configurations organized by component selector",
|
|
764
|
+
"properties": {
|
|
765
|
+
"kern-accordion": { "$ref": "#/definitions/KernAccordion" },
|
|
766
|
+
"kern-accordion-group": { "$ref": "#/definitions/KernAccordionGroup" },
|
|
767
|
+
"kern-alert": { "$ref": "#/definitions/KernAlert" },
|
|
768
|
+
"kern-badge": { "$ref": "#/definitions/KernBadge" },
|
|
769
|
+
"kern-button": { "$ref": "#/definitions/KernButton" },
|
|
770
|
+
"kern-card": { "$ref": "#/definitions/KernCard" },
|
|
771
|
+
"kern-dialog": { "$ref": "#/definitions/KernDialog" },
|
|
772
|
+
"kern-divider": { "$ref": "#/definitions/KernDivider" },
|
|
773
|
+
"kern-icon": { "$ref": "#/definitions/KernIcon" },
|
|
774
|
+
"kern-link": { "$ref": "#/definitions/KernLink" },
|
|
775
|
+
"kern-loader": { "$ref": "#/definitions/KernLoader" },
|
|
776
|
+
"kern-progress": { "$ref": "#/definitions/KernProgress" },
|
|
777
|
+
"kern-kopfzeile": { "$ref": "#/definitions/KernKopfzeile" },
|
|
778
|
+
"kern-heading": { "$ref": "#/definitions/KernHeading" },
|
|
779
|
+
"kern-table": { "$ref": "#/definitions/KernTable" },
|
|
780
|
+
"kern-summary": { "$ref": "#/definitions/KernSummary" },
|
|
781
|
+
"kern-summary-group": { "$ref": "#/definitions/KernSummaryGroup" },
|
|
782
|
+
"kern-description-list": {
|
|
783
|
+
"$ref": "#/definitions/KernDescriptionList"
|
|
784
|
+
},
|
|
785
|
+
"kern-tasklist": { "$ref": "#/definitions/KernTasklist" },
|
|
786
|
+
"kern-fieldset": { "$ref": "#/definitions/KernFieldset" },
|
|
787
|
+
"kern-input-error": { "$ref": "#/definitions/KernInputError" },
|
|
788
|
+
"kern-input-hint": { "$ref": "#/definitions/KernInputHint" },
|
|
789
|
+
"kern-input-text": { "$ref": "#/definitions/KernInputText" },
|
|
790
|
+
"kern-input-number": { "$ref": "#/definitions/KernInputNumber" },
|
|
791
|
+
"kern-input-checkbox": { "$ref": "#/definitions/KernInputBase" },
|
|
792
|
+
"kern-input-date": { "$ref": "#/definitions/KernInputDate" },
|
|
793
|
+
"kern-input-email": { "$ref": "#/definitions/KernInputBase" },
|
|
794
|
+
"kern-input-file": { "$ref": "#/definitions/KernInputFile" },
|
|
795
|
+
"kern-input-password": { "$ref": "#/definitions/KernInputPassword" },
|
|
796
|
+
"kern-input-radio": { "$ref": "#/definitions/KernInputRadio" },
|
|
797
|
+
"kern-input-select": { "$ref": "#/definitions/KernInputSelect" },
|
|
798
|
+
"kern-input-tel": { "$ref": "#/definitions/KernInputBase" },
|
|
799
|
+
"kern-input-textarea": { "$ref": "#/definitions/KernInputTextarea" },
|
|
800
|
+
"kern-input-url": { "$ref": "#/definitions/KernInputBase" },
|
|
801
|
+
"kern-container": { "$ref": "#/definitions/KernContainer" },
|
|
802
|
+
"kern-row": { "$ref": "#/definitions/KernRow" },
|
|
803
|
+
"kern-col": { "$ref": "#/definitions/KernCol" }
|
|
804
|
+
},
|
|
805
|
+
"additionalProperties": false
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"additionalProperties": false
|
|
809
|
+
}
|