@watermarkinsights/ripple 5.16.0-alpha.0 → 5.16.0-alpha.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 (37) hide show
  1. package/dist/cjs/{app-globals-ff5fd9b0.js → app-globals-f56991b7.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ripple.cjs.js +1 -1
  4. package/dist/cjs/wm-tag-input.cjs.entry.js +61 -6
  5. package/dist/collection/components/datepickers/datepicker.css +0 -31
  6. package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -31
  7. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -31
  8. package/dist/collection/components/wm-pagination/wm-pagination.css +0 -31
  9. package/dist/collection/components/wm-search/wm-search.css +0 -31
  10. package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -31
  11. package/dist/collection/components/wm-tag-input/wm-tag-input.css +3 -0
  12. package/dist/collection/components/wm-tag-input/wm-tag-input.js +60 -5
  13. package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -31
  14. package/dist/collection/components/wm-uploader/wm-uploader.css +0 -31
  15. package/dist/esm/{app-globals-c63b9640.js → app-globals-cc7a1bd5.js} +1 -1
  16. package/dist/esm/loader.js +1 -1
  17. package/dist/esm/polyfills/core-js.js +0 -0
  18. package/dist/esm/polyfills/dom.js +0 -0
  19. package/dist/esm/polyfills/es5-html-element.js +0 -0
  20. package/dist/esm/polyfills/index.js +0 -0
  21. package/dist/esm/polyfills/system.js +0 -0
  22. package/dist/esm/ripple.js +1 -1
  23. package/dist/esm/wm-tag-input.entry.js +61 -6
  24. package/dist/esm-es5/{app-globals-c63b9640.js → app-globals-cc7a1bd5.js} +1 -1
  25. package/dist/esm-es5/loader.js +1 -1
  26. package/dist/esm-es5/ripple.js +1 -1
  27. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  28. package/dist/ripple/{p-c879e152.js → p-12ac8f93.js} +1 -1
  29. package/dist/ripple/p-6abc1227.entry.js +1 -0
  30. package/dist/ripple/{p-a05f29f0.system.js → p-c1aa877a.system.js} +1 -1
  31. package/dist/ripple/{p-65c8ef31.system.entry.js → p-ceac4dea.system.entry.js} +1 -1
  32. package/dist/ripple/{p-fd6a59f5.system.js → p-e59a48a6.system.js} +1 -1
  33. package/dist/ripple/ripple.esm.js +1 -1
  34. package/dist/ripple/ripple.js +1 -1
  35. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +2 -0
  36. package/package.json +2 -2
  37. package/dist/ripple/p-1396ff75.entry.js +0 -1
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  }
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host {
882
851
  --wmcolor-actionmenu-item-background-hover: var(--wmcolor-option-background-hover);
883
852
  --wmcolor-actionmenu-item-background-focus: var(--wmcolor-option-background-focus);
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  }
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host,
882
851
  wm-pagination {
883
852
  --wmcolor-pagination-arrow-disabled: var(--wmcolor-interactive-disabled);
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  }
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  margin: unset;
@@ -1229,6 +1229,9 @@
1229
1229
  overflow: auto;
1230
1230
  margin-block-start: 1.5rem;
1231
1231
  }
1232
+ :host .table-wrapper:focus {
1233
+ outline: none;
1234
+ }
1232
1235
  :host .table-wrapper #table {
1233
1236
  width: 100%;
1234
1237
  border-spacing: 0px;
@@ -469,9 +469,9 @@ export class TagInput {
469
469
  }
470
470
  }
471
471
  handleInputFocus() {
472
+ this.clearOptionFocus();
472
473
  if (this.isDropdown) {
473
474
  this.openDropdown();
474
- this.clearOptionFocus();
475
475
  }
476
476
  }
477
477
  handleInputChanged(ev) {
@@ -632,6 +632,61 @@ export class TagInput {
632
632
  }
633
633
  }
634
634
  }
