@knime/kds-components 11.2.0 → 11.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/index.css +70 -61
  3. package/dist/index.js +117 -60
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/components/forms/inputs/BaseInput.vue.d.ts +4 -0
  6. package/dist/src/components/forms/inputs/BaseInput.vue.d.ts.map +1 -1
  7. package/dist/src/components/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +4 -0
  8. package/dist/src/components/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  9. package/dist/src/components/forms/inputs/DateInput/types.d.ts +1 -1
  10. package/dist/src/components/forms/inputs/DateInput/types.d.ts.map +1 -1
  11. package/dist/src/components/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +5 -78
  12. package/dist/src/components/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
  13. package/dist/src/components/forms/inputs/DateTimeFormatInput/types.d.ts +1 -1
  14. package/dist/src/components/forms/inputs/DateTimeFormatInput/types.d.ts.map +1 -1
  15. package/dist/src/components/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +5 -78
  16. package/dist/src/components/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
  17. package/dist/src/components/forms/inputs/IntervalInput/types.d.ts +1 -1
  18. package/dist/src/components/forms/inputs/IntervalInput/types.d.ts.map +1 -1
  19. package/dist/src/components/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +4 -0
  20. package/dist/src/components/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
  21. package/dist/src/components/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
  22. package/dist/src/components/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +4 -0
  23. package/dist/src/components/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
  24. package/dist/src/components/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +4 -0
  25. package/dist/src/components/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  26. package/dist/src/components/forms/inputs/TextInput/KdsTextInput.vue.d.ts +4 -0
  27. package/dist/src/components/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  28. package/dist/src/components/forms/inputs/Textarea/KdsTextarea.vue.d.ts +4 -0
  29. package/dist/src/components/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  30. package/dist/src/components/forms/inputs/TimeInput/types.d.ts +1 -1
  31. package/dist/src/components/forms/inputs/TimeInput/types.d.ts.map +1 -1
  32. package/dist/src/components/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
  33. package/dist/src/components/forms/inputs/types.d.ts +4 -0
  34. package/dist/src/components/forms/inputs/types.d.ts.map +1 -1
  35. package/dist/src/components/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +4 -0
  36. package/dist/src/components/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
  37. package/dist/src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
  38. package/dist/src/components/forms/selects/Dropdown/types.d.ts +8 -0
  39. package/dist/src/components/forms/selects/Dropdown/types.d.ts.map +1 -1
  40. package/dist/src/components/forms/selects/MultiSelectListBox/useMultiSelectListBoxSelection.d.ts.map +1 -1
  41. package/dist/src/components/lists/ContextMenu/KdsContextMenu.vue.d.ts.map +1 -1
  42. package/dist/src/components/lists/MenuContainer/KdsMenuContainer.vue.d.ts +3 -3
  43. package/dist/src/components/lists/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
  44. package/dist/src/components/lists/MenuContainer/types.d.ts +9 -0
  45. package/dist/src/components/lists/MenuContainer/types.d.ts.map +1 -1
  46. package/dist/src/layouts/panels/SplitPanel/KdsSplitPanel.vue.d.ts.map +1 -1
  47. package/dist/src/layouts/panels/SplitPanel/types.d.ts +6 -0
  48. package/dist/src/layouts/panels/SplitPanel/types.d.ts.map +1 -1
  49. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -11753,14 +11753,19 @@ var KdsMenuContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
11753
11753
  ariaLabel: { default: "Menu" },
11754
11754
  items: {},
11755
11755
  menuMaxHeight: {},
11756
- variant: { default: () => kdsListItemVariant.SMALL }
11756
+ variant: { default: () => kdsListItemVariant.SMALL },
11757
+ hideFocusRingUntilKeydown: {
11758
+ type: Boolean,
11759
+ default: false
11760
+ }
11757
11761
  },
11758
11762
  emits: ["itemClick"],
