@operato/help 2.0.0-alpha.11 → 2.0.0-alpha.110

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,515 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0-alpha.110](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.109...v2.0.0-alpha.110) (2024-05-02)
7
+
8
+ **Note:** Version bump only for package @operato/help
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.109](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.108...v2.0.0-alpha.109) (2024-05-02)
15
+
16
+ **Note:** Version bump only for package @operato/help
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.108](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.107...v2.0.0-alpha.108) (2024-05-02)
23
+
24
+ **Note:** Version bump only for package @operato/help
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.0-alpha.107](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.106...v2.0.0-alpha.107) (2024-05-01)
31
+
32
+ **Note:** Version bump only for package @operato/help
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.0-alpha.106](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.105...v2.0.0-alpha.106) (2024-04-26)
39
+
40
+ **Note:** Version bump only for package @operato/help
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.0-alpha.105](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.104...v2.0.0-alpha.105) (2024-04-26)
47
+
48
+ **Note:** Version bump only for package @operato/help
49
+
50
+
51
+
52
+
53
+
54
+ ## [2.0.0-alpha.104](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.103...v2.0.0-alpha.104) (2024-04-26)
55
+
56
+ **Note:** Version bump only for package @operato/help
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.0.0-alpha.103](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.102...v2.0.0-alpha.103) (2024-04-26)
63
+
64
+ **Note:** Version bump only for package @operato/help
65
+
66
+
67
+
68
+
69
+
70
+ ## [2.0.0-alpha.102](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.101...v2.0.0-alpha.102) (2024-04-22)
71
+
72
+ **Note:** Version bump only for package @operato/help
73
+
74
+
75
+
76
+
77
+
78
+ ## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
79
+
80
+ **Note:** Version bump only for package @operato/help
81
+
82
+
83
+
84
+
85
+
86
+ ## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
87
+
88
+ **Note:** Version bump only for package @operato/help
89
+
90
+
91
+
92
+
93
+
94
+ ## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
95
+
96
+ **Note:** Version bump only for package @operato/help
97
+
98
+
99
+
100
+
101
+
102
+ ## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
103
+
104
+ **Note:** Version bump only for package @operato/help
105
+
106
+
107
+
108
+
109
+
110
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
111
+
112
+ **Note:** Version bump only for package @operato/help
113
+
114
+
115
+
116
+
117
+
118
+ ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
119
+
120
+ **Note:** Version bump only for package @operato/help
121
+
122
+
123
+
124
+
125
+
126
+ ## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
127
+
128
+ **Note:** Version bump only for package @operato/help
129
+
130
+
131
+
132
+
133
+
134
+ ## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
135
+
136
+ **Note:** Version bump only for package @operato/help
137
+
138
+
139
+
140
+
141
+
142
+ ## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
143
+
144
+ **Note:** Version bump only for package @operato/help
145
+
146
+
147
+
148
+
149
+
150
+ ## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
151
+
152
+ **Note:** Version bump only for package @operato/help
153
+
154
+
155
+
156
+
157
+
158
+ ## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
159
+
160
+ **Note:** Version bump only for package @operato/help
161
+
162
+
163
+
164
+
165
+
166
+ ## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
167
+
168
+ **Note:** Version bump only for package @operato/help
169
+
170
+
171
+
172
+
173
+
174
+ ## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
175
+
176
+ **Note:** Version bump only for package @operato/help
177
+
178
+
179
+
180
+
181
+
182
+ ## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
183
+
184
+ **Note:** Version bump only for package @operato/help
185
+
186
+
187
+
188
+
189
+
190
+ ## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
191
+
192
+ **Note:** Version bump only for package @operato/help
193
+
194
+
195
+
196
+
197
+
198
+ ## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
199
+
200
+ **Note:** Version bump only for package @operato/help
201
+
202
+
203
+
204
+
205
+
206
+ ## [2.0.0-alpha.77](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.76...v2.0.0-alpha.77) (2024-04-14)
207
+
208
+ **Note:** Version bump only for package @operato/help
209
+
210
+
211
+
212
+
213
+
214
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
215
+
216
+
217
+ ### :bug: Bug Fix
218
+
219
+ * help-panel style ([31aad28](https://github.com/hatiolab/operato/commit/31aad28dc730e8f2dbe4ec8a8318639175795a45))
220
+
221
+
222
+
223
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
224
+
225
+
226
+ ### :bug: Bug Fix
227
+
228
+ * mwc=>md for context ([972f5fd](https://github.com/hatiolab/operato/commit/972f5fd8da02820b6d6238cf1dd099591f97d8df))
229
+
230
+
231
+
232
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
233
+
234
+
235
+ ### :bug: Bug Fix
236
+
237
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
238
+
239
+
240
+
241
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
242
+
243
+ **Note:** Version bump only for package @operato/help
244
+
245
+
246
+
247
+
248
+
249
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
250
+
251
+ **Note:** Version bump only for package @operato/help
252
+
253
+
254
+
255
+
256
+
257
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
258
+
259
+ **Note:** Version bump only for package @operato/help
260
+
261
+
262
+
263
+
264
+
265
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
266
+
267
+ **Note:** Version bump only for package @operato/help
268
+
269
+
270
+
271
+
272
+
273
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
274
+
275
+ **Note:** Version bump only for package @operato/help
276
+
277
+
278
+
279
+
280
+
281
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
282
+
283
+ **Note:** Version bump only for package @operato/help
284
+
285
+
286
+
287
+
288
+
289
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
290
+
291
+ **Note:** Version bump only for package @operato/help
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+ **Note:** Version bump only for package @operato/help
300
+
301
+
302
+
303
+
304
+
305
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
306
+
307
+ **Note:** Version bump only for package @operato/help
308
+
309
+
310
+
311
+
312
+
313
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
314
+
315
+ **Note:** Version bump only for package @operato/help
316
+
317
+
318
+
319
+
320
+
321
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
322
+
323
+
324
+ ### :bug: Bug Fix
325
+
326
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
327
+
328
+
329
+
330
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
331
+
332
+ **Note:** Version bump only for package @operato/help
333
+
334
+
335
+
336
+
337
+
338
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
339
+
340
+ **Note:** Version bump only for package @operato/help
341
+
342
+
343
+
344
+
345
+
346
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
347
+
348
+ **Note:** Version bump only for package @operato/help
349
+
350
+
351
+
352
+
353
+
354
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
355
+
356
+ **Note:** Version bump only for package @operato/help
357
+
358
+
359
+
360
+
361
+
362
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
363
+
364
+ **Note:** Version bump only for package @operato/help
365
+
366
+
367
+
368
+
369
+
370
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
371
+
372
+ **Note:** Version bump only for package @operato/help
373
+
374
+
375
+
376
+
377
+
378
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
379
+
380
+ **Note:** Version bump only for package @operato/help
381
+
382
+
383
+
384
+
385
+
386
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
387
+
388
+ **Note:** Version bump only for package @operato/help
389
+
390
+
391
+
392
+
393
+
394
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
395
+
396
+ **Note:** Version bump only for package @operato/help
397
+
398
+
399
+
400
+
401
+
402
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
403
+
404
+ **Note:** Version bump only for package @operato/help
405
+
406
+
407
+
408
+
409
+
410
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
411
+
412
+ **Note:** Version bump only for package @operato/help
413
+
414
+
415
+
416
+
417
+
418
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
419
+
420
+ **Note:** Version bump only for package @operato/help
421
+
422
+
423
+
424
+
425
+
426
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
427
+
428
+
429
+ ### :bug: Bug Fix
430
+
431
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
432
+
433
+
434
+
435
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
436
+
437
+ **Note:** Version bump only for package @operato/help
438
+
439
+
440
+
441
+
442
+
443
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
444
+
445
+ **Note:** Version bump only for package @operato/help
446
+
447
+
448
+
449
+
450
+
451
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
452
+
453
+ **Note:** Version bump only for package @operato/help
454
+
455
+
456
+
457
+
458
+
459
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
460
+
461
+ **Note:** Version bump only for package @operato/help
462
+
463
+
464
+
465
+
466
+
467
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
468
+
469
+ **Note:** Version bump only for package @operato/help
470
+
471
+
472
+
473
+
474
+
475
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
476
+
477
+ **Note:** Version bump only for package @operato/help
478
+
479
+
480
+
481
+
482
+
483
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
484
+
485
+ **Note:** Version bump only for package @operato/help
486
+
487
+
488
+
489
+
490
+
491
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
492
+
493
+ **Note:** Version bump only for package @operato/help
494
+
495
+
496
+
497
+
498
+
499
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
500
+
501
+ **Note:** Version bump only for package @operato/help
502
+
503
+
504
+
505
+
506
+
507
+ ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
508
+
509
+ **Note:** Version bump only for package @operato/help
510
+
511
+
512
+
513
+
514
+
6
515
  ## [2.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-01-24)
7
516
 
8
517
  **Note:** Version bump only for package @operato/help
package/demo/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -16,7 +16,18 @@
16
16
  }
17
17
  </style>
18
18
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
19
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
19
+ <link
20
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
21
+ rel="stylesheet"
22
+ />
23
+ <link
24
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
25
+ rel="stylesheet"
26
+ />
27
+ <link
28
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
29
+ rel="stylesheet"
30
+ />
20
31
  </head>
21
32
  <body>
22
33
  <div id="demo"></div>
@@ -1,4 +1,4 @@
1
- import '@material/mwc-icon';
1
+ import '@material/web/icon/icon.js';
2
2
  import { LitElement } from 'lit';
3
3
  export declare class HelpIcon extends LitElement {
4
4
  static styles: import("lit").CSSResult;
@@ -6,5 +6,5 @@ export declare class HelpIcon extends LitElement {
6
6
  onclick: (e: Event) => void;
7
7
  onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
8
8
  onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
9
- render(): import("lit").TemplateResult<1>;
9
+ render(): import("lit-html").TemplateResult<1>;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
- import '@material/mwc-icon';
2
+ import '@material/web/icon/icon.js';
3
3
  import { css, html, LitElement } from 'lit';
4
4
  import { customElement, property } from 'lit/decorators.js';
5
5
  import { openHelp } from '../controller/help.js';
@@ -19,23 +19,24 @@ let HelpIcon = class HelpIcon extends LitElement {
19
19
  }
20
20
  render() {
21
21
  const topic = this.topic;
22
- return html `${topic ? html `<mwc-icon>help</mwc-icon>` : html ``}`;
22
+ return html `${topic ? html `<md-icon>help</md-icon>` : html ``}`;
23
23
  }
24
24
  };
25
25
  HelpIcon.styles = css `
26
- mwc-icon {
26
+ md-icon {
27
27
  position: relative;
28
28
  top: 4px;
29
29
  cursor: help;
30
30
  opacity: var(--help-icon-opacity);
31
31
  color: var(--help-icon-color);
32
- font-size: var(--help-icon-size);
33
32
  line-height: 0;
34
- }
35
33
 
36
- mwc-icon:hover {
37
- opacity: var(--help-icon-hover-opacity);
38
- color: var(--help-icon-hover-color);
34
+ --md-icon-size: var(--help-icon-size);
35
+
36
+ &:hover {
37
+ opacity: var(--help-icon-hover-opacity);
38
+ color: var(--help-icon-hover-color);
39
+ }
39
40
  }
40
41
  `;
41
42
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ox-help-icon.js","sourceRoot":"","sources":["../../../src/components/ox-help-icon.ts"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAA;AAE3B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAGzC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IAAjC;;QAoBL,YAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;YACrB,CAAC,CAAC,eAAe,EAAE,CAAA;YAEnB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACtB,CAAC,CAAA;QAED,gBAAW,GAAgE,CAAC,CAAQ,EAAE,EAAE;YACtF,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,CAAA;QAED,cAAS,GAAgE,CAAC,CAAQ,EAAE,EAAE;YACpF,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,CAAA;IAOH,CAAC;IALC,MAAM;QACJ,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QAExB,OAAO,IAAI,CAAA,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,2BAA2B,CAAC,CAAC,CAAC,IAAI,CAAA,EAAE,EAAE,CAAA;IAClE,CAAC;;AArCM,eAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;GAelB,AAfY,CAeZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAAe;AAlB/B,QAAQ;IADpB,aAAa,CAAC,cAAc,CAAC;GACjB,QAAQ,CAuCpB","sourcesContent":["import '@material/mwc-icon'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { openHelp } from '../controller/help.js'\n\n@customElement('ox-help-icon')\nexport class HelpIcon extends LitElement {\n static styles = css`\n mwc-icon {\n position: relative;\n top: 4px;\n cursor: help;\n opacity: var(--help-icon-opacity);\n color: var(--help-icon-color);\n font-size: var(--help-icon-size);\n line-height: 0;\n }\n\n mwc-icon:hover {\n opacity: var(--help-icon-hover-opacity);\n color: var(--help-icon-hover-color);\n }\n `\n\n @property({ type: String }) topic!: string\n\n onclick = (e: Event) => {\n e.stopPropagation()\n\n openHelp(this.topic)\n }\n\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null = (e: Event) => {\n e.stopPropagation()\n }\n\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null = (e: Event) => {\n e.stopPropagation()\n }\n\n render() {\n const topic = this.topic\n\n return html`${topic ? html`<mwc-icon>help</mwc-icon>` : html``}`\n }\n}\n"]}
1
+ {"version":3,"file":"ox-help-icon.js","sourceRoot":"","sources":["../../../src/components/ox-help-icon.ts"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAEnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAGzC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;IAAjC;;QAqBL,YAAO,GAAG,CAAC,CAAQ,EAAE,EAAE;YACrB,CAAC,CAAC,eAAe,EAAE,CAAA;YAEnB,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACtB,CAAC,CAAA;QAED,gBAAW,GAAgE,CAAC,CAAQ,EAAE,EAAE;YACtF,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,CAAA;QAED,cAAS,GAAgE,CAAC,CAAQ,EAAE,EAAE;YACpF,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,CAAA;IAOH,CAAC;IALC,MAAM;QACJ,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QAExB,OAAO,IAAI,CAAA,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,yBAAyB,CAAC,CAAC,CAAC,IAAI,CAAA,EAAE,EAAE,CAAA;IAChE,CAAC;;AAtCM,eAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;GAgBlB,AAhBY,CAgBZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAAe;AAnB/B,QAAQ;IADpB,aAAa,CAAC,cAAc,CAAC;GACjB,QAAQ,CAwCpB","sourcesContent":["import '@material/web/icon/icon.js'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { openHelp } from '../controller/help.js'\n\n@customElement('ox-help-icon')\nexport class HelpIcon extends LitElement {\n static styles = css`\n md-icon {\n position: relative;\n top: 4px;\n cursor: help;\n opacity: var(--help-icon-opacity);\n color: var(--help-icon-color);\n line-height: 0;\n\n --md-icon-size: var(--help-icon-size);\n\n &:hover {\n opacity: var(--help-icon-hover-opacity);\n color: var(--help-icon-hover-color);\n }\n }\n `\n\n @property({ type: String }) topic!: string\n\n onclick = (e: Event) => {\n e.stopPropagation()\n\n openHelp(this.topic)\n }\n\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null = (e: Event) => {\n e.stopPropagation()\n }\n\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null = (e: Event) => {\n e.stopPropagation()\n }\n\n render() {\n const topic = this.topic\n\n return html`${topic ? html`<md-icon>help</md-icon>` : html``}`\n }\n}\n"]}
@@ -3,6 +3,6 @@ export declare class InlineHelp extends LitElement {
3
3
  static styles: import("lit").CSSResult;
4
4
  topic: string;
5
5
  type: string;
6
- render(): import("lit").TemplateResult<1>;
6
+ render(): import("lit-html").TemplateResult<1>;
7
7
  connectedCallback(): void;
8
8
  }
@@ -1,10 +1,10 @@
1
- import '@material/mwc-icon';
1
+ import '@material/web/icon/icon.js';
2
2
  import { LitElement } from 'lit';
3
3
  declare const TitleWithHelp_base: (new (...args: any[]) => LitElement) & typeof LitElement;
4
4
  export declare class TitleWithHelp extends TitleWithHelp_base {
5
5
  static styles: import("lit").CSSResult;
6
6
  msgid: string;
7
7
  topic: string;
8
- render(): import("lit").TemplateResult<1>;
8
+ render(): import("lit-html").TemplateResult<1>;
9
9
  }
10
10
  export {};
@@ -1,5 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
- import '@material/mwc-icon';
2
+ import '@material/web/icon/icon.js';
3
3
  import { css, html, LitElement } from 'lit';
4
4
  import { customElement, property } from 'lit/decorators.js';
5
5
  import { i18next, localize } from '@operato/i18n';
@@ -8,22 +8,24 @@ let TitleWithHelp = class TitleWithHelp extends localize(i18next)(LitElement) {
8
8
  render() {
9
9
  const title = i18next.t(this.msgid);
10
10
  const topic = this.topic;
11
- return html ` ${title} ${topic ? html `<mwc-icon @click=${() => openHelp(topic)}>help</mwc-icon>` : html ``} `;
11
+ return html ` ${title} ${topic ? html `<md-icon @click=${() => openHelp(topic)}>help</md-icon>` : html ``} `;
12
12
  }
13
13
  };
14
14
  TitleWithHelp.styles = css `
15
- mwc-icon {
15
+ md-icon {
16
16
  position: relative;
17
17
  top: 4px;
18
18
  cursor: help;
19
19
  opacity: var(--help-icon-opacity);
20
20
  color: var(--help-icon-color);
21
- font-size: var(--help-icon-size);
22
21
  line-height: 0;
23
- }
24
- mwc-icon:hover {
25
- opacity: var(--help-icon-hover-opacity);
26
- color: var(--help-icon-hover-color);
22
+
23
+ --md-icon-size: var(--help-icon-size);
24
+
25
+ &:hover {
26
+ opacity: var(--help-icon-hover-opacity);
27
+ color: var(--help-icon-hover-color);
28
+ }
27
29
  }
28
30
  `;
29
31
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ox-title-with-help.js","sourceRoot":"","sources":["../../../src/components/ox-title-with-help.ts"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAA;AAE3B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAGzC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,QAAQ,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC;IAoB9D,MAAM;QACJ,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QAExB,OAAO,IAAI,CAAA,IAAI,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,oBAAoB,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAA,EAAE,GAAG,CAAA;IAC7G,CAAC;;AAxBM,oBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;GAclB,AAdY,CAcZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAe;AACd;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAe;AAlB/B,aAAa;IADzB,aAAa,CAAC,oBAAoB,CAAC;GACvB,aAAa,CA0BzB","sourcesContent":["import '@material/mwc-icon'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { i18next, localize } from '@operato/i18n'\n\nimport { openHelp } from '../controller/help.js'\n\n@customElement('ox-title-with-help')\nexport class TitleWithHelp extends localize(i18next)(LitElement) {\n static styles = css`\n mwc-icon {\n position: relative;\n top: 4px;\n cursor: help;\n opacity: var(--help-icon-opacity);\n color: var(--help-icon-color);\n font-size: var(--help-icon-size);\n line-height: 0;\n }\n mwc-icon:hover {\n opacity: var(--help-icon-hover-opacity);\n color: var(--help-icon-hover-color);\n }\n `\n\n @property({ type: String }) msgid!: string\n @property({ type: String }) topic!: string\n\n render() {\n const title = i18next.t(this.msgid)\n const topic = this.topic\n\n return html` ${title} ${topic ? html`<mwc-icon @click=${() => openHelp(topic)}>help</mwc-icon>` : html``} `\n }\n}\n"]}
1
+ {"version":3,"file":"ox-title-with-help.js","sourceRoot":"","sources":["../../../src/components/ox-title-with-help.ts"],"names":[],"mappings":";AAAA,OAAO,4BAA4B,CAAA;AAEnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAGzC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,QAAQ,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC;IAsB9D,MAAM;QACJ,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QAExB,OAAO,IAAI,CAAA,IAAI,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,mBAAmB,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAA,EAAE,GAAG,CAAA;IAC3G,CAAC;;AA1BM,oBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;GAgBlB,AAhBY,CAgBZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAe;AACd;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CAAe;AApB/B,aAAa;IADzB,aAAa,CAAC,oBAAoB,CAAC;GACvB,aAAa,CA4BzB","sourcesContent":["import '@material/web/icon/icon.js'\n\nimport { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { i18next, localize } from '@operato/i18n'\n\nimport { openHelp } from '../controller/help.js'\n\n@customElement('ox-title-with-help')\nexport class TitleWithHelp extends localize(i18next)(LitElement) {\n static styles = css`\n md-icon {\n position: relative;\n top: 4px;\n cursor: help;\n opacity: var(--help-icon-opacity);\n color: var(--help-icon-color);\n line-height: 0;\n\n --md-icon-size: var(--help-icon-size);\n\n &:hover {\n opacity: var(--help-icon-hover-opacity);\n color: var(--help-icon-hover-color);\n }\n }\n `\n\n @property({ type: String }) msgid!: string\n @property({ type: String }) topic!: string\n\n render() {\n const title = i18next.t(this.msgid)\n const topic = this.topic\n\n return html` ${title} ${topic ? html`<md-icon @click=${() => openHelp(topic)}>help</md-icon>` : html``} `\n }\n}\n"]}