@knime/kds-components 0.14.0 → 0.15.1

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 (87) hide show
  1. package/dist/accessories/Badge/KdsBadge.vue.d.ts +1 -1
  2. package/dist/accessories/Icon/KdsDataType.vue.d.ts +3 -7
  3. package/dist/accessories/Icon/KdsDataType.vue.d.ts.map +1 -1
  4. package/dist/accessories/Icon/KdsIcon.vue.d.ts +4 -7
  5. package/dist/accessories/Icon/KdsIcon.vue.d.ts.map +1 -1
  6. package/dist/accessories/Icon/types.d.ts +40 -2
  7. package/dist/accessories/Icon/types.d.ts.map +1 -1
  8. package/dist/accessories/InlineMessage/KdsInlineMessage.vue.d.ts +7 -0
  9. package/dist/accessories/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -0
  10. package/dist/accessories/InlineMessage/enums.d.ts +8 -0
  11. package/dist/accessories/InlineMessage/enums.d.ts.map +1 -0
  12. package/dist/accessories/InlineMessage/index.d.ts +4 -0
  13. package/dist/accessories/InlineMessage/index.d.ts.map +1 -0
  14. package/dist/accessories/InlineMessage/types.d.ts +11 -0
  15. package/dist/accessories/InlineMessage/types.d.ts.map +1 -0
  16. package/dist/accessories/LiveStatus/enums.d.ts +1 -1
  17. package/dist/accessories/index.d.ts +2 -0
  18. package/dist/accessories/index.d.ts.map +1 -1
  19. package/dist/forms/Checkbox/KdsCheckboxGroup.vue.d.ts +1 -1
  20. package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts +1 -1
  21. package/dist/forms/RadioButton/KdsValueSwitch.vue.d.ts +1 -1
  22. package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts +4 -4
  23. package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
  24. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +1 -1
  25. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
  26. package/dist/forms/_helper/List/ListContainer/types.d.ts +1 -1
  27. package/dist/forms/_helper/List/ListContainer/types.d.ts.map +1 -1
  28. package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts +4 -1
  29. package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts.map +1 -1
  30. package/dist/forms/index.d.ts +2 -0
  31. package/dist/forms/index.d.ts.map +1 -1
  32. package/dist/forms/inputs/BaseInput.vue.d.ts +3 -17
  33. package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -1
  34. package/dist/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +1 -96
  35. package/dist/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  36. package/dist/forms/inputs/ColorInput/index.d.ts +1 -0
  37. package/dist/forms/inputs/ColorInput/index.d.ts.map +1 -1
  38. package/dist/forms/inputs/ColorInput/types.d.ts +3 -0
  39. package/dist/forms/inputs/ColorInput/types.d.ts.map +1 -0
  40. package/dist/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
  41. package/dist/forms/inputs/NumberInput/index.d.ts +1 -0
  42. package/dist/forms/inputs/NumberInput/index.d.ts.map +1 -1
  43. package/dist/forms/inputs/NumberInput/types.d.ts +23 -0
  44. package/dist/forms/inputs/NumberInput/types.d.ts.map +1 -0
  45. package/dist/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
  46. package/dist/forms/inputs/PatternInput/index.d.ts +1 -0
  47. package/dist/forms/inputs/PatternInput/index.d.ts.map +1 -1
  48. package/dist/forms/inputs/PatternInput/types.d.ts +3 -0
  49. package/dist/forms/inputs/PatternInput/types.d.ts.map +1 -0
  50. package/dist/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  51. package/dist/forms/inputs/SearchInput/index.d.ts +1 -0
  52. package/dist/forms/inputs/SearchInput/index.d.ts.map +1 -1
  53. package/dist/forms/inputs/SearchInput/types.d.ts +3 -0
  54. package/dist/forms/inputs/SearchInput/types.d.ts.map +1 -0
  55. package/dist/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  56. package/dist/forms/inputs/TextInput/index.d.ts +1 -0
  57. package/dist/forms/inputs/TextInput/index.d.ts.map +1 -1
  58. package/dist/forms/inputs/TextInput/types.d.ts +3 -0
  59. package/dist/forms/inputs/TextInput/types.d.ts.map +1 -0
  60. package/dist/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  61. package/dist/forms/inputs/Textarea/index.d.ts +1 -0
  62. package/dist/forms/inputs/Textarea/index.d.ts.map +1 -1
  63. package/dist/forms/inputs/Textarea/types.d.ts +8 -0
  64. package/dist/forms/inputs/Textarea/types.d.ts.map +1 -0
  65. package/dist/forms/inputs/index.d.ts +6 -1
  66. package/dist/forms/inputs/index.d.ts.map +1 -1
  67. package/dist/forms/inputs/types.d.ts +1 -44
  68. package/dist/forms/inputs/types.d.ts.map +1 -1
  69. package/dist/forms/selects/Dropdown/BaseDropdown.vue.d.ts +28 -0
  70. package/dist/forms/selects/Dropdown/BaseDropdown.vue.d.ts.map +1 -0
  71. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts +252 -0
  72. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -0
  73. package/dist/forms/selects/Dropdown/KdsDropdown.vue.d.ts +3 -0
  74. package/dist/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -0
  75. package/dist/forms/selects/Dropdown/index.d.ts +3 -0
  76. package/dist/forms/selects/Dropdown/index.d.ts.map +1 -0
  77. package/dist/forms/selects/Dropdown/types.d.ts +62 -0
  78. package/dist/forms/selects/Dropdown/types.d.ts.map +1 -0
  79. package/dist/forms/selects/index.d.ts +3 -0
  80. package/dist/forms/selects/index.d.ts.map +1 -0
  81. package/dist/index.css +384 -74
  82. package/dist/index.js +950 -271
  83. package/dist/index.js.map +1 -1
  84. package/dist/overlays/Modal/KdsModal.vue.d.ts +2 -2
  85. package/dist/overlays/Modal/KdsModalLayout.vue.d.ts +1 -1
  86. package/dist/overlays/Modal/useKdsDynamicModal.d.ts +3 -3
  87. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, shallowRef, toRef, unref, createBlock, resolveDynamicComponent, createCommentVNode, normalizeStyle, useTemplateRef, withCtx, renderSlot, mergeProps, h, useSlots, getCurrentInstance, useModel, mergeModels, createVNode, defineAsyncComponent, useId, Fragment, renderList, onBeforeUpdate, nextTick, watchEffect, withModifiers, normalizeProps, guardReactiveProps, withDirectives, vModelText, createTextVNode, useCssVars, mergeDefaults, createSlots } from 'vue';
1
+ import { defineComponent, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, shallowRef, toRef, unref, createBlock, resolveDynamicComponent, createCommentVNode, normalizeStyle, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h, useSlots, getCurrentInstance, useModel, mergeModels, defineAsyncComponent, useId, Fragment, renderList, onBeforeUpdate, nextTick, watchEffect, withModifiers, normalizeProps, guardReactiveProps, withDirectives, vModelText, toHandlers, createTextVNode, useCssVars, mergeDefaults, createSlots } from 'vue';
2
2
  import { useLocalStorage, useDark, usePreferredDark, useResizeObserver, useMutationObserver, useElementSize } from '@vueuse/core';
3
3
 
4
4
  import './index.css';const kdsAvatarSize = {
@@ -9,14 +9,14 @@ import './index.css';const kdsAvatarSize = {
9
9
  };
10
10
  const kdsAvatarSizes = Object.values(kdsAvatarSize);
11
11
 
12
- const _hoisted_1$s = ["role", "title", "aria-hidden", "aria-label"];
13
- const _hoisted_2$c = ["src"];
14
- const _hoisted_3$7 = {
12
+ const _hoisted_1$x = ["role", "title", "aria-hidden", "aria-label"];
13
+ const _hoisted_2$g = ["src"];
14
+ const _hoisted_3$a = {
15
15
  key: 1,
16
16
  class: "kds-avatar-initials",
17
17
  "aria-hidden": "true"
18
18
  };
19
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
19
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20
20
  __name: "KdsAvatar",
21
21
  props: {
22
22
  initials: {},
@@ -59,10 +59,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
59
59
  alt: "",
60
60
  "aria-hidden": "true",
61
61
  onError: onImageError
62
- }, null, 40, _hoisted_2$c)) : (openBlock(), createElementBlock("div", _hoisted_3$7, [
62
+ }, null, 40, _hoisted_2$g)) : (openBlock(), createElementBlock("div", _hoisted_3$a, [
63
63
  createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
64
64
  ]))
65
- ], 10, _hoisted_1$s);
65
+ ], 10, _hoisted_1$x);
66
66
  };
67
67
  }
68
68
  });
@@ -75,7 +75,7 @@ const _export_sfc = (sfc, props) => {
75
75
  return target;
76
76
  };
77
77
 
78
- const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-d6a313f1"]]);
78
+ const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-d6a313f1"]]);
79
79
 
80
80
  const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
81
81
  const v = glob$1[path$13];
@@ -111,11 +111,12 @@ const useIcon = ({
111
111
  return iconComponent;
112
112
  };
113
113
 
114
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
114
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
115
115
  __name: "KdsIcon",
116
116
  props: {
117
117
  name: {},
118
- size: { default: "medium" }
118
+ size: { default: "medium" },
119
+ disabled: { type: Boolean, default: false }
119
120
  },
120
121
  setup(__props) {
121
122
  const props = __props;
@@ -123,12 +124,12 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
123
124
  return (_ctx, _cache) => {
124
125
  return unref(iconComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent)), {
125
126
  key: 0,
126
- class: normalizeClass(["kds-icon", props.size]),
127
+ class: normalizeClass(["kds-icon", props.size, { disabled: __props.disabled }]),
127
128
  "aria-hidden": "true",
128
129
  focusable: "false"
129
130
  }, null, 8, ["class"])) : (openBlock(), createElementBlock("span", {
130
131
  key: 1,
131
- class: normalizeClass(["kds-icon", props.size]),
132
+ class: normalizeClass(["kds-icon", props.size, { disabled: __props.disabled }]),
132
133
  "aria-hidden": "true",
133
134
  focusable: "false"
134
135
  }, null, 2));
@@ -136,7 +137,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
136
137
  }
137
138
  });
138
139
 
139
- const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3a57d423"]]);
140
+ const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4da5bf3e"]]);
140
141
 
141
142
  const ID_TO_ICON_MAP = {
142
143
  // Flow Variables
@@ -462,13 +463,14 @@ const kdsDataTypeSize = {
462
463
  };
463
464
  const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
464
465
 
465
- const _hoisted_1$r = ["title"];
466
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
466
+ const _hoisted_1$w = ["title"];
467
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
467
468
  __name: "KdsDataType",
468
469
  props: {
469
470
  iconName: { default: "unknown-datatype" },
470
471
  iconTitle: { default: "Unknown Data Type" },
471
- size: { default: "medium" }
472
+ size: { default: "medium" },
473
+ disabled: { type: Boolean, default: false }
472
474
  },
473
475
  setup(__props) {
474
476
  const DATA_TYPE_SIZE_TO_ICON_SIZE = {
@@ -495,7 +497,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
495
497
  });
496
498
  return (_ctx, _cache) => {
497
499
  return openBlock(), createElementBlock("div", {
498
- class: normalizeClass(["kds-data-type-icon-container", __props.size]),
500
+ class: normalizeClass(["kds-data-type-icon-container", __props.size, { disabled: __props.disabled }]),
499
501
  title: props.iconTitle
500
502
  }, [
501
503
  (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent)), {
@@ -503,12 +505,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
503
505
  "aria-hidden": "true",
504
506
  focusable: "false"
505
507
  }, null, 8, ["class"]))
506
- ], 10, _hoisted_1$r);
508
+ ], 10, _hoisted_1$w);
507
509
  };
508
510
  }
509
511
  });
510
512
 
511
- const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-d7166d18"]]);
513
+ const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-806087da"]]);
512
514
 