11759
11763
  setup(__props, { expose: __expose, emit: __emit }) {
11760
11764
  const props = createPropsRestProxy(__props, [
11761
11765
  "ariaLabel",
11762
11766
  "menuMaxHeight",
11763
- "variant"
11767
+ "variant",
11768
+ "hideFocusRingUntilKeydown"
11764
11769
  ]);
11765
11770
  const emit = __emit;
11766
11771
  const { itemsWithPrefix, toUnprefixedId } = useStableItemIds({ items: computed(() => props.items) });
@@ -11858,7 +11863,9 @@ var KdsMenuContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
11858
11863
  const activeElement = getActiveElement();
11859
11864
  return activeElement === event.target && activeElement === containerEl.value;
11860
11865
  };
11866
+ const hasKeydown = ref(false);
11861
11867
  const handleKeydown = (event) => {
11868
+ hasKeydown.value = true;
11862
11869
  if (!shouldNavigate(event)) return;
11863
11870
  if (enabledItems.value.length === 0) return;
11864
11871
  const currentIndex = findEnabledIndex(activeId.value);
@@ -11968,7 +11975,7 @@ var KdsMenuContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
11968
11975
  ref_key: "containerEl",
11969
11976
  ref: containerEl,
11970
11977
  role: "menu",
11971
- class: "kds-menu-container",
11978
+ class: normalizeClass(["kds-menu-container", { "hide-focus-ring": __props.hideFocusRingUntilKeydown && !hasKeydown.value }]),
11972
11979
  "aria-label": __props.ariaLabel,
11973
11980
  tabindex: 0,
11974
11981
  style: normalizeStyle({ maxHeight: __props.menuMaxHeight }),
@@ -12031,10 +12038,10 @@ var KdsMenuContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
12031
12038
  "onClick",
12032
12039
  "onMouseenter"
12033
12040
  ]);
12034
- }), 128))], 44, _hoisted_1$67);
12041
+ }), 128))], 46, _hoisted_1$67);
12035
12042
  };
12036
12043
  }
12037
- }), [["__scopeId", "data-v-1dcd01cb"]]);
12044
+ }), [["__scopeId", "data-v-e83a636c"]]);
12038
12045
  //#endregion
12039
12046
  //#region src/components/buttons/KdsMenuButton/KdsMenuButton.vue
12040
12047
  var KdsMenuButton_default = /* @__PURE__ */ defineComponent({
@@ -13203,6 +13210,7 @@ var _hoisted_3$31 = [
13203
13210
  "disabled",
13204
13211
  "autocomplete",
13205
13212
  "min",
13213
+ "maxlength",
13206
13214
  "max",
13207
13215
  "step",
13208
13216
  "aria-label",
@@ -13256,6 +13264,7 @@ var BaseInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
13256
13264
  default: false
13257
13265
  },
13258
13266
  autocomplete: {},
13267
+ maxlength: {},
13259
13268
  ariaLabel: {},
13260
13269
  ariaLabelledby: {},
13261
13270
  ariaDescribedby: {},
@@ -13398,6 +13407,7 @@ focus: focusInput });
13398
13407
  disabled: __props.disabled,
13399
13408
  autocomplete: props.autocomplete,
13400
13409
  min: props.min,
13410
+ maxlength: props.maxlength,
13401
13411
  max: props.max,
13402
13412
  step: props.step,
13403
13413
  "aria-label": props.ariaLabel,
@@ -13455,7 +13465,7 @@ focus: focusInput });
13455
13465
  ], 2);
13456
13466
  };
13457
13467
  }
13458
- }), [["__scopeId", "data-v-3ad80634"]]);
13468
+ }), [["__scopeId", "data-v-2b6ea9cb"]]);
13459
13469
  //#endregion
13460
13470
  //#region src/components/forms/selects/Dropdown/filterOptions.ts
