@ukic/web-components 3.6.0 → 3.7.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 (115) hide show
  1. package/README.md +2 -1
  2. package/dist/cjs/core.cjs.js +1 -1
  3. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  4. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +39 -47
  6. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  7. package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -10
  8. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-search-bar.cjs.entry.js +2 -2
  10. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-select.cjs.entry.js +2 -2
  12. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-side-navigation.cjs.entry.js +2 -2
  14. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +15 -4
  16. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-toggle-button.cjs.entry.js +13 -4
  18. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +5 -3
  21. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -0
  22. package/dist/collection/components/ic-menu/ic-menu.js +108 -47
  23. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  24. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +3 -10
  25. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  26. package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +5 -3
  27. package/dist/collection/components/ic-search-bar/ic-search-bar.js +2 -2
  28. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  29. package/dist/collection/components/ic-select/ic-select.js +2 -2
  30. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  31. package/dist/collection/components/ic-select/ic-select_(multi).stories.js +7 -5
  32. package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +7 -5
  33. package/dist/collection/components/ic-select/ic-select_(single).stories.js +7 -5
  34. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +2 -2
  35. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  36. package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +31 -4
  37. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +5 -10
  38. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +17 -0
  39. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +32 -3
  40. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  41. package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +7 -0
  42. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +7 -0
  43. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +36 -3
  44. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
  45. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +17 -0
  46. package/dist/components/ic-loading-indicator2.js +1 -1
  47. package/dist/components/ic-loading-indicator2.js.map +1 -1
  48. package/dist/components/ic-menu2.js +42 -47
  49. package/dist/components/ic-menu2.js.map +1 -1
  50. package/dist/components/ic-navigation-item.js +3 -10
  51. package/dist/components/ic-navigation-item.js.map +1 -1
  52. package/dist/components/ic-search-bar.js +2 -2
  53. package/dist/components/ic-search-bar.js.map +1 -1
  54. package/dist/components/ic-select.js +2 -2
  55. package/dist/components/ic-select.js.map +1 -1
  56. package/dist/components/ic-side-navigation.js +2 -2
  57. package/dist/components/ic-side-navigation.js.map +1 -1
  58. package/dist/components/ic-tab-panel.js.map +1 -1
  59. package/dist/components/ic-text-field.js.map +1 -1
  60. package/dist/components/ic-toggle-button-group.js +17 -4
  61. package/dist/components/ic-toggle-button-group.js.map +1 -1
  62. package/dist/components/ic-toggle-button.js +14 -4
  63. package/dist/components/ic-toggle-button.js.map +1 -1
  64. package/dist/core/core.esm.js +1 -1
  65. package/dist/core/core.esm.js.map +1 -1
  66. package/dist/core/{p-7b9e10a0.entry.js → p-018eaee0.entry.js} +2 -2
  67. package/dist/core/p-018eaee0.entry.js.map +1 -0
  68. package/dist/core/{p-57309502.entry.js → p-02132a4c.entry.js} +2 -2
  69. package/dist/core/p-02132a4c.entry.js.map +1 -0
  70. package/dist/core/{p-4935b899.entry.js → p-152ddde9.entry.js} +2 -2
  71. package/dist/core/{p-4935b899.entry.js.map → p-152ddde9.entry.js.map} +1 -1
  72. package/dist/core/{p-b730963a.entry.js → p-182b7037.entry.js} +2 -2
  73. package/dist/core/p-182b7037.entry.js.map +1 -0
  74. package/dist/core/p-543b90c5.entry.js +2 -0
  75. package/dist/core/p-543b90c5.entry.js.map +1 -0
  76. package/dist/core/p-6b52e47f.entry.js +2 -0
  77. package/dist/core/p-6b52e47f.entry.js.map +1 -0
  78. package/dist/core/{p-e29ba8bd.entry.js → p-ab1103e1.entry.js} +2 -2
  79. package/dist/core/p-ab1103e1.entry.js.map +1 -0
  80. package/dist/core/{p-cd42b7c0.entry.js → p-d85b438a.entry.js} +2 -2
  81. package/dist/core/{p-cd42b7c0.entry.js.map → p-d85b438a.entry.js.map} +1 -1
  82. package/dist/esm/core.js +1 -1
  83. package/dist/esm/ic-button_3.entry.js +1 -1
  84. package/dist/esm/ic-button_3.entry.js.map +1 -1
  85. package/dist/esm/ic-input-component-container_3.entry.js +39 -47
  86. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  87. package/dist/esm/ic-navigation-item.entry.js +3 -10
  88. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  89. package/dist/esm/ic-search-bar.entry.js +2 -2
  90. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  91. package/dist/esm/ic-select.entry.js +2 -2
  92. package/dist/esm/ic-select.entry.js.map +1 -1
  93. package/dist/esm/ic-side-navigation.entry.js +2 -2
  94. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  95. package/dist/esm/ic-toggle-button-group.entry.js +15 -4
  96. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  97. package/dist/esm/ic-toggle-button.entry.js +13 -4
  98. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  99. package/dist/esm/loader.js +1 -1
  100. package/dist/types/components/ic-menu/ic-menu.d.ts +12 -4
  101. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +4 -0
  102. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +5 -0
  103. package/dist/types/components.d.ts +19 -0
  104. package/hydrate/index.js +82 -72
  105. package/hydrate/index.mjs +82 -72
  106. package/package.json +2 -2
  107. package/vscode-data.json +8 -0
  108. package/dist/core/p-57309502.entry.js.map +0 -1
  109. package/dist/core/p-7b9e10a0.entry.js.map +0 -1
  110. package/dist/core/p-9caa9e7b.entry.js +0 -2
  111. package/dist/core/p-9caa9e7b.entry.js.map +0 -1
  112. package/dist/core/p-b730963a.entry.js.map +0 -1
  113. package/dist/core/p-d7c8f10d.entry.js +0 -2
  114. package/dist/core/p-d7c8f10d.entry.js.map +0 -1
  115. package/dist/core/p-e29ba8bd.entry.js.map +0 -1
