@kern-ux-annex/kern-angular-kit 0.3.4 → 0.3.7
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/.npmignore +2 -0
- package/COMPONENTS.md +816 -0
- package/INTELLISENSE.md +321 -0
- package/README.md +95 -0
- package/fesm2022/kern-ux-annex-kern-angular-kit.mjs +1531 -0
- package/fesm2022/kern-ux-annex-kern-angular-kit.mjs.map +1 -0
- package/index.d.ts +898 -0
- package/package.json +28 -2
- package/schemas/kern-components.schema.json +280 -0
- package/kern-ux-annex-kern-angular-kit-0.3.4.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,15 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kern-ux-annex/kern-angular-kit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
|
+
"description": "Angular-Umsetzung der KERN UX-Standard Komponenten",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"angular",
|
|
7
|
+
"components",
|
|
8
|
+
"ui",
|
|
9
|
+
"kern",
|
|
10
|
+
"ux"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://gitlab.opencode.de/kern-ux/community/angular-kit",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://gitlab.opencode.de/kern-ux/community/angular-kit"
|
|
16
|
+
},
|
|
17
|
+
"license": "EUPL-1.2",
|
|
18
|
+
"author": "Achim Schulenburg",
|
|
19
|
+
"contributors": [
|
|
20
|
+
"Achim Schulenburg",
|
|
21
|
+
"Axel Wolters"
|
|
22
|
+
],
|
|
4
23
|
"peerDependencies": {
|
|
5
24
|
"@angular/common": "^20.1.0",
|
|
6
25
|
"@angular/core": "^20.1.0",
|
|
7
|
-
"@angular/forms": "^20.1.0"
|
|
26
|
+
"@angular/forms": "^20.1.0",
|
|
27
|
+
"@angular/localize": "^20.1.0"
|
|
8
28
|
},
|
|
9
29
|
"dependencies": {
|
|
10
30
|
"tslib": "^2.3.0"
|
|
11
31
|
},
|
|
12
32
|
"sideEffects": false,
|
|
33
|
+
"files": [
|
|
34
|
+
"**/*",
|
|
35
|
+
"README.md",
|
|
36
|
+
"COMPONENTS.md",
|
|
37
|
+
"INTELLISENSE.md"
|
|
38
|
+
],
|
|
13
39
|
"module": "fesm2022/kern-ux-annex-kern-angular-kit.mjs",
|
|
14
40
|
"typings": "index.d.ts",
|
|
15
41
|
"exports": {
|
|
@@ -0,0 +1,280 @@
|
|
|
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
|
+
"KernAlert": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"description": "Configuration for kern-alert component",
|
|
28
|
+
"properties": {
|
|
29
|
+
"title": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "The title text displayed in the alert"
|
|
32
|
+
},
|
|
33
|
+
"type": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["info", "success", "warning", "danger"],
|
|
36
|
+
"default": "info",
|
|
37
|
+
"description": "The visual style and semantic meaning of the alert"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["title"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
},
|
|
43
|
+
"KernDialog": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Configuration for kern-dialog component",
|
|
46
|
+
"properties": {
|
|
47
|
+
"dialogId": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Custom ID for the dialog element (auto-generated if not provided)"
|
|
50
|
+
},
|
|
51
|
+
"title": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "The title text displayed in the dialog header"
|
|
54
|
+
},
|
|
55
|
+
"btnCloseLabelText": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"default": "Schließen",
|
|
58
|
+
"description": "Label text for the close button"
|
|
59
|
+
},
|
|
60
|
+
"btnPrimaryLabelText": {
|
|
61
|
+
"type": ["string", "null"],
|
|
62
|
+
"description": "Label text for the primary action button (null to hide)"
|
|
63
|
+
},
|
|
64
|
+
"btnSecondaryLabelText": {
|
|
65
|
+
"type": ["string", "null"],
|
|
66
|
+
"description": "Label text for the secondary action button (null to hide)"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": ["title"],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
"KernLoader": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"description": "Configuration for kern-loader component",
|
|
75
|
+
"properties": {
|
|
76
|
+
"text": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "Laden...",
|
|
79
|
+
"description": "Loading text displayed alongside the spinner"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
},
|
|
84
|
+
"KernInputBase": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"description": "Base configuration shared by all form input components",
|
|
87
|
+
"properties": {
|
|
88
|
+
"inputId": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Custom ID for the input element (auto-generated if not provided)"
|
|
91
|
+
},
|
|
92
|
+
"labelText": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "Label text displayed for the input field"
|
|
95
|
+
},
|
|
96
|
+
"optional": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"default": false,
|
|
99
|
+
"description": "Whether to display '(optional)' in the label"
|
|
100
|
+
},
|
|
101
|
+
"readonly": {
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"default": false,
|
|
104
|
+
"description": "Whether the input is read-only"
|
|
105
|
+
},
|
|
106
|
+
"required": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"default": false,
|
|
109
|
+
"description": "Whether the input is required for form submission"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": ["labelText"]
|
|
113
|
+
},
|
|
114
|
+
"KernInputText": {
|
|
115
|
+
"allOf": [
|
|
116
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
117
|
+
{
|
|
118
|
+
"type": "object",
|
|
119
|
+
"description": "Configuration for kern-input-text component",
|
|
120
|
+
"properties": {
|
|
121
|
+
"inputmode": {
|
|
122
|
+
"type": ["string", "null"],
|
|
123
|
+
"enum": ["decimal", "numeric", null],
|
|
124
|
+
"description": "Input mode hint for mobile keyboards"
|
|
125
|
+
},
|
|
126
|
+
"maxlength": {
|
|
127
|
+
"type": ["number", "null"],
|
|
128
|
+
"minimum": 1,
|
|
129
|
+
"description": "Maximum number of characters allowed"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"KernInputDate": {
|
|
136
|
+
"allOf": [
|
|
137
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
138
|
+
{
|
|
139
|
+
"type": "object",
|
|
140
|
+
"description": "Configuration for kern-input-date component",
|
|
141
|
+
"properties": {
|
|
142
|
+
"min": {
|
|
143
|
+
"type": ["string", "null"],
|
|
144
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
145
|
+
"description": "Minimum selectable date in YYYY-MM-DD format"
|
|
146
|
+
},
|
|
147
|
+
"max": {
|
|
148
|
+
"type": ["string", "null"],
|
|
149
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
150
|
+
"description": "Maximum selectable date in YYYY-MM-DD format"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"KernInputFile": {
|
|
157
|
+
"allOf": [
|
|
158
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
159
|
+
{
|
|
160
|
+
"type": "object",
|
|
161
|
+
"description": "Configuration for kern-input-file component",
|
|
162
|
+
"properties": {
|
|
163
|
+
"accept": {
|
|
164
|
+
"type": ["string", "null"],
|
|
165
|
+
"description": "Comma-separated list of accepted file types (MIME types or extensions)"
|
|
166
|
+
},
|
|
167
|
+
"multiple": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"default": false,
|
|
170
|
+
"description": "Whether multiple files can be selected"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"KernInputPassword": {
|
|
177
|
+
"allOf": [
|
|
178
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
179
|
+
{
|
|
180
|
+
"type": "object",
|
|
181
|
+
"description": "Configuration for kern-input-password component",
|
|
182
|
+
"properties": {
|
|
183
|
+
"maxlength": {
|
|
184
|
+
"type": ["number", "null"],
|
|
185
|
+
"minimum": 1,
|
|
186
|
+
"description": "Maximum number of characters allowed"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"KernInputRadio": {
|
|
193
|
+
"allOf": [
|
|
194
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
195
|
+
{
|
|
196
|
+
"type": "object",
|
|
197
|
+
"description": "Configuration for kern-input-radio component",
|
|
198
|
+
"properties": {
|
|
199
|
+
"value": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "The value submitted when this radio button is selected"
|
|
202
|
+
},
|
|
203
|
+
"name": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"description": "Name attribute for grouping radio buttons together"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": ["value", "name"]
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"KernInputSelect": {
|
|
213
|
+
"allOf": [
|
|
214
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
215
|
+
{
|
|
216
|
+
"type": "object",
|
|
217
|
+
"description": "Configuration for kern-input-select component",
|
|
218
|
+
"properties": {
|
|
219
|
+
"multiple": {
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"default": false,
|
|
222
|
+
"description": "Whether multiple options can be selected"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"KernInputTextarea": {
|
|
229
|
+
"allOf": [
|
|
230
|
+
{ "$ref": "#/definitions/KernInputBase" },
|
|
231
|
+
{
|
|
232
|
+
"type": "object",
|
|
233
|
+
"description": "Configuration for kern-input-textarea component",
|
|
234
|
+
"properties": {
|
|
235
|
+
"rows": {
|
|
236
|
+
"type": ["number", "null"],
|
|
237
|
+
"minimum": 1,
|
|
238
|
+
"description": "Number of visible text lines for the textarea"
|
|
239
|
+
},
|
|
240
|
+
"cols": {
|
|
241
|
+
"type": ["number", "null"],
|
|
242
|
+
"minimum": 1,
|
|
243
|
+
"description": "Visible width of the textarea in characters"
|
|
244
|
+
},
|
|
245
|
+
"maxlength": {
|
|
246
|
+
"type": ["number", "null"],
|
|
247
|
+
"minimum": 1,
|
|
248
|
+
"description": "Maximum number of characters allowed"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"properties": {
|
|
256
|
+
"components": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"description": "Component configurations organized by component selector",
|
|
259
|
+
"properties": {
|
|
260
|
+
"kern-accordion": { "$ref": "#/definitions/KernAccordion" },
|
|
261
|
+
"kern-alert": { "$ref": "#/definitions/KernAlert" },
|
|
262
|
+
"kern-dialog": { "$ref": "#/definitions/KernDialog" },
|
|
263
|
+
"kern-loader": { "$ref": "#/definitions/KernLoader" },
|
|
264
|
+
"kern-input-text": { "$ref": "#/definitions/KernInputText" },
|
|
265
|
+
"kern-input-checkbox": { "$ref": "#/definitions/KernInputBase" },
|
|
266
|
+
"kern-input-date": { "$ref": "#/definitions/KernInputDate" },
|
|
267
|
+
"kern-input-email": { "$ref": "#/definitions/KernInputBase" },
|
|
268
|
+
"kern-input-file": { "$ref": "#/definitions/KernInputFile" },
|
|
269
|
+
"kern-input-password": { "$ref": "#/definitions/KernInputPassword" },
|
|
270
|
+
"kern-input-radio": { "$ref": "#/definitions/KernInputRadio" },
|
|
271
|
+
"kern-input-select": { "$ref": "#/definitions/KernInputSelect" },
|
|
272
|
+
"kern-input-tel": { "$ref": "#/definitions/KernInputBase" },
|
|
273
|
+
"kern-input-textarea": { "$ref": "#/definitions/KernInputTextarea" },
|
|
274
|
+
"kern-input-url": { "$ref": "#/definitions/KernInputBase" }
|
|
275
|
+
},
|
|
276
|
+
"additionalProperties": false
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"additionalProperties": false
|
|
280
|
+
}
|
|
Binary file
|