13461
13471
  /**
@@ -13532,7 +13542,8 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
13532
13542
  hideClearAll: {
13533
13543
  type: Boolean,
13534
13544
  default: false
13535
- }
13545
+ },
13546
+ maxlength: {}
13536
13547
  }, {
13537
13548
  "modelValue": { default: () => [] },
13538
13549
  "modelModifiers": {},
@@ -13653,6 +13664,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
13653
13664
  type: "search",
13654
13665
  placeholder: __props.allowNewValues ? "Search or add new" : "Search",
13655
13666
  "aria-label": "Filter options",
13667
+ maxlength: props.maxlength,
13656
13668
  "aria-activedescendant": listContainerRef.value?.activeDescendant,
13657
13669
  "leading-icon": "search",
13658
13670
  clearable: true,
@@ -13662,6 +13674,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
13662
13674
  }, null, 8, [
13663
13675
  "modelValue",
13664
13676
  "placeholder",
13677
+ "maxlength",
13665
13678
  "aria-activedescendant"
13666
13679
  ])])) : createCommentVNode("", true),
13667
13680
  createVNode(unref(KdsListContainer_default), {
@@ -13694,7 +13707,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
13694
13707
  ]);
13695
13708
  };
13696
13709
  }
13697
- }), [["__scopeId", "data-v-1eff6cc5"]]);
13710
+ }), [["__scopeId", "data-v-f310a8df"]]);
13698
13711
  //#endregion
13699
13712
  //#region src/components/buttons/KdsMultiSelectButton/KdsMultiSelectButton.vue
13700
13713
  var KdsMultiSelectButton_default = /* @__PURE__ */ defineComponent({
@@ -16128,6 +16141,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
16128
16141
  default: false
16129
16142
  },
16130
16143
  autocomplete: {},
16144
+ maxlength: {},
16131
16145
  unit: { default: "" },
16132
16146
  min: {},
16133
16147
  max: {},
@@ -16277,6 +16291,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
16277
16291
  disabled: __props.disabled,
16278
16292
  error: __props.error,
16279
16293
  autocomplete: props.autocomplete,
16294
+ maxlength: props.maxlength,
16280
16295
  unit: __props.unit,
16281
16296
  role: "spinbutton",
16282
16297
  "aria-valuenow": ariaValuenow.value,
@@ -16319,6 +16334,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
16319
16334
  "disabled",
16320
16335
  "error",
16321
16336
  "autocomplete",
16337
+ "maxlength",
16322
16338
  "unit",
16323
16339
  "aria-valuenow",
16324
16340
  "aria-valuemin",
@@ -16362,6 +16378,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
16362
16378
  default: false
16363
16379
  },
16364
16380
  autocomplete: {},
16381
+ maxlength: {},
16365
16382
  suggestions: {},
16366
16383
  suggestionsHeadline: {}
16367
16384
  }, {
@@ -16455,6 +16472,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
16455
16472
  type: "text",
16456
16473
  placeholder: props.placeholder,
16457
16474
  disabled: __props.disabled,
16475
+ maxlength: props.maxlength,
16458
16476
  error: __props.error,
16459
16477
  autocomplete: hasSuggestions.value ? "off" : props.autocomplete,
16460
16478
  role: hasSuggestions.value ? "combobox" : void 0,
@@ -16471,6 +16489,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
16471
16489
  "modelValue",
16472
16490
  "placeholder",
16473
16491
  "disabled",
16492
+ "maxlength",
16474
16493
  "error",
16475
16494
  "autocomplete",
16476
16495
  "role",
@@ -16516,7 +16535,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
16516
16535
  ]);
16517
16536
  };
16518
16537
  }
16519
- }), [["__scopeId", "data-v-16523a01"]]);
16538
+ }), [["__scopeId", "data-v-a89218cd"]]);
16520
16539
  //#endregion
16521
16540
  //#region src/components/forms/inputs/ColorInput/colorUtils.ts
16522
16541
  var HEX_RADIX = 16;
@@ -17037,7 +17056,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
17037
17056
  type: Boolean,
17038
17057
  default: false
17039
17058
  },