635
+ handleTableWrapperFocus() {
636
+ // Forward focus to first focusable table row when container receives focus
637
+ if (this.isTable) {
638
+ // First try filtered options, then fall back to all options
639
+ let targetOptions = this.filteredOptionEls;
640
+ if (targetOptions.length === 0) {
641
+ targetOptions = this.optionEls;
642
+ }
643
+ if (targetOptions.length > 0) {
644
+ const firstOption = targetOptions[0];
645
+ const firstRow = this.elFromTagOption(firstOption);
646
+ if (firstRow) {
647
+ this.focusOption(firstRow);
648
+ return; // Successfully handled focus
649
+ }
650
+ }
651
+ // Fallback: if we can't find any options or rows, keep focus on input
652
+ // This prevents focus from going to body
653
+ if (this.inputEl) {
654
+ this.inputEl.focus();
655
+ }
656
+ }
657
+ }
658
+ handleTableWrapperKeyDown(ev) {
659
+ // Override browser's default scrolling behavior and delegate to our navigation
660
+ switch (ev.key) {
661
+ case "ArrowDown":
662
+ ev.preventDefault();
663
+ this.handleInputArrowDown();
664
+ break;
665
+ case "ArrowUp":
666
+ ev.preventDefault();
667
+ this.handleInputArrowUp();
668
+ break;
669
+ case "ArrowLeft":
670
+ ev.preventDefault();
671
+ this.focusPrevCell();
672
+ break;
673
+ case "ArrowRight":
674
+ ev.preventDefault();
675
+ this.focusNextCell();
676
+ break;
677
+ case "Enter":
678
+ ev.preventDefault();
679
+ this.handleInputEnter();
680
+ break;
681
+ case "Escape":
682
+ ev.preventDefault();
683
+ // Focus back to input as a safe fallback
684
+ if (this.inputEl) {
685
+ this.inputEl.focus();
686
+ }
687
+ break;
688
+ }
689
+ }
635
690
  focusPrevCell() {
636
691
  if (this.focusedOption) {
637
692
  if (this.focusedColumn > 0) {
@@ -788,7 +843,7 @@ export class TagInput {
788
843
  !optionAlreadyExists && (h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn", onClick: () => this.addTags(inputValue) }, this.addNewTagMessage(inputValue))));
789
844
  }
790
845
  renderTable() {
791
- return (h("div", { class: "table-wrapper", onScroll: () => this.dismissTooltip() }, h("table", { id: "table", role: "grid", class: `${this.colWidths ? "fixed-widths" : ""}`, "aria-label": this.label, "aria-multiselectable": "true" }, this.renderTableHeaders(), this.filteredOptionEls.length ? (this.filteredOptionEls.map((o) => this.renderTableRow(o))) : (h("div", { class: "no-results" }, this.noResultsMessage)))));
846
+ return (h("div", { class: "table-wrapper", onScroll: () => this.dismissTooltip(), onFocus: () => this.handleTableWrapperFocus(), onKeyDown: (ev) => this.handleTableWrapperKeyDown(ev) }, h("table", { id: "table", role: "grid", class: `${this.colWidths ? "fixed-widths" : ""}`, "aria-label": this.label, "aria-multiselectable": "true" }, this.renderTableHeaders(), this.filteredOptionEls.length ? (this.filteredOptionEls.map((o) => this.renderTableRow(o))) : (h("div", { class: "no-results" }, this.noResultsMessage)))));
792
847
  }
793
848
  renderTableHeaders() {
794
849
  return (h("tr", { class: "headers", role: "row" }, csvToArray(this.colHeaders).map((header, idx) => {
@@ -864,12 +919,12 @@ export class TagInput {
864
919
  }
865
920
  }
866
921
  render() {
867
- return (h("div", { key: '7d8c886c6c3e1222b5b75f39abc0675b6d3c6391', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '773290cfa1656ecf851131cb51a277f86c7958fe', class: "label-wrapper" }, h("label", { key: '1be0c47a321fb9b401e977595c1227e3f66df056', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: 'fdb58e1f11e67c041961ea773880937f5c9595a4', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'a1c677b7cdd2f2462541ee54b3c9e2b8dbf8de04', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'ddf599d183d941327bed5e2fee01e7203d18b139', class: "upper-row" }, h("div", { key: '54d35cbfd2cdd5e6d18ed96391880ffcffdbd79b', class: "svg-icon svg-search" }), h("div", { key: '259e667e4b5597b8845d7d022b66dbaeac1a2862', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: '67e003d45ed9c278626de2a95e4a0fb8acbdd194', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
922
+ return (h("div", { key: '01e06180a6a01df582f810c719445fbeed00fe4a', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'f6afeda4ee70df39da5d27bf785f4fc2fd0d72c0', class: "label-wrapper" }, h("label", { key: 'c2c81afa191d66c6d33f1b717844b947200e86e0', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: '1da48d6c19e59a014f1aedc0ab33554e64756576', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'ddf3c89a5af6c8c734e537be9f01fd1b306a7b49', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'c332f024838f3b710abe7721a1761d917f4cc34e', class: "upper-row" }, h("div", { key: 'bc81483ffa3695189828215c79ab362b8374f4a7', class: "svg-icon svg-search" }), h("div", { key: '668bdcfc8a6b06e14469fc0f977f79f444773b3f', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: '6ea2700c19f37305e2ae8e067eea61bff23b8dc8', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
868
923
  this.focusedTagIndex = undefined;
869
924
  this.handleBlur(ev);
870
- }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: 'a0fdcf2f8f9f6b919e854ddcb3db5f2f47b781a0', id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
925
+ }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: 'b99ca40b61d052f9fe7a30881f1479abf22925b6', id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
871
926
  this.handleBlur(ev);
872
- }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: '18d2eae04010daa298a74f78f1b9518497a4479e', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '5f4c1611560dedb1f1bf7b0ccdafd2034b64e308', id: "info", class: "info-text" }, this.info)), h("div", { key: '4e7a79722863aa2db7278bebe58dd1fbe76f6f3f', id: "error" }, this.errorMessage), h("div", { key: '10c7818043b3d9dc85341f9b0107cee9199aa780', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
927
+ }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: 'a2f6daf9eab25e6dcd9ead5a70dc66b0afe1ede9', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '3a733a7064be0b93ece1c7f0ed2cb3165184b3c3', id: "info", class: "info-text" }, this.info)), h("div", { key: '2d8435c9aa077e8902a9cccf1c1057e48926240a', id: "error" }, this.errorMessage), h("div", { key: 'd9a7d93201d0d7ef4ec5f7ee708ddfe41dad7da4', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
873
928
  }
874
929
  static get is() { return "wm-tag-input"; }
875
930
  static get encapsulation() { return "shadow"; }
@@ -847,37 +847,6 @@
847
847
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  }
@@ -1543,37 +1543,6 @@
1543
1543
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
1544
1544
  }
1545
1545
 
1546
- /* --------------------------------------
1547
- 1. Box-shadow
1548
- -------------------------------------- */
1549
- /* --------------------------------------
1550
- 2. Border-radius
1551
- -------------------------------------- */
1552
- /* --------------------------------------
1553
- 3. Transforms
1554
- -------------------------------------- */
1555
- /* --------------------------------------
1556
- 4. Button Focus
1557
- -------------------------------------- */
1558
- /* --------------------------------------
1559
- 5. Flex
1560
- -------------------------------------- */
1561
- /* --------------------------------------
1562
- 7. Screen Reader Only
1563
- -------------------------------------- */
1564
- /* --------------------------------------
1565
- 8. Label styles
1566
- this mixin includes all the styles for the label
1567
- + flex rules on the parent container to switch between top and left position
1568
- + srOnly when label is hidden
1569
- Assumes the following markup:
1570
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
1571
- .wrapper is for the flex rules
1572
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
1573
- the input. It can't be done directly on .label because of possible line wrapping.
1574
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
1575
- (they can't be aligned on the baseline because of possible description text and error message)
1576
- -------------------------------------- */
1577
1546
  :host {
1578
1547
  display: block;
1579
1548
  position: relative;
@@ -1,6 +1,6 @@
1
1
  import './index-130e07bb.js';
2
2
 
3
- const version = "5.16.0-alpha.0";
3
+ const version = "5.16.0-alpha.1";
4
4
 
5
5
  // PRINT RIPPLE VERSION IN CONSOLE
6
6
  // test envs return 0 for plugin.length
@@ -1,6 +1,6 @@
1
1
  import { b as bootstrapLazy } from './index-130e07bb.js';
2
2
  export { s as setNonce } from './index-130e07bb.js';
3
- import { g as globalScripts } from './app-globals-c63b9640.js';
3
+ import { g as globalScripts } from './app-globals-cc7a1bd5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-130e07bb.js';
2
2
  export { s as setNonce } from './index-130e07bb.js';
3
- import { g as globalScripts } from './app-globals-c63b9640.js';
3
+ import { g as globalScripts } from './app-globals-cc7a1bd5.js';
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com