@public-ui/themes 1.5.0-rc.20 → 1.5.0-rc.22

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/dist/index.cjs CHANGED
@@ -1,10 +1,396 @@
1
1
  'use strict';
2
2
 
3
- const components = require('@public-ui/components');
3
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
 
5
- const BAMF = components.KoliBri.createTheme("bamf", {});
5
+ var loglevel = {exports: {}};
6
6
 
7
- const BPA = components.KoliBri.createTheme("bpa", {
7
+ /*
8
+ * loglevel - https://github.com/pimterry/loglevel
9
+ *
10
+ * Copyright (c) 2013 Tim Perry
11
+ * Licensed under the MIT license.
12
+ */
13
+
14
+ (function (module) {
15
+ (function (root, definition) {
16
+ if (module.exports) {
17
+ module.exports = definition();
18
+ } else {
19
+ root.log = definition();
20
+ }
21
+ }(commonjsGlobal, function () {
22
+
23
+ // Slightly dubious tricks to cut down minimized file size
24
+ var noop = function() {};
25
+ var undefinedType = "undefined";
26
+ var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (
27
+ /Trident\/|MSIE /.test(window.navigator.userAgent)
28
+ );
29
+
30
+ var logMethods = [
31
+ "trace",
32
+ "debug",
33
+ "info",
34
+ "warn",
35
+ "error"
36
+ ];
37
+
38
+ // Cross-browser bind equivalent that works at least back to IE6
39
+ function bindMethod(obj, methodName) {
40
+ var method = obj[methodName];
41
+ if (typeof method.bind === 'function') {
42
+ return method.bind(obj);
43
+ } else {
44
+ try {
45
+ return Function.prototype.bind.call(method, obj);
46
+ } catch (e) {
47
+ // Missing bind shim or IE8 + Modernizr, fallback to wrapping
48
+ return function() {
49
+ return Function.prototype.apply.apply(method, [obj, arguments]);
50
+ };
51
+ }
52
+ }
53
+ }
54
+
55
+ // Trace() doesn't print the message in IE, so for that case we need to wrap it
56
+ function traceForIE() {
57
+ if (console.log) {
58
+ if (console.log.apply) {
59
+ console.log.apply(console, arguments);
60
+ } else {
61
+ // In old IE, native console methods themselves don't have apply().
62
+ Function.prototype.apply.apply(console.log, [console, arguments]);
63
+ }
64
+ }
65
+ if (console.trace) console.trace();
66
+ }
67
+
68
+ // Build the best logging method possible for this env
69
+ // Wherever possible we want to bind, not wrap, to preserve stack traces
70
+ function realMethod(methodName) {
71
+ if (methodName === 'debug') {
72
+ methodName = 'log';
73
+ }
74
+
75
+ if (typeof console === undefinedType) {
76
+ return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives
77
+ } else if (methodName === 'trace' && isIE) {
78
+ return traceForIE;
79
+ } else if (console[methodName] !== undefined) {
80
+ return bindMethod(console, methodName);
81
+ } else if (console.log !== undefined) {
82
+ return bindMethod(console, 'log');
83
+ } else {
84
+ return noop;
85
+ }
86
+ }
87
+
88
+ // These private functions always need `this` to be set properly
89
+
90
+ function replaceLoggingMethods(level, loggerName) {
91
+ /*jshint validthis:true */
92
+ for (var i = 0; i < logMethods.length; i++) {
93
+ var methodName = logMethods[i];
94
+ this[methodName] = (i < level) ?
95
+ noop :
96
+ this.methodFactory(methodName, level, loggerName);
97
+ }
98
+
99
+ // Define log.log as an alias for log.debug
100
+ this.log = this.debug;
101
+ }
102
+
103
+ // In old IE versions, the console isn't present until you first open it.
104
+ // We build realMethod() replacements here that regenerate logging methods
105
+ function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {
106
+ return function () {
107
+ if (typeof console !== undefinedType) {
108
+ replaceLoggingMethods.call(this, level, loggerName);
109
+ this[methodName].apply(this, arguments);
110
+ }
111
+ };
112
+ }
113
+
114
+ // By default, we use closely bound real methods wherever possible, and
115
+ // otherwise we wait for a console to appear, and then try again.
116
+ function defaultMethodFactory(methodName, level, loggerName) {
117
+ /*jshint validthis:true */
118
+ return realMethod(methodName) ||
119
+ enableLoggingWhenConsoleArrives.apply(this, arguments);
120
+ }
121
+
122
+ function Logger(name, defaultLevel, factory) {
123
+ var self = this;
124
+ var currentLevel;
125
+ defaultLevel = defaultLevel == null ? "WARN" : defaultLevel;
126
+
127
+ var storageKey = "loglevel";
128
+ if (typeof name === "string") {
129
+ storageKey += ":" + name;
130
+ } else if (typeof name === "symbol") {
131
+ storageKey = undefined;
132
+ }
133
+
134
+ function persistLevelIfPossible(levelNum) {
135
+ var levelName = (logMethods[levelNum] || 'silent').toUpperCase();
136
+
137
+ if (typeof window === undefinedType || !storageKey) return;
138
+
139
+ // Use localStorage if available
140
+ try {
141
+ window.localStorage[storageKey] = levelName;
142
+ return;
143
+ } catch (ignore) {}
144
+
145
+ // Use session cookie as fallback
146
+ try {
147
+ window.document.cookie =
148
+ encodeURIComponent(storageKey) + "=" + levelName + ";";
149
+ } catch (ignore) {}
150
+ }
151
+
152
+ function getPersistedLevel() {
153
+ var storedLevel;
154
+
155
+ if (typeof window === undefinedType || !storageKey) return;
156
+
157
+ try {
158
+ storedLevel = window.localStorage[storageKey];
159
+ } catch (ignore) {}
160
+
161
+ // Fallback to cookies if local storage gives us nothing
162
+ if (typeof storedLevel === undefinedType) {
163
+ try {
164
+ var cookie = window.document.cookie;
165
+ var location = cookie.indexOf(
166
+ encodeURIComponent(storageKey) + "=");
167
+ if (location !== -1) {
168
+ storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];
169
+ }
170
+ } catch (ignore) {}
171
+ }
172
+
173
+ // If the stored level is not valid, treat it as if nothing was stored.
174
+ if (self.levels[storedLevel] === undefined) {
175
+ storedLevel = undefined;
176
+ }
177
+
178
+ return storedLevel;
179
+ }
180
+
181
+ function clearPersistedLevel() {
182
+ if (typeof window === undefinedType || !storageKey) return;
183
+
184
+ // Use localStorage if available
185
+ try {
186
+ window.localStorage.removeItem(storageKey);
187
+ return;
188
+ } catch (ignore) {}
189
+
190
+ // Use session cookie as fallback
191
+ try {
192
+ window.document.cookie =
193
+ encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
194
+ } catch (ignore) {}
195
+ }
196
+
197
+ /*
198
+ *
199
+ * Public logger API - see https://github.com/pimterry/loglevel for details
200
+ *
201
+ */
202
+
203
+ self.name = name;
204
+
205
+ self.levels = { "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3,
206
+ "ERROR": 4, "SILENT": 5};
207
+
208
+ self.methodFactory = factory || defaultMethodFactory;
209
+
210
+ self.getLevel = function () {
211
+ return currentLevel;
212
+ };
213
+
214
+ self.setLevel = function (level, persist) {
215
+ if (typeof level === "string" && self.levels[level.toUpperCase()] !== undefined) {
216
+ level = self.levels[level.toUpperCase()];
217
+ }
218
+ if (typeof level === "number" && level >= 0 && level <= self.levels.SILENT) {
219
+ currentLevel = level;
220
+ if (persist !== false) { // defaults to true
221
+ persistLevelIfPossible(level);
222
+ }
223
+ replaceLoggingMethods.call(self, level, name);
224
+ if (typeof console === undefinedType && level < self.levels.SILENT) {
225
+ return "No console available for logging";
226
+ }
227
+ } else {
228
+ throw "log.setLevel() called with invalid level: " + level;
229
+ }
230
+ };
231
+
232
+ self.setDefaultLevel = function (level) {
233
+ defaultLevel = level;
234
+ if (!getPersistedLevel()) {
235
+ self.setLevel(level, false);
236
+ }
237
+ };
238
+
239
+ self.resetLevel = function () {
240
+ self.setLevel(defaultLevel, false);
241
+ clearPersistedLevel();
242
+ };
243
+
244
+ self.enableAll = function(persist) {
245
+ self.setLevel(self.levels.TRACE, persist);
246
+ };
247
+
248
+ self.disableAll = function(persist) {
249
+ self.setLevel(self.levels.SILENT, persist);
250
+ };
251
+
252
+ // Initialize with the right level
253
+ var initialLevel = getPersistedLevel();
254
+ if (initialLevel == null) {
255
+ initialLevel = defaultLevel;
256
+ }
257
+ self.setLevel(initialLevel, false);
258
+ }
259
+
260
+ /*
261
+ *
262
+ * Top-level API
263
+ *
264
+ */
265
+
266
+ var defaultLogger = new Logger();
267
+
268
+ var _loggersByName = {};
269
+ defaultLogger.getLogger = function getLogger(name) {
270
+ if ((typeof name !== "symbol" && typeof name !== "string") || name === "") {
271
+ throw new TypeError("You must supply a name when creating a logger.");
272
+ }
273
+
274
+ var logger = _loggersByName[name];
275
+ if (!logger) {
276
+ logger = _loggersByName[name] = new Logger(
277
+ name, defaultLogger.getLevel(), defaultLogger.methodFactory);
278
+ }
279
+ return logger;
280
+ };
281
+
282
+ // Grab the current global log variable in case of overwrite
283
+ var _log = (typeof window !== undefinedType) ? window.log : undefined;
284
+ defaultLogger.noConflict = function() {
285
+ if (typeof window !== undefinedType &&
286
+ window.log === defaultLogger) {
287
+ window.log = _log;
288
+ }
289
+
290
+ return defaultLogger;
291
+ };
292
+
293
+ defaultLogger.getLoggers = function getLoggers() {
294
+ return _loggersByName;
295
+ };
296
+
297
+ // ES6 default export, for compatibility
298
+ defaultLogger['default'] = defaultLogger;
299
+
300
+ return defaultLogger;
301
+ }));
302
+ } (loglevel));
303
+
304
+ const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};new Map;const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t);}CSS_PROPERTIES_REGISTERED.add(e);},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t);}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t);})),e.adoptedStyleSheets=o;}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild);}));}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)];}catch(e){r=[];}"before"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))));}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot;}catch(t){r=e;}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else {const n=getCssStyle(s,"PROPERTIES"),a=getCssStyle(s,"GLOBAL"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,a);const i=[n,a,l];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o);}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s;},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size});},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e);},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t);},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o);}};let observer;try{observer=new MutationObserver(observerCallback);}catch(e){observer=null;}class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o);}}
305
+
306
+ var KeyEnum = /* @__PURE__ */ ((KeyEnum2) => {
307
+ KeyEnum2[KeyEnum2["error"] = 0] = "error";
308
+ KeyEnum2[KeyEnum2["warning"] = 1] = "warning";
309
+ KeyEnum2[KeyEnum2["info"] = 2] = "info";
310
+ KeyEnum2[KeyEnum2["success"] = 3] = "success";
311
+ KeyEnum2[KeyEnum2["message"] = 4] = "message";
312
+ KeyEnum2[KeyEnum2["close"] = 5] = "close";
313
+ KeyEnum2[KeyEnum2["form-description"] = 6] = "form-description";
314
+ KeyEnum2[KeyEnum2["of"] = 7] = "of";
315
+ KeyEnum2[KeyEnum2["characters"] = 8] = "characters";
316
+ KeyEnum2[KeyEnum2["new"] = 9] = "new";
317
+ KeyEnum2[KeyEnum2["no-entries"] = 10] = "no-entries";
318
+ KeyEnum2[KeyEnum2["change-order"] = 11] = "change-order";
319
+ KeyEnum2[KeyEnum2["action-running"] = 12] = "action-running";
320
+ KeyEnum2[KeyEnum2["action-done"] = 13] = "action-done";
321
+ KeyEnum2[KeyEnum2["page-first"] = 14] = "page-first";
322
+ KeyEnum2[KeyEnum2["page-back"] = 15] = "page-back";
323
+ KeyEnum2[KeyEnum2["page-next"] = 16] = "page-next";
324
+ KeyEnum2[KeyEnum2["page-last"] = 17] = "page-last";
325
+ KeyEnum2[KeyEnum2["entries-per-site"] = 18] = "entries-per-site";
326
+ KeyEnum2[KeyEnum2["page-current"] = 19] = "page-current";
327
+ KeyEnum2[KeyEnum2["page-selected"] = 20] = "page-selected";
328
+ KeyEnum2[KeyEnum2["page-per-site"] = 21] = "page-per-site";
329
+ KeyEnum2[KeyEnum2["nav-maximize"] = 22] = "nav-maximize";
330
+ KeyEnum2[KeyEnum2["nav-minimize"] = 23] = "nav-minimize";
331
+ KeyEnum2[KeyEnum2["logo-description"] = 24] = "logo-description";
332
+ KeyEnum2[KeyEnum2["open-link-in-tab"] = 25] = "open-link-in-tab";
333
+ KeyEnum2[KeyEnum2["kolibri-logo"] = 26] = "kolibri-logo";
334
+ return KeyEnum2;
335
+ })(KeyEnum || {});
336
+
337
+ var TagEnum = /* @__PURE__ */ ((TagEnum2) => {
338
+ TagEnum2[TagEnum2["abbr"] = 0] = "abbr";
339
+ TagEnum2[TagEnum2["accordion"] = 1] = "accordion";
340
+ TagEnum2[TagEnum2["accordion-group"] = 2] = "accordion-group";
341
+ TagEnum2[TagEnum2["alert"] = 3] = "alert";
342
+ TagEnum2[TagEnum2["avatar"] = 4] = "avatar";
343
+ TagEnum2[TagEnum2["badge"] = 5] = "badge";
344
+ TagEnum2[TagEnum2["breadcrumb"] = 6] = "breadcrumb";
345
+ TagEnum2[TagEnum2["button"] = 7] = "button";
346
+ TagEnum2[TagEnum2["button-group"] = 8] = "button-group";
347
+ TagEnum2[TagEnum2["button-link"] = 9] = "button-link";
348
+ TagEnum2[TagEnum2["card"] = 10] = "card";
349
+ TagEnum2[TagEnum2["details"] = 11] = "details";
350
+ TagEnum2[TagEnum2["dialog"] = 12] = "dialog";
351
+ TagEnum2[TagEnum2["dropdown"] = 13] = "dropdown";
352
+ TagEnum2[TagEnum2["form"] = 14] = "form";
353
+ TagEnum2[TagEnum2["heading"] = 15] = "heading";
354
+ TagEnum2[TagEnum2["icon"] = 16] = "icon";
355
+ TagEnum2[TagEnum2["image"] = 17] = "image";
356
+ TagEnum2[TagEnum2["indented-text"] = 18] = "indented-text";
357
+ TagEnum2[TagEnum2["input-checkbox"] = 19] = "input-checkbox";
358
+ TagEnum2[TagEnum2["input-color"] = 20] = "input-color";
359
+ TagEnum2[TagEnum2["input-date"] = 21] = "input-date";
360
+ TagEnum2[TagEnum2["input-file"] = 22] = "input-file";
361
+ TagEnum2[TagEnum2["input-email"] = 23] = "input-email";
362
+ TagEnum2[TagEnum2["input-number"] = 24] = "input-number";
363
+ TagEnum2[TagEnum2["input-password"] = 25] = "input-password";
364
+ TagEnum2[TagEnum2["input-radio"] = 26] = "input-radio";
365
+ TagEnum2[TagEnum2["input-range"] = 27] = "input-range";
366
+ TagEnum2[TagEnum2["input-text"] = 28] = "input-text";
367
+ TagEnum2[TagEnum2["link"] = 29] = "link";
368
+ TagEnum2[TagEnum2["link-button"] = 30] = "link-button";
369
+ TagEnum2[TagEnum2["link-group"] = 31] = "link-group";
370
+ TagEnum2[TagEnum2["modal"] = 32] = "modal";
371
+ TagEnum2[TagEnum2["nav"] = 33] = "nav";
372
+ TagEnum2[TagEnum2["pagination"] = 34] = "pagination";
373
+ TagEnum2[TagEnum2["popover"] = 35] = "popover";
374
+ TagEnum2[TagEnum2["progress"] = 36] = "progress";
375
+ TagEnum2[TagEnum2["select"] = 37] = "select";
376
+ TagEnum2[TagEnum2["separator"] = 38] = "separator";
377
+ TagEnum2[TagEnum2["skip-nav"] = 39] = "skip-nav";
378
+ TagEnum2[TagEnum2["spin"] = 40] = "spin";
379
+ TagEnum2[TagEnum2["symbol"] = 41] = "symbol";
380
+ TagEnum2[TagEnum2["table"] = 42] = "table";
381
+ TagEnum2[TagEnum2["tabs"] = 43] = "tabs";
382
+ TagEnum2[TagEnum2["textarea"] = 44] = "textarea";
383
+ TagEnum2[TagEnum2["toast"] = 45] = "toast";
384
+ TagEnum2[TagEnum2["toolbar"] = 46] = "toolbar";
385
+ TagEnum2[TagEnum2["tooltip"] = 47] = "tooltip";
386
+ return TagEnum2;
387
+ })(TagEnum || {});
388
+
389
+ const KoliBri = new Theme("kol", KeyEnum, TagEnum);
390
+
391
+ const BAMF = KoliBri.createTheme("bamf", {});
392
+
393
+ const BPA = KoliBri.createTheme("bpa", {
8
394
  GLOBAL: `:host {
9
395
  --font-family-sans: BundesSans Web, Arial, Helvetica, sans-serif;
10
396
  --font-family-serif: BundesSerif Web, var(--kolibri-font-family-sans);
@@ -1438,7 +1824,7 @@ const BPA = components.KoliBri.createTheme("bpa", {
1438
1824
  }`
1439
1825
  });