17040
- autocomplete: {}
17059
+ autocomplete: {},
17060
+ maxlength: {}
17041
17061
  }, {
17042
17062
  "modelValue": { default: "" },
17043
17063
  "modelModifiers": {}
@@ -17075,7 +17095,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
17075
17095
  placeholder: __props.placeholder,
17076
17096
  disabled: __props.disabled,
17077
17097
  error: __props.error,
17078
- autocomplete: props.autocomplete
17098
+ autocomplete: props.autocomplete,
17099
+ maxlength: props.maxlength
17079
17100
  }), {
17080
17101
  leading: withCtx(() => [createVNode(KdsColorSwatch_default, {
17081
17102
  size: "large",
@@ -17107,7 +17128,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
17107
17128
  "placeholder",
17108
17129
  "disabled",
17109
17130
  "error",
17110
- "autocomplete"
17131
+ "autocomplete",
17132
+ "maxlength"
17111
17133
  ]), createVNode(KdsPopover_default, {
17112
17134
  ref_key: "popoverEl",
17113
17135
  ref: popoverEl,
@@ -17160,6 +17182,7 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
17160
17182
  type: Boolean,
17161
17183
  default: false
17162
17184
  },
17185
+ maxlength: {},
17163
17186
  variant: { default: "password" },
17164
17187
  showVisibilityToggle: {
17165
17188
  type: Boolean,
@@ -17209,6 +17232,7 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
17209
17232
  disabled: __props.disabled,
17210
17233
  error: __props.error,
17211
17234
  autocomplete: props.autocomplete,
17235
+ maxlength: props.maxlength,
17212
17236
  onBlur: handleBlur
17213
17237
  }), {
17214
17238
  trailing: withCtx(() => [__props.showVisibilityToggle ? (openBlock(), createBlock(KdsToggleButton_default, {
@@ -17239,7 +17263,8 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
17239
17263
  "placeholder",
17240
17264
  "disabled",
17241
17265
  "error",
17242
- "autocomplete"
17266
+ "autocomplete",
17267
+ "maxlength"
17243
17268
  ])]),
17244
17269
  _: 1
17245
17270
  }, 16, [
@@ -17291,6 +17316,7 @@ var KdsUsernameInput_default = /* @__PURE__ */ defineComponent({
17291
17316
  type: Boolean,
17292
17317
  default: false
17293
17318
  },
17319
+ maxlength: {},
17294
17320
  autocomplete: {}
17295
17321
  }, {
17296
17322
  "modelValue": { default: "" },
@@ -17325,13 +17351,15 @@ var KdsUsernameInput_default = /* @__PURE__ */ defineComponent({
17325
17351
  placeholder: props.placeholder,
17326
17352
  disabled: __props.disabled,
17327
17353
  error: __props.error,
17328
- autocomplete: props.autocomplete
17354
+ autocomplete: props.autocomplete,
17355
+ maxlength: props.maxlength
17329
17356
  }), null, 16, [
17330
17357
  "modelValue",
17331
17358
  "placeholder",
17332
17359
  "disabled",
17333
17360
  "error",
17334
- "autocomplete"
17361
+ "autocomplete",
17362
+ "maxlength"
17335
17363
  ])]),
17336
17364
  _: 1
17337
17365
  }, 16, [
@@ -22409,7 +22437,8 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
22409
22437
  type: Boolean,
22410
22438
  default: false
22411
22439
  },
22412
- autocomplete: {}
22440
+ autocomplete: {},
22441
+ maxlength: {}
22413
22442
  }, {
22414
22443
  "modelValue": { default: "" },
22415
22444
  "modelModifiers": {},
@@ -22485,6 +22514,7 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
22485
22514
  disabled: __props.disabled,
22486
22515
  error: __props.error,
22487
22516
  autocomplete: props.autocomplete,
22517
+ maxlength: props.maxlength,
22488
22518
  "leading-icon": "filter",
22489
22519
  clearable: ""
22490
22520
  }), {
@@ -22538,7 +22568,8 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
22538
22568
  "placeholder",
22539
22569
  "disabled",
22540
22570
  "error",
22541
- "autocomplete"
22571
+ "autocomplete",
22572
+ "maxlength"
22542
22573
  ])]),
22543
22574
  _: 1
22544
22575
  }, 16, [
@@ -22577,6 +22608,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
22577
22608
  default: false
22578
22609
  },
22579
22610
  autocomplete: {},
22611
+ maxlength: {},
22580
22612
  results: {},
22581
22613
  resultsMaxHeight: {},
22582
22614
  leadingIcon: { default: "search" }
@@ -22668,6 +22700,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
22668
22700
  placeholder: __props.placeholder,
