@watermarkinsights/ripple 5.16.0-alpha.5 → 5.16.0-alpha.6

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 (192) hide show
  1. package/dist/cjs/{app-globals-409642c7.js → app-globals-9c7ce1fb.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  4. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  5. package/dist/cjs/ripple.cjs.js +1 -1
  6. package/dist/cjs/wm-action-menu_2.cjs.entry.js +2 -2
  7. package/dist/cjs/wm-button.cjs.entry.js +1 -1
  8. package/dist/cjs/wm-date-range.cjs.entry.js +1 -1
  9. package/dist/cjs/wm-datepicker.cjs.entry.js +12 -6
  10. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  11. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  12. package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
  13. package/dist/cjs/wm-input.cjs.entry.js +8 -2
  14. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
  15. package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
  16. package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
  17. package/dist/cjs/wm-nested-select.cjs.entry.js +10 -4
  18. package/dist/cjs/wm-option_2.cjs.entry.js +9 -3
  19. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  20. package/dist/cjs/wm-search.cjs.entry.js +2 -2
  21. package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
  22. package/dist/cjs/wm-tab-item_3.cjs.entry.js +3 -3
  23. package/dist/cjs/wm-tag-input.cjs.entry.js +10 -4
  24. package/dist/cjs/wm-textarea.cjs.entry.js +8 -2
  25. package/dist/cjs/wm-timepicker.cjs.entry.js +9 -3
  26. package/dist/cjs/wm-toggletip.cjs.entry.js +2 -2
  27. package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
  28. package/dist/collection/components/datepickers/datepicker.css +15 -9
  29. package/dist/collection/components/datepickers/wm-datepicker.js +12 -6
  30. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +15 -9
  31. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +10 -4
  32. package/dist/collection/components/selects/wm-select/wm-select.css +15 -9
  33. package/dist/collection/components/selects/wm-select/wm-select.js +9 -3
  34. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  35. package/dist/collection/components/wm-button/wm-button.js +1 -1
  36. package/dist/collection/components/wm-file/wm-file.js +1 -1
  37. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  38. package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
  39. package/dist/collection/components/wm-input/wm-input.css +15 -9
  40. package/dist/collection/components/wm-input/wm-input.js +8 -2
  41. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  42. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  43. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  44. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  45. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  46. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  47. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  48. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  49. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  50. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  51. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  52. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  53. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  54. package/dist/collection/components/wm-search/wm-search.js +2 -2
  55. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  56. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  57. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  58. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  59. package/dist/collection/components/wm-tag-input/wm-tag-input.css +15 -9
  60. package/dist/collection/components/wm-tag-input/wm-tag-input.js +9 -3
  61. package/dist/collection/components/wm-textarea/wm-textarea.css +15 -9
  62. package/dist/collection/components/wm-textarea/wm-textarea.js +8 -2
  63. package/dist/collection/components/wm-timepicker/wm-timepicker.css +15 -9
  64. package/dist/collection/components/wm-timepicker/wm-timepicker.js +9 -3
  65. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  66. package/dist/collection/components/wm-uploader/wm-uploader.css +15 -9
  67. package/dist/collection/components/wm-uploader/wm-uploader.js +3 -3
  68. package/dist/esm/{app-globals-1fe6cb7f.js → app-globals-e4bb1a1f.js} +1 -1
  69. package/dist/esm/loader.js +1 -1
  70. package/dist/esm/priv-navigator-button.entry.js +1 -1
  71. package/dist/esm/priv-navigator-item.entry.js +1 -1
  72. package/dist/esm/ripple.js +1 -1
  73. package/dist/esm/wm-action-menu_2.entry.js +2 -2
  74. package/dist/esm/wm-button.entry.js +1 -1
  75. package/dist/esm/wm-date-range.entry.js +1 -1
  76. package/dist/esm/wm-datepicker.entry.js +13 -7
  77. package/dist/esm/wm-file-list.entry.js +1 -1
  78. package/dist/esm/wm-file.entry.js +1 -1
  79. package/dist/esm/wm-flyout.entry.js +1 -1
  80. package/dist/esm/wm-input.entry.js +9 -3
  81. package/dist/esm/wm-modal-pss_3.entry.js +4 -4
  82. package/dist/esm/wm-modal_3.entry.js +4 -4
  83. package/dist/esm/wm-navigation_3.entry.js +4 -4
  84. package/dist/esm/wm-nested-select.entry.js +11 -5
  85. package/dist/esm/wm-option_2.entry.js +10 -4
  86. package/dist/esm/wm-pagination.entry.js +1 -1
  87. package/dist/esm/wm-search.entry.js +2 -2
  88. package/dist/esm/wm-snackbar.entry.js +2 -2
  89. package/dist/esm/wm-tab-item_3.entry.js +3 -3
  90. package/dist/esm/wm-tag-input.entry.js +10 -4
  91. package/dist/esm/wm-textarea.entry.js +9 -3
  92. package/dist/esm/wm-timepicker.entry.js +10 -4
  93. package/dist/esm/wm-toggletip.entry.js +2 -2
  94. package/dist/esm/wm-uploader.entry.js +4 -4
  95. package/dist/esm-es5/{app-globals-1fe6cb7f.js → app-globals-e4bb1a1f.js} +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  98. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  99. package/dist/esm-es5/ripple.js +1 -1
  100. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  101. package/dist/esm-es5/wm-button.entry.js +1 -1
  102. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  103. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  104. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  105. package/dist/esm-es5/wm-file.entry.js +1 -1
  106. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  107. package/dist/esm-es5/wm-input.entry.js +1 -1
  108. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  109. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  110. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  111. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  112. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  113. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  114. package/dist/esm-es5/wm-search.entry.js +1 -1
  115. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  116. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  117. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  118. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  119. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  120. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  121. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  122. package/dist/ripple/{p-0bb576c5.system.entry.js → p-0af5c1e8.system.entry.js} +1 -1
  123. package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-0f9592c5.system.entry.js} +1 -1
  124. package/dist/ripple/{p-2f2ba62b.system.entry.js → p-14751332.system.entry.js} +1 -1
  125. package/dist/ripple/{p-bd48c50a.entry.js → p-176dd9b5.entry.js} +1 -1
  126. package/dist/ripple/{p-8ec2e944.system.entry.js → p-17d94094.system.entry.js} +1 -1
  127. package/dist/ripple/{p-c699aec8.system.entry.js → p-198f0ef2.system.entry.js} +1 -1
  128. package/dist/ripple/{p-22b55b6f.entry.js → p-1e92012c.entry.js} +1 -1
  129. package/dist/ripple/{p-bc4976e6.entry.js → p-1f5856ac.system.entry.js} +1 -1
  130. package/dist/ripple/{p-b34552b0.system.entry.js → p-2adde5b2.system.entry.js} +1 -1
  131. package/dist/ripple/{p-f9fa1506.system.entry.js → p-324aed64.system.entry.js} +1 -1
  132. package/dist/ripple/{p-b01f9572.system.entry.js → p-34808b52.system.entry.js} +1 -1
  133. package/dist/ripple/{p-8f987f71.entry.js → p-44a95d6d.entry.js} +1 -1
  134. package/dist/ripple/p-46c36aa8.system.entry.js +1 -0
  135. package/dist/ripple/p-47ba4aa8.system.entry.js +1 -0
  136. package/dist/ripple/{p-b39ab477.entry.js → p-4e01d719.entry.js} +1 -1
  137. package/dist/ripple/{p-fe93b6b9.system.entry.js → p-5a5d5833.system.entry.js} +1 -1
  138. package/dist/ripple/{p-6a082957.entry.js → p-5b56e874.entry.js} +1 -1
  139. package/dist/ripple/{p-8a569d3b.entry.js → p-62ed69c0.entry.js} +1 -1
  140. package/dist/ripple/p-64616362.system.entry.js +1 -0
  141. package/dist/ripple/{p-36fd8aed.system.entry.js → p-67ba6533.system.entry.js} +1 -1
  142. package/dist/ripple/{p-97ffaa7d.entry.js → p-6b4e1fe9.entry.js} +1 -1
  143. package/dist/ripple/{p-c4896784.system.entry.js → p-7300282d.system.entry.js} +1 -1
  144. package/dist/ripple/{p-4a29bb8c.entry.js → p-731f5721.entry.js} +1 -1
  145. package/dist/ripple/p-764a08fb.entry.js +1 -0
  146. package/dist/ripple/{p-9328023c.entry.js → p-76aef56f.entry.js} +1 -1
  147. package/dist/ripple/p-76d7a58b.entry.js +1 -0
  148. package/dist/ripple/{p-f8995a5e.system.entry.js → p-7b6cd418.system.entry.js} +1 -1
  149. package/dist/ripple/{p-3ae8153c.system.js → p-86066976.system.js} +1 -1
  150. package/dist/ripple/{p-30236be3.system.entry.js → p-86ac8ff7.system.entry.js} +1 -1
  151. package/dist/ripple/{p-4fb4deb9.entry.js → p-8c33cb29.entry.js} +1 -1
  152. package/dist/ripple/{p-94f776eb.entry.js → p-9672ada1.entry.js} +1 -1
  153. package/dist/ripple/{p-2823d02b.system.entry.js → p-9ea37550.system.entry.js} +1 -1
  154. package/dist/ripple/{p-61f9987d.system.entry.js → p-ad0fcb42.system.entry.js} +1 -1
  155. package/dist/ripple/{p-0e4d663a.js → p-ad908c29.js} +1 -1
  156. package/dist/ripple/{p-72ed488e.system.entry.js → p-b00c4904.system.entry.js} +1 -1
  157. package/dist/ripple/{p-5ef786db.system.entry.js → p-ba4f9ec6.system.entry.js} +1 -1
  158. package/dist/ripple/p-c02c1b9c.entry.js +1 -0
  159. package/dist/ripple/{p-57c25b63.entry.js → p-c2e1f0bb.entry.js} +1 -1
  160. package/dist/ripple/p-c6b8cf27.entry.js +1 -0
  161. package/dist/ripple/{p-fc6eeb8f.system.js → p-cd1e47e2.system.js} +1 -1
  162. package/dist/ripple/{p-091fbc50.system.entry.js → p-ce1cffe9.system.entry.js} +1 -1
  163. package/dist/ripple/{p-0189929d.entry.js → p-cfdb8451.entry.js} +1 -1
  164. package/dist/ripple/{p-74f103dd.entry.js → p-d1f3e879.entry.js} +1 -1
  165. package/dist/ripple/p-d67c99d9.entry.js +1 -0
  166. package/dist/ripple/{p-59591401.entry.js → p-d725d3cb.entry.js} +1 -1
  167. package/dist/ripple/p-d81beb53.entry.js +1 -0
  168. package/dist/ripple/{p-a5fb4171.system.entry.js → p-da2d993b.entry.js} +1 -1
  169. package/dist/ripple/{p-9b2281e2.system.entry.js → p-e1fe79f3.system.entry.js} +1 -1
  170. package/dist/ripple/{p-c7d71181.system.entry.js → p-ec3db1e4.system.entry.js} +1 -1
  171. package/dist/ripple/{p-30201dc9.entry.js → p-f6f07b48.entry.js} +1 -1
  172. package/dist/ripple/p-ffb5b71e.entry.js +1 -0
  173. package/dist/ripple/ripple.esm.js +1 -1
  174. package/dist/ripple/ripple.js +1 -1
  175. package/dist/types/components/datepickers/wm-datepicker.d.ts +1 -0
  176. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +1 -0
  177. package/dist/types/components/selects/wm-select/wm-select.d.ts +1 -0
  178. package/dist/types/components/wm-input/wm-input.d.ts +1 -0
  179. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +1 -0
  180. package/dist/types/components/wm-textarea/wm-textarea.d.ts +1 -0
  181. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +1 -0
  182. package/package.json +2 -2
  183. package/dist/ripple/p-0c89b82c.entry.js +0 -1
  184. package/dist/ripple/p-144ce232.entry.js +0 -1
  185. package/dist/ripple/p-1497ccfc.entry.js +0 -1
  186. package/dist/ripple/p-1a5a0cd6.entry.js +0 -1
  187. package/dist/ripple/p-257d2d5c.entry.js +0 -1
  188. package/dist/ripple/p-36d2b888.entry.js +0 -1
  189. package/dist/ripple/p-492aa9fe.system.entry.js +0 -1
  190. package/dist/ripple/p-56d54fe6.system.entry.js +0 -1
  191. package/dist/ripple/p-5cff41e0.entry.js +0 -1
  192. package/dist/ripple/p-6d12cfb7.system.entry.js +0 -1
