@knime/kds-components 0.26.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/index.css +151 -39
  2. package/dist/index.js +492 -277
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/accessories/Avatar/KdsAvatar.vue.d.ts.map +1 -1
  5. package/dist/src/accessories/Avatar/types.d.ts +4 -2
  6. package/dist/src/accessories/Avatar/types.d.ts.map +1 -1
  7. package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
  8. package/dist/src/forms/RadioButton/types.d.ts +5 -0
  9. package/dist/src/forms/RadioButton/types.d.ts.map +1 -1
  10. package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts +27 -0
  11. package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts.map +1 -0
  12. package/dist/src/layouts/Accordion/index.d.ts +3 -0
  13. package/dist/src/layouts/Accordion/index.d.ts.map +1 -0
  14. package/dist/src/layouts/Accordion/types.d.ts +34 -0
  15. package/dist/src/layouts/Accordion/types.d.ts.map +1 -0
  16. package/dist/src/layouts/Panel/KdsPanel.vue.d.ts +19 -0
  17. package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -0
  18. package/dist/src/layouts/Panel/index.d.ts +3 -0
  19. package/dist/src/layouts/Panel/index.d.ts.map +1 -0
  20. package/dist/src/layouts/Panel/types.d.ts +79 -0
  21. package/dist/src/layouts/Panel/types.d.ts.map +1 -0
  22. package/dist/src/layouts/index.d.ts +4 -4
  23. package/dist/src/layouts/index.d.ts.map +1 -1
  24. package/package.json +3 -3
  25. package/dist/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts +0 -10
  26. package/dist/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts.map +0 -1
  27. package/dist/src/layouts/PanelButtonBar/index.d.ts +0 -3
  28. package/dist/src/layouts/PanelButtonBar/index.d.ts.map +0 -1
  29. package/dist/src/layouts/PanelButtonBar/types.d.ts +0 -15
  30. package/dist/src/layouts/PanelButtonBar/types.d.ts.map +0 -1
  31. package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts +0 -8
  32. package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts.map +0 -1
  33. package/dist/src/layouts/PanelHeader/index.d.ts +0 -3
  34. package/dist/src/layouts/PanelHeader/index.d.ts.map +0 -1
  35. package/dist/src/layouts/PanelHeader/types.d.ts +0 -7
  36. package/dist/src/layouts/PanelHeader/types.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -10,8 +10,8 @@ import './index.css';const kdsAvatarSize = {
10
10
  const kdsAvatarSizes = Object.values(kdsAvatarSize);
11
11
 
12
12
  const _hoisted_1$$ = ["role", "title", "aria-hidden", "aria-label", "data-color"];
13
- const _hoisted_2$A = ["src"];
14
- const _hoisted_3$r = {
13
+ const _hoisted_2$C = ["src"];
14
+ const _hoisted_3$t = {
15
15
  key: 1,
16
16
  class: "kds-avatar-initials",
17
17
  "aria-hidden": "true"
@@ -40,6 +40,9 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
40
40
  "brown"
41
41
  ];
42
42
  const getAvatarColor = (initials) => {
43
+ if (initials === "") {
44
+ return "empty";
45
+ }
43
46
  const hash = initials.toUpperCase().split("").reduce((acc, char) => acc + (char.codePointAt(0) ?? 0), 0);
44
47
  return availableAvatarColors[hash % availableAvatarColors.length];
45
48
  };
@@ -58,7 +61,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
58
61
  const accessibleTitle = computed(() => props.title?.trim() ?? "");
59
62
  const hasTitle = computed(() => accessibleTitle.value.length > 0);
60
63
  const displayedInitials = computed(
61
- () => props.initials.trim().slice(0, 2).toUpperCase()
64
+ () => (props.initials ?? "").trim().slice(0, 2).toUpperCase()
62
65
  );
63
66
  const avatarColor = computed(() => getAvatarColor(displayedInitials.value));
64
67
  return (_ctx, _cache) => {
@@ -77,7 +80,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
77
80
  alt: "",
78
81
  "aria-hidden": "true",
79
82
  onError: onImageError
80
- }, null, 40, _hoisted_2$A)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
83
+ }, null, 40, _hoisted_2$C)) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
81
84
  createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
82
85
  ]))
83
86
  ], 10, _hoisted_1$$);
@@ -93,11 +96,11 @@ const _export_sfc = (sfc, props) => {
93
96
  return target;
94
97
  };
95
98
 
96
- const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-681eadc1"]]);
99
+ const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-9e1a5abe"]]);
97
100
 
98
101
  const _hoisted_1$_ = ["aria-label"];
99
- const _hoisted_2$z = { class: "avatars" };
100
- const _hoisted_3$q = {
102
+ const _hoisted_2$B = { class: "avatars" };
103
+ const _hoisted_3$s = {
101
104
  key: 0,
102
105
  class: "more-count",
103
106
  "aria-hidden": "true"
@@ -122,7 +125,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
122
125
  role: "group",
123
126
  "aria-label": ariaLabel.value
124
127
  }, [
125
- createElementVNode("div", _hoisted_2$z, [
128
+ createElementVNode("div", _hoisted_2$B, [
126
129
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
127
130
  return openBlock(), createBlock(KdsAvatar, {
128
131
  key: index,
@@ -136,7 +139,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
136
139
  }, null, 8, ["style", "size", "initials", "title", "src"]);
137
140
  }), 128))
138
141
  ]),
139
- __props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$q, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
142
+ __props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$s, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
140
143
  ], 8, _hoisted_1$_);
141
144
  };
142
145
  }
@@ -870,7 +873,7 @@ function useKdsIsTruncated(elementRef) {
870
873
  }
871
874
 
872
875
  const _hoisted_1$W = ["title", "aria-label"];
873
- const _hoisted_2$y = ["title"];
876
+ const _hoisted_2$A = ["title"];
874
877
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
875
878
  __name: "KdsLiveStatus",
876
879
  props: {
@@ -900,7 +903,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
900
903
  ref: labelEl,
901
904
  class: "label",
902
905
  title: unref(isTruncated) ? __props.label : void 0
903
- }, toDisplayString(__props.label), 9, _hoisted_2$y)) : createCommentVNode("", true)
906
+ }, toDisplayString(__props.label), 9, _hoisted_2$A)) : createCommentVNode("", true)
904
907
  ], 10, _hoisted_1$W);
905
908
  };
906
909
  }
@@ -964,9 +967,9 @@ const kdsLoadingSpinnerVariants = Object.values(
964
967
  );
965
968
 
966
969
  const _hoisted_1$U = ["role"];
967
- const _hoisted_2$x = { class: "header" };
968
- const _hoisted_3$p = { class: "headline" };
969
- const _hoisted_4$j = {
970
+ const _hoisted_2$z = { class: "header" };
971
+ const _hoisted_3$r = { class: "headline" };
972
+ const _hoisted_4$l = {
970
973
  key: 0,
971
974
  class: "body"
972
975
  };
@@ -1001,15 +1004,15 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
1001
1004
  class: normalizeClass(classes.value),
1002
1005
  role: role.value
1003
1006
  }, [
1004
- createElementVNode("div", _hoisted_2$x, [
1007
+ createElementVNode("div", _hoisted_2$z, [
1005
1008
  createVNode(KdsIcon, {
1006
1009
  class: "icon",
1007
1010
  name: iconName.value,
1008
1011
  size: "small"
1009
1012
  }, null, 8, ["name"]),
1010
- createElementVNode("div", _hoisted_3$p, toDisplayString(props.headline), 1)
1013
+ createElementVNode("div", _hoisted_3$r, toDisplayString(props.headline), 1)
1011
1014
  ]),
1012
- props.description ? (openBlock(), createElementBlock("div", _hoisted_4$j, toDisplayString(props.description), 1)) : createCommentVNode("", true)
1015
+ props.description ? (openBlock(), createElementBlock("div", _hoisted_4$l, toDisplayString(props.description), 1)) : createCommentVNode("", true)
1013
1016
  ], 10, _hoisted_1$U);
1014
1017
  };
1015
1018
  }
@@ -1026,16 +1029,16 @@ const kdsInlineMessageVariant = {
1026
1029
  const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
1027
1030
 
1028
1031
  const _hoisted_1$T = { class: "donut-container" };
1029
- const _hoisted_2$w = ["height", "width", "viewBox"];
1030
- const _hoisted_3$o = ["r", "stroke-width"];
1031
- const _hoisted_4$i = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1032
- const _hoisted_5$9 = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1033
- const _hoisted_6$8 = {
1032
+ const _hoisted_2$y = ["height", "width", "viewBox"];
1033
+ const _hoisted_3$q = ["r", "stroke-width"];
1034
+ const _hoisted_4$k = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1035
+ const _hoisted_5$b = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1036
+ const _hoisted_6$9 = {
1034
1037
  key: 0,
1035
1038
  class: "donut-text"
1036
1039
  };
1037
- const _hoisted_7$3 = { class: "title" };
1038
- const _hoisted_8$2 = {
1040
+ const _hoisted_7$4 = { class: "title" };
1041
+ const _hoisted_8$3 = {
1039
1042
  key: 0,
1040
1043
  class: "sub-text"
1041
1044
  };
@@ -1104,7 +1107,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1104
1107
  r: r.value,
1105
1108
  "stroke-width": backgroundStrokeWidth.value,
1106
1109
  fill: "transparent"
1107
- }, null, 8, _hoisted_3$o),
1110
+ }, null, 8, _hoisted_3$q),
1108
1111
  __props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
1109
1112
  key: 0,
1110
1113
  class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
@@ -1116,7 +1119,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1116
1119
  "stroke-dashoffset": secondaryStrokeDashOffset.value,
1117
1120
  fill: "transparent",
1118
1121
  transform: transformWedge.value
1119
- }, null, 10, _hoisted_4$i)) : createCommentVNode("", true),
1122
+ }, null, 10, _hoisted_4$k)) : createCommentVNode("", true),
1120
1123
  !disabled.value ? (openBlock(), createElementBlock("circle", {
1121
1124
  key: 1,
1122
1125
  class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
@@ -1128,11 +1131,11 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1128
1131
  "stroke-dashoffset": strokeDashOffset.value,
1129
1132
  fill: "transparent",
1130
1133
  transform: transformWedge.value
1131
- }, null, 10, _hoisted_5$9)) : createCommentVNode("", true)
1132
- ], 8, _hoisted_2$w)),
1133
- __props.title ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
1134
- createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
1135
- __props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$2, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
1134
+ }, null, 10, _hoisted_5$b)) : createCommentVNode("", true)
1135
+ ], 8, _hoisted_2$y)),
1136
+ __props.title ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
1137
+ createElementVNode("div", _hoisted_7$4, toDisplayString(__props.title), 1),
1138
+ __props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
1136
1139
  ])) : createCommentVNode("", true)