513
515
  const kdsBadgeVariant = {
514
516
  NEUTRAL: "neutral",
@@ -525,8 +527,8 @@ const kdsBadgeSize = {
525
527
  };
526
528
  const kdsBadgeSizes = Object.values(kdsBadgeSize);
527
529
 
528
- const _hoisted_1$q = { class: "label-wrapper" };
529
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
530
+ const _hoisted_1$v = { class: "label-wrapper" };
531
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
530
532
  __name: "KdsBadge",
531
533
  props: {
532
534
  label: {},
@@ -548,13 +550,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
548
550
  name: __props.icon,
549
551
  size: sizeToIconSize[__props.size]
550
552
  }, null, 8, ["name", "size"])) : createCommentVNode("", true),
551
- createElementVNode("span", _hoisted_1$q, toDisplayString(__props.label), 1)
553
+ createElementVNode("span", _hoisted_1$v, toDisplayString(__props.label), 1)
552
554
  ], 2);
553
555
  };
554
556
  }
555
557
  });
556
558
 
557
- const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-5c6c74a8"]]);
559
+ const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5c6c74a8"]]);
558
560
 
559
561
  const kdsColorSwatchType = {
560
562
  LEARNER: "learner",
@@ -573,8 +575,8 @@ const kdsColorSwatchSize = {
573
575
  };
574
576
  const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
575
577
 
576
- const _hoisted_1$p = ["role", "title", "aria-hidden", "aria-label"];
577
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
578
+ const _hoisted_1$u = ["role", "title", "aria-hidden", "aria-label"];
579
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
578
580
  __name: "KdsColorSwatch",
579
581
  props: {
580
582
  color: {},
@@ -609,12 +611,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
609
611
  style: normalizeStyle({ backgroundColor: backgroundColor.value }),
610
612
  "aria-hidden": hasTitle.value ? void 0 : "true",
611
613
  "aria-label": hasTitle.value ? accessibleTitle.value : void 0
612
- }, null, 14, _hoisted_1$p);
614
+ }, null, 14, _hoisted_1$u);
613
615
  };
614
616
  }
615
617
  });
616
618
 
617
- const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-bdb3dd24"]]);
619
+ const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-bdb3dd24"]]);
618
620
 
619
621
  const kdsDarkModeType = {
620
622
  LIGHT: "light",
@@ -734,9 +736,9 @@ function useKdsIsTruncated(elementRef) {
734
736
  return { isTruncated };
735
737
  }
736
738
 
737
- const _hoisted_1$o = ["title", "aria-label"];
738
- const _hoisted_2$b = ["title"];
739
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
739
+ const _hoisted_1$t = ["title", "aria-label"];
740
+ const _hoisted_2$f = ["title"];
741
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
740
742
  __name: "KdsLiveStatus",
741
743
  props: {
742
744
  status: { default: "red" },
@@ -765,13 +767,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
765
767
  ref: labelEl,
766
768
  class: "label",
767
769
  title: unref(isTruncated) ? props.label : void 0
768
- }, toDisplayString(props.label), 9, _hoisted_2$b)) : createCommentVNode("", true)
769
- ], 10, _hoisted_1$o);
770
+ }, toDisplayString(props.label), 9, _hoisted_2$f)) : createCommentVNode("", true)
771
+ ], 10, _hoisted_1$t);
770
772
  };
771
773
  }
772
774
  });
773
775
 
774
- const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-4dec8e94"]]);
776
+ const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-4dec8e94"]]);
775
777
 
776
778
  const kdsLiveStatusStatus = {
777
779
  RED: "red",
@@ -787,8 +789,8 @@ const kdsLiveStatusSize = {
787
789
  };
788
790
  const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
789
791
 
790
- const _hoisted_1$n = ["data-style"];
791
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
792
+ const _hoisted_1$s = ["data-style"];
793
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
792
794
  __name: "KdsLoadingSpinner",
793
795
  props: {
794
796
  size: { default: "medium" },
@@ -813,12 +815,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
813
815
  cy: "60",
814
816
  r: "50"
815
817
  }, null, -1)
816
- ])], 10, _hoisted_1$n);
818
+ ])], 10, _hoisted_1$s);
817
819
  };
818
820
  }
819
821
  });
820
822
 
821
- const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-74bb7c3d"]]);
823
+ const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-74bb7c3d"]]);
822
824
 
823
825
  const kdsLoadingSpinnerVariant = {
824
826
  ON_PRIMARY: "onPrimary",
@@ -828,11 +830,73 @@ const kdsLoadingSpinnerVariants = Object.values(
828
830
  kdsLoadingSpinnerVariant
829
831
  );
830
832
 
831
- const _hoisted_1$m = {
833
+ const _hoisted_1$r = ["role"];
834
+ const _hoisted_2$e = { class: "header" };
835
+ const _hoisted_3$9 = { class: "title" };
836
+ const _hoisted_4$7 = {
837
+ key: 0,
838
+ class: "body"
839
+ };
840
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
841
+ __name: "KdsInlineMessage",
842
+ props: {
843
+ title: {},
844
+ message: { default: void 0 },
845
+ variant: { default: "info" }
846
+ },
847
+ setup(__props) {
848
+ const props = __props;
849
+ const classes = computed(() => ["kds-inline-message", props.variant]);
850
+ const iconName = computed(() => {
851
+ switch (props.variant) {
852
+ case "success":
853
+ return "circle-success";
854
+ case "error":
855
+ return "circle-error";
856
+ case "warning":
857
+ return "warning";
858
+ case "info":
859
+ default:
860
+ return "circle-info";
861
+ }
862
+ });
863
+ const role = computed(
864
+ () => props.variant === "warning" || props.variant === "error" ? "alert" : "status"
865
+ );
866
+ return (_ctx, _cache) => {
867
+ return openBlock(), createElementBlock("div", {
868
+ class: normalizeClass(classes.value),
869
+ role: role.value
870
+ }, [
871
+ createElementVNode("div", _hoisted_2$e, [
872
+ createVNode(KdsIcon, {
873
+ class: "icon",
874
+ name: iconName.value,
875
+ size: "small"
876
+ }, null, 8, ["name"]),
877
+ createElementVNode("div", _hoisted_3$9, toDisplayString(props.title), 1)
878
+ ]),
879
+ props.message ? (openBlock(), createElementBlock("div", _hoisted_4$7, toDisplayString(props.message), 1)) : createCommentVNode("", true)
880
+ ], 10, _hoisted_1$r);
881
+ };
882
+ }
883
+ });
884
+
885
+ const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-ab9855b7"]]);
886
+
887
+ const kdsInlineMessageVariant = {
888
+ ERROR: "error",
889
+ INFO: "info",
890
+ SUCCESS: "success",
891
+ WARNING: "warning"
892
+ };
893
+ const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
894
+
895
+ const _hoisted_1$q = {
832
896
  key: 0,
833
897
  class: "label"
834
898
  };
835
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
899
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
836
900
  __name: "BaseButton",
837
901
  props: {
838
902
  size: { default: "medium" },
@@ -891,7 +955,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
891
955
  size: iconSize.value
892
956
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
893
957
  ], true),
894
- props.label ? (openBlock(), createElementBlock("span", _hoisted_1$m, toDisplayString(props.label), 1)) : createCommentVNode("", true),
958
+ props.label ? (openBlock(), createElementBlock("span", _hoisted_1$q, toDisplayString(props.label), 1)) : createCommentVNode("", true),
895
959
  props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
896
960
  key: 1,
897
961
  name: props.trailingIcon,
@@ -904,9 +968,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
904
968
  }
905
969
  });
906
970
 
907
- const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-b0f9559f"]]);
971
+ const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-b0f9559f"]]);
908
972
 
909
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
973
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
910
974
  __name: "KdsButton",
911
975
  props: {
912
976
  size: {},
@@ -959,7 +1023,7 @@ const resolveNuxtLinkComponent = () => {
959
1023
  return fallbackComponent;
960
1024
  };
961
1025
 
962
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
1026
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
963
1027
  __name: "KdsLinkButton",
964
1028
  props: {
965
1029
  size: {},
@@ -995,7 +1059,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
995
1059
  }
996
1060
  });
997
1061
 
998
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
1062
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
999
1063
  __name: "KdsToggleButton",
1000
1064
  props: /* @__PURE__ */ mergeModels({
1001
1065
  size: {},
@@ -1030,9 +1094,9 @@ const kdsToggleButtonVariant = {
1030
1094
  };
1031
1095
  const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
1032
1096
 
1033
- const _hoisted_1$l = ["data-visible"];
1034
- const _hoisted_2$a = ["data-visible"];
1035
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
1097
+ const _hoisted_1$p = ["data-visible"];
1098
+ const _hoisted_2$d = ["data-visible"];
1099
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
1036
1100
  __name: "KdsProgressButton",
1037
1101
  props: /* @__PURE__ */ mergeModels({
1038
1102
  size: { default: "medium" },
@@ -1095,7 +1159,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1095
1159
  name: props.leadingIcon,
1096
1160
  size: iconSize.value
1097
1161
  }, null, 8, ["name", "size"])
1098
- ], 8, _hoisted_1$l),
1162
+ ], 8, _hoisted_1$p),
1099
1163
  createElementVNode("span", {
1100
1164
  class: "spinner",
1101
1165
  "data-visible": state.value === "progress"
@@ -1104,7 +1168,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1104
1168
  size: iconSize.value,
1105
1169
  variant: props.variant === "filled" ? "onPrimary" : "onSurface"
1106
1170
  }, null, 8, ["size", "variant"])
1107
- ], 8, _hoisted_2$a)
1171
+ ], 8, _hoisted_2$d)
1108
1172
  ], 2)
1109
1173
  ]),
1110
1174
  _: 1
@@ -1113,7 +1177,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1113
1177
  }
1114
1178
  });
1115
1179
 
1116
- const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-ec08a9ba"]]);
1180
+ const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-ec08a9ba"]]);
1117
1181
 
1118
1182
  const kdsProgressButtonState = {
1119
1183
  DEFAULT: "default",
@@ -1137,9 +1201,9 @@ const kdsButtonVariant = {
1137
1201
  };
1138
1202
  const kdsButtonVariants = Object.values(kdsButtonVariant);
1139
1203
 
1140
- const _hoisted_1$k = { class: "kds-label-wrapper" };
1141
- const _hoisted_2$9 = ["id", "for", "title"];
1142
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
1204
+ const _hoisted_1$o = { class: "kds-label-wrapper" };
1205
+ const _hoisted_2$c = ["id", "for", "title"];
1206
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1143
1207
  __name: "KdsLabel",
1144
1208
  props: {
1145
1209
  label: {},
@@ -1156,7 +1220,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1156
1220
  const labelEl = useTemplateRef("labelEl");
1157
1221
  const { isTruncated } = useKdsIsTruncated(labelEl);
1158
1222
  return (_ctx, _cache) => {
1159
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
1223
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
1160
1224
  createElementVNode("label", {
1161
1225
  id: props.id,
1162
1226
  ref_key: "labelEl",
@@ -1164,7 +1228,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1164
1228
  for: props.for,
1165
1229
  class: "label",
1166
1230
  title: unref(isTruncated) ? props.label : void 0
1167
- }, toDisplayString(props.label), 9, _hoisted_2$9),
1231
+ }, toDisplayString(props.label), 9, _hoisted_2$c),
1168
1232
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
1169
1233
  key: 0,
1170
1234
  content: props.description,
@@ -1175,11 +1239,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1175
1239
  }
1176
1240
  });
1177
1241
 
1178
- const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-1a5dc1ba"]]);
1242
+ const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1a5dc1ba"]]);
1179
1243
 
1180
- const _hoisted_1$j = ["id"];
1181
- const _hoisted_2$8 = { class: "subtext-text" };
1182
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1244
+ const _hoisted_1$n = ["id"];
1245
+ const _hoisted_2$b = { class: "subtext-text" };
1246
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
1183
1247
  __name: "KdsSubText",
1184
1248
  props: {
1185
1249
  id: {},
@@ -1210,27 +1274,27 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1210
1274
  variant: "onSurface",
1211
1275
  "aria-hidden": "true"
1212
1276
  })) : createCommentVNode("", true),
1213
- createElementVNode("span", _hoisted_2$8, toDisplayString(props.subText), 1)
1214
- ], 10, _hoisted_1$j)) : createCommentVNode("", true);
1277
+ createElementVNode("span", _hoisted_2$b, toDisplayString(props.subText), 1)
1278
+ ], 10, _hoisted_1$n)) : createCommentVNode("", true);
1215
1279
  };