@@ -27,7 +27,7 @@ export class ModalPssFooter {
27
27
  parentModal.emitSecondaryEvent();
28
28
  }
29
29
  render() {
30
- return (h("div", { key: 'c99407e9c7ad10c50dd6dd432e0d3239b7c994df', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '5ca392ca93d1ffac8a230c319220519ec0dc3a2d', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'c220ee0896616b8134018bbdff9e7711751d0397', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '302211029eb93c2808826f286b27542bca4490b6', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '224cb3bd0f006372b88952f8c1585edc75be993c', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
30
+ return (h("div", { key: '1f7745220c7ad6d0aca3efd4b3cb8c334e680127', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '88168cdc61009781665a8a9edf365fa67907a770', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '2f2314c0cb6160b86e3ce361fd3a8536e06ad154', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '8cd98e5c43a01e42c38c54f8f9421cd20db4f34a', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '3b30db05b3a1101b6865b5986452c284f16733ef', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
31
31
  }
32
32
  static get is() { return "wm-modal-pss-footer"; }
33
33
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class ModalPssHeader {
25
25
  // this.headingElement.focus();
26
26
  // }
27
27
  render() {
28
- return (h(Host, { key: '63e89303861f1ce98048eb433941db98c2d36e32' }, h("div", { key: '1777289f1b58fe62defafb7495d7a924079212db', class: "wm-wrapper" }, h("div", { key: '48a859d6712dae5f26b3c0bb41dd8ea40b0882f0' }, h("h2", { key: '2896aca5496c39929593aebd36b7b0bc13b3a8a2', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '31e62c779c355263f22567afb3cf395476df5ff7', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'df9c21a3db62893b43d400b0aed159896a186d44', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
28
+ return (h(Host, { key: '6298c005e1a4cc648e1311138858845bb121729d' }, h("div", { key: 'af42c86d168c9c5e2e77c39816f74f8801b39e53', class: "wm-wrapper" }, h("div", { key: '23e83cea157490d8db35b6f5b94e4aec59adccef' }, h("h2", { key: 'a2c95748bc7296ba241a1e0c6a6db7316d8c20de', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '0aefd7af87247f19ee926ef097f4ea8f76d49faf', class: "subtitle" }, this.subheading))), h("wm-button", { key: '1a74cb3f9beb7f01a60ae686ac01659a1d8ca23c', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
29
29
  }
30
30
  static get is() { return "wm-modal-pss-header"; }
31
31
  static get originalStyleUrls() {
@@ -112,9 +112,9 @@ export class ModalPss {
112
112
  }
113
113
  }
114
114
  render() {
115
- return (h(Host, { key: '01cbfca5fef86d2177b2156d39ddc94616fc745e', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
115
+ return (h(Host, { key: 'bcd5fb7bf017cb1a5263e51a105fab47cb268bdf', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
116
116
  this.focusLastElement.emit();
117
- } }, h("div", { key: '61d3b91a5bc6f68c0358d1d23fa2a45a059a1cf7', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'ba39c5a0733ea1e6367299a71aecf73d5a07b0da', class: "sr-only", tabIndex: 0, onFocus: () => {
117
+ } }, h("div", { key: '2398829034757b569a1f4f754ba46697f72b70e0', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '06975360afd821c91ab816a2585f89f3c9b36565', class: "sr-only", tabIndex: 0, onFocus: () => {
118
118
  this.focusFirstElement.emit();
119
119
  } })));
120
120
  }
@@ -34,7 +34,7 @@ export class NavigationHamburger {
34
34
  this.wmNavigationHamburgerClicked.emit();
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '8adc5bb2b8ae09774e3ccedb46658e7b9942dae1', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '338ceadf1b7f697ddf9e01f80b9a673c8632730c', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '1e5f197e63d06e2ed52dff57e395b649851a1d0e', class: "svg-icon svg-menu" }))));
37
+ return (h(Host, { key: '2b4f6528c7ef852581d56121e8269a12129c8c1a', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'aa6041f59f4333b6ee68da53bfc7206d2733f059', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '6b58e7ef3f124ba2fc33437e183a9e60844a8cdc', class: "svg-icon svg-menu" }))));
38
38
  }
39
39
  static get is() { return "wm-navigation-hamburger"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class NavigationItem {
6
6
  this.active = undefined;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '604abe4629c0b3a2928c7d73379578d767a0decf', role: "listitem" }, h("a", { key: '7dd1a2450f12817d8bf848ee6e96e6cbbc7249b5', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '7e7aa35f823f3b6fe4898461f083756f8e89a11f', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'a3f841d593124634af25763863794f5a854d6c3d' })), h("div", { key: '7ccd3d9ae4f2238e1428edd1c7c221d320493e31', class: "text" }, this.text))));
9
+ return (h(Host, { key: 'fa0d860cef87f2af8b3c8ed67b37a2eafd4229c9', role: "listitem" }, h("a", { key: '192898896ee4310c0fb741d8bf5ebe27e57ab8b3', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'b0df43e4aaa9786b2d8e57fbeb766eb5cf348336', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'dd4b646b3b48155163c8816344f3c947eb58403a' })), h("div", { key: 'a195cc9d6dc724553a9240896cddcfadceb7424c', class: "text" }, this.text))));
10
10
  }
11
11
  static get is() { return "wm-navigation-item"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -96,9 +96,9 @@ export class Navigation {
96
96
  } }));
97
97
  }
98
98
  render() {
99
- return (h(Host, { key: '2814317e9df5355d6aa44cc1df266dfd3f2b3590', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '70c9225e6199aed113b4728f34afabf3c151ddb1', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '07ee2a1c4de3577e03969f7b1090524eb828044f', class: "tray" }, h("div", { key: 'fafec1a0a6b8b56cfc9c90f03e3b78ac068537cd', class: "toggle-wrapper" }, h("wm-button", { key: 'ebc0b699a4ffa1076f0e6bd73d47d216876192d0', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
99
+ return (h(Host, { key: '4f3c6aaf5ad09e2274456a581f3cb5f1600eaac7', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '8bf94a53146229835eaec0aaf98e951b43ac799b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'f76c5e0e70f98a4e5fa29e49509c879bac0292bf', class: "tray" }, h("div", { key: 'cfdfd3274efc3b99b0537ea7ca9bffa4f87d7b59', class: "toggle-wrapper" }, h("wm-button", { key: '96b6aa456c319bfa77d2180209c1175647404f5a', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
100
100
  this.open = !this.open;
101
- } })), h("ul", { key: '718647b0231b179e00c36545e8bc630535c15c41', class: "navlist" }, h("slot", { key: 'fcefea770f648abb858777aab111063e04bf6aac' }))), this.isCollapsible && (h("div", { key: '62559136e2753cbbe613f7e23d9914af090b0f1f', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
101
+ } })), h("ul", { key: '342b7a1980f6d9d978405a8c5574ef45fca49ce4', class: "navlist" }, h("slot", { key: '33d14865bb6c4d9602769344916d7d88ecbfa661' }))), this.isCollapsible && (h("div", { key: '4d600f2eb2525ce3238dd09e102063d448ef8526', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
102
102
  }
103
103
  static get is() { return "wm-navigation"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
9
9
  }
10
10
  render() {
11
11
  const { handleClick, altText } = this;
12
- return (h("button", { key: '9d52ef2d181f38e3ee6ebc418e13f6760f5f5467', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
12
+ return (h("button", { key: '2f1ba167d864c88cbbd1f8f5f6192ba024fbb961', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
13
13
  }
14
14
  static get is() { return "priv-navigator-button"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
16
16
  render() {
17
17
  const selectedClass = this.selected ? "selected" : "";
18
18
  const focusedClass = this.focused ? "focused" : "";
19
- return (h("div", { key: '69ada1c549c3ac13aadcff7344161da84bd9d456', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'ad2a5ffde366484618d918f064b728e4f0caecb3' })));
19
+ return (h("div", { key: 'd79d559b7d56f0411ed7a2949c841df1975ed626', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '5004ab186708dca16f92e1b71bdd6c95d1080b7d' })));
20
20
  }
21
21
  static get is() { return "priv-navigator-item"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -203,7 +203,7 @@ export class Pagination {
203
203
  render() {
204
204
  return (
205
205
  // do not render the component if there's only one page
206
- this.totalItems > this.itemsPerPage && (h("nav", { key: 'b560fdf7586a80ce3e117d74d264e56afd7de42e', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '8d35b0f1049ac65751a14d96daef2cfcd5928765', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
206
+ this.totalItems > this.itemsPerPage && (h("nav", { key: '4915b3425f35f85d5684893fbc82e6d6a29b9d0f', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '56b83b74efa2372e03f27ea654c808a2bb86a85b', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
207
207
  }
208
208
  static get is() { return "wm-pagination"; }
209
209
  static get encapsulation() { return "shadow"; }
@@ -168,10 +168,10 @@ export class Search {
168
168
  * End search and find render helpers
169
169
  */
170
170
  render() {
171
- return (h(Host, { key: 'a6a5d00652d75c3f03ca996c283c0566ad229c68' }, h("div", { key: '1e7e8a9207a2ee1d5412cb2456c1c832060ac77d', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '1f36cf57bcfed0f808ef0b222d8eb65cb6518615', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
171
+ return (h(Host, { key: 'cd7f595a342f69a27e507f9110b1bd67ca536b14' }, h("div", { key: '613883fa806fee9b523776e2c81abcc9c7c80eaf', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '5c944cc9756d6bba9396ef768c0d26cdd4fe7b88', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
172
172
  id: "search.typeToFilterResults",
173
173
  defaultMessage: "Type to filter the results",
174
- })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'bf128d74c7fdbd590989d7999b1187d34b01bb31', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '9898db1a5c0c3c0e13fb32782aa98d88f124798b', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
174
+ })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'd6dd15a45a5e449a5b177263e369d5016ae81a4d', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '4c3d42a0e159512713a54f99c403ca4a06549d06', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
175
175
  }
176
176
  static get is() { return "wm-search"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -162,11 +162,11 @@ export class Snackbar {
162
162
  }, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
163
163
  }
164
164
  render() {
165
- return (h(Host, { key: '8c811ca49c66eccb3d4071680bccee7a7b80baf3' }, h("div", { key: '3833104505e54755fd90e25622f5e52207cd04ee', ref: (el) => (this.snackAreaEl = el), class: {
165
+ return (h(Host, { key: '9b55b8fa05817c3dd826b1318c3b7fdc35d65a51' }, h("div", { key: '8debb1dfc460b20abdc86238a5850e44949364cc', ref: (el) => (this.snackAreaEl = el), class: {
166
166
  "list-wrapper": true,
167
167
  "user-is-tabbing": this.isTabbing,
168
168
  empty: this.parsedNotifications.length == 0,
169
- } }, this.renderSnackbars()), h("div", { key: '6d011c99adc5a69e2687014854d324d5e97e06d8', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
169
+ } }, this.renderSnackbars()), h("div", { key: 'bd51da7d83c448ea676f4f2530dd3ad8ac529c2f', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
170
170
  }
171
171
  static get is() { return "wm-snackbar"; }
172
172
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class TabItem {
40
40
  "background-size": `calc(100% - ${bkgSize}${units}) 3px`,
41
41
  };
42
42
  }
43
- return (h(Host, { key: '1711c11246e52e27e71f30e566ab41683ee23cd4', role: "presentation" }, h("li", { key: 'f57bc99f98ff481689a68889e81c5925aa68892c', class: "tab-item", role: "presentation" }, h("a", { key: '76e051b18c17ea8367f74cc9a2b7b2b84d2ef990', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: 'e834ebba3c6c512ef7b1093d3c1ea298745fbf85' })))));
43
+ return (h(Host, { key: 'bcfcc1fcb3cd91456ea38458f7eb26200f27dabb', role: "presentation" }, h("li", { key: '9ece015d01a832e52af9b520695cc303a674a22e', class: "tab-item", role: "presentation" }, h("a", { key: '8b43cebd1ff8a19aa81b23db7ce0265525f79a8a', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: 'b04fa980a8eaffd3ffb64258941e943e14343cfc' })))));
44
44
  }
45
45
  static get is() { return "wm-tab-item"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -160,7 +160,7 @@ export class TabList {
160
160
  } }, t.textContent)));
161
161
  }
162
162
  render() {
163
- return h(Host, { key: '457d95719d7ab99677336d44c5bff02f5780a6af', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
163
+ return h(Host, { key: 'd4a1e7380e109d5707d2215418d980a9fe319f40', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
164
164
  }
165
165
  static get is() { return "wm-tab-list"; }
166
166
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class TabPanel {
12
12
  this.tabPanelLoaded.emit({ tabId: this.tabId });
13
13
  }
14
14
  render() {
15
- return h(Host, { key: '0b7f81b627ce53b1ce496c4babd16bf74c57275c', role: "tabpanel", class: { "tab-hidden": !this.active } });
15
+ return h(Host, { key: '760cc80a7e445fa0edae74157392fb49afb10fb0', role: "tabpanel", class: { "tab-hidden": !this.active } });
16
16
  }
17
17
  static get is() { return "wm-tab-panel"; }
18
18
  static get originalStyleUrls() {
@@ -895,21 +895,28 @@
895
895
  flex-direction: column;
896
896
  font-size: 0.875rem;
897
897
  }
898
+ :host .wrapper .label-wrapper {
899
+ display: flex;
900
+ }
898
901
  :host .wrapper .label {
899
- display: block;
902
+ display: inline-block;
900
903
  line-height: normal;
901
904
  font-weight: 600;
902
905
  white-space: nowrap;
906
+ overflow: hidden;
907
+ text-overflow: ellipsis;
903
908
  margin-bottom: 0.25rem;
904
909
  }
905
- :host .wrapper .label .required {
910
+ :host .wrapper .required {
911
+ display: inline-block;
906
912
  color: var(--wmcolor-text-required);
907
913
  }
908
914
  :host .wrapper.label-left {
909
915
  flex-direction: row;
910
916
  }
911
917
  :host .wrapper.label-left .label-wrapper {
912
- line-height: 2.5rem;
918
+ height: fit-content;
919
+ margin-right: 0.75rem;
913
920
  }
914
921
  :host .wrapper.label-left .label-wrapper .label {
915
922
  display: flex;
@@ -917,7 +924,6 @@
917
924
  min-height: 2.5rem;
918
925
  white-space: normal;
919
926
  margin-bottom: 0;
920
- margin-right: 0.75rem;
921
927
  }
922
928
  :host .wrapper.label-none label {
923
929
  position: absolute !important;
@@ -931,11 +937,11 @@
931
937
  white-space: nowrap !important;
932
938
  margin: -1px !important;
933
939
  }
934
- :host .wrapper.invalid .label {
940
+ :host .wrapper.invalid .label-wrapper {
935
941
  color: var(--wmcolor-text-error);
936
942
  position: relative;
937
943
  }
938
- :host .wrapper.invalid .label:after {
944
+ :host .wrapper.invalid .label-wrapper:after {
939
945
  content: "";
940
946
  display: block;
941
947
  background-color: var(--icon-fill, currentColor);
@@ -944,14 +950,14 @@
944
950
  -webkit-mask-size: 100%;
945
951
  mask-size: 100%;
946
952
  }
947
- :host .wrapper.invalid .label:after {
953
+ :host .wrapper.invalid .label-wrapper:after {
948
954
  -webkit-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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
949
955
  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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
950
956
  }
951
- :host .wrapper.invalid .label:after {
957
+ :host .wrapper.invalid .label-wrapper:after {
952
958
  display: inline-block;
953
959
  margin-inline-start: 0.25rem;
954
- vertical-align: middle;
960
+ align-self: center;
955
961
  flex-shrink: 0;
956
962
  transform: translateY(-1px);
957
963
  }
@@ -617,6 +617,12 @@ export class TagInput {
617
617
  }
618
618
  }
619
619
  }
620
+ handleLabelMouseEnter(ev) {
621
+ const labelEl = ev.target;
622
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
623
+ showTooltip("right", ev.target, this.label);
624
+ }
625
+ }
620
626
  handleTagAreaFocus(ev) {
621
627
  if (this.isDropdown) {
622
628
  this.closeDropdown();
@@ -920,12 +926,12 @@ export class TagInput {
920
926
  }
921
927
  }
922
928
  render() {
923
- return (h("div", { key: 'c4b0e7940ce652a6f08cc019b02014a1dfed9b3c', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '4f412bc8a965f06eba88113db9b7e33b012458d1', class: "label-wrapper" }, h("label", { key: '8e286c04cd2536ef15a7145f4458549adf7be4f5', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: 'd19e00a494ab1f10e33c5713aed400e224adb4a1', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '8ce0482ac4cbdcbe8a903158ce28c0d3023fb662', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'abee1a468e39489536106fdc827c374eb69465e8', class: "upper-row" }, h("div", { key: 'c5ca4adbe96f4182793a93e2a2239e7ca9bb7080', class: "svg-icon svg-search" }), h("div", { key: 'a7efc9d80f555e7225245092a217853de2367c52', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: '35b9d701fd378f2ec6cfd7cf95591dd30a5c900f', 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) => {
929
+ return (h("div", { key: 'da4fae0604edc5cd9bc7724967b86d29f2022f98', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'e0a85a87c35585625ba0f6afcc5828a6da335f94', class: "label-wrapper" }, h("label", { key: '96b7f0453c064abaec364997778a1e09ce8d1d73', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.requiredField && (h("div", { key: '6c0fab88d092e7a8b4bba0c7422b8e8bb2abb0c3', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '92cb4eec063d59b7e00085f2fbeec71e1a5f101f', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '50aedc08e2a887cab27eb6b1743e656dd266bff5', class: "upper-row" }, h("div", { key: '4c37ae703e3055e8d6c975ff482259f0fa8652f3', class: "svg-icon svg-search" }), h("div", { key: '8e2542afd89ad63091d0f114d159e9fbeb4b5168', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: '7d1923e7e26f7f0580f6db07a8c0bb9e0b91ddd2', 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) => {
924
930
  this.focusedTagIndex = undefined;
925
931
  this.handleBlur(ev);
926
- }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: '524d93f7081fc0438be6aa5021042d357e7eb8b6', 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) => {
932
+ }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: '7e157fb49f0398fa7c04cb52d502b9c9fb49940b', 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) => {
927
933
  this.handleBlur(ev);
928
- }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: 'ad617f2ade8ee608371d25748b142952c7a442c6', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'c5327ff0a1cdc8e8ad5c498b4261af78e4473ed7', id: "info", class: "info-text" }, this.info)), h("div", { key: '686e6c6428ccb459dbdcccb460e47f439dd16572', id: "error" }, this.errorMessage), h("div", { key: '9cc383c8e8cb46eb754533c521119b877a816e99', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
934
+ }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: 'b1d9146b38bb147be3604654577ffae68bc1627b', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '993aefd066e3d11ff106e6ee6e7da09c0a4ccafc', id: "info", class: "info-text" }, this.info)), h("div", { key: 'e962129e9720eea0f8c8b38236e1931ee1031a3d', id: "error" }, this.errorMessage), h("div", { key: '7cf6b126c7e38f5205562fb4326922903fef4081', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
929
935
  }
930
936
  static get is() { return "wm-tag-input"; }
931
937
  static get encapsulation() { return "shadow"; }
@@ -869,21 +869,28 @@
869
869
  flex-direction: column;
870
870
  font-size: 0.875rem;
871
871
  }
872
+ :host .wrapper .label-wrapper {
873
+ display: flex;
874
+ }
872
875
  :host .wrapper .label {
873
- display: block;
876
+ display: inline-block;
874
877
  line-height: normal;
875
878
  font-weight: 600;
876
879
  white-space: nowrap;
880
+ overflow: hidden;
881
+ text-overflow: ellipsis;
877
882
  margin-bottom: 0.25rem;
878
883
  }
879
- :host .wrapper .label .required {
884
+ :host .wrapper .required {
885
+ display: inline-block;
880
886
  color: var(--wmcolor-text-required);
881
887
  }
882
888
  :host .wrapper.label-left {
883
889
  flex-direction: row;
884
890
  }
885
891
  :host .wrapper.label-left .label-wrapper {
886
- line-height: 2.5rem;
892
+ height: fit-content;
893
+ margin-right: 0.75rem;
887
894
  }
888
895
  :host .wrapper.label-left .label-wrapper .label {
889
896
  display: flex;
@@ -891,7 +898,6 @@
891
898
  min-height: 2.5rem;
892
899
  white-space: normal;
893
900
  margin-bottom: 0;
894
- margin-right: 0.75rem;
895
901
  }
896
902
  :host .wrapper.label-none label {
897
903
  position: absolute !important;
@@ -905,11 +911,11 @@
905
911
  white-space: nowrap !important;
906
912
  margin: -1px !important;
907
913
  }
908
- :host .wrapper.invalid .label {
914
+ :host .wrapper.invalid .label-wrapper {
909
915
  color: var(--wmcolor-text-error);
910
916
  position: relative;
911
917
  }
912
- :host .wrapper.invalid .label:after {
918
+ :host .wrapper.invalid .label-wrapper:after {
913
919
  content: "";
914
920
  display: block;
915
921
  background-color: var(--icon-fill, currentColor);
@@ -918,14 +924,14 @@
918
924
  -webkit-mask-size: 100%;
919
925
  mask-size: 100%;
920
926
  }
921
- :host .wrapper.invalid .label:after {
927
+ :host .wrapper.invalid .label-wrapper:after {
922
928
  -webkit-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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
923
929
  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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
924
930
  }
925
- :host .wrapper.invalid .label:after {
931
+ :host .wrapper.invalid .label-wrapper:after {
926
932
  display: inline-block;
927
933
  margin-inline-start: 0.25rem;
928
- vertical-align: middle;
934
+ align-self: center;
929
935
  flex-shrink: 0;
930
936
  transform: translateY(-1px);
931
937
  }
@@ -1,5 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
- import { handleDisabledAttribute, toBool } from "../../global/functions";
2
+ import { handleDisabledAttribute, toBool, showTooltip, hideTooltip } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Textarea {
5
5
  constructor() {
@@ -58,6 +58,12 @@ export class Textarea {
58
58
  }
59
59
  this.previousValue = this.value;
60
60
  }
61
+ handleLabelMouseEnter(ev) {
62
+ const labelEl = ev.target;
63
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
64
+ showTooltip("right", ev.target, this.label);
65
+ }
66
+ }
61
67
  announce(message) {
62
68
  if (this.liveRegionEl.textContent === message) {
63
69
  message += "\u00A0";
@@ -65,7 +71,7 @@ export class Textarea {
65
71
  this.announcement = message;
66
72
  }
67
73
  render() {
68
- return (h("div", { key: '51737864a8a2007cd82214adfb9917318eac76ae', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '5dd0a741e86fd626019c3ccfb25cb2741c405a65', class: "label-wrapper" }, h("label", { key: 'a3843d5240a623a31725bb94d73a80616a6c7f70', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '5d9e488db01668a794bdaa1c0b8b2d29c94874b4', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: 'cfca0f1f18ddc808dd90d300d35de54918aaea80', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '3d91905f9dd67127c4f84ecc4d5bc8eb011a12e0', class: "inner-wrapper" }, h("div", { key: '603c2ed498216be12a757d1725c96d25a726f1fa', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: 'cdeaa4d4dd779682a7bcc9118119ce120d82489e', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '32e14b8d7bc414f4d75d6dbce66805c6c8658574', id: "info", class: "info" }, this.info)), h("div", { key: '6bb6d301754a4305704eab7db1285e60d6ebae91', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '9c01d2c255d163bc461cd8cffdf8530831b6858e', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
74
+ return (h("div", { key: '5bd7daf935fa75bec3fccc000c4674b23da1c043', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '52f18f7ef95fb4505f19ec57b3328db9706af750', class: "label-wrapper" }, h("label", { key: '510bf29970364b1caacfd1eef164a2f766217df2', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '47024a21e0940c6c40dde2b131c337636fe1bbdf', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: 'dff37fb5a589b44b4eb249b0b3a572e9944a15cb', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '8dda587667514bbf0db310491cf58d2b3ea00fea', class: "inner-wrapper" }, h("div", { key: '8782435cdc9150197ac29a09fd6b3d6b95413c59', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '3d7a017570a79669f03914e00be725a633717c66', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '7cfb20e30f1413096a861089e932aabc46be0593', id: "info", class: "info" }, this.info)), h("div", { key: '2f450eb52e3bf5e805e125f19e59766c4d45a75c', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '024947b6fa1ef096bb09c1c9183984e647ed5432', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
69
75
  }
70
76
  static get is() { return "wm-textarea"; }
71
77
  static get encapsulation() { return "shadow"; }
@@ -890,21 +890,28 @@
890
890
  flex-direction: column;
891
891
  font-size: 0.875rem;
892
892
  }
893
+ :host .wrapper .label-wrapper {
894
+ display: flex;
895
+ }
893
896
  :host .wrapper .label {
894
- display: block;
897
+ display: inline-block;
895
898
  line-height: normal;
896
899
  font-weight: 600;
897
900
  white-space: nowrap;
901
+ overflow: hidden;
902
+ text-overflow: ellipsis;
898
903
  margin-bottom: 0.25rem;
899
904
  }
900
- :host .wrapper .label .required {
905
+ :host .wrapper .required {
906
+ display: inline-block;
901
907
  color: var(--wmcolor-text-required);
902
908
  }
903
909
  :host .wrapper.label-left {
904
910
  flex-direction: row;
905
911
  }
906
912
  :host .wrapper.label-left .label-wrapper {
907
- line-height: 2.5rem;
913
+ height: fit-content;
914
+ margin-right: 0.75rem;
908
915
  }
909
916
  :host .wrapper.label-left .label-wrapper .label {
910
917
  display: flex;
@@ -912,7 +919,6 @@
912
919
  min-height: 2.5rem;
913
920
  white-space: normal;
914
921
  margin-bottom: 0;
915
- margin-right: 0.75rem;
916
922
  }
917
923
  :host .wrapper.label-none label {
918
924
  position: absolute !important;
@@ -926,11 +932,11 @@
926
932
  white-space: nowrap !important;
927
933
  margin: -1px !important;
928
934
  }
929
- :host .wrapper.invalid .label {
935
+ :host .wrapper.invalid .label-wrapper {
930
936
  color: var(--wmcolor-text-error);
931
937
  position: relative;
932
938
  }
933
- :host .wrapper.invalid .label:after {
939
+ :host .wrapper.invalid .label-wrapper:after {
934
940
  content: "";
935
941
  display: block;
936
942
  background-color: var(--icon-fill, currentColor);
@@ -939,14 +945,14 @@
939
945
  -webkit-mask-size: 100%;
940
946
  mask-size: 100%;
941
947
  }
942
- :host .wrapper.invalid .label:after {
948
+ :host .wrapper.invalid .label-wrapper:after {
943
949
  -webkit-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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
944
950
  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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
945
951
  }
946
- :host .wrapper.invalid .label:after {
952
+ :host .wrapper.invalid .label-wrapper:after {
947
953
  display: inline-block;
948
954
  margin-inline-start: 0.25rem;
949
- vertical-align: middle;
955
+ align-self: center;
950
956
  flex-shrink: 0;
951
957
  transform: translateY(-1px);
952
958
  }
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { intl, shouldOpenUp, toBool, handleDisabledAttribute } from "../../global/functions";
2
+ import { intl, shouldOpenUp, toBool, handleDisabledAttribute, showTooltip, hideTooltip } from "../../global/functions";
3
3
  export class Timepicker {
4
4
  constructor() {
5
5
  this.twelveHrValid = /^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i;
@@ -168,6 +168,12 @@ export class Timepicker {
168
168
  this.wmTimepickerInputBlurred.emit();
169
169
  this.tpWrapper.classList.remove("focus");
170
170
  }
171
+ handleLabelMouseEnter(ev) {
172
+ const labelEl = ev.target;
173
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
174
+ showTooltip("right", ev.target, this.label);
175
+ }
176
+ }
171
177
  generateTimeIntervals() {
172
178
  let timeIntervals = [];
173
179
  let startTime = 0;
@@ -275,13 +281,13 @@ export class Timepicker {
275
281
  return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
276
282
  }
277
283
  render() {
278
- return (h(Host, { key: '75c58eb3889b4608731626a626c3e258d0ec847f', onBlur: () => this.close(false) }, h("div", { key: 'ca41df7312aee146f9bba55a014db11a4bc7bdca', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '9b23e549863796691cd801d1f7dc4aa2647cd500', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '0a2962b5f6012d7e574a7514c754fd50c6d799a3', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '4dd27ce330c1576bcd95c414686504e843b7f383', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: 'f25c696ee97660f53339083b8fd8350c6fef3709' }, h("div", { key: '09a6c2e7d95170af417bfb9ec25ba8a57532d666', class: "inner-wrapper" }, h("input", { key: 'c5ab576ef84f9909530fd0ab04f634019ce8ac9a', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '9669a42ba3897487e8c5ba2096ccbd69431ed6d0', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
284
+ return (h(Host, { key: 'fd0acc447628174ea8551c1ea7cafdc8b0b6ec74', onBlur: () => this.close(false) }, h("div", { key: 'a8c7c453558df7a33fc42d71eff78894a36306d6', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '9f259605e513d12e32716f12b4d5dee9fb97d10a', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '1b1b596a992a66f6738cab61086c9d7298934e8c', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '4fc12427a1b3c62b9a6e7cd53c83cec311b46f1e', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '6f299347f62dd5299f0223bbdee82fc55dafe06a' }, h("div", { key: 'd78e3b28b110714558d94ba03bedc4d63e8a41d7', class: "inner-wrapper" }, h("input", { key: '1af64c4c0ab7bd983d3e926ad1ea146bed0dadea', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: 'a99cd67d7bfa17c4ba512b73097b5987b8d5d4f8', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
279
285
  // This addresses an issue in Safari, where clicking buttons does not focus them
280
286
  // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
281
287
  onMouseDown: (ev) => {
282
288
  ev.preventDefault();
283
289
  this.buttonEl.focus();
284
- } }, h("span", { key: '1895dd0bb547ff6538c7c9c71ef908789cf0a063', class: "svg-icon svg-time" })), h("ul", { key: 'ff29ad47af475536ee5ff28b331d119a1a62d34f', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '1bfc84ec0632852c000dc94ef8e63ec55689174e', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'd7c1b581e3441cadeb547f29399aee7412011670', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
290
+ } }, h("span", { key: 'd50582487d9860716e0bdc67b99ac75b346d62aa', class: "svg-icon svg-time" })), h("ul", { key: '63a9ed95dc1c238d12d84150c406e5ff877d71b3', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '25ea586bea9676a7d18c2fdeada1dcaf0a224471', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '4985d6ee5df49f687eaeeb06a1b5a0c8b14b7119', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
285
291
  }
286
292
  static get is() { return "wm-timepicker"; }
287
293
  static get encapsulation() { return "shadow"; }
@@ -221,9 +221,9 @@ export class Toggletip {
221
221
  }
222
222
  }
223
223
  render() {
224
- return (h(Host, { key: '5d8d7bd25f7ed0e9626944a09f18c7a534b35181', class: `size-${this.targetSize}` }, h("button", { key: '414f8f09f3a1d20b9e8641cab03632ccd91f8f71', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
224
+ return (h(Host, { key: '653e8a3a21b1a63ebae98f4813393ae2c3020aa0', class: `size-${this.targetSize}` }, h("button", { key: '15a4de61c15d32091643bbabaf438f5116e5bea9', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
225
225
  // In order to position the tooltip identically to the toggletip, its presence is determined by these four events
226
- onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '8d032e897502ded7631b494314f201d35dd3acb3', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), h("div", { key: '4cc15a0db02fb19faa8d8ac7e9253c29e74e7ac5', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
226
+ onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '96e4c18106ed35a41a0fc4ff2ea2b239cac541e1', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), h("div", { key: 'd6cf716efcd55983e0b86854eac118a9bbb01d76', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
227
227
  }
228
228
  static get is() { return "wm-toggletip"; }
229
229
  static get encapsulation() { return "shadow"; }
@@ -1635,21 +1635,28 @@
1635
1635
  flex-direction: column;
1636
1636
  font-size: 0.875rem;
1637
1637
  }
1638
+ .wrapper .label-wrapper {
1639
+ display: flex;
1640
+ }
1638
1641
  .wrapper .label {
1639
- display: block;
1642
+ display: inline-block;
1640
1643
  line-height: normal;
1641
1644
  font-weight: 600;
1642
1645
  white-space: nowrap;
1646
+ overflow: hidden;
1647
+ text-overflow: ellipsis;
1643
1648
  margin-bottom: 0.25rem;
1644
1649
  }
1645
- .wrapper .label .required {
1650
+ .wrapper .required {
1651
+ display: inline-block;
1646
1652
  color: var(--wmcolor-text-required);
1647
1653
  }
1648
1654
  .wrapper.label-left {
1649
1655
  flex-direction: row;
1650
1656
  }
1651
1657
  .wrapper.label-left .label-wrapper {
1652
- line-height: 2.5rem;
1658
+ height: fit-content;
1659
+ margin-right: 0.75rem;
1653
1660
  }
1654
1661
  .wrapper.label-left .label-wrapper .label {
1655
1662
  display: flex;
@@ -1657,7 +1664,6 @@
1657
1664
  min-height: 2.5rem;
1658
1665
  white-space: normal;
1659
1666
  margin-bottom: 0;
1660
- margin-right: 0.75rem;
1661
1667
  }
1662
1668
  .wrapper.label-none label {
1663
1669
  position: absolute !important;
@@ -1671,11 +1677,11 @@
1671
1677
  white-space: nowrap !important;
1672
1678
  margin: -1px !important;
1673
1679
  }
1674
- .wrapper.invalid .label {
1680
+ .wrapper.invalid .label-wrapper {
1675
1681
  color: var(--wmcolor-text-error);
1676
1682
  position: relative;
1677
1683
  }
1678
- .wrapper.invalid .label:after {
1684
+ .wrapper.invalid .label-wrapper:after {
1679
1685
  content: "";
1680
1686
  display: block;
1681
1687
  background-color: var(--icon-fill, currentColor);
@@ -1684,14 +1690,14 @@
1684
1690
  -webkit-mask-size: 100%;
1685
1691
  mask-size: 100%;
1686
1692
  }
1687
- .wrapper.invalid .label:after {
1693
+ .wrapper.invalid .label-wrapper:after {
1688
1694
  -webkit-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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
1689
1695
  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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
1690
1696
  }
1691
- .wrapper.invalid .label:after {
1697
+ .wrapper.invalid .label-wrapper:after {
1692
1698
  display: inline-block;
1693
1699
  margin-inline-start: 0.25rem;
1694
- vertical-align: middle;
1700
+ align-self: center;
1695
1701
  flex-shrink: 0;
1696
1702
  transform: translateY(-1px);
1697
1703
  }