@watermarkinsights/ripple 5.9.0 → 5.10.0-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 (273) hide show
  1. package/dist/cjs/{global-bcbcacab.js → global-f8dc67a7.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/priv-calendar.cjs.entry.js +1 -1
  4. package/dist/cjs/priv-chart-popover.cjs.entry.js +1 -1
  5. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  6. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  7. package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
  8. package/dist/cjs/ripple.cjs.js +1 -1
  9. package/dist/cjs/wm-action-menu_2.cjs.entry.js +16 -7
  10. package/dist/cjs/wm-button.cjs.entry.js +17 -2
  11. package/dist/cjs/wm-chart.cjs.entry.js +1 -1
  12. package/dist/cjs/wm-date-range.cjs.entry.js +1 -1
  13. package/dist/cjs/wm-datepicker.cjs.entry.js +1 -1
  14. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  15. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-input.cjs.entry.js +1 -1
  17. package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
  18. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +3 -3
  19. package/dist/cjs/wm-modal_3.cjs.entry.js +3 -3
  20. package/dist/cjs/wm-navigation_3.cjs.entry.js +3 -3
  21. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  22. package/dist/cjs/wm-nested-select.cjs.entry.js +1 -1
  23. package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
  24. package/dist/cjs/wm-option_2.cjs.entry.js +2 -2
  25. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  26. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  27. package/dist/cjs/wm-search.cjs.entry.js +1 -1
  28. package/dist/cjs/wm-snackbar.cjs.entry.js +1 -1
  29. package/dist/cjs/wm-tab-item_3.cjs.entry.js +3 -3
  30. package/dist/cjs/wm-tag-input.cjs.entry.js +1 -1
  31. package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
  32. package/dist/cjs/wm-timepicker.cjs.entry.js +1 -1
  33. package/dist/cjs/wm-toggletip.cjs.entry.js +1 -1
  34. package/dist/cjs/wm-uploader.cjs.entry.js +14 -4
  35. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +30 -0
  36. package/dist/collection/components/charts/wm-chart/wm-chart.css +30 -0
  37. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +30 -0
  38. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +30 -0
  39. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +30 -0
  40. package/dist/collection/components/datepickers/datepicker.css +30 -0
  41. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +30 -0
  42. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +30 -0
  43. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +30 -0
  44. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +30 -0
  45. package/dist/collection/components/selects/wm-option/wm-option.css +30 -0
  46. package/dist/collection/components/selects/wm-select/wm-select.css +30 -0
  47. package/dist/collection/components/wm-action-menu/wm-action-menu.css +30 -0
  48. package/dist/collection/components/wm-button/wm-button.css +32 -1
  49. package/dist/collection/components/wm-button/wm-button.js +16 -1
  50. package/dist/collection/components/wm-file/wm-file.css +30 -0
  51. package/dist/collection/components/wm-file-list/wm-file-list.css +30 -0
  52. package/dist/collection/components/wm-input/wm-input.css +30 -0
  53. package/dist/collection/components/wm-menuitem/wm-menuitem.css +36 -3
  54. package/dist/collection/components/wm-menuitem/wm-menuitem.js +14 -5
  55. package/dist/collection/components/wm-modal/wm-modal-footer.css +30 -0
  56. package/dist/collection/components/wm-modal/wm-modal-header.css +30 -0
  57. package/dist/collection/components/wm-modal/wm-modal.css +30 -0
  58. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +30 -0
  59. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +30 -0
  60. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +30 -0
  61. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +30 -0
  62. package/dist/collection/components/wm-navigation/wm-navigation-item.css +30 -0
  63. package/dist/collection/components/wm-navigation/wm-navigation.css +30 -0
  64. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +30 -0
  65. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +30 -0
  66. package/dist/collection/components/wm-navigator/wm-navigator.css +30 -0
  67. package/dist/collection/components/wm-pagination/wm-pagination.css +30 -0
  68. package/dist/collection/components/wm-search/wm-search.css +30 -0
  69. package/dist/collection/components/wm-snackbar/wm-snackbar.css +30 -0
  70. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +30 -0
  71. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +30 -0
  72. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +30 -0
  73. package/dist/collection/components/wm-tag-input/wm-tag-input.css +30 -0
  74. package/dist/collection/components/wm-textarea/wm-textarea.css +30 -0
  75. package/dist/collection/components/wm-timepicker/wm-timepicker.css +30 -0
  76. package/dist/collection/components/wm-toggletip/wm-toggletip.css +30 -0
  77. package/dist/collection/components/wm-uploader/wm-uploader.css +32 -1
  78. package/dist/collection/components/wm-uploader/wm-uploader.js +13 -3
  79. package/dist/esm/{global-5bd4039b.js → global-2ee184fa.js} +1 -1
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/priv-calendar.entry.js +1 -1
  82. package/dist/esm/priv-chart-popover.entry.js +1 -1
  83. package/dist/esm/priv-navigator-button.entry.js +1 -1
  84. package/dist/esm/priv-navigator-item.entry.js +1 -1
  85. package/dist/esm/priv-option-list.entry.js +1 -1
  86. package/dist/esm/ripple.js +1 -1
  87. package/dist/esm/wm-action-menu_2.entry.js +16 -7
  88. package/dist/esm/wm-button.entry.js +17 -2
  89. package/dist/esm/wm-chart.entry.js +1 -1
  90. package/dist/esm/wm-date-range.entry.js +1 -1
  91. package/dist/esm/wm-datepicker.entry.js +1 -1
  92. package/dist/esm/wm-file-list.entry.js +1 -1
  93. package/dist/esm/wm-file.entry.js +1 -1
  94. package/dist/esm/wm-input.entry.js +1 -1
  95. package/dist/esm/wm-line-chart.entry.js +1 -1
  96. package/dist/esm/wm-modal-pss_3.entry.js +3 -3
  97. package/dist/esm/wm-modal_3.entry.js +3 -3
  98. package/dist/esm/wm-navigation_3.entry.js +3 -3
  99. package/dist/esm/wm-navigator.entry.js +1 -1
  100. package/dist/esm/wm-nested-select.entry.js +1 -1
  101. package/dist/esm/wm-optgroup.entry.js +1 -1
  102. package/dist/esm/wm-option_2.entry.js +2 -2
  103. package/dist/esm/wm-pagination.entry.js +1 -1
  104. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  105. package/dist/esm/wm-search.entry.js +1 -1
  106. package/dist/esm/wm-snackbar.entry.js +1 -1
  107. package/dist/esm/wm-tab-item_3.entry.js +3 -3
  108. package/dist/esm/wm-tag-input.entry.js +1 -1
  109. package/dist/esm/wm-textarea.entry.js +1 -1
  110. package/dist/esm/wm-timepicker.entry.js +1 -1
  111. package/dist/esm/wm-toggletip.entry.js +1 -1
  112. package/dist/esm/wm-uploader.entry.js +14 -4
  113. package/dist/esm-es5/global-2ee184fa.js +1 -0
  114. package/dist/esm-es5/loader.js +1 -1
  115. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  116. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  117. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  118. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  119. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  120. package/dist/esm-es5/ripple.js +1 -1
  121. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  122. package/dist/esm-es5/wm-button.entry.js +1 -1
  123. package/dist/esm-es5/wm-chart.entry.js +1 -1
  124. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  125. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  126. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  127. package/dist/esm-es5/wm-file.entry.js +1 -1
  128. package/dist/esm-es5/wm-input.entry.js +1 -1
  129. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  130. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  131. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  132. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  133. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  134. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  135. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  136. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  137. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  138. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  139. package/dist/esm-es5/wm-search.entry.js +1 -1
  140. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  141. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  142. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  143. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  144. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  145. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  146. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  147. package/dist/ripple/{p-f9d26f8b.system.entry.js → p-02ff9d9a.system.entry.js} +1 -1
  148. package/dist/ripple/p-056f9114.system.entry.js +1 -0
  149. package/dist/ripple/{p-870cf4ef.entry.js → p-0c66ecba.entry.js} +1 -1
  150. package/dist/ripple/p-0e6fc5a0.system.entry.js +1 -0
  151. package/dist/ripple/p-0eaa5f28.system.entry.js +1 -0
  152. package/dist/ripple/p-1664fdca.entry.js +1 -0
  153. package/dist/ripple/p-1d05f67b.system.entry.js +1 -0
  154. package/dist/ripple/p-1d8a56df.entry.js +1 -0
  155. package/dist/ripple/p-28b03c72.entry.js +1 -0
  156. package/dist/ripple/p-33143ee5.entry.js +1 -0
  157. package/dist/ripple/p-39edbc9c.entry.js +1 -0
  158. package/dist/ripple/p-3cbe36c5.system.entry.js +1 -0
  159. package/dist/ripple/p-3f8f2a25.entry.js +1 -0
  160. package/dist/ripple/p-40defee8.entry.js +1 -0
  161. package/dist/ripple/p-45d9682c.system.entry.js +1 -0
  162. package/dist/ripple/{p-e53b6f7c.entry.js → p-47719c70.entry.js} +1 -1
  163. package/dist/ripple/p-4e741c68.system.entry.js +1 -0
  164. package/dist/ripple/p-4edaeeeb.system.entry.js +1 -0
  165. package/dist/ripple/{p-6692b5a6.entry.js → p-52ac4efc.entry.js} +1 -1
  166. package/dist/ripple/p-5782584c.system.entry.js +1 -0
  167. package/dist/ripple/p-6837e730.entry.js +1 -0
  168. package/dist/ripple/p-6be637a4.system.entry.js +1 -0
  169. package/dist/ripple/p-6e6f0bb6.system.entry.js +1 -0
  170. package/dist/ripple/p-73cba751.entry.js +1 -0
  171. package/dist/ripple/p-79dd2d45.entry.js +1 -0
  172. package/dist/ripple/p-7f6bdd09.entry.js +1 -0
  173. package/dist/ripple/p-8454039b.system.entry.js +1 -0
  174. package/dist/ripple/p-87f0b9e4.system.entry.js +1 -0
  175. package/dist/ripple/p-891a5937.system.entry.js +1 -0
  176. package/dist/ripple/p-897995da.system.entry.js +1 -0
  177. package/dist/ripple/p-8a8f341e.entry.js +1 -0
  178. package/dist/ripple/p-8dfff1de.entry.js +1 -0
  179. package/dist/ripple/p-94283558.system.entry.js +1 -0
  180. package/dist/ripple/{p-37649315.entry.js → p-9ac65a33.entry.js} +1 -1
  181. package/dist/ripple/p-9cf3201c.system.entry.js +1 -0
  182. package/dist/ripple/p-9e5e84ff.system.entry.js +1 -0
  183. package/dist/ripple/p-b0ccd8f7.entry.js +1 -0
  184. package/dist/ripple/p-b1887b90.entry.js +1 -0
  185. package/dist/ripple/{p-6ad695a5.entry.js → p-b670af1d.entry.js} +1 -1
  186. package/dist/ripple/p-b7d6a53d.system.entry.js +1 -0
  187. package/dist/ripple/p-b9954d05.js +1 -0
  188. package/dist/ripple/{p-e28671cd.system.entry.js → p-bf45953e.system.entry.js} +1 -1
  189. package/dist/ripple/p-c232f2de.entry.js +1 -0
  190. package/dist/ripple/p-ccfffedb.entry.js +1 -0
  191. package/dist/ripple/p-ce73934e.system.entry.js +1 -0
  192. package/dist/ripple/p-d16fcb24.entry.js +1 -0
  193. package/dist/ripple/p-d1a46a3d.entry.js +1 -0
  194. package/dist/ripple/p-d2933cff.system.entry.js +1 -0
  195. package/dist/ripple/p-d2e3b0dd.system.js +1 -0
  196. package/dist/ripple/{p-65f4ce68.system.js → p-d3adb7db.system.js} +1 -1
  197. package/dist/ripple/{p-52338bbc.entry.js → p-d7312723.entry.js} +1 -1
  198. package/dist/ripple/p-da3003ab.entry.js +1 -0
  199. package/dist/ripple/p-dbda39c7.system.entry.js +1 -0
  200. package/dist/ripple/p-ddcdf330.entry.js +1 -0
  201. package/dist/ripple/p-e19a8330.entry.js +1 -0
  202. package/dist/ripple/p-e8e6c4cf.system.entry.js +1 -0
  203. package/dist/ripple/p-e9588527.entry.js +1 -0
  204. package/dist/ripple/{p-dd76bf0a.system.entry.js → p-e9ec2446.system.entry.js} +1 -1
  205. package/dist/ripple/p-f22a2dcd.system.entry.js +1 -0
  206. package/dist/ripple/p-f3e19729.entry.js +1 -0
  207. package/dist/ripple/p-f56f2911.system.entry.js +1 -0
  208. package/dist/ripple/p-f657216e.system.entry.js +1 -0
  209. package/dist/ripple/p-f6a40173.system.entry.js +1 -0
  210. package/dist/ripple/p-fe00606b.entry.js +1 -0
  211. package/dist/ripple/p-ff7df52d.system.entry.js +1 -0
  212. package/dist/ripple/ripple.css +1 -0
  213. package/dist/ripple/ripple.esm.js +1 -1
  214. package/dist/ripple/ripple.js +1 -1
  215. package/dist/types/components/wm-button/wm-button.d.ts +1 -0
  216. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +1 -2
  217. package/package.json +1 -1
  218. package/dist/esm-es5/global-5bd4039b.js +0 -1
  219. package/dist/ripple/p-021ff5fa.system.entry.js +0 -1
  220. package/dist/ripple/p-037bf5c7.system.entry.js +0 -1
  221. package/dist/ripple/p-04d5e7d7.entry.js +0 -1
  222. package/dist/ripple/p-0eea8fd3.system.entry.js +0 -1
  223. package/dist/ripple/p-0faf7ef9.system.entry.js +0 -1
  224. package/dist/ripple/p-13cc92e7.entry.js +0 -1
  225. package/dist/ripple/p-1618709f.entry.js +0 -1
  226. package/dist/ripple/p-1f73b257.entry.js +0 -1
  227. package/dist/ripple/p-2520d947.system.entry.js +0 -1
  228. package/dist/ripple/p-29f41fea.system.entry.js +0 -1
  229. package/dist/ripple/p-2c028fe2.entry.js +0 -1
  230. package/dist/ripple/p-2f565d7a.system.entry.js +0 -1
  231. package/dist/ripple/p-311923b2.system.entry.js +0 -1
  232. package/dist/ripple/p-3212fd0e.entry.js +0 -1
  233. package/dist/ripple/p-34d80f95.entry.js +0 -1
  234. package/dist/ripple/p-3aca84d7.entry.js +0 -1
  235. package/dist/ripple/p-3bb1f795.system.entry.js +0 -1
  236. package/dist/ripple/p-43b03ad8.system.entry.js +0 -1
  237. package/dist/ripple/p-4c5606da.system.entry.js +0 -1
  238. package/dist/ripple/p-54d7688a.entry.js +0 -1
  239. package/dist/ripple/p-5ea1c7a6.entry.js +0 -1
  240. package/dist/ripple/p-5eb02aa9.system.entry.js +0 -1
  241. package/dist/ripple/p-6025efee.system.entry.js +0 -1
  242. package/dist/ripple/p-6a4c59e0.system.entry.js +0 -1
  243. package/dist/ripple/p-6d2122b9.entry.js +0 -1
  244. package/dist/ripple/p-6eb50cc3.system.entry.js +0 -1
  245. package/dist/ripple/p-7039fa60.system.entry.js +0 -1
  246. package/dist/ripple/p-72c22a55.entry.js +0 -1
  247. package/dist/ripple/p-7906a797.system.entry.js +0 -1
  248. package/dist/ripple/p-7b982ba8.system.entry.js +0 -1
  249. package/dist/ripple/p-7e4866c3.entry.js +0 -1
  250. package/dist/ripple/p-8f217fb1.entry.js +0 -1
  251. package/dist/ripple/p-90261a03.system.entry.js +0 -1
  252. package/dist/ripple/p-902a54c5.entry.js +0 -1
  253. package/dist/ripple/p-9a2cf94c.system.entry.js +0 -1
  254. package/dist/ripple/p-9dc64e6f.entry.js +0 -1
  255. package/dist/ripple/p-ade3d9a9.entry.js +0 -1
  256. package/dist/ripple/p-ae4c8481.system.entry.js +0 -1
  257. package/dist/ripple/p-b01d022f.entry.js +0 -1
  258. package/dist/ripple/p-b0e099f8.entry.js +0 -1
  259. package/dist/ripple/p-b19ea29e.entry.js +0 -1
  260. package/dist/ripple/p-c2657183.entry.js +0 -1
  261. package/dist/ripple/p-c39a3951.system.entry.js +0 -1
  262. package/dist/ripple/p-c7e928cb.system.entry.js +0 -1
  263. package/dist/ripple/p-c885c7f9.entry.js +0 -1
  264. package/dist/ripple/p-c9543950.system.entry.js +0 -1
  265. package/dist/ripple/p-cbd2473d.system.entry.js +0 -1
  266. package/dist/ripple/p-cedfcf23.entry.js +0 -1
  267. package/dist/ripple/p-d824406e.system.entry.js +0 -1
  268. package/dist/ripple/p-e4ff7200.entry.js +0 -1
  269. package/dist/ripple/p-e6f3f0e5.system.entry.js +0 -1
  270. package/dist/ripple/p-ec52a08e.system.js +0 -1
  271. package/dist/ripple/p-f05e38b1.entry.js +0 -1
  272. package/dist/ripple/p-f367f027.system.entry.js +0 -1
  273. package/dist/ripple/p-fe3451ec.js +0 -1
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  priv-chart-popover {
33
63
  --wmcolor-chart-popover-link-background: var(--wmcolor-background-transparent);
34
64
  --wmcolor-chart-popover-link-text-focus: var(--wmcolor-interactive-focus);
@@ -493,4 +493,34 @@
493
493
  }
494
494
  :host .component-wrapper .legend-wrapper .legend.bar3 {
495
495
  padding-bottom: 1.25rem;
496
+ }
497
+
498
+ .svg-icon {
499
+ display: inline-block;
500
+ }
501
+ .svg-icon:before {
502
+ content: "";
503
+ background-color: var(--icon-fill, currentColor);
504
+ width: var(--icon-size, 14px);
505
+ height: var(--icon-size, 14px);
506
+ }
507
+ .svg-icon.horizontal {
508
+ transform: scaleX(-1);
509
+ }
510
+ .svg-icon.vertical {
511
+ transform: scaleY(-1);
512
+ }
513
+ .svg-icon.svg-pencil:before {
514
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
515
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
516
+ -webkit-mask-size: 100%;
517
+ mask-size: 100%;
518
+ display: block;
519
+ }
520
+ .svg-icon.svg-rotate-right:before {
521
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
522
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
523
+ -webkit-mask-size: 100%;
524
+ mask-size: 100%;
525
+ display: block;
496
526
  }
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-linechart-currentposition: var(--wmcolor-lavender); /* EXCEPTION */
34
64
  --wmcolor-linechart-delta-text-negative: var(--wmcolor-text-negative);
@@ -493,4 +493,34 @@
493
493
  }