1216
1280
  }
1217
1281
  });
1218
1282
 
1219
- const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-df9a85a4"]]);
1283
+ const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-df9a85a4"]]);
1220
1284
 
1221
- const _hoisted_1$i = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
1222
- const _hoisted_2$7 = { class: "control" };
1223
- const _hoisted_3$6 = {
1285
+ const _hoisted_1$m = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
1286
+ const _hoisted_2$a = { class: "control" };
1287
+ const _hoisted_3$8 = {
1224
1288
  key: 0,
1225
1289
  class: "content"
1226
1290
  };
1227
- const _hoisted_4$4 = { class: "label" };
1228
- const _hoisted_5$2 = ["id"];
1229
- const _hoisted_6$2 = {
1291
+ const _hoisted_4$6 = { class: "label" };
1292
+ const _hoisted_5$3 = ["id"];
1293
+ const _hoisted_6$3 = {
1230
1294
  key: 0,
1231
1295
  class: "subtext-wrapper"
1232
1296
  };
1233
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
1297
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1234
1298
  __name: "BaseCheckbox",
1235
1299
  props: /* @__PURE__ */ mergeModels({
1236
1300
  disabled: { type: Boolean, default: false },
@@ -1303,7 +1367,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1303
1367
  role: "checkbox",
1304
1368
  onClick: handleClick
1305
1369
  }, [
1306
- createElementVNode("div", _hoisted_2$7, [
1370
+ createElementVNode("div", _hoisted_2$a, [
1307
1371
  icon.value ? (openBlock(), createBlock(KdsIcon, {
1308
1372
  key: 0,
1309
1373
  name: icon.value,
@@ -1311,16 +1375,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1311
1375
  size: "xsmall"
1312
1376
  }, null, 8, ["name"])) : createCommentVNode("", true)
1313
1377
  ]),
1314
- props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
1315
- createElementVNode("div", _hoisted_4$4, toDisplayString(props.label), 1),
1378
+ props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
1379
+ createElementVNode("div", _hoisted_4$6, toDisplayString(props.label), 1),
1316
1380
  props.helperText ? (openBlock(), createElementBlock("div", {
1317
1381
  key: 0,
1318
1382
  id: unref(helperId),
1319
1383
  class: "helper-text"
1320
- }, toDisplayString(props.helperText), 9, _hoisted_5$2)) : createCommentVNode("", true)
1384
+ }, toDisplayString(props.helperText), 9, _hoisted_5$3)) : createCommentVNode("", true)
1321
1385
  ])) : createCommentVNode("", true)
1322
- ], 10, _hoisted_1$i),
1323
- props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
1386
+ ], 10, _hoisted_1$m),
1387
+ props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
1324
1388
  createVNode(KdsSubText, {
1325
1389
  id: unref(descriptionId),
1326
1390
  "sub-text": props.subText,
@@ -1333,9 +1397,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1333
1397
  }
1334
1398
  });
1335
1399
 
1336
- const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-32f17780"]]);
1400
+ const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-32f17780"]]);
1337
1401
 
1338
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
1402
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1339
1403
  __name: "KdsCheckbox",
1340
1404
  props: /* @__PURE__ */ mergeModels({
1341
1405
  disabled: { type: Boolean, default: false },
@@ -1367,8 +1431,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1367
1431
  }
1368
1432
  });
1369
1433
 
1370
- const _hoisted_1$h = ["id", "aria-labelledby", "aria-describedby"];
1371
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1434
+ const _hoisted_1$l = ["id", "aria-labelledby", "aria-describedby"];
1435
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
1372
1436
  __name: "KdsCheckboxGroup",
1373
1437
  props: /* @__PURE__ */ mergeModels({
1374
1438
  id: {},
@@ -1452,12 +1516,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1452
1516
  "preserve-sub-text-space": props.preserveSubTextSpace,
1453
1517
  error: hasError.value
1454
1518
  }, null, 8, ["id", "sub-text", "preserve-sub-text-space", "error"])
1455
- ], 8, _hoisted_1$h);
1519
+ ], 8, _hoisted_1$l);
1456
1520
  };
1457
1521
  }
1458
1522
  });
1459
1523
 
1460
- const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-c38eeda5"]]);
1524
+ const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c38eeda5"]]);
1461
1525
 
1462
1526
  const kdsCheckboxGroupAlignment = {
1463
1527
  VERTICAL: "vertical",
@@ -1473,19 +1537,19 @@ const kdsCheckboxValue = {
1473
1537
  };
1474
1538
  const kdsCheckboxValues = Object.values(kdsCheckboxValue);
1475
1539
 
1476
- const _hoisted_1$g = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
1477
- const _hoisted_2$6 = { class: "control" };
1478
- const _hoisted_3$5 = {
1540
+ const _hoisted_1$k = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
1541
+ const _hoisted_2$9 = { class: "control" };
1542
+ const _hoisted_3$7 = {
1479
1543
  key: 0,
1480
1544
  class: "dot",
1481
1545
  viewBox: "0 0 2 2",
1482
1546
  "aria-hidden": "true",
1483
1547
  focusable: "false"
1484
1548
  };
1485
- const _hoisted_4$3 = { class: "content" };
1486
- const _hoisted_5$1 = { class: "label" };
1487
- const _hoisted_6$1 = ["id"];
1488
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1549
+ const _hoisted_4$5 = { class: "content" };
1550
+ const _hoisted_5$2 = { class: "label" };
1551
+ const _hoisted_6$2 = ["id"];
1552
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1489
1553
  __name: "KdsRadioButton",
1490
1554
  props: /* @__PURE__ */ mergeModels({
1491
1555
  text: {},
@@ -1525,8 +1589,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1525
1589
  type: "button",
1526
1590
  onClick: handleClick
1527
1591
  }, [
1528
- createElementVNode("div", _hoisted_2$6, [
1529
- modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$5, [..._cache[0] || (_cache[0] = [
1592
+ createElementVNode("div", _hoisted_2$9, [
1593
+ modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$7, [..._cache[0] || (_cache[0] = [
1530
1594
  createElementVNode("circle", {
1531
1595
  cx: "1",
1532
1596
  cy: "1",
@@ -1534,20 +1598,20 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1534
1598
  }, null, -1)
1535
1599
  ])])) : createCommentVNode("", true)
1536
1600
  ]),
1537
- createElementVNode("div", _hoisted_4$3, [
1538
- createElementVNode("div", _hoisted_5$1, toDisplayString(props.text), 1),
1601
+ createElementVNode("div", _hoisted_4$5, [
1602
+ createElementVNode("div", _hoisted_5$2, toDisplayString(props.text), 1),
1539
1603
  props.helperText ? (openBlock(), createElementBlock("div", {
1540
1604
  key: 0,
1541
1605
  id: `${unref(id)}-helper`,
1542
1606
  class: "helper-text"
1543
- }, toDisplayString(props.helperText), 9, _hoisted_6$1)) : createCommentVNode("", true)
1607
+ }, toDisplayString(props.helperText), 9, _hoisted_6$2)) : createCommentVNode("", true)
1544
1608
  ])
1545
- ], 10, _hoisted_1$g);
1609
+ ], 10, _hoisted_1$k);
1546
1610
  };
1547
1611
  }
1548
1612
  });
1549
1613
 
1550
- const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-27c361e4"]]);
1614
+ const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-27c361e4"]]);
1551
1615
 
1552
1616
  const useRadioSelection = ({
1553
1617
  selectedId,
@@ -1669,8 +1733,8 @@ const useRadioSelection = ({
1669
1733
  };
1670
1734
  };
1671
1735
 
1672
- const _hoisted_1$f = ["id", "aria-labelledby", "aria-describedby"];
1673
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1736
+ const _hoisted_1$j = ["id", "aria-labelledby", "aria-describedby"];
1737
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1674
1738
  __name: "KdsRadioButtonGroup",
1675
1739
  props: /* @__PURE__ */ mergeModels({
1676
1740
  id: {},
@@ -1749,15 +1813,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1749
1813
  "preserve-sub-text-space": props.preserveSubTextSpace,
1750
1814
  error: unref(hasError)
1751
1815
  }, null, 8, ["id", "sub-text", "preserve-sub-text-space", "error"])
1752
- ], 8, _hoisted_1$f);
1816
+ ], 8, _hoisted_1$j);
1753
1817
  };
1754
1818
  }
1755
1819
  });
1756
1820
 
1757
- const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-9cc4dcdd"]]);
1821
+ const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9cc4dcdd"]]);
1758
1822
 
1759
- const _hoisted_1$e = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
1760
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
1823
+ const _hoisted_1$i = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
1824
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1761
1825
  __name: "ValueSwitchItem",
1762
1826
  props: {
1763
1827
  selected: { type: Boolean },
@@ -1807,12 +1871,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1807
1871
  name: props.trailingIcon,
1808
1872
  size: props.size
1809
1873
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
1810
- ], 10, _hoisted_1$e);
1874
+ ], 10, _hoisted_1$i);
1811
1875
  };
1812
1876
  }
1813
1877
  });
1814
1878
 
1815
- const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-93f3f577"]]);
1879
+ const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-93f3f577"]]);
1816
1880
 
1817
1881
  const useValueSwitchIconHiding = ({
1818
1882
  width,
@@ -1863,8 +1927,8 @@ const useValueSwitchIconHiding = ({
1863
1927
  };
1864
1928
  };
1865
1929
 
1866
- const _hoisted_1$d = ["id", "aria-invalid", "aria-labelledby", "aria-describedby"];
1867
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1930
+ const _hoisted_1$h = ["id", "aria-invalid", "aria-labelledby", "aria-describedby"];
1931
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1868
1932
  __name: "KdsValueSwitch",
1869
1933
  props: /* @__PURE__ */ mergeModels({
1870
1934
  id: {},
@@ -1957,12 +2021,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1957
2021
  "preserve-sub-text-space": props.preserveSubTextSpace,
1958
2022
  error: props.error
1959
2023
  }, null, 8, ["id", "sub-text", "preserve-sub-text-space", "error"])
1960
- ], 10, _hoisted_1$d);
2024
+ ], 10, _hoisted_1$h);
1961
2025
  };
1962
2026
  }
1963
2027
  });
1964
2028
 
1965
- const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-666d4c10"]]);
2029
+ const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-666d4c10"]]);
1966
2030
 
1967
2031
  const kdsRadioButtonGroupAlignment = {
1968
2032
  VERTICAL: "vertical",
@@ -1982,12 +2046,12 @@ const kdsValueSwitchVariant = {
1982
2046
  };
1983
2047
  const kdsValueSwitchVariants = Object.values(kdsValueSwitchVariant);
1984
2048
 
1985
- const _hoisted_1$c = ["id", "role", "aria-label"];
1986
- const _hoisted_2$5 = {
2049
+ const _hoisted_1$g = ["id", "role", "aria-label"];
2050
+ const _hoisted_2$8 = {
1987
2051
  key: 0,
1988
2052
  class: "kds-popover-default-content"
1989
2053
  };
1990
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
2054
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1991
2055
  __name: "KdsPopover",
1992
2056
  props: /* @__PURE__ */ mergeModels({
1993
2057
  placement: { default: "bottom-left" },
@@ -2028,16 +2092,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2028
2092
  onToggle: _cache[0] || (_cache[0] = ($event) => open.value = $event.newState === "open")
2029
2093
  }, [
2030
2094
  open.value ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
2031
- props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$5, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2095
+ props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$8, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2032
2096
  ], true) : createCommentVNode("", true)
2033
- ], 46, _hoisted_1$c);
2097
+ ], 46, _hoisted_1$g);
2034
2098
  };
2035
2099
  }
2036
2100
  });
2037
2101
 
2038
- const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-9125d023"]]);
2102
+ const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-9125d023"]]);
2039
2103
 
2040
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
2104
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2041
2105
  __name: "BaseFormFieldWrapper",
2042
2106
  props: {
2043
2107
  id: {},
@@ -2089,42 +2153,39 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2089
2153
  }
2090
2154
  });
2091
2155
 
2092
- const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5d99c134"]]);
2156
+ const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-5d99c134"]]);
2093
2157
 
