@public-ui/hydrate 1.7.0-rc.13 → 1.7.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +135 -137
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -7715,6 +7715,7 @@ const handleSlotContent = (hostRef, slotRef, slotName) => {
7715
7715
  }
7716
7716
  }
7717
7717
  };
7718
+ const showExpertSlot = (label) => label === '';
7718
7719
 
7719
7720
  const getWindow$1 = () => (typeof window === 'undefined' ? null : window);
7720
7721
  const getDocument = () => (typeof getWindow$1().document === 'undefined' ? null : getWindow$1().document);
@@ -7809,7 +7810,7 @@ const initKoliBri = () => {
7809
7810
  | . ' | .-. | | | ,--. | .-. \\ | .--' ,--.
7810
7811
  | |\\ \\ | '-' | | | | | | '--' / | | | |
7811
7812
  \`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'
7812
- 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.0-rc.13
7813
+ 🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.0-rc.14
7813
7814
  `, {
7814
7815
  forceLog: true,
7815
7816
  });
@@ -10059,13 +10060,7 @@ const LABEL_VALUES = new Set(['string']);
10059
10060
  const validateLabel = (component, value, options = {}) => {
10060
10061
  watchValidator(component, '_label', (value) => typeof value === 'string', LABEL_VALUES, value, getValidationOptions(options));
10061
10062
  };
10062
- const LABEL_WITH_EXPERT_SLOT_VALUES = new Set(['string', 'false']);
10063
- const validateLabelWithExpertSlot = (component, value, options = {}) => {
10064
- if (value === '' || value === 'false') {
10065
- value = false;
10066
- }
10067
- watchValidator(component, '_label', (value) => value === false || typeof value === 'string', LABEL_WITH_EXPERT_SLOT_VALUES, value, getValidationOptions(options));
10068
- };
10063
+ const validateLabelWithExpertSlot = validateLabel;
10069
10064
 
10070
10065
  const AVAILABLE_HORIZONTAL_ALIGNMENT_VALUES = new Set(['"left", "right"']);
10071
10066
  const AVAILABLE_VERTICAL_ALIGNMENT_VALUES = new Set(['"bottom", "top"']);
@@ -10075,7 +10070,7 @@ const validateAlignment = (component, propName, value) => {
10075
10070
  };
10076
10071
 
10077
10072
  const validateTooltipAlign = (component, value) => {
10078
- validateAlignment(component, '_align', value);
10073
+ validateAlignment(component, '_tooltipAlign', value);
10079
10074
  };
10080
10075
 
10081
10076
  const defaultStyleCss$J = "/*!@:host*/.sc-kol-abbr-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-abbr-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-abbr-default,button.sc-kol-abbr-default:not([role='link']),kol-input.sc-kol-abbr-default .input.sc-kol-abbr-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-abbr-default,button.sc-kol-abbr-default,h1.sc-kol-abbr-default,h2.sc-kol-abbr-default,h3.sc-kol-abbr-default,h4.sc-kol-abbr-default,h5.sc-kol-abbr-default,h6.sc-kol-abbr-default,input.sc-kol-abbr-default,option.sc-kol-abbr-default,select.sc-kol-abbr-default,textarea.sc-kol-abbr-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-abbr-default:is(a,button).sc-kol-abbr-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-abbr-default-h{max-width:100%}/*!@**/*.sc-kol-abbr-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-abbr-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-abbr-default>span.sc-kol-abbr-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-abbr-default,button.sc-kol-abbr-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-abbr-default,input.sc-kol-abbr-default,option.sc-kol-abbr-default,select.sc-kol-abbr-default,textarea.sc-kol-abbr-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-abbr-default>kol-span-wc.sc-kol-abbr-default>span.sc-kol-abbr-default>span.sc-kol-abbr-default{display:none}/*!@:host > abbr*/.sc-kol-abbr-default-h>abbr.sc-kol-abbr-default{cursor:help}";
@@ -11212,11 +11207,6 @@ class KolBadge {
11212
11207
  }; }
11213
11208
  }
11214
11209
 
11215
- const watchNavLinks = (className, component, value) => {
11216
- watchJsonArrayString(component, '_links', (link) => typeof link === 'object' && (typeof link._href === 'string' || typeof link._label === 'string'), value);
11217
- uiUxHintMillerscheZahl(className, component.state._links.length);
11218
- };
11219
-
11220
11210
  const UNIQUE_LABELS = new Set();
11221
11211
  function addNavLabel(ariaLabel) {
11222
11212
  if (UNIQUE_LABELS.has(ariaLabel)) {
@@ -11230,6 +11220,11 @@ function removeNavLabel(ariaLabel) {
11230
11220
  UNIQUE_LABELS.delete(ariaLabel);
11231
11221
  }
11232
11222
 
11223
+ const watchNavLinks = (className, component, value) => {
11224
+ watchJsonArrayString(component, '_links', (link) => typeof link === 'object' && (typeof link._href === 'string' || typeof link._label === 'string'), value);
11225
+ uiUxHintMillerscheZahl(className, component.state._links.length);
11226
+ };
11227
+
11233
11228
  const defaultStyleCss$E = "/*!@:host*/.sc-kol-breadcrumb-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-breadcrumb-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-breadcrumb-default,button.sc-kol-breadcrumb-default:not([role='link']),kol-input.sc-kol-breadcrumb-default .input.sc-kol-breadcrumb-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-breadcrumb-default,button.sc-kol-breadcrumb-default,h1.sc-kol-breadcrumb-default,h2.sc-kol-breadcrumb-default,h3.sc-kol-breadcrumb-default,h4.sc-kol-breadcrumb-default,h5.sc-kol-breadcrumb-default,h6.sc-kol-breadcrumb-default,input.sc-kol-breadcrumb-default,option.sc-kol-breadcrumb-default,select.sc-kol-breadcrumb-default,textarea.sc-kol-breadcrumb-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-breadcrumb-default:is(a,button).sc-kol-breadcrumb-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-breadcrumb-default-h{max-width:100%}/*!@**/*.sc-kol-breadcrumb-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-breadcrumb-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-breadcrumb-default>span.sc-kol-breadcrumb-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-breadcrumb-default,button.sc-kol-breadcrumb-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-breadcrumb-default,input.sc-kol-breadcrumb-default,option.sc-kol-breadcrumb-default,select.sc-kol-breadcrumb-default,textarea.sc-kol-breadcrumb-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-breadcrumb-default>kol-span-wc.sc-kol-breadcrumb-default>span.sc-kol-breadcrumb-default>span.sc-kol-breadcrumb-default{display:none}/*!@li,\nul*/li.sc-kol-breadcrumb-default,ul.sc-kol-breadcrumb-default{margin:0;padding:0;list-style:none;display:flex;gap:0.5em;flex-wrap:wrap;place-items:center}/*!@kol-icon::part(separator)*/kol-icon.sc-kol-breadcrumb-default::part(separator){font-weight:900;font-size:0.7em}/*!@kol-icon::part(separator):before*/kol-icon.sc-kol-breadcrumb-default::part(separator):before{content:'\\f054';font-family:'Font Awesome 6 Free'}";
11234
11229
 
11235
11230
  class KolBreadcrumb {
@@ -11356,7 +11351,7 @@ class KolButton {
11356
11351
  "_iconAlign": [1, "_icon-align"],
11357
11352
  "_iconOnly": [4, "_icon-only"],
11358
11353
  "_id": [1],
11359
- "_label": [8],
11354
+ "_label": [1],
11360
11355
  "_name": [1],
11361
11356
  "_on": [16],
11362
11357
  "_role": [1],
@@ -11467,7 +11462,7 @@ class KolButtonLink {
11467
11462
  "_icon": [1],
11468
11463
  "_iconOnly": [4, "_icon-only"],
11469
11464
  "_id": [1],
11470
- "_label": [8],
11465
+ "_label": [1],
11471
11466
  "_name": [1],
11472
11467
  "_on": [16],
11473
11468
  "_role": [1],
@@ -11520,6 +11515,10 @@ class KolButtonLinkTextSwitch {
11520
11515
  }; }
11521
11516
  }
11522
11517
 
11518
+ const validateAlternativeButtonLinkRole = (component, value) => {
11519
+ watchString(component, '_role', value);
11520
+ };
11521
+
11523
11522
  const validateAriaControls = (component, value) => {
11524
11523
  watchString(component, '_ariaControls', value);
11525
11524
  };
@@ -11538,6 +11537,26 @@ const validateAriaExpanded = (component, value) => {
11538
11537
  watchBoolean(component, '_ariaExpanded', value);
11539
11538
  };
11540
11539
 
11540
+ const validateButtonCallbacks = (component, value) => {
11541
+ watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}']), value);
11542
+ };
11543
+
11544
+ const validateButtonType = (component, value) => {
11545
+ watchValidator(component, `_type`, (value) => value === 'button' || value === 'reset' || value === 'submit', new Set(['KoliBriButtonType {button, reset, submit}']), value);
11546
+ };
11547
+
11548
+ const validateButtonVariant = (component, value) => {
11549
+ watchValidator(component, `_variant`, (value) => value === 'primary' || value === 'secondary' || value === 'normal' || value === 'danger' || value === 'ghost' || value === 'custom', new Set(['KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}']), value, {
11550
+ defaultValue: 'normal',
11551
+ });
11552
+ };
11553
+
11554
+ const validateCustomClass = (component, value) => {
11555
+ watchString(component, '_customClass', value, {
11556
+ defaultValue: undefined,
11557
+ });
11558
+ };
11559
+
11541
11560
  const validateDisabled = (component, value) => {
11542
11561
  watchBoolean(component, '_disabled', value);
11543
11562
  };
@@ -11886,39 +11905,15 @@ class AssociatedInputController {
11886
11905
  }
11887
11906
  }
11888
11907
 
11889
- const validateCustomClass = (component, value) => {
11890
- watchString(component, '_customClass', value, {
11891
- defaultValue: undefined,
11892
- });
11893
- };
11894
-
11895
- const validateButtonCallbacks = (component, value) => {
11896
- watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['ButtonCallbacksPropType {Events.onClick, Events.onMouseDown}']), value);
11897
- };
11898
-
11899
- const validateAlternativeButtonLinkRole = (component, value) => {
11900
- watchString(component, '_role', value);
11901
- };
11902
-
11903
- const validateButtonType = (component, value) => {
11904
- watchValidator(component, `_type`, (value) => value === 'button' || value === 'reset' || value === 'submit', new Set(['KoliBriButtonType {button, reset, submit}']), value);
11905
- };
11906
-
11907
- const validateButtonVariant = (component, value) => {
11908
- watchValidator(component, `_variant`, (value) => value === 'primary' || value === 'secondary' || value === 'normal' || value === 'danger' || value === 'ghost' || value === 'custom', new Set(['KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}']), value, {
11909
- defaultValue: 'normal',
11910
- });
11911
- };
11912
-
11913
11908
  class KolButtonWc {
11914
11909
  render() {
11915
- const hasExpertSlot = this.state._label === false;
11910
+ const hasExpertSlot = showExpertSlot(this.state._label);
11916
11911
  return (hAsync(Host, null, hAsync("button", Object.assign({ ref: this.catchRef, accessKey: this.state._accessKey, "aria-controls": this.state._ariaControls, "aria-current": mapStringOrBoolean2String(this.state._ariaCurrent), "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: {
11917
11912
  [this.state._variant]: this.state._variant !== 'custom',
11918
11913
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
11919
11914
  'icon-only': this.state._hideLabel === true,
11920
11915
  'hide-label': this.state._hideLabel === true,
11921
- }, disabled: this.state._disabled, id: this.state._id, name: this.state._name }, this.state._on, { onClick: this.onClick, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }), hAsync("kol-span-wc", { _icon: this.state._icon, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? false : this.state._label }, hAsync("slot", { name: "expert", slot: "expert" }))), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
11916
+ }, disabled: this.state._disabled, id: this.state._id, name: this.state._name }, this.state._on, { onClick: this.onClick, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }), hAsync("kol-span-wc", { _icon: this.state._icon, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { name: "expert", slot: "expert" }))), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
11922
11917
  }