1137
1140
  ]);
1138
1141
  };
@@ -1526,7 +1529,7 @@ function prettyBytes(number, options) {
1526
1529
  }
1527
1530
 
1528
1531
  const _hoisted_1$Q = { class: "label" };
1529
- const _hoisted_2$v = {
1532
+ const _hoisted_2$x = {
1530
1533
  key: 1,
1531
1534
  class: "file-size"
1532
1535
  };
@@ -1626,7 +1629,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
1626
1629
  name: "external-link",
1627
1630
  size: "xsmall"
1628
1631
  })) : createCommentVNode("", true),
1629
- normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$v, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1632
+ normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$x, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1630
1633
  ]),
1631
1634
  _: 1
1632
1635
  }, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
@@ -1673,7 +1676,7 @@ const kdsToggleButtonVariant = {
1673
1676
  const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
1674
1677
 
1675
1678
  const _hoisted_1$P = ["data-visible"];
1676
- const _hoisted_2$u = ["data-visible"];
1679
+ const _hoisted_2$w = ["data-visible"];
1677
1680
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1678
1681
  __name: "KdsProgressButton",
1679
1682
  props: /* @__PURE__ */ mergeModels({
@@ -1744,7 +1747,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1744
1747
  size: iconSize.value,
1745
1748
  variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
1746
1749
  }, null, 8, ["size", "variant"])
1747
- ], 8, _hoisted_2$u)
1750
+ ], 8, _hoisted_2$w)
1748
1751
  ], 2)
1749
1752
  ]),
1750
1753
  _: 1
@@ -2024,23 +2027,23 @@ const kdsListItemAccessorySize = {
2024
2027
  };
2025
2028
 
2026
2029
  const _hoisted_1$O = ["id", "role", "aria-selected", "aria-disabled"];
2027
- const _hoisted_2$t = {
2030
+ const _hoisted_2$v = {
2028
2031
  key: 0,
2029
2032
  class: "accessory"
2030
2033
  };
2031
- const _hoisted_3$n = { class: "content" };
2032
- const _hoisted_4$h = ["title"];
2033
- const _hoisted_5$8 = {
2034
+ const _hoisted_3$p = { class: "content" };
2035
+ const _hoisted_4$j = ["title"];
2036
+ const _hoisted_5$a = {
2034
2037
  key: 0,
2035
2038
  class: "prefix"
2036
2039
  };
2037
- const _hoisted_6$7 = ["title"];
2038
- const _hoisted_7$2 = { class: "trailing-item" };
2039
- const _hoisted_8$1 = {
2040
+ const _hoisted_6$8 = ["title"];
2041
+ const _hoisted_7$3 = { class: "trailing-item" };
2042
+ const _hoisted_8$2 = {
2040
2043
  key: 0,
2041
2044
  class: "shortcut"
2042
2045
  };
2043
- const _hoisted_9$1 = {
2046
+ const _hoisted_9$2 = {
2044
2047
  key: 3,
2045
2048
  class: "trailing-item-reserve-space"
2046
2049
  };
@@ -2102,35 +2105,35 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
2102
2105
  ]),
2103
2106
  onClick
2104
2107
  }, [
2105
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$t, [
2108
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$v, [
2106
2109
  createVNode(_sfc_main$1g, {
2107
2110
  accessory: props.accessory,
2108
2111
  size: accessorySize.value,
2109
2112
  disabled: __props.disabled
2110
2113
  }, null, 8, ["accessory", "size", "disabled"])
2111
2114
  ])) : createCommentVNode("", true),
2112
- createElementVNode("span", _hoisted_3$n, [
2115
+ createElementVNode("span", _hoisted_3$p, [
2113
2116
  createElementVNode("span", {
2114
2117
  ref_key: "labelEl",
2115
2118
  ref: labelEl,
2116
2119
  class: "label",
2117
2120
  title: unref(isLabelTruncated) ? props.text : void 0
2118
2121
  }, [
2119
- __props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$8, "(Missing) ")) : createCommentVNode("", true),
2122
+ __props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$a, "(Missing) ")) : createCommentVNode("", true),
2120
2123
  createElementVNode("span", {
2121
2124
  class: normalizeClass({ special: __props.special })
2122
2125
  }, toDisplayString(props.text), 3)
2123
- ], 8, _hoisted_4$h),
2126
+ ], 8, _hoisted_4$j),
2124
2127
  props.subText ? (openBlock(), createElementBlock("span", {
2125
2128
  key: 0,
2126
2129
  ref_key: "subtextEl",
2127
2130
  ref: subtextEl,
2128
2131
  class: "subtext",
2129
2132
  title: unref(isSubtextTruncated) ? props.subText : void 0
2130
- }, toDisplayString(props.subText), 9, _hoisted_6$7)) : createCommentVNode("", true)
2133
+ }, toDisplayString(props.subText), 9, _hoisted_6$8)) : createCommentVNode("", true)
2131
2134
  ]),
2132
- createElementVNode("span", _hoisted_7$2, [
2133
- props.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_8$1, toDisplayString(props.shortcut), 1)) : props.badge ? (openBlock(), createBlock(KdsBadge, {
2135
+ createElementVNode("span", _hoisted_7$3, [
2136
+ props.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_8$2, toDisplayString(props.shortcut), 1)) : props.badge ? (openBlock(), createBlock(KdsBadge, {
2134
2137
  key: 1,
2135
2138
  size: badgeSize.value,
2136
2139
  label: props.badge.label,
@@ -2141,7 +2144,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
2141
2144
  size: "small",
2142
2145
  name: props.trailingIcon
2143
2146
  }, null, 8, ["name"])) : createCommentVNode("", true),
2144
- !props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$1)) : createCommentVNode("", true)
2147
+ !props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
2145
2148
  ])
2146
2149
  ], 10, _hoisted_1$O);
2147
2150
  };
@@ -2151,11 +2154,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
2151
2154
  const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-9625480f"]]);
2152
2155
 
2153
2156
  const _hoisted_1$N = { class: "kds-list-item-section-title" };
2154
- const _hoisted_2$s = {
2157
+ const _hoisted_2$u = {
2155
2158
  key: 0,
2156
2159
  class: "icon"
2157
2160
  };
2158
- const _hoisted_3$m = ["title"];
2161
+ const _hoisted_3$o = ["title"];
2159
2162
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2160
2163
  __name: "ListItemSectionTitle",
2161
2164
  props: {
@@ -2168,7 +2171,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2168
2171
  const { isTruncated } = useKdsIsTruncated(labelEl);
2169
2172
  return (_ctx, _cache) => {
2170
2173
  return openBlock(), createElementBlock("div", _hoisted_1$N, [
2171
- props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$s, [
2174
+ props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$u, [
2172
2175
  createVNode(KdsIcon, {
2173
2176
  name: props.leadingIcon,
2174
2177
  size: "small"
@@ -2179,7 +2182,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2179
2182
  ref: labelEl,
2180
2183
  class: "label",
2181
2184
  title: unref(isTruncated) ? props.label : void 0
2182
- }, toDisplayString(props.label), 9, _hoisted_3$m)
2185
+ }, toDisplayString(props.label), 9, _hoisted_3$o)
2183
2186
  ]);
2184
2187
  };
2185
2188
  }
@@ -2325,7 +2328,7 @@ const kdsPopoverType = {
2325
2328
  AUTO: "auto"};
2326
2329
 
2327
2330
  const _hoisted_1$L = ["id", "popover", "role"];
2328
- const _hoisted_2$r = {
2331
+ const _hoisted_2$t = {
2329
2332
  key: 0,
2330
2333
  class: "kds-popover-default-content"
2331
2334
  };
@@ -2387,7 +2390,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
2387
2390
  onToggle
2388
2391
  }, [
2389
2392
  renderSlot(_ctx.$slots, "default", {}, () => [
2390
- props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2393
+ props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2391
2394
  ], true)
2392
2395
  ], 46, _hoisted_1$L);
2393
2396
  };
@@ -2588,12 +2591,12 @@ const kdsButtonVariant = {
2588
2591
  const kdsButtonVariants = Object.values(kdsButtonVariant);
2589
2592
 
2590
2593
  const _hoisted_1$K = ["aria-disabled"];
2591
- const _hoisted_2$q = { class: "kds-empty-state-headline" };
2592
- const _hoisted_3$l = {
2594
+ const _hoisted_2$s = { class: "kds-empty-state-headline" };
2595
+ const _hoisted_3$n = {
2593
2596
  key: 1,
2594
2597
  class: "kds-empty-state-description"
2595
2598
  };
2596
- const _hoisted_4$g = {
2599
+ const _hoisted_4$i = {
2597
2600
  key: 2,
2598
2601
  class: "kds-empty-state-action"
2599
2602
  };
@@ -2635,9 +2638,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2635
2638
  variant: "onSurface",
2636
2639
  "aria-hidden": "true"
2637
2640
  })) : createCommentVNode("", true),