2094
- const _hoisted_1$b = {
2158
+ const _hoisted_1$f = {
2095
2159
  key: 0,
2096
2160
  class: "icon-wrapper leading"
2097
2161
  };
2098
- const _hoisted_2$4 = {
2162
+ const _hoisted_2$7 = {
2099
2163
  key: 1,
2100
2164
  class: "leading-slot"
2101
2165
  };
2102
- const _hoisted_3$4 = ["id", "value", "type", "inputmode", "placeholder", "disabled", "readonly", "required", "name", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant"];
2103
- const _hoisted_4$2 = ["aria-disabled"];
2104
- const _hoisted_5 = {
2166
+ const _hoisted_3$6 = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant"];
2167
+ const _hoisted_4$4 = ["aria-disabled"];
2168
+ const _hoisted_5$1 = {
2105
2169
  key: 4,
2106
2170
  class: "trailing-slot"
2107
2171
  };
2108
- const _hoisted_6 = {
2172
+ const _hoisted_6$1 = {
2109
2173
  key: 5,
2110
2174
  class: "icon-wrapper trailing"
2111
2175
  };
2112
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
2176
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
2113
2177
  __name: "BaseInput",
2114
2178
  props: /* @__PURE__ */ mergeModels({
2115
- id: {},
2179
+ id: { default: void 0 },
2116
2180
  type: { default: "text" },
2117
2181
  min: { default: void 0 },
2118
2182
  max: { default: void 0 },
2119
2183
  step: { default: void 0 },
2120
2184
  placeholder: { default: void 0 },
2121
2185
  disabled: { type: Boolean, default: false },
2122
- readonly: { type: Boolean, default: false },
2123
- required: { type: Boolean, default: false },
2124
2186
  leadingIcon: { default: void 0 },
2125
2187
  trailingIcon: { default: void 0 },
2126
2188
  error: { type: Boolean, default: false },
2127
- name: { default: void 0 },
2128
2189
  autocomplete: { default: void 0 },
2129
2190
  ariaLabel: { default: void 0 },
2130
2191
  ariaLabelledby: { default: void 0 },
@@ -2186,13 +2247,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2186
2247
  }),
2187
2248
  onClick: handleContainerClick
2188
2249
  }, [
2189
- props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
2250
+ props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
2190
2251
  props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
2191
2252
  key: 0,
2192
2253
  name: props.leadingIcon
2193
2254
  }, null, 8, ["name"])) : createCommentVNode("", true)
2194
2255
  ])) : createCommentVNode("", true),
2195
- _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
2256
+ _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
2196
2257
  renderSlot(_ctx.$slots, "leading", {}, void 0, true)
2197
2258
  ])) : createCommentVNode("", true),
2198
2259
  createElementVNode("input", {
@@ -2203,9 +2264,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2203
2264
  inputmode: props.inputmode,
2204
2265
  placeholder: props.placeholder,
2205
2266
  disabled: props.disabled,
2206
- readonly: props.readonly,
2207
- required: props.required,
2208
- name: props.name,
2209
2267
  autocomplete: props.autocomplete,
2210
2268
  min: props.min,
2211
2269
  max: props.max,
@@ -2226,7 +2284,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2226
2284
  onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur", $event)),
2227
2285
  onKeydown: _cache[2] || (_cache[2] = ($event) => emit("keydown", $event)),
2228
2286
  onClick: _cache[3] || (_cache[3] = ($event) => emit("click", $event))
2229
- }, null, 42, _hoisted_3$4),
2287
+ }, null, 42, _hoisted_3$6),
2230
2288
  props.unit ? (openBlock(), createElementBlock("span", {
2231
2289
  key: 2,
2232
2290
  class: normalizeClass({
@@ -2235,8 +2293,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2235
2293
  disabled: props.disabled
2236
2294
  }),
2237
2295
  "aria-disabled": props.disabled || void 0
2238
- }, toDisplayString(props.unit), 11, _hoisted_4$2)) : createCommentVNode("", true),
2239
- props.clearable && hasValue.value && !props.disabled && !props.readonly ? (openBlock(), createBlock(_sfc_main$v, {
2296
+ }, toDisplayString(props.unit), 11, _hoisted_4$4)) : createCommentVNode("", true),
2297
+ props.clearable && hasValue.value && !props.disabled ? (openBlock(), createBlock(_sfc_main$B, {
2240
2298
  key: 3,
2241
2299
  class: "clear-button",
2242
2300
  type: "button",
@@ -2247,10 +2305,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2247
2305
  title: "Clear",
2248
2306
  onClick: withModifiers(clearAndFocusInput, ["stop"])
2249
2307
  })) : createCommentVNode("", true),
2250
- _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5, [
2308
+ _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
2251
2309
  renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
2252
2310
  ])) : createCommentVNode("", true),
2253
- props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6, [
2311
+ props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
2254
2312
  createVNode(KdsIcon, {
2255
2313
  name: props.trailingIcon
2256
2314
  }, null, 8, ["name"])
@@ -2260,9 +2318,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2260
2318
  }
2261
2319
  });
2262
2320
 
2263
- const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-44072f2e"]]);
2321
+ const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-fad4fd1f"]]);
2264
2322
 
2265
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
2323
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2266
2324
  __name: "KdsTextInput",
2267
2325
  props: /* @__PURE__ */ mergeModels({
2268
2326
  description: {},
@@ -2275,9 +2333,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2275
2333
  preserveSubTextSpace: { type: Boolean, default: false },
2276
2334
  placeholder: {},
2277
2335
  disabled: { type: Boolean, default: false },
2278
- readonly: { type: Boolean, default: false },
2279
- required: { type: Boolean, default: false },
2280
- name: {},
2281
2336
  autocomplete: {}
2282
2337
  }, {
2283
2338
  "modelValue": { default: "" },
@@ -2303,12 +2358,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2303
2358
  type: "text",
2304
2359
  placeholder: props.placeholder,
2305
2360
  disabled: props.disabled,
2306
- readonly: props.readonly,
2307
- required: props.required,
2308
2361
  error: props.error,
2309
- name: props.name,
2310
2362
  autocomplete: props.autocomplete
2311
- }), null, 16, ["modelValue", "placeholder", "disabled", "readonly", "required", "error", "name", "autocomplete"])
2363
+ }), null, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"])
2312
2364
  ]),
2313
2365
  _: 1
2314
2366
  }, 16);
@@ -2474,9 +2526,9 @@ const usePointerHandler = (updateFromEvent) => {
2474
2526
  };
2475
2527
  };
2476
2528
 
2477
- const _hoisted_1$a = { class: "kds-color-picker" };
2478
- const _hoisted_2$3 = ["aria-valuetext"];
2479
- const _hoisted_3$3 = ["aria-valuenow", "aria-valuetext"];
2529
+ const _hoisted_1$e = { class: "kds-color-picker" };
2530
+ const _hoisted_2$6 = ["aria-valuetext"];
2531
+ const _hoisted_3$5 = ["aria-valuenow", "aria-valuetext"];
2480
2532
  const DEFAULT_HUE_DEG = 270;
2481
2533
  const DEFAULT_SATURATION = 0.8;
2482
2534
  const DEFAULT_VALUE = 0.9;
@@ -2488,7 +2540,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
2488
2540
  const HUE_KEYBOARD_STEP_DEG = 1;
2489
2541
  const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
2490
2542
  const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
2491
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
2543
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2492
2544
  __name: "ColorPicker",
2493
2545
  props: {
2494
2546
  "modelValue": { default: "" },
@@ -2639,7 +2691,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2639
2691
  }
2640
2692
  };
2641
2693
  return (_ctx, _cache) => {
2642
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
2694
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
2643
2695
  createElementVNode("div", {
2644
2696
  ref_key: "colorspaceEl",
2645
2697
  ref: colorspaceEl,
@@ -2670,7 +2722,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2670
2722
  class: "handle",
2671
2723
  style: normalizeStyle(colorspaceHandleStyle.value)
2672
2724
  }, null, 4)
2673
- ], 44, _hoisted_2$3),
2725
+ ], 44, _hoisted_2$6),
2674
2726
  createElementVNode("div", {
2675
2727
  ref_key: "hueEl",
2676
2728
  ref: hueEl,
@@ -2702,8 +2754,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2702
2754
  class: "handle",
2703
2755
  style: normalizeStyle(hueHandleStyle.value)
2704
2756
  }, null, 4)
2705
- ], 40, _hoisted_3$3),
2706
- createVNode(_sfc_main$f, {
2757
+ ], 40, _hoisted_3$5),
2758
+ createVNode(_sfc_main$l, {
2707
2759
  "model-value": modelValue.value,
2708
2760
  "aria-label": "Color hex value",
2709
2761
  placeholder: "#FFFFFF",
@@ -2714,7 +2766,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2714
2766
  }
2715
2767
  });
2716
2768
 
2717
- const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-180fafdd"]]);
2769
+ const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-180fafdd"]]);
2718
2770
 
2719
2771
  const HEX_LENGTH_1 = 1;
2720
2772
  const HEX_LENGTH_2 = 2;
@@ -2774,7 +2826,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
2774
2826
  return { handleFocusOut };
2775
2827
  };
2776
2828
 
2777
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2829
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2778
2830
  __name: "KdsColorInput",
2779
2831
  props: /* @__PURE__ */ mergeModels({
2780
2832
  description: {},
@@ -2787,7 +2839,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2787
2839
  preserveSubTextSpace: { type: Boolean, default: false },
2788
2840
  placeholder: { default: "#FFFFFF" },
2789
2841
  disabled: { type: Boolean, default: false },
2790
- name: { default: void 0 },
2791
2842
  autocomplete: { default: void 0 }
2792
2843
  }, {
2793
2844
  "modelValue": { default: "" },
@@ -2817,7 +2868,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2817
2868
  placeholder: props.placeholder,
2818
2869
  disabled: props.disabled,
2819
2870
  error: props.error,
2820
- name: props.name,
2821
2871
  autocomplete: props.autocomplete
2822
2872
  }), {
2823
2873
  leading: withCtx(() => [
@@ -2828,7 +2878,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2828
2878
  }, null, 8, ["color"])
2829
2879
  ]),
2830
2880
  trailing: withCtx(() => [
2831
- createVNode(unref(_sfc_main$t), {
2881
+ createVNode(unref(_sfc_main$z), {
2832
2882
  modelValue: open.value,
2833
2883
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
2834
2884
  size: "xsmall",
@@ -2842,7 +2892,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2842
2892
  }, null, 8, ["modelValue", "aria-controls", "disabled", "title"])
2843
2893
  ]),
2844
2894
  _: 1
2845
- }, 16, ["modelValue", "placeholder", "disabled", "error", "name", "autocomplete"]),
2895
+ }, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"]),
2846
2896
  createVNode(KdsPopover, {
2847
2897
  ref_key: "popoverEl",
2848
2898
  ref: popoverEl,
@@ -2989,7 +3039,7 @@ const createKdsNumberParser = (params) => {
2989
3039
  };
2990
3040
  };
2991
3041
 
2992
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
3042
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2993
3043
  __name: "KdsNumberInput",
2994
3044
  props: /* @__PURE__ */ mergeModels({
2995
3045
  description: {},
@@ -3002,16 +3052,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3002
3052
  preserveSubTextSpace: { type: Boolean, default: false },
3003
3053
  placeholder: {},
3004
3054
  disabled: { type: Boolean, default: false },
3005
- readonly: { type: Boolean, default: false },
3006
- required: { type: Boolean, default: false },
3007
- name: {},
3008
3055
  autocomplete: {},
3009
3056
  unit: { default: "" },
3010
3057
  min: {},
3011
3058
  max: {},
3012
3059
  step: { default: 1 }
3013
3060
  }, {
3014
- "modelValue": { default: NaN },
3061
+ "modelValue": { default: Number.NaN },
3015
3062
  "modelModifiers": {}
3016
3063
  }),
3017
3064
  emits: ["update:modelValue"],
@@ -3034,7 +3081,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3034
3081
  });