1440
1826
 
1441
- const BZSt = components.KoliBri.createTheme("bzst", {
1827
+ const BZSt = KoliBri.createTheme("bzst", {
1442
1828
  GLOBAL: `/* colors */
1443
1829
  :root,
1444
1830
  :host {
@@ -4105,7 +4491,7 @@ const BZSt = components.KoliBri.createTheme("bzst", {
4105
4491
  }`
4106
4492
  });
4107
4493
 
4108
- const BMF = components.KoliBri.createTheme("bmf", {
4494
+ const BMF = KoliBri.createTheme("bmf", {
4109
4495
  GLOBAL: `/* Design Tokens */
4110
4496
  :host {
4111
4497
  --border-radius: 5px;
@@ -13571,7 +13957,7 @@ const BMF = components.KoliBri.createTheme("bmf", {
13571
13957
  }`
13572
13958
  });
13573
13959
 
13574
- const DESYv1 = components.KoliBri.createTheme("desy-v1", {
13960
+ const DESYv1 = KoliBri.createTheme("desy-v1", {
13575
13961
  GLOBAL: `:host {
13576
13962
  --color-primary: #326cae;
13577
13963
  --color-primary-10: #1e538f;
@@ -16245,7 +16631,7 @@ const DESYv1 = components.KoliBri.createTheme("desy-v1", {
16245
16631
  }`
16246
16632
  });
16247
16633
 
16248
- const DESYv2 = components.KoliBri.createTheme("desy-v2", {
16634
+ const DESYv2 = KoliBri.createTheme("desy-v2", {
16249
16635
  GLOBAL: `
16250
16636
  kol-tooltip .area {
16251
16637
  background-color:#f2f2f2;
@@ -18933,7 +19319,7 @@ const DESYv2 = components.KoliBri.createTheme("desy-v2", {
18933
19319
  }`
18934
19320
  });
18935
19321
 
18936
- const ECL_EC = components.KoliBri.createTheme("ecl-ec", {
19322
+ const ECL_EC = KoliBri.createTheme("ecl-ec", {
18937
19323
  GLOBAL: `kol-tooltip .area {
18938
19324
  background-color: #f2f2f2;
18939
19325
  }
@@ -20305,7 +20691,7 @@ const ECL_EC = components.KoliBri.createTheme("ecl-ec", {
20305
20691
  }`
20306
20692
  });
20307
20693
 
20308
- const ECL_EU = components.KoliBri.createTheme("ecl-eu", {
20694
+ const ECL_EU = KoliBri.createTheme("ecl-eu", {
20309
20695
  GLOBAL: `kol-tooltip .area {
20310
20696
  background-color: #f2f2f2;
20311
20697
  }
@@ -21652,7 +22038,7 @@ const ECL_EU = components.KoliBri.createTheme("ecl-eu", {
21652
22038
  }`
21653
22039
  });
21654
22040
 
21655
- const ITZBund = components.KoliBri.createTheme("itzbund", {
22041
+ const ITZBund = KoliBri.createTheme("itzbund", {
21656
22042
  GLOBAL: `:host {
21657
22043
  --border-color: var(--color-anthrazit);
21658
22044
  --border-radius: 0.125rem;
@@ -23312,7 +23698,7 @@ const ITZBund = components.KoliBri.createTheme("itzbund", {
23312
23698
  }`
23313
23699
  });
23314
23700
 
23315
- const MAPZ = components.KoliBri.createTheme("mapz", {
23701
+ const MAPZ = KoliBri.createTheme("mapz", {
23316
23702
  GLOBAL: `:host {
23317
23703
  --kolibri-background-color: white;
23318
23704
  --kolibri-background-color-modal: rgba(0, 0, 0, 0.5);
@@ -23371,13 +23757,9 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23371
23757
  padding: 0;
23372
23758
  }
23373
23759
  *[tabindex]:focus,
23374
- a:focus,
23375
- button:focus,
23376
- input:focus,
23377
- select:focus,
23378
- summary:focus,
23379
- textarea:focus {
23380
- border-radius: var(--kolibri-border-radius);
23760
+ kol-input:not(.checkbox, .radio) .input:focus-within,
23761
+ kol-input:is(.checkbox, .radio) input:focus,
23762
+ summary:focus {
23381
23763
  cursor: pointer;
23382
23764
  outline-color: var(--kolibri-color-outline);
23383
23765
  outline-offset: 2px;
@@ -23562,53 +23944,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23562
23944
  .card .content {
23563
23945
  padding: var(--spacing);
23564
23946
  }`,
23565
- "KOL-INPUT-TEXT": `kol-input {
23566
- display: grid;
23567
- padding: 0;
23568
- margin: 0;
23947
+ "KOL-INPUT-TEXT": `input,
23948
+ select,
23949
+ textarea {
23950
+ border: none;
23569
23951
  }
23570
- input:focus,
23571
- input:hover,
23572
- select:focus,
23573
- select:hover,
23574
- textarea:focus,
23575
- textarea:hover {
23576
- border-color: var(--kolibri-color-secondary);
23952
+ input[type="color"] {
23953
+ border: none;
23954
+ min-height: 40px !important;
23955
+ }
23956
+ input[type="color"],
23957
+ input[type="file"] {
23958
+ background-color: transparent;
23959
+ }
23960
+ kol-input {
23961
+ gap: var(--spacing);
23577
23962
  }
23578
23963
  kol-input > label {
23579
23964
  order: 1;
23580
- }
23581
- kol-input > label > span {
23582
23965
  color: var(--default-letter);
23583
- font-size: 0.875rem;
23584
- line-height: 1.5rem;
23585
23966
  }
23586
- kol-input > div.input {
23587
- background-color: white;
23967
+ kol-input > .input {
23968
+ border-color: var(--kolibri-border-color);
23588
23969
  border-radius: 0.25rem;
23589
- display: block;
23970
+ border-style: solid;
23971
+ border-width: 2px;
23590
23972
  order: 2;
23591
23973
  }
23592
- kol-input > kol-alert.error {
23974
+ kol-input:hover > .input {
23975
+ border-color: var(--kolibri-color-secondary);
23976
+ }
23977
+ kol-input > .input > kol-icon:first-child {
23978
+ margin-left: 0.75em;
23979
+ }
23980
+ kol-input > .input > kol-icon:last-child {
23981
+ margin-right: 0.75em;
23982
+ }
23983
+ kol-input > .error {
23593
23984
  order: 3;
23594
23985
  }
23986
+ kol-input > .hint {
23987
+ order: 4;
23988
+ font-size: 0.875em;
23989
+ }
23595
23990
  input,
23596
23991
  select,
23597
23992
  textarea {
23598
- font-family: var(--font-family);
23599
- background-color: transparent;
23600
- box-sizing: border-box;
23601
- font-size: 1rem;
23602
- display: inline-flex;
23603
- line-height: 1.5em;
23604
23993
  color: var(--default-letter);
23605
- border-color: var(--kolibri-border-color);
23606
- border-width: 2px;
23607
- border-style: solid;
23608
23994
  padding: 0.5em 0.75em;
23609
- border-radius: 0.25rem;
23610
- overflow: hidden;
23611
- width: 100%;
23612
23995
  }
23613
23996
  input:not([type="range"]),
23614
23997
  select:not([multiple]) {
@@ -23622,27 +24005,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23622
24005
  }
23623
24006
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
23624
24007
  cursor: not-allowed;
23625
- background-color: var(--background-light-grey);
23626
- }
23627
- .required label > span::after {
23628
- content: "*";
23629
- padding-left: 0.125em;
23630
- }
23631
- .icon-left input,
23632
- .icon-left select {
23633
- padding-left: 2em;
23634
- }
23635
- .icon-right input,
23636
- .icon-right select {
23637
- padding-right: 2em;
23638
24008
  }
23639
24009
  select[multiple],
23640
24010
  textarea {
23641
24011
  overflow: auto;
23642
24012
  }
23643
- textarea {
23644
- display: block;
23645
- }
23646
24013
  select option {
23647
24014
  margin: 1px 0;
23648
24015
  padding: 0.5em;
@@ -23662,56 +24029,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23662
24029
  "KOL-BUTTON-GROUP": `kol-button-group-wc {
23663
24030
  gap: 0.25em;
23664
24031
  }`,
23665
- "KOL-INPUT-PASSWORD": `:host {
23666
- --kolibri-spacing: 0.25rem;
24032
+ "KOL-INPUT-PASSWORD": `input,
24033
+ select,
24034
+ textarea {
24035
+ border: none;
23667
24036
  }
23668
- kol-input {
23669
- display: grid;
23670
- padding: 0;
23671
- margin: 0;
24037
+ input[type="color"] {
24038
+ border: none;
24039
+ min-height: 40px !important;
23672
24040
  }
23673
- input:focus,
23674
- input:hover,
23675
- select:focus,
23676
- select:hover,
23677
- textarea:focus,
23678
- textarea:hover {
23679
- border-color: var(--kolibri-color-secondary);
24041
+ input[type="color"],
24042
+ input[type="file"] {
24043
+ background-color: transparent;
24044
+ }
24045
+ kol-input {
24046
+ gap: var(--spacing);
23680
24047
  }
23681
24048
  kol-input > label {
23682
24049
  order: 1;
23683
- }
23684
- kol-input > label > span {
23685
24050
  color: var(--default-letter);
23686
- font-size: 0.875rem;
23687
- line-height: 1.5rem;
23688
24051
  }
23689
- kol-input > div.input {
23690
- background-color: white;
24052
+ kol-input > .input {
24053
+ border-color: var(--kolibri-border-color);
23691
24054
  border-radius: 0.25rem;
23692
- display: block;
24055
+ border-style: solid;
24056
+ border-width: 2px;
23693
24057
  order: 2;
23694
24058
  }
23695
- kol-input > kol-alert.error {
24059
+ kol-input:hover > .input {
24060
+ border-color: var(--kolibri-color-secondary);
24061
+ }
24062
+ kol-input > .input > kol-icon:first-child {
24063
+ margin-left: 0.75em;
24064
+ }
24065
+ kol-input > .input > kol-icon:last-child {
24066
+ margin-right: 0.75em;
24067
+ }
24068
+ kol-input > .error {
23696
24069
  order: 3;
23697
24070
  }
24071
+ kol-input > .hint {
24072
+ order: 4;
24073
+ font-size: 0.875em;
24074
+ }
23698
24075
  input,
23699
24076
  select,
23700
24077
  textarea {
23701
- font-family: var(--font-family);
23702
- background-color: transparent;
23703
- box-sizing: border-box;
23704
- font-size: 1rem;
23705
- display: inline-flex;
23706
- line-height: 1.5em;
23707
24078
  color: var(--default-letter);
23708
- border-color: var(--kolibri-border-color);
23709
- border-width: 2px;
23710
- border-style: solid;
23711
24079
  padding: 0.5em 0.75em;
23712
- border-radius: 0.25rem;
23713
- overflow: hidden;
23714
- width: 100%;
23715
24080
  }
23716
24081
  input:not([type="range"]),
23717
24082
  select:not([multiple]) {
@@ -23725,27 +24090,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23725
24090
  }
23726
24091
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
23727
24092
  cursor: not-allowed;
23728
- background-color: var(--background-light-grey);
23729
- }
23730
- .required label > span::after {
23731
- content: "*";
23732
- padding-left: 0.125em;
23733
- }
23734
- .icon-left input,
23735
- .icon-left select {
23736
- padding-left: 2em;
23737
- }
23738
- .icon-right input,
23739
- .icon-right select {
23740
- padding-right: 2em;
23741
24093
  }
23742
24094
  select[multiple],
23743
24095
  textarea {
23744
24096
  overflow: auto;
23745
24097
  }
23746
- textarea {
23747
- display: block;
23748
- }
23749
24098
  select option {
23750
24099
  margin: 1px 0;
23751
24100
  padding: 0.5em;
@@ -23762,53 +24111,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23762
24111
  background-color: var(--kolibri-color-primary);
23763
24112
  color: white;
23764
24113
  }`,
23765
- "KOL-INPUT-NUMBER": `kol-input {
23766
- display: grid;
23767
- padding: 0;
23768
- margin: 0;
24114
+ "KOL-INPUT-NUMBER": `input,
24115
+ select,
24116
+ textarea {
24117
+ border: none;
23769
24118
  }
23770
- input:focus,
23771
- input:hover,
23772
- select:focus,
23773
- select:hover,
23774
- textarea:focus,
23775
- textarea:hover {
23776
- border-color: var(--kolibri-color-secondary);
24119
+ input[type="color"] {
24120
+ border: none;
24121
+ min-height: 40px !important;
24122
+ }
24123
+ input[type="color"],
24124
+ input[type="file"] {
24125
+ background-color: transparent;
24126
+ }
24127
+ kol-input {
24128
+ gap: var(--spacing);
23777
24129
  }
23778
24130
  kol-input > label {
23779
24131
  order: 1;
23780
- }
23781
- kol-input > label > span {
23782
24132
  color: var(--default-letter);
23783
- font-size: 0.875rem;
23784
- line-height: 1.5rem;
23785
24133
  }
23786
- kol-input > div.input {
23787
- background-color: white;
24134
+ kol-input > .input {
24135
+ border-color: var(--kolibri-border-color);
23788
24136
  border-radius: 0.25rem;
23789
- display: block;
24137
+ border-style: solid;
24138
+ border-width: 2px;
23790
24139
  order: 2;
23791
24140
  }
23792
- kol-input > kol-alert.error {
24141
+ kol-input:hover > .input {
24142
+ border-color: var(--kolibri-color-secondary);
24143
+ }
24144
+ kol-input > .input > kol-icon:first-child {
24145
+ margin-left: 0.75em;
24146
+ }
24147
+ kol-input > .input > kol-icon:last-child {
24148
+ margin-right: 0.75em;
24149
+ }
24150
+ kol-input > .error {
23793
24151
  order: 3;
23794
24152
  }
24153
+ kol-input > .hint {
24154
+ order: 4;
24155
+ font-size: 0.875em;
24156
+ }
23795
24157
  input,
23796
24158
  select,
23797
24159
  textarea {
23798
- font-family: var(--font-family);
23799
- background-color: transparent;
23800
- box-sizing: border-box;
23801
- font-size: 1rem;
23802
- display: inline-flex;
23803
- line-height: 1.5em;
23804
24160
  color: var(--default-letter);
23805
- border-color: var(--kolibri-border-color);
23806
- border-width: 2px;
23807
- border-style: solid;
23808
24161
  padding: 0.5em 0.75em;
23809
- border-radius: 0.25rem;
23810
- overflow: hidden;
23811
- width: 100%;
23812
24162
  }
23813
24163
  input:not([type="range"]),
23814
24164
  select:not([multiple]) {
@@ -23822,27 +24172,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23822
24172
  }
23823
24173
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
23824
24174
  cursor: not-allowed;
23825
- background-color: var(--background-light-grey);
23826
- }
23827
- .required label > span::after {
23828
- content: "*";
23829
- padding-left: 0.125em;
23830
- }
23831
- .icon-left input,
23832
- .icon-left select {
23833
- padding-left: 2em;
23834
- }
23835
- .icon-right input,
23836
- .icon-right select {
23837
- padding-right: 2em;
23838
24175
  }
23839
24176
  select[multiple],
23840
24177
  textarea {
23841
24178
  overflow: auto;
23842
24179
  }
23843
- textarea {
23844
- display: block;
23845
- }
23846
24180
  select option {
23847
24181
  margin: 1px 0;
23848
24182
  padding: 0.5em;
@@ -23859,53 +24193,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23859
24193
  background-color: var(--kolibri-color-primary);
23860
24194
  color: white;
23861
24195
  }`,
23862
- "KOL-INPUT-EMAIL": `kol-input {
23863
- display: grid;
23864
- padding: 0;
23865
- margin: 0;
24196
+ "KOL-INPUT-EMAIL": `input,
24197
+ select,
24198
+ textarea {
24199
+ border: none;
23866
24200
  }
23867
- input:focus,
23868
- input:hover,
23869
- select:focus,
23870
- select:hover,
23871
- textarea:focus,
23872
- textarea:hover {
23873
- border-color: var(--kolibri-color-secondary);
24201
+ input[type="color"] {
24202
+ border: none;
24203
+ min-height: 40px !important;
24204
+ }
24205
+ input[type="color"],
24206
+ input[type="file"] {
24207
+ background-color: transparent;
24208
+ }
24209
+ kol-input {
24210
+ gap: var(--spacing);
23874
24211
  }
23875
24212
  kol-input > label {
23876
24213
  order: 1;
23877
- }
23878
- kol-input > label > span {
23879
24214
  color: var(--default-letter);
23880
- font-size: 0.875rem;
23881
- line-height: 1.5rem;
23882
24215
  }
23883
- kol-input > div.input {
23884
- background-color: white;
24216
+ kol-input > .input {
24217
+ border-color: var(--kolibri-border-color);
23885
24218
  border-radius: 0.25rem;
23886
- display: block;
24219
+ border-style: solid;
24220
+ border-width: 2px;
23887
24221
  order: 2;
23888
24222
  }
23889
- kol-input > kol-alert.error {
24223
+ kol-input:hover > .input {
24224
+ border-color: var(--kolibri-color-secondary);
24225
+ }
24226
+ kol-input > .input > kol-icon:first-child {
24227
+ margin-left: 0.75em;
24228
+ }
24229
+ kol-input > .input > kol-icon:last-child {
24230
+ margin-right: 0.75em;
24231
+ }
24232
+ kol-input > .error {
23890
24233
  order: 3;
23891
24234
  }
24235
+ kol-input > .hint {
24236
+ order: 4;
24237
+ font-size: 0.875em;
24238
+ }
23892
24239
  input,
23893
24240
  select,
23894
24241
  textarea {
23895
- font-family: var(--font-family);
23896
- background-color: transparent;
23897
- box-sizing: border-box;
23898
- font-size: 1rem;
23899
- display: inline-flex;
23900
- line-height: 1.5em;
23901
24242
  color: var(--default-letter);
23902
- border-color: var(--kolibri-border-color);
23903
- border-width: 2px;
23904
- border-style: solid;
23905
24243
  padding: 0.5em 0.75em;
23906
- border-radius: 0.25rem;
23907
- overflow: hidden;
23908
- width: 100%;
23909
24244
  }
23910
24245
  input:not([type="range"]),
23911
24246
  select:not([multiple]) {
@@ -23919,27 +24254,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23919
24254
  }
23920
24255
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
23921
24256
  cursor: not-allowed;
23922
- background-color: var(--background-light-grey);
23923
- }
23924
- .required label > span::after {
23925
- content: "*";
23926
- padding-left: 0.125em;
23927
- }
23928
- .icon-left input,
23929
- .icon-left select {
23930
- padding-left: 2em;
23931
- }
23932
- .icon-right input,
23933
- .icon-right select {
23934
- padding-right: 2em;
23935
24257
  }
23936
24258
  select[multiple],
23937
24259
  textarea {
23938
24260
  overflow: auto;
23939
24261
  }
23940
- textarea {
23941
- display: block;
23942
- }
23943
24262
  select option {
23944
24263
  margin: 1px 0;
23945
24264
  padding: 0.5em;
@@ -23956,53 +24275,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
23956
24275
  background-color: var(--kolibri-color-primary);
23957
24276
  color: white;
23958
24277
  }`,
23959
- "KOL-INPUT-FILE": `kol-input {
23960
- display: grid;
23961
- padding: 0;
23962
- margin: 0;
24278
+ "KOL-INPUT-FILE": `input,
24279
+ select,
24280
+ textarea {
24281
+ border: none;
23963
24282
  }
23964
- input:focus,
23965
- input:hover,
23966
- select:focus,
23967
- select:hover,
23968
- textarea:focus,
23969
- textarea:hover {
23970
- border-color: var(--kolibri-color-secondary);
24283
+ input[type="color"] {
24284
+ border: none;
24285
+ min-height: 40px !important;
24286
+ }
24287
+ input[type="color"],
24288
+ input[type="file"] {
24289
+ background-color: transparent;
24290
+ }
24291
+ kol-input {
24292
+ gap: var(--spacing);
23971
24293
  }
23972
24294
  kol-input > label {
23973
24295
  order: 1;
23974
- }
23975
- kol-input > label > span {
23976
24296
  color: var(--default-letter);
23977
- font-size: 0.875rem;
23978
- line-height: 1.5rem;
23979
24297
  }
23980
- kol-input > div.input {
23981
- background-color: white;
24298
+ kol-input > .input {
24299
+ border-color: var(--kolibri-border-color);
23982
24300
  border-radius: 0.25rem;
23983
- display: block;
24301
+ border-style: solid;
24302
+ border-width: 2px;
23984
24303
  order: 2;
23985
24304
  }
23986
- kol-input > kol-alert.error {
24305
+ kol-input:hover > .input {
24306
+ border-color: var(--kolibri-color-secondary);
24307
+ }
24308
+ kol-input > .input > kol-icon:first-child {
24309
+ margin-left: 0.75em;
24310
+ }
24311
+ kol-input > .input > kol-icon:last-child {
24312
+ margin-right: 0.75em;
24313
+ }
24314
+ kol-input > .error {
23987
24315
  order: 3;
23988
24316
  }
24317
+ kol-input > .hint {
24318
+ order: 4;
24319
+ font-size: 0.875em;
24320
+ }
23989
24321
  input,
23990
24322
  select,
23991
24323
  textarea {
23992
- font-family: var(--font-family);
23993
- background-color: transparent;
23994
- box-sizing: border-box;
23995
- font-size: 1rem;
23996
- display: inline-flex;
23997
- line-height: 1.5em;
23998
24324
  color: var(--default-letter);
23999
- border-color: var(--kolibri-border-color);
24000
- border-width: 2px;
24001
- border-style: solid;
24002
24325
  padding: 0.5em 0.75em;
24003
- border-radius: 0.25rem;
24004
- overflow: hidden;
24005
- width: 100%;
24006
24326
  }
24007
24327
  input:not([type="range"]),
24008
24328
  select:not([multiple]) {
@@ -24016,27 +24336,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24016
24336
  }
24017
24337
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
24018
24338
  cursor: not-allowed;
24019
- background-color: var(--background-light-grey);
24020
- }
24021
- .required label > span::after {
24022
- content: "*";
24023
- padding-left: 0.125em;
24024
- }
24025
- .icon-left input,
24026
- .icon-left select {
24027
- padding-left: 2em;
24028
- }
24029
- .icon-right input,
24030
- .icon-right select {
24031
- padding-right: 2em;
24032
24339
  }
24033
24340
  select[multiple],
24034
24341
  textarea {
24035
24342
  overflow: auto;
24036
24343
  }
24037
- textarea {
24038
- display: block;
24039
- }
24040
24344
  select option {
24041
24345
  margin: 1px 0;
24042
24346
  padding: 0.5em;
@@ -24053,53 +24357,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24053
24357
  background-color: var(--kolibri-color-primary);
24054
24358
  color: white;
24055
24359
  }`,
24056
- "KOL-TEXTAREA": `kol-input {
24057
- display: grid;
24058
- padding: 0;
24059
- margin: 0;
24360
+ "KOL-TEXTAREA": `input,
24361
+ select,
24362
+ textarea {
24363
+ border: none;
24060
24364
  }
24061
- input:focus,
24062
- input:hover,
24063
- select:focus,
24064
- select:hover,
24065
- textarea:focus,
24066
- textarea:hover {
24067
- border-color: var(--kolibri-color-secondary);
24365
+ input[type="color"] {
24366
+ border: none;
24367
+ min-height: 40px !important;
24368
+ }
24369
+ input[type="color"],
24370
+ input[type="file"] {
24371
+ background-color: transparent;
24372
+ }
24373
+ kol-input {
24374
+ gap: var(--spacing);
24068
24375
  }
24069
24376
  kol-input > label {
24070
24377
  order: 1;
24071
- }
24072
- kol-input > label > span {
24073
24378
  color: var(--default-letter);
24074
- font-size: 0.875rem;
24075
- line-height: 1.5rem;
24076
24379
  }
24077
- kol-input > div.input {
24078
- background-color: white;
24380
+ kol-input > .input {
24381
+ border-color: var(--kolibri-border-color);
24079
24382
  border-radius: 0.25rem;
24080
- display: block;
24383
+ border-style: solid;
24384
+ border-width: 2px;
24081
24385
  order: 2;
24082
24386
  }
24083
- kol-input > kol-alert.error {
24387
+ kol-input:hover > .input {
24388
+ border-color: var(--kolibri-color-secondary);
24389
+ }
24390
+ kol-input > .input > kol-icon:first-child {
24391
+ margin-left: 0.75em;
24392
+ }
24393
+ kol-input > .input > kol-icon:last-child {
24394
+ margin-right: 0.75em;
24395
+ }
24396
+ kol-input > .error {
24084
24397
  order: 3;
24085
24398
  }
24399
+ kol-input > .hint {
24400
+ order: 4;
24401
+ font-size: 0.875em;
24402
+ }
24086
24403
  input,
24087
24404
  select,
24088
24405
  textarea {
24089
- font-family: var(--font-family);
24090
- background-color: transparent;
24091
- box-sizing: border-box;
24092
- font-size: 1rem;
24093
- display: inline-flex;
24094
- line-height: 1.5em;
24095
24406
  color: var(--default-letter);
24096
- border-color: var(--kolibri-border-color);
24097
- border-width: 2px;
24098
- border-style: solid;
24099
24407
  padding: 0.5em 0.75em;
24100
- border-radius: 0.25rem;
24101
- overflow: hidden;
24102
- width: 100%;
24103
24408
  }
24104
24409
  input:not([type="range"]),
24105
24410
  select:not([multiple]) {
@@ -24113,27 +24418,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24113
24418
  }
24114
24419
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
24115
24420
  cursor: not-allowed;
24116
- background-color: var(--background-light-grey);
24117
- }
24118
- .required label > span::after {
24119
- content: "*";
24120
- padding-left: 0.125em;
24121
- }
24122
- .icon-left input,
24123
- .icon-left select {
24124
- padding-left: 2em;
24125
- }
24126
- .icon-right input,
24127
- .icon-right select {
24128
- padding-right: 2em;
24129
24421
  }
24130
24422
  select[multiple],
24131
24423
  textarea {
24132
24424
  overflow: auto;
24133
24425
  }
24134
- textarea {
24135
- display: block;
24136
- }
24137
24426
  select option {
24138
24427
  margin: 1px 0;
24139
24428
  padding: 0.5em;
@@ -24378,18 +24667,7 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24378
24667
  height: calc(6 * var(--spacing));
24379
24668
  min-width: calc(6 * var(--spacing));
24380
24669
  width: calc(6 * var(--spacing));
24381
- }
24382
- fieldset div input[type="radio"]:before {
24383
- content: "";
24384
- cursor: pointer;
24385
- left: calc(1.5 * var(--spacing) - 2px);
24386
- top: calc(1.5 * var(--spacing) - 2px);
24387
- position: relative;
24388
- border-radius: 100%;
24389
- display: block;
24390
- height: calc(3 * var(--spacing));
24391
- width: calc(3 * var(--spacing));
24392
- }
24670
+ } /* fieldset div input[type="radio"]:before {content: "";cursor: pointer;left: calc(1.5 * var(--spacing) - 2px);top: calc(1.5 * var(--spacing) - 2px);position: relative;border-radius: 100%;display: block;height: calc(3 * var(--spacing));width: calc(3 * var(--spacing));}*/
24393
24671
  fieldset div input[type="radio"]:checked:before {
24394
24672
  box-shadow: 0 0 0.1rem black;
24395
24673
  background-color: var(--kolibri-color-primary);
@@ -24559,53 +24837,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24559
24837
  stroke: var(--kolibri-color-normal);
24560
24838
  fill: transparent;
24561
24839
  }`,
24562
- "KOL-SELECT": `kol-input {
24563
- display: grid;
24564
- padding: 0;
24565
- margin: 0;
24840
+ "KOL-SELECT": `input,
24841
+ select,
24842
+ textarea {
24843
+ border: none;
24566
24844
  }
24567
- input:focus,
24568
- input:hover,
24569
- select:focus,
24570
- select:hover,
24571
- textarea:focus,
24572
- textarea:hover {
24573
- border-color: var(--kolibri-color-secondary);
24845
+ input[type="color"] {
24846
+ border: none;
24847
+ min-height: 40px !important;
24848
+ }
24849
+ input[type="color"],
24850
+ input[type="file"] {
24851
+ background-color: transparent;
24852
+ }
24853
+ kol-input {
24854
+ gap: var(--spacing);
24574
24855
  }
24575
24856
  kol-input > label {
24576
24857
  order: 1;
24577
- }
24578
- kol-input > label > span {
24579
24858
  color: var(--default-letter);
24580
- font-size: 0.875rem;
24581
- line-height: 1.5rem;
24582
24859
  }
24583
- kol-input > div.input {
24584
- background-color: white;
24860
+ kol-input > .input {
24861
+ border-color: var(--kolibri-border-color);
24585
24862
  border-radius: 0.25rem;
24586
- display: block;
24863
+ border-style: solid;
24864
+ border-width: 2px;
24587
24865
  order: 2;
24588
24866
  }
24589
- kol-input > kol-alert.error {
24867
+ kol-input:hover > .input {
24868
+ border-color: var(--kolibri-color-secondary);
24869
+ }
24870
+ kol-input > .input > kol-icon:first-child {
24871
+ margin-left: 0.75em;
24872
+ }
24873
+ kol-input > .input > kol-icon:last-child {
24874
+ margin-right: 0.75em;
24875
+ }
24876
+ kol-input > .error {
24590
24877
  order: 3;
24591
24878
  }
24879
+ kol-input > .hint {
24880
+ order: 4;
24881
+ font-size: 0.875em;
24882
+ }
24592
24883
  input,
24593
24884
  select,
24594
24885
  textarea {
24595
- font-family: var(--font-family);
24596
- background-color: transparent;
24597
- box-sizing: border-box;
24598
- font-size: 1rem;
24599
- display: inline-flex;
24600
- line-height: 1.5em;
24601
24886
  color: var(--default-letter);
24602
- border-color: var(--kolibri-border-color);
24603
- border-width: 2px;
24604
- border-style: solid;
24605
24887
  padding: 0.5em 0.75em;
24606
- border-radius: 0.25rem;
24607
- overflow: hidden;
24608
- width: 100%;
24609
24888
  }
24610
24889
  input:not([type="range"]),
24611
24890
  select:not([multiple]) {
@@ -24619,27 +24898,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24619
24898
  }
24620
24899
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
24621
24900
  cursor: not-allowed;
24622
- background-color: var(--background-light-grey);
24623
- }
24624
- .required label > span::after {
24625
- content: "*";
24626
- padding-left: 0.125em;
24627
- }
24628
- .icon-left input,
24629
- .icon-left select {
24630
- padding-left: 2em;
24631
- }
24632
- .icon-right input,
24633
- .icon-right select {
24634
- padding-right: 2em;
24635
24901
  }
24636
24902
  select[multiple],
24637
24903
  textarea {
24638
24904
  overflow: auto;
24639
24905
  }
24640
- textarea {
24641
- display: block;
24642
- }
24643
24906
  select option {
24644
24907
  margin: 1px 0;
24645
24908
  padding: 0.5em;
@@ -24656,53 +24919,54 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24656
24919
  background-color: var(--kolibri-color-primary);
24657
24920
  color: white;
24658
24921
  }`,
24659
- "KOL-INPUT-COLOR": `kol-input {
24660
- display: grid;
24661
- padding: 0;
24662
- margin: 0;
24922
+ "KOL-INPUT-COLOR": `input,
24923
+ select,
24924
+ textarea {
24925
+ border: none;
24663
24926
  }
24664
- input:focus,
24665
- input:hover,
24666
- select:focus,
24667
- select:hover,
24668
- textarea:focus,
24669
- textarea:hover {
24670
- border-color: var(--kolibri-color-secondary);
24927
+ input[type="color"] {
24928
+ border: none;
24929
+ min-height: 40px !important;
24930
+ }
24931
+ input[type="color"],
24932
+ input[type="file"] {
24933
+ background-color: transparent;
24934
+ }
24935
+ kol-input {
24936
+ gap: var(--spacing);
24671
24937
  }
24672
24938
  kol-input > label {
24673
24939
  order: 1;
24674
- }
24675
- kol-input > label > span {
24676
24940
  color: var(--default-letter);
24677
- font-size: 0.875rem;
24678
- line-height: 1.5rem;
24679
24941
  }
24680
- kol-input > div.input {
24681
- background-color: white;
24942
+ kol-input > .input {
24943
+ border-color: var(--kolibri-border-color);
24682
24944
  border-radius: 0.25rem;
24683
- display: block;
24945
+ border-style: solid;
24946
+ border-width: 2px;
24684
24947
  order: 2;
24685
24948
  }
24686
- kol-input > kol-alert.error {
24949
+ kol-input:hover > .input {
24950
+ border-color: var(--kolibri-color-secondary);
24951
+ }
24952
+ kol-input > .input > kol-icon:first-child {
24953
+ margin-left: 0.75em;
24954
+ }
24955
+ kol-input > .input > kol-icon:last-child {
24956
+ margin-right: 0.75em;
24957
+ }
24958
+ kol-input > .error {
24687
24959
  order: 3;
24688
24960
  }
24961
+ kol-input > .hint {
24962
+ order: 4;
24963
+ font-size: 0.875em;
24964
+ }
24689
24965
  input,
24690
24966
  select,
24691
24967
  textarea {
24692
- font-family: var(--font-family);
24693
- background-color: transparent;
24694
- box-sizing: border-box;
24695
- font-size: 1rem;
24696
- display: inline-flex;
24697
- line-height: 1.5em;
24698
24968
  color: var(--default-letter);
24699
- border-color: var(--kolibri-border-color);
24700
- border-width: 2px;
24701
- border-style: solid;
24702
24969
  padding: 0.5em 0.75em;
24703
- border-radius: 0.25rem;
24704
- overflow: hidden;
24705
- width: 100%;
24706
24970
  }
24707
24971
  input:not([type="range"]),
24708
24972
  select:not([multiple]) {
@@ -24716,27 +24980,11 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
24716
24980
  }
24717
24981
  input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
24718
24982
  cursor: not-allowed;
24719
- background-color: var(--background-light-grey);
24720
- }
24721
- .required label > span::after {
24722
- content: "*";
24723
- padding-left: 0.125em;
24724
- }
24725
- .icon-left input,
24726
- .icon-left select {
24727
- padding-left: 2em;
24728
- }
24729
- .icon-right input,
24730
- .icon-right select {
24731
- padding-right: 2em;
24732
24983
  }
24733
24984
  select[multiple],
24734
24985
  textarea {
24735
24986
  overflow: auto;
24736
24987
  }
24737
- textarea {
24738
- display: block;
24739
- }
24740
24988
  select option {
24741
24989
  margin: 1px 0;
24742
24990
  padding: 0.5em;
@@ -25095,9 +25343,10 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
25095
25343
  z-index: 200;
25096
25344
  }
25097
25345
  :host > div > kol-alert {
25346
+ background-color: white;
25347
+ border-radius: var(--kolibri-border-radius);
25098
25348
  display: block;
25099
- margin: auto;
25100
- padding: 1rem;
25349
+ margin: 1rem auto;
25101
25350
  max-width: 750px;
25102
25351
  }
25103
25352
  :host > div > kol-button-wc {
@@ -32233,10 +32482,92 @@ const MAPZ = components.KoliBri.createTheme("mapz", {
32233
32482
  u+f0ec, u+f10a-f10b, u+f123, u+f13e, u+f148-f149, u+f14c, u+f156, u+f15e,
32234
32483
  u+f160-f161, u+f163, u+f175-f178, u+f195, u+f1f8, u+f219, u+f250, u+f252,
32235
32484
  u+f27a;
32485
+ }`,
32486
+ "KOL-INPUT-RANGE": `input,
32487
+ select,
32488
+ textarea {
32489
+ border: none;
32490
+ }
32491
+ input[type="color"] {
32492
+ border: none;
32493
+ min-height: 40px !important;
32494
+ }
32495
+ input[type="color"],
32496
+ input[type="file"] {
32497
+ background-color: transparent;
32498
+ }
32499
+ kol-input {
32500
+ gap: var(--spacing);
32501
+ }
32502
+ kol-input > label {
32503
+ order: 1;
32504
+ color: var(--default-letter);
32505
+ }
32506
+ kol-input > .input {
32507
+ border-color: var(--kolibri-border-color);
32508
+ border-radius: 0.25rem;
32509
+ border-style: solid;
32510
+ border-width: 2px;
32511
+ order: 2;
32512
+ }
32513
+ kol-input:hover > .input {
32514
+ border-color: var(--kolibri-color-secondary);
32515
+ }
32516
+ kol-input > .input > kol-icon:first-child {
32517
+ margin-left: 0.75em;
32518
+ }
32519
+ kol-input > .input > kol-icon:last-child {
32520
+ margin-right: 0.75em;
32521
+ }
32522
+ kol-input > .error {
32523
+ order: 3;
32524
+ }
32525
+ kol-input > .hint {
32526
+ order: 4;
32527
+ font-size: 0.875em;
32528
+ }
32529
+ input,
32530
+ select,
32531
+ textarea {
32532
+ color: var(--default-letter);
32533
+ padding: 0.5em 0.75em;
32534
+ }
32535
+ input:not([type="range"]),
32536
+ select:not([multiple]) {
32537
+ height: 2.75em;
32538
+ }
32539
+ textarea {
32540
+ display: inherit;
32541
+ }
32542
+ input::placeholder {
32543
+ color: var(--default-border-hover);
32544
+ }
32545
+ input:not([type="color"]):read-only,input:disabled,/* select:read-only, */select:disabled,textarea:read-only,textarea:disabled {
32546
+ cursor: not-allowed;
32547
+ }
32548
+ select[multiple],
32549
+ textarea {
32550
+ overflow: auto;
32551
+ }
32552
+ select option {
32553
+ margin: 1px 0;
32554
+ padding: 0.5em;
32555
+ border-radius: 0.25em;
32556
+ cursor: pointer;
32557
+ }
32558
+ select option:disabled {
32559
+ cursor: not-allowed;
32560
+ }
32561
+ option:active:not(:disabled),
32562
+ option:checked:not(:disabled),
32563
+ option:focus:not(:disabled),
32564
+ option:hover:not(:disabled) {
32565
+ background-color: var(--kolibri-color-primary);
32566
+ color: white;
32236
32567
  }`
32237
32568
  });
32238
32569
 
32239
- const ZOLLv2 = components.KoliBri.createTheme("zoll-v2", {
32570
+ const ZOLLv2 = KoliBri.createTheme("zoll-v2", {
32240
32571
  GLOBAL: `:host {
32241
32572
  --border-color: var(--color-neutral);
32242
32573
  --border-radius: 0.25rem;
@@ -40792,9 +41123,9 @@ const ZOLLv2 = components.KoliBri.createTheme("zoll-v2", {
40792
41123
  }`
40793
41124
  });
40794
41125
 
40795
- const DE = components.KoliBri.createTranslation("de", {});
41126
+ const DE = KoliBri.createTranslation("de", {});
40796
41127
 
40797
- const EN = components.KoliBri.createTranslation("en", {});
41128
+ const EN = KoliBri.createTranslation("en", {});
40798
41129
 
40799
41130
  exports.BAMF = BAMF;
40800
41131
  exports.BMF = BMF;