2638
- createElementVNode("p", _hoisted_2$q, toDisplayString(props.headline), 1),
2639
- props.description ? (openBlock(), createElementBlock("p", _hoisted_3$l, toDisplayString(props.description), 1)) : createCommentVNode("", true),
2640
- props.button ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
2641
+ createElementVNode("p", _hoisted_2$s, toDisplayString(props.headline), 1),
2642
+ props.description ? (openBlock(), createElementBlock("p", _hoisted_3$n, toDisplayString(props.description), 1)) : createCommentVNode("", true),
2643
+ props.button ? (openBlock(), createElementBlock("div", _hoisted_4$i, [
2641
2644
  (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
2642
2645
  disabled: props.button?.disabled || __props.disabled,
2643
2646
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
@@ -2941,11 +2944,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2941
2944
  });
2942
2945
 
2943
2946
  const _hoisted_1$I = { class: "kds-preview-list" };
2944
- const _hoisted_2$p = { class: "kds-preview-list-title-row" };
2945
- const _hoisted_3$k = { class: "kds-preview-list-content" };
2946
- const _hoisted_4$f = { class: "kds-preview-list-headline" };
2947
- const _hoisted_5$7 = ["aria-label"];
2948
- const _hoisted_6$6 = { class: "kds-preview-list-show-hide" };
2947
+ const _hoisted_2$r = { class: "kds-preview-list-title-row" };
2948
+ const _hoisted_3$m = { class: "kds-preview-list-content" };
2949
+ const _hoisted_4$h = { class: "kds-preview-list-headline" };
2950
+ const _hoisted_5$9 = ["aria-label"];
2951
+ const _hoisted_6$7 = { class: "kds-preview-list-show-hide" };
2949
2952
  const DEFAULT_MAX_VISIBLE_ITEMS = 6;
2950
2953
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2951
2954
  __name: "KdsPreviewList",
@@ -2982,7 +2985,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2982
2985
  );
2983
2986
  return (_ctx, _cache) => {
2984
2987
  return openBlock(), createElementBlock("section", _hoisted_1$I, [
2985
- createElementVNode("header", _hoisted_2$p, [
2988
+ createElementVNode("header", _hoisted_2$r, [
2986
2989
  __props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
2987
2990
  key: 0,
2988
2991
  size: "small",
@@ -2992,8 +2995,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2992
2995
  name: __props.leadingIcon,
2993
2996
  size: "small"
2994
2997
  }, null, 8, ["name"])) : createCommentVNode("", true),
2995
- createElementVNode("div", _hoisted_3$k, [
2996
- createElementVNode("span", _hoisted_4$f, toDisplayString(props.headline), 1)
2998
+ createElementVNode("div", _hoisted_3$m, [
2999
+ createElementVNode("span", _hoisted_4$h, toDisplayString(props.headline), 1)
2997
3000
  ]),
2998
3001
  __props.trailingButton ? (openBlock(), createBlock(_sfc_main$1l, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
2999
3002
  ]),
@@ -3028,11 +3031,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3028
3031
  }, ["stop"]))
3029
3032
  }, null, 8, ["id", "text", "accessory"]);
3030
3033
  }), 128))
3031
- ], 8, _hoisted_5$7)) : createCommentVNode("", true)
3034
+ ], 8, _hoisted_5$9)) : createCommentVNode("", true)
3032
3035
  ], 512), [
3033
3036
  [vShow, expanded.value]
3034
3037
  ]),
3035
- createElementVNode("footer", _hoisted_6$6, [
3038
+ createElementVNode("footer", _hoisted_6$7, [
3036
3039
  createVNode(_sfc_main$1l, {
3037
3040
  class: "kds-preview-list-toggle",
3038
3041
  label: expanded.value ? "Hide all" : "Show all",
@@ -3052,7 +3055,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3052
3055
  const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a11103f6"]]);
3053
3056
 
3054
3057
  const _hoisted_1$H = { class: "kds-label-wrapper" };
3055
- const _hoisted_2$o = ["id", "for", "title"];
3058
+ const _hoisted_2$q = ["id", "for", "title"];
3056
3059
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3057
3060
  __name: "KdsLabel",
3058
3061
  props: {
@@ -3078,7 +3081,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3078
3081
  for: props.for,
3079
3082
  class: "label",
3080
3083
  title: unref(isTruncated) ? props.label : void 0
3081
- }, toDisplayString(props.label), 9, _hoisted_2$o),
3084
+ }, toDisplayString(props.label), 9, _hoisted_2$q),
3082
3085
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
3083
3086
  key: 0,
3084
3087
  content: props.description,
@@ -3092,7 +3095,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3092
3095
  const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-efe3313e"]]);
3093
3096
 
3094
3097
  const _hoisted_1$G = ["id"];
3095
- const _hoisted_2$n = { class: "subtext-text" };
3098
+ const _hoisted_2$p = { class: "subtext-text" };
3096
3099
  const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3097
3100
  __name: "KdsSubText",
3098
3101
  props: {
@@ -3124,7 +3127,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3124
3127
  variant: "onSurface",
3125
3128
  "aria-hidden": "true"
3126
3129
  })) : createCommentVNode("", true),
3127
- createElementVNode("span", _hoisted_2$n, toDisplayString(props.subText), 1)
3130
+ createElementVNode("span", _hoisted_2$p, toDisplayString(props.subText), 1)
3128
3131
  ], 10, _hoisted_1$G)) : createCommentVNode("", true);
3129
3132
  };
3130
3133
  }
@@ -3133,14 +3136,14 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3133
3136
  const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2e6ba10c"]]);
3134
3137
 
3135
3138
  const _hoisted_1$F = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
3136
- const _hoisted_2$m = { class: "control" };
3137
- const _hoisted_3$j = {
3139
+ const _hoisted_2$o = { class: "control" };
3140
+ const _hoisted_3$l = {
3138
3141
  key: 0,
3139
3142
  class: "content"
3140
3143
  };
3141
- const _hoisted_4$e = { class: "label" };
3142
- const _hoisted_5$6 = ["id"];
3143
- const _hoisted_6$5 = {
3144
+ const _hoisted_4$g = { class: "label" };
3145
+ const _hoisted_5$8 = ["id"];
3146
+ const _hoisted_6$6 = {
3144
3147
  key: 0,
3145
3148
  class: "subtext-wrapper"
3146
3149
  };
@@ -3217,7 +3220,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3217
3220
  role: "checkbox",
3218
3221
  onClick: handleClick
3219
3222
  }, [
3220
- createElementVNode("div", _hoisted_2$m, [
3223
+ createElementVNode("div", _hoisted_2$o, [
3221
3224
  icon.value ? (openBlock(), createBlock(KdsIcon, {
3222
3225
  key: 0,
3223
3226
  name: icon.value,
@@ -3225,16 +3228,16 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3225
3228
  size: "xsmall"
3226
3229
  }, null, 8, ["name"])) : createCommentVNode("", true)
3227
3230
  ]),
3228
- props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
3229
- createElementVNode("div", _hoisted_4$e, toDisplayString(props.label), 1),
3231
+ props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
3232
+ createElementVNode("div", _hoisted_4$g, toDisplayString(props.label), 1),
3230
3233
  props.helperText ? (openBlock(), createElementBlock("div", {
3231
3234
  key: 0,
3232
3235
  id: unref(helperId),
3233
3236
  class: "helper-text"
3234
- }, toDisplayString(props.helperText), 9, _hoisted_5$6)) : createCommentVNode("", true)
3237
+ }, toDisplayString(props.helperText), 9, _hoisted_5$8)) : createCommentVNode("", true)
3235
3238
  ])) : createCommentVNode("", true)
3236
3239
  ], 10, _hoisted_1$F),
3237
- props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
3240
+ props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
3238
3241
  createVNode(KdsSubText, {
3239
3242
  id: unref(descriptionId),
3240
3243
  "sub-text": props.subText,
@@ -3280,9 +3283,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3280
3283
  });
3281
3284
 
3282
3285
  const _hoisted_1$E = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
3283
- const _hoisted_2$l = ["id"];
3284
- const _hoisted_3$i = ["title"];
3285
- const _hoisted_4$d = { class: "kds-fieldset-content" };
3286
+ const _hoisted_2$n = ["id"];
3287
+ const _hoisted_3$k = ["title"];
3288
+ const _hoisted_4$f = { class: "kds-fieldset-content" };
3286
3289
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3287
3290
  __name: "BaseFieldsetWrapper",
3288
3291
  props: {
@@ -3329,14 +3332,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3329
3332
  ref: legendTextEl,
3330
3333
  class: "legend-text",
3331
3334
  title: unref(isTruncated) ? props.label : void 0
3332
- }, toDisplayString(props.label), 9, _hoisted_3$i),
3335
+ }, toDisplayString(props.label), 9, _hoisted_3$k),
3333
3336
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
3334
3337
  key: 0,
3335
3338
  content: props.description,
3336
3339
  hidden: !isHovered.value
3337
3340
  }, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
3338
- ], 8, _hoisted_2$l)) : createCommentVNode("", true),
3339
- createElementVNode("div", _hoisted_4$d, [
3341
+ ], 8, _hoisted_2$n)) : createCommentVNode("", true),
3342
+ createElementVNode("div", _hoisted_4$f, [
3340
3343
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3341
3344
  ]),
3342
3345
  createVNode(KdsSubText, {
@@ -3449,17 +3452,17 @@ const kdsCheckboxValue = {
3449
3452
  const kdsCheckboxValues = Object.values(kdsCheckboxValue);
3450
3453
 
3451
3454
  const _hoisted_1$D = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
3452
- const _hoisted_2$k = { class: "control" };
3453
- const _hoisted_3$h = {
3455
+ const _hoisted_2$m = { class: "control" };
3456
+ const _hoisted_3$j = {
3454
3457
  key: 0,
3455
3458
  class: "dot",
3456
3459
  viewBox: "0 0 2 2",
3457
3460
  "aria-hidden": "true",
3458
3461
  focusable: "false"
3459
3462
  };
3460
- const _hoisted_4$c = { class: "content" };
3461
- const _hoisted_5$5 = { class: "label" };
3462
- const _hoisted_6$4 = ["id"];
3463
+ const _hoisted_4$e = { class: "content" };
3464
+ const _hoisted_5$7 = { class: "label" };
3465
+ const _hoisted_6$5 = ["id"];
3463
3466
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3464
3467
  __name: "KdsRadioButton",
3465
3468
  props: /* @__PURE__ */ mergeModels({
@@ -3500,8 +3503,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3500
3503
  type: "button",
3501
3504
  onClick: handleClick
3502
3505
  }, [
3503
- createElementVNode("div", _hoisted_2$k, [
3504
- modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$h, [..._cache[0] || (_cache[0] = [
3506
+ createElementVNode("div", _hoisted_2$m, [
3507
+ modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$j, [..._cache[0] || (_cache[0] = [
3505
3508
  createElementVNode("circle", {
3506
3509
  cx: "1",
3507
3510
  cy: "1",
@@ -3509,13 +3512,13 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3509
3512
  }, null, -1)
3510
3513
  ])])) : createCommentVNode("", true)
3511
3514
  ]),
3512
- createElementVNode("div", _hoisted_4$c, [
3513
- createElementVNode("div", _hoisted_5$5, toDisplayString(props.text), 1),
3515
+ createElementVNode("div", _hoisted_4$e, [
3516
+ createElementVNode("div", _hoisted_5$7, toDisplayString(props.text), 1),
3514
3517
  props.helperText ? (openBlock(), createElementBlock("div", {
3515
3518
  key: 0,
3516
3519
  id: `${unref(id)}-helper`,
3517
3520
  class: "helper-text"
3518
- }, toDisplayString(props.helperText), 9, _hoisted_6$4)) : createCommentVNode("", true)
3521
+ }, toDisplayString(props.helperText), 9, _hoisted_6$5)) : createCommentVNode("", true)
3519
3522
  ])
3520
3523
  ], 10, _hoisted_1$D);
3521
3524
  };
@@ -3833,6 +3836,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3833
3836
  props: /* @__PURE__ */ mergeModels({
3834
3837
  id: {},
3835
3838
  label: {},
3839
+ ariaLabel: {},
3836
3840
  possibleValues: {},
3837
3841
  size: { default: "medium" },
3838
3842
  variant: { default: "default" },
@@ -3875,6 +3879,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3875
3879
  ref_key: "fieldsetWrapper",
3876
3880
  ref: fieldsetWrapper,
3877
3881
  label: props.label,
3882
+ ariaLabel: props.ariaLabel,
3878
3883
  role: "radiogroup",
3879
3884
  class: normalizeClass({
3880
3885
  "value-switch": true,
@@ -3910,12 +3915,12 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3910
3915
  ], 2)
3911
3916
  ]),
3912
3917
  _: 1
3913
- }, 8, ["id", "label", "class", "aria-invalid", "sub-text", "preserve-sub-text-space", "error"]);
3918
+ }, 8, ["id", "label", "ariaLabel", "class", "aria-invalid", "sub-text", "preserve-sub-text-space", "error"]);
3914
3919
  };
