@watermarkinsights/ripple 5.22.2-alpha.0 → 5.22.2-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 (68) hide show
  1. package/dist/cjs/{app-globals-85655665.js → app-globals-a8d426a3.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/priv-chart-popover.cjs.entry.js +1 -1
  4. package/dist/cjs/ripple.cjs.js +1 -1
  5. package/dist/cjs/wm-button.cjs.entry.js +1 -1
  6. package/dist/cjs/wm-option_2.cjs.entry.js +46 -35
  7. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  8. package/dist/cjs/wm-search.cjs.entry.js +1 -1
  9. package/dist/cjs/wm-snackbar.cjs.entry.js +1 -1
  10. package/dist/cjs/wm-tab-item_3.cjs.entry.js +1 -1
  11. package/dist/cjs/wm-uploader.cjs.entry.js +1 -1
  12. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +8 -10
  13. package/dist/collection/components/selects/wm-select/wm-select.js +46 -35
  14. package/dist/collection/components/wm-button/wm-button.css +15 -14
  15. package/dist/collection/components/wm-pagination/wm-pagination.css +17 -12
  16. package/dist/collection/components/wm-search/wm-search.css +8 -8
  17. package/dist/collection/components/wm-snackbar/wm-snackbar.css +13 -10
  18. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +2 -3
  19. package/dist/collection/components/wm-uploader/wm-uploader.css +16 -23
  20. package/dist/esm/{app-globals-b74a6cc1.js → app-globals-bb7ed51c.js} +1 -1
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/esm/priv-chart-popover.entry.js +1 -1
  23. package/dist/esm/ripple.js +1 -1
  24. package/dist/esm/wm-button.entry.js +1 -1
  25. package/dist/esm/wm-option_2.entry.js +46 -35
  26. package/dist/esm/wm-pagination.entry.js +1 -1
  27. package/dist/esm/wm-search.entry.js +1 -1
  28. package/dist/esm/wm-snackbar.entry.js +1 -1
  29. package/dist/esm/wm-tab-item_3.entry.js +1 -1
  30. package/dist/esm/wm-uploader.entry.js +1 -1
  31. package/dist/esm-es5/{app-globals-b74a6cc1.js → app-globals-bb7ed51c.js} +1 -1
  32. package/dist/esm-es5/loader.js +1 -1
  33. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  34. package/dist/esm-es5/ripple.js +1 -1
  35. package/dist/esm-es5/wm-button.entry.js +1 -1
  36. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  37. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  38. package/dist/esm-es5/wm-search.entry.js +1 -1
  39. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  40. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  41. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  42. package/dist/ripple/{p-b827f749.system.js → p-009288d4.system.js} +1 -1
  43. package/dist/ripple/{p-26a5f28c.system.entry.js → p-0e3015f2.system.entry.js} +1 -1
  44. package/dist/ripple/p-11ae67a9.entry.js +1 -0
  45. package/dist/ripple/{p-ee713fcf.system.entry.js → p-1c744646.system.entry.js} +1 -1
  46. package/dist/ripple/{p-af2f1e40.entry.js → p-1e4b30ac.entry.js} +1 -1
  47. package/dist/ripple/p-1f26fdb7.entry.js +1 -0
  48. package/dist/ripple/{p-0d43d32d.system.js → p-3043f53e.system.js} +1 -1
  49. package/dist/ripple/{p-1d3d93fd.entry.js → p-5b9441ff.entry.js} +1 -1
  50. package/dist/ripple/{p-c7b4db4e.entry.js → p-5e53aa54.entry.js} +1 -1
  51. package/dist/ripple/{p-2e05d842.entry.js → p-6388bf35.entry.js} +1 -1
  52. package/dist/ripple/{p-5f497cc3.system.entry.js → p-73914a64.system.entry.js} +1 -1
  53. package/dist/ripple/p-75cf1147.system.entry.js +1 -0
  54. package/dist/ripple/{p-9b00ff03.system.entry.js → p-840ed2ca.system.entry.js} +1 -1
  55. package/dist/ripple/{p-37a76068.entry.js → p-91194c43.entry.js} +1 -1
  56. package/dist/ripple/{p-1935b266.system.entry.js → p-92d489c8.system.entry.js} +1 -1
  57. package/dist/ripple/{p-32583474.system.entry.js → p-ac4370ae.system.entry.js} +1 -1
  58. package/dist/ripple/{p-0be0a640.entry.js → p-c0087cd0.entry.js} +1 -1
  59. package/dist/ripple/p-d59ded20.system.entry.js +1 -0
  60. package/dist/ripple/{p-786cae07.js → p-deac7edd.js} +1 -1
  61. package/dist/ripple/ripple.esm.js +1 -1
  62. package/dist/ripple/ripple.js +1 -1
  63. package/dist/types/components/selects/wm-select/wm-select.d.ts +3 -2
  64. package/package.json +2 -2
  65. package/dist/ripple/p-1304309d.system.entry.js +0 -1
  66. package/dist/ripple/p-1e42aeb5.entry.js +0 -1
  67. package/dist/ripple/p-92164192.entry.js +0 -1
  68. package/dist/ripple/p-ad1bc392.system.entry.js +0 -1
@@ -861,13 +861,17 @@
861
861
  }