@@ -12,9 +12,6 @@ export class Menu {
12
12
  this.hasPreviouslyBlurred = false;
13
13
  this.hasTimedOut = false;
14
14
  this.isLoading = false;
15
- this.isMultiSelect = false;
16
- this.isSearchBar = false;
17
- this.isSearchableSelect = false;
18
15
  this.lastOptionSelected = null; // Index of last option selected
19
16
  this.lastOptionFocused = null; // Index of last option focused
20
17
  this.multiOptionClicked = null;
@@ -47,6 +44,18 @@ export class Menu {
47
44
  * The custom name for the label field for IcMenuOption.
48
45
  */
49
46
  this.labelField = "label";
47
+ /**
48
+ * @internal - flag to specify if menu is in a ic-select multiple.
49
+ */
50
+ this.multiSelect = false;
51
+ /**
52
+ * @internal - flag to specify if menu is in a searchable ic-select.
53
+ */
54
+ this.searchableSelect = false;
55
+ /**
56
+ * @internal - flag to specify if menu is in a ic-search-bar.
57
+ */
58
+ this.searchBar = false;
50
59
  /**
51
60
  * Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches.
52
61
  */
@@ -79,7 +88,7 @@ export class Menu {
79
88
  this.preventClickOpen = false;
80
89
  }
81
90
  // Reset optionHighlighted so previously highlighted option doesn't get reselected when Enter pressed
82
- if (this.isMultiSelect) {
91
+ if (this.multiSelect) {
83
92
  this.optionHighlighted = undefined;
84
93
  this.multiOptionClicked = null;
85
94
  }
@@ -113,27 +122,12 @@ export class Menu {
113
122
  });
114
123
  }
115
124
  };
116
- this.getParentEl = (parent) => {
117
- if (parent.tagName === this.SEARCH_BAR_TAG) {
118
- this.isSearchBar = true;
119
- }
120
- else if (parent.tagName === "IC-SELECT") {
121
- if (parent.getAttribute("searchable") !== null &&
122
- parent.getAttribute("searchable") !== undefined) {
123
- this.isSearchableSelect = true;
124
- }
125
- else if (parent.getAttribute("multiple") !== null &&
126
- parent.getAttribute("multiple") !== undefined) {
127
- this.isMultiSelect = true;
128
- }
129
- }
130
- };
131
125
  // Open menu when up or down arrow keys are pressed
132
126
  this.arrowBehaviour = (event) => {
133
127
  event.preventDefault();
134
128
  this.handleMenuChange(true);
135
129
  };
136
- this.getMenuOptions = () => this.isSearchBar ? this.options : this.ungroupedOptions;
130
+ this.getMenuOptions = () => this.searchBar ? this.options : this.ungroupedOptions;
137
131
  // Set option that is focused and so should show focus state