22669
22701
  disabled: __props.disabled,
22670
22702
  error: __props.error,
22703
+ maxlength: props.maxlength,
22671
22704
  autocomplete: __props.autocomplete,
22672
22705
  "leading-icon": __props.leadingIcon,
22673
22706
  clearable: true,
@@ -22686,6 +22719,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
22686
22719
  "placeholder",
22687
22720
  "disabled",
22688
22721
  "error",
22722
+ "maxlength",
22689
22723
  "autocomplete",
22690
22724
  "leading-icon",
22691
22725
  "style",
@@ -22734,14 +22768,15 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
22734
22768
  ]);
22735
22769
  };
22736
22770
  }
22737
- }), [["__scopeId", "data-v-fe584de9"]]);
22771
+ }), [["__scopeId", "data-v-45b32444"]]);
22738
22772
  //#endregion
22739
22773
  //#region src/components/forms/inputs/Textarea/KdsTextarea.vue?vue&type=script&setup=true&lang.ts
22740
22774
  var _hoisted_1$39 = [
22741
22775
  "rows",
22742
22776
  "placeholder",
22743
22777
  "disabled",
22744
- "autocomplete"
22778
+ "autocomplete",
22779
+ "maxlength"
22745
22780
  ];
22746
22781
  var DEFAULT_ROWS = 3;
22747
22782
  //#endregion
@@ -22772,6 +22807,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
22772
22807
  default: false
22773
22808
  },
22774
22809
  autocomplete: {},
22810
+ maxlength: {},
22775
22811
  rows: { default: () => DEFAULT_ROWS }
22776
22812
  }, {
22777
22813
  "modelValue": { default: "" },
@@ -22779,7 +22815,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
22779
22815
  }),
22780
22816
  emits: ["update:modelValue"],
22781
22817
  setup(__props, { expose: __expose }) {
22782
- useCssVars((_ctx) => ({ "bd80b120": normalizedRows.value }));
22818
+ useCssVars((_ctx) => ({ "v5b247085": normalizedRows.value }));
22783
22819
  const props = createPropsRestProxy(__props, [
22784
22820
  "placeholder",
22785
22821
  "rows",
@@ -22809,7 +22845,8 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
22809
22845
  rows: normalizedRows.value,
22810
22846
  placeholder: __props.placeholder,
22811
22847
  disabled: __props.disabled,
22812
- autocomplete: props.autocomplete
22848
+ autocomplete: props.autocomplete,
22849
+ maxlength: props.maxlength
22813
22850
  }), null, 16, _hoisted_1$39), [[vModelText, modelValue.value]])]),
22814
22851
  _: 1
22815
22852
  }, 16, [
@@ -22819,7 +22856,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
22819
22856
  ]);
22820
22857
  };
22821
22858
  }
22822
- }), [["__scopeId", "data-v-ec173ba8"]]);
22859
+ }), [["__scopeId", "data-v-7a6ec8a2"]]);
22823
22860
  //#endregion
22824
22861
  //#region src/components/forms/inputs/TimeInput/TimePicker.vue?vue&type=script&setup=true&lang.ts
22825
22862
  var _hoisted_1$38 = { class: "kds-time-picker" };
@@ -24753,7 +24790,8 @@ var KdsMultiSelectDropdown_default = /* @__PURE__ */ defineComponent({
24753
24790
  allowNewValues: {
24754
24791
  type: Boolean,
24755
24792
  default: false
24756
- }
24793
+ },
24794
+ maxlength: {}
24757
24795
  }, {
24758
24796
  "modelValue": { default: () => [] },
24759
24797
  "modelModifiers": {}
@@ -24876,13 +24914,15 @@ focus: () => baseDropdownEl.value?.focus() });
24876
24914
  "possible-values": allPossibleValues.value,
24877
24915
  loading: __props.loading,
24878
24916
  "allow-new-values": __props.allowNewValues,
24917
+ maxlength: props.maxlength,
24879
24918
  "empty-text": "No entries found",
24880
24919
  onAddValue