3035
3082
  const clamp = (value) => {
3036
3083
  if (!Number.isFinite(value)) {
3037
- return NaN;
3084
+ return Number.NaN;
3038
3085
  }
3039
3086
  let result = value;
3040
3087
  if (props.min !== void 0 && !Number.isNaN(props.min)) {
@@ -3056,7 +3103,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3056
3103
  { immediate: true }
3057
3104
  );
3058
3105
  const canDecrease = computed(() => {
3059
- if (props.disabled || props.readonly) {
3106
+ if (props.disabled) {
3060
3107
  return false;
3061
3108
  }
3062
3109
  if (props.min === void 0 || Number.isNaN(props.min)) {
@@ -3068,7 +3115,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3068
3115
  return modelValue.value > props.min;
3069
3116
  });
3070
3117
  const canIncrease = computed(() => {
3071
- if (props.disabled || props.readonly) {
3118
+ if (props.disabled) {
3072
3119
  return false;
3073
3120
  }
3074
3121
  if (props.max === void 0 || Number.isNaN(props.max)) {
@@ -3091,7 +3138,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3091
3138
  localValue.value = numberParser.value.formatForDisplay(next);
3092
3139
  };
3093
3140
  const handleKeydown = (event) => {
3094
- if (props.disabled || props.readonly) {
3141
+ if (props.disabled) {
3095
3142
  return;
3096
3143
  }
3097
3144
  if (event.key === "ArrowUp" && canIncrease.value) {
@@ -3131,10 +3178,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3131
3178
  inputmode: props.step >= 1 ? "numeric" : "decimal",
3132
3179
  placeholder: props.placeholder,
3133
3180
  disabled: props.disabled,
3134
- readonly: props.readonly,
3135
- required: props.required,
3136
3181
  error: props.error,
3137
- name: props.name,
3138
3182
  autocomplete: props.autocomplete,
3139
3183
  unit: props.unit,
3140
3184
  role: "spinbutton",
@@ -3148,7 +3192,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3148
3192
  onBlur: handleBlur
3149
3193
  }), {
3150
3194
  trailing: withCtx(() => [
3151
- createVNode(_sfc_main$v, {
3195
+ createVNode(_sfc_main$B, {
3152
3196
  type: "button",
3153
3197
  size: "xsmall",
3154
3198
  variant: "outlined",
@@ -3157,7 +3201,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3157
3201
  disabled: !canDecrease.value,
3158
3202
  onClick: _cache[0] || (_cache[0] = ($event) => adjustByStep(-1))
3159
3203
  }, null, 8, ["aria-label", "disabled"]),
3160
- createVNode(_sfc_main$v, {
3204
+ createVNode(_sfc_main$B, {
3161
3205
  type: "button",
3162
3206
  size: "xsmall",
3163
3207
  variant: "outlined",
@@ -3168,7 +3212,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3168
3212
  }, null, 8, ["aria-label", "disabled"])
3169
3213
  ]),
3170
3214
  _: 1
3171
- }, 16, ["model-value", "inputmode", "placeholder", "disabled", "readonly", "required", "error", "name", "autocomplete", "unit", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"])
3215
+ }, 16, ["model-value", "inputmode", "placeholder", "disabled", "error", "autocomplete", "unit", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"])
3172
3216
  ]),
3173
3217
  _: 1
3174
3218
  }, 16);
@@ -3263,7 +3307,7 @@ const parseRegexToPatternInputValue = (regex, options) => {
3263
3307
  return wildcard ?? body;
3264
3308
  };
3265
3309
 
3266
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
3310
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3267
3311
  __name: "KdsPatternInput",
3268
3312
  props: /* @__PURE__ */ mergeModels({
3269
3313
  description: {},
@@ -3276,9 +3320,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3276
3320
  preserveSubTextSpace: { type: Boolean, default: false },
3277
3321
  placeholder: {},
3278
3322
  disabled: { type: Boolean, default: false },
3279
- readonly: { type: Boolean, default: false },
3280
- required: { type: Boolean, default: false },
3281
- name: {},
3282
3323
  autocomplete: {}
3283
3324
  }, {
3284
3325
  "modelValue": { default: "" },
@@ -3338,16 +3379,13 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3338
3379
  type: "text",
3339
3380
  placeholder: props.placeholder,
3340
3381
  disabled: props.disabled,
3341
- readonly: props.readonly,
3342
- required: props.required,
3343
3382
  error: props.error,
3344
- name: props.name,
3345
3383
  autocomplete: props.autocomplete,
3346
3384
  "leading-icon": "filter",
3347
3385
  clearable: ""
3348
3386
  }), {
3349
3387
  trailing: withCtx(() => [
3350
- createVNode(_sfc_main$t, {
3388
+ createVNode(_sfc_main$z, {
3351
3389
  modelValue: caseSensitive.value,
3352
3390
  "onUpdate:modelValue": [
3353
3391
  _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
@@ -3358,9 +3396,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3358
3396
  "leading-icon": "case-sensitive",
3359
3397
  title: caseSensitiveAriaLabel.value,
3360
3398
  "aria-label": caseSensitiveAriaLabel.value,
3361
- disabled: props.disabled || props.readonly
3399
+ disabled: props.disabled
3362
3400
  }, null, 8, ["modelValue", "title", "aria-label", "disabled"]),
3363
- createVNode(_sfc_main$t, {
3401
+ createVNode(_sfc_main$z, {
3364
3402
  modelValue: excludeMatches.value,
3365
3403
  "onUpdate:modelValue": [
3366
3404
  _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
@@ -3371,9 +3409,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3371
3409
  "leading-icon": "arrows-order",
3372
3410
  title: excludeMatchesAriaLabel.value,
3373
3411
  "aria-label": excludeMatchesAriaLabel.value,
3374
- disabled: props.disabled || props.readonly
3412
+ disabled: props.disabled
3375
3413
  }, null, 8, ["modelValue", "title", "aria-label", "disabled"]),
3376
- createVNode(_sfc_main$t, {
3414
+ createVNode(_sfc_main$z, {
3377
3415
  modelValue: useRegex.value,
3378
3416
  "onUpdate:modelValue": [
3379
3417
  _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
@@ -3384,11 +3422,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3384
3422
  "leading-icon": "regex",
3385
3423
  title: patternModeAriaLabel.value,
3386
3424
  "aria-label": patternModeAriaLabel.value,
3387
- disabled: props.disabled || props.readonly
3425
+ disabled: props.disabled
3388
3426
  }, null, 8, ["modelValue", "title", "aria-label", "disabled"])
3389
3427
  ]),
3390
3428
  _: 1
3391
- }, 16, ["modelValue", "placeholder", "disabled", "readonly", "required", "error", "name", "autocomplete"])
3429
+ }, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"])
3392
3430
  ]),
3393
3431
  _: 1
3394
3432
  }, 16);
@@ -3396,7 +3434,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3396
3434
  }
3397
3435
  });
3398
3436
 
3399
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
3437
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
3400
3438
  __name: "KdsSearchInput",
3401
3439
  props: /* @__PURE__ */ mergeModels({
3402
3440
  description: {},
@@ -3409,18 +3447,16 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3409
3447
  preserveSubTextSpace: { type: Boolean, default: false },
3410
3448
  placeholder: { default: "Search" },
3411
3449
  disabled: { type: Boolean, default: false },
3412
- readonly: { type: Boolean, default: false },
3413
- required: { type: Boolean, default: false },
3414
- name: {},
3415
3450
  autocomplete: {}
3416
3451
  }, {
3417
3452
  "modelValue": { default: "" },
3418
3453
  "modelModifiers": {}
3419
3454
  }),
3420
- emits: ["update:modelValue"],
3421
- setup(__props, { expose: __expose }) {
3455
+ emits: /* @__PURE__ */ mergeModels(["focus", "blur", "keydown"], ["update:modelValue"]),
3456
+ setup(__props, { expose: __expose, emit: __emit }) {
3422
3457
  const props = __props;
3423
3458
  const modelValue = useModel(__props, "modelValue");
3459
+ const emit = __emit;
3424
3460
  const baseInput = useTemplateRef("baseInput");
3425
3461
  __expose({
3426
3462
  focus: () => baseInput.value?.focus()
@@ -3437,14 +3473,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3437
3473
  type: "search",
3438
3474
  placeholder: props.placeholder,
3439
3475
  disabled: props.disabled,
3440
- readonly: props.readonly,
3441
- required: props.required,
3442
3476
  error: props.error,
3443
- name: props.name,
3444
3477
  autocomplete: props.autocomplete,
3445
3478
  "leading-icon": "search",
3446
- clearable: true
3447
- }), null, 16, ["modelValue", "placeholder", "disabled", "readonly", "required", "error", "name", "autocomplete"])
3479
+ clearable: true,
3480
+ onFocus: _cache[1] || (_cache[1] = ($event) => emit("focus", $event)),
3481
+ onBlur: _cache[2] || (_cache[2] = ($event) => emit("blur", $event)),
3482
+ onKeydown: _cache[3] || (_cache[3] = ($event) => emit("keydown", $event))
3483
+ }), null, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"])
3448
3484
  ]),
3449
3485
  _: 1
3450
3486
  }, 16);
@@ -3452,8 +3488,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3452
3488
  }
3453
3489
  });
3454
3490
 
3455
- const _hoisted_1$9 = ["rows", "placeholder", "disabled", "readonly", "required", "name", "autocomplete"];
3456
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3491
+ const _hoisted_1$d = ["rows", "placeholder", "disabled", "autocomplete"];
3492
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3457
3493
  __name: "KdsTextarea",
3458
3494
  props: /* @__PURE__ */ mergeModels({
3459
3495
  description: {},
@@ -3466,9 +3502,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3466
3502
  preserveSubTextSpace: { type: Boolean, default: false },
3467
3503
  placeholder: { default: "" },
3468
3504
  disabled: { type: Boolean, default: false },
3469
- readonly: { type: Boolean, default: false },
3470
- required: { type: Boolean, default: false },
3471
- name: {},
3472
3505
  autocomplete: {},
3473
3506
  rows: { default: 3 }
3474
3507
  }, {
@@ -3512,11 +3545,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3512
3545
  rows: normalizedRows.value,
3513
3546
  placeholder: props.placeholder,
3514
3547
  disabled: props.disabled,
3515
- readonly: props.readonly,
3516
- required: props.required,
3517
- name: props.name,
3518
3548
  autocomplete: props.autocomplete
3519
- }), null, 16, _hoisted_1$9), [
3549
+ }), null, 16, _hoisted_1$d), [
3520
3550
  [vModelText, modelValue.value]
3521
3551
  ])
3522
3552
  ]),
@@ -3526,10 +3556,702 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3526
3556
  }
3527
3557
  });
3528
3558
 