138
132
  this.setHighlightedOption = (highlightedIndex) => {
139
133
  const menuOptions = this.getMenuOptions();
@@ -171,11 +165,11 @@ export class Menu {
171
165
  if (!this.isLoading && !this.hasTimedOut) {
172
166
  this.keyboardNav = true;
173
167
  }
174
- const isOpen = this.isSearchBar || this.isSearchableSelect || this.open;
168
+ const isOpen = this.searchBar || this.searchableSelect || this.open;
175
169
  if (isOpen) {
176
170
  if (highlightedOptionIndex >= 0) {
177
171
  if (options[highlightedOptionIndex] !== undefined) {
178
- if (this.isSearchBar &&
172
+ if (this.searchBar &&
179
173
  options[highlightedOptionIndex].disabled === true) {
180
174
  this.disabledOptionSelected = true;
181
175
  }
@@ -220,7 +214,7 @@ export class Menu {
220
214
  const clickedMultiOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.multiOptionClicked);
221
215
  const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
222
216
  // Space press should be equivalent to Enter when multi-select
223
- if (event.key === " " && this.isMultiSelect) {
217
+ if (event.key === " " && this.multiSelect) {
224
218
  this.handleOptionSelect(event, highlightedOptionIndex);
225
219
  }
226
220
  else {
@@ -251,7 +245,7 @@ export class Menu {
251
245
  this.handleSingleShiftSelect(event, 0, menuOptions);
252
246
  }
253
247
  // Deselect currently selected options if arrow was pressed for first time after shift is held
254
- if (this.isMultiSelect && this.shiftPressed) {
248
+ if (this.multiSelect && this.shiftPressed) {
255
249
  this.deselectSelectedOptions([
256
250
  highlightedOptionIndex,
257
251
  this.getOptionHighlightedIndex(),
@@ -290,7 +284,7 @@ export class Menu {
290
284
  this.handleSingleShiftSelect(event, highlightedOptionIndex - 1, menuOptions);
291
285
  }
292
286
  // Deselect currently selected options if arrow was pressed for first time after shift is held
293
- if (this.isMultiSelect && this.shiftPressed) {
287
+ if (this.multiSelect && this.shiftPressed) {
294
288
  this.deselectSelectedOptions([
295
289
  highlightedOptionIndex,
296
290
  this.getOptionHighlightedIndex(),
@@ -338,7 +332,7 @@ export class Menu {
338
332
  if (!isKeyboardCombination) {
339
333
  this.keyboardNav = false;
340
334
  }
341
- if (this.isSearchBar || this.isSearchableSelect) {
335
+ if (this.searchBar || this.searchableSelect) {
342
336
  break;
343
337
  }
344
338
  else {
@@ -376,10 +370,10 @@ export class Menu {
376
370
  if (event.key === "Shift") {
377
371
  this.shiftPressed = true;
378
372
  }
379
- if (this.isSearchBar) {
373
+ if (this.searchBar) {
380
374
  this.keyboardNav = true;
381
375
  }
382
- if (this.isMultiSelect) {
376
+ if (this.multiSelect) {
383
377
  if (this.open && !event.shiftKey && this.selectAllButton) {
384
378
  event.preventDefault();
385
379
  this.selectAllButton.focus(); // Move focus to select all button instead of focused option
@@ -422,7 +416,7 @@ export class Menu {
422
416
  };
423
417
  this.handleOptionClick = (event) => {
424
418
  const { value, label } = event.target.dataset;
425
- if (this.isMultiSelect) {
419
+ if (this.multiSelect) {
426
420
  const menuOptions = this.getMenuOptions();
427
421
  const selectedOptionIndex = menuOptions.findIndex((option) => option.value === value);
428
422
  this.handleOptionSelect(event, selectedOptionIndex, true);
@@ -464,7 +458,7 @@ export class Menu {
464
458
  this.lastOptionFocused = null;
465
459
  this.lastOptionSelected = null;
466
460
  }
467
- if (!this.isSearchBar)
461
+ if (!this.searchBar)
468
462
  this.hasPreviouslyBlurred = !!event.relatedTarget;
469
463
  };
470
464
  this.handleMouseDown = (event) => {
@@ -474,7 +468,7 @@ export class Menu {
474
468
  if (this.activationType === "automatic") {
475
469
  this.autoSetValueOnMenuKeyDown(event);
476
470
  }
477
- else if (this.activationType === "manual" && !this.isSearchBar) {
471
+ else if (this.activationType === "manual" && !this.searchBar) {
478
472
  this.manualSetInputValueKeyboardOpen(event);
479
473
  }
480
474
  };
@@ -517,7 +511,7 @@ export class Menu {
517
511
  // When shift key is being used to select contiguous options one by one on a multi-select
518
512
  // I.e. holding shift and pressing up and down arrow keys
519
513
  this.handleSingleShiftSelect = (event, optionToSelectIndex, options) => {
520
- if (this.isMultiSelect &&
514
+ if (this.multiSelect &&
521
515
  event.shiftKey &&
522
516
  !this.isOptionSelected(optionToSelectIndex)) {
523
517
  this.selectHighlightedOption(options, optionToSelectIndex);
@@ -767,9 +761,7 @@ export class Menu {
767
761
  this.loadUngroupedOptions();
768
762
  }
769
763
  connectedCallback() {
770
- if (this.parentEl)
771
- this.getParentEl(this.parentEl);
772
- if (this.isSearchBar) {
764
+ if (this.searchBar) {
773
765
  if (this.searchMode === "navigation")
774
766
  this.setHighlightedOption(0);
775
767
  this.initialOptionsListRender = true;
@@ -790,7 +782,7 @@ export class Menu {
790
782
  this.isLoading = (_d = this.options) === null || _d === void 0 ? void 0 : _d.some((opt) => opt.loading);
791
783
  }
792
784
  componentDidLoad() {
793
- if (this.isSearchBar &&
785
+ if (this.searchBar &&
794
786
  this.parentEl.disableAutoFiltering) {
795
787
  this.focusFromSearchKeypress = true;
796
788
  }
@@ -812,7 +804,7 @@ export class Menu {
812
804
  this.keyboardNav &&
813
805
  inputValueInOptions &&
814
806
  this.autofocusOnSelected &&
815
- !this.isSearchableSelect) {
807
+ !this.searchableSelect) {
816
808
  this.scrollToSelected(this.menu);
817
809
  }
818
810
  else if (this.selectOnEnter) {
@@ -906,21 +898,21 @@ export class Menu {
906
898
  focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex) {
907
899
  if (!menuOptions[highlightedOptionIndex])
908
900
  return;
909
- if (this.isSearchBar) {
901
+ if (this.searchBar) {
910
902
  this.parentEl.setFocus();
911
903
  if (this.searchMode === "navigation")
912
904
  this.setHighlightedOption(0);
913
905
  }
914
- if (this.isSearchableSelect) {
906
+ if (this.searchableSelect) {
915
907
  this.parentEl.setFocus();
916
908
  }
917
909
  this.focusFromSearchKeypress = true;
918
910
  }
919
911
  render() {
920
- const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, } = this;
912
+ const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
921
913
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
922
914
  const hasNoResults = this.host.classList.contains("no-results");
923
- return (h(Host, { key: '6c3e0c39d138c8622c3748c16294f0e21e202909', class: {
915
+ return (h(Host, { key: 'bce19ee8d7929f03d2de173ad6f2b639cd2fbf2c', class: {
924
916
  "ic-menu-full-width": !!fullWidth,
925
917
  "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
926
918
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
@@ -928,8 +920,8 @@ export class Menu {
928
920
  isLoading,
929
921
  [`ic-menu-${size}`]: true,
930
922
  "ic-menu-open": open && options.length !== 0,
931
- "ic-menu-multiple": this.isMultiSelect,
932
- } }, options.length !== 0 && (h("ul", { key: '69ea4424544b03896b65f0b30221872e131a04f6', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": this.isMultiSelect ? "true" : "false", tabindex: open &&
923
+ "ic-menu-multiple": multiSelect,
924
+ } }, options.length !== 0 && (h("ul", { key: 'edbb9d969dd8218a45c6d012abf8964fc2acd0a7', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
933
925
  !keyboardNav &&
934
926
  ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
935
927
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
@@ -938,7 +930,7 @@ export class Menu {
938
930
  if (option.children) {
939
931
  if (option.children.length > 0) {
940
932
  return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => childOption.label &&
941
- this.displayOption(childOption, this.isMultiSelect
933
+ this.displayOption(childOption, multiSelect
942
934
  ? value === null || value === void 0 ? void 0 : value.includes(childOption[this.valueField])
943
935
  : childOption[this.valueField] === value, index, option))));
944
936
  }
@@ -949,15 +941,15 @@ export class Menu {
949
941
  else {
950
942
  // Display option only if it has a label (rather than displaying an empty space)
951
943
  return (option.label &&
952
- this.displayOption(option, this.isMultiSelect
944
+ this.displayOption(option, multiSelect
953
945
  ? value === null || value === void 0 ? void 0 : value.includes(option[this.valueField])
954
946
  : option[this.valueField] === value, index));
955
947
  }
956
948
  }))), options.length !== 0 &&
957
- this.isMultiSelect &&
949
+ multiSelect &&
958
950
  !isLoading &&
959
951
  !hasTimedOut &&
960
- !hasNoResults && (h("div", { key: '17553f6e5ecd81b892894244b3a3a143b998c23c', class: "option-bar" }, h("ic-typography", { key: '7f4ce460524beb936e4d4ef2bbbcedd03cacec5c' }, h("p", { key: 'aae0e564a9caf83b09d4ee8daa3d9409b7d69501' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: '692b840395eafd8c4c5dd0f21bab2082debb44bf', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
952
+ !hasNoResults && (h("div", { key: '317f18bd8ff88fadf840ccc5666bf7ae7a6b1e65', class: "option-bar" }, h("ic-typography", { key: '32e28e814c9c3d4ac243e2d45cb2487a99a900ba' }, h("p", { key: '6ed28e350ad356ef669b4b6b9f3d8718a7274782' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'e66e1b04732d26ebbc05751eadc49968c11ac92c', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
961
953
  }
962
954
  static get is() { return "ic-menu"; }
963
955
  static get encapsulation() { return "scoped"; }
@@ -1164,6 +1156,29 @@ export class Menu {
1164
1156
  "attribute": "menu-id",
1165
1157
  "reflect": false
1166
1158
  },
1159
+ "multiSelect": {
1160
+ "type": "boolean",
1161
+ "mutable": false,
1162
+ "complexType": {
1163
+ "original": "boolean",
1164
+ "resolved": "boolean",
1165
+ "references": {}
1166
+ },
1167
+ "required": false,
1168
+ "optional": false,
1169
+ "docs": {
1170
+ "tags": [{
1171
+ "name": "internal",
1172
+ "text": "- flag to specify if menu is in a ic-select multiple."
1173
+ }],
1174
+ "text": ""
1175
+ },
1176
+ "getter": false,
1177
+ "setter": false,
1178
+ "attribute": "multi-select",
1179
+ "reflect": false,
1180
+ "defaultValue": "false"
1181
+ },
1167
1182
  "open": {
1168
1183
  "type": "boolean",
1169
1184
  "mutable": false,
@@ -1208,6 +1223,52 @@ export class Menu {
1208
1223
  "getter": false,
1209
1224
  "setter": false
1210
1225
  },
1226
+ "searchableSelect": {
1227
+ "type": "boolean",
1228
+ "mutable": false,
1229
+ "complexType": {
1230
+ "original": "boolean",
1231
+ "resolved": "boolean",
1232
+ "references": {}
1233
+ },
1234
+ "required": false,
1235
+ "optional": false,
1236
+ "docs": {
1237
+ "tags": [{
1238
+ "name": "internal",
1239
+ "text": "- flag to specify if menu is in a searchable ic-select."
1240
+ }],
1241
+ "text": ""
1242
+ },
1243
+ "getter": false,
1244
+ "setter": false,
1245
+ "attribute": "searchable-select",
1246
+ "reflect": false,
1247
+ "defaultValue": "false"
1248
+ },
1249
+ "searchBar": {
1250
+ "type": "boolean",
1251
+ "mutable": false,
1252
+ "complexType": {
1253
+ "original": "boolean",
1254
+ "resolved": "boolean",
1255
+ "references": {}
1256
+ },
1257
+ "required": false,
1258
+ "optional": false,
1259
+ "docs": {
1260
+ "tags": [{
1261
+ "name": "internal",
1262
+ "text": "- flag to specify if menu is in a ic-search-bar."
1263
+ }],
1264
+ "text": ""
1265
+ },
1266
+ "getter": false,
1267
+ "setter": false,
1268
+ "attribute": "search-bar",
1269
+ "reflect": false,
1270
+ "defaultValue": "false"
1271
+ },
1211
1272
  "searchMode": {
1212
1273
  "type": "string",
1213
1274
  "mutable": false,