24881
24920
  }, null, 8, [
24882
24921
  "modelValue",
24883
24922
  "possible-values",
24884
24923
  "loading",
24885
- "allow-new-values"
24924
+ "allow-new-values",
24925
+ "maxlength"
24886
24926
  ])) : createCommentVNode("", true)]),
24887
24927
  _: 1
24888
24928
  }, 8, ["modelValue"])]),
@@ -26935,6 +26975,35 @@ var KdsMenu_default = /* @__PURE__ */ defineComponent({
26935
26975
  }
26936
26976
  });
26937
26977
  //#endregion
26978
+ //#region src/util/useKeyPressedUntilMouseClick.ts
26979
+ var defaultKeys = [
26980
+ "Tab",
26981
+ "ArrowUp",
26982
+ "ArrowDown",
26983
+ "ArrowLeft",
26984
+ "ArrowRight",
26985
+ " ",
26986
+ "Enter"
26987
+ ];
26988
+ var useKeyPressedUntilMouseClick = (keys = defaultKeys) => {
26989
+ const hasUsedKeyboard = ref(false);
26990
+ const turnKeyboardUsageOn = (event) => {
26991
+ if (keys.includes(event.key)) hasUsedKeyboard.value = true;
26992
+ };
26993
+ const turnKeyboardUsageOff = () => {
26994
+ hasUsedKeyboard.value = false;
26995
+ };
26996
+ onMounted(() => {
26997
+ document.addEventListener("keydown", turnKeyboardUsageOn, { capture: true });
26998
+ document.addEventListener("pointerdown", turnKeyboardUsageOff, { capture: true });
26999
+ });
27000
+ onUnmounted(() => {
27001
+ document.removeEventListener("keydown", turnKeyboardUsageOn, true);
27002
+ document.removeEventListener("pointerdown", turnKeyboardUsageOff, true);
27003
+ });
27004
+ return hasUsedKeyboard;
27005
+ };
27006
+ //#endregion
26938
27007
  //#region src/components/lists/ContextMenu/KdsContextMenu.vue