3915
3920
  }
3916
3921
  });
3917
3922
 
3918
- const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-640271e0"]]);
3923
+ const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f6d51795"]]);
3919
3924
 
3920
3925
  const kdsRadioButtonGroupAlignment = {
3921
3926
  VERTICAL: "vertical",
@@ -4671,17 +4676,17 @@ const _hoisted_1$B = {
4671
4676
  key: 0,
4672
4677
  class: "icon-wrapper leading"
4673
4678
  };
4674
- const _hoisted_2$j = {
4679
+ const _hoisted_2$l = {
4675
4680
  key: 1,
4676
4681
  class: "leading-slot"
4677
4682
  };
4678
- const _hoisted_3$g = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "pattern", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant", "aria-haspopup", "aria-controls", "aria-expanded", "aria-autocomplete"];
4679
- const _hoisted_4$b = ["aria-disabled"];
4680
- const _hoisted_5$4 = {
4683
+ const _hoisted_3$i = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "pattern", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant", "aria-haspopup", "aria-controls", "aria-expanded", "aria-autocomplete"];
4684
+ const _hoisted_4$d = ["aria-disabled"];
4685
+ const _hoisted_5$6 = {
4681
4686
  key: 4,
4682
4687
  class: "trailing-slot"
4683
4688
  };
4684
- const _hoisted_6$3 = {
4689
+ const _hoisted_6$4 = {
4685
4690
  key: 5,
4686
4691
  class: "icon-wrapper trailing"
4687
4692
  };
@@ -4842,7 +4847,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4842
4847
  name: props.leadingIcon
4843
4848
  }, null, 8, ["name"])) : createCommentVNode("", true)
4844
4849
  ])) : createCommentVNode("", true),
4845
- _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$j, [
4850
+ _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
4846
4851
  renderSlot(_ctx.$slots, "leading", {}, void 0, true)
4847
4852
  ])) : createCommentVNode("", true),
4848
4853
  createElementVNode("input", {
@@ -4887,7 +4892,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4887
4892
  onCut: handleInputCut,
4888
4893
  onDrop: handleInputDrop,
4889
4894
  onDragend: handleInputDragEnd
4890
- }, null, 42, _hoisted_3$g),
4895
+ }, null, 42, _hoisted_3$i),
4891
4896
  props.unit ? (openBlock(), createElementBlock("span", {
4892
4897
  key: 2,
4893
4898
  class: normalizeClass({
@@ -4896,7 +4901,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4896
4901
  disabled: __props.disabled
4897
4902
  }),
4898
4903
  "aria-disabled": __props.disabled || void 0
4899
- }, toDisplayString(props.unit), 11, _hoisted_4$b)) : createCommentVNode("", true),
4904
+ }, toDisplayString(props.unit), 11, _hoisted_4$d)) : createCommentVNode("", true),
4900
4905
  __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1l, {
4901
4906
  key: 3,
4902
4907
  class: "clear-button",
@@ -4907,10 +4912,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4907
4912
  title: "Clear",
4908
4913
  onClick: withModifiers(clearAndFocusInput, ["stop"])
4909
4914
  })) : createCommentVNode("", true),
4910
- _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
4915
+ _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
4911
4916
  renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
4912
4917
  ])) : createCommentVNode("", true),
4913
- props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
4918
+ props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
4914
4919
  createVNode(KdsIcon, {
4915
4920
  name: props.trailingIcon
4916
4921
  }, null, 8, ["name"])
@@ -5723,8 +5728,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5723
5728
  const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f4be2bd4"]]);
5724
5729
 
5725
5730
  const _hoisted_1$z = { class: "kds-color-picker" };
5726
- const _hoisted_2$i = ["aria-valuetext"];
5727
- const _hoisted_3$f = { class: "value-inputs" };
5731
+ const _hoisted_2$k = ["aria-valuetext"];
5732
+ const _hoisted_3$h = { class: "value-inputs" };
5728
5733
  const DEFAULT_HUE_DEG = 270;
5729
5734
  const DEFAULT_SATURATION = 0.8;
5730
5735
  const DEFAULT_VALUE = 0.9;
@@ -5914,7 +5919,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5914
5919
  class: "handle",
5915
5920
  style: normalizeStyle(colorspaceHandleStyle.value)
5916
5921
  }, null, 4)
5917
- ], 44, _hoisted_2$i),
5922
+ ], 44, _hoisted_2$k),
5918
5923
  createVNode(ColorPickerSlider, {
5919
5924
  modelValue: hue.value,
5920
5925
  "onUpdate:modelValue": [
@@ -5949,7 +5954,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5949
5954
  step: KEYBOARD_STEP,
5950
5955
  "large-step": KEYBOARD_LARGE_STEP
5951
5956
  }, null, 8, ["modelValue", "value-now", "value-text"]),
5952
- createElementVNode("div", _hoisted_3$f, [
5957
+ createElementVNode("div", _hoisted_3$h, [
5953
5958
  createVNode(KdsTextInput, {
5954
5959
  "model-value": hexInputValue.value,
5955
5960
  ariaLabel: "Color hex value",
@@ -10265,9 +10270,9 @@ const _hoisted_1$y = {
10265
10270
  role: "row",
10266
10271
  class: "kds-date-picker-header-row"
10267
10272
  };
10268
- const _hoisted_2$h = ["aria-label"];
10269
- const _hoisted_3$e = { class: "kds-date-picker-day-grid" };
10270
- const _hoisted_4$a = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
10273
+ const _hoisted_2$j = ["aria-label"];
10274
+ const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
10275
+ const _hoisted_4$c = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
10271
10276
  const REFERENCE_YEAR$2 = 2024;
10272
10277
  const DAYS_PER_WEEK = 7;
10273
10278
  const TOTAL_CELLS = 42;
@@ -10573,10 +10578,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
10573
10578
  role: "columnheader",
10574
10579
  "aria-label": unref(DAY_FULL_LABELS)[i],
10575
10580
  class: "kds-date-picker-weekday"
10576
- }, toDisplayString(day), 9, _hoisted_2$h);
10581
+ }, toDisplayString(day), 9, _hoisted_2$j);
10577
10582
  }), 128))
10578
10583
  ]),
10579
- createElementVNode("div", _hoisted_3$e, [
10584
+ createElementVNode("div", _hoisted_3$g, [
10580
10585
  (openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
10581
10586
  return openBlock(), createElementBlock("div", {
10582
10587
  key: wi,
@@ -10605,7 +10610,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
10605
10610
  onClick: ($event) => selectDate(day),
10606
10611
  onKeydown: onDayKeydown,
10607
10612
  onFocus: ($event) => onDayFocus(day)
10608
- }, toDisplayString(day.day), 43, _hoisted_4$a);
10613
+ }, toDisplayString(day.day), 43, _hoisted_4$c);
10609
10614
  }), 128))
10610
10615
  ]);
10611
10616
  }), 128))
@@ -10995,15 +11000,15 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
10995
11000
  const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-270d55b9"]]);
10996
11001
 
10997
11002
  const _hoisted_1$v = { class: "kds-date-picker" };
