@dso-toolkit/core 45.0.1 → 45.1.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 (175) hide show
  1. package/dist/cjs/dso-accordion-section.cjs.entry.js +110 -0
  2. package/dist/cjs/dso-accordion.cjs.entry.js +297 -0
  3. package/dist/cjs/dso-alert.cjs.entry.js +3 -3
  4. package/dist/cjs/dso-attachments-counter.cjs.entry.js +3 -3
  5. package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
  6. package/dist/cjs/dso-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  8. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  9. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  10. package/dist/cjs/dso-header.cjs.entry.js +6 -6
  11. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +59 -3
  12. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  13. package/dist/cjs/dso-icon.cjs.entry.js +2 -2
  14. package/dist/cjs/dso-image-overlay.cjs.entry.js +11 -5
  15. package/dist/cjs/dso-info-button.cjs.entry.js +4 -3
  16. package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
  17. package/dist/cjs/dso-label.cjs.entry.js +1 -1
  18. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  19. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  20. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  21. package/dist/cjs/dso-ozon-content.cjs.entry.js +44 -9
  22. package/dist/cjs/dso-pagination.cjs.entry.js +98 -6
  23. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  25. package/dist/cjs/dso-responsive-element.cjs.entry.js +6 -1
  26. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  27. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  28. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  29. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  30. package/dist/cjs/dso-viewer-grid.cjs.entry.js +11 -5
  31. package/dist/cjs/{focus-trap.esm-a85643b0.js → focus-trap.esm-e2addb10.js} +28 -11
  32. package/dist/cjs/{index-0a7c679a.js → index-4066351a.js} +7 -0
  33. package/dist/cjs/{index.esm-3520a2a6.js → index.esm-50325ea2.js} +110 -12
  34. package/dist/cjs/loader.cjs.js +2 -2
  35. package/dist/collection/collection-manifest.json +2 -0
  36. package/dist/collection/components/accordion/accordion.css +9 -0
  37. package/dist/collection/components/accordion/accordion.interfaces.js +1 -0
  38. package/dist/collection/components/accordion/accordion.js +260 -0
  39. package/dist/collection/components/accordion/accordion.template.js +26 -0
  40. package/dist/collection/components/accordion/components/accordion-section.css +221 -0
  41. package/dist/collection/components/accordion/components/accordion-section.js +292 -0
  42. package/dist/collection/components/alert/alert.css +4 -41
  43. package/dist/collection/components/alert/alert.js +1 -0
  44. package/dist/collection/components/attachments-counter/attachments-counter.css +0 -12
  45. package/dist/collection/components/attachments-counter/attachments-counter.js +2 -1
  46. package/dist/collection/components/banner/banner.css +0 -4
  47. package/dist/collection/components/dropdown-menu/dropdown-menu.css +0 -7
  48. package/dist/collection/components/header/header.css +20 -379
  49. package/dist/collection/components/header/header.js +22 -24
  50. package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +3 -102
  51. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +71 -5
  52. package/dist/collection/components/highlight-box/highlight-box.css +0 -2
  53. package/dist/collection/components/image-overlay/image-overlay.css +37 -1134
  54. package/dist/collection/components/image-overlay/image-overlay.js +13 -3
  55. package/dist/collection/components/image-overlay/image-overlay.template.js +9 -1
  56. package/dist/collection/components/info/info.css +19 -1070
  57. package/dist/collection/components/info/info.js +1 -0
  58. package/dist/collection/components/info-button/info-button.css +8 -17
  59. package/dist/collection/components/info-button/info-button.js +9 -3
  60. package/dist/collection/components/map-controls/map-controls.css +20 -1172
  61. package/dist/collection/components/ozon-content/nodes/figuur.node.js +41 -6
  62. package/dist/collection/components/ozon-content/ozon-content.css +22 -41
  63. package/dist/collection/components/pagination/pagination.css +1 -0
  64. package/dist/collection/components/pagination/pagination.js +121 -13
  65. package/dist/collection/components/responsive-element/responsive-element.interfaces.js +1 -0
  66. package/dist/collection/components/responsive-element/responsive-element.js +48 -1
  67. package/dist/collection/components/responsive-element/responsive-element.template.js +4 -2
  68. package/dist/collection/components/toggletip/toggletip.css +4 -0
  69. package/dist/collection/components/viewer-grid/viewer-grid.css +34 -1220
  70. package/dist/collection/components/viewer-grid/viewer-grid.js +12 -1
  71. package/dist/custom-elements/index.d.ts +12 -0
  72. package/dist/custom-elements/index.js +1933 -1219
  73. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  74. package/dist/dso-toolkit/p-02b2e01c.entry.js +1 -0
  75. package/dist/dso-toolkit/{p-d780f9ff.entry.js → p-05a9e206.entry.js} +1 -1
  76. package/dist/dso-toolkit/p-22c35db5.js +5 -0
  77. package/dist/dso-toolkit/{p-361528b4.entry.js → p-2e74485e.entry.js} +1 -1
  78. package/dist/dso-toolkit/p-2f6b1092.entry.js +1 -0
  79. package/dist/dso-toolkit/{p-bf4d6f63.entry.js → p-3381c859.entry.js} +1 -1
  80. package/dist/dso-toolkit/{p-3799366e.entry.js → p-37a34037.entry.js} +1 -1
  81. package/dist/dso-toolkit/p-42450cfe.js +1 -0
  82. package/dist/dso-toolkit/p-4c44d27c.entry.js +1 -0
  83. package/dist/dso-toolkit/{p-91b6a181.entry.js → p-4fd140e9.entry.js} +1 -1
  84. package/dist/dso-toolkit/p-53c7bf4f.entry.js +1 -0
  85. package/dist/dso-toolkit/{p-d60876c2.entry.js → p-67b11174.entry.js} +1 -1
  86. package/dist/dso-toolkit/{p-e4bcafc4.entry.js → p-6cac0292.entry.js} +1 -1
  87. package/dist/dso-toolkit/p-7213783b.entry.js +1 -0
  88. package/dist/dso-toolkit/p-73bbb9a6.entry.js +1 -0
  89. package/dist/dso-toolkit/{p-16635f4b.entry.js → p-8515d157.entry.js} +1 -1
  90. package/dist/dso-toolkit/{p-375a2523.entry.js → p-93b53eb7.entry.js} +1 -1
  91. package/dist/dso-toolkit/p-ac0c0eee.entry.js +1 -0
  92. package/dist/dso-toolkit/p-b1a75b67.entry.js +1 -0
  93. package/dist/dso-toolkit/p-b6afe104.entry.js +1 -0
  94. package/dist/dso-toolkit/{p-590cbab6.entry.js → p-b9531adb.entry.js} +1 -1
  95. package/dist/dso-toolkit/p-c339891f.entry.js +1 -0
  96. package/dist/dso-toolkit/{p-6bc71e48.entry.js → p-d2255268.entry.js} +1 -1
  97. package/dist/dso-toolkit/p-d6192ab8.entry.js +1 -0
  98. package/dist/dso-toolkit/p-de50f5f1.entry.js +1 -0
  99. package/dist/dso-toolkit/p-e16b5d71.entry.js +1 -0
  100. package/dist/dso-toolkit/p-e2e2106e.entry.js +1 -0
  101. package/dist/dso-toolkit/p-ea1d4c81.entry.js +1 -0
  102. package/dist/dso-toolkit/{p-25f8dbc6.entry.js → p-ec3b8800.entry.js} +1 -1
  103. package/dist/dso-toolkit/p-efd815dc.entry.js +1 -0
  104. package/dist/dso-toolkit/p-f42d8240.entry.js +1 -0
  105. package/dist/dso-toolkit/p-f8b023c4.js +5 -0
  106. package/dist/esm/dso-accordion-section.entry.js +106 -0
  107. package/dist/esm/dso-accordion.entry.js +293 -0
  108. package/dist/esm/dso-alert.entry.js +3 -3
  109. package/dist/esm/dso-attachments-counter.entry.js +3 -3
  110. package/dist/esm/dso-autosuggest.entry.js +1 -1
  111. package/dist/esm/dso-badge.entry.js +1 -1
  112. package/dist/esm/dso-banner.entry.js +2 -2
  113. package/dist/esm/dso-date-picker.entry.js +1 -1
  114. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  115. package/dist/esm/dso-header.entry.js +6 -6
  116. package/dist/esm/dso-helpcenter-panel.entry.js +59 -3
  117. package/dist/esm/dso-highlight-box.entry.js +2 -2
  118. package/dist/esm/dso-icon.entry.js +2 -2
  119. package/dist/esm/dso-image-overlay.entry.js +11 -5
  120. package/dist/esm/dso-info-button.entry.js +4 -3
  121. package/dist/esm/dso-info_2.entry.js +3 -3
  122. package/dist/esm/dso-label.entry.js +1 -1
  123. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  124. package/dist/esm/dso-map-controls.entry.js +2 -2
  125. package/dist/esm/dso-map-overlays.entry.js +1 -1
  126. package/dist/esm/dso-ozon-content.entry.js +44 -9
  127. package/dist/esm/dso-pagination.entry.js +98 -6
  128. package/dist/esm/dso-progress-bar.entry.js +1 -1
  129. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  130. package/dist/esm/dso-responsive-element.entry.js +6 -1
  131. package/dist/esm/dso-toggletip.entry.js +2 -2
  132. package/dist/esm/dso-toolkit.js +2 -2
  133. package/dist/esm/dso-tooltip.entry.js +1 -1
  134. package/dist/esm/dso-tree-view.entry.js +1 -1
  135. package/dist/esm/dso-viewer-grid.entry.js +11 -5
  136. package/dist/esm/{focus-trap.esm-a01ad6c9.js → focus-trap.esm-e3b5bde3.js} +28 -11
  137. package/dist/esm/{index-1602fde1.js → index-771c1291.js} +7 -1
  138. package/dist/esm/{index.esm-45465af7.js → index.esm-4510c39e.js} +110 -12
  139. package/dist/esm/loader.js +2 -2
  140. package/dist/types/components/accordion/accordion.d.ts +32 -0
  141. package/dist/types/components/accordion/accordion.interfaces.d.ts +20 -0
  142. package/dist/types/components/accordion/accordion.template.d.ts +2 -0
  143. package/dist/types/components/accordion/components/accordion-section.d.ts +25 -0
  144. package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +11 -0
  145. package/dist/types/components/image-overlay/image-overlay.d.ts +3 -0
  146. package/dist/types/components/info-button/info-button.d.ts +1 -0
  147. package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +4 -1
  148. package/dist/types/components/pagination/pagination.d.ts +15 -0
  149. package/dist/types/components/responsive-element/responsive-element.d.ts +5 -2
  150. package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +5 -0
  151. package/dist/types/components/responsive-element/responsive-element.template.d.ts +1 -1
  152. package/dist/types/components.d.ts +99 -0
  153. package/package.json +4 -3
  154. package/readme.md +0 -7
  155. package/dist/collection/icon/dso-icon-sass-function.js +0 -42
  156. package/dist/dso-toolkit/dso-toolkit.css +0 -1
  157. package/dist/dso-toolkit/p-02272301.entry.js +0 -1
  158. package/dist/dso-toolkit/p-10a6db1a.entry.js +0 -1
  159. package/dist/dso-toolkit/p-131d54e3.js +0 -5
  160. package/dist/dso-toolkit/p-1450f113.entry.js +0 -1
  161. package/dist/dso-toolkit/p-15d0f2eb.entry.js +0 -1
  162. package/dist/dso-toolkit/p-3b5f957e.entry.js +0 -1
  163. package/dist/dso-toolkit/p-49938275.entry.js +0 -1
  164. package/dist/dso-toolkit/p-5a56d726.entry.js +0 -1
  165. package/dist/dso-toolkit/p-5e5fbd41.js +0 -5
  166. package/dist/dso-toolkit/p-68d49733.entry.js +0 -1
  167. package/dist/dso-toolkit/p-7b716383.entry.js +0 -1
  168. package/dist/dso-toolkit/p-b95bc2c7.entry.js +0 -1
  169. package/dist/dso-toolkit/p-c1070a58.entry.js +0 -1
  170. package/dist/dso-toolkit/p-c62606a3.js +0 -1
  171. package/dist/dso-toolkit/p-e7888d49.entry.js +0 -1
  172. package/dist/dso-toolkit/p-eb17d45e.entry.js +0 -1
  173. package/dist/dso-toolkit/p-f726111e.entry.js +0 -1
  174. package/dist/dso-toolkit/p-fd8a8509.entry.js +0 -1
  175. package/dist/types/icon/dso-icon-sass-function.d.ts +0 -4