26939
27008
  var KdsContextMenu_default = /* @__PURE__ */ defineComponent({
26940
27009
  inheritAttrs: false,
@@ -26969,9 +27038,17 @@ var KdsContextMenu_default = /* @__PURE__ */ defineComponent({
26969
27038
  open.value = false;
26970
27039
  emit("itemClick", itemId);
26971
27040
  };
27041
+ const openedWithKeyboard = useKeyPressedUntilMouseClick([
27042
+ "ContextMenu",
27043
+ "F10",
27044
+ "Enter",
27045
+ " "
27046
+ ]);
27047
+ const hideFocusRing = ref(false);
26972
27048
  const menuContainerEl = useTemplateRef("menuContainer");
26973
27049
  watch(open, (isOpen, _oldVal, onCleanup) => {
26974
27050
  if (!isOpen) return;
27051
+ hideFocusRing.value = !openedWithKeyboard.value;
26975
27052
  if (menuContainerEl.value) {
26976
27053
  menuContainerEl.value.focus();
26977
27054
  return;
@@ -26983,11 +27060,12 @@ var KdsContextMenu_default = /* @__PURE__ */ defineComponent({
26983
27060
  return (_ctx, _cache) => {
26984
27061
  return openBlock(), createBlock(KdsPopover_default, {
26985
27062
  modelValue: open.value,
26986
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => open.value = $event),
27063
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
26987
27064
  placement: "custom",
26988
27065
  "custom-placement-position": __props.position,
26989
27066
  "popover-type": __props.popoverMode,
26990
- "aria-label": "Menu"
27067
+ "aria-label": "Menu",
27068
+ onContextmenu: _cache[1] || (_cache[1] = withModifiers(() => {}, ["prevent"]))
26991
27069
  }, {
26992
27070
  default: withCtx(() => [open.value ? (openBlock(), createBlock(KdsMenuContainer_default, {
26993
27071
  key: 0,
@@ -26997,14 +27075,15 @@ var KdsContextMenu_default = /* @__PURE__ */ defineComponent({
26997
27075
  items: props.items,
26998
27076
  "menu-max-height": __props.menuMaxHeight,
26999
27077
  variant: __props.variant,
27000
- onItemClick,
27001
- onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
27078
+ "hide-focus-ring-until-keydown": hideFocusRing.value,
27079
+ onItemClick
27002
27080
  }, null, 8, [
27003
27081
  "id",
27004
27082
  "aria-label",
27005
27083
  "items",
27006
27084
  "menu-max-height",
27007
- "variant"
27085
+ "variant",
27086
+ "hide-focus-ring-until-keydown"
27008
27087
  ])) : createCommentVNode("", true)]),
27009
27088
  _: 1
27010
27089
  }, 8, [
@@ -27879,35 +27958,6 @@ var useFocusableMultiSelection = (options) => {
27879
27958
  };
27880
27959
  };
27881
27960
  //#endregion
27882
- //#region src/util/useKeyPressedUntilMouseClick.ts
27883
- var defaultKeys = [
27884
- "Tab",
27885
- "ArrowUp",
27886
- "ArrowDown",
27887
- "ArrowLeft",
27888
- "ArrowRight",
27889
- " ",
27890
- "Enter"
27891
- ];
27892
- var useKeyPressedUntilMouseClick = (keys = defaultKeys) => {
27893
- const hasUsedKeyboard = ref(false);
27894
- const turnKeyboardUsageOn = (event) => {
27895
- if (keys.includes(event.key)) hasUsedKeyboard.value = true;
27896
- };
27897
- const turnKeyboardUsageOff = () => {
27898
- hasUsedKeyboard.value = false;
27899
- };
27900
- onMounted(() => {
27901
- document.addEventListener("keydown", turnKeyboardUsageOn, { capture: true });
27902
- document.addEventListener("pointerdown", turnKeyboardUsageOff, { capture: true });
27903
- });
27904
- onUnmounted(() => {
27905
- document.removeEventListener("keydown", turnKeyboardUsageOn, true);
27906
- document.removeEventListener("pointerdown", turnKeyboardUsageOff, true);
27907
- });
27908
- return hasUsedKeyboard;
27909
- };
27910
- //#endregion
27911
27961
  //#region src/util/useKdsNameValidator.ts
27912
27962
  var INVALID_NAME_CHARACTERS = /[*?#:";<>%~|/\\]/;
27913
27963
  var NAME_CHAR_LIMIT = 255;
@@ -35758,6 +35808,10 @@ var KdsSplitPanel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
35758
35808
  showSnapEmptyState: {
35759
35809
  type: Boolean,
35760
35810
  default: false
35811
+ },
35812
+ hideSplitterWhenClosed: {
35813
+ type: Boolean,
35814
+ default: false
35761
35815
  }
35762
35816
  }, {
35763
35817
  "expanded": {
@@ -35801,7 +35855,10 @@ var KdsSplitPanel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
35801
35855
  };
35802
35856
  const sizePane = computed(() => directionSizePaneMap[__props.direction]);
35803
35857
  const isSecondaryReverse = computed(() => [kdsSplitPanelDirection.LEFT, kdsSplitPanelDirection.UP].includes(__props.direction));
35804
- const hiddenPane = computed(() => __props.hideSecondaryPane ? sizePane.value : void 0);
35858
+ const hiddenPane = computed(() => {
35859
+ if (__props.hideSecondaryPane) return sizePane.value;
35860
+ if (__props.hideSplitterWhenClosed && !expanded.value) return sizePane.value;
35861
+ });
35805
35862
  const previousSecondarySize = ref(secondarySize.value);
35806
35863
  const willSnap = computed(() => {
35807
35864
  if (__props.usePixel) return __props.secondarySnapSize > pixelSize.value;
@@ -35925,7 +35982,7 @@ var KdsSplitPanel_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
35925
35982
  ]);
35926
35983
  };
35927
35984
  }
35928
- }), [["__scopeId", "data-v-a2cc6943"]]);
35985
+ }), [["__scopeId", "data-v-d6459278"]]);
35929
35986
  //#endregion
35930
35987
  //#region src/layouts/panels/TabPanel/TabBar/useTabBarAdaptiveLayout.ts
35931
35988
  /**