494
494
  :host .component-wrapper .legend-wrapper .legend.bar3 {
495
495
  padding-bottom: 1.25rem;
496
+ }
497
+
498
+ .svg-icon {
499
+ display: inline-block;
500
+ }
501
+ .svg-icon:before {
502
+ content: "";
503
+ background-color: var(--icon-fill, currentColor);
504
+ width: var(--icon-size, 14px);
505
+ height: var(--icon-size, 14px);
506
+ }
507
+ .svg-icon.horizontal {
508
+ transform: scaleX(-1);
509
+ }
510
+ .svg-icon.vertical {
511
+ transform: scaleY(-1);
512
+ }
513
+ .svg-icon.svg-pencil:before {
514
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
515
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
516
+ -webkit-mask-size: 100%;
517
+ mask-size: 100%;
518
+ display: block;
519
+ }
520
+ .svg-icon.svg-rotate-right:before {
521
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
522
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
523
+ -webkit-mask-size: 100%;
524
+ mask-size: 100%;
525
+ display: block;
496
526
  }
@@ -105,6 +105,36 @@
105
105
  padding-bottom: 1.25rem;
106
106
  }
107
107
 
108
+ .svg-icon {
109
+ display: inline-block;
110
+ }
111
+ .svg-icon:before {
112
+ content: "";
113
+ background-color: var(--icon-fill, currentColor);
114
+ width: var(--icon-size, 14px);
115
+ height: var(--icon-size, 14px);
116
+ }
117
+ .svg-icon.horizontal {
118
+ transform: scaleX(-1);
119
+ }
120
+ .svg-icon.vertical {
121
+ transform: scaleY(-1);
122
+ }
123
+ .svg-icon.svg-pencil:before {
124
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
125
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
126
+ -webkit-mask-size: 100%;
127
+ mask-size: 100%;
128
+ display: block;
129
+ }
130
+ .svg-icon.svg-rotate-right:before {
131
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
132
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
133
+ -webkit-mask-size: 100%;
134
+ mask-size: 100%;
135
+ display: block;
136
+ }
137
+
108
138
  :host {
109
139
  display: flex;
110
140
  }
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-datepicker-background: var(--wmcolor-background);
34
64
  --wmcolor-datepicker-day-background-hover: var(--wmcolor-interactive-background-hover);
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-calendar-border: var(--wmcolor-border);
34
64
  --wmcolor-calendar-day-border-hover: var(--wmcolor-border-focus);
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  .search {
33
63
  box-sizing: border-box;
34
64
  padding: 1.25rem;
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-select-background: var(--wmcolor-background);
34
64
  --wmcolor-select-border: var(--wmcolor-input-border);
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  width: 100%;
34
64
  display: none;
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host(:not(:last-child)) {
33
63
  border-bottom: 2px solid;
34
64
  border-color: var(--wmcolor-select-option-border);
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-select-background: var(--wmcolor-background);
34
64
  --wmcolor-select-border: var(--wmcolor-input-border);
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-actionmenu-background: var(--wmcolor-background);
34
64
  --wmcolor-actionmenu-text: var(--wmcolor-interactive);
@@ -91,7 +91,8 @@
91
91
  -webkit-font-smoothing: antialiased;
92
92
  -moz-osx-font-smoothing: grayscale;
93
93
  }
94
- :host .wm-button:not(.-icononly):not(.-navigational) .mdi {
94
+ :host .wm-button:not(.-icononly):not(.-navigational) .mdi,
95
+ :host .wm-button:not(.-icononly):not(.-navigational) .svg-icon {
95
96
  margin-right: 0.3125rem;
96
97
  font-size: 0.875rem;
97
98
  }
@@ -472,6 +473,36 @@
472
473
  padding-bottom: 0.75rem;
473
474
  }
474
475
 
476
+ .svg-icon {
477
+ display: inline-block;
478
+ }
479
+ .svg-icon:before {
480
+ content: "";
481
+ background-color: var(--icon-fill, currentColor);
482
+ width: var(--icon-size, 14px);
483
+ height: var(--icon-size, 14px);
484
+ }
485
+ .svg-icon.horizontal {
486
+ transform: scaleX(-1);
487
+ }
488
+ .svg-icon.vertical {
489
+ transform: scaleY(-1);
490
+ }
491
+ .svg-icon.svg-pencil:before {
492
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
493
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
494
+ -webkit-mask-size: 100%;
495
+ mask-size: 100%;
496
+ display: block;
497
+ }
498
+ .svg-icon.svg-rotate-right:before {
499
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
500
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
501
+ -webkit-mask-size: 100%;
502
+ mask-size: 100%;
503
+ display: block;
504
+ }
505
+
475
506
  :host([disabled]),
476
507
  :host(.button-disabled) {
477
508
  pointer-events: none;
@@ -165,8 +165,23 @@ export class Button {
165
165
  return this.labelForIdenticalButtons;
166
166
  }
167
167
  }
168
+ renderIcon() {
169
+ if (this.icon.match(/^#/)) {
170
+ // Icon ID
171
+ return h("span", { class: `svg-icon svg-${this.icon.slice(1)}`, style: this.iconStyles });
172
+ }
173
+ else if (this.icon.match(/^\/\S*[#]\S*/)) {
174
+ // starts with /, any number of non-whitespace characters, followed by #, followed by any non-whitespace characters
175
+ // Relative Path & Symbol
176
+ return (h("svg", { xmlns: "http://www.w3.org/2000/svg", class: "svg-icon", width: this.iconSize ? this.iconSize : "14px", height: this.iconSize ? this.iconSize : "14px", style: this.iconStyles }, h("use", { href: this.icon })));
177
+ }
178
+ else {
179
+ // MDI
180
+ return (h("span", { class: "mdi", style: this.iconStyles, "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`))));
181
+ }
182
+ }
168
183
  render() {
169
- return (h(Host, { class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && (h("span", { class: "mdi", style: this.iconStyles, "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`)))), h("span", { class: "button-text" }, h("slot", null)))));
184
+ return (h(Host, { class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), h("span", { class: "button-text" }, h("slot", null)))));
170
185
  }
171
186
  static get is() { return "wm-button"; }
172
187
  static get encapsulation() { return "shadow"; }
@@ -29,6 +29,36 @@
29
29
  When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
30
30
  (they can't be aligned on the baseline because of possible description text and error message)
31
31
  -------------------------------------- */
32
+ .svg-icon {
33
+ display: inline-block;
34
+ }
35
+ .svg-icon:before {
36
+ content: "";
37
+ background-color: var(--icon-fill, currentColor);
38
+ width: var(--icon-size, 14px);
39
+ height: var(--icon-size, 14px);
40
+ }
41
+ .svg-icon.horizontal {
42
+ transform: scaleX(-1);
43
+ }
44
+ .svg-icon.vertical {
45
+ transform: scaleY(-1);
46
+ }
47
+ .svg-icon.svg-pencil:before {
48
+ -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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
49
+ 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='M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z'/%3E%3C/svg%3E%0A");
50
+ -webkit-mask-size: 100%;
51
+ mask-size: 100%;
52
+ display: block;
53
+ }
54
+ .svg-icon.svg-rotate-right:before {
55
+ -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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
56
+ 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='M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z'/%3E%3C/svg%3E%0A");
57
+ -webkit-mask-size: 100%;
58
+ mask-size: 100%;
59
+ display: block;
60
+ }
61
+
32
62
  :host {
33
63
  --wmcolor-file-background-error: var(--wmcolor-background-error);
34
64
  --wmcolor-file-background: var(--wmcolor-background-readonly);