862
862
 
863
863
  priv-chart-popover {
864
+ --wmcolor-chart-popover-link-background: var(--wmcolor-background-transparent);
865
+ --wmcolor-chart-popover-link-text-focus: var(--wmcolor-interactive-focus);
866
+ --wmcolor-chart-popover-link-text: var(--wmcolor-interactive);
867
+ --wmcolor-chart-popover-background: var(--wmcolor-background);
864
868
  position: fixed;
865
869
  z-index: 10;
866
870
  border-radius: 0.1875rem;
867
871
  -webkit-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
868
872
  -moz-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
869
873
  box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
870
- background-color: var(--wmcolor-background);
874
+ background-color: var(--wmcolor-chart-popover-background);
871
875
  font-size: 0.875rem;
872
876
  text-align: left;
873
877
  }
@@ -923,7 +927,7 @@ priv-chart-popover.user-is-tabbing .button-text {
923
927
  padding-right: 0;
924
928
  height: auto;
925
929
  border: none;
926
- background: var(--wmcolor-background-transparent);
930
+ background: var(--wmcolor-chart-popover-link-background);
927
931
  cursor: pointer;
928
932
  text-decoration: none;
929
933
  letter-spacing: 0;
@@ -931,7 +935,7 @@ priv-chart-popover.user-is-tabbing .button-text {
931
935
  text-align: initial;
932
936
  font-size: 0.875rem;
933
937
  font-weight: 700;
934
- color: var(--wmcolor-link-text);
938
+ color: var(--wmcolor-chart-popover-link-text);
935
939
  line-height: normal;
936
940
  }
937
941
  .popover .popover-button .button-text {
@@ -942,11 +946,6 @@ priv-chart-popover.user-is-tabbing .button-text {
942
946
  top: 0.1875rem;
943
947
  left: -1rem;
944
948
  }
945
- .popover .popover-button span {
946
- text-decoration: underline;
947
- text-decoration-thickness: 0.0714285714em;
948
- text-underline-offset: 0.1428571429em;
949
- }
950
949
  .popover .popover-button:focus {
951
950
  outline: none;
952
951
  }
@@ -958,6 +957,5 @@ priv-chart-popover.user-is-tabbing .button-text {
958
957
  text-decoration: none;
959
958
  }
960
959
  .popover .popover-button:hover span {
961
- color: var(--wmcolor-link-text-hover);
962
- text-decoration-thickness: 0.1428571429em;
960
+ text-decoration: underline;
963
961
  }
@@ -7,11 +7,8 @@ export class Select {
7
7
  this.scrollableParents = [];
8
8
  this.returnFocus = false;
9
9
  this.hasAnchor = CSS.supports("top", "anchor(bottom)"); // for FF polyfill
10
- //////////////////////////////////////
11
- // for multiselect button text
12
- this.overflowCount = 0;
13
10
  this.displayedOptions = [];
14
- this.previousDisplayedOptions = [];
11
+ this.oldDisplayText = "";
15
12
  this.debouncedReposition = debounce(() => {
16
13
  this.dropdownPosition();
17
14
  }, 100);
@@ -39,6 +36,9 @@ export class Select {
39
36
  // string "false" needs to be treated as bool False because react wrappers convert bool to string.
40
37
  return toBool(this.disabled);
41
38
  }
39
+ get displayText() {
40
+ return this.displayedOptions.map((x) => x.textContent).join(", ");
41
+ }
42
42
  get selectedOptions() {
43
43
  return Array.from(this.el.querySelectorAll("wm-option")).filter((x) => x.selected);
44
44
  }
@@ -274,22 +274,27 @@ export class Select {
274
274
  this.announcement = message;
275
275
  }
276
276
  handleOverflow() {
277
- // handle overflow + counter for multiselect
278
- // this is a fixed measurement accounting for the max width of a 3 character overflow counter
279
- const overflowCounterWidth = 38;
280
- const computedStyle = window.getComputedStyle(this.buttonEl);
281
- // there seems to be no quick way to get an elements width without padding, except for subtracting padding manually
282
- const paddingLeft = parseInt(computedStyle.getPropertyValue("padding-left").slice(0, -2));
283
- const paddingRight = parseInt(computedStyle.getPropertyValue("padding-right").slice(0, -2));
284
- const availableSpace = this.buttonEl.clientWidth - paddingLeft - paddingRight - overflowCounterWidth;
285
- this.overflowCount = 0;
286
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
287
- let optionsTotalWidth = this.measurementAreaEl.clientWidth;
288
- while (optionsTotalWidth > availableSpace && this.displayedOptions.length > 1) {
289
- this.overflowCount++;
290
- this.displayedOptions.pop();
291
- this.measurementAreaEl.textContent = this.displayedOptions.map((x) => x.textContent).join(", ");
292
- optionsTotalWidth = this.measurementAreaEl.clientWidth;
277
+ if (!this.buttonEl) {
278
+ forceUpdate(this.el);
279
+ }
280
+ else {
281
+ // handle overflow + counter for multiselect
282
+ // this is a fixed measurement accounting for the max width of a 3 character overflow counter
283
+ const overflowCounterWidth = 38;
284
+ const computedStyle = window.getComputedStyle(this.buttonEl);
285
+ // there seems to be no quick way to get an elements width without padding, except for subtracting padding manually
286
+ const paddingLeft = parseInt(computedStyle.getPropertyValue("padding-left").slice(0, -2));
287
+ const paddingRight = parseInt(computedStyle.getPropertyValue("padding-right").slice(0, -2));
288
+ const availableSpace = this.buttonEl.clientWidth - paddingLeft - paddingRight - overflowCounterWidth;
289
+ this.overflowCount = 0;
290
+ this.measurementAreaEl.textContent = this.displayText;
291
+ let optionsTotalWidth = this.measurementAreaEl.clientWidth;
292
+ while (optionsTotalWidth > availableSpace && this.displayedOptions.length > 1) {
293
+ this.overflowCount++;
294
+ this.displayedOptions.pop();
295
+ this.measurementAreaEl.textContent = this.displayText;
296
+ optionsTotalWidth = this.measurementAreaEl.clientWidth;
297
+ }
293
298
  }
294
299
  }
295
300
  setButtonText() {
@@ -299,28 +304,34 @@ export class Select {
299
304
  }
300
305
  else {
301
306
  this.displayedOptions = this.childOptions.filter((x) => x.selected);
302
- const hasChanged = this.displayedOptions !== this.previousDisplayedOptions;
307
+ const hasChanged = this.displayText !== this.oldDisplayText;
303
308
  const noDisplayedOptions = this.displayedOptions.length < 1;
304
309
  if (noDisplayedOptions) {
310
+ this.overflowCount = 0;
305
311
  return this.placeholder;
306
312
  }
307
- else if (!this.buttonEl) {
308
- forceUpdate(this.el);
309
- return "";
310
- }
311
313
  else if (hasChanged) {
312
314
  this.handleOverflow();
313
- // we need to calc overflowcount as we only want to display allSelected message if there is an overflow...
314
- if (this.overflowCount > 0 && this.allSelected) {
315
- // ...but it should be reset so it isn't displayed in that case
316
- this.overflowCount = 0;
315
+ if (this.allSelected) {
316
+ // we want all selected message only if there's an overflow.
317
+ if (!this.overflowCount) {
318
+ // but on first render we don't know: handleOverflow can't calculate measurements
319
+ // in that case, display all selected message even if there's a chance options could have been shown
320
+ this.buttonText = this.allSelectedMessage;
321
+ }
322
+ else if (this.overflowCount > 0)
323
+ // if calc could be made and there is an overflow, reset it as it shouldn't be shown
324
+ this.overflowCount = 0;
325
+ // then display all selected message
317
326
  this.buttonText = this.allSelectedMessage;
318
327
  }
319
328
  else {
320
- this.buttonText = this.displayedOptions.map((x) => x.textContent).join(", ");
329
+ // otherwise, if handleOverflow was able to calculate, it set the count and the display text
330
+ // if it wasn't able to calculate, the text of all the selected options will be displayed and may truncate (acceptable as fallback)
331
+ this.buttonText = this.displayText;
321
332
  }
322
333
  }
323
- this.previousDisplayedOptions = this.displayedOptions;
334
+ this.oldDisplayText = this.displayText;
324
335
  // the reason for setting a global variable and returning it
325
336
  // is that we need the stored value when displayedOptions haven't changed.
326
337
  return this.buttonText; // multiselect value
@@ -333,14 +344,14 @@ export class Select {
333
344
  }
334
345
  render() {
335
346
  const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
336
- return (h(Host, { key: 'a9b76bd87b0e9a3264695746cf8f5c8e91d331c8', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'f4f46f5db1feb4c8e154c89c5d6f6d94ecc00e88', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '460e0a75845de26c016d8e7f4eb975c726f9aa3b', class: "label-wrapper" }, h("label", { key: 'ffbcd7301f69a8696f0135e2c742d71a0ab03492', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
347
+ return (h(Host, { key: 'c79e7d62c63f5609264fe2f5abbbcb7f5bee40cf', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '3c7f3b82cf3c7b81226d376e15b0ad5dd5a0a3f9', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '3a0f1bbcbc40a66979dfaf91e0c8d73547d3d387', class: "label-wrapper" }, h("label", { key: '6c540fb5f76d12047b52fecb40cda9b921466107', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
337
348
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
338
- this.requiredField && (h("span", { key: '45c1248438954a9b1c078e2bae2aeb20717742ba', class: "required" }, h("span", { key: '6a20b3925737ab51fe4ec04d781fce957c09778e', class: "sr-only" }, globalMessages.requiredField), h("span", { key: 'f03585760652f5a1e0a06680d1d31ef5cc4d4d99', "aria-hidden": "true" }, "*")))), h("div", { key: 'd99cb285408dd1192e8655ab8ffb6d57361acc04', class: "button-wrapper" }, h("button", { key: '5368e2962e9ff2686145a2bd93f6bc349af91ea0', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'd3b5766d8e2476e3753bcf5c9b87280d45cb90bf', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'd6896018577a376a6a33280c3f082c462e0a59a1', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: '08864b9a36c5bcbd2fd09159cfff486475354e9e', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '8f689d493982521150f322ab4f02f12523191143', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '7efb458a3d5bf364e19a62741189f59639300e50', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'ef62108b2ca9b10157b39d9e31db14fbde24ec80',
349
+ this.requiredField && (h("span", { key: '10cc3db35973cce6dae99075f28cadf2641ad0e9', class: "required" }, h("span", { key: '35695584a1e99e803e4567c0fc86b8b41c0ea2f6', class: "sr-only" }, globalMessages.requiredField), h("span", { key: 'b33b35b401f7ee745e10b98c79e46beabeea2aa1', "aria-hidden": "true" }, "*")))), h("div", { key: '58ab503b8b998103345197b559c7fb94ebc9c8b3', class: "button-wrapper" }, h("button", { key: 'ad0144669cf6569d2edd9e64a3847a8072cb1992', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: '9b5473e206d14b7be2549df81b0a76d908f35ae3', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '262679aec8e736332fc0426d24e392fb9c492652', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: 'f974e802692149bbf20214224883aa1f1abe4b74', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '711281e38df46a26363354effb9cfd6bf78008ae', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '23f428d49ea0616bef93af1b53654c1ca8b05e4c', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'e1f1e61655445d0a899699e246eb48971a50ce09',
339
350
  // is-open is for the CSS transition in modern browsers
340
351
  // hidden is to wait for position calculations in Firefox
341
352
  class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
342
353
  // @ts-ignore -- don't tell typescript but we're in the future
343
- onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '6aa561516558f5913e82cc8ded2b648a8d0ef46e', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
354
+ onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '20f87f661c84f9f3930a9de5f8fcf754c5a8154d', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
344
355
  this.dropdownEl.hidePopover();
345
356
  }, onOptionListAllSelected: () => {
346
357
  this.returnFocus = true;
@@ -348,7 +359,7 @@ export class Select {
348
359
  }, onOptionListAllDeselected: () => {
349
360
  this.returnFocus = true;
350
361
  this.wmSelectAllDeselected.emit();
351
- } }, h("slot", { key: '21bcbe1b9aec665219abe6147d8124349066cbeb' }))), h("div", { key: 'f3bbe02b3b4960120d8165cf03eac32bcc1c57b0', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '2c49de8a7a55216dc7c29dcffdb0af1fa0ca51be', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
362
+ } }, h("slot", { key: 'b354ca4112920d8b8b576282632fa86b32873adb' }))), h("div", { key: '04ba1a31fcf01e718a3476759b9d3f6a61b561d4', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: 'f5751cc60a9f124044a0fb4795ab53969813775b', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
352
363
  }
353
364
  static get is() { return "wm-select"; }
354
365
  static get encapsulation() { return "shadow"; }
@@ -161,7 +161,7 @@
161
161
  :host .wm-button.nowrap {
162
162
  display: inline-block;
163
163
  width: 100%;
164
- overflow-x: hidden;
164
+ overflow: hidden;
165
165
  white-space: nowrap;
166
166
  text-overflow: ellipsis;
167
167
  }
@@ -233,10 +233,7 @@
233
233
  border-color: transparent;
234
234
  }
235
235
  :host .wm-button.-textonly {
236
- color: var(--wmcolor-link-text);
237
- text-decoration: underline;
238
- text-decoration-thickness: 0.0714285714em;
239
- text-underline-offset: 0.1428571429em;
236
+ color: var(--wmcolor-button-text-textonly);
240
237
  box-shadow: none;
241
238
  display: inline-block;
242
239
  letter-spacing: 0;
@@ -248,27 +245,31 @@
248
245
  padding: 0;
249
246
  height: auto;
250
247
  min-height: unset;
248
+ line-height: 1;
251
249
  overflow-wrap: anywhere;
252
250
  border-radius: 2px;
253
251
  }
254
252
  :host .wm-button.-textonly.small {
255
253
  font-size: 0.625rem;
256
254
  }
257
- :host .wm-button.-textonly:hover:not(:disabled):not(.disabled) {
258
- text-decoration-thickness: 0.1428571429em;
259
- }
260
- :host .wm-button.-textonly:hover:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
261
- color: var(--wmcolor-link-text-hover);
255
+ :host .wm-button.-textonly:hover:not(:disabled):not(.disabled):not(.-permanentlydelete) {
256
+ text-decoration: underline;
262
257
  }
263
- :host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
264
- color: var(--wmcolor-link-text-ondark);
258
+ :host .wm-button.-textonly.dark {
259
+ color: var(--wmcolor-button-text-textonly-ondark);
265
260
  }
266
- :host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai):hover {
267
- color: var(--wmcolor-link-text-hover-ondark);
261
+ :host .wm-button.-textonly.dark:hover:not(:disabled):not(.disabled) {
262
+ text-decoration: underline;
268
263
  }
269
264
  :host .wm-button.-textonly.-permanentlydelete {
270
265
  color: var(--wmcolor-button-background-delete);
271
266
  }
267
+ :host .wm-button.-textonly.-permanentlydelete:hover:not(:disabled):not(.disabled):not(.dark) {
268
+ text-decoration: underline;
269
+ }
270
+ :host .wm-button.-textonly.-permanentlydelete.dark:not(:disabled):not(.disabled) {
271
+ color: var(--wmcolor-button-text-textonly-ondark);
272
+ }
272
273
  :host .wm-button.-icononly, :host .wm-button.-navigational {
273
274
  -webkit-border-radius: 50%;
274
275
  -moz-border-radius: 50%;
@@ -862,6 +862,15 @@
862
862
 
863
863
  :host,
864
864
  wm-pagination {
865
+ --wmcolor-pagination-arrow-disabled: var(--wmcolor-interactive-disabled);
866
+ --wmcolor-pagination-arrow: var(--wmcolor-interactive);
867
+ --wmcolor-pagination-arrow: var(--wmcolor-interactive);
868
+ --wmcolor-pagination-button-text-disabled: var(--wmcolor-interactive-disabled);
869
+ --wmcolor-pagination-button-text: var(--wmcolor-interactive);
870
+ --wmcolor-pagination-current-background-hover: var(--wmcolor-interactive-hover);
871
+ --wmcolor-pagination-current-background: var(--wmcolor-interactive);
872
+ --wmcolor-pagination-current-text: var(--wmcolor-interactive-text);
873
+ --wmcolor-pagination-focus: var(--wmcolor-interactive-focus);
865
874
  display: block;
866
875
  }
867
876
 
@@ -894,10 +903,7 @@ nav .smallscreen .paginationbtn {
894
903
  -moz-transition: none;
895
904
  transition: none;
896
905
  border: none;
897
- color: var(--wmcolor-link-text);
898
- text-decoration: underline;
899
- text-decoration-thickness: 0.0714285714em;
900
- text-underline-offset: 0.1428571429em;
906
+ color: var(--wmcolor-pagination-button-text);
901
907
  background-color: transparent;
902
908
  margin: 0;
903
909
  padding: 0;
@@ -913,12 +919,11 @@ nav .smallscreen .paginationbtn {
913
919
  }
914
920
  nav .largescreen .paginationbtn svg *,
915
921
  nav .smallscreen .paginationbtn svg * {
916
- fill: var(--wmcolor-interactive);
922
+ fill: var(--wmcolor-pagination-arrow);
917
923
  }
918
924
  nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),
919
925
  nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]) {
920
- color: var(--wmcolor-link-text-hover);
921
- text-decoration-thickness: 0.1428571429em;
926
+ text-decoration: underline;
922
927
  }
923
928
  nav .largescreen .paginationbtn:focus,
924
929
  nav .smallscreen .paginationbtn:focus {
@@ -931,12 +936,12 @@ nav .smallscreen .paginationbtn::-moz-focus-inner {
931
936
  }
932
937
  nav .largescreen .paginationbtn[disabled],
933
938
  nav .smallscreen .paginationbtn[disabled] {
934
- color: var(--wmcolor-interactive-disabled);
939
+ color: var(--wmcolor-pagination-button-text-disabled);
935
940
  pointer-events: none;
936
941
  }
937
942
  nav .largescreen .paginationbtn[disabled] svg *,
938
943
  nav .smallscreen .paginationbtn[disabled] svg * {
939
- fill: var(--wmcolor-interactive-disabled);
944
+ fill: var(--wmcolor-pagination-arrow-disabled);
940
945
  }
941
946
  nav .largescreen .previousbtn,
942
947
  nav .smallscreen .previousbtn {
@@ -996,11 +1001,11 @@ nav .largescreen .paginationbtn[aria-current=page] {
996
1001
  -ms-border-radius: 50%;
997
1002
  border-radius: 50%;
998
1003
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
999
- background: var(--wmcolor-interactive);
1000
- color: var(--wmcolor-interactive-text);
1004
+ background: var(--wmcolor-pagination-current-background);
1005
+ color: var(--wmcolor-pagination-current-text);
1001
1006
  }
1002
1007
  nav .largescreen .paginationbtn[aria-current=page]:hover {
1003
- background: var(--wmcolor-interactive-hover);
1008
+ background: var(--wmcolor-pagination-current-background-hover);
1004
1009
  }
1005
1010
 
1006
1011
  .sr-only {
@@ -865,13 +865,17 @@
865
865
  }
866
866
 
867
867
  :host {
868
+ --wmcolor-search-background: var(--wmcolor-background);
869
+ --wmcolor-search-border: var(--wmcolor-border-dark);
870
+ --wmcolor-search-jump-text-focus: var(--wmcolor-interactive-focus);
871
+ --wmcolor-search-jump-text: var(--wmcolor-interactive);
868
872
  width: 100%;
869
873
  font-size: 0.875rem;
870
874
  }
871
875
  :host .wm-search-wrapper {
872
876
  border-radius: 3px;
873
877
  position: relative;
874
- border: 1px solid var(--wmcolor-border-dark);
878
+ border: 1px solid var(--wmcolor-search-border);
875
879
  display: flex;
876
880
  justify-content: space-between;
877
881
  align-items: center;
@@ -885,7 +889,7 @@
885
889
  border: none;
886
890
  height: 40px;
887
891
  padding: 0 1.75rem;
888
- background: var(--wmcolor-background);
892
+ background: var(--wmcolor-search-background);
889
893
  overflow: visible;
890
894
  width: 100%;
891
895
  flex: 1;
@@ -931,18 +935,14 @@
931
935
  }
932
936
  :host .jump-results {
933
937
  all: unset;
934
- color: var(--wmcolor-link-text);
935
- text-decoration: underline;
936
- text-decoration-thickness: 0.0714285714em;
937
- text-underline-offset: 0.1428571429em;
938
+ color: var(--wmcolor-search-jump-text);
939
+ text-decoration: none;
938
940
  font-weight: 500;
939
941
  font-size: 0.875rem;
940
942
  display: inline-block;
941
943
  margin: 8px 0;
942
944
  }
943
945
  :host .jump-results:focus-visible {
944
- color: var(--wmcolor-link-text-hover);
945
- text-decoration-thickness: 0.1428571429em;
946
946
  outline: 3px solid var(--wmcolor-interactive-focus);
947
947
  outline-offset: 2px;
948
948
  }
@@ -866,6 +866,12 @@
866
866
  }
867
867
 
868
868
  :host {
869
+ --wmcolor-snackbar-background: var(--wmcolor-background-dark);
870
+ --wmcolor-snackbar-close-background-hover: var(--wmcolor-interactive-ondark);
871
+ --wmcolor-snackbar-close-background: var(--wmcolor-background-transparent);
872
+ --wmcolor-snackbar-close-icon-hover: var(--wmcolor-interactive);
873
+ --wmcolor-snackbar-close-icon: var(--wmcolor-interactive-ondark);
874
+ --wmcolor-snackbar-text: var(--wmcolor-text-ondark);
869
875
  position: fixed;
870
876
  bottom: 0;
871
877
  z-index: 2001;
@@ -909,10 +915,10 @@
909
915
  -moz-transition: all 0.25s 0ms cubic-bezier(0.4, 0, 1, 1);
910
916
  transition: all 0.25s 0ms cubic-bezier(0.4, 0, 1, 1);
911
917
  font-size: 0.875rem;
912
- color: var(--wmcolor-text-ondark);
918
+ color: var(--wmcolor-snackbar-text);
913
919
  padding: 1rem;
914
920
  min-block-size: 3.75rem;
915
- background: var(--wmcolor-background-dark);
921
+ background: var(--wmcolor-snackbar-background);
916
922
  opacity: 0;
917
923
  left: 0;
918
924
  position: relative;
@@ -961,15 +967,12 @@
961
967
  text-decoration: none;
962
968
  font-weight: 600;
963
969
  cursor: pointer;
964
- text-decoration: underline;
965
- text-decoration-thickness: 0.0714285714em;
966
- text-underline-offset: 0.1428571429em;
967
970
  }
968
971
  :host .wm-snack-wrapper .wm-snackbar .link .svg-open-in-new {
969
972
  margin-inline-start: 0.25rem;
970
973
  }
971
974
  :host .wm-snack-wrapper .wm-snackbar .link:hover {
972
- text-decoration-thickness: 0.1428571429em;
975
+ text-decoration: underline;
973
976
  }
974
977
  :host .wm-snack-wrapper .wm-snackbar .link:focus {
975
978
  outline: none;
@@ -1030,8 +1033,8 @@
1030
1033
  -moz-border-radius: 50%;
1031
1034
  -ms-border-radius: 50%;
1032
1035
  border-radius: 50%;
1033
- background-color: var(--wmcolor-background-transparent);
1034
- color: var(--wmcolor-interactive-ondark);
1036
+ background-color: var(--wmcolor-snackbar-close-background);
1037
+ color: var(--wmcolor-snackbar-close-icon);
1035
1038
  cursor: pointer;
1036
1039
  border: none;
1037
1040
  font-size: 1rem;
@@ -1047,8 +1050,8 @@
1047
1050
  --icon-size: 1.125rem;
1048
1051
  }
1049
1052
  :host .wm-snack-wrapper .wm-snackbar .content-wrapper .closesnack:hover {
1050
- background-color: var(--wmcolor-interactive-ondark);
1051
- color: var(--wmcolor-interactive);
1053
+ background-color: var(--wmcolor-snackbar-close-background-hover);
1054
+ color: var(--wmcolor-snackbar-close-icon-hover);
1052
1055
  }
1053
1056
  :host .wm-snack-wrapper .wm-snackbar .content-wrapper .closesnack:focus {
1054
1057
  outline: none;
@@ -891,7 +891,7 @@
891
891
  -moz-border-radius: 0;
892
892
  -ms-border-radius: 0;
893
893
  border-radius: 0;
894
- color: var(--wmcolor-link-text);
894
+ color: var(--wmcolor-tab-text);
895
895
  text-decoration: none;
896
896
  font-size: 0.875rem;
897
897
  font-weight: 600;
@@ -909,7 +909,6 @@
909
909
  font-weight: 700;
910
910
  }
911
911
  .tab-item .tab:hover, .tab-item .tab:active, .tab-item .tab:focus {
912
- color: var(--wmcolor-link-text-hover);
913
912
  outline: none;
914
913
  }
915
914
  .tab-item.dark .tab {
@@ -920,7 +919,7 @@
920
919
  opacity: 1;
921
920
  }
922
921
  .tab-item:has(.tab[aria-selected=true]) {
923
- box-shadow: inset 0 -4px 0 0 var(--wmcolor-link-text);
922
+ box-shadow: inset 0 -4px 0 0 var(--wmcolor-interactive);
924
923
  }
925
924
  .tab-item:has(.tab[aria-selected=true]).dark {
926
925
  box-shadow: inset 0 -4px 0 0 var(--wmcolor-interactive-ondark);
@@ -161,7 +161,7 @@
161
161
  :host .wm-button.nowrap {
162
162
  display: inline-block;
163
163
  width: 100%;
164
- overflow-x: hidden;
164
+ overflow: hidden;
165
165
  white-space: nowrap;
166
166
  text-overflow: ellipsis;
167
167
  }
@@ -233,10 +233,7 @@
233
233
  border-color: transparent;
234
234
  }
235
235
  :host .wm-button.-textonly {
236
- color: var(--wmcolor-link-text);
237
- text-decoration: underline;
238
- text-decoration-thickness: 0.0714285714em;
239
- text-underline-offset: 0.1428571429em;
236
+ color: var(--wmcolor-button-text-textonly);
240
237
  box-shadow: none;
241
238
  display: inline-block;
242
239
  letter-spacing: 0;
@@ -248,27 +245,31 @@
248
245
  padding: 0;
249
246
  height: auto;
250
247
  min-height: unset;
248
+ line-height: 1;
251
249
  overflow-wrap: anywhere;
252
250
  border-radius: 2px;
253
251
  }
254
252
  :host .wm-button.-textonly.small {
255
253
  font-size: 0.625rem;
256
254
  }
257
- :host .wm-button.-textonly:hover:not(:disabled):not(.disabled) {
258
- text-decoration-thickness: 0.1428571429em;
259
- }
260
- :host .wm-button.-textonly:hover:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
261
- color: var(--wmcolor-link-text-hover);
255
+ :host .wm-button.-textonly:hover:not(:disabled):not(.disabled):not(.-permanentlydelete) {
256
+ text-decoration: underline;
262
257
  }
263
- :host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai) {
264
- color: var(--wmcolor-link-text-ondark);
258
+ :host .wm-button.-textonly.dark {
259
+ color: var(--wmcolor-button-text-textonly-ondark);
265
260
  }
266
- :host .wm-button.-textonly.dark:not(:disabled):not(.disabled):not(.-permanentlydelete):not(.ai):hover {
267
- color: var(--wmcolor-link-text-hover-ondark);
261
+ :host .wm-button.-textonly.dark:hover:not(:disabled):not(.disabled) {
262
+ text-decoration: underline;
268
263
  }
269
264
  :host .wm-button.-textonly.-permanentlydelete {
270
265
  color: var(--wmcolor-button-background-delete);
271
266
  }
267
+ :host .wm-button.-textonly.-permanentlydelete:hover:not(:disabled):not(.disabled):not(.dark) {
268
+ text-decoration: underline;
269
+ }
270
+ :host .wm-button.-textonly.-permanentlydelete.dark:not(:disabled):not(.disabled) {
271
+ color: var(--wmcolor-button-text-textonly-ondark);
272
+ }
272
273
  :host .wm-button.-icononly, :host .wm-button.-navigational {
273
274
  -webkit-border-radius: 50%;
274
275
  -moz-border-radius: 50%;
@@ -1831,17 +1832,9 @@
1831
1832
  .requirements summary {
1832
1833
  list-style-type: none;
1833
1834
  font-weight: 700;
1835
+ color: var(--wmcolor-interactive);
1834
1836
  padding-inline-end: 0.5rem;
1835
1837
  width: fit-content;
1836
- color: var(--wmcolor-link-text);
1837
- cursor: default;
1838
- text-decoration: underline;
1839
- text-decoration-thickness: 0.0714285714em;
1840
- text-underline-offset: 0.1428571429em;
1841
- }
1842
- .requirements summary:hover {
1843
- color: var(--wmcolor-link-text-hover);
1844
- text-decoration-thickness: 0.1428571429em;
1845
1838
  }
1846
1839
  .requirements summary .title-text {
1847
1840
  margin-inline-start: 1.5rem;
@@ -1,6 +1,6 @@
1
1
  import './index-130e07bb.js';
2
2
 
3
- const version = "5.22.2-alpha.0";
3
+ const version = "5.22.2-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-b74a6cc1.js';
3
+ import { g as globalScripts } from './app-globals-bb7ed51c.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;