@oiz/stzh-components 2.4.0-beta → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/dist/cjs/{_commonjsHelpers-dcc4cf71.js → _commonjsHelpers-bcc1208a.js} +0 -16
  2. package/dist/cjs/{app-globals-57922fc2.js → app-globals-8fbeeb92.js} +1 -1
  3. package/dist/cjs/{js.cookie-226c94ed.js → js.cookie-9c263d23.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +9 -2
  6. package/dist/cjs/stzh-card_3.cjs.entry.js +18 -19
  7. package/dist/cjs/stzh-chart.cjs.entry.js +5998 -5171
  8. package/dist/cjs/stzh-chip_2.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-components.cjs.js +2 -2
  10. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-datalist_2.cjs.entry.js +9 -2
  12. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +14 -3
  16. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-link.cjs.entry.js +9 -2
  18. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  19. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +16 -11
  25. package/dist/collection/assets/i18n/de.json +2 -0
  26. package/dist/collection/assets/i18n/en.json +3 -1
  27. package/dist/collection/components/stzh-button/stzh-button.css +11 -0
  28. package/dist/collection/components/stzh-button/stzh-button.js +28 -1
  29. package/dist/collection/components/stzh-card/stzh-card.css +1 -1
  30. package/dist/collection/components/stzh-card/stzh-card.js +17 -18
  31. package/dist/collection/components/stzh-chart/stzh-chart.css +101 -54
  32. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -0
  33. package/dist/collection/components/stzh-chip/stzh-chip.css +2 -2
  34. package/dist/collection/components/stzh-cspace/stzh-cspace.css +36 -0
  35. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +11 -0
  36. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +28 -1
  37. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +10 -0
  38. package/dist/collection/components/stzh-input/stzh-input.stories.js +12 -12
  39. package/dist/collection/components/stzh-invert/stzh-invert.css +1 -1
  40. package/dist/collection/components/stzh-link/stzh-link.css +11 -0
  41. package/dist/collection/components/stzh-link/stzh-link.js +28 -1
  42. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
  43. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +112 -6
  44. package/dist/collection/components/stzh-richtext/stzh-richtext.css +14 -3
  45. package/dist/collection/components/stzh-richtext/stzh-richtext.js +32 -0
  46. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +16 -11
  47. package/dist/components/_commonjsHelpers.js +1 -16
  48. package/dist/components/index.js +1 -1
  49. package/dist/components/stzh-button2.js +10 -2
  50. package/dist/components/stzh-card2.js +18 -19
  51. package/dist/components/stzh-chart.js +5995 -5168
  52. package/dist/components/stzh-chip2.js +1 -1
  53. package/dist/components/stzh-cspace.js +1 -1
  54. package/dist/components/stzh-datalist-item2.js +10 -2
  55. package/dist/components/stzh-datamessagelist-item.js +1 -1
  56. package/dist/components/stzh-invert.js +1 -1
  57. package/dist/components/stzh-link2.js +10 -2
  58. package/dist/components/stzh-pagetitle-hero.js +1 -1
  59. package/dist/components/stzh-portal-mitwirken.js +1 -1
  60. package/dist/components/stzh-richtext2.js +14 -1
  61. package/dist/components/stzh-upload.js +1 -1
  62. package/dist/components/stzh-vbz-ticker.js +16 -11
  63. package/dist/esm/{_commonjsHelpers-f9dc4873.js → _commonjsHelpers-ba3f0406.js} +1 -16
  64. package/dist/esm/{app-globals-b848652e.js → app-globals-f5264f95.js} +1 -1
  65. package/dist/esm/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
  66. package/dist/esm/loader.js +2 -2
  67. package/dist/esm/stzh-badge_3.entry.js +9 -2
  68. package/dist/esm/stzh-card_3.entry.js +18 -19
  69. package/dist/esm/stzh-chart.entry.js +5995 -5168
  70. package/dist/esm/stzh-chip_2.entry.js +1 -1
  71. package/dist/esm/stzh-components.js +2 -2
  72. package/dist/esm/stzh-cspace.entry.js +1 -1
  73. package/dist/esm/stzh-datalist_2.entry.js +9 -2
  74. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  75. package/dist/esm/stzh-datatable.entry.js +1 -1
  76. package/dist/esm/stzh-dropdown.entry.js +1 -1
  77. package/dist/esm/stzh-ghettobox_2.entry.js +14 -3
  78. package/dist/esm/stzh-invert.entry.js +1 -1
  79. package/dist/esm/stzh-link.entry.js +9 -2
  80. package/dist/esm/stzh-message.entry.js +2 -2
  81. package/dist/esm/stzh-olmap.entry.js +1 -1
  82. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  83. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  84. package/dist/esm/stzh-upload.entry.js +1 -1
  85. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  86. package/dist/esm/stzh-vbz-ticker.entry.js +16 -11
  87. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +1 -0
  88. package/dist/esm-es5/app-globals-f5264f95.js +1 -0
  89. package/dist/esm-es5/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
  90. package/dist/esm-es5/loader.js +1 -1
  91. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  92. package/dist/esm-es5/stzh-card_3.entry.js +1 -1
  93. package/dist/esm-es5/stzh-chart.entry.js +3 -3
  94. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  95. package/dist/esm-es5/stzh-components.js +1 -1
  96. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  97. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  98. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  99. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  100. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  101. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  102. package/dist/esm-es5/stzh-invert.entry.js +1 -1
  103. package/dist/esm-es5/stzh-link.entry.js +1 -1
  104. package/dist/esm-es5/stzh-message.entry.js +1 -1
  105. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  106. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  107. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  108. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  109. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  110. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  111. package/dist/stzh-components/assets/i18n/de.json +2 -0
  112. package/dist/stzh-components/assets/i18n/en.json +3 -1
  113. package/dist/stzh-components/p-05e742b4.js +1 -0
  114. package/dist/stzh-components/p-09a6a4be.system.js +1 -0
  115. package/dist/stzh-components/{p-b9372a2a.entry.js → p-0ab2f949.entry.js} +1 -1
  116. package/dist/stzh-components/{p-ed783154.system.entry.js → p-216b89d7.system.entry.js} +1 -1
  117. package/dist/stzh-components/{p-c8cc2563.system.entry.js → p-263fd0bb.system.entry.js} +1 -1
  118. package/dist/stzh-components/{p-e4a8f1bc.system.entry.js → p-2e40e63c.system.entry.js} +1 -1
  119. package/dist/stzh-components/{p-26889a91.entry.js → p-32ae64a3.entry.js} +1 -1
  120. package/dist/stzh-components/{p-4eee30ea.system.entry.js → p-340eedda.system.entry.js} +1 -1
  121. package/dist/stzh-components/p-3721f7b2.entry.js +1 -0
  122. package/dist/stzh-components/p-37de872c.system.entry.js +1 -0
  123. package/dist/stzh-components/p-3a73b8b5.system.js +1 -0
  124. package/dist/stzh-components/p-3e8ff66b.js +1 -0
  125. package/dist/stzh-components/{p-c2f909c1.system.entry.js → p-3fc51ad1.system.entry.js} +1 -1
  126. package/dist/stzh-components/p-4453449f.entry.js +1 -0
  127. package/dist/stzh-components/{p-d54ff4d4.system.entry.js → p-47175c6f.system.entry.js} +1 -1
  128. package/dist/stzh-components/p-5b85324c.entry.js +1 -0
  129. package/dist/stzh-components/{p-484a366f.system.js → p-5db542ae.system.js} +1 -1
  130. package/dist/stzh-components/p-62791751.entry.js +1 -0
  131. package/dist/stzh-components/p-660125e0.system.entry.js +1 -0
  132. package/dist/stzh-components/{p-65918f6f.system.js → p-6932ce19.system.js} +1 -1
  133. package/dist/stzh-components/{p-f3276ca5.system.entry.js → p-6a109ce9.system.entry.js} +1 -1
  134. package/dist/stzh-components/p-6c73f6ad.entry.js +1 -0
  135. package/dist/stzh-components/{p-02d51685.entry.js → p-6ee87986.entry.js} +1 -1
  136. package/dist/stzh-components/{p-d9ae09b5.entry.js → p-7bb82e56.entry.js} +1 -1
  137. package/dist/stzh-components/p-7d42654b.system.entry.js +1 -0
  138. package/dist/stzh-components/{p-b92734db.entry.js → p-7e9fa7f5.entry.js} +1 -1
  139. package/dist/stzh-components/p-8c141cae.system.entry.js +1 -0
  140. package/dist/stzh-components/p-907f59dd.entry.js +1 -0
  141. package/dist/stzh-components/{p-6adc5f0c.system.entry.js → p-95bfbf67.system.entry.js} +1 -1
  142. package/dist/stzh-components/{p-c9c7d88a.entry.js → p-a47e205f.entry.js} +1 -1
  143. package/dist/stzh-components/p-aa2c81e6.system.entry.js +3 -0
  144. package/dist/stzh-components/{p-89bd0d46.entry.js → p-aa4f87cc.entry.js} +1 -1
  145. package/dist/stzh-components/p-af9aac53.entry.js +3 -0
  146. package/dist/stzh-components/{p-24b8df26.js → p-b10682ee.js} +1 -1
  147. package/dist/stzh-components/p-b9b1b7cf.entry.js +1 -0
  148. package/dist/stzh-components/p-c9940c35.entry.js +1 -0
  149. package/dist/stzh-components/{p-7e4261ce.system.entry.js → p-d5514e5b.system.entry.js} +1 -1
  150. package/dist/stzh-components/{p-a32ae73a.system.entry.js → p-d5948025.system.entry.js} +1 -1
  151. package/dist/stzh-components/{p-2b67b0b3.system.entry.js → p-d95b44c6.system.entry.js} +1 -1
  152. package/dist/stzh-components/p-ddcec4e1.system.entry.js +1 -0
  153. package/dist/stzh-components/{p-444b2baf.entry.js → p-e085a0a0.entry.js} +1 -1
  154. package/dist/stzh-components/{p-d943e02c.system.entry.js → p-e09ac5e3.system.entry.js} +1 -1
  155. package/dist/stzh-components/p-e4aa12ba.system.entry.js +1 -0
  156. package/dist/stzh-components/{p-af67ea5e.entry.js → p-f4c0d928.entry.js} +1 -1
  157. package/dist/stzh-components/p-f725921a.entry.js +1 -0
  158. package/dist/stzh-components/stzh-components.css +1 -1
  159. package/dist/stzh-components/stzh-components.esm.js +1 -1
  160. package/dist/stzh-components/stzh-components.js +1 -1
  161. package/dist/types/components.d.ts +33 -1
  162. package/dist/types/utils/translation-utils.d.ts +2 -0
  163. package/dist/vscode-data.json +16 -16
  164. package/package.json +4 -4
  165. package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +0 -1
  166. package/dist/esm-es5/app-globals-b848652e.js +0 -1
  167. package/dist/stzh-components/p-16c0b9ae.entry.js +0 -3
  168. package/dist/stzh-components/p-1d435dd8.system.entry.js +0 -1
  169. package/dist/stzh-components/p-1f74846f.entry.js +0 -1
  170. package/dist/stzh-components/p-29e9ad9f.system.entry.js +0 -1
  171. package/dist/stzh-components/p-30a9de85.system.entry.js +0 -1
  172. package/dist/stzh-components/p-4c60da30.entry.js +0 -1
  173. package/dist/stzh-components/p-532b4218.entry.js +0 -1
  174. package/dist/stzh-components/p-798ac79c.entry.js +0 -1
  175. package/dist/stzh-components/p-84a6e023.system.entry.js +0 -1
  176. package/dist/stzh-components/p-8caafed2.system.entry.js +0 -1
  177. package/dist/stzh-components/p-94662bed.system.js +0 -1
  178. package/dist/stzh-components/p-99b82949.entry.js +0 -1
  179. package/dist/stzh-components/p-9c90535a.system.js +0 -1
  180. package/dist/stzh-components/p-9de8b25b.entry.js +0 -1
  181. package/dist/stzh-components/p-a691fe87.js +0 -1
  182. package/dist/stzh-components/p-a6d4a8b1.js +0 -1
  183. package/dist/stzh-components/p-b04a9d0f.system.entry.js +0 -1
  184. package/dist/stzh-components/p-b422041d.entry.js +0 -1
  185. package/dist/stzh-components/p-cc722b35.system.entry.js +0 -3
  186. package/dist/stzh-components/p-db306e24.entry.js +0 -1
  187. package/dist/stzh-components/p-ee4b939a.entry.js +0 -1
@@ -108,6 +108,7 @@
108
108
  :host ::slotted(stzh-input),
109
109
  :host ::slotted(stzh-datepicker),
110
110
  :host ::slotted(stzh-dropdown),
111
+ :host ::slotted(stzh-langnav),
111
112
  :host ::slotted(stzh-fieldset),
112
113
  :host ::slotted(stzh-actions),
113
114
  :host ::slotted(stzh-upload),
@@ -181,6 +182,7 @@
181
182
  }