3529
- const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-2e4d2d42"]]);
3559
+ const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a2df5fed"]]);
3560
+
3561
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3562
+ __name: "ListItemAccessory",
3563
+ props: {
3564
+ accessory: {},
3565
+ size: {},
3566
+ disabled: { type: Boolean, default: false }
3567
+ },
3568
+ setup(__props) {
3569
+ const props = __props;
3570
+ return (_ctx, _cache) => {
3571
+ return props.accessory.type === "avatar" ? (openBlock(), createBlock(KdsAvatar, {
3572
+ key: 0,
3573
+ title: props.accessory.title,
3574
+ src: props.accessory.src,
3575
+ initials: props.accessory.initials,
3576
+ size: props.size
3577
+ }, null, 8, ["title", "src", "initials", "size"])) : props.accessory.type === "colorSwatch" ? (openBlock(), createBlock(KdsColorSwatch, {
3578
+ key: 1,
3579
+ color: props.accessory.color,
3580
+ title: props.accessory.title,
3581
+ size: props.size
3582
+ }, null, 8, ["color", "title", "size"])) : props.accessory.type === "icon" ? (openBlock(), createBlock(KdsIcon, {
3583
+ key: 2,
3584
+ name: props.accessory.name,
3585
+ size: props.size,
3586
+ disabled: props.disabled
3587
+ }, null, 8, ["name", "size", "disabled"])) : props.accessory.type === "dataType" ? (openBlock(), createBlock(KdsDataType, {
3588
+ key: 3,
3589
+ "icon-name": props.accessory.name,
3590
+ size: props.size,
3591
+ disabled: props.disabled
3592
+ }, null, 8, ["icon-name", "size", "disabled"])) : props.accessory.type === "liveStatus" ? (openBlock(), createBlock(unref(KdsLiveStatus), {
3593
+ key: 4,
3594
+ status: props.accessory.status,
3595
+ title: props.accessory.title,
3596
+ size: props.size
3597
+ }, null, 8, ["status", "title", "size"])) : createCommentVNode("", true);
3598
+ };
3599
+ }
3600
+ });
3601
+
3602
+ const _hoisted_1$c = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
3603
+ const _hoisted_2$5 = {
3604
+ key: 0,
3605
+ class: "leading",
3606
+ "aria-hidden": "true"
3607
+ };
3608
+ const _hoisted_3$4 = ["id"];
3609
+ const _hoisted_4$3 = {
3610
+ class: "trailing",
3611
+ "aria-hidden": "true"
3612
+ };
3613
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3614
+ __name: "BaseDropdown",
3615
+ props: /* @__PURE__ */ mergeModels({
3616
+ text: { default: void 0 },
3617
+ placeholder: {},
3618
+ disabled: { type: Boolean, default: false },
3619
+ error: { type: Boolean, default: false },
3620
+ missing: { type: Boolean, default: false },
3621
+ accessory: { default: void 0 },
3622
+ id: { default: void 0 },
3623
+ ariaLabelledby: { default: void 0 },
3624
+ ariaDescribedby: { default: void 0 },
3625
+ ariaLabel: { default: void 0 },
3626
+ ariaInvalid: { type: Boolean, default: void 0 },
3627
+ popoverId: { default: void 0 }
3628
+ }, {
3629
+ "open": { type: Boolean, ...{ default: false } },
3630
+ "openModifiers": {}
3631
+ }),
3632
+ emits: /* @__PURE__ */ mergeModels(["click", "keydown"], ["update:open"]),
3633
+ setup(__props, { emit: __emit }) {
3634
+ const props = __props;
3635
+ const open = useModel(__props, "open");
3636
+ const valueTextId = useId();
3637
+ const ariaLabelledby = computed(() => {
3638
+ if (props.ariaLabel) {
3639
+ return void 0;
3640
+ }
3641
+ if (!props.ariaLabelledby) {
3642
+ return valueTextId;
3643
+ }
3644
+ return `${props.ariaLabelledby} ${valueTextId}`;
3645
+ });
3646
+ const effectiveAriaLabel = computed(() => {
3647
+ if (!props.ariaLabel) {
3648
+ return void 0;
3649
+ }
3650
+ const displayText = props.text ?? props.placeholder;
3651
+ return `${props.ariaLabel}, ${displayText}`;
3652
+ });
3653
+ const emit = __emit;
3654
+ const onKeydown = (event) => {
3655
+ if (props.disabled) {
3656
+ return;
3657
+ }
3658
+ emit("keydown", event);
3659
+ switch (event.key) {
3660
+ case "ArrowDown":
3661
+ case "ArrowUp":
3662
+ event.preventDefault();
3663
+ if (!open.value) {
3664
+ open.value = true;
3665
+ }
3666
+ break;
3667
+ }
3668
+ };
3669
+ return (_ctx, _cache) => {
3670
+ return openBlock(), createElementBlock("button", {
3671
+ id: props.id,
3672
+ class: normalizeClass(["kds-dropdown-trigger-button", { error: props.error }]),
3673
+ type: "button",
3674
+ "aria-expanded": open.value,
3675
+ "aria-labelledby": ariaLabelledby.value,
3676
+ "aria-describedby": props.ariaDescribedby,
3677
+ "aria-label": effectiveAriaLabel.value,
3678
+ "aria-invalid": props.ariaInvalid,
3679
+ "aria-controls": props.popoverId,
3680
+ "aria-haspopup": "dialog",
3681
+ disabled: props.disabled,
3682
+ onClick: _cache[0] || (_cache[0] = ($event) => !props.disabled && emit("click")),
3683
+ onKeydown
3684
+ }, [
3685
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$5, [
3686
+ createVNode(_sfc_main$e, {
3687
+ accessory: props.accessory,
3688
+ size: "medium"
3689
+ }, null, 8, ["accessory"])
3690
+ ])) : createCommentVNode("", true),
3691
+ createElementVNode("span", {
3692
+ id: unref(valueTextId),
3693
+ class: normalizeClass(["text", {
3694
+ placeholder: !props.text,
3695
+ missing: props.missing
3696
+ }])
3697
+ }, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$4),
3698
+ createElementVNode("span", _hoisted_4$3, [
3699
+ createVNode(KdsIcon, {
3700
+ name: open.value ? "chevron-up" : "chevron-down",
3701
+ size: "small"
3702
+ }, null, 8, ["name"])
3703
+ ])
3704
+ ], 42, _hoisted_1$c);
3705
+ };
3706
+ }
3707
+ });
3708
+
3709
+ const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f1917c48"]]);
3710
+
3711
+ const _hoisted_1$b = { class: "kds-empty-state" };
3712
+ const _hoisted_2$4 = { class: "kds-empty-state-headline" };
3713
+ const _hoisted_3$3 = {
3714
+ key: 0,
3715
+ class: "kds-empty-state-description"
3716
+ };
3717
+ const _hoisted_4$2 = {
3718
+ key: 1,
3719
+ class: "kds-empty-state-action"
3720
+ };
3721
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3722
+ __name: "KdsEmptyState",
3723
+ props: {
3724
+ headline: {},
3725
+ description: {},
3726
+ button: {}
3727
+ },
3728
+ emits: ["buttonClick"],
3729
+ setup(__props, { emit: __emit }) {
3730
+ const props = __props;
3731
+ const emit = __emit;
3732
+ const isLinkButton = computed(
3733
+ () => props.button && "to" in props.button && props.button.to !== void 0
3734
+ );
3735
+ const buttonComponent = computed(
3736
+ () => isLinkButton.value ? _sfc_main$A : _sfc_main$B
3737
+ );
3738
+ return (_ctx, _cache) => {
3739
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
3740
+ createElementVNode("p", _hoisted_2$4, toDisplayString(props.headline), 1),
3741
+ props.description ? (openBlock(), createElementBlock("p", _hoisted_3$3, toDisplayString(props.description), 1)) : createCommentVNode("", true),
3742
+ props.button ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
3743
+ (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
3744
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("buttonClick", $event))
3745
+ }), null, 16))
3746
+ ])) : createCommentVNode("", true)
3747
+ ]);
3748
+ };
3749
+ }
3750
+ });
3751
+
3752
+ const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b4af30cf"]]);
3753
+
3754
+ const kdsListItemAccessorySize = {
3755
+ SMALL: "small",
3756
+ LARGE: "large"
3757
+ };
3758
+
3759
+ const kdsListItemVariant = {
3760
+ SMALL: "small",
3761
+ LARGE: "large"
3762
+ };
3763
+
3764
+ const _hoisted_1$a = ["id", "aria-selected", "aria-disabled"];
3765
+ const _hoisted_2$3 = {
3766
+ key: 0,
3767
+ class: "accessory"
3768
+ };
3769
+ const _hoisted_3$2 = { class: "content" };
3770
+ const _hoisted_4$1 = ["title"];
3771
+ const _hoisted_5 = {
3772
+ key: 0,
3773
+ class: "prefix"
3774
+ };
3775
+ const _hoisted_6 = ["title"];
3776
+ const _hoisted_7 = {
3777
+ key: 1,
3778
+ class: "trailing-item"
3779
+ };
3780
+ const _hoisted_8 = {
3781
+ key: 0,
3782
+ class: "shortcut"
3783
+ };
3784
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3785
+ __name: "KdsListItem",
3786
+ props: {
3787
+ id: {},
3788
+ label: {},
3789
+ accessory: { default: void 0 },
3790
+ subText: { default: void 0 },
3791
+ variant: { default: kdsListItemVariant.SMALL },
3792
+ shortcut: { default: void 0 },
3793
+ trailingIcon: { default: void 0 },
3794
+ special: { type: Boolean, default: false },
3795
+ selected: { type: Boolean, default: false },
3796
+ active: { type: Boolean, default: false },
3797
+ missing: { type: Boolean, default: false },
3798
+ disabled: { type: Boolean, default: false }
3799
+ },
3800
+ emits: ["click"],
3801
+ setup(__props, { emit: __emit }) {
3802
+ const props = __props;
3803
+ const emit = __emit;
3804
+ const accessorySize = computed(
3805
+ () => props.variant === kdsListItemVariant.LARGE ? kdsListItemAccessorySize.LARGE : kdsListItemAccessorySize.SMALL
3806
+ );
3807
+ const onClick = (event) => {
3808
+ if (props.disabled) {
3809
+ event.stopPropagation();
3810
+ event.preventDefault();
3811
+ return;
3812
+ }
3813
+ emit("click", event);
3814
+ };
3815
+ const labelEl = useTemplateRef("labelEl");
3816
+ const { isTruncated: isLabelTruncated } = useKdsIsTruncated(labelEl);
3817
+ const subtextEl = useTemplateRef("subtextEl");
3818
+ const { isTruncated: isSubtextTruncated } = useKdsIsTruncated(subtextEl);
3819
+ return (_ctx, _cache) => {
3820
+ return openBlock(), createElementBlock("div", {
3821
+ id: props.id,
3822
+ role: "option",
3823
+ "aria-selected": props.selected,
3824
+ "aria-disabled": props.disabled,
3825
+ class: normalizeClass([
3826
+ "kds-list-item",
3827
+ props.variant,
3828
+ {
3829
+ selected: props.selected,
3830
+ active: props.active,
3831
+ missing: props.missing,
3832
+ disabled: props.disabled
3833
+ }
3834
+ ]),
3835
+ onClick
3836
+ }, [
3837
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$3, [
3838
+ createVNode(_sfc_main$e, {
3839
+ accessory: props.accessory,
3840
+ size: accessorySize.value,
3841
+ disabled: props.disabled
3842
+ }, null, 8, ["accessory", "size", "disabled"])
3843
+ ])) : createCommentVNode("", true),
3844
+ createElementVNode("span", _hoisted_3$2, [
3845
+ createElementVNode("span", {
3846
+ ref_key: "labelEl",
3847
+ ref: labelEl,
3848
+ class: "label",
3849
+ title: unref(isLabelTruncated) ? props.label : void 0
3850
+ }, [
3851
+ props.missing ? (openBlock(), createElementBlock("span", _hoisted_5, "(Missing) ")) : createCommentVNode("", true),
3852
+ createElementVNode("span", {
3853
+ class: normalizeClass({ special: props.special })
3854
+ }, toDisplayString(props.label), 3)
3855
+ ], 8, _hoisted_4$1),
3856
+ props.subText ? (openBlock(), createElementBlock("span", {
3857
+ key: 0,
3858
+ ref_key: "subtextEl",
3859
+ ref: subtextEl,
3860
+ class: "subtext",
3861
+ title: unref(isSubtextTruncated) ? props.subText : void 0
3862
+ }, toDisplayString(props.subText), 9, _hoisted_6)) : createCommentVNode("", true)
3863
+ ]),
3864
+ props.shortcut || props.trailingIcon ? (openBlock(), createElementBlock("span", _hoisted_7, [
3865
+ props.shortcut ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(props.shortcut), 1)) : createCommentVNode("", true),
3866
+ props.trailingIcon ? (openBlock(), createBlock(KdsIcon, {
3867
+ key: 1,
3868
+ name: props.trailingIcon,
3869
+ size: "small"
3870
+ }, null, 8, ["name"])) : createCommentVNode("", true)
3871
+ ])) : createCommentVNode("", true)
3872
+ ], 10, _hoisted_1$a);
3873
+ };
3874
+ }
3875
+ });
3876
+
3877
+ const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-fca25fc2"]]);
3878
+
3879
+ const _hoisted_1$9 = ["aria-label", "aria-activedescendant", "tabindex"];
3880
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3881
+ __name: "KdsListContainer",
3882
+ props: {
3883
+ possibleValues: {},
3884
+ emptyText: { default: "" },
3885
+ ariaLabel: {},
3886
+ controlledExternally: { type: Boolean }
3887
+ },
3888
+ emits: ["itemClick"],
3889
+ setup(__props, { expose: __expose, emit: __emit }) {
3890
+ const props = __props;
3891
+ const emit = __emit;
3892
+ const idPrefix = useId();
3893
+ const toOptionId = (elementId) => elementId.slice(idPrefix.length + 1);
3894
+ const emptyOptionId = `${idPrefix}-empty`;
3895
+ const prefixedValues = computed(
3896
+ () => props.possibleValues.map((o) => ({ ...o, id: `${idPrefix}-${o.id}` }))
3897
+ );
3898
+ const activeId = ref(void 0);
3899
+ const lastActiveId = ref(void 0);
3900
+ const isFocused = ref(false);
3901
+ const containerEl = useTemplateRef("containerEl");
3902
+ function scrollToView() {
3903
+ if (!activeId.value || !containerEl.value) {
3904
+ return;
3905
+ }
3906
+ containerEl.value?.querySelector(`#${CSS.escape(activeId.value)}`)?.scrollIntoView({ block: "nearest" });
3907
+ }
3908
+ const onMouseLeave = () => {
3909
+ if (!isFocused.value) {
3910
+ activeId.value = void 0;
3911
+ }
3912
+ };
3913
+ const onMousemove = (event) => {
3914
+ const target = event.target?.closest?.('[role="option"]');
3915
+ if (target instanceof HTMLElement && target.id && target.getAttribute("aria-disabled") !== "true") {
3916
+ activeId.value = target.id;
3917
+ }
3918
+ };
3919
+ const enabledValues = computed(
3920
+ () => prefixedValues.value.filter((o) => !o.disabled)
3921
+ );
3922
+ watch(enabledValues, (values) => {
3923
+ const isValid = (id) => id !== void 0 && values.some((o) => o.id === id);
3924
+ if (activeId.value !== void 0 && !isValid(activeId.value)) {
3925
+ if (values.length > 0) {
3926
+ activeId.value = values[0].id;
3927
+ } else {
3928
+ activeId.value = prefixedValues.value.length === 0 ? emptyOptionId : void 0;
3929
+ }
3930
+ }
3931
+ if (!isValid(lastActiveId.value)) {
3932
+ lastActiveId.value = void 0;
3933
+ }
3934
+ nextTick(scrollToView);
3935
+ });
3936
+ const findEnabledIndex = (id) => id === void 0 ? -1 : enabledValues.value.findIndex((o) => o.id === id);
3937
+ const handleFocus = () => {
3938
+ isFocused.value = true;
3939
+ if (activeId.value === void 0) {
3940
+ activeId.value = lastActiveId.value ?? enabledValues.value[0]?.id;
3941
+ }
3942
+ };
3943
+ const handleBlur = () => {
3944
+ isFocused.value = false;
3945
+ lastActiveId.value = activeId.value;
3946
+ activeId.value = void 0;
3947
+ };
3948
+ const handleKeydown = (event) => {
3949
+ if (enabledValues.value.length === 0) {
3950
+ return;
3951
+ }
3952
+ const currentIndex = findEnabledIndex(activeId.value);
3953
+ switch (event.key) {
3954
+ case "ArrowDown": {
3955
+ const nextIndex = currentIndex < 0 || currentIndex >= enabledValues.value.length - 1 ? 0 : currentIndex + 1;
3956
+ activeId.value = enabledValues.value[nextIndex].id;
3957
+ scrollToView();
3958
+ event.preventDefault();
3959
+ break;
3960
+ }
3961
+ case "ArrowUp": {
3962
+ const nextIndex = currentIndex <= 0 ? enabledValues.value.length - 1 : currentIndex - 1;
3963
+ activeId.value = enabledValues.value[nextIndex].id;
3964
+ scrollToView();
3965
+ event.preventDefault();
3966
+ break;
3967
+ }
3968
+ case "Enter":
3969
+ if (activeId.value) {
3970
+ emit("itemClick", toOptionId(activeId.value));
3971
+ event.preventDefault();
3972
+ }
3973
+ break;
3974
+ case " ":
3975
+ if (event.target instanceof HTMLElement && ["INPUT", "TEXTAREA", "SELECT"].includes(event.target.tagName)) {
3976
+ break;
3977
+ }
3978
+ if (activeId.value) {
3979
+ emit("itemClick", toOptionId(activeId.value));
3980
+ event.preventDefault();
3981
+ }
3982
+ break;
3983
+ case "Home":
3984
+ activeId.value = enabledValues.value[0].id;
3985
+ scrollToView();
3986
+ event.preventDefault();
3987
+ break;
3988
+ case "End":
3989
+ activeId.value = enabledValues.value[enabledValues.value.length - 1].id;
3990
+ scrollToView();
3991
+ event.preventDefault();
3992
+ break;
3993
+ }
3994
+ };
3995
+ __expose({
3996
+ /** Forward a keydown event to the list for keyboard navigation */
3997
+ handleKeydown,
3998
+ /** Notify the list that its controlling element received focus */
3999
+ handleFocus,
4000
+ /** Notify the list that its controlling element lost focus */
4001
+ handleBlur,
4002
+ activeDescendant: activeId
4003
+ });
4004
+ return (_ctx, _cache) => {
4005
+ return openBlock(), createElementBlock("div", mergeProps({
4006
+ ref_key: "containerEl",
4007
+ ref: containerEl,
4008
+ role: "listbox",
4009
+ "aria-label": props.ariaLabel,
4010
+ "aria-activedescendant": !props.controlledExternally && activeId.value ? activeId.value : void 0,
4011
+ class: "kds-list-container",
4012
+ tabindex: props.controlledExternally ? void 0 : 0
4013
+ }, toHandlers(
4014
+ props.controlledExternally ? { mousemove: onMousemove, mouseleave: onMouseLeave } : {
4015
+ keydown: handleKeydown,
4016
+ focus: handleFocus,
4017
+ blur: handleBlur,
4018
+ mousemove: onMousemove,
4019
+ mouseleave: onMouseLeave
4020
+ },
4021
+ true
4022
+ )), [
4023
+ (openBlock(true), createElementBlock(Fragment, null, renderList(prefixedValues.value, (item) => {
4024
+ return openBlock(), createBlock(unref(KdsListItem), {
4025
+ id: item.id,
4026
+ key: item.id,
4027
+ accessory: item.accessory,
4028
+ label: item.text,
4029
+ "sub-text": item.subText,
4030
+ selected: item.selected,
4031
+ disabled: item.disabled,
4032
+ active: activeId.value === item.id,
4033
+ special: item.special,
4034
+ missing: item.missing,
4035
+ "trailing-icon": item.selected ? "checkmark" : void 0,
4036
+ onMousedown: _cache[0] || (_cache[0] = ($event) => props.controlledExternally && $event.preventDefault()),
4037
+ onClick: withModifiers(($event) => emit("itemClick", toOptionId(item.id)), ["stop"])
4038
+ }, null, 8, ["id", "accessory", "label", "sub-text", "selected", "disabled", "active", "special", "missing", "trailing-icon", "onClick"]);
4039
+ }), 128)),
4040
+ prefixedValues.value.length === 0 ? (openBlock(), createElementBlock("div", {
4041
+ key: 0,
4042
+ id: emptyOptionId,
4043
+ role: "option",
4044
+ "aria-disabled": "true",
4045
+ "aria-selected": void 0,
4046
+ class: "kds-list-container-empty"
4047
+ }, [
4048
+ createVNode(KdsEmptyState, {
4049
+ headline: props.emptyText
4050
+ }, null, 8, ["headline"])
4051
+ ])) : createCommentVNode("", true)
4052
+ ], 16, _hoisted_1$9);
4053
+ };
4054
+ }
4055
+ });
4056
+
4057
+ const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-bfdaa003"]]);
4058
+
4059
+ const _hoisted_1$8 = { class: "kds-dropdown-container" };
4060
+ const _hoisted_2$2 = { class: "kds-dropdown-container-sticky-top" };
4061
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
4062
+ __name: "DropdownContainer",
4063
+ props: /* @__PURE__ */ mergeModels({
4064
+ emptyText: {},
4065
+ possibleValues: {}
4066
+ }, {
4067
+ "modelValue": { default: null },
4068
+ "modelModifiers": {}
4069
+ }),
4070
+ emits: ["update:modelValue"],
4071
+ setup(__props, { expose: __expose }) {
4072
+ const props = __props;
4073
+ const modelValue = useModel(__props, "modelValue");
4074
+ const searchValue = ref("");
4075
+ const searchEl = useTemplateRef("searchEl");
4076
+ const listContainerRef = useTemplateRef("listContainer");
4077
+ const optionsWithSyntheticMissing = computed(
4078
+ () => {
4079
+ if (modelValue.value === null) {
4080
+ return props.possibleValues;
4081
+ }
4082
+ const hasSelected = props.possibleValues.some(
4083
+ (o) => o.id === modelValue.value
4084
+ );
4085
+ if (hasSelected) {
4086
+ return props.possibleValues;
4087
+ }
4088
+ return [
4089
+ {
4090
+ id: modelValue.value,
4091
+ text: modelValue.value,
4092
+ missing: true
4093
+ },
4094
+ ...props.possibleValues
4095
+ ];
4096
+ }
4097
+ );
4098
+ const filteredOptions = computed(() => {
4099
+ const normalizedQuery = searchValue.value.trim().toLowerCase();
4100
+ const base = optionsWithSyntheticMissing.value;
4101
+ if (normalizedQuery.length === 0) {
4102
+ return base;
4103
+ }
4104
+ return base.filter(
4105
+ (option) => option.text.toLowerCase().includes(normalizedQuery)
4106
+ );
4107
+ });
4108
+ const listOptions = computed(
4109
+ () => filteredOptions.value.map((option) => ({
4110
+ id: option.id,
4111
+ text: option.text,
4112
+ subText: option.subText,
4113
+ accessory: option.accessory,
4114
+ disabled: option.disabled || option.missing,
4115
+ selected: option.id === modelValue.value,
4116
+ special: option.special,
4117
+ missing: option.missing
4118
+ }))
4119
+ );
4120
+ const hasMultiline = computed(
4121
+ () => props.possibleValues.some((o) => o.subText !== void 0)
4122
+ );
4123
+ __expose({
4124
+ focus: () => searchEl.value?.focus()
4125
+ });
4126
+ return (_ctx, _cache) => {
4127
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
4128
+ createElementVNode("div", _hoisted_2$2, [
4129
+ createVNode(BaseInput, {
4130
+ ref_key: "searchEl",
4131
+ ref: searchEl,
4132
+ modelValue: searchValue.value,
4133
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchValue.value = $event),
4134
+ type: "search",
4135
+ placeholder: "Search",
4136
+ "aria-label": "Filter options",
4137
+ "aria-activedescendant": listContainerRef.value?.activeDescendant,
4138
+ "leading-icon": "search",
4139
+ clearable: true,
4140
+ onKeydown: _cache[1] || (_cache[1] = ($event) => listContainerRef.value?.handleKeydown($event)),
4141
+ onFocus: _cache[2] || (_cache[2] = ($event) => listContainerRef.value?.handleFocus()),
4142
+ onBlur: _cache[3] || (_cache[3] = ($event) => listContainerRef.value?.handleBlur())
4143
+ }, null, 8, ["modelValue", "aria-activedescendant"])
4144
+ ]),
4145
+ createVNode(unref(KdsListContainer), {
4146
+ ref: "listContainer",
4147
+ class: normalizeClass(["kds-dropdown-container-list", { multiline: hasMultiline.value }]),
4148
+ "possible-values": listOptions.value,
4149
+ "empty-text": props.emptyText,
4150
+ "controlled-externally": "",
4151
+ "aria-label": "Dropdown options",
4152
+ onItemClick: _cache[4] || (_cache[4] = ($event) => modelValue.value = $event)
4153
+ }, null, 8, ["class", "possible-values", "empty-text"])
4154
+ ]);
4155
+ };
4156
+ }
4157
+ });
4158
+
4159
+ const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-dd55ee4d"]]);
3530
4160
 
