@operato/help 2.0.0-alpha.12 → 2.0.0-alpha.120

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,579 @@
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.120](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.119...v2.0.0-alpha.120) (2024-05-05)
7
+
8
+ **Note:** Version bump only for package @operato/help
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.119](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.118...v2.0.0-alpha.119) (2024-05-04)
15
+
16
+ **Note:** Version bump only for package @operato/help
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.118](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.117...v2.0.0-alpha.118) (2024-05-04)
23
+
24
+ **Note:** Version bump only for package @operato/help
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.0-alpha.117](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.116...v2.0.0-alpha.117) (2024-05-04)
31
+
32
+ **Note:** Version bump only for package @operato/help
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.0-alpha.116](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.115...v2.0.0-alpha.116) (2024-05-04)
39
+
40
+ **Note:** Version bump only for package @operato/help
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.0-alpha.115](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.114...v2.0.0-alpha.115) (2024-05-04)
47
+
48
+ **Note:** Version bump only for package @operato/help
49
+
50
+
51
+
52
+
53
+
54
+ ## [2.0.0-alpha.114](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.113...v2.0.0-alpha.114) (2024-05-04)
55
+
56
+ **Note:** Version bump only for package @operato/help
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.0.0-alpha.112](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.111...v2.0.0-alpha.112) (2024-05-02)
63
+
64
+ **Note:** Version bump only for package @operato/help
65
+
66
+
67
+
68
+
69
+
70
+ ## [2.0.0-alpha.111](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.110...v2.0.0-alpha.111) (2024-05-02)
71
+
72
+ **Note:** Version bump only for package @operato/help
73
+
74
+
75
+
76
+
77
+
78
+ ## [2.0.0-alpha.110](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.109...v2.0.0-alpha.110) (2024-05-02)
79
+
80
+ **Note:** Version bump only for package @operato/help
81
+
82
+
83
+
84
+
85
+
86
+ ## [2.0.0-alpha.109](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.108...v2.0.0-alpha.109) (2024-05-02)
87
+
88
+ **Note:** Version bump only for package @operato/help
89
+
90
+
91
+
92
+
93
+
94
+ ## [2.0.0-alpha.108](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.107...v2.0.0-alpha.108) (2024-05-02)
95
+
96
+ **Note:** Version bump only for package @operato/help
97
+
98
+
99
+
100
+
101
+
102
+ ## [2.0.0-alpha.107](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.106...v2.0.0-alpha.107) (2024-05-01)
103
+
104
+ **Note:** Version bump only for package @operato/help
105
+
106
+
107
+
108
+
109
+
110
+ ## [2.0.0-alpha.106](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.105...v2.0.0-alpha.106) (2024-04-26)
111
+
112
+ **Note:** Version bump only for package @operato/help
113
+
114
+
115
+
116
+
117
+
118
+ ## [2.0.0-alpha.105](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.104...v2.0.0-alpha.105) (2024-04-26)
119
+
120
+ **Note:** Version bump only for package @operato/help
121
+
122
+
123
+
124
+
125
+
126
+ ## [2.0.0-alpha.104](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.103...v2.0.0-alpha.104) (2024-04-26)
127
+
128
+ **Note:** Version bump only for package @operato/help
129
+
130
+
131
+
132
+
133
+
134
+ ## [2.0.0-alpha.103](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.102...v2.0.0-alpha.103) (2024-04-26)
135
+
136
+ **Note:** Version bump only for package @operato/help
137
+
138
+
139
+
140
+
141
+
142
+ ## [2.0.0-alpha.102](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.101...v2.0.0-alpha.102) (2024-04-22)
143
+
144
+ **Note:** Version bump only for package @operato/help
145
+
146
+
147
+
148
+
149
+
150
+ ## [2.0.0-alpha.100](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.99...v2.0.0-alpha.100) (2024-04-21)
151
+
152
+ **Note:** Version bump only for package @operato/help
153
+
154
+
155
+
156
+
157
+
158
+ ## [2.0.0-alpha.99](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.98...v2.0.0-alpha.99) (2024-04-21)
159
+
160
+ **Note:** Version bump only for package @operato/help
161
+
162
+
163
+
164
+
165
+
166
+ ## [2.0.0-alpha.98](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.97...v2.0.0-alpha.98) (2024-04-21)
167
+
168
+ **Note:** Version bump only for package @operato/help
169
+
170
+
171
+
172
+
173
+
174
+ ## [2.0.0-alpha.95](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.94...v2.0.0-alpha.95) (2024-04-21)
175
+
176
+ **Note:** Version bump only for package @operato/help
177
+
178
+
179
+
180
+
181
+
182
+ ## [2.0.0-alpha.94](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.93...v2.0.0-alpha.94) (2024-04-20)
183
+
184
+ **Note:** Version bump only for package @operato/help
185
+
186
+
187
+
188
+
189
+
190
+ ## [2.0.0-alpha.93](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.92...v2.0.0-alpha.93) (2024-04-19)
191
+
192
+ **Note:** Version bump only for package @operato/help
193
+
194
+
195
+
196
+
197
+
198
+ ## [2.0.0-alpha.92](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.91...v2.0.0-alpha.92) (2024-04-19)
199
+
200
+ **Note:** Version bump only for package @operato/help
201
+
202
+
203
+
204
+
205
+
206
+ ## [2.0.0-alpha.90](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.89...v2.0.0-alpha.90) (2024-04-18)
207
+
208
+ **Note:** Version bump only for package @operato/help
209
+
210
+
211
+
212
+
213
+
214
+ ## [2.0.0-alpha.89](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.88...v2.0.0-alpha.89) (2024-04-18)
215
+
216
+ **Note:** Version bump only for package @operato/help
217
+
218
+
219
+
220
+
221
+
222
+ ## [2.0.0-alpha.88](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.87...v2.0.0-alpha.88) (2024-04-18)
223
+
224
+ **Note:** Version bump only for package @operato/help
225
+
226
+
227
+
228
+
229
+
230
+ ## [2.0.0-alpha.87](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.86...v2.0.0-alpha.87) (2024-04-17)
231
+
232
+ **Note:** Version bump only for package @operato/help
233
+
234
+
235
+
236
+
237
+
238
+ ## [2.0.0-alpha.86](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.85...v2.0.0-alpha.86) (2024-04-16)
239
+
240
+ **Note:** Version bump only for package @operato/help
241
+
242
+
243
+
244
+
245
+
246
+ ## [2.0.0-alpha.85](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.84...v2.0.0-alpha.85) (2024-04-16)
247
+
248
+ **Note:** Version bump only for package @operato/help
249
+
250
+
251
+
252
+
253
+
254
+ ## [2.0.0-alpha.82](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.81...v2.0.0-alpha.82) (2024-04-15)
255
+
256
+ **Note:** Version bump only for package @operato/help
257
+
258
+
259
+
260
+
261
+
262
+ ## [2.0.0-alpha.81](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.80...v2.0.0-alpha.81) (2024-04-15)
263
+
264
+ **Note:** Version bump only for package @operato/help
265
+
266
+
267
+
268
+
269
+
270
+ ## [2.0.0-alpha.80](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.79...v2.0.0-alpha.80) (2024-04-15)
271
+
272
+ **Note:** Version bump only for package @operato/help
273
+
274
+
275
+
276
+
277
+
278
+ ## [2.0.0-alpha.77](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.76...v2.0.0-alpha.77) (2024-04-14)
279
+
280
+ **Note:** Version bump only for package @operato/help
281
+
282
+
283
+
284
+
285
+
286
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
287
+
288
+
289
+ ### :bug: Bug Fix
290
+
291
+ * help-panel style ([31aad28](https://github.com/hatiolab/operato/commit/31aad28dc730e8f2dbe4ec8a8318639175795a45))
292
+
293
+
294
+
295
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
296
+
297
+
298
+ ### :bug: Bug Fix
299
+
300
+ * mwc=>md for context ([972f5fd](https://github.com/hatiolab/operato/commit/972f5fd8da02820b6d6238cf1dd099591f97d8df))
301
+
302
+
303
+
304
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
305
+
306
+
307
+ ### :bug: Bug Fix
308
+
309
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
310
+
311
+
312
+
313
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
314
+
315
+ **Note:** Version bump only for package @operato/help
316
+
317
+
318
+
319
+
320
+
321
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
322
+
323
+ **Note:** Version bump only for package @operato/help
324
+
325
+
326
+
327
+
328
+
329
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
330
+
331
+ **Note:** Version bump only for package @operato/help
332
+
333
+
334
+
335
+
336
+
337
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
338
+
339
+ **Note:** Version bump only for package @operato/help
340
+
341
+
342
+
343
+
344
+
345
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
346
+
347
+ **Note:** Version bump only for package @operato/help
348
+
349
+
350
+
351
+
352
+
353
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
354
+
355
+ **Note:** Version bump only for package @operato/help
356
+
357
+
358
+
359
+
360
+
361
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
362
+
363
+ **Note:** Version bump only for package @operato/help
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+ **Note:** Version bump only for package @operato/help
372
+
373
+
374
+
375
+
376
+
377
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
378
+
379
+ **Note:** Version bump only for package @operato/help
380
+
381
+
382
+
383
+
384
+
385
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
386
+
387
+ **Note:** Version bump only for package @operato/help
388
+
389
+
390
+
391
+
392
+
393
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
394
+
395
+
396
+ ### :bug: Bug Fix
397
+
398
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
399
+
400
+
401
+
402
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
403
+
404
+ **Note:** Version bump only for package @operato/help
405
+
406
+
407
+
408
+
409
+
410
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
411
+
412
+ **Note:** Version bump only for package @operato/help
413
+
414
+
415
+
416
+
417
+
418
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
419
+
420
+ **Note:** Version bump only for package @operato/help
421
+
422
+
423
+
424
+
425
+
426
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
427
+
428
+ **Note:** Version bump only for package @operato/help
429
+
430
+
431
+
432
+
433
+
434
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
435
+
436
+ **Note:** Version bump only for package @operato/help
437
+
438
+
439
+
440
+
441
+
442
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
443
+
444
+ **Note:** Version bump only for package @operato/help
445
+
446
+
447
+
448
+
449
+
450
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
451
+
452
+ **Note:** Version bump only for package @operato/help
453
+
454
+
455
+
456
+
457
+
458
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
459
+
460
+ **Note:** Version bump only for package @operato/help
461
+
462
+
463
+
464
+
465
+
466
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
467
+
468
+ **Note:** Version bump only for package @operato/help
469
+
470
+
471
+
472
+
473
+
474
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
475
+
476
+ **Note:** Version bump only for package @operato/help
477
+
478
+
479
+
480
+
481
+
482
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
483
+
484
+ **Note:** Version bump only for package @operato/help
485
+
486
+
487
+
488
+
489
+
490
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
491
+
492
+ **Note:** Version bump only for package @operato/help
493
+
494
+
495
+
496
+
497
+
498
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
499
+
500
+
501
+ ### :bug: Bug Fix
502
+
503
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
504
+
505
+
506
+
507
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
508
+
509
+ **Note:** Version bump only for package @operato/help
510
+
511
+
512
+
513
+
514
+
515
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
516
+
517
+ **Note:** Version bump only for package @operato/help
518
+
519
+
520
+
521
+
522
+
523
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
524
+
525
+ **Note:** Version bump only for package @operato/help
526
+
527
+
528
+
529
+
530
+
531
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
532
+
533
+ **Note:** Version bump only for package @operato/help
534
+
535
+
536
+
537
+
538
+
539
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
540
+
541
+ **Note:** Version bump only for package @operato/help
542
+
543
+
544
+
545
+
546
+
547
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
548
+
549
+ **Note:** Version bump only for package @operato/help
550
+
551
+
552
+
553
+
554
+
555
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
556
+
557
+ **Note:** Version bump only for package @operato/help
558
+
559
+
560
+
561
+
562
+
563
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
564
+
565
+ **Note:** Version bump only for package @operato/help
566
+
567
+
568
+
569
+
570
+
571
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
572
+
573
+ **Note:** Version bump only for package @operato/help
574
+
575
+
576
+
577
+
578
+
6
579
  ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
7
580
 
8
581
  **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 {};