182
183
  :host ::slotted(p),
183
184
  :host ::slotted(stzh-text),
185
+ :host ::slotted(stzh-contact),
184
186
  :host ::slotted(ul),
185
187
  :host ::slotted(ol),
186
188
  :host ::slotted(dl),
@@ -191,6 +193,7 @@
191
193
  @media screen and (min-width: 1024px) {
192
194
  :host ::slotted(p),
193
195
  :host ::slotted(stzh-text),
196
+ :host ::slotted(stzh-contact),
194
197
  :host ::slotted(ul),
195
198
  :host ::slotted(ol),
196
199
  :host ::slotted(dl),
@@ -201,6 +204,7 @@
201
204
  @media screen and (min-width: 1260px) {
202
205
  :host ::slotted(p),
203
206
  :host ::slotted(stzh-text),
207
+ :host ::slotted(stzh-contact),
204
208
  :host ::slotted(ul),
205
209
  :host ::slotted(ol),
206
210
  :host ::slotted(dl),
@@ -211,6 +215,7 @@
211
215
  @media screen and (min-width: 1024px) {
212
216
  :host ::slotted(p),
213
217
  :host ::slotted(stzh-text),
218
+ :host ::slotted(stzh-contact),
214
219
  :host ::slotted(ul),
215
220
  :host ::slotted(ol),
216
221
  :host ::slotted(dl),
@@ -221,6 +226,7 @@
221
226
  @media screen and (min-width: 1260px) {
222
227
  :host ::slotted(p),
223
228
  :host ::slotted(stzh-text),
229
+ :host ::slotted(stzh-contact),
224
230
  :host ::slotted(ul),
225
231
  :host ::slotted(ol),
226
232
  :host ::slotted(dl),
@@ -351,8 +357,14 @@
351
357
  }
352
358
  :host ::slotted(*) .section,
353
359
  :host ::slotted(.section),
360
+ :host ::slotted(stzh-anchornav),
361
+ :host ::slotted(stzh-audio),
362
+ :host ::slotted(stzh-microsite-teaserlist),
363
+ :host ::slotted(stzh-olmap),
364
+ :host ::slotted(stzh-textandimage),
354
365
  :host ::slotted(stzh-figure),
355
366
  :host ::slotted(stzh-chart),
367
+ :host ::slotted(stzh-sitemap),
356
368
  :host ::slotted(stzh-datalist),
357
369
  :host ::slotted(stzh-richtext),
358
370
  :host ::slotted(stzh-progressbar),
@@ -364,8 +376,14 @@
364
376
  @media screen and (min-width: 1024px) {
365
377
  :host ::slotted(*) .section,
366
378
  :host ::slotted(.section),
379
+ :host ::slotted(stzh-anchornav),
380
+ :host ::slotted(stzh-audio),
381
+ :host ::slotted(stzh-microsite-teaserlist),
382
+ :host ::slotted(stzh-olmap),
383
+ :host ::slotted(stzh-textandimage),
367
384
  :host ::slotted(stzh-figure),
368
385
  :host ::slotted(stzh-chart),
386
+ :host ::slotted(stzh-sitemap),
369
387
  :host ::slotted(stzh-datalist),
370
388
  :host ::slotted(stzh-richtext),
371
389
  :host ::slotted(stzh-progressbar),
@@ -377,8 +395,14 @@
377
395
  @media screen and (min-width: 1260px) {
378
396
  :host ::slotted(*) .section,
379
397
  :host ::slotted(.section),
398
+ :host ::slotted(stzh-anchornav),
399
+ :host ::slotted(stzh-audio),
400
+ :host ::slotted(stzh-microsite-teaserlist),
401
+ :host ::slotted(stzh-olmap),
402
+ :host ::slotted(stzh-textandimage),
380
403
  :host ::slotted(stzh-figure),
381
404
  :host ::slotted(stzh-chart),
405
+ :host ::slotted(stzh-sitemap),
382
406
  :host ::slotted(stzh-datalist),
383
407
  :host ::slotted(stzh-richtext),
384
408
  :host ::slotted(stzh-progressbar),
@@ -390,8 +414,14 @@
390
414
  @media screen and (min-width: 1024px) {
391
415
  :host ::slotted(*) .section,
392
416
  :host ::slotted(.section),
417
+ :host ::slotted(stzh-anchornav),
418
+ :host ::slotted(stzh-audio),
419
+ :host ::slotted(stzh-microsite-teaserlist),
420
+ :host ::slotted(stzh-olmap),
421
+ :host ::slotted(stzh-textandimage),
393
422
  :host ::slotted(stzh-figure),
394
423
  :host ::slotted(stzh-chart),
424
+ :host ::slotted(stzh-sitemap),
395
425
  :host ::slotted(stzh-datalist),
396
426
  :host ::slotted(stzh-richtext),
397
427
  :host ::slotted(stzh-progressbar),
@@ -403,8 +433,14 @@
403
433
  @media screen and (min-width: 1260px) {
404
434
  :host ::slotted(*) .section,
405
435
  :host ::slotted(.section),
436
+ :host ::slotted(stzh-anchornav),
437
+ :host ::slotted(stzh-audio),
438
+ :host ::slotted(stzh-microsite-teaserlist),
439
+ :host ::slotted(stzh-olmap),
440
+ :host ::slotted(stzh-textandimage),
406
441
  :host ::slotted(stzh-figure),
407
442
  :host ::slotted(stzh-chart),
443
+ :host ::slotted(stzh-sitemap),
408
444
  :host ::slotted(stzh-datalist),
409
445
  :host ::slotted(stzh-richtext),
410
446
  :host ::slotted(stzh-progressbar),
@@ -126,6 +126,17 @@
126
126
  /* Vertical variant */
127
127
  /* Horizontal variant */
128
128
  }
129
+ .stzh-datalist-item__vhidden {
130
+ border: 0;
131
+ clip: rect(0 0 0 0);
132
+ -webkit-clip-path: inset(100%);
133
+ clip-path: inset(100%);
134
+ width: 0.0625rem;
135
+ height: 0.0625rem;
136
+ overflow: hidden;
137
+ padding: 0;
138
+ position: absolute;
139
+ }
129
140
  .stzh-datalist-item__wrapper {
130
141
  flex-grow: 1;
131
142
  display: flex;
@@ -1,4 +1,5 @@
1
1
  import { Host, h, Fragment } from "@stencil/core";
2
+ import { fetchTranslations } from "../../utils/translation-utils";
2
3
  /**
3
4
  * @slot - Slot for nested datalist
4
5
  */
@@ -16,6 +17,7 @@ export class StzhDatalistItem {
16
17
  this.handleHideBorderChange = (event) => {
17
18
  this.hideBorder = event.detail.value;
18
19
  };
20
+ this.localization = undefined;
19
21
  this.direction = "vertical";
20
22
  this.href = undefined;
21
23
  this.rel = undefined;
@@ -43,7 +45,7 @@ export class StzhDatalistItem {
43
45
  "is-button": isButton,
44
46
  "is-link": !!this.href
45
47
  }, href: this.href, rel: this.rel, target: this.target, download: this.download, "aria-label": `${this.label}, ${this.value}, ${this.meta}`, "aria-controls": this.a11yControls, "aria-expanded": typeof this.a11yExpanded !== "undefined"
46
- ? (this.a11yExpanded ? "true" : "false") : null }, this.value), h(Item, { "aria-hidden": "true", tabindex: "-1", class: {
48
+ ? (this.a11yExpanded ? "true" : "false") : null }, this.rel && this.rel.includes('external') && h("div", { class: "stzh-datalist-item__vhidden" }, this.localization.$globals.externalLinkLabel), this.download && h("div", { class: "stzh-datalist-item__vhidden" }, this.localization.$globals.downloadLinkLabel), this.value), h(Item, { "aria-hidden": "true", tabindex: "-1", class: {
47
49
  "stzh-datalist-item__meta": true,
48
50
  "is-button": isButton,
49
51
  "is-link": !!this.href
@@ -75,6 +77,11 @@ export class StzhDatalistItem {
75
77
  this.datalist = null;
76
78
  }
77
79
  }
80
+ async componentWillLoad() {
81
+ if (!this.localization) {
82
+ this.localization = await fetchTranslations(this.element, "datalist-item");
83
+ }
84
+ }
78
85
  render() {
79
86
  const isButton = typeof this.a11yExpanded !== "undefined"
80
87
  || typeof this.a11yControls !== "undefined";
@@ -120,6 +127,26 @@ export class StzhDatalistItem {
120
127
  }
121
128
  static get properties() {
122
129
  return {
130
+ "localization": {
131
+ "type": "unknown",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "StzhLocaleComponent",
135
+ "resolved": "{ $locale: \"de\" | \"en\"; $formats: StzhLocaleFormats; $globals: StzhLocaleGlobals; }",
136
+ "references": {
137
+ "StzhLocaleComponent": {
138
+ "location": "import",
139
+ "path": "../../utils/translation-utils"
140
+ }
141
+ }
142
+ },
143
+ "required": false,
144
+ "optional": false,
145
+ "docs": {
146
+ "tags": [],
147
+ "text": "Translation strings"
148
+ }
149
+ },
123
150
  "direction": {
124
151
  "type": "string",
125
152
  "mutable": false,
@@ -269,6 +269,11 @@
269
269
  margin-left: var(--stzh-space-xxlarge);
270
270
  }
271
271
  }
272
+ @media screen and (min-width: 1024px) {
273
+ .stzh-datamessagelist-item__tags-wrapper {
274
+ flex-shrink: 0;
275
+ }
276
+ }
272
277
  .stzh-datamessagelist-item__tags {
273
278
  display: flex;
274
279
  flex-wrap: wrap;
@@ -282,6 +287,11 @@
282
287
  .stzh-datamessagelist-item__tag {
283
288
  margin: var(--stzh-space-xxsmall);
284
289
  }
290
+ @media screen and (min-width: 1024px) {
291
+ .stzh-datamessagelist-item__tag {
292
+ flex-shrink: 0;
293
+ }
294
+ }
285
295
  .stzh-datamessagelist-item__actions {
286
296
  display: flex;
287
297
  flex-direction: column;
@@ -49,11 +49,11 @@ const TemplateButtonRight = (args) => (
49
49
  // we put this input inside another element
50
50
  // to test if autofocus works when the component
51
51
  // is used as a child of another stzh- component
52
- const TemplateAutofocus = (args) => (
53
- <stzh-section>
54
- <stzh-input {...args}></stzh-input>
55
- </stzh-section>
56
- )
52
+ // const TemplateAutofocus = (args) => (
53
+ // <stzh-section>
54
+ // <stzh-input {...args}></stzh-input>
55
+ // </stzh-section>
56
+ // )
57
57
 
58
58
  export const Default = Template.bind({});
59
59
  Default.args = {
@@ -107,10 +107,10 @@ ButtonRight.args = {
107
107
  value: 'Lorem ipsum dolor sit amet.'
108
108
  };
109
109
 
110
- export const Autofocus = TemplateAutofocus.bind({});
111
- Autofocus.args = {
112
- name: 'text',
113
- label: 'Label',
114
- description: 'This field should be focused on page load',
115
- autofocus: true
116
- }
110
+ // export const Autofocus = TemplateAutofocus.bind({});
111
+ // Autofocus.args = {
112
+ // name: 'text',
113
+ // label: 'Label',
114
+ // description: 'This field should be focused on page load',
115
+ // autofocus: true
116
+ // }
@@ -128,7 +128,7 @@
128
128
  --border: 0.0625rem solid var(--stzh-color-white);
129
129
  --remove-color: var(--stzh-color-white);
130
130
  --background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
131
- --counter-color: var(--stzh-color-white48);
131
+ --counter-color: var(--stzh-color-white56);
132
132
  --icon-color: var(--stzh-color-white);
133
133
  --hover-color: var(--stzh-color-white);
134
134
  --hover-border: 0.0625rem solid transparent;
@@ -177,6 +177,17 @@
177
177
  -webkit-text-decoration: var(--hover-text-decoration);
178
178
  text-decoration: var(--hover-text-decoration);
179
179
  }
180
+ .stzh-link__vhidden {
181
+ border: 0;
182
+ clip: rect(0 0 0 0);
183
+ -webkit-clip-path: inset(100%);
184
+ clip-path: inset(100%);
185
+ width: 0.0625rem;
186
+ height: 0.0625rem;
187
+ overflow: hidden;
188
+ padding: 0;
189
+ position: absolute;
190
+ }
180
191
  .stzh-link__inner {
181
192
  display: flex;
182
193
  align-items: center;
@@ -1,5 +1,6 @@
1
1
  import { Host, Fragment, h } from "@stencil/core";
2
2
  import { hasSlot } from "../../utils/utils";
3
+ import { fetchTranslations } from "../../utils/translation-utils";
3
4
  /**
4
5
  * @slot - Slot for text content
5
6
  * @slot icon - Slot for icon element
@@ -30,6 +31,7 @@ export class StzhLink {
30
31
  originalEvent: event
31
32
  });
32
33
  };
34
+ this.localization = undefined;
33
35
  this.icon = "";
34
36
  this.iconPosition = "left";
35
37
  this.size = "default";
@@ -67,12 +69,17 @@ export class StzhLink {
67
69
  h("stzh-badge", { class: "stzh-link__badge", label: this.badge, type: this.badgeType })));
68
70
  }
69
71
  renderContent() {
70
- return (h("div", { class: "stzh-link__text" }, this.label ? this.label : h("slot", null)));
72
+ return (h("div", { class: "stzh-link__text" }, this.rel && this.rel.includes('external') && h("div", { class: "stzh-link__vhidden" }, this.localization.$globals.externalLinkLabel), this.download && h("div", { class: "stzh-link__vhidden" }, this.localization.$globals.downloadLinkLabel), this.label ? this.label : h("slot", null)));
71
73
  }
72
74
  renderInner(iconUsed) {
73
75
  return (h(Fragment, null, h("div", { class: "stzh-link__inner" }, this.iconPosition === "left" && this.renderIcon(), this.renderContent(), this.iconPosition === "right" && this.renderIcon()), (this.badge || this.badgeEmpty) && !iconUsed &&
74
76
  h("stzh-badge", { class: "stzh-link__badge", label: this.badge, type: this.badgeType })));
75
77
  }
78
+ async componentWillLoad() {
79
+ if (!this.localization) {
80
+ this.localization = await fetchTranslations(this.element, "link");
81
+ }
82
+ }
76
83
  render() {
77
84
  const iconUsed = hasSlot(this.element, "icon") || !!this.icon;
78
85
  const classes = {
@@ -109,6 +116,26 @@ export class StzhLink {
109
116
  }
110
117
  static get properties() {
111
118
  return {
119
+ "localization": {
120
+ "type": "unknown",
121
+ "mutable": false,
122
+ "complexType": {
123
+ "original": "StzhLocaleComponent",
124
+ "resolved": "{ $locale: \"de\" | \"en\"; $formats: StzhLocaleFormats; $globals: StzhLocaleGlobals; }",
125
+ "references": {
126
+ "StzhLocaleComponent": {
127
+ "location": "import",
128
+ "path": "../../utils/translation-utils"
129
+ }
130
+ }
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": "Translation strings"
137
+ }
138
+ },
112
139
  "icon": {
113
140
  "type": "string",
114
141
  "mutable": false,
@@ -115,7 +115,7 @@
115
115
  --border: 0.0625rem solid var(--stzh-color-white);
116
116
  --remove-color: var(--stzh-color-white);
117
117
  --background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
118
- --counter-color: var(--stzh-color-white48);
118
+ --counter-color: var(--stzh-color-white56);
119
119
  --icon-color: var(--stzh-color-white);
120
120
  --hover-color: var(--stzh-color-white);
121
121
  --hover-border: 0.0625rem solid transparent;
@@ -152,6 +152,10 @@ the .has-focus class is used by the focus target */
152
152
  --stzh-color-zueriblue: #0F05A0;
153
153
 
154
154
  --stzh-color-zueriblue60op: #6F69C6;
155
+ --stzh-color-zueriblue88: rgba(15, 5, 160, 0.88);
156
+ --stzh-color-zueriblue72: rgba(15, 5, 160, 0.72);
157
+ --stzh-color-zueriblue64: rgba(15, 5, 160, 0.64);
158
+ --stzh-color-zueriblue56: rgba(15, 5, 160, 0.56);
155
159
  --stzh-color-zueriblue48: rgba(15, 5, 160, 0.48);
156
160
  --stzh-color-zueriblue32: rgba(15, 5, 160, 0.32);
157
161
  --stzh-color-zueriblue16: rgba(15, 5, 160, 0.16);
@@ -161,12 +165,20 @@ the .has-focus class is used by the focus target */
161
165
  --stzh-color-zueribluedark: #070250;
162
166
 
163
167
  --stzh-color-white: #FFFFFF;
168
+ --stzh-color-white88: rgba(255, 255, 255, 0.88);
169
+ --stzh-color-white72: rgba(255, 255, 255, 0.72);
170
+ --stzh-color-white64: rgba(255, 255, 255, 0.64);
171
+ --stzh-color-white56: rgba(255, 255, 255, 0.56);
164
172
  --stzh-color-white48: rgba(255, 255, 255, 0.48);
165
173
  --stzh-color-white32: rgba(255, 255, 255, 0.32);
166
174
  --stzh-color-white16: rgba(255, 255, 255, 0.16);
167
175
  --stzh-color-white8: rgba(255, 255, 255, 0.08);
168
176
 
169
177
  --stzh-color-black: #000000;
178
+ --stzh-color-black88: rgba(0, 0, 0, 0.88);
179
+ --stzh-color-black72: rgba(0, 0, 0, 0.72);
180
+ --stzh-color-black64: rgba(0, 0, 0, 0.64);
181
+ --stzh-color-black56: rgba(0, 0, 0, 0.56);
170
182
  --stzh-color-black48: rgba(0, 0, 0, 0.48);
171
183
  --stzh-color-black32: rgba(0, 0, 0, 0.32);
172
184
  --stzh-color-black16: rgba(0, 0, 0, 0.16);
@@ -219,6 +231,10 @@ the .has-focus class is used by the focus target */
219
231
  --stzh-color-primary-hover: var(--stzh-color-zueribluedark);
220
232
 
221
233
  --stzh-color-primary60op: var(--stzh-color-zueriblue60op);
234
+ --stzh-color-primary88: var(--stzh-color-zueriblue88);
235
+ --stzh-color-primary72: var(--stzh-color-zueriblue72);
236
+ --stzh-color-primary64: var(--stzh-color-zueriblue64);
237
+ --stzh-color-primary56: var(--stzh-color-zueriblue56);
222
238
  --stzh-color-primary48: var(--stzh-color-zueriblue48);
223
239
  --stzh-color-primary32: var(--stzh-color-zueriblue32);
224
240
  --stzh-color-primary16: var(--stzh-color-zueriblue16);
@@ -441,6 +457,10 @@ the .has-focus class is used by the focus target */
441
457
  --stzh-color-primary-hover: var(--stzh-color-mahogany);
442
458
 
443
459
  --stzh-color-primary60op: #CB7A73;
460
+ --stzh-color-primary88: rgba(165, 26, 15, 0.88);
461
+ --stzh-color-primary72: rgba(165, 26, 15, 0.72);
462
+ --stzh-color-primary64: rgba(165, 26, 15, 0.64);
463
+ --stzh-color-primary56: rgba(165, 26, 15, 0.56);
444
464
  --stzh-color-primary48: rgba(165, 26, 15, 0.48);
445
465
  --stzh-color-primary32: rgba(165, 26, 15, 0.32);
446
466
  --stzh-color-primary16: rgba(165, 26, 15, 0.16);
@@ -455,6 +475,10 @@ the .has-focus class is used by the focus target */
455
475
  --stzh-color-primary-hover: var(--stzh-color-regalblue);
456
476
 
457
477
  --stzh-color-primary60op: #7BB2CE;
478
+ --stzh-color-primary88: rgba(5, 127, 172, 0.88);
479
+ --stzh-color-primary72: rgba(5, 127, 172, 0.72);
480
+ --stzh-color-primary64: rgba(5, 127, 172, 0.64);
481
+ --stzh-color-primary56: rgba(5, 127, 172, 0.56);
458
482
  --stzh-color-primary48: rgba(5, 127, 172, 0.48);
459
483
  --stzh-color-primary32: rgba(5, 127, 172, 0.32);
460
484
  --stzh-color-primary16: rgba(5, 127, 172, 0.16);
@@ -472,6 +496,10 @@ the .has-focus class is used by the focus target */
472
496
  --stzh-color-primary-hover: var(--stzh-color-venetianred);
473
497
 
474
498
  --stzh-color-primary60op: #DF777E;
499
+ --stzh-color-primary88: rgba(195, 0, 36, 0.88);
500
+ --stzh-color-primary72: rgba(195, 0, 36, 0.72);
501
+ --stzh-color-primary64: rgba(195, 0, 36, 0.64);
502
+ --stzh-color-primary56: rgba(195, 0, 36, 0.56);
475
503
  --stzh-color-primary48: rgba(195, 0, 36, 0.48);
476
504
  --stzh-color-primary32: rgba(195, 0, 36, 0.32);
477
505
  --stzh-color-primary16: rgba(195, 0, 36, 0.16);
@@ -490,6 +518,10 @@ the .has-focus class is used by the focus target */
490
518
  --stzh-color-primary-hover: var(--stzh-color-chambray);
491
519
 
492
520
  --stzh-color-primary60op: #95C0DE;
521
+ --stzh-color-primary88: rgba(74, 150, 200, 0.88);
522
+ --stzh-color-primary72: rgba(74, 150, 200, 0.72);
523
+ --stzh-color-primary64: rgba(74, 150, 200, 0.64);
524
+ --stzh-color-primary56: rgba(74, 150, 200, 0.56);
493
525
  --stzh-color-primary48: rgba(74, 150, 200, 0.48);
494
526
  --stzh-color-primary32: rgba(74, 150, 200, 0.32);
495
527
  --stzh-color-primary16: rgba(74, 150, 200, 0.16);
@@ -516,6 +548,10 @@ the .has-focus class is used by the focus target */
516
548
  --stzh-color-primary-hover: var(--stzh-color-aoz-agenda-hover);
517
549
 
518
550
  --stzh-color-primary60op: #88BBB8;
551
+ --stzh-color-primary88: rgba(47, 142, 135, 0.88);
552
+ --stzh-color-primary72: rgba(47, 142, 135, 0.72);
553
+ --stzh-color-primary64: rgba(47, 142, 135, 0.64);
554
+ --stzh-color-primary56: rgba(47, 142, 135, 0.56);
519
555
  --stzh-color-primary48: rgba(47, 142, 135, 0.48);
520
556
  --stzh-color-primary32: rgba(47, 142, 135, 0.32);
521
557
  --stzh-color-primary16: rgba(47, 142, 135, 0.16);
@@ -528,6 +564,10 @@ the .has-focus class is used by the focus target */
528
564
  --stzh-color-primary-hover: var(--stzh-color-cool-grey60-hover);
529
565
 
530
566
  --stzh-color-primary60op: #9DAEB4;
567
+ --stzh-color-primary88: rgba(92, 119, 129, 0.88);
568
+ --stzh-color-primary72: rgba(92, 119, 129, 0.72);
569
+ --stzh-color-primary64: rgba(92, 119, 129, 0.64);
570
+ --stzh-color-primary56: rgba(92, 119, 129, 0.56);
531
571
  --stzh-color-primary48: rgba(92, 119, 129, 0.48);
532
572
  --stzh-color-primary32: rgba(92, 119, 129, 0.32);
533
573
  --stzh-color-primary16: rgba(92, 119, 129, 0.16);
@@ -540,6 +580,10 @@ the .has-focus class is used by the focus target */
540
580
  --stzh-color-primary-hover: var(--stzh-color-cobalt-blue60-hover);
541
581
 
542
582
  --stzh-color-primary60op: #7298EB;
583
+ --stzh-color-primary88: rgba(3, 83, 220, 0.88);
584
+ --stzh-color-primary72: rgba(3, 83, 220, 0.72);
585
+ --stzh-color-primary64: rgba(3, 83, 220, 0.64);
586
+ --stzh-color-primary56: rgba(3, 83, 220, 0.56);
543
587
  --stzh-color-primary48: rgba(3, 83, 220, 0.48);
544
588
  --stzh-color-primary32: rgba(3, 83, 220, 0.32);
545
589
  --stzh-color-primary16: rgba(3, 83, 220, 0.16);
@@ -552,6 +596,10 @@ the .has-focus class is used by the focus target */
552
596
  --stzh-color-primary-hover: var(--stzh-color-shamrock-green70-hover);
553
597
 
554
598
  --stzh-color-primary60op: #7AAC7C;
599
+ --stzh-color-primary88: rgba(6, 117, 30, 0.88);
600
+ --stzh-color-primary72: rgba(6, 117, 30, 0.72);
601
+ --stzh-color-primary64: rgba(6, 117, 30, 0.64);
602
+ --stzh-color-primary56: rgba(6, 117, 30, 0.56);
555
603
  --stzh-color-primary48: rgba(6, 117, 30, 0.48);
556
604
  --stzh-color-primary32: rgba(6, 117, 30, 0.32);
557
605
  --stzh-color-primary16: rgba(6, 117, 30, 0.16);
@@ -564,6 +612,10 @@ the .has-focus class is used by the focus target */
564
612
  --stzh-color-primary-hover: var(--stzh-color-lime-green80-hover);
565
613
 
566
614
  --stzh-color-primary60op: #8BA276;
615
+ --stzh-color-primary88: rgba(58, 100, 19, 0.88);
616
+ --stzh-color-primary72: rgba(58, 100, 19, 0.72);
617
+ --stzh-color-primary64: rgba(58, 100, 19, 0.64);
618
+ --stzh-color-primary56: rgba(58, 100, 19, 0.56);
567
619
  --stzh-color-primary48: rgba(58, 100, 19, 0.48);
568
620
  --stzh-color-primary32: rgba(58, 100, 19, 0.32);
569
621
  --stzh-color-primary16: rgba(58, 100, 19, 0.16);
@@ -576,6 +628,10 @@ the .has-focus class is used by the focus target */
576
628
  --stzh-color-primary-hover: var(--stzh-color-magenta70-hover);
577
629
 
578
630
  --stzh-color-primary60op: #C3719B;
631
+ --stzh-color-primary88: rgba(150, 0, 85, 0.88);
632
+ --stzh-color-primary72: rgba(150, 0, 85, 0.72);
633
+ --stzh-color-primary64: rgba(150, 0, 85, 0.64);
634
+ --stzh-color-primary56: rgba(150, 0, 85, 0.56);
579
635
  --stzh-color-primary48: rgba(150, 0, 85, 0.48);
580
636
  --stzh-color-primary32: rgba(150, 0, 85, 0.32);
581
637
  --stzh-color-primary16: rgba(150, 0, 85, 0.16);
@@ -588,6 +644,10 @@ the .has-focus class is used by the focus target */
588
644
  --stzh-color-primary-hover: var(--stzh-color-ocher70-hover);
589
645
 
590
646
  --stzh-color-primary60op: #C39D72;
647
+ --stzh-color-primary88: rgba(154, 91, 1, 0.88);
648
+ --stzh-color-primary72: rgba(154, 91, 1, 0.72);
649
+ --stzh-color-primary64: rgba(154, 91, 1, 0.64);
650
+ --stzh-color-primary56: rgba(154, 91, 1, 0.56);
591
651
  --stzh-color-primary48: rgba(154, 91, 1, 0.48);
592
652
  --stzh-color-primary32: rgba(154, 91, 1, 0.32);
593
653
  --stzh-color-primary16: rgba(154, 91, 1, 0.16);
@@ -600,6 +660,10 @@ the .has-focus class is used by the focus target */
600
660
  --stzh-color-primary-hover: var(--stzh-color-orange-hover);
601
661
 
602
662
  --stzh-color-primary60op: #F9B97D;
663
+ --stzh-color-primary88: rgba(242, 139, 0, 0.88);
664
+ --stzh-color-primary72: rgba(242, 139, 0, 0.72);
665
+ --stzh-color-primary64: rgba(242, 139, 0, 0.64);
666
+ --stzh-color-primary56: rgba(242, 139, 0, 0.56);
603
667
  --stzh-color-primary48: rgba(242, 139, 0, 0.48);
604
668
  --stzh-color-primary32: rgba(242, 139, 0, 0.32);
605
669
  --stzh-color-primary16: rgba(242, 139, 0, 0.16);
@@ -612,6 +676,10 @@ the .has-focus class is used by the focus target */
612
676
  --stzh-color-primary-hover: var(--stzh-color-orange70-hover);
613
677
 
614
678
  --stzh-color-primary60op: #D38B71;
679
+ --stzh-color-primary88: rgba(178, 58, 1, 0.88);
680
+ --stzh-color-primary72: rgba(178, 58, 1, 0.72);
681
+ --stzh-color-primary64: rgba(178, 58, 1, 0.64);
682
+ --stzh-color-primary56: rgba(178, 58, 1, 0.56);
615
683
  --stzh-color-primary48: rgba(178, 58, 1, 0.48);
616
684
  --stzh-color-primary32: rgba(178, 58, 1, 0.32);
617
685
  --stzh-color-primary16: rgba(178, 58, 1, 0.16);
@@ -624,6 +692,10 @@ the .has-focus class is used by the focus target */
624
692
  --stzh-color-primary-hover: var(--stzh-color-red-hover);
625
693
 
626
694
  --stzh-color-primary60op: #CC7B74;
695
+ --stzh-color-primary88: rgba(165, 26, 15, 0.88);
696
+ --stzh-color-primary72: rgba(165, 26, 15, 0.72);
697
+ --stzh-color-primary64: rgba(165, 26, 15, 0.64);
698
+ --stzh-color-primary56: rgba(165, 26, 15, 0.56);
627
699
  --stzh-color-primary48: rgba(165, 26, 15, 0.48);
628
700
  --stzh-color-primary32: rgba(165, 26, 15, 0.32);
629
701
  --stzh-color-primary16: rgba(165, 26, 15, 0.16);
@@ -636,6 +708,10 @@ the .has-focus class is used by the focus target */
636
708
  --stzh-color-primary-hover: var(--stzh-color-red60-hover);
637
709
 
638
710
  --stzh-color-primary60op: #ED7A78;
711
+ --stzh-color-primary88: rgba(220, 3, 14, 0.88);
712
+ --stzh-color-primary72: rgba(220, 3, 14, 0.72);
713
+ --stzh-color-primary64: rgba(220, 3, 14, 0.64);
714
+ --stzh-color-primary56: rgba(220, 3, 14, 0.56);
639
715
  --stzh-color-primary48: rgba(220, 3, 14, 0.48);
640
716
  --stzh-color-primary32: rgba(220, 3, 14, 0.32);
641
717
  --stzh-color-primary16: rgba(220, 3, 14, 0.16);
@@ -648,6 +724,10 @@ the .has-focus class is used by the focus target */
648
724
  --stzh-color-primary-hover: var(--stzh-color-violet70-hover);
649
725
 
650
726
  --stzh-color-primary60op: #977CB4;
727
+ --stzh-color-primary88: rgba(81, 35, 128, 0.88);
728
+ --stzh-color-primary72: rgba(81, 35, 128, 0.72);
729
+ --stzh-color-primary64: rgba(81, 35, 128, 0.64);
730
+ --stzh-color-primary56: rgba(81, 35, 128, 0.56);
651
731
  --stzh-color-primary48: rgba(81, 35, 128, 0.48);
652
732
  --stzh-color-primary32: rgba(81, 35, 128, 0.32);
653
733
  --stzh-color-primary16: rgba(81, 35, 128, 0.16);
@@ -660,6 +740,10 @@ the .has-focus class is used by the focus target */
660
740
  --stzh-color-primary-hover: var(--stzh-color-winered-hover);
661
741
 
662
742
  --stzh-color-primary60op: #BB7380;
743
+ --stzh-color-primary88: rgba(137, 7, 42, 0.88);
744
+ --stzh-color-primary72: rgba(137, 7, 42, 0.72);
745
+ --stzh-color-primary64: rgba(137, 7, 42, 0.64);
746
+ --stzh-color-primary56: rgba(137, 7, 42, 0.56);
663
747
  --stzh-color-primary48: rgba(137, 7, 42, 0.48);
664
748
  --stzh-color-primary32: rgba(137, 7, 42, 0.32);
665
749
  --stzh-color-primary16: rgba(137, 7, 42, 0.16);
@@ -1468,17 +1552,28 @@ main a {
1468
1552
  main a:hover, main a:focus {
1469
1553
  color: var(--stzh-link-hover-color);
1470
1554
  }
1471
- main a .stzh-richtext__external-link {
1555
+ main .stzh-richtext__external-link {
1472
1556
  position: relative;
1473
1557
  }
1474
- main a .stzh-richtext__external-icon-wrapper {
1558
+ main .stzh-richtext__external-vhidden {
1559
+ border: 0;
1560
+ clip: rect(0 0 0 0);
1561
+ -webkit-clip-path: inset(100%);
1562
+ clip-path: inset(100%);
1563
+ width: 0.0625rem;
1564
+ height: 0.0625rem;
1565
+ overflow: hidden;
1566
+ padding: 0;
1567
+ position: absolute;
1568
+ }
1569
+ main .stzh-richtext__external-icon-wrapper {
1475
1570
  position: relative;
1476
1571
  display: inline-block;
1477
1572
  width: var(--stzh-icon-size-default);
1478
1573
  height: var(--stzh-link-icon-wrapper-height);
1479
1574
  margin-left: var(--stzh-space-xxsmall);
1480
1575
  }
1481
- main a .stzh-richtext__external-icon {
1576
+ main .stzh-richtext__external-icon {
1482
1577
  --icon: var(--stzh-icon-size-default);
1483
1578
  position: absolute;
1484
1579
  top: 50%;
@@ -3411,17 +3506,28 @@ main .ql-editor a {
3411
3506
  main .ql-editor a:hover, main .ql-editor a:focus {
3412
3507
  color: var(--stzh-link-hover-color);
3413
3508
  }
3414
- main .ql-editor a .stzh-richtext__external-link {
3509
+ main .ql-editor .stzh-richtext__external-link {
3415
3510
  position: relative;
3416
3511
  }
3417
- main .ql-editor a .stzh-richtext__external-icon-wrapper {
3512
+ main .ql-editor .stzh-richtext__external-vhidden {
3513
+ border: 0;
3514
+ clip: rect(0 0 0 0);
3515
+ -webkit-clip-path: inset(100%);
3516
+ clip-path: inset(100%);
3517
+ width: 0.0625rem;
3518
+ height: 0.0625rem;
3519
+ overflow: hidden;
3520
+ padding: 0;
3521
+ position: absolute;
3522
+ }
3523
+ main .ql-editor .stzh-richtext__external-icon-wrapper {
3418
3524
  position: relative;
3419
3525
  display: inline-block;
3420
3526
  width: var(--stzh-icon-size-default);
3421
3527
  height: var(--stzh-link-icon-wrapper-height);
3422
3528
  margin-left: var(--stzh-space-xxsmall);
3423
3529
  }
3424
- main .ql-editor a .stzh-richtext__external-icon {
3530
+ main .ql-editor .stzh-richtext__external-icon {
3425
3531
  --icon: var(--stzh-icon-size-default);
3426
3532
  position: absolute;
3427
3533
  top: 50%;
@@ -821,17 +821,28 @@
821
821
  :host ::slotted(*) a:hover, :host ::slotted(*) a:focus {
822
822
  color: var(--stzh-link-hover-color);
823
823
  }
824
- :host ::slotted(*) a .stzh-richtext__external-link {
824
+ :host ::slotted(*) .stzh-richtext__external-link {
825
825
  position: relative;
826
826
  }
827
- :host ::slotted(*) a .stzh-richtext__external-icon-wrapper {
827
+ :host ::slotted(*) .stzh-richtext__external-vhidden {
828
+ border: 0;
829
+ clip: rect(0 0 0 0);
830
+ -webkit-clip-path: inset(100%);
831
+ clip-path: inset(100%);
832
+ width: 0.0625rem;
833
+ height: 0.0625rem;
834
+ overflow: hidden;
835
+ padding: 0;
836
+ position: absolute;
837
+ }
838
+ :host ::slotted(*) .stzh-richtext__external-icon-wrapper {
828
839
  position: relative;
829
840
  display: inline-block;
830
841
  width: var(--stzh-icon-size-default);
831
842
  height: var(--stzh-link-icon-wrapper-height);
832
843
  margin-left: var(--stzh-space-xxsmall);
833
844
  }
834
- :host ::slotted(*) a .stzh-richtext__external-icon {
845
+ :host ::slotted(*) .stzh-richtext__external-icon {
835
846
  --icon: var(--stzh-icon-size-default);
836
847
  position: absolute;
837
848
  top: 50%;