3531
- const _hoisted_1$8 = { class: "kds-info-popover-content" };
3532
4161
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4162
+ __name: "KdsDropdown",
4163
+ props: /* @__PURE__ */ mergeModels({
4164
+ placeholder: { default: "Select" },
4165
+ disabled: { type: Boolean, default: false },
4166
+ possibleValues: {},
4167
+ description: {},
4168
+ label: {},
4169
+ ariaLabel: {},
4170
+ id: {},
4171
+ subText: {},
4172
+ error: { type: Boolean, default: false },
4173
+ validating: { type: Boolean, default: false },
4174
+ preserveSubTextSpace: { type: Boolean, default: false }
4175
+ }, {
4176
+ "modelValue": { default: null },
4177
+ "modelModifiers": {}
4178
+ }),
4179
+ emits: ["update:modelValue"],
4180
+ setup(__props) {
4181
+ const props = __props;
4182
+ const modelValue = useModel(__props, "modelValue");
4183
+ const open = ref(false);
4184
+ const popoverEl = useTemplateRef("popoverEl");
4185
+ const dropdownContainerEl = useTemplateRef("dropdownContainerEl");
4186
+ const selectedOption = computed(
4187
+ () => props.possibleValues.find((o) => o.id === modelValue.value)
4188
+ );
4189
+ watchEffect(() => {
4190
+ if (open.value) {
4191
+ nextTick(() => dropdownContainerEl.value?.focus());
4192
+ }
4193
+ });
4194
+ watch(modelValue, () => {
4195
+ if (open.value) {
4196
+ open.value = false;
4197
+ }
4198
+ });
4199
+ return (_ctx, _cache) => {
4200
+ return openBlock(), createBlock(BaseFormFieldWrapper, {
4201
+ id: props.id,
4202
+ label: props.label,
4203
+ "aria-label": props.ariaLabel,
4204
+ description: props.description,
4205
+ "sub-text": props.subText,
4206
+ error: props.error,
4207
+ validating: props.validating,
4208
+ "preserve-sub-text-space": props.preserveSubTextSpace
4209
+ }, {
4210
+ default: withCtx((slotProps) => [
4211
+ createVNode(BaseDropdown, mergeProps(slotProps, {
4212
+ open: open.value,
4213
+ "onUpdate:open": _cache[0] || (_cache[0] = ($event) => open.value = $event),
4214
+ text: modelValue.value !== null && !selectedOption.value ? `(Missing) ${modelValue.value}` : selectedOption.value?.text,
4215
+ placeholder: props.placeholder,
4216
+ disabled: props.disabled,
4217
+ error: props.error,
4218
+ missing: modelValue.value !== null && !selectedOption.value,
4219
+ accessory: selectedOption.value?.accessory,
4220
+ style: popoverEl.value?.anchorStyle,
4221
+ "popover-id": popoverEl.value?.popoverId,
4222
+ onClick: _cache[1] || (_cache[1] = ($event) => open.value = !open.value)
4223
+ }), null, 16, ["open", "text", "placeholder", "disabled", "error", "missing", "accessory", "style", "popover-id"]),
4224
+ createVNode(KdsPopover, {
4225
+ ref_key: "popoverEl",
4226
+ ref: popoverEl,
4227
+ modelValue: open.value,
4228
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => open.value = $event),
4229
+ placement: "bottom-left",
4230
+ role: "dialog",
4231
+ "full-width": "",
4232
+ "popover-aria-label": "Searchable dropdown options"
4233
+ }, {
4234
+ default: withCtx(() => [
4235
+ createVNode(DropdownContainer, {
4236
+ ref_key: "dropdownContainerEl",
4237
+ ref: dropdownContainerEl,
4238
+ modelValue: modelValue.value,
4239
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => modelValue.value = $event),
4240
+ "possible-values": props.possibleValues,
4241
+ "empty-text": "No entries found"
4242
+ }, null, 8, ["modelValue", "possible-values"])
4243
+ ]),
4244
+ _: 1
4245
+ }, 8, ["modelValue"])
4246
+ ]),
4247
+ _: 1
4248
+ }, 8, ["id", "label", "aria-label", "description", "sub-text", "error", "validating", "preserve-sub-text-space"]);
4249
+ };
4250
+ }
4251
+ });
4252
+
4253
+ const _hoisted_1$7 = { class: "kds-info-popover-content" };
4254
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3533
4255
  __name: "InfoPopover",