10998
- const _hoisted_2$g = { class: "kds-date-picker-header" };
10999
- const _hoisted_3$d = { class: "kds-date-picker-nav-block" };
11000
- const _hoisted_4$9 = {
11003
+ const _hoisted_2$i = { class: "kds-date-picker-header" };
11004
+ const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
11005
+ const _hoisted_4$b = {
11001
11006
  key: 1,
11002
11007
  class: "kds-date-picker-header-static-label",
11003
11008
  "aria-live": "polite"
11004
11009
  };
11005
- const _hoisted_5$3 = { class: "kds-date-picker-nav-block" };
11006
- const _hoisted_6$2 = { class: "kds-date-picker-body" };
11010
+ const _hoisted_5$5 = { class: "kds-date-picker-nav-block" };
11011
+ const _hoisted_6$3 = { class: "kds-date-picker-body" };
11007
11012
  const MONTHS_PER_YEAR = 12;
11008
11013
  const YEAR_PAGE_SIZE = 15;
11009
11014
  const REFERENCE_YEAR = 2024;
@@ -11204,8 +11209,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11204
11209
  __expose({ focus });
11205
11210
  return (_ctx, _cache) => {
11206
11211
  return openBlock(), createElementBlock("div", _hoisted_1$v, [
11207
- createElementVNode("div", _hoisted_2$g, [
11208
- createElementVNode("div", _hoisted_3$d, [
11212
+ createElementVNode("div", _hoisted_2$i, [
11213
+ createElementVNode("div", _hoisted_3$f, [
11209
11214
  view.value === "day" ? (openBlock(), createBlock(_sfc_main$1l, {
11210
11215
  key: 0,
11211
11216
  variant: "transparent",
@@ -11231,8 +11236,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11231
11236
  size: "small",
11232
11237
  label: headerLabel.value,
11233
11238
  onClick: onHeaderLabelClick
11234
- }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(headerLabel.value), 1)),
11235
- createElementVNode("div", _hoisted_5$3, [
11239
+ }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$b, toDisplayString(headerLabel.value), 1)),
11240
+ createElementVNode("div", _hoisted_5$5, [
11236
11241
  createVNode(_sfc_main$1l, {
11237
11242
  variant: "transparent",
11238
11243
  size: "small",
@@ -11252,7 +11257,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
11252
11257
  }, null, 8, ["disabled"])) : createCommentVNode("", true)
11253
11258
  ])
11254
11259
  ]),
11255
- createElementVNode("div", _hoisted_6$2, [
11260
+ createElementVNode("div", _hoisted_6$3, [
11256
11261
  view.value === "day" ? (openBlock(), createBlock(DatePickerDayGrid, {
11257
11262
  key: 0,
11258
11263
  ref_key: "dayGridRef",
@@ -12239,18 +12244,18 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
12239
12244
  const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8e5a54cf"]]);
12240
12245
 
12241
12246
  const _hoisted_1$s = { class: "kds-time-picker" };
12242
- const _hoisted_2$f = { class: "kds-time-picker-selected-time" };
12243
- const _hoisted_3$c = { class: "kds-time-picker-fields" };
12244
- const _hoisted_4$8 = { class: "kds-time-picker-fields" };
12245
- const _hoisted_5$2 = {
12247
+ const _hoisted_2$h = { class: "kds-time-picker-selected-time" };
12248
+ const _hoisted_3$e = { class: "kds-time-picker-fields" };
12249
+ const _hoisted_4$a = { class: "kds-time-picker-fields" };
12250
+ const _hoisted_5$4 = {
12246
12251
  key: 0,
12247
12252
  class: "kds-time-picker-fields"
12248
12253
  };
12249
- const _hoisted_6$1 = {
12254
+ const _hoisted_6$2 = {
12250
12255
  key: 1,
12251
12256
  class: "kds-time-picker-actions"
12252
12257
  };
12253
- const _hoisted_7$1 = {
12258
+ const _hoisted_7$2 = {
12254
12259
  key: 2,
12255
12260
  class: "kds-time-picker-actions"
12256
12261
  };
@@ -12360,8 +12365,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
12360
12365
  __expose({ focus });
12361
12366
  return (_ctx, _cache) => {
12362
12367
  return openBlock(), createElementBlock("div", _hoisted_1$s, [
12363
- createElementVNode("div", _hoisted_2$f, toDisplayString(selectedTimeLabel.value), 1),
12364
- createElementVNode("div", _hoisted_3$c, [
12368
+ createElementVNode("div", _hoisted_2$h, toDisplayString(selectedTimeLabel.value), 1),
12369
+ createElementVNode("div", _hoisted_3$e, [
12365
12370
  createVNode(_sfc_main$T, {
12366
12371
  ref: "hourInput",
12367
12372
  modelValue: hour.value,
@@ -12387,7 +12392,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
12387
12392
  class: "kds-time-picker-divider"
12388
12393
  })) : createCommentVNode("", true),
12389
12394
  showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12390
- createElementVNode("div", _hoisted_4$8, [
12395
+ createElementVNode("div", _hoisted_4$a, [
12391
12396
  createVNode(_sfc_main$T, {
12392
12397
  ref: "secondInput",
12393
12398
  modelValue: second.value,
@@ -12407,7 +12412,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
12407
12412
  onClick: removeSeconds
12408
12413
  })
12409
12414
  ]),
12410
- showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
12415
+ showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
12411
12416
  createVNode(_sfc_main$T, {
12412
12417
  ref: "millisecondInput",
12413
12418
  modelValue: millisecond.value,
@@ -12429,7 +12434,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
12429
12434
  title: "Remove milliseconds",
12430
12435
  onClick: removeMilliseconds
12431
12436
  })
12432
- ])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
12437
+ ])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
12433
12438
  createVNode(_sfc_main$1l, {
12434
12439
  variant: "outlined",
12435
12440
  size: "small",
@@ -12438,7 +12443,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
12438
12443
  onClick: addMilliseconds
12439
12444
  })
12440
12445
  ])) : createCommentVNode("", true)
12441
- ], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
12446
+ ], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
12442
12447
  createVNode(_sfc_main$1l, {
12443
12448
  variant: "outlined",
12444
12449
  size: "small",
@@ -13040,9 +13045,9 @@ const stripInactiveFields = (duration, usedFormat) => {
13040
13045
  const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
13041
13046
 
13042
13047
  const _hoisted_1$r = { class: "kds-interval-popover" };
13043
- const _hoisted_2$e = { class: "kds-interval-popover-header" };
13044
- const _hoisted_3$b = { class: "kds-interval-popover-content" };
13045
- const _hoisted_4$7 = { class: "kds-interval-popover-grid" };
13048
+ const _hoisted_2$g = { class: "kds-interval-popover-header" };
13049
+ const _hoisted_3$d = { class: "kds-interval-popover-content" };
13050
+ const _hoisted_4$9 = { class: "kds-interval-popover-grid" };
13046
13051
  const _sfc_main$A = /* @__PURE__ */ defineComponent({
13047
13052
  __name: "IntervalInputPopover",
13048
13053
  props: /* @__PURE__ */ mergeModels({
@@ -13138,7 +13143,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13138
13143
  });
13139
13144
  return (_ctx, _cache) => {
13140
13145
  return openBlock(), createElementBlock("div", _hoisted_1$r, [
13141
- createElementVNode("div", _hoisted_2$e, [
13146
+ createElementVNode("div", _hoisted_2$g, [
13142
13147
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
13143
13148
  props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
13144
13149
  key: 0,
@@ -13150,7 +13155,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13150
13155
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
13151
13156
  ]),
13152
13157
  _cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
13153
- createElementVNode("div", _hoisted_3$b, [
13158
+ createElementVNode("div", _hoisted_3$d, [
13154
13159
  props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
13155
13160
  key: 0,
13156
13161
  modelValue: direction.value,
@@ -13160,7 +13165,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13160
13165
  variant: "muted",
13161
13166
  "possible-values": directionOptions
13162
13167
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
13163
- createElementVNode("div", _hoisted_4$7, [
13168
+ createElementVNode("div", _hoisted_4$9, [
13164
13169
  mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
13165
13170
  return openBlock(), createBlock(unref(_sfc_main$T), {
13166
13171
  key,
@@ -13402,13 +13407,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
13402
13407
  });
13403
13408
 
13404
13409
  const _hoisted_1$q = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
13405
- const _hoisted_2$d = {
13410
+ const _hoisted_2$f = {
13406
13411
  key: 0,
13407
13412
  class: "leading",
13408
13413
  "aria-hidden": "true"
13409
13414
  };
13410
- const _hoisted_3$a = ["id"];
13411
- const _hoisted_4$6 = {
13415
+ const _hoisted_3$c = ["id"];
13416
+ const _hoisted_4$8 = {
13412
13417
  class: "trailing",
13413
13418
  "aria-hidden": "true"
13414
13419
  };
@@ -13484,7 +13489,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
13484
13489
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
13485
13490
  onKeydown
13486
13491
  }, [
13487
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$d, [
13492
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$f, [
13488
13493
  createVNode(_sfc_main$1g, {
13489
13494
  accessory: props.accessory,
13490
13495
  size: "medium"
@@ -13496,8 +13501,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
13496
13501
  placeholder: !props.text && !__props.disabled,
13497
13502
  missing: __props.missing
13498
13503
  }])
13499
- }, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$a),
13500
- createElementVNode("span", _hoisted_4$6, [
13504
+ }, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$c),
13505
+ createElementVNode("span", _hoisted_4$8, [
13501
13506
  createVNode(KdsIcon, {
13502
13507
  name: open.value ? "chevron-up" : "chevron-down",
13503
13508
  size: "small"
@@ -13513,7 +13518,7 @@ const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "da
13513
13518
  const DROPDOWN_SEARCH_THRESHOLD = 12;
13514
13519
 
13515
13520
  const _hoisted_1$p = { class: "kds-dropdown-container" };
13516
- const _hoisted_2$c = {
13521
+ const _hoisted_2$e = {
13517
13522
  key: 0,
13518
13523
  class: "kds-dropdown-container-sticky-top"
13519
13524
  };
@@ -13602,7 +13607,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
13602
13607
  });
13603
13608
  return (_ctx, _cache) => {
13604
13609
  return openBlock(), createElementBlock("div", _hoisted_1$p, [
13605
- searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
13610
+ searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
13606
13611
  createVNode(BaseInput, {
13607
13612
  ref_key: "searchEl",
13608
13613
  ref: searchEl,
@@ -13730,7 +13735,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
13730
13735
  });
13731
13736
 
13732
13737
  const _hoisted_1$o = ["disabled"];
13733
- const _hoisted_2$b = ["title"];
13738
+ const _hoisted_2$d = ["title"];
13734
13739
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
13735
13740
  __name: "KdsListItemButton",
13736
13741
  props: {
@@ -13761,7 +13766,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
13761
13766
  ref: labelEl,
13762
13767
  class: "label",
13763
13768
  title: unref(isLabelTruncated) ? props.label : void 0
13764
- }, toDisplayString(props.label), 9, _hoisted_2$b)
13769
+ }, toDisplayString(props.label), 9, _hoisted_2$d)
13765
13770
  ], 8, _hoisted_1$o);
13766
13771
  };
13767
13772
  }
@@ -13770,11 +13775,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
13770
13775
  const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-21fb5571"]]);
13771
13776
 
13772
13777
  const _hoisted_1$n = { class: "kds-multi-select-dropdown-options" };
13773
- const _hoisted_2$a = {
13778
+ const _hoisted_2$c = {
13774
13779
  key: 0,
13775
13780
  class: "kds-multi-select-dropdown-search"
13776
13781
  };
13777
- const _hoisted_3$9 = {
13782
+ const _hoisted_3$b = {
13778
13783
  key: 1,
13779
13784
  class: "kds-multi-select-dropdown-footer"
13780
13785
  };
@@ -13902,7 +13907,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
13902
13907
  });
13903
13908
  return (_ctx, _cache) => {
13904
13909
  return openBlock(), createElementBlock("div", _hoisted_1$n, [
13905
- searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
13910
+ searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
13906
13911
  createVNode(BaseInput, {
13907
13912
  ref_key: "searchEl",
13908
13913
  ref: searchEl,
@@ -13931,7 +13936,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
13931
13936
  "aria-label": "Dropdown options",
13932
13937
  onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
13933
13938
  }, null, 8, ["class", "possible-values", "loading", "empty-text", "controlled-externally"]),
13934
- !__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
13939
+ !__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
13935
13940
  createVNode(unref(KdsListItemButton), {
13936
13941
  label: anyVisibleSelected.value ? "Clear all" : "Select all",
13937
13942
  "leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
@@ -14074,7 +14079,7 @@ const kdsSpacingContainer0p10x = 1;
14074
14079
  const kdsSpacingContainer0p25x = 4;
14075
14080
 
14076
14081
  const _hoisted_1$m = { class: "kds-resize-handle-area" };
14077
- const _hoisted_2$9 = ["aria-label"];
14082
+ const _hoisted_2$b = ["aria-label"];
14078
14083
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
14079
14084
  __name: "ResizeHandle",
14080
14085
  props: {
@@ -14106,7 +14111,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
14106
14111
  type: "button"
14107
14112
  }, [..._cache[0] || (_cache[0] = [
14108
14113
  createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
14109
- ])], 8, _hoisted_2$9);
14114
+ ])], 8, _hoisted_2$b);
14110
14115
  }), 128))
14111
14116
  ]);
14112
14117
  };
@@ -14495,12 +14500,12 @@ const useMultiSelectListBoxSelection = ({
14495
14500
  };
14496
14501
 
14497
14502
  const _hoisted_1$k = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
14498
- const _hoisted_2$8 = { class: "kds-multiselect-list-box-content-grid" };
14499
- const _hoisted_3$8 = {
14503
+ const _hoisted_2$a = { class: "kds-multiselect-list-box-content-grid" };
14504
+ const _hoisted_3$a = {
14500
14505
  key: 0,
14501
14506
  class: "kds-multiselect-sticky-bottom"
14502
14507
  };
14503
- const _hoisted_4$5 = {
14508
+ const _hoisted_4$7 = {
14504
14509
  key: 0,
14505
14510
  class: "kds-multiselect-empty"
14506
14511
  };
@@ -14757,7 +14762,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14757
14762
  onBlur: _cache[17] || (_cache[17] = //@ts-ignore
14758
14763
  (...args) => unref(onBlur) && unref(onBlur)(...args))
14759
14764
  }), [
14760
- createElementVNode("div", _hoisted_2$8, [
14765
+ createElementVNode("div", _hoisted_2$a, [
14761
14766
  createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
14762
14767
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
14763
14768
  return openBlock(), createBlock(unref(KdsListItem), {
@@ -14784,7 +14789,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14784
14789
  }, null, 8, ["id", "class", "text", "accessory", "missing", "special", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
14785
14790
  }), 128))
14786
14791
  ], 16),
14787
- visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
14792
+ visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
14788
14793
  createVNode(unref(KdsListItem), {
14789
14794
  id: generateOptionId(visibleBottomValue.value.id),
14790
14795
  text: visibleBottomValue.value.text,
@@ -14805,7 +14810,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14805
14810
  ])) : createCommentVNode("", true)
14806
14811
  ])
14807
14812
  ], 16, _hoisted_1$k),
14808
- visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
14813
+ visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
14809
14814
  createVNode(KdsEmptyState, {
14810
14815
  headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
14811
14816
  "loading-spinner": __props.loading,
@@ -14826,17 +14831,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14826
14831
  const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2c5e2dda"]]);
14827
14832
 
14828
14833
  const _hoisted_1$j = { class: "kds-list-column" };
14829
- const _hoisted_2$7 = { class: "kds-list-header" };
14830
- const _hoisted_3$7 = { class: "kds-list-label" };
14831
- const _hoisted_4$4 = {
14834
+ const _hoisted_2$9 = { class: "kds-list-header" };
14835
+ const _hoisted_3$9 = { class: "kds-list-label" };
14836
+ const _hoisted_4$6 = {
14832
14837
  key: 0,
14833
14838
  class: "kds-list-count"
14834
14839
  };
14835
- const _hoisted_5$1 = { class: "kds-button-column" };
14836
- const _hoisted_6 = { class: "kds-list-column" };
14837
- const _hoisted_7 = { class: "kds-list-header" };
14838
- const _hoisted_8 = { class: "kds-list-label" };
14839
- const _hoisted_9 = {
14840
+ const _hoisted_5$3 = { class: "kds-button-column" };
14841
+ const _hoisted_6$1 = { class: "kds-list-column" };
14842
+ const _hoisted_7$1 = { class: "kds-list-header" };
14843
+ const _hoisted_8$1 = { class: "kds-list-label" };
14844
+ const _hoisted_9$1 = {
14840
14845
  key: 0,
14841
14846
  class: "kds-list-count"
14842
14847
  };
@@ -15016,9 +15021,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
15016
15021
  style: normalizeStyle(contentStyle)
15017
15022
  }, [
15018
15023
  createElementVNode("div", _hoisted_1$j, [
15019
- createElementVNode("div", _hoisted_2$7, [
15020
- createElementVNode("span", _hoisted_3$7, toDisplayString(__props.excludeLabel), 1),
15021
- !__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
15024
+ createElementVNode("div", _hoisted_2$9, [
15025
+ createElementVNode("span", _hoisted_3$9, toDisplayString(__props.excludeLabel), 1),
15026
+ !__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$6, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
15022
15027
  ]),
15023
15028
  createVNode(unref(KdsMultiSelectListBox), {
15024
15029
  modelValue: leftSelected.value,
@@ -15037,7 +15042,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
15037
15042
  onKeyEnter: moveRight
15038
15043
  }, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
15039
15044
  ]),
15040
- createElementVNode("div", _hoisted_5$1, [
15045
+ createElementVNode("div", _hoisted_5$3, [
15041
15046
  createVNode(unref(_sfc_main$1l), {
15042
15047
  "leading-icon": "chevron-right",
15043
15048
  ariaLabel: "Move selected values right",
@@ -15081,10 +15086,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
15081
15086
  ]))
15082
15087
  }, null, 8, ["disabled"])
15083
15088
  ]),
15084
- createElementVNode("div", _hoisted_6, [
15085
- createElementVNode("div", _hoisted_7, [
15086
- createElementVNode("span", _hoisted_8, toDisplayString(__props.includeLabel), 1),
15087
- !__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(rightOptions.value.length) + " of " + toDisplayString(includedItems.value.length), 1)) : createCommentVNode("", true)
15089
+ createElementVNode("div", _hoisted_6$1, [
15090
+ createElementVNode("div", _hoisted_7$1, [
15091
+ createElementVNode("span", _hoisted_8$1, toDisplayString(__props.includeLabel), 1),
15092
+ !__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_9$1, toDisplayString(rightOptions.value.length) + " of " + toDisplayString(includedItems.value.length), 1)) : createCommentVNode("", true)
15088
15093
  ]),
15089
15094
  createVNode(unref(KdsMultiSelectListBox), {
15090
15095
  modelValue: rightSelected.value,
@@ -15458,9 +15463,9 @@ const useSortableListBoxReorder = ({
15458
15463
  };
15459
15464
 
15460
15465
  const _hoisted_1$h = { class: "kds-sortable-list-box-wrapper" };
15461
- const _hoisted_2$6 = { class: "kds-sortable-top-buttons" };
15462
- const _hoisted_3$6 = { class: "kds-sortable-top-buttons-left" };
15463
- const _hoisted_4$3 = { class: "kds-sortable-footer-buttons" };
15466
+ const _hoisted_2$8 = { class: "kds-sortable-top-buttons" };
15467
+ const _hoisted_3$8 = { class: "kds-sortable-top-buttons-left" };
15468
+ const _hoisted_4$5 = { class: "kds-sortable-footer-buttons" };
15464
15469
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
15465
15470
  __name: "KdsSortableListBox",
15466
15471
  props: /* @__PURE__ */ mergeModels({
@@ -15519,8 +15524,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
15519
15524
  }), {
15520
15525
  default: withCtx(() => [
15521
15526
  createElementVNode("div", _hoisted_1$h, [
15522
- createElementVNode("div", _hoisted_2$6, [
15523
- createElementVNode("div", _hoisted_3$6, [
15527
+ createElementVNode("div", _hoisted_2$8, [
15528
+ createElementVNode("div", _hoisted_3$8, [
15524
15529
  createVNode(_sfc_main$1l, {
15525
15530
  size: "small",
15526
15531
  variant: "transparent",
@@ -15559,7 +15564,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
15559
15564
  ariaLabel: formFieldProps.label ?? formFieldProps.ariaLabel ?? ""
15560
15565
  /* fallback only for TS */
15561
15566
  }, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
15562
- createElementVNode("div", _hoisted_4$3, [
15567
+ createElementVNode("div", _hoisted_4$5, [
15563
15568
  createVNode(_sfc_main$1l, {
15564
15569
  size: "small",
15565
15570
  variant: "transparent",
@@ -15848,7 +15853,170 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
15848
15853
 
15849
15854
  const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-b6d29842"]]);
15850
15855
 
15856
+ const _hoisted_1$c = { class: "kds-accordion" };
15857
+ const _hoisted_2$7 = ["id", "aria-expanded", "aria-controls", "disabled", "onClick", "onKeydown"];
15858
+ const _hoisted_3$7 = { class: "kds-accordion-headline-container" };
15859
+ const _hoisted_4$4 = { class: "kds-accordion-headline" };
15860
+ const _hoisted_5$2 = ["id", "aria-labelledby", "hidden"];
15851
15861
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
15862
+ __name: "KdsAccordion",
15863
+ props: /* @__PURE__ */ mergeModels({
15864
+ items: {},
15865
+ singleExpand: { type: Boolean, default: false }
15866
+ }, {
15867
+ "modelValue": { required: false },
15868
+ "modelModifiers": {}
15869
+ }),
15870
+ emits: ["update:modelValue"],
15871
+ setup(__props) {
15872
+ const itemIdsSet = computed(() => new Set(__props.items.map((item) => item.id)));
15873
+ const modelValue = useModel(__props, "modelValue");
15874
+ const getNormalizedExpandedItems = (expandedItemIds) => {
15875
+ const sanitizedExpandedItems = Array.from(new Set(expandedItemIds)).filter(
15876
+ (expandedItemId) => itemIdsSet.value.has(expandedItemId)
15877
+ );
15878
+ if (__props.singleExpand) {
15879
+ return sanitizedExpandedItems.slice(0, 1);
15880
+ }
15881
+ return sanitizedExpandedItems;
15882
+ };
15883
+ const normalizedModelExpandedItems = computed(
15884
+ () => getNormalizedExpandedItems(modelValue.value ?? [])
15885
+ );
15886
+ const setExpandedItems = (nextExpandedItems) => {
15887
+ modelValue.value = nextExpandedItems;
15888
+ };
15889
+ const areExpandedItemsEqual = (leftExpandedItems, rightExpandedItems) => leftExpandedItems.length === rightExpandedItems.length && leftExpandedItems.every(
15890
+ (value, index) => value === rightExpandedItems[index]
15891
+ );
15892
+ watch(
15893
+ () => [__props.items, __props.singleExpand, modelValue.value],
15894
+ () => {
15895
+ const currentModelExpandedItems = modelValue.value ?? [];
15896
+ const normalizedExpandedItems = normalizedModelExpandedItems.value;
15897
+ if (!areExpandedItemsEqual(currentModelExpandedItems, normalizedExpandedItems)) {
15898
+ setExpandedItems(normalizedExpandedItems);
15899
+ }
15900
+ },
15901
+ { immediate: true }
15902
+ );
15903
+ const expandedItems = computed(() => normalizedModelExpandedItems.value);
15904
+ const isItemExpanded = (itemId) => expandedItems.value.includes(itemId);
15905
+ const toggleItem = (item) => {
15906
+ if (item.disabled) {
15907
+ return;
15908
+ }
15909
+ if (isItemExpanded(item.id)) {
15910
+ setExpandedItems(expandedItems.value.filter((id) => id !== item.id));
15911
+ return;
15912
+ }
15913
+ if (__props.singleExpand) {
15914
+ setExpandedItems([item.id]);
15915
+ return;
15916
+ }
15917
+ setExpandedItems([...expandedItems.value, item.id]);
15918
+ };
15919
+ const triggerRefs = ref({});
15920
+ const setTriggerRef = (itemId, triggerEl) => {
15921
+ let element = null;
15922
+ if (triggerEl instanceof Element) {
15923
+ element = triggerEl;
15924
+ } else if (triggerEl) {
15925
+ element = triggerEl.$el;
15926
+ }
15927
+ if (element instanceof HTMLButtonElement) {
15928
+ triggerRefs.value[itemId] = element;
15929
+ return;
15930
+ }
15931
+ delete triggerRefs.value[itemId];
15932
+ };
15933
+ const focusTrigger = (itemId) => {
15934
+ triggerRefs.value[itemId]?.focus();
15935
+ };
15936
+ const handleTriggerKeydown = (event, currentItem) => {
15937
+ const enabledItemIds = __props.items.filter((item) => !item.disabled).map((item) => item.id);
15938
+ const currentItemIndex = enabledItemIds.indexOf(currentItem.id);
15939
+ if (currentItemIndex === -1 || enabledItemIds.length < 2) {
15940
+ return;
15941
+ }
15942
+ switch (event.key) {
15943
+ case "ArrowDown": {
15944
+ event.preventDefault();
15945
+ const nextItemIndex = (currentItemIndex + 1) % enabledItemIds.length;
15946
+ focusTrigger(enabledItemIds[nextItemIndex]);
15947
+ break;
15948
+ }
15949
+ case "ArrowUp": {
15950
+ event.preventDefault();
15951
+ const nextItemIndex = (currentItemIndex - 1 + enabledItemIds.length) % enabledItemIds.length;
15952
+ focusTrigger(enabledItemIds[nextItemIndex]);
15953
+ break;
15954
+ }
15955
+ case "Home":
15956
+ event.preventDefault();
15957
+ focusTrigger(enabledItemIds[0]);
15958
+ break;
15959
+ case "End":
15960
+ event.preventDefault();
15961
+ focusTrigger(enabledItemIds[enabledItemIds.length - 1]);
15962
+ break;
15963
+ }
15964
+ };
15965
+ const accordionId = useId();
15966
+ const getItemTriggerId = (itemId) => `${accordionId}-trigger-${itemId}`;
15967
+ const getItemContentId = (itemId) => `${accordionId}-content-${itemId}`;
15968
+ return (_ctx, _cache) => {
15969
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
15970
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
15971
+ return openBlock(), createElementBlock("div", {
15972
+ key: item.id,
15973
+ class: "kds-accordion-item"
15974
+ }, [
15975
+ createElementVNode("button", {
15976
+ id: getItemTriggerId(item.id),
15977
+ ref_for: true,
15978
+ ref: (triggerEl) => setTriggerRef(item.id, triggerEl),
15979
+ class: "kds-accordion-header",
15980
+ type: "button",
15981
+ "aria-expanded": isItemExpanded(item.id),
15982
+ "aria-controls": getItemContentId(item.id),
15983
+ disabled: item.disabled,
15984
+ onClick: ($event) => toggleItem(item),
15985
+ onKeydown: ($event) => handleTriggerKeydown($event, item)
15986
+ }, [
15987
+ createElementVNode("span", _hoisted_3$7, [
15988
+ item.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
15989
+ key: 0,
15990
+ name: item.leadingIcon,
15991
+ size: "small",
15992
+ disabled: item.disabled
15993
+ }, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
15994
+ createElementVNode("span", _hoisted_4$4, toDisplayString(item.headline), 1)
15995
+ ]),
15996
+ createVNode(KdsIcon, {
15997
+ name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
15998
+ size: "small"
15999
+ }, null, 8, ["name"])
16000
+ ], 40, _hoisted_2$7),
16001
+ createElementVNode("div", {
16002
+ id: getItemContentId(item.id),
16003
+ class: "kds-accordion-content",
16004
+ role: "group",
16005
+ "aria-labelledby": getItemTriggerId(item.id),
16006
+ hidden: !isItemExpanded(item.id)
16007
+ }, [
16008
+ renderSlot(_ctx.$slots, item.id, { item }, void 0, true)
16009
+ ], 8, _hoisted_5$2)
16010
+ ]);
16011
+ }), 128))
16012
+ ]);
16013
+ };
16014
+ }
16015
+ });
16016
+
16017
+ const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-66485734"]]);
16018
+
16019
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
15852
16020
  __name: "BaseCard",
15853
16021
  props: {
15854
16022
  variant: {},
@@ -15866,9 +16034,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
15866
16034
  }
15867
16035
  });
15868
16036
 
15869
- const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-37984e9f"]]);
16037
+ const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-37984e9f"]]);
15870
16038
 
15871
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
16039
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15872
16040
  __name: "KdsCard",
15873
16041
  props: {
15874
16042
  variant: { default: "outlined" }
@@ -15888,8 +16056,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
15888
16056
  }
15889
16057
  });
15890
16058
 
15891
- const _hoisted_1$c = ["aria-label", "aria-labelledby", "disabled"];
15892
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
16059
+ const _hoisted_1$b = ["aria-label", "aria-labelledby", "disabled"];
16060
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15893
16061
  __name: "KdsClickableCard",
15894
16062
  props: {
15895
16063
  variant: { default: "filled" },
@@ -15920,7 +16088,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15920
16088
  disabled: __props.disabled,
15921
16089
  "data-kds-card-primary-action": "",
15922
16090
  onClick
15923
- }, null, 8, _hoisted_1$c),
16091
+ }, null, 8, _hoisted_1$b),
15924
16092
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
15925
16093
  ]),
15926
16094
  _: 3
@@ -15929,9 +16097,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15929
16097
  }
15930
16098
  });
15931
16099
 
15932
- const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-671dfb5a"]]);
16100
+ const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-671dfb5a"]]);
15933
16101
 
15934
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
16102
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
15935
16103
  __name: "KdsLinkCard",
15936
16104
  props: {
15937
16105
  to: {},
@@ -15975,10 +16143,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15975
16143
  }
15976
16144
  });
15977
16145
 
15978
- const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a5b105b2"]]);
16146
+ const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-a5b105b2"]]);
15979
16147
 
15980
- const _hoisted_1$b = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
15981
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
16148
+ const _hoisted_1$a = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
16149
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
15982
16150
  __name: "KdsSelectableCard",
15983
16151
  props: /* @__PURE__ */ mergeModels({
15984
16152
  variant: { default: "filled" },
@@ -16014,7 +16182,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16014
16182
  "aria-pressed": modelValue.value,
16015
16183
  "data-kds-card-primary-action": "",
16016
16184
  onClick
16017
- }, null, 8, _hoisted_1$b),
16185
+ }, null, 8, _hoisted_1$a),
16018
16186
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
16019
16187
  ]),
16020
16188
  _: 3
@@ -16023,7 +16191,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16023
16191
  }
16024
16192
  });
16025
16193
 
16026
- const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-80c51086"]]);
16194
+ const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-80c51086"]]);
16027
16195
 
16028
16196
  const kdsCardVariant = {
16029
16197
  FILLED: "filled",
@@ -16032,35 +16200,118 @@ const kdsCardVariant = {
16032
16200
  };
16033
16201
  const kdsCardVariants = Object.values(kdsCardVariant);
16034
16202
 
16035
- const _hoisted_1$a = { class: "kds-panel-header" };
16036
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
16037
- __name: "KdsPanelHeader",
16203
+ const _hoisted_1$9 = { class: "kds-panel" };
16204
+ const _hoisted_2$6 = { class: "kds-panel-header" };
16205
+ const _hoisted_3$6 = ["id"];
16206
+ const _hoisted_4$3 = {
16207
+ key: 0,
16208
+ class: "kds-panel-headline-text"
16209
+ };
16210
+ const _hoisted_5$1 = {
16211
+ key: 0,
16212
+ class: "kds-panel-header-trailing"
16213
+ };
16214
+ const _hoisted_6 = ["aria-labelledby"];
16215
+ const _hoisted_7 = {
16216
+ key: 0,
16217
+ class: "kds-panel-footer"
16218
+ };
16219
+ const _hoisted_8 = { class: "kds-panel-footer-leading" };
16220
+ const _hoisted_9 = { class: "kds-panel-footer-trailing" };
16221
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16222
+ __name: "KdsPanel",
16038
16223
  props: {
16039
- headline: {}
16224
+ headline: {},
16225
+ headlineTrailingActions: {},
16226
+ footerLeadingActions: {},
16227
+ footerTrailingActions: {}
16040
16228
  },
16041
- emits: ["close"],
16042
- setup(__props, { emit: __emit }) {
16043
- const emit = __emit;
16044
- const handleClick = (event) => emit("close", event);
16229
+ setup(__props) {
16230
+ const headlineId = useId();
16045
16231
  return (_ctx, _cache) => {
16046
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
16047
- createElementVNode("h6", null, toDisplayString(__props.headline), 1),
16048
- createVNode(_sfc_main$1l, {
16049
- class: "kds-close-button",
16050
- "leading-icon": "x-close",
16051
- size: "small",
16052
- ariaLabel: "Close panel",
16053
- variant: "transparent",
16054
- onClick: handleClick
16055
- })
16232
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
16233
+ createElementVNode("div", _hoisted_2$6, [
16234
+ createElementVNode("div", {
16235
+ id: unref(headlineId),
16236
+ class: "kds-panel-headline"
16237
+ }, [
16238
+ typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$3, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1l, mergeProps({ key: 1 }, __props.headline.props, {
16239
+ size: "small",
16240
+ onClick: __props.headline.onClick
16241
+ }), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1a, mergeProps({ key: 2 }, __props.headline.props, {
16242
+ size: "small",
16243
+ onItemClick: __props.headline.onItemClick
16244
+ }), null, 16, ["onItemClick"])) : createCommentVNode("", true)
16245
+ ], 8, _hoisted_3$6),
16246
+ __props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
16247
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
16248
+ return openBlock(), createElementBlock(Fragment, { key: index }, [
16249
+ action.type === "button" ? (openBlock(), createBlock(_sfc_main$1l, mergeProps({
16250
+ key: 0,
16251
+ ref_for: true
16252
+ }, action.props, {
16253
+ size: "small",
16254
+ onClick: action.onClick
16255
+ }), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1i, mergeProps({
16256
+ key: 1,
16257
+ ref_for: true
16258
+ }, action.props, {
16259
+ size: "small",
16260
+ "onUpdate:modelValue": action.onUpdateModelValue
16261
+ }), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1a, mergeProps({
16262
+ key: 2,
16263
+ ref_for: true
16264
+ }, action.props, {
16265
+ size: "small",
16266
+ onItemClick: action.onItemClick
16267
+ }), null, 16, ["onItemClick"])) : action.type === "valueSwitch" ? (openBlock(), createBlock(KdsValueSwitch, mergeProps({
16268
+ key: 3,
16269
+ ref_for: true
16270
+ }, action.props, {
16271
+ size: "small",
16272
+ "onUpdate:modelValue": action.onUpdateModelValue
16273
+ }), null, 16, ["onUpdate:modelValue"])) : createCommentVNode("", true)
16274
+ ], 64);
16275
+ }), 128))
16276
+ ])) : createCommentVNode("", true)
16277
+ ]),
16278
+ createElementVNode("div", {
16279
+ class: "kds-panel-body",
16280
+ tabindex: "0",
16281
+ "aria-labelledby": unref(headlineId)
16282
+ }, [
16283
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16284
+ ], 8, _hoisted_6),
16285
+ __props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
16286
+ createElementVNode("div", _hoisted_8, [
16287
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
16288
+ return openBlock(), createBlock(_sfc_main$1l, mergeProps({
16289
+ key: `leading-${index}`
16290
+ }, { ref_for: true }, action.props, {
16291
+ size: "small",
16292
+ onClick: action.onClick
16293
+ }), null, 16, ["onClick"]);
16294
+ }), 128))
16295
+ ]),
16296
+ createElementVNode("div", _hoisted_9, [
16297
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
16298
+ return openBlock(), createBlock(_sfc_main$1l, mergeProps({
16299
+ key: `trailing-${index}`
16300
+ }, { ref_for: true }, action.props, {
16301
+ size: "small",
16302
+ onClick: action.onClick
16303
+ }), null, 16, ["onClick"]);
16304
+ }), 128))
16305
+ ])
16306
+ ])) : createCommentVNode("", true)
16056
16307
  ]);
16057
16308
  };
16058
16309
  }
16059
16310
  });
16060
16311
 
16061
- const KdsPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-dd28904c"]]);
16312
+ const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c55a379c"]]);
16062
16313
 
16063
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
16314
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16064
16315
  __name: "TabBarItemAccessory",
16065
16316
  props: {
16066
16317
  accessory: {},
@@ -16190,7 +16441,7 @@ const useTabBarAdaptiveLayout = ({
16190
16441
  };
16191
16442
  };
16192
16443
 
16193
- const _hoisted_1$9 = { class: "kds-tab-bar-wrapper" };
16444
+ const _hoisted_1$8 = { class: "kds-tab-bar-wrapper" };
16194
16445
  const _hoisted_2$5 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
16195
16446
  const _hoisted_3$5 = { class: "kds-tab-label" };
16196
16447
  const _hoisted_4$2 = {
@@ -16198,7 +16449,7 @@ const _hoisted_4$2 = {
16198
16449
  class: "kds-tab-indicator"
16199
16450
  };
16200
16451
  const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
16201
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
16452
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
16202
16453
  __name: "KdsTabBar",
16203
16454
  props: /* @__PURE__ */ mergeModels({
16204
16455
  tabs: {},
@@ -16322,7 +16573,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16322
16573
  { immediate: true }
16323
16574
  );
16324
16575
  return (_ctx, _cache) => {
16325
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
16576
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
16326
16577
  createElementVNode("div", {
16327
16578
  ref_key: "availableWidthContainer",
16328
16579
  ref: availableWidthContainer,
@@ -16352,7 +16603,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16352
16603
  onClick: ($event) => selectTab(tab),
16353
16604
  onKeydown: ($event) => handleKeydown($event, tab)
16354
16605
  }, [
16355
- tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$b, {
16606
+ tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$a, {
16356
16607
  key: 0,
16357
16608
  accessory: tab.accessory,
16358
16609
  "icon-size": __props.size === "large" ? "large" : "medium",
@@ -16368,7 +16619,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16368
16619
  }
16369
16620
  });
16370
16621
 
16371
- const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-91f95f5f"]]);
16622
+ const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-91f95f5f"]]);
16372
16623
 
16373
16624
  const kdsTabBarSize = {
16374
16625
  SMALL: "small",
@@ -16376,7 +16627,7 @@ const kdsTabBarSize = {
16376
16627
  };
16377
16628
  const kdsTabBarSizes = Object.values(kdsTabBarSize);
16378
16629
 
16379
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
16630
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16380
16631
  __name: "LoadingSkeletonItem",
16381
16632
  props: {
16382
16633
  shape: { default: "text" }
@@ -16391,9 +16642,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
16391
16642
  }
16392
16643
  });
16393
16644
 
16394
- const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-86829b28"]]);
16645
+ const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-86829b28"]]);
16395
16646
 
16396
- const _hoisted_1$8 = {
16647
+ const _hoisted_1$7 = {
16397
16648
  key: 0,
16398
16649
  class: "kds-loading-skeleton",
16399
16650
  "aria-busy": "true"
@@ -16408,7 +16659,7 @@ const _hoisted_4$1 = {
16408
16659
  class: "kds-loading-skeleton-input-with-label"
16409
16660
  };
16410
16661
  const _hoisted_5 = { class: "kds-loading-skeleton-list-item-text" };
16411
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16662
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
16412
16663
  __name: "KdsLoadingSkeleton",
16413
16664
  props: {
16414
16665
  variant: { default: "text" },
@@ -16421,7 +16672,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16421
16672
  "v59c08829": _ctx.repeatGap
16422
16673
  }));
16423
16674
  return (_ctx, _cache) => {
16424
- return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
16675
+ return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
16425
16676
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
16426
16677
  return openBlock(), createElementBlock(Fragment, {
16427
16678
  key: `skeleton-${index}`
@@ -16476,7 +16727,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
16476
16727
  }
16477
16728
  });
16478
16729
 
16479
- const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e6597718"]]);
16730
+ const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-e6597718"]]);
16480
16731
 
16481
16732
  const loadingSkeletonItemShape = {
16482
16733
  TEXT: "text",
@@ -16503,42 +16754,6 @@ const kdsLoadingSkeletonVariants = Object.values(
16503
16754
  kdsLoadingSkeletonVariant
16504
16755
  );
16505
16756
 
16506
- const _hoisted_1$7 = { class: "kds-panel-button-bar" };
16507
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
16508
- __name: "KdsPanelButtonBar",
16509
- props: {
16510
- applyLabel: { default: "Apply" },
16511
- cancelLabel: { default: "Cancel" },
16512
- disabled: { type: Boolean, default: false }
16513
- },
16514
- emits: ["cancel", "apply"],
16515
- setup(__props, { emit: __emit }) {
16516
- const emit = __emit;
16517
- const handleCancel = (event) => emit("cancel", event);
16518
- const handleApply = (event) => emit("apply", event);
16519
- return (_ctx, _cache) => {
16520
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
16521
- createVNode(_sfc_main$1l, {
16522
- disabled: __props.disabled,
16523
- label: __props.cancelLabel,
16524
- size: "small",
16525
- variant: "transparent",
16526
- onClick: handleCancel
16527
- }, null, 8, ["disabled", "label"]),
16528
- createVNode(_sfc_main$1l, {
16529
- disabled: __props.disabled,
16530
- label: __props.applyLabel,
16531
- size: "small",
16532
- variant: "filled",
16533
- onClick: handleApply
16534
- }, null, 8, ["disabled", "label"])
16535
- ]);
16536
- };
16537
- }
16538
- });
16539
-
16540
- const KdsPanelButtonBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-aeb00620"]]);
16541
-
16542
16757
  const _hoisted_1$6 = {
16543
16758
  key: 0,
16544
16759
  class: "indicator-selected"
@@ -17281,5 +17496,5 @@ const kdsResponsiveButtonGroupAlignments = Object.values(
17281
17496
  kdsResponsiveButtonGroupAlignment
17282
17497
  );
17283
17498
 
17284
- export { KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$1l as KdsButton, _sfc_main$g as KdsCard, _sfc_main$10 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$P as KdsColorInput, KdsColorSwatch, KdsContainerHeader, _sfc_main$15 as KdsContextMenu, KdsDataType, _sfc_main$I as KdsDateInput, _sfc_main$G as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$w as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$z as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1k as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$16 as KdsMenu, _sfc_main$1a as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$t as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$T as KdsNumberInput, KdsPanelButtonBar, KdsPanelHeader, _sfc_main$O as KdsPasswordInput, _sfc_main$F as KdsPatternInput, KdsPreviewList, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$B as KdsTimeInput, _sfc_main$1i as KdsToggleButton, KdsTwinList, _sfc_main$N as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
17499
+ export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$1l as KdsButton, _sfc_main$f as KdsCard, _sfc_main$10 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$P as KdsColorInput, KdsColorSwatch, KdsContainerHeader, _sfc_main$15 as KdsContextMenu, KdsDataType, _sfc_main$I as KdsDateInput, _sfc_main$G as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$w as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$z as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1k as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$16 as KdsMenu, _sfc_main$1a as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$t as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$T as KdsNumberInput, KdsPanel, _sfc_main$O as KdsPasswordInput, _sfc_main$F as KdsPatternInput, KdsPreviewList, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$B as KdsTimeInput, _sfc_main$1i as KdsToggleButton, KdsTwinList, _sfc_main$N as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
17285
17500
  //# sourceMappingURL=index.js.map