@@ -1,7 +1,5 @@
1
1
  :host {
2
2
  display: block;
3
- --di-times: url("data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e");
4
- --di-times-wit: url("data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e");
5
3
  }
6
4
 
7
5
  .sr-only {
@@ -35,15 +33,6 @@
35
33
  }
36
34
 
37
35
  .open-button {
38
- display: inline-block;
39
- font-size: 1em;
40
- font-weight: 500;
41
- margin-bottom: 0;
42
- text-decoration: none;
43
- touch-action: manipulation;
44
- text-align: left;
45
- user-select: none;
46
- vertical-align: middle;
47
36
  display: inline-block;
48
37
  font-size: 1em;
49
38
  font-weight: 500;
@@ -75,28 +64,6 @@
75
64
  .open-button:active {
76
65
  outline: 0;
77
66
  }
78
- .open-button.extern::after, .open-button.download::after {
79
- content: "";
80
- display: inline-block;
81
- height: 1.5em;
82
- margin-left: 8px;
83
- vertical-align: top;
84
- width: 1.5em;
85
- }
86
- .open-button:focus, .open-button:focus-visible {
87
- outline-offset: 2px;
88
- }
89
- .open-button:active {
90
- outline: 0;
91
- }
92
- .open-button.extern::after, .open-button.download::after {
93
- content: "";
94
- display: inline-block;
95
- height: 1.5em;
96
- margin-left: 8px;
97
- vertical-align: top;
98
- width: 1.5em;
99
- }
100
67
  .open-button:hover {
101
68
  background-color: #275937;
102
69
  border-color: #275937;
@@ -128,22 +95,6 @@
128
95
  height: 16px;
129
96
  width: 16px;
130
97
  }
131
- .open-button.download::after {
132
- background: var(--dso-icon, var(--di-download-wit)) no-repeat;
133
- background-position: center;
134
- background-size: cover;
135
- height: 24px;
136
- vertical-align: top;
137
- width: 24px;
138
- }
139
- .open-button.extern::after {
140
- background: var(--dso-icon, var(--di-external-link-wit)) no-repeat;
141
- background-position: center;
142
- background-size: cover;
143
- height: 24px;
144
- vertical-align: top;
145
- width: 24px;
146
- }
147
98
  .open-button dso-icon,
148
99
  .open-button svg.di {
149
100
  margin-left: -8px;
@@ -222,14 +173,6 @@
222
173
  .close-button:active {
223
174
  outline: 0;
224
175
  }
225
- .close-button.extern::after, .close-button.download::after {
226
- content: "";
227
- display: inline-block;
228
- height: 1.5em;
229
- margin-left: 8px;
230
- vertical-align: top;
231
- width: 1.5em;
232
- }
233
176
  .close-button:hover {
234
177
  background-color: #39870c;
235
178
  border-color: #39870c;
@@ -261,34 +204,6 @@
261
204
  height: 16px;
262
205
  width: 16px;
263
206
  }
264
- .close-button.download::after {
265
- background: var(--dso-icon, var(--di-download)) no-repeat;
266
- background-position: center;
267
- background-size: cover;
268
- height: 24px;
269
- vertical-align: top;
270
- width: 24px;
271
- }
272
- .close-button.download:hover::after {
273
- --dso-icon: var(--di-download-wit);
274
- }
275
- .close-button.download[disabled]::after {
276
- --dso-icon: var(--di-download-grasgroen-40);
277
- }
278
- .close-button.extern::after {
279
- background: var(--dso-icon, var(--di-external-link)) no-repeat;
280
- background-position: center;
281
- background-size: cover;
282
- height: 24px;
283
- vertical-align: top;
284
- width: 24px;
285
- }
286
- .close-button.extern:hover::after {
287
- --dso-icon: var(--di-external-link-wit);
288
- }
289
- .close-button.extern[disabled]::after {
290
- --dso-icon: var(--di-external-link-grasgroen-40);
291
- }
292
207
  .close-button dso-icon,
293
208
  .close-button svg.di {
294
209
  margin-left: -8px;
@@ -352,15 +267,9 @@
352
267
  height: 16px;
353
268
  width: 16px;
354
269
  }
355
- .close-button::before {
356
- background: var(--dso-icon, var(--di-times)) no-repeat;
357
- background-position: center;
358
- background-size: cover;
359
- height: 24px;
360
- vertical-align: top;
361
- width: 24px;
362
- content: "";
363
- display: inline-block;
270
+ .close-button dso-icon {
271
+ margin-left: 0;
272
+ margin-right: 0;
364
273
  position: absolute;
365
274
  left: 50%;
366
275
  top: 50%;
@@ -369,14 +278,6 @@
369
278
  .close-button:hover, .close-button:active, .close-button:focus {
370
279
  cursor: pointer;
371
280
  }
372
- .close-button:hover::before, .close-button:active::before, .close-button:focus::before {
373
- background: var(--dso-icon, var(--di-times-wit)) no-repeat;
374
- background-position: center;
375
- background-size: cover;
376
- height: 24px;
377
- vertical-align: top;
378
- width: 24px;
379
- }
380
281
  .close-button.close {
381
282
  display: none;
382
283
  }
@@ -1,7 +1,9 @@
1
- import { h, Component, Fragment, Prop, State } from "@stencil/core";
1
+ import { h, Component, Fragment, Prop, State, Watch, Listen } from "@stencil/core";
2
+ import { createFocusTrap } from 'focus-trap';
2
3
  const maxCssTransitionMilliseconds = 500;
3
4
  export class HelpcenterPanel {
4
5
  constructor() {
6
+ this.iframeLoaded = false;
5
7
  this.label = "Hulp nodig";
6
8
  this.visibility = "hidden";
7
9
  this.isOpen = "close";
@@ -27,15 +29,65 @@ export class HelpcenterPanel {
27
29
  }, maxCssTransitionMilliseconds);
28
30
  };
29
31
  }
32
+ watchUrl(url) {
33
+ if (this.isOpen === 'open' && this.iframeUrl !== url) {
34
+ this.iframeUrl = url;
35
+ }
36
+ }
37
+ watchIsOpen(isOpen) {
38
+ const body = document.querySelector('body');
39
+ if (isOpen === 'open') {
40
+ body === null || body === void 0 ? void 0 : body.style.setProperty('overflow', 'hidden');
41
+ if (this.iframeUrl !== this.url) {
42
+ this.iframeUrl = this.url;
43
+ }
44
+ }
45
+ else {
46
+ body === null || body === void 0 ? void 0 : body.style.removeProperty('overflow');
47
+ }
48
+ }
49
+ keyDownListener(event) {
50
+ if (event.key === 'Escape' && this.isOpen === 'open') {
51
+ this.closeClick();
52
+ }
53
+ }
54
+ createTrap() {
55
+ var _a, _b;
56
+ if (!this.panelWrapperElement) {
57
+ return;
58
+ }
59
+ this.trap = createFocusTrap(this.panelWrapperElement, {
60
+ allowOutsideClick: true,
61
+ tabbableOptions: {
62
+ getShadowRoot: true,
63
+ },
64
+ setReturnFocus: (_a = this.openButtonElement) !== null && _a !== void 0 ? _a : false,
65
+ initialFocus: (_b = this.closeButtonElement) !== null && _b !== void 0 ? _b : false,
66
+ }).activate();
67
+ }
68
+ componentDidRender() {
69
+ var _a;
70
+ if (this.isOpen === 'open' && this.iframeLoaded && !this.trap) {
71
+ this.createTrap();
72
+ }
73
+ else if (this.isOpen === 'close' && this.trap) {
74
+ (_a = this.trap) === null || _a === void 0 ? void 0 : _a.deactivate();
75
+ delete this.trap;
76
+ }
77
+ }
30
78
  render() {
31
79
  return (h(Fragment, null,
32
- h("button", { type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": "false", "aria-haspopup": "dialog" },
80
+ h("button", { type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": this.isOpen === 'open' ? 'true' : 'false', "aria-haspopup": "dialog", "aria-controls": "dso-panel-wrapper", ref: element => this.openButtonElement = element },
33
81
  h("dso-icon", { icon: "help" }),
34
82
  h("span", null, this.label)),
35
- h("div", { class: `wrapper ${this.visibility}` },
83
+ h("div", { id: "dso-panel-wrapper", class: `wrapper ${this.visibility}`, ref: element => this.panelWrapperElement = element },
36
84
  h("div", { class: "dimscreen", onClick: this.closeClick }),
37
- h("div", { class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? h("iframe", { src: this.url }) : h("div", null)),
38
- h("button", { type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": "true" },
85
+ h("div", { class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe
86
+ ?
87
+ h("iframe", { src: this.iframeUrl, tabindex: "0", onLoad: () => { this.createTrap(); this.iframeLoaded = true; } })
88
+ : h("div", null)),
89
+ h("button", { type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": this.isOpen === 'open' ? 'true' : 'false', "aria-controls": "dso-panel-wrapper", ref: element => this.closeButtonElement = element },
90
+ h("dso-icon", { icon: "times" }),
39
91
  h("span", { class: "sr-only" }, "sluiten")))));
40
92
  }
41
93
  static get is() { return "dso-helpcenter-panel"; }
@@ -89,4 +141,18 @@ export class HelpcenterPanel {
89
141
  "slideState": {},
90
142
  "loadIframe": {}
91
143
  }; }
144
+ static get watchers() { return [{
145
+ "propName": "url",
146
+ "methodName": "watchUrl"
147
+ }, {
148
+ "propName": "isOpen",
149
+ "methodName": "watchIsOpen"
150
+ }]; }
151
+ static get listeners() { return [{
152
+ "name": "keydown",
153
+ "method": "keyDownListener",
154
+ "target": "window",
155
+ "capture": false,
156
+ "passive": false
157
+ }]; }
92
158
  }
@@ -1,6 +1,4 @@
1
1
  :host {
2
- --di-external-link-grijs90: url("data:image/svg+xml,%3csvg id='external-link' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M19%2c6V9.69c0%2c.33-.2.41-.43.17L17.06%2c8.35l-3.35%2c3.36a1%2c1%2c0%2c0%2c1-1.42%2c0%2c1%2c1%2c0%2c0%2c1%2c0-1.42l3.36-3.35L14.14%2c5.43C13.9%2c5.19%2c14%2c5%2c14.31%2c5H19V6ZM18%2c17V13a1%2c1%2c0%2c0%2c0-2%2c0v4a1%2c1%2c0%2c0%2c1-1%2c1H7a1%2c1%2c0%2c0%2c1-1-1V9A1%2c1%2c0%2c0%2c1%2c7%2c8h4a1%2c1%2c0%2c0%2c0%2c0-2H7A3%2c3%2c0%2c0%2c0%2c4%2c9v8a3%2c3%2c0%2c0%2c0%2c3%2c3h8A3%2c3%2c0%2c0%2c0%2c18%2c17Z'/%3e %3c/svg%3e");
3
- --di-download-grijs90: url("data:image/svg+xml,%3csvg id='download' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M18.72%2c10.44%2c12%2c17l-6.7-6.52C4.8%2c10%2c5%2c9.63%2c5.63%2c9.63H8.5V1.82A.8.8%2c0%2c0%2c1%2c9.28%2c1h5.44a.8.8%2c0%2c0%2c1%2c.78.82V9.61h2.87C19%2c9.6%2c19.2%2c10%2c18.72%2c10.44ZM1%2c17v6H23V17Zm16%2c3a2%2c2%2c0%2c1%2c1-2-2A2%2c2%2c0%2c0%2c1%2c17%2c20Zm5%2c0a2%2c2%2c0%2c1%2c1-2-2A2%2c2%2c0%2c0%2c1%2c22%2c20Z'/%3e %3c/svg%3e");
4
2
  display: block;
5
3
  }
6
4