3534
4256
  props: {
3535
4257
  content: {}
@@ -3537,7 +4259,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3537
4259
  setup(__props) {
3538
4260
  const props = __props;
3539
4261
  return (_ctx, _cache) => {
3540
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
4262
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
3541
4263
  renderSlot(_ctx.$slots, "default", {}, () => [
3542
4264
  createTextVNode(toDisplayString(props.content), 1)
3543
4265
  ], true)
@@ -3546,11 +4268,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3546
4268
  }
3547
4269
  });
3548
4270
 
3549
- const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-951f2a2b"]]);
4271
+ const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-951f2a2b"]]);
3550
4272
 
3551
- const _hoisted_1$7 = ["aria-pressed", "aria-expanded", "aria-controls"];
4273
+ const _hoisted_1$6 = ["aria-pressed", "aria-expanded", "aria-controls"];
3552
4274
  const TITLE = "Click for more information";
3553
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4275
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3554
4276
  __name: "KdsInfoToggleButton",
3555
4277
  props: /* @__PURE__ */ mergeModels({
3556
4278
  content: {},
@@ -3592,7 +4314,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3592
4314
  name: "circle-question",
3593
4315
  size: "small"
3594
4316
  })
3595
- ], 16, _hoisted_1$7),
4317
+ ], 16, _hoisted_1$6),
3596
4318
  createVNode(KdsPopover, {
3597
4319
  ref_key: "popoverEl",
3598
4320
  ref: popoverEl,
@@ -3618,15 +4340,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3618
4340
  }
3619
4341
  });
3620
4342
 
3621
- const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-f98c9924"]]);
4343
+ const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f98c9924"]]);
3622
4344
 
3623
4345
  const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3624
4346
  __proto__: null,
3625
4347
  default: KdsInfoToggleButton
3626
4348
  }, Symbol.toStringTag, { value: 'Module' }));
3627
4349
 
3628
- const _hoisted_1$6 = { class: "kds-variable-popover" };
3629
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4350
+ const _hoisted_1$5 = { class: "kds-variable-popover" };
4351
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3630
4352
  __name: "VariablePopover",
3631
4353
  props: {
3632
4354
  content: {}
@@ -3634,7 +4356,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3634
4356
  setup(__props) {
3635
4357
  const props = __props;
3636
4358
  return (_ctx, _cache) => {
3637
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
4359
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
3638
4360
  renderSlot(_ctx.$slots, "default", {}, () => [
3639
4361
  createTextVNode(toDisplayString(props.content), 1)
3640
4362
  ], true)
@@ -3643,10 +4365,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3643
4365
  }
3644
4366
  });
3645
4367
 
3646
- const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-54c206b9"]]);
4368
+ const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-54c206b9"]]);
3647
4369
 
3648
- const _hoisted_1$5 = ["title", "aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
3649
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4370
+ const _hoisted_1$4 = ["title", "aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
4371
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3650
4372
  __name: "KdsVariableToggleButton",
3651
4373
  props: /* @__PURE__ */ mergeModels({
3652
4374
  content: {},
@@ -3735,7 +4457,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3735
4457
  name: iconName.value,
3736
4458
  size: "small"
3737
4459
  }, null, 8, ["name"])
3738
- ], 16, _hoisted_1$5),
4460
+ ], 16, _hoisted_1$4),
3739
4461
  createVNode(KdsPopover, {
3740
4462
  ref_key: "popoverEl",
3741
4463
  ref: popoverEl,
@@ -3761,50 +4483,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3761
4483
  }
3762
4484
  });
3763
4485
 
3764
- const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-1541cbb3"]]);
3765
-
3766
- const _hoisted_1$4 = { class: "kds-empty-state" };
3767
- const _hoisted_2$2 = { class: "kds-empty-state-headline" };
3768
- const _hoisted_3$2 = {
3769
- key: 0,
3770
- class: "kds-empty-state-description"
3771
- };
3772
- const _hoisted_4$1 = {
3773
- key: 1,
3774
- class: "kds-empty-state-action"
3775
- };
3776
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3777
- __name: "KdsEmptyState",
3778
- props: {
3779
- headline: {},
3780
- description: {},
3781
- button: {}
3782
- },
3783
- emits: ["buttonClick"],
3784
- setup(__props, { emit: __emit }) {
3785
- const props = __props;
3786
- const emit = __emit;
3787
- const isLinkButton = computed(
3788
- () => props.button && "to" in props.button && props.button.to !== void 0
3789
- );
3790
- const buttonComponent = computed(
3791
- () => isLinkButton.value ? _sfc_main$u : _sfc_main$v
3792
- );
3793
- return (_ctx, _cache) => {
3794
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
3795
- createElementVNode("p", _hoisted_2$2, toDisplayString(props.headline), 1),
3796
- props.description ? (openBlock(), createElementBlock("p", _hoisted_3$2, toDisplayString(props.description), 1)) : createCommentVNode("", true),
3797
- props.button ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
3798
- (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
3799
- onClick: _cache[0] || (_cache[0] = ($event) => emit("buttonClick", $event))
3800
- }), null, 16))
3801
- ])) : createCommentVNode("", true)
3802
- ]);
3803
- };
3804
- }
3805
- });
3806
-
3807
- const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b4af30cf"]]);
4486
+ const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1541cbb3"]]);
3808
4487
 
3809
4488
  const _hoisted_1$3 = ["aria-label", "aria-labelledby", "aria-pressed", "disabled"];
3810
4489
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -3941,7 +4620,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3941
4620
  size: "medium"
3942
4621
  }, null, 8, ["name"])) : createCommentVNode("", true),
3943
4622
  createElementVNode("div", _hoisted_2$1, toDisplayString(props.title), 1),
3944
- createVNode(_sfc_main$v, {
4623
+ createVNode(_sfc_main$B, {
3945
4624
  "leading-icon": "x-close",
3946
4625
  variant: "transparent",
3947
4626
  size: "medium",
@@ -4214,7 +4893,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4214
4893
  unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1, [
4215
4894
  createElementVNode("div", _hoisted_2, toDisplayString(unref(config).value.message), 1),
4216
4895
  unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
4217
- createVNode(_sfc_main$o, {
4896
+ createVNode(_sfc_main$u, {
4218
4897
  modelValue: askAgain.value,
4219
4898
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
4220
4899
  label: unref(config).value.doNotAskAgain.label,
@@ -4229,7 +4908,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4229
4908
  name: "footer",
4230
4909
  fn: withCtx(() => [
4231
4910
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
4232
- return openBlock(), createBlock(_sfc_main$v, {
4911
+ return openBlock(), createBlock(_sfc_main$B, {
4233
4912
  key: index,
4234
4913
  destructive: button.destructive,
4235
4914
  autofocus: button.autofocus,
@@ -4261,5 +4940,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4261
4940
 
4262
4941
  const KdsDynamicModalProvider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-67e036b5"]]);
4263
4942
 
4264
- export { KdsAvatar, KdsBadge, _sfc_main$v as KdsButton, KdsCardClickable, _sfc_main$o as KdsCheckbox, KdsCheckboxGroup, _sfc_main$d as KdsColorInput, KdsColorSwatch, KdsDataType, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsLabel, _sfc_main$u as KdsLinkButton, KdsLiveStatus, KdsLoadingSpinner, KdsModal, KdsModalLayout, _sfc_main$c as KdsNumberInput, _sfc_main$b as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, _sfc_main$a as KdsSearchInput, KdsSubText, _sfc_main$f as KdsTextInput, KdsTextarea, _sfc_main$t as KdsToggleButton, 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, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
4943
+ export { KdsAvatar, KdsBadge, _sfc_main$B as KdsButton, KdsCardClickable, _sfc_main$u as KdsCheckbox, KdsCheckboxGroup, _sfc_main$j as KdsColorInput, KdsColorSwatch, KdsDataType, _sfc_main$8 as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, KdsLabel, _sfc_main$A as KdsLinkButton, KdsLiveStatus, KdsLoadingSpinner, KdsModal, KdsModalLayout, _sfc_main$i as KdsNumberInput, _sfc_main$h as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, _sfc_main$g as KdsSearchInput, KdsSubText, _sfc_main$l as KdsTextInput, KdsTextarea, _sfc_main$z as KdsToggleButton, 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, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
4265
4944
  //# sourceMappingURL=index.js.map