11923
11918
  constructor(hostRef) {
11924
11919
  registerInstance(this, hostRef);
@@ -11975,7 +11970,7 @@ class KolButtonWc {
11975
11970
  this._variant = 'normal';
11976
11971
  this.state = {
11977
11972
  _icon: {},
11978
- _label: false,
11973
+ _label: '',
11979
11974
  _on: {},
11980
11975
  _type: 'button',
11981
11976
  _variant: 'normal',
@@ -12121,7 +12116,7 @@ class KolButtonWc {
12121
12116
  "_iconAlign": [1, "_icon-align"],
12122
12117
  "_iconOnly": [4, "_icon-only"],
12123
12118
  "_id": [1],
12124
- "_label": [8],
12119
+ "_label": [1],
12125
12120
  "_name": [1],
12126
12121
  "_on": [16],
12127
12122
  "_role": [1],
@@ -12471,7 +12466,7 @@ class KolHeading {
12471
12466
  "$flags$": 41,
12472
12467
  "$tagName$": "kol-heading",
12473
12468
  "$members$": {
12474
- "_label": [8],
12469
+ "_label": [1],
12475
12470
  "_level": [2],
12476
12471
  "_secondaryHeadline": [1, "_secondary-headline"]
12477
12472
  },
@@ -12524,7 +12519,7 @@ class KolHeadingWc {
12524
12519
  this._level = 1;
12525
12520
  this._secondaryHeadline = undefined;
12526
12521
  this.state = {
12527
- _label: false,
12522
+ _label: '',
12528
12523
  _level: 1,
12529
12524
  };
12530
12525
  }
@@ -12554,7 +12549,7 @@ class KolHeadingWc {
12554
12549
  "$flags$": 4,
12555
12550
  "$tagName$": "kol-heading-wc",
12556
12551
  "$members$": {
12557
- "_label": [8],
12552
+ "_label": [1],
12558
12553
  "_level": [2],
12559
12554
  "_secondaryHeadline": [1, "_secondary-headline"],
12560
12555
  "state": [32]
@@ -12795,6 +12790,7 @@ class KolInput {
12795
12790
  this._hint = '';
12796
12791
  this._icon = undefined;
12797
12792
  this._id = undefined;
12793
+ this._label = undefined;
12798
12794
  this._maxLength = undefined;
12799
12795
  this._readOnly = false;
12800
12796
  this._renderNoLabel = false;
@@ -12802,6 +12798,7 @@ class KolInput {
12802
12798
  this._slotName = undefined;
12803
12799
  this._suggestions = undefined;
12804
12800
  this._smartButton = undefined;
12801
+ this._tooltipAlign = 'top';
12805
12802
  this._touched = false;
12806
12803
  }
12807
12804
  componentWillRender() {
@@ -12810,7 +12807,9 @@ class KolInput {
12810
12807
  render() {
12811
12808
  var _a, _b, _c, _d;
12812
12809
  const hasError = typeof this._error === 'string' && this._error.length > 0 && this._touched === true;
12810
+ const hasExpertSlot = showExpertSlot(this._label);
12813
12811
  const hasHint = typeof this._hint === 'string' && this._hint.length > 0;
12812
+ const useTooltopInsteadOfLabel = !hasExpertSlot && this._hideLabel;
12814
12813
  return (hAsync(Host, { class: {
12815
12814
  disabled: this._disabled === true,
12816
12815
  error: hasError === true,
@@ -12818,11 +12817,11 @@ class KolInput {
12818
12817
  required: this._required === true,
12819
12818
  touched: this._touched === true,
12820
12819
  'hidden-error': this._hideError === true,
12821
- } }, this._renderNoLabel === false && (hAsync("label", { id: `${this._id}-label`, hidden: this._hideLabel, htmlFor: this._id }, hAsync("span", null, hAsync("slot", { name: "label" })))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { class: {
12820
+ } }, hAsync("label", { id: !useTooltopInsteadOfLabel ? `${this._id}-label` : undefined, hidden: useTooltopInsteadOfLabel, htmlFor: this._id }, hAsync("span", null, hAsync("slot", { name: "label" }))), hasHint && (hAsync("span", { class: "hint", id: `${this._id}-hint` }, this._hint)), hAsync("div", { class: {
12822
12821
  input: true,
12823
12822
  'icon-left': typeof ((_a = this._icon) === null || _a === void 0 ? void 0 : _a.left) === 'object',
12824
12823
  'icon-right': typeof ((_b = this._icon) === null || _b === void 0 ? void 0 : _b.right) === 'object',
12825
- } }, ((_c = this._icon) === null || _c === void 0 ? void 0 : _c.left) && hAsync("kol-icon", { _ariaLabel: "", _icon: this._icon.left.icon }), hAsync("div", { ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icon: this._smartButton._icon, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_d = this._icon) === null || _d === void 0 ? void 0 : _d.right) && hAsync("kol-icon", { _ariaLabel: "", _icon: this._icon.right.icon })), hasError && (hAsync("kol-alert", { _alert: this._alert, _type: "error", _variant: "msg", "aria-hidden": this._hideError, class: `error${this._hideError ? ' hidden' : ''}`, id: `${this._id}-error` }, this._error)), Array.isArray(this._suggestions) && this._suggestions.length > 0 && (hAsync("datalist", { id: `${this._id}-list` }, this._suggestions.map((option) => (hAsync("option", { value: option }))))), this._hasCounter && (hAsync("span", { class: "counter", "aria-atomic": "true", "aria-live": "polite" }, this._currentLength, this._maxLength && (hAsync(Fragment, null, hAsync("span", { "aria-label": translate('kol-of'), role: "img" }, "/"), this._maxLength)), ' ', hAsync("span", null, translate('kol-characters'))))));
12824
+ } }, ((_c = this._icon) === null || _c === void 0 ? void 0 : _c.left) && hAsync("kol-icon", { _ariaLabel: "", _icon: this._icon.left.icon }), hAsync("div", { ref: this.catchInputSlot, id: this.slotName, class: "input-slot" }), typeof this._smartButton === 'object' && this._smartButton !== null && (hAsync("kol-button-wc", { _customClass: this._smartButton._customClass, _disabled: this._smartButton._disabled, _icon: this._smartButton._icon, _hideLabel: true, _id: this._smartButton._id, _label: this._smartButton._label, _on: this._smartButton._on, _tooltipAlign: this._smartButton._tooltipAlign, _variant: this._smartButton._variant })), ((_d = this._icon) === null || _d === void 0 ? void 0 : _d.right) && hAsync("kol-icon", { _ariaLabel: "", _icon: this._icon.right.icon })), useTooltopInsteadOfLabel && (hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", _align: this._tooltipAlign, _id: this._hideLabel ? `${this._id}-label` : undefined, _label: this._label })), hasError && (hAsync("kol-alert", { _alert: this._alert, _type: "error", _variant: "msg", "aria-hidden": this._hideError, class: `error${this._hideError ? ' hidden' : ''}`, id: `${this._id}-error` }, this._error)), Array.isArray(this._suggestions) && this._suggestions.length > 0 && (hAsync("datalist", { id: `${this._id}-list` }, this._suggestions.map((option) => (hAsync("option", { value: option }))))), this._hasCounter && (hAsync("span", { class: "counter", "aria-atomic": "true", "aria-live": "polite" }, this._currentLength, this._maxLength && (hAsync(Fragment, null, hAsync("span", { "aria-label": translate('kol-of'), role: "img" }, "/"), this._maxLength)), ' ', hAsync("span", null, translate('kol-characters'))))));
12826
12825
  }
12827
12826
  get host() { return getElement(this); }
12828
12827
  static get cmpMeta() { return {
@@ -12839,6 +12838,7 @@ class KolInput {
12839
12838
  "_hint": [1],
12840
12839
  "_icon": [16],
12841
12840
  "_id": [1],
12841
+ "_label": [1],
12842
12842
  "_maxLength": [2, "_max-length"],
12843
12843
  "_readOnly": [4, "_read-only"],
12844
12844
  "_renderNoLabel": [4, "_render-no-label"],
@@ -12846,6 +12846,7 @@ class KolInput {
12846
12846
  "_slotName": [1, "_slot-name"],
12847
12847
  "_suggestions": [1],
12848
12848
  "_smartButton": [1, "_smart-button"],
12849
+ "_tooltipAlign": [1, "_tooltip-align"],
12849
12850
  "_touched": [4]
12850
12851
  },
12851
12852
  "$listeners$": undefined,
@@ -12891,6 +12892,10 @@ const validateChecked = (component, value) => {
12891
12892
  watchBoolean(component, '_checked', value);
12892
12893
  };
12893
12894
 
12895
+ const validateHideError = (component, value, options) => {
12896
+ watchBoolean(component, '_hideError', value, options);
12897
+ };
12898
+
12894
12899
  const validateIndeterminate = (component, value) => {
12895
12900
  watchBoolean(component, '_indeterminate', value);
12896
12901
  };
@@ -13093,10 +13098,6 @@ class InputController extends ControlledInputController {
13093
13098
  }
13094
13099
  }
13095
13100
 
13096
- const validateHideError = (component, value, options) => {
13097
- watchBoolean(component, '_hideError', value, options);
13098
- };
13099
-
13100
13101
  const fillKeyOptionMap = (keyOptionMap, options, preKey = '') => {
13101
13102
  options.forEach((option, index) => {
13102
13103
  const key = `${preKey}-${index}`;
@@ -13262,18 +13263,18 @@ class InputCheckboxController extends InputCheckboxRadioController {
13262
13263
  }
13263
13264
  }
13264
13265
 
13265
- const defaultStyleCss$u = "/*!@:host*/.sc-kol-input-checkbox-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-input-checkbox-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default:not([role='link']),kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default,h1.sc-kol-input-checkbox-default,h2.sc-kol-input-checkbox-default,h3.sc-kol-input-checkbox-default,h4.sc-kol-input-checkbox-default,h5.sc-kol-input-checkbox-default,h6.sc-kol-input-checkbox-default,input.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-input-checkbox-default:is(a,button).sc-kol-input-checkbox-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-input-checkbox-default-h{max-width:100%}/*!@**/*.sc-kol-input-checkbox-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-input-checkbox-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-input-checkbox-default,input.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-input-checkbox-default>kol-span-wc.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default{display:none}/*!@.required label > span::after,\n.required legend > span::after*/.required.sc-kol-input-checkbox-default label.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default::after,.required.sc-kol-input-checkbox-default legend.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default::after{content:'*'}/*!@:host*/.sc-kol-input-checkbox-default-h{display:block}/*!@input,\ntextarea*/input.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{cursor:text}/*!@input[type='checkbox'],\ninput[type='color'],\ninput[type='file'],\ninput[type='radio'],\ninput[type='range'],\nlabel,\noption,\nselect*/input[type='checkbox'].sc-kol-input-checkbox-default,input[type='color'].sc-kol-input-checkbox-default,input[type='file'].sc-kol-input-checkbox-default,input[type='radio'].sc-kol-input-checkbox-default,input[type='range'].sc-kol-input-checkbox-default,label.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default{cursor:pointer}/*!@input[type='color'],\ninput[type='date'],\ninput[type='datetime-local'],\ninput[type='email'],\ninput[type='file'],\ninput[type='month'],\ninput[type='number'],\ninput[type='password'],\ninput[type='search'],\ninput[type='tel'],\ninput[type='text'],\ninput[type='time'],\ninput[type='url'],\ninput[type='week'],\nselect,\nselect[multiple] option,\ntextarea*/input[type='color'].sc-kol-input-checkbox-default,input[type='date'].sc-kol-input-checkbox-default,input[type='datetime-local'].sc-kol-input-checkbox-default,input[type='email'].sc-kol-input-checkbox-default,input[type='file'].sc-kol-input-checkbox-default,input[type='month'].sc-kol-input-checkbox-default,input[type='number'].sc-kol-input-checkbox-default,input[type='password'].sc-kol-input-checkbox-default,input[type='search'].sc-kol-input-checkbox-default,input[type='tel'].sc-kol-input-checkbox-default,input[type='text'].sc-kol-input-checkbox-default,input[type='time'].sc-kol-input-checkbox-default,input[type='url'].sc-kol-input-checkbox-default,input[type='week'].sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,select[multiple].sc-kol-input-checkbox-default option.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-size:1rem;width:100%}/*!@input[type='file']*/input[type='file'].sc-kol-input-checkbox-default{padding:calc((var(--a11y-min-size) - 1rem) / 10) 0.5em}/*!@select[multiple] option*/select[multiple].sc-kol-input-checkbox-default option.sc-kol-input-checkbox-default{padding:calc((var(--a11y-min-size) - 1rem) / 2) 0.5em}/*!@kol-input.disabled :is(button, input, label, option, select, textarea)*/kol-input.disabled.sc-kol-input-checkbox-default .sc-kol-input-checkbox-default:is(button,input.sc-kol-input-checkbox-default,label.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea).sc-kol-input-checkbox-default{cursor:not-allowed;opacity:0.5}/*!@label*/label.sc-kol-input-checkbox-default{cursor:pointer}/*!@kol-input*/kol-input.sc-kol-input-checkbox-default{align-items:center;display:grid;justify-items:left}/*!@kol-input.default,\nkol-input.switch*/kol-input.default.sc-kol-input-checkbox-default,kol-input.switch.sc-kol-input-checkbox-default{grid-template-columns:auto 1fr}/*!@kol-input .input*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{align-items:center;display:grid;order:1}/*!@kol-input .input div*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default div.sc-kol-input-checkbox-default{display:inline-flex}/*!@kol-input .input input*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default input.sc-kol-input-checkbox-default{margin:0}/*!@kol-input label*/kol-input.sc-kol-input-checkbox-default label.sc-kol-input-checkbox-default{order:2}/*!@kol-input .hint,\nkol-input.error > kol-alert*/kol-input.sc-kol-input-checkbox-default .hint.sc-kol-input-checkbox-default,kol-input.error.sc-kol-input-checkbox-default>kol-alert.sc-kol-input-checkbox-default{grid-column:span 2}/*!@kol-input kol-alert.error*/kol-input.sc-kol-input-checkbox-default kol-alert.error.sc-kol-input-checkbox-default{order:3}/*!@kol-input .hint*/kol-input.sc-kol-input-checkbox-default .hint.sc-kol-input-checkbox-default{order:4}/*!@.error.hidden*/.error.hidden.sc-kol-input-checkbox-default{display:none}/*!@input*/input.sc-kol-input-checkbox-default{border-style:solid;border-width:2px;line-height:24px}/*!@input[type='checkbox']*/input[type='checkbox'].sc-kol-input-checkbox-default{appearance:none;background-color:#fff;cursor:pointer;transition:0.5s}/*!@input[type='checkbox'].kol-disabled:before*/input[type='checkbox'].kol-disabled.sc-kol-input-checkbox-default:before{cursor:not-allowed}/*!@input[type='checkbox']:before*/input[type='checkbox'].sc-kol-input-checkbox-default:before{content:'';cursor:pointer}/*!@.default kol-icon*/.default.sc-kol-input-checkbox-default kol-icon.sc-kol-input-checkbox-default{display:none}/*!@kol-input.required .tooltip-content .span-label::after*/kol-input.required.sc-kol-input-checkbox-default .tooltip-content.sc-kol-input-checkbox-default .span-label.sc-kol-input-checkbox-default::after{content:'*'}/*!@.button*/.button.sc-kol-input-checkbox-default{cursor:pointer;display:inline-flex;width:auto}/*!@.button input*/.button.sc-kol-input-checkbox-default input.sc-kol-input-checkbox-default{display:none}/*!@.default input[type='checkbox']*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default{height:1.5em;width:1.5em}/*!@.default input[type='checkbox']:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:before{display:block;height:1.5em;position:relative;width:1.5em}/*!@.default input[type='checkbox']:checked:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:checked:before{border-radius:1px;border-style:solid;border-width:0 3px 3px 0;height:0.75em;left:calc(0.375em - 2px);transform:rotate(40deg) translate(-50%, -50%);top:calc(0.7125em - 2px);width:0.375em}/*!@.default input[type='checkbox']:indeterminate:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:indeterminate:before{background-color:#000;height:0.2em;left:0.24em;top:0.575em;width:0.8em}/*!@.switch .input*/.switch.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{position:relative}/*!@.switch input[type='checkbox']*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default{display:inline-block;height:1.7em;min-width:3.2em;position:relative;width:3.2em}/*!@.switch input[type='checkbox']::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default::before{background-color:#000;height:1.2em;left:calc(0.25em - 2px);top:calc(0.25em - 2px);position:absolute;transition:0.5s;width:1.2em}/*!@.switch input[type='checkbox']:checked::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:checked::before{transform:translateX(1.5em)}/*!@.switch input[type='checkbox']:indeterminate::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:indeterminate::before{transform:translateX(0.75em)}/*!@.switch .icon*/.switch.sc-kol-input-checkbox-default .icon.sc-kol-input-checkbox-default{cursor:pointer;display:flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;position:absolute;z-index:1;top:50%;transition:0.5s;color:#000;left:0;transform:translate(0.15em, -48%)}/*!@.switch:has(input:checked) .icon*/.switch.sc-kol-input-checkbox-default:has(input:checked) .icon.sc-kol-input-checkbox-default{transform:translate(2.15em, -48%)}/*!@.switch:has(input:indeterminate) .icon*/.switch.sc-kol-input-checkbox-default:has(input:indeterminate) .icon.sc-kol-input-checkbox-default{transform:translate(1.15em, -48%)}";
13266
+ const defaultStyleCss$u = "/*!@:host*/.sc-kol-input-checkbox-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-input-checkbox-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default:not([role='link']),kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default,h1.sc-kol-input-checkbox-default,h2.sc-kol-input-checkbox-default,h3.sc-kol-input-checkbox-default,h4.sc-kol-input-checkbox-default,h5.sc-kol-input-checkbox-default,h6.sc-kol-input-checkbox-default,input.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-input-checkbox-default:is(a,button).sc-kol-input-checkbox-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-input-checkbox-default-h{max-width:100%}/*!@**/*.sc-kol-input-checkbox-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-input-checkbox-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-input-checkbox-default,button.sc-kol-input-checkbox-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-input-checkbox-default,input.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-input-checkbox-default>kol-span-wc.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default{display:none}/*!@.required label > span::after,\n.required legend > span::after*/.required.sc-kol-input-checkbox-default label.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default::after,.required.sc-kol-input-checkbox-default legend.sc-kol-input-checkbox-default>span.sc-kol-input-checkbox-default::after{content:'*'}/*!@:host*/.sc-kol-input-checkbox-default-h{display:block}/*!@input,\ntextarea*/input.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{cursor:text}/*!@input[type='checkbox'],\ninput[type='color'],\ninput[type='file'],\ninput[type='radio'],\ninput[type='range'],\nlabel,\noption,\nselect*/input[type='checkbox'].sc-kol-input-checkbox-default,input[type='color'].sc-kol-input-checkbox-default,input[type='file'].sc-kol-input-checkbox-default,input[type='radio'].sc-kol-input-checkbox-default,input[type='range'].sc-kol-input-checkbox-default,label.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default{cursor:pointer}/*!@input[type='color'],\ninput[type='date'],\ninput[type='datetime-local'],\ninput[type='email'],\ninput[type='file'],\ninput[type='month'],\ninput[type='number'],\ninput[type='password'],\ninput[type='search'],\ninput[type='tel'],\ninput[type='text'],\ninput[type='time'],\ninput[type='url'],\ninput[type='week'],\nselect,\nselect[multiple] option,\ntextarea*/input[type='color'].sc-kol-input-checkbox-default,input[type='date'].sc-kol-input-checkbox-default,input[type='datetime-local'].sc-kol-input-checkbox-default,input[type='email'].sc-kol-input-checkbox-default,input[type='file'].sc-kol-input-checkbox-default,input[type='month'].sc-kol-input-checkbox-default,input[type='number'].sc-kol-input-checkbox-default,input[type='password'].sc-kol-input-checkbox-default,input[type='search'].sc-kol-input-checkbox-default,input[type='tel'].sc-kol-input-checkbox-default,input[type='text'].sc-kol-input-checkbox-default,input[type='time'].sc-kol-input-checkbox-default,input[type='url'].sc-kol-input-checkbox-default,input[type='week'].sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,select[multiple].sc-kol-input-checkbox-default option.sc-kol-input-checkbox-default,textarea.sc-kol-input-checkbox-default{font-size:1rem;width:100%}/*!@input[type='file']*/input[type='file'].sc-kol-input-checkbox-default{padding:calc((var(--a11y-min-size) - 1rem) / 10) 0.5em}/*!@select[multiple] option*/select[multiple].sc-kol-input-checkbox-default option.sc-kol-input-checkbox-default{padding:calc((var(--a11y-min-size) - 1rem) / 2) 0.5em}/*!@kol-input.disabled :is(button, input, label, option, select, textarea)*/kol-input.disabled.sc-kol-input-checkbox-default .sc-kol-input-checkbox-default:is(button,input.sc-kol-input-checkbox-default,label.sc-kol-input-checkbox-default,option.sc-kol-input-checkbox-default,select.sc-kol-input-checkbox-default,textarea).sc-kol-input-checkbox-default{cursor:not-allowed;opacity:0.5}/*!@label*/label.sc-kol-input-checkbox-default{cursor:pointer}/*!@kol-input*/kol-input.sc-kol-input-checkbox-default{align-items:center;display:grid;justify-items:left}/*!@kol-input.default,\nkol-input.switch*/kol-input.default.sc-kol-input-checkbox-default,kol-input.switch.sc-kol-input-checkbox-default{grid-template-columns:auto 1fr}/*!@kol-input .input*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{align-items:center;display:grid;order:1}/*!@kol-input .input div*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default div.sc-kol-input-checkbox-default{display:inline-flex}/*!@kol-input .input input*/kol-input.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default input.sc-kol-input-checkbox-default{margin:0}/*!@kol-input label*/kol-input.sc-kol-input-checkbox-default label.sc-kol-input-checkbox-default{order:2}/*!@kol-input .hint,\nkol-input.error > kol-alert*/kol-input.sc-kol-input-checkbox-default .hint.sc-kol-input-checkbox-default,kol-input.error.sc-kol-input-checkbox-default>kol-alert.sc-kol-input-checkbox-default{grid-column:span 2}/*!@kol-input kol-alert.error*/kol-input.sc-kol-input-checkbox-default kol-alert.error.sc-kol-input-checkbox-default{order:3}/*!@kol-input .hint*/kol-input.sc-kol-input-checkbox-default .hint.sc-kol-input-checkbox-default{order:4}/*!@.error.hidden*/.error.hidden.sc-kol-input-checkbox-default{display:none}/*!@input*/input.sc-kol-input-checkbox-default{border-style:solid;border-width:2px;line-height:24px}/*!@input[type='checkbox']*/input[type='checkbox'].sc-kol-input-checkbox-default{appearance:none;background-color:#fff;cursor:pointer;transition:0.5s}/*!@input[type='checkbox'].kol-disabled:before*/input[type='checkbox'].kol-disabled.sc-kol-input-checkbox-default:before{cursor:not-allowed}/*!@input[type='checkbox']:before*/input[type='checkbox'].sc-kol-input-checkbox-default:before{content:'';cursor:pointer}/*!@.default kol-icon*/.default.sc-kol-input-checkbox-default kol-icon.sc-kol-input-checkbox-default{display:none}/*!@kol-input.required .tooltip-content .span-label::after*/kol-input.required.sc-kol-input-checkbox-default .tooltip-content.sc-kol-input-checkbox-default .span-label.sc-kol-input-checkbox-default::after{content:'*'}/*!@.button*/.button.sc-kol-input-checkbox-default{display:grid;grid-template-columns:var(--a11y-min-size) auto;grid-template-areas:'error error' 'input label' 'hint hint'}/*!@.button[tabindex]:focus*/.button[tabindex].sc-kol-input-checkbox-default:focus{cursor:inherit}/*!@.button input*/.button.sc-kol-input-checkbox-default input.sc-kol-input-checkbox-default{display:none}/*!@.button > .error*/.button.sc-kol-input-checkbox-default>.error.sc-kol-input-checkbox-default{grid-area:error}/*!@.button > label*/.button.sc-kol-input-checkbox-default>label.sc-kol-input-checkbox-default{grid-area:label}/*!@.button > .input*/.button.sc-kol-input-checkbox-default>.input.sc-kol-input-checkbox-default{grid-area:input}/*!@.button > .hint*/.button.sc-kol-input-checkbox-default>.hint.sc-kol-input-checkbox-default{grid-area:hint}/*!@.button .icon*/.button.sc-kol-input-checkbox-default .icon.sc-kol-input-checkbox-default{display:flex;align-items:center;justify-content:center;width:var(--a11y-min-size);height:var(--a11y-min-size)}/*!@.default input[type='checkbox']*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default{height:1.5em;width:1.5em}/*!@.default input[type='checkbox']:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:before{display:block;height:1.5em;position:relative;width:1.5em}/*!@.default input[type='checkbox']:checked:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:checked:before{border-radius:1px;border-style:solid;border-width:0 3px 3px 0;height:0.75em;left:calc(0.375em - 2px);transform:rotate(40deg) translate(-50%, -50%);top:calc(0.7125em - 2px);width:0.375em}/*!@.default input[type='checkbox']:indeterminate:before*/.default.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:indeterminate:before{background-color:#000;height:0.2em;left:0.24em;top:0.575em;width:0.8em}/*!@.switch .input*/.switch.sc-kol-input-checkbox-default .input.sc-kol-input-checkbox-default{position:relative}/*!@.switch input[type='checkbox']*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default{display:inline-block;height:1.7em;min-width:3.2em;position:relative;width:3.2em}/*!@.switch input[type='checkbox']::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default::before{background-color:#000;height:1.2em;left:calc(0.25em - 2px);top:calc(0.25em - 2px);position:absolute;transition:0.5s;width:1.2em}/*!@.switch input[type='checkbox']:checked::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:checked::before{transform:translateX(1.5em)}/*!@.switch input[type='checkbox']:indeterminate::before*/.switch.sc-kol-input-checkbox-default input[type='checkbox'].sc-kol-input-checkbox-default:indeterminate::before{transform:translateX(0.75em)}/*!@.switch .icon*/.switch.sc-kol-input-checkbox-default .icon.sc-kol-input-checkbox-default{cursor:pointer;display:flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;position:absolute;z-index:1;top:50%;left:4px;transform:translate(0, -50%);transition:0.5s;color:#000}/*!@.switch:has(input:checked) .icon*/.switch.sc-kol-input-checkbox-default:has(input:checked) .icon.sc-kol-input-checkbox-default{transform:translate(1.5em, -50%)}/*!@.switch:has(input:indeterminate) .icon*/.switch.sc-kol-input-checkbox-default:has(input:indeterminate) .icon.sc-kol-input-checkbox-default{transform:translate(0.75em, -50%)}";
13266
13267
 
13267
13268
  class KolInputCheckbox {
13268
13269
  render() {
13269
13270
  const { ariaDescribedBy } = getRenderStates(this.state);
13270
- const hasExpertSlot = this.state._label === false;
13271
+ const hasExpertSlot = showExpertSlot(this.state._label);
13271
13272
  return (hAsync(Host, null, hAsync("kol-input", { class: {
13272
13273
  checkbox: true,
13273
13274
  [this.state._variant]: true,
13274
13275
  'hide-label': !!this.state._hideLabel,
13275
13276
  checked: this.state._checked,
13276
- }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, tabIndex: this.state._variant === 'button' ? 0 : undefined, _alert: this.state._alert, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _required: this.state._required, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("kol-icon", { class: "icon", onClick: this.handleIconClick.bind(this), _icon: this.state._indeterminate ? this.state._icon.indeterminate : this.state._checked ? this.state._icon.checked : this.state._icon.unchecked, _label: "" }), hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, checked: this.state._checked, disabled: this.state._disabled, id: this.state._id, indeterminate: this.state._indeterminate, name: this.state._name, required: this.state._required, tabIndex: this.state._tabIndex, type: "checkbox" }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
13277
+ }, "data-role": this.state._variant === 'button' ? 'button' : undefined, onKeyPress: this.state._variant === 'button' ? this.onChange : undefined, tabIndex: this.state._variant === 'button' ? 0 : undefined, _alert: this.state._alert, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("kol-icon", { class: "icon", onClick: this.handleIconClick.bind(this), _icon: this.state._indeterminate ? this.state._icon.indeterminate : this.state._checked ? this.state._icon.checked : this.state._icon.unchecked, _label: "" }), hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, checked: this.state._checked, disabled: this.state._disabled, id: this.state._id, indeterminate: this.state._indeterminate, name: this.state._name, required: this.state._required, tabIndex: this.state._tabIndex, type: "checkbox" }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined }))))));
13277
13278
  }
13278
13279
  constructor(hostRef) {
13279
13280
  registerInstance(this, hostRef);
@@ -13325,7 +13326,7 @@ class KolInputCheckbox {
13325
13326
  },
13326
13327
  _id: `id-${nonce()}`,
13327
13328
  _indeterminate: false,
13328
- _label: false,
13329
+ _label: '',
13329
13330
  _value: true,
13330
13331
  _variant: 'default',
13331
13332
  };
@@ -13446,7 +13447,7 @@ class KolInputCheckbox {
13446
13447
  "_icon": [1],
13447
13448
  "_id": [1],
13448
13449
  "_indeterminate": [1540],
13449
- "_label": [8],
13450
+ "_label": [1],
13450
13451
  "_name": [1],
13451
13452
  "_on": [16],
13452
13453
  "_required": [4],
@@ -13559,11 +13560,11 @@ class KolInputColor {
13559
13560
  render() {
13560
13561
  const { ariaDescribedBy } = getRenderStates(this.state);
13561
13562
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
13562
- const hasExpertSlot = this.state._label === false;
13563
+ const hasExpertSlot = showExpertSlot(this.state._label);
13563
13564
  return (hAsync(Host, null, hAsync("kol-input", { class: {
13564
13565
  color: true,
13565
13566
  'hide-label': !!this.state._hideLabel,
13566
- }, _disabled: this.state._disabled, _error: this.state._error, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _hideError: this.state._hideError, _id: this.state._id, _suggestions: this.state._suggestions, _smartButton: this.state._smartButton, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, name: this.state._name, slot: "input", spellcheck: "false", type: "color", value: this.state._value }, this.controller.onFacade)), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
13567
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _hideError: this.state._hideError, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, name: this.state._name, slot: "input", spellcheck: "false", type: "color", value: this.state._value }, this.controller.onFacade))))));
13567
13568
  }
13568
13569
  constructor(hostRef) {
13569
13570
  registerInstance(this, hostRef);
@@ -13596,7 +13597,7 @@ class KolInputColor {
13596
13597
  _autoComplete: 'off',
13597
13598
  _hideError: false,
13598
13599
  _id: `id-${nonce()}`,
13599
- _label: false,
13600
+ _label: '',
13600
13601
  _suggestions: [],
13601
13602
  };
13602
13603
  this.controller = new InputColorController(this, 'input-color', this.host);
@@ -13706,7 +13707,7 @@ class KolInputColor {
13706
13707
  "_hint": [1],
13707
13708
  "_icon": [1],
13708
13709
  "_id": [1],
13709
- "_label": [8],
13710
+ "_label": [1],
13710
13711
  "_list": [1],
13711
13712
  "_name": [1],
13712
13713
  "_on": [16],
@@ -13883,11 +13884,11 @@ class KolInputDate {
13883
13884
  render() {
13884
13885
  const { ariaDescribedBy } = getRenderStates(this.state);
13885
13886
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
13886
- const hasExpertSlot = this.state._label === false;
13887
+ const hasExpertSlot = showExpertSlot(this.state._label);
13887
13888
  return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
13888
13889
  [this.state._type]: true,
13889
13890
  'hide-label': !!this.state._hideLabel,
13890
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
13891
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
13891
13892
  }
13892
13893
  constructor(hostRef) {
13893
13894
  registerInstance(this, hostRef);
@@ -13938,7 +13939,7 @@ class KolInputDate {
13938
13939
  _hasValue: false,
13939
13940
  _hideError: false,
13940
13941
  _id: `id-${nonce()}`,
13941
- _label: false,
13942
+ _label: '',
13942
13943
  _suggestions: [],
13943
13944
  _type: 'datetime-local',
13944
13945
  };
@@ -14079,7 +14080,7 @@ class KolInputDate {
14079
14080
  "_hint": [1],
14080
14081
  "_icon": [1],
14081
14082
  "_id": [1],
14082
- "_label": [8],
14083
+ "_label": [1],
14083
14084
  "_list": [1],
14084
14085
  "_max": [1],
14085
14086
  "_min": [1],
@@ -14262,10 +14263,10 @@ class KolInputEmail {
14262
14263
  render() {
14263
14264
  const { ariaDescribedBy } = getRenderStates(this.state);
14264
14265
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
14265
- const hasExpertSlot = this.state._label === false;
14266
+ const hasExpertSlot = showExpertSlot(this.state._label);
14266
14267
  return (hAsync(Host, { class: {
14267
14268
  'has-value': this.state._hasValue,
14268
- } }, hAsync("kol-input", { class: { email: true, 'hide-label': !!this.state._hideLabel }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, multiple: this.state._multiple, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
14269
+ } }, hAsync("kol-input", { class: { email: true, 'hide-label': !!this.state._hideLabel }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, multiple: this.state._multiple, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "email", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14269
14270
  }
14270
14271
  constructor(hostRef) {
14271
14272
  registerInstance(this, hostRef);
@@ -14320,7 +14321,7 @@ class KolInputEmail {
14320
14321
  _hasValue: false,
14321
14322
  _hideError: false,
14322
14323
  _id: `id-${nonce()}`,
14323
- _label: false,
14324
+ _label: '',
14324
14325
  _suggestions: [],
14325
14326
  };
14326
14327
  this.controller = new InputEmailController(this, 'input-email', this.host);
@@ -14465,7 +14466,7 @@ class KolInputEmail {
14465
14466
  "_hint": [1],
14466
14467
  "_icon": [1],
14467
14468
  "_id": [1],
14468
- "_label": [8],
14469
+ "_label": [1],
14469
14470
  "_list": [1],
14470
14471
  "_maxLength": [2, "_max-length"],
14471
14472
  "_multiple": [4],
@@ -14535,11 +14536,11 @@ const defaultStyleCss$q = "/*!@:host*/.sc-kol-input-file-default-h{--a11y-min-si
14535
14536
  class KolInputFile {
14536
14537
  render() {
14537
14538
  const { ariaDescribedBy } = getRenderStates(this.state);
14538
- const hasExpertSlot = this.state._label === false;
14539
+ const hasExpertSlot = showExpertSlot(this.state._label);
14539
14540
  return (hAsync(Host, null, hAsync("kol-input", { class: {
14540
14541
  file: true,
14541
14542
  'hide-label': !!this.state._hideLabel,
14542
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accept: this.state._accept, accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, spellcheck: "false", type: "file", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
14543
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accept: this.state._accept, accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, spellcheck: "false", type: "file", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange }))))));
14543
14544
  }
14544
14545
  constructor(hostRef) {
14545
14546
  registerInstance(this, hostRef);
@@ -14583,7 +14584,7 @@ class KolInputFile {
14583
14584
  this.state = {
14584
14585
  _hideError: false,
14585
14586
  _id: `id-${nonce()}`,
14586
- _label: false,
14587
+ _label: '',
14587
14588
  };
14588
14589
  this.controller = new InputFileController(this, 'input-file', this.host);
14589
14590
  }
@@ -14692,7 +14693,7 @@ class KolInputFile {
14692
14693
  "_hint": [1],
14693
14694
  "_icon": [1],
14694
14695
  "_id": [1],
14695
- "_label": [8],
14696
+ "_label": [1],
14696
14697
  "_multiple": [4],
14697
14698
  "_name": [1],
14698
14699
  "_on": [16],
@@ -14817,13 +14818,13 @@ class KolInputNumber {
14817
14818
  render() {
14818
14819
  const { ariaDescribedBy } = getRenderStates(this.state);
14819
14820
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
14820
- const hasExpertSlot = this.state._label === false;
14821
+ const hasExpertSlot = showExpertSlot(this.state._label);
14821
14822
  return (hAsync(Host, { class: {
14822
14823
  'has-value': this.state._hasValue,
14823
14824
  } }, hAsync("kol-input", { class: {
14824
14825
  [this.state._type]: true,
14825
14826
  'hide-label': !!this.state._hideLabel,
14826
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, placeholder: this.state._placeholder, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
14827
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, placeholder: this.state._placeholder, step: this.state._step, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
14827
14828
  }
14828
14829
  constructor(hostRef) {
14829
14830
  registerInstance(this, hostRef);
@@ -14875,7 +14876,7 @@ class KolInputNumber {
14875
14876
  _hasValue: false,
14876
14877
  _hideError: false,
14877
14878
  _id: `id-${nonce()}`,
14878
- _label: false,
14879
+ _label: '',
14879
14880
  _suggestions: [],
14880
14881
  _type: 'number',
14881
14882
  };
@@ -15020,7 +15021,7 @@ class KolInputNumber {
15020
15021
  "_hint": [1],
15021
15022
  "_icon": [1],
15022
15023
  "_id": [1],
15023
- "_label": [8],
15024
+ "_label": [1],
15024
15025
  "_list": [1],
15025
15026
  "_max": [8],
15026
15027
  "_min": [8],
@@ -15051,13 +15052,13 @@ const defaultStyleCss$o = "/*!@:host*/.sc-kol-input-password-default-h{--a11y-mi
15051
15052
  class KolInputPassword {
15052
15053
  render() {
15053
15054
  const { ariaDescribedBy } = getRenderStates(this.state);
15054
- const hasExpertSlot = this.state._label === false;
15055
+ const hasExpertSlot = showExpertSlot(this.state._label);
15055
15056
  return (hAsync(Host, { class: {
15056
15057
  'has-value': this.state._hasValue,
15057
15058
  } }, hAsync("kol-input", { class: {
15058
15059
  'hide-label': !!this.state._hideLabel,
15059
15060
  password: true,
15060
- }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hasCounter: this.state._hasCounter, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
15061
+ }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hasCounter: this.state._hasCounter, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: "password", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15061
15062
  }
15062
15063
  constructor(hostRef) {
15063
15064
  registerInstance(this, hostRef);
@@ -15109,7 +15110,7 @@ class KolInputPassword {
15109
15110
  _hasValue: false,
15110
15111
  _hideError: false,
15111
15112
  _id: `id-${nonce()}`,
15112
- _label: false,
15113
+ _label: '',
15113
15114
  };
15114
15115
  this.controller = new InputPasswordController(this, 'input-password', this.host);
15115
15116
  }
@@ -15244,7 +15245,7 @@ class KolInputPassword {
15244
15245
  "_hint": [1],
15245
15246
  "_icon": [1],
15246
15247
  "_id": [1],
15247
- "_label": [8],
15248
+ "_label": [1],
15248
15249
  "_maxLength": [2, "_max-length"],
15249
15250
  "_name": [1],
15250
15251
  "_on": [16],
@@ -15272,7 +15273,7 @@ const defaultStyleCss$n = "/*!@:host*/.sc-kol-input-radio-default-h{--a11y-min-s
15272
15273
  class KolInputRadio {
15273
15274
  render() {
15274
15275
  const { ariaDescribedBy, hasError } = getRenderStates(this.state);
15275
- const hasExpertSlot = this.state._label === false;
15276
+ const hasExpertSlot = showExpertSlot(this.state._label);
15276
15277
  return (hAsync(Host, null, hAsync("fieldset", { class: {
15277
15278
  disabled: this.state._disabled === true,
15278
15279
  error: hasError === true,
@@ -15282,11 +15283,11 @@ class KolInputRadio {
15282
15283
  } }, hAsync("legend", { class: "block w-full mb-1 leading-normal" }, hAsync("span", null, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label))), this.state._options.map((option, index) => {
15283
15284
  const customId = `${this.state._id}-${index}`;
15284
15285
  const slotName = `radio-${index}`;
15285
- return (hAsync("kol-input", { class: "radio", key: customId, _disabled: this.state._disabled || option.disabled, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: customId, _renderNoLabel: true, _required: this.state._required, _slotName: slotName, _touched: this.state._touched }, hAsync("div", { slot: slotName }, hAsync("input", Object.assign({ ref: this.state._value === option.value ? this.catchRef : undefined, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof option.label === 'string' ? option.label : undefined, type: "radio", id: customId, checked: this.state._value === option.value, name: this.state._name || this.state._id, disabled: this.state._disabled || option.disabled, required: this.state._required, tabIndex: this.state._tabIndex, value: `-${index}` }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _label: typeof this.state._label === 'string' ? this.state._label : '' }), hAsync("label", { htmlFor: `${customId}`, style: {
15286
- height: this.state._hideLabel && this.state._required !== true ? '0' : undefined,
15287
- margin: this.state._hideLabel && this.state._required !== true ? '0' : undefined,
15288
- padding: this.state._hideLabel && this.state._required !== true ? '0' : undefined,
15289
- visibility: this.state._hideLabel && this.state._required !== true ? 'hidden' : undefined,
15286
+ return (hAsync("kol-input", { class: "radio", key: customId, _disabled: this.state._disabled || option.disabled, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: customId, _label: option.label, _renderNoLabel: true, _required: this.state._required, _slotName: slotName, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("div", { slot: slotName, class: "radio-input-wrapper" }, hAsync("input", Object.assign({ ref: this.state._value === option.value ? this.catchRef : undefined, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof option.label === 'string' ? option.label : undefined, type: "radio", id: customId, checked: this.state._value === option.value, name: this.state._name || this.state._id, disabled: this.state._disabled || option.disabled, required: this.state._required, tabIndex: this.state._tabIndex, value: `-${index}` }, this.controller.onFacade, { onChange: this.onChange, onClick: undefined })), hAsync("label", { class: "radio-label", htmlFor: `${customId}`, style: {
15287
+ height: this.state._hideLabel ? '0' : undefined,
15288
+ margin: this.state._hideLabel ? '0' : undefined,
15289
+ padding: this.state._hideLabel ? '0' : undefined,
15290
+ visibility: this.state._hideLabel ? 'hidden' : undefined,
15290
15291
  } }, hAsync("span", null, hAsync("span", null, option.label))))));
15291
15292
  }), hasError && (hAsync("kol-alert", { id: "error", _alert: true, _type: "error", _variant: "msg", "aria-hidden": this._hideError, class: `error${this._hideError ? ' hidden' : ''}` }, this.state._error)))));
15292
15293
  }
@@ -15334,7 +15335,7 @@ class KolInputRadio {
15334
15335
  this.state = {
15335
15336
  _hideError: false,
15336
15337
  _id: `id-${nonce()}`,
15337
- _label: false,
15338
+ _label: '',
15338
15339
  _options: [],
15339
15340
  _orientation: 'vertical',
15340
15341
  };
@@ -15439,7 +15440,7 @@ class KolInputRadio {
15439
15440
  "_hideLabel": [4, "_hide-label"],
15440
15441
  "_hint": [1],
15441
15442
  "_id": [1],
15442
- "_label": [8],
15443
+ "_label": [1],
15443
15444
  "_list": [1],
15444
15445
  "_name": [1],
15445
15446
  "_on": [16],
@@ -15496,7 +15497,7 @@ Mit der Version 1.1 wird die Komponente KolInputRadioGroup aus der Bibliothek en
15496
15497
  "_hideLabel": [4, "_hide-label"],
15497
15498
  "_hint": [1],
15498
15499
  "_id": [1],
15499
- "_label": [8],
15500
+ "_label": [1],
15500
15501
  "_list": [1],
15501
15502
  "_name": [1],
15502
15503
  "_on": [16],
@@ -15571,13 +15572,13 @@ class KolInputRange {
15571
15572
  render() {
15572
15573
  const { ariaDescribedBy } = getRenderStates(this.state);
15573
15574
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15574
- const hasExpertSlot = this.state._label === false;
15575
+ const hasExpertSlot = showExpertSlot(this.state._label);
15575
15576
  return (hAsync(Host, null, hAsync("kol-input", { class: {
15576
15577
  range: true,
15577
15578
  'hide-label': !!this.state._hideLabel,
15578
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("div", { class: "inputs-wrapper", style: {
15579
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("div", { class: "inputs-wrapper", style: {
15579
15580
  '--kolibri-input-range--input-number--width': `${this.state._max}`.length + 0.5 + 'em',
15580
- } }, hAsync("input", Object.assign({ title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-range` : undefined, spellcheck: "false", step: this.state._step, tabIndex: -1, type: "range", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange })), hAsync("input", Object.assign({ ref: this.catchInputNumberRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-number` : undefined, step: this.state._step, type: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp, onChange: this.onChange })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })), hasSuggestions && [
15581
+ } }, hAsync("input", Object.assign({ title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-range` : undefined, spellcheck: "false", step: this.state._step, tabIndex: -1, type: "range", value: this.state._value }, this.controller.onFacade, { onChange: this.onChange })), hAsync("input", Object.assign({ ref: this.catchInputNumberRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, max: this.state._max, min: this.state._min, name: this.state._name ? `${this.state._name}-number` : undefined, step: this.state._step, type: "number", value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp, onChange: this.onChange }))), hasSuggestions && [
15581
15582
  hAsync("datalist", { id: `${this.state._id}-list` }, this.state._suggestions.map((option) => (hAsync("option", { value: option })))),
15582
15583
  ]))));
15583
15584
  }
@@ -15643,7 +15644,7 @@ class KolInputRange {
15643
15644
  _autoComplete: 'off',
15644
15645
  _hideError: false,
15645
15646
  _id: `id-${nonce()}`,
15646
- _label: false,
15647
+ _label: '',
15647
15648
  _suggestions: [],
15648
15649
  };
15649
15650
  this.controller = new InputRangeController(this, 'input-range', this.host);
@@ -15761,7 +15762,7 @@ class KolInputRange {
15761
15762
  "_hint": [1],
15762
15763
  "_icon": [1],
15763
15764
  "_id": [1],
15764
- "_label": [8],
15765
+ "_label": [1],
15765
15766
  "_list": [1],
15766
15767
  "_max": [2],
15767
15768
  "_min": [2],
@@ -15793,13 +15794,13 @@ class KolInputText {
15793
15794
  render() {
15794
15795
  const { ariaDescribedBy } = getRenderStates(this.state);
15795
15796
  const hasSuggestions = Array.isArray(this.state._suggestions) && this.state._suggestions.length > 0;
15796
- const hasExpertSlot = this.state._label === false;
15797
+ const hasExpertSlot = showExpertSlot(this.state._label);
15797
15798
  return (hAsync(Host, { class: {
15798
15799
  'has-value': this.state._hasValue,
15799
15800
  } }, hAsync("kol-input", { class: {
15800
15801
  [this.state._type]: true,
15801
15802
  'hide-label': !!this.state._hideLabel,
15802
- }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
15803
+ }, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _suggestions: this.state._suggestions, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _smartButton: this.state._smartButton, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("input", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoComplete: this.state._autoComplete, autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, list: hasSuggestions ? `${this.state._id}-list` : undefined, maxlength: this.state._maxLength, name: this.state._name, pattern: this.state._pattern, placeholder: this.state._placeholder, readOnly: this.state._readOnly, required: this.state._required, size: this.state._size, spellcheck: "false", type: this.state._type, value: this.state._value }, this.controller.onFacade, { onKeyUp: this.onKeyUp }))))));
15803
15804
  }
15804
15805
  constructor(hostRef) {
15805
15806
  registerInstance(this, hostRef);
@@ -15864,7 +15865,7 @@ class KolInputText {
15864
15865
  _hasValue: false,
15865
15866
  _hideError: false,
15866
15867
  _id: `id-${nonce()}`,
15867
- _label: false,
15868
+ _label: '',
15868
15869
  _suggestions: [],
15869
15870
  _type: 'text',
15870
15871
  };
@@ -16015,7 +16016,7 @@ class KolInputText {
16015
16016
  "_hint": [1],
16016
16017
  "_icon": [1],
16017
16018
  "_id": [1],
16018
- "_label": [8],
16019
+ "_label": [1],
16019
16020
  "_list": [1],
16020
16021
  "_maxLength": [2, "_max-length"],
16021
16022
  "_name": [1],
@@ -16041,7 +16042,7 @@ class KolInputText {
16041
16042
  }; }
16042
16043
  }
16043
16044
 
16044
- const defaultStyleCss$k = "/*!@:host*/.sc-kol-kolibri-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-kolibri-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-kolibri-default,button.sc-kol-kolibri-default:not([role='link']),kol-input.sc-kol-kolibri-default .input.sc-kol-kolibri-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-kolibri-default,button.sc-kol-kolibri-default,h1.sc-kol-kolibri-default,h2.sc-kol-kolibri-default,h3.sc-kol-kolibri-default,h4.sc-kol-kolibri-default,h5.sc-kol-kolibri-default,h6.sc-kol-kolibri-default,input.sc-kol-kolibri-default,option.sc-kol-kolibri-default,select.sc-kol-kolibri-default,textarea.sc-kol-kolibri-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-kolibri-default:is(a,button).sc-kol-kolibri-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-kolibri-default-h{max-width:100%}/*!@**/*.sc-kol-kolibri-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-kolibri-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-kolibri-default>span.sc-kol-kolibri-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-kolibri-default,button.sc-kol-kolibri-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-kolibri-default,input.sc-kol-kolibri-default,option.sc-kol-kolibri-default,select.sc-kol-kolibri-default,textarea.sc-kol-kolibri-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-kolibri-default>kol-span-wc.sc-kol-kolibri-default>span.sc-kol-kolibri-default>span.sc-kol-kolibri-default{display:none}/*!@text*/text.sc-kol-kolibri-default{font-size:90px;letter-spacing:normal;word-spacing:normal}/*!@svg*/svg.sc-kol-kolibri-default{max-height:100%}";
16045
+ const defaultStyleCss$k = "/*!@:host*/.sc-kol-kolibri-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-kolibri-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-kolibri-default,button.sc-kol-kolibri-default:not([role='link']),kol-input.sc-kol-kolibri-default .input.sc-kol-kolibri-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-kolibri-default,button.sc-kol-kolibri-default,h1.sc-kol-kolibri-default,h2.sc-kol-kolibri-default,h3.sc-kol-kolibri-default,h4.sc-kol-kolibri-default,h5.sc-kol-kolibri-default,h6.sc-kol-kolibri-default,input.sc-kol-kolibri-default,option.sc-kol-kolibri-default,select.sc-kol-kolibri-default,textarea.sc-kol-kolibri-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-kolibri-default:is(a,button).sc-kol-kolibri-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-kolibri-default-h{max-width:100%}/*!@**/*.sc-kol-kolibri-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-kolibri-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-kolibri-default>span.sc-kol-kolibri-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-kolibri-default,button.sc-kol-kolibri-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-kolibri-default,input.sc-kol-kolibri-default,option.sc-kol-kolibri-default,select.sc-kol-kolibri-default,textarea.sc-kol-kolibri-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-kolibri-default>kol-span-wc.sc-kol-kolibri-default>span.sc-kol-kolibri-default>span.sc-kol-kolibri-default{display:none}/*!@:host*/.sc-kol-kolibri-default-h{display:inline-block}/*!@text*/text.sc-kol-kolibri-default{font-size:90px;letter-spacing:normal;word-spacing:normal}/*!@svg*/svg.sc-kol-kolibri-default{max-height:100%}";
16045
16046
 
16046
16047
  const max$1 = 360;
16047
16048
  function degreeToRadians(degree) {
@@ -16157,7 +16158,7 @@ class KolLink {
16157
16158
  this._ariaLabel = undefined;
16158
16159
  this._ariaSelected = undefined;
16159
16160
  this._disabled = false;
16160
- this._download = false;
16161
+ this._download = undefined;
16161
16162
  this._hideLabel = false;
16162
16163
  this._href = undefined;
16163
16164
  this._icon = undefined;
@@ -16192,13 +16193,13 @@ class KolLink {
16192
16193
  "_ariaLabel": [1, "_aria-label"],
16193
16194
  "_ariaSelected": [4, "_aria-selected"],
16194
16195
  "_disabled": [4],
16195
- "_download": [8],
16196
+ "_download": [1],
16196
16197
  "_hideLabel": [4, "_hide-label"],
16197
16198
  "_href": [1],
16198
16199
  "_icon": [1],
16199
16200
  "_iconAlign": [1, "_icon-align"],
16200
16201
  "_iconOnly": [4, "_icon-only"],
16201
- "_label": [8],
16202
+ "_label": [1],
16202
16203
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16203
16204
  "_on": [16],
16204
16205
  "_role": [1],
@@ -16232,7 +16233,7 @@ class KolLinkButton {
16232
16233
  this._ariaSelected = undefined;
16233
16234
  this._customClass = undefined;
16234
16235
  this._disabled = false;
16235
- this._download = false;
16236
+ this._download = undefined;
16236
16237
  this._hideLabel = false;
16237
16238
  this._href = undefined;
16238
16239
  this._icon = undefined;
@@ -16269,12 +16270,12 @@ class KolLinkButton {
16269
16270
  "_ariaSelected": [4, "_aria-selected"],
16270
16271
  "_customClass": [1, "_custom-class"],
16271
16272
  "_disabled": [4],
16272
- "_download": [8],
16273
+ "_download": [1],
16273
16274
  "_hideLabel": [4, "_hide-label"],
16274
16275
  "_href": [1],
16275
16276
  "_icon": [1],
16276
16277
  "_iconOnly": [4, "_icon-only"],
16277
- "_label": [8],
16278
+ "_label": [1],
16278
16279
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16279
16280
  "_on": [16],
16280
16281
  "_role": [1],
@@ -16431,10 +16432,7 @@ const validateAriaSelected = (component, value) => {
16431
16432
  };
16432
16433
 
16433
16434
  const validateDownload = (component, value) => {
16434
- if (typeof value === 'boolean')
16435
- watchBoolean(component, '_download', value);
16436
- else
16437
- watchString(component, '_download', value);
16435
+ watchString(component, '_download', value);
16438
16436
  };
16439
16437
 
16440
16438
  const validateHref = (component, value, options = {}) => {
@@ -16490,7 +16488,7 @@ class KolLinkWc {
16490
16488
  href: typeof this.state._href === 'string' && this.state._href.length > 0 ? this.state._href : 'javascript:void(0);',
16491
16489
  target: typeof this.state._target === 'string' && this.state._target.length > 0 ? this.state._target : undefined,
16492
16490
  rel: isExternal ? 'noopener' : undefined,
16493
- download: (typeof this.state._download === 'string' && this.state._download === 'true') || this.state._download === true ? true : undefined,
16491
+ download: typeof this.state._download === 'string' ? this.state._download : undefined,
16494
16492
  };
16495
16493
  if ((this.state._useCase === 'image' || this.state._hideLabel === true) && !this.state._label) {
16496
16494
  devHint(`[KolLink] Es muss ein Aria-Label gesetzt werden, wenn eine Grafik verlinkt oder der _hide-label gesetzt ist.`);
@@ -16518,7 +16516,7 @@ class KolLinkWc {
16518
16516
  this._ariaLabel = undefined;
16519
16517
  this._ariaSelected = undefined;
16520
16518
  this._disabled = false;
16521
- this._download = false;
16519
+ this._download = undefined;
16522
16520
  this._hideLabel = false;
16523
16521
  this._href = undefined;
16524
16522
  this._icon = undefined;
@@ -16538,19 +16536,18 @@ class KolLinkWc {
16538
16536
  this.state = {
16539
16537
  _href: '…',
16540
16538
  _icon: {},
16541
- _label: false,
16542
16539
  };
16543
16540
  }
16544
16541
  render() {
16545
16542
  const { isExternal, tagAttrs, goToProps } = this.getRenderValues();
16546
- const hasExpertSlot = this.state._label === false;
16543
+ const hasExpertSlot = showExpertSlot(this.state._label);
16547
16544
  return (hAsync(Host, null, hAsync("a", Object.assign({ ref: this.catchRef }, tagAttrs, { "aria-controls": this.state._ariaControls, "aria-current": this.state._ariaCurrent, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapBoolean2String(this.state._ariaSelected), class: {
16548
16545
  disabled: this.state._disabled === true,
16549
16546
  'skip ': this.state._stealth !== false,
16550
16547
  'icon-only': this.state._hideLabel === true,
16551
16548
  'hide-label': this.state._hideLabel === true,
16552
16549
  'external-link': isExternal,
16553
- } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick }, goToProps, { role: this.state._role, tabIndex: this.state._tabIndex }), hAsync("kol-span-wc", { _icon: this.state._icon, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? false : this.state._label || this.state._href }, hAsync("slot", { name: "expert", slot: "expert" })), isExternal && hAsync("kol-icon", { class: "external-link-icon", _label: this.state._targetDescription, _icon: 'codicon codicon-link-external' })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
16550
+ } }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick }, goToProps, { role: this.state._role, tabIndex: this.state._tabIndex }), hAsync("kol-span-wc", { _icon: this.state._icon, _hideLabel: this.state._hideLabel, _label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { name: "expert", slot: "expert" })), isExternal && hAsync("kol-icon", { class: "external-link-icon", _label: this.state._targetDescription, _icon: 'codicon codicon-link-external' })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href })));
16554
16551
  }
16555
16552
  validateAriaControls(value) {
16556
16553
  validateAriaControls(this, value);
@@ -16688,13 +16685,13 @@ class KolLinkWc {
16688
16685
  "_ariaLabel": [1, "_aria-label"],
16689
16686
  "_ariaSelected": [4, "_aria-selected"],
16690
16687
  "_disabled": [4],
16691
- "_download": [8],
16688
+ "_download": [1],
16692
16689
  "_hideLabel": [4, "_hide-label"],
16693
16690
  "_href": [1],
16694
16691
  "_icon": [1],
16695
16692
  "_iconAlign": [1, "_icon-align"],
16696
16693
  "_iconOnly": [4, "_icon-only"],
16697
- "_label": [8],
16694
+ "_label": [1],
16698
16695
  "_listenAriaCurrent": [8, "_listen-aria-current"],
16699
16696
  "_on": [16],
16700
16697
  "_role": [1],
@@ -16880,7 +16877,7 @@ BUND_LOGO_TEXT_MAP.set(Bundesanstalt['Bundesinstitut für Arzneimittel und Mediz
16880
16877
  BUND_LOGO_TEXT_MAP.set(Bundesanstalt['Bundesinstitut für Bevölkerungsforschung'], ['Bundesinstitut', 'für Bevölkerungsforschung']);
16881
16878
  BUND_LOGO_TEXT_MAP.set(Bundesanstalt['Bundesinstitut für Sportwissenschaft'], ['Bundesinstitut', 'für Sportwissenschaft']);
16882
16879
 
16883
- const defaultStyleCss$g = "/*!@:host*/.sc-kol-logo-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-logo-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-logo-default,button.sc-kol-logo-default:not([role='link']),kol-input.sc-kol-logo-default .input.sc-kol-logo-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-logo-default,button.sc-kol-logo-default,h1.sc-kol-logo-default,h2.sc-kol-logo-default,h3.sc-kol-logo-default,h4.sc-kol-logo-default,h5.sc-kol-logo-default,h6.sc-kol-logo-default,input.sc-kol-logo-default,option.sc-kol-logo-default,select.sc-kol-logo-default,textarea.sc-kol-logo-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-logo-default:is(a,button).sc-kol-logo-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-logo-default-h{max-width:100%}/*!@**/*.sc-kol-logo-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-logo-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-logo-default>span.sc-kol-logo-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-logo-default,button.sc-kol-logo-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-logo-default,input.sc-kol-logo-default,option.sc-kol-logo-default,select.sc-kol-logo-default,textarea.sc-kol-logo-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-logo-default>kol-span-wc.sc-kol-logo-default>span.sc-kol-logo-default>span.sc-kol-logo-default{display:none}/*!@text*/text.sc-kol-logo-default{font-size:16px;letter-spacing:normal;word-spacing:normal}/*!@svg*/svg.sc-kol-logo-default{max-height:100%}";
16880
+ const defaultStyleCss$g = "/*!@:host*/.sc-kol-logo-default-h{--a11y-min-size:44px;font-size:inherit}/*!@**/*.sc-kol-logo-default{font-family:Verdana;hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}/*!@[role='button'],\nbutton:not([role='link']),\nkol-input .input*/[role='button'].sc-kol-logo-default,button.sc-kol-logo-default:not([role='link']),kol-input.sc-kol-logo-default .input.sc-kol-logo-default{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}/*!@a,\nbutton,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\noption,\nselect,\ntextarea*/a.sc-kol-logo-default,button.sc-kol-logo-default,h1.sc-kol-logo-default,h2.sc-kol-logo-default,h3.sc-kol-logo-default,h4.sc-kol-logo-default,h5.sc-kol-logo-default,h6.sc-kol-logo-default,input.sc-kol-logo-default,option.sc-kol-logo-default,select.sc-kol-logo-default,textarea.sc-kol-logo-default{font-family:inherit;font-size:inherit}/*!@:is(a, button)*/.sc-kol-logo-default:is(a,button).sc-kol-logo-default{background-color:transparent;border:none;margin:0;padding:0;width:100%}/*!@:host*/.sc-kol-logo-default-h{max-width:100%}/*!@**/*.sc-kol-logo-default{box-sizing:border-box}/*!@kol-span-wc*/kol-span-wc.sc-kol-logo-default{display:grid;place-items:center}/*!@kol-span-wc > span*/kol-span-wc.sc-kol-logo-default>span.sc-kol-logo-default{display:flex;place-items:center}/*!@a,\nbutton*/a.sc-kol-logo-default,button.sc-kol-logo-default{cursor:pointer}/*!@button,\ninput,\noption,\nselect,\ntextarea*/button.sc-kol-logo-default,input.sc-kol-logo-default,option.sc-kol-logo-default,select.sc-kol-logo-default,textarea.sc-kol-logo-default{font-family:inherit}/*!@.icon-only > kol-span-wc > span > span*/.icon-only.sc-kol-logo-default>kol-span-wc.sc-kol-logo-default>span.sc-kol-logo-default>span.sc-kol-logo-default{display:none}/*!@:host*/.sc-kol-logo-default-h{display:inline-block}/*!@text*/text.sc-kol-logo-default{font-size:16px;letter-spacing:normal;word-spacing:normal}/*!@svg*/svg.sc-kol-logo-default{max-height:100%}";
16884
16881
 
16885
16882
  function enumToArray(enumeration, enumAsMap = new Map()) {
16886
16883
  Object.entries(enumeration).map(([key, value]) => {
@@ -17133,7 +17130,7 @@ class KolNav {
17133
17130
  return (hAsync(Host, null, hAsync("div", { class: {
17134
17131
  [orientation]: true,
17135
17132
  [this.state._variant]: true,
17136
- } }, hAsync("nav", { "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { collapsible: collapsible, hideLabel: hideLabel, deep: 0, links: this.state._links, orientation: orientation })), hasCompactButton && (hAsync("div", { class: "mt-2 w-full compact" }, hAsync("kol-button", { _ariaControls: "nav", _ariaExpanded: !hideLabel, _icon: hideLabel ? 'codicon codicon-chevron-right' : 'codicon codicon-chevron-left', _hideLabel: true, _label: translate(hideLabel ? 'kol-nav-maximize' : 'kol-nav-minimize'), _on: {
17133
+ } }, hAsync("nav", { "aria-label": this.state._label, id: "nav" }, hAsync(this.linkList, { collapsible: collapsible, hideLabel: hideLabel, deep: 0, links: this.state._links, orientation: orientation })), hasCompactButton && (hAsync("div", { class: "compact" }, hAsync("kol-button", { _ariaControls: "nav", _ariaExpanded: !hideLabel, _icon: hideLabel ? 'codicon codicon-chevron-right' : 'codicon codicon-chevron-left', _hideLabel: true, _label: translate(hideLabel ? 'kol-nav-maximize' : 'kol-nav-minimize'), _on: {
17137
17134
  onClick: () => {
17138
17135
  this.state = Object.assign(Object.assign({}, this.state), { _hideLabel: this.state._hideLabel === false });
17139
17136
  },
@@ -19292,10 +19289,10 @@ class KolQuote {
19292
19289
  this.validateVariant(this._variant);
19293
19290
  }
19294
19291
  render() {
19295
- const hideExpertSlot = this.state._quote !== '';
19292
+ const hasExpertSlot = showExpertSlot(this.state._quote);
19296
19293
  return (hAsync(Host, null, hAsync("figure", { class: {
19297
19294
  [this.state._variant]: true,
19298
- } }, this.state._variant === 'block' ? (hAsync("blockquote", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": hideExpertSlot ? 'true' : undefined, hidden: hideExpertSlot }, hAsync("slot", { name: "expert" })))) : (hAsync("q", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": hideExpertSlot ? 'true' : undefined, hidden: hideExpertSlot }, hAsync("slot", { name: "expert" })))), typeof this.state._label === 'string' && this.state._label.length > 0 && (hAsync("figcaption", null, hAsync("cite", null, hAsync("kol-link", { _href: this.state._href, _label: this.state._label, _target: "_blank" })))))));
19295
+ } }, this.state._variant === 'block' ? (hAsync("blockquote", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": !hasExpertSlot ? 'true' : undefined, hidden: !hasExpertSlot }, hAsync("slot", { name: "expert" })))) : (hAsync("q", { cite: this.state._href }, this.state._quote, hAsync("span", { "aria-hidden": !hasExpertSlot ? 'true' : undefined, hidden: !hasExpertSlot }, hAsync("slot", { name: "expert" })))), typeof this.state._label === 'string' && this.state._label.length > 0 && (hAsync("figcaption", null, hAsync("cite", null, hAsync("kol-link", { _href: this.state._href, _label: this.state._label, _target: "_blank" })))))));
19299
19296
  }
19300
19297
  static get watchers() { return {
19301
19298
  "_caption": ["validateCaption"],
@@ -19446,11 +19443,11 @@ class KolSelect {
19446
19443
  }
19447
19444
  render() {
19448
19445
  const { ariaDescribedBy } = getRenderStates(this.state);
19449
- const hasExpertSlot = this.state._label === false;
19446
+ const hasExpertSlot = showExpertSlot(this.state._label);
19450
19447
  return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: {
19451
19448
  'hide-label': !!this.state._hideLabel,
19452
19449
  select: true,
19453
- }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _required: this.state._required, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("select", { ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows, spellcheck: "false", style: {
19450
+ }, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _icon: this.state._icon, _id: this.state._id, _label: this.state._label, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("select", { ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, multiple: this.state._multiple, name: this.state._name, required: this.state._required, size: this.state._rows, spellcheck: "false", style: {
19454
19451
  height: this.state._height,
19455
19452
  }, onClick: this.controller.onFacade.onClick,
19456
19453
  onBlur: this.controller.onFacade.onBlur,
@@ -19462,7 +19459,7 @@ class KolSelect {
19462
19459
  else {
19463
19460
  return (hAsync("option", { disabled: option.disabled, key: key, selected: isSelected(this.state._value, option.value), value: key }, option.label));
19464
19461
  }
19465
- })))), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })));
19462
+ }))))));
19466
19463
  }
19467
19464
  constructor(hostRef) {
19468
19465
  registerInstance(this, hostRef);
@@ -19511,7 +19508,7 @@ class KolSelect {
19511
19508
  _height: '',
19512
19509
  _hideError: false,
19513
19510
  _id: `id-${nonce()}`,
19514
- _label: false,
19511
+ _label: '',
19515
19512
  _multiple: false,
19516
19513
  _options: [],
19517
19514
  _value: [],
@@ -19637,7 +19634,7 @@ class KolSelect {
19637
19634
  "_hint": [1],
19638
19635
  "_icon": [1],
19639
19636
  "_id": [1],
19640
- "_label": [8],
19637
+ "_label": [1],
19641
19638
  "_list": [1],
19642
19639
  "_multiple": [4],
19643
19640
  "_name": [1],
@@ -19743,7 +19740,7 @@ class KolSpan {
19743
19740
  "_hideLabel": [4, "_hide-label"],
19744
19741
  "_icon": [1],
19745
19742
  "_iconOnly": [4, "_icon-only"],
19746
- "_label": [8]
19743
+ "_label": [1]
19747
19744
  },
19748
19745
  "$listeners$": undefined,
19749
19746
  "$lazyBundleId$": "-",
@@ -32020,15 +32017,16 @@ class KolSpanWc {
32020
32017
  _allowMarkdown: false,
32021
32018
  _hideLabel: false,
32022
32019
  _icon: {},
32023
- _label: false,
32020
+ _label: '',
32024
32021
  };
32025
32022
  }
32026
32023
  render() {
32027
- const hideExpertSlot = typeof this.state._label === 'string';
32024
+ var _a;
32025
+ const hideExpertSlot = !showExpertSlot(this.state._label);
32028
32026
  return (hAsync(Host, { class: {
32029
32027
  'icon-only': !!this.state._hideLabel,
32030
32028
  'hide-label': !!this.state._hideLabel,
32031
- } }, this.state._icon.top && hAsync("kol-icon", { class: "icon top", style: this.state._icon.top.style, _label: "", _icon: this.state._icon.top.icon }), hAsync("span", null, this.state._icon.left && hAsync("kol-icon", { class: "icon left", style: this.state._icon.left.style, _label: "", _icon: this.state._icon.left.icon }), !this.state._hideLabel && hideExpertSlot ? (this.state._allowMarkdown && this.state._label ? (hAsync("span", { class: "span-label md", innerHTML: md(this.state._label) })) : (hAsync("span", { class: "span-label" }, this.state._label))) : (''), hAsync("span", { "aria-hidden": hideExpertSlot ? 'true' : undefined, class: "span-label", hidden: hideExpertSlot }, hAsync("slot", { name: "expert" })), this.state._icon.right && hAsync("kol-icon", { class: "icon right", style: this.state._icon.right.style, _label: "", _icon: this.state._icon.right.icon })), this.state._icon.bottom && hAsync("kol-icon", { class: "icon bottom", style: this.state._icon.bottom.style, _label: "", _icon: this.state._icon.bottom.icon })));
32029
+ } }, this.state._icon.top && hAsync("kol-icon", { class: "icon top", style: this.state._icon.top.style, _label: "", _icon: this.state._icon.top.icon }), hAsync("span", null, this.state._icon.left && hAsync("kol-icon", { class: "icon left", style: this.state._icon.left.style, _label: "", _icon: this.state._icon.left.icon }), !this.state._hideLabel && hideExpertSlot ? (this.state._allowMarkdown && typeof this.state._label === 'string' && this.state._label.length > 0 ? (hAsync("span", { class: "span-label md", innerHTML: md(this.state._label) })) : (hAsync("span", { class: "span-label" }, (_a = this.state._label) !== null && _a !== void 0 ? _a : ''))) : (''), hAsync("span", { "aria-hidden": hideExpertSlot ? 'true' : undefined, class: "span-label", hidden: hideExpertSlot }, hAsync("slot", { name: "expert" })), this.state._icon.right && hAsync("kol-icon", { class: "icon right", style: this.state._icon.right.style, _label: "", _icon: this.state._icon.right.icon })), this.state._icon.bottom && hAsync("kol-icon", { class: "icon bottom", style: this.state._icon.bottom.style, _label: "", _icon: this.state._icon.bottom.icon })));
32032
32030
  }
32033
32031
  validateAllowMarkdown(value) {
32034
32032
  watchBoolean(this, '_allowMarkdown', value, {
@@ -32068,7 +32066,7 @@ class KolSpanWc {
32068
32066
  "_hideLabel": [4, "_hide-label"],
32069
32067
  "_icon": [1],
32070
32068
  "_iconOnly": [4, "_icon-only"],
32071
- "_label": [8],
32069
+ "_label": [1],
32072
32070
  "state": [32]
32073
32071
  },
32074
32072
  "$listeners$": undefined,
@@ -33255,10 +33253,10 @@ const increaseTextareaHeight = (el) => {
33255
33253
  class KolTextarea {
33256
33254
  render() {
33257
33255
  const { ariaDescribedBy } = getRenderStates(this.state);
33258
- const hasExpertSlot = this.state._label === false;
33259
- return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: { textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("textarea", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, rows: this.state._rows, placeholder: this.state._placeholder, spellcheck: "false" }, this.controller.onFacade, { onKeyUp: this.onKeyUp, style: {
33256
+ const hasExpertSlot = showExpertSlot(this.state._label);
33257
+ return (hAsync(Host, { class: { 'has-value': this.state._hasValue } }, hAsync("kol-input", { class: { textarea: true, 'hide-label': !!this.state._hideLabel, 'has-counter': !!this.state._hasCounter }, _alert: this.state._alert, _currentLength: this.state._currentLength, _disabled: this.state._disabled, _error: this.state._error, _hideError: this.state._hideError, _hasCounter: this.state._hasCounter, _hideLabel: this.state._hideLabel, _hint: this.state._hint, _id: this.state._id, _label: this.state._label, _maxLength: this.state._maxLength, _readOnly: this.state._readOnly, _required: this.state._required, _tooltipAlign: this._tooltipAlign, _touched: this.state._touched, onClick: () => { var _a; return (_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus(); } }, hAsync("span", { slot: "label" }, hasExpertSlot ? hAsync("slot", null) : this.state._label), hAsync("div", { slot: "input" }, hAsync("textarea", Object.assign({ ref: this.catchRef, title: "", accessKey: this.state._accessKey, "aria-describedby": ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, autoCapitalize: "off", autoCorrect: "off", disabled: this.state._disabled, id: this.state._id, maxlength: this.state._maxLength, name: this.state._name, readOnly: this.state._readOnly, required: this.state._required, rows: this.state._rows, placeholder: this.state._placeholder, spellcheck: "false" }, this.controller.onFacade, { onKeyUp: this.onKeyUp, style: {
33260
33258
  resize: this.state._resize,
33261
- }, value: this.state._value })), hAsync("kol-tooltip-wc", { "aria-hidden": "true", class: "input-tooltip", hidden: hasExpertSlot || !this.state._hideLabel, _align: this._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' })))));
33259
+ }, value: this.state._value }))))));
33262
33260
  }
33263
33261
  constructor(hostRef) {
33264
33262
  registerInstance(this, hostRef);
@@ -33304,7 +33302,7 @@ class KolTextarea {
33304
33302
  _hasValue: false,
33305
33303
  _hideError: false,
33306
33304
  _id: `id-${nonce()}`,
33307
- _label: false,
33305
+ _label: '',
33308
33306
  _resize: 'vertical',
33309
33307
  };
33310
33308
  this.controller = new TextareaController(this, 'textarea', this.host);
@@ -33428,7 +33426,7 @@ class KolTextarea {
33428
33426
  "_hideLabel": [4, "_hide-label"],
33429
33427
  "_hint": [1],
33430
33428
  "_id": [1],
33431
- "_label": [8],
33429
+ "_label": [1],
33432
33430
  "_maxLength": [2, "_max-length"],
33433
33431
  "_name": [1],
33434
33432
  "_on": [16],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/hydrate",
3
- "version": "1.7.0-rc.13",
3
+ "version": "1.7.0-rc.14",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": "https://github.com/public-ui/kolibri",
@@ -46,11 +46,11 @@
46
46
  "prepack": "npm run build"
47
47
  },
48
48
  "devDependencies": {
49
- "@public-ui/components": "1.7.0-rc.13",
49
+ "@public-ui/components": "1.7.0-rc.14",
50
50
  "rimraf": "3.0.2"
51
51
  },
52
52
  "peerDependencies": {
53
- "@public-ui/components": "1.7.0-rc.13"
53
+ "@public-ui/components": "1.7.0-rc.14"
54
54
  },
55
55
  "sideEffects": false,
56
56
  "type": "commonjs",