@operato/scene-news-ticker 7.0.1 → 7.3.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/scene-news-ticker",
3
- "version": "7.0.1",
3
+ "version": "7.3.19",
4
4
  "description": "News ticker Component for Things Scene.",
5
5
  "license": "MIT",
6
6
  "things-scene": true,
@@ -27,7 +27,7 @@
27
27
  "migration": "things-factory-migration"
28
28
  },
29
29
  "dependencies": {
30
- "@hatiolab/things-scene": "^3.2.0",
30
+ "@hatiolab/things-scene": "^3.4.0",
31
31
  "lit": "^3.1.2",
32
32
  "web-animations-js": "^2.3.2"
33
33
  },
@@ -59,5 +59,5 @@
59
59
  "prettier --write"
60
60
  ]
61
61
  },
62
- "gitHead": "575a4ccdeb952a605c9a6f65a389906e73a71013"
62
+ "gitHead": "ff73072a62ee02520f9d986d0095f6d329de64f9"
63
63
  }
package/CHANGELOG.md DELETED
@@ -1,644 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [7.0.1](https://github.com/things-scene/operato-scene/compare/v7.0.0...v7.0.1) (2024-06-30)
7
-
8
-
9
- ### :bug: Bug Fix
10
-
11
- * things-factory@7.0.0 ([f4cfe44](https://github.com/things-scene/operato-scene/commit/f4cfe44cb565e7b8fdc0df210a722b6526871848))
12
-
13
-
14
-
15
- ## [7.0.0](https://github.com/things-scene/operato-scene/compare/v7.0.0-rc.4...v7.0.0) (2024-06-30)
16
-
17
- **Note:** Version bump only for package @operato/scene-news-ticker
18
-
19
-
20
-
21
-
22
-
23
- ## [7.0.0-rc.1](https://github.com/things-scene/operato-scene/compare/v7.0.0-rc.0...v7.0.0-rc.1) (2024-06-21)
24
-
25
-
26
- ### :bug: Bug Fix
27
-
28
- * apply v7-rc dependencies ([eee5612](https://github.com/things-scene/operato-scene/commit/eee5612e1d569387c284a7c6c49d64ef44b6d701))
29
-
30
-
31
-
32
- ## [7.0.0-rc.0](https://github.com/things-scene/operato-scene/compare/v2.0.0-beta.8...v7.0.0-rc.0) (2024-06-21)
33
-
34
- **Note:** Version bump only for package @operato/scene-news-ticker
35
-
36
-
37
-
38
-
39
-
40
- ## [2.0.0-beta.0](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.12...v2.0.0-beta.0) (2024-06-01)
41
-
42
-
43
- ### :rocket: New Features
44
-
45
- * 2.0.0-beta.0 ([a2e2869](https://github.com/things-scene/operato-scene/commit/a2e28694eedf5bab0c54bcab5432d54ec59edd7f))
46
-
47
-
48
- ### :bug: Bug Fix
49
-
50
- * allowJs in tsconfig option ([fa77174](https://github.com/things-scene/operato-scene/commit/fa771742188f21f177f0a85281570f59f0c478cf))
51
-
52
-
53
-
54
- ## [2.0.0-alpha.12](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-05-11)
55
-
56
-
57
- ### :bug: Bug Fix
58
-
59
- * ignore 'cache' folder for git and npm ([d70f811](https://github.com/things-scene/operato-scene/commit/d70f8118ff3e9248f80aa9435d6e6cbb8aacfcaf))
60
-
61
-
62
-
63
- ## [2.0.0-alpha.9](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2024-04-11)
64
-
65
-
66
- ### :bug: Bug Fix
67
-
68
- * things-factory@7.0.1 ([a9f4c18](https://github.com/things-scene/operato-scene/commit/a9f4c1873b80c540e4c2e16649e127ccffcf9a4c))
69
-
70
-
71
-
72
- ## [2.0.0-alpha.8](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2024-03-29)
73
-
74
-
75
- ### :bug: Bug Fix
76
-
77
- * upgrade lit ([87e6494](https://github.com/things-scene/operato-scene/commit/87e6494e02a74ec768d0695089aea36184afe572))
78
-
79
-
80
-
81
- ## [2.0.0-alpha.6](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2024-03-24)
82
-
83
-
84
- ### :bug: Bug Fix
85
-
86
- * translation ([266d423](https://github.com/things-scene/operato-scene/commit/266d423d9d6992464f45a437acc90ccf8ed33bf6))
87
-
88
-
89
-
90
- ## [2.0.0-alpha.5](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2024-03-21)
91
-
92
-
93
- ### :bug: Bug Fix
94
-
95
- * 컴포넌트 명 다국어 ([fbc26d9](https://github.com/things-scene/operato-scene/commit/fbc26d9fb24e858541598ba55e2b8d33f2df8d8a))
96
-
97
-
98
-
99
- ## [2.0.0-alpha.4](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2024-03-21)
100
-
101
-
102
- ### :bug: Bug Fix
103
-
104
- * 컴포넌트 명 다국어 ([64e1f08](https://github.com/things-scene/operato-scene/commit/64e1f08af32d2ac193c3d31b0025f8d06f569ca4))
105
-
106
-
107
-
108
- ## [2.0.0-alpha.0](https://github.com/things-scene/operato-scene/compare/v1.3.9...v2.0.0-alpha.0) (2024-01-14)
109
-
110
-
111
- ### :bug: Bug Fix
112
-
113
- * 2.0.0-alpha.0 ([93274e3](https://github.com/things-scene/operato-scene/commit/93274e36c5d184f339f83899654dd48b4786ac2b))
114
-
115
-
116
-
117
- ## [1.3.7](https://github.com/things-scene/operato-scene/compare/v1.3.6...v1.3.7) (2024-01-01)
118
-
119
-
120
- ### :bug: Bug Fix
121
-
122
- * mpi module moved from things-factory ([47b743f](https://github.com/things-scene/operato-scene/commit/47b743fd19001f195db85e50b8f6e457a1573aa5))
123
-
124
-
125
-
126
- ## [1.2.90](https://github.com/things-scene/operato-scene/compare/v1.2.89...v1.2.90) (2023-11-22)
127
-
128
- **Note:** Version bump only for package @operato/scene-news-ticker
129
-
130
-
131
-
132
-
133
-
134
- ## [1.2.87](https://github.com/things-scene/operato-scene/compare/v1.2.86...v1.2.87) (2023-11-10)
135
-
136
- **Note:** Version bump only for package @operato/scene-news-ticker
137
-
138
-
139
-
140
-
141
-
142
- ## [1.2.76](https://github.com/things-scene/operato-scene/compare/v1.2.75...v1.2.76) (2023-10-28)
143
-
144
-
145
- ### :bug: Bug Fix
146
-
147
- * scene-tab ([ad62f96](https://github.com/things-scene/operato-scene/commit/ad62f967b149eb5adf8f2e0714d79e8a9dc7186c))
148
-
149
-
150
-
151
- ## [1.2.66](https://github.com/things-scene/operato-scene/compare/v1.2.65...v1.2.66) (2023-09-14)
152
-
153
- **Note:** Version bump only for package @operato/scene-news-ticker
154
-
155
-
156
-
157
-
158
-
159
- ## [1.2.65](https://github.com/things-scene/operato-scene/compare/v1.2.64...v1.2.65) (2023-09-14)
160
-
161
- **Note:** Version bump only for package @operato/scene-news-ticker
162
-
163
-
164
-
165
-
166
-
167
- ## [1.2.62](https://github.com/things-scene/operato-scene/compare/v1.2.61...v1.2.62) (2023-09-11)
168
-
169
- **Note:** Version bump only for package @operato/scene-news-ticker
170
-
171
-
172
-
173
-
174
-
175
- ## [1.2.49](https://github.com/things-scene/operato-scene/compare/v1.2.48...v1.2.49) (2023-06-26)
176
-
177
-
178
- ### :bug: Bug Fix
179
-
180
- * missing .npmignore ([61ba4f2](https://github.com/things-scene/operato-scene/commit/61ba4f2ae22a865d700a971d62eb01f950c34d0e))
181
-
182
-
183
-
184
- ## [1.2.46](https://github.com/things-scene/operato-scene/compare/v1.2.45...v1.2.46) (2023-06-10)
185
-
186
-
187
- ### :bug: Bug Fix
188
-
189
- * typescript build options ([3eb0d7f](https://github.com/things-scene/operato-scene/commit/3eb0d7fd80e2c3cea698501aa1d9d54903423a7b))
190
-
191
-
192
-
193
- ## [1.2.36](https://github.com/things-scene/operato-scene/compare/v1.2.35...v1.2.36) (2023-05-13)
194
-
195
-
196
- ### :bug: Bug Fix
197
-
198
- * license ([d37d485](https://github.com/things-scene/operato-scene/commit/d37d48597407dea1ad022e674f2899720e56d695))
199
-
200
-
201
-
202
- ## [1.2.29](https://github.com/things-scene/operato-scene/compare/v1.2.28...v1.2.29) (2023-04-30)
203
-
204
-
205
- ### :bug: Bug Fix
206
-
207
- * update module's version ([047d08b](https://github.com/things-scene/operato-scene/commit/047d08b5d912d12c04b2f6b63156d1e812588365))
208
-
209
-
210
-
211
- ### [1.2.27](https://github.com/things-scene/operato-scene/compare/v1.2.26...v1.2.27) (2023-04-22)
212
-
213
- **Note:** Version bump only for package @operato/scene-news-ticker
214
-
215
-
216
-
217
-
218
-
219
- ### [1.2.4](https://github.com/things-scene/operato-scene/compare/v1.2.3...v1.2.4) (2023-02-13)
220
-
221
- **Note:** Version bump only for package @operato/scene-news-ticker
222
-
223
-
224
-
225
-
226
-
227
- ### [1.2.2](https://github.com/things-scene/operato-scene/compare/v1.2.1...v1.2.2) (2023-02-09)
228
-
229
-
230
- ### :bug: Bug Fix
231
-
232
- * migrate scene-urdf from things-factory ([3f75f87](https://github.com/things-scene/operato-scene/commit/3f75f8743e993a9a3ed595eed8f94b15da042a31))
233
-
234
-
235
-
236
- ## [1.2.0](https://github.com/things-scene/operato-scene/compare/v1.1.29...v1.2.0) (2023-02-07)
237
-
238
-
239
- ### :bug: Bug Fix
240
-
241
- * [@things-factory](https://github.com/things-factory)@6.0.0 ([5927ebb](https://github.com/things-scene/operato-scene/commit/5927ebb5113be2b914cc47005eb7115d69481695))
242
- * updating dependencies ([f4dd8fc](https://github.com/things-scene/operato-scene/commit/f4dd8fcdaa03b67de78189c6d574b30a995456f0))
243
-
244
-
245
-
246
- ### [1.1.23](https://github.com/things-scene/operato-scene/compare/v1.1.22...v1.1.23) (2022-12-18)
247
-
248
-
249
- ### :bug: Bug Fix
250
-
251
- * latest @hatiolab/things-scene ([8d6afb5](https://github.com/things-scene/operato-scene/commit/8d6afb5ecbd453260615fca229f1d74b0ea6e4ee))
252
-
253
-
254
-
255
- ### [1.1.15](https://github.com/things-scene/operato-scene/compare/v1.1.14...v1.1.15) (2022-11-13)
256
-
257
-
258
- ### :bug: Bug Fix
259
-
260
- * use @things-factory/operato-board@6.0.0-zeta.x ([a9deef9](https://github.com/things-scene/operato-scene/commit/a9deef935fde00c6c0d09ca424ca949ac24cbd6a))
261
-
262
-
263
-
264
- ### [1.1.8](https://github.com/things-scene/operato-scene/compare/v1.1.7...v1.1.8) (2022-11-05)
265
-
266
- **Note:** Version bump only for package @operato/scene-news-ticker
267
-
268
-
269
-
270
-
271
-
272
- ### [1.1.5](https://github.com/things-scene/operato-scene/compare/v1.1.4...v1.1.5) (2022-11-05)
273
-
274
-
275
- ### :bug: Bug Fix
276
-
277
- * templates ([78a23e4](https://github.com/things-scene/operato-scene/commit/78a23e42c3a13b1fd50af223d3a7c5f6739ed8a3))
278
- * update things-scene ([84f2a9f](https://github.com/things-scene/operato-scene/commit/84f2a9fa6fe5fcb22444caf489de8a5aa84000a2))
279
-
280
-
281
-
282
- ## [1.1.0](https://github.com/things-scene/operato-scene/compare/v1.0.7...v1.1.0) (2022-11-03)
283
-
284
-
285
- ### :bug: Bug Fix
286
-
287
- * typescript 4.8.4, lit 2.4.0 ([13ab528](https://github.com/things-scene/operato-scene/commit/13ab528b9034987940dd73b015489813bd2682be))
288
-
289
-
290
-
291
- ### [1.0.7](https://github.com/things-scene/operato-scene/compare/v1.0.6...v1.0.7) (2022-10-17)
292
-
293
-
294
- ### :bug: Bug Fix
295
-
296
- * latest [@things-factory](https://github.com/things-factory) for dev ([a20923a](https://github.com/things-scene/operato-scene/commit/a20923a3caa8a915c17f46885d014bd5334c5ea6))
297
-
298
-
299
-
300
- ### [1.0.2](https://github.com/things-scene/operato-scene/compare/v1.0.1...v1.0.2) (2022-08-04)
301
-
302
-
303
- ### :bug: Bug Fix
304
-
305
- * apply concurrently to serve target ([e777342](https://github.com/things-scene/operato-scene/commit/e777342c9310f722542db9baecf49ef94e77c3a0))
306
-
307
-
308
-
309
- ### [1.0.1](https://github.com/things-scene/operato-scene/compare/v1.0.0...v1.0.1) (2022-08-01)
310
-
311
-
312
- ### :bug: Bug Fix
313
-
314
- * latest dependencies ([0e4cc8c](https://github.com/things-scene/operato-scene/commit/0e4cc8c6087f89412f1b29772656c63653648d5a))
315
-
316
-
317
-
318
- ## [1.0.0](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.38...v1.0.0) (2022-07-24)
319
-
320
-
321
- ### :bug: Bug Fix
322
-
323
- * latest dependencies ([b435b97](https://github.com/things-scene/operato-scene/commit/b435b970f86f7e81d820a7656ecd6e0d4878ec42))
324
-
325
-
326
-
327
- ## [1.0.0-alpha.38](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) (2022-07-20)
328
-
329
-
330
- ### :bug: Bug Fix
331
-
332
- * latest dependencies ([8a4cf6b](https://github.com/things-scene/operato-scene/commit/8a4cf6bfc9eed2bdb991eb77df9dba4b42de45e7))
333
-
334
-
335
-
336
- ## [1.0.0-alpha.37](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2022-07-17)
337
-
338
-
339
- ### :bug: Bug Fix
340
-
341
- * latest dependencies ([cb2e928](https://github.com/things-scene/operato-scene/commit/cb2e92871da17a11ac9c68b3c4ead5df59429973))
342
-
343
-
344
-
345
- ## [1.0.0-alpha.36](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2022-07-17)
346
-
347
-
348
- ### :bug: Bug Fix
349
-
350
- * integration use @operato/graphql client and subscribe ([d184eb3](https://github.com/things-scene/operato-scene/commit/d184eb35c9447ef1ecb6f5abe88ee1677345f487))
351
-
352
-
353
-
354
- ## [1.0.0-alpha.35](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2022-07-15)
355
-
356
-
357
- ### :bug: Bug Fix
358
-
359
- * latest dependencies ([f5ea226](https://github.com/things-scene/operato-scene/commit/f5ea2264cde9ee6a0e20586ce9e86e47a3d8d922))
360
- * latest dependencies ([7438dd3](https://github.com/things-scene/operato-scene/commit/7438dd3de9bdef939051ff72aad4c1b5608b6ab9))
361
-
362
-
363
-
364
- ## [1.0.0-alpha.34](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-07-11)
365
-
366
-
367
- ### :bug: Bug Fix
368
-
369
- * latest [@things-factory](https://github.com/things-factory) ([03247f1](https://github.com/things-scene/operato-scene/commit/03247f188183fd784721521ff06ef49c440849bf))
370
-
371
-
372
-
373
- ## [1.0.0-alpha.33](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) (2022-07-09)
374
-
375
- **Note:** Version bump only for package @operato/scene-news-ticker
376
-
377
-
378
-
379
-
380
-
381
- ## [1.0.0-alpha.32](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2022-07-09)
382
-
383
-
384
- ### :bug: Bug Fix
385
-
386
- * latest [@things-factory](https://github.com/things-factory) ([a5ea8ba](https://github.com/things-scene/operato-scene/commit/a5ea8ba70af7ac74e7cdee77fb74a152a0079366))
387
- * update dependencies ([54c7169](https://github.com/things-scene/operato-scene/commit/54c7169201f1f34351a51511f62915a892c09dd0))
388
-
389
-
390
-
391
- ## [1.0.0-alpha.31](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-07-07)
392
-
393
- **Note:** Version bump only for package @operato/scene-news-ticker
394
-
395
-
396
-
397
-
398
-
399
- ## [1.0.0-alpha.30](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2022-07-05)
400
-
401
-
402
- ### :bug: Bug Fix
403
-
404
- * latest [@things-factory](https://github.com/things-factory) ([dac17fa](https://github.com/things-scene/operato-scene/commit/dac17faebadfd2bd2efb7192a3b1f3aafdac0cbd))
405
-
406
-
407
-
408
- ## [1.0.0-alpha.29](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-07-03)
409
-
410
- **Note:** Version bump only for package @operato/scene-news-ticker
411
-
412
-
413
-
414
-
415
-
416
- ## [1.0.0-alpha.28](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.27...v1.0.0-alpha.28) (2022-07-03)
417
-
418
-
419
- ### :bug: Bug Fix
420
-
421
- * latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([6ef27eb](https://github.com/things-scene/operato-scene/commit/6ef27eba820d7641e6c7cc3cedf815c0af74a6c7))
422
- * latest @hatiolab/things-scene [@operato](https://github.com/operato) ([353d090](https://github.com/things-scene/operato-scene/commit/353d0900a24a96aabde48405ee6ec18b1b227e09))
423
- * latest dependencies ([4ad53db](https://github.com/things-scene/operato-scene/commit/4ad53db21b0f88856f93fcbc3a12b80011d73a1b))
424
- * latest dependencies ([7328b85](https://github.com/things-scene/operato-scene/commit/7328b85c151feb718ca1bcdaf9ac36f9f721ed57))
425
-
426
-
427
-
428
- ## [1.0.0-alpha.27](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-06-22)
429
-
430
-
431
- ### :bug: Bug Fix
432
-
433
- * latest @hatiolab/things-scene ([5f7e8b6](https://github.com/things-scene/operato-scene/commit/5f7e8b6f40e7b73ac874be1d473eff847f14afe2))
434
- * latest @hatiolab/things-scene ([1bb48f0](https://github.com/things-scene/operato-scene/commit/1bb48f0259044085f690c817dbe0383a44b15f9b))
435
- * latest @hatiolab/things-scene [@operato](https://github.com/operato) ([ed2b7b8](https://github.com/things-scene/operato-scene/commit/ed2b7b83f0fd06780e6b9841cc6a1702b834e4ac))
436
-
437
-
438
-
439
- ## [1.0.0-alpha.26](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-06-20)
440
-
441
- **Note:** Version bump only for package @operato/scene-news-ticker
442
-
443
-
444
-
445
-
446
-
447
- ## [1.0.0-alpha.25](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-06-20)
448
-
449
- **Note:** Version bump only for package @operato/scene-news-ticker
450
-
451
-
452
-
453
-
454
-
455
- ## [1.0.0-alpha.24](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-06-20)
456
-
457
-
458
- ### :bug: Bug Fix
459
-
460
- * latest [@operato](https://github.com/operato) ([1a59e6f](https://github.com/things-scene/operato-scene/commit/1a59e6f0ced18902fee98b88933650e23f9ad420))
461
- * latest dependencies ([9ee4519](https://github.com/things-scene/operato-scene/commit/9ee4519adfe49e2eac8433f31ad5dea9257a1fca))
462
-
463
-
464
-
465
- ## [1.0.0-alpha.23](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-06-16)
466
-
467
-
468
- ### :bug: Bug Fix
469
-
470
- * latest [@operato](https://github.com/operato) ([45a542f](https://github.com/things-scene/operato-scene/commit/45a542f484a4fe552533a35eb90f2b100e01249f))
471
- * latest [@operato](https://github.com/operato) ([d4020ee](https://github.com/things-scene/operato-scene/commit/d4020eefc797da03d43b73708dcfd8541f5b30af))
472
-
473
-
474
-
475
- ## [1.0.0-alpha.22](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-06-16)
476
-
477
-
478
- ### :bug: Bug Fix
479
-
480
- * latest @hatiolab/things-scene ([0928090](https://github.com/things-scene/operato-scene/commit/09280903b4b0280ee8a76a4d1c2a0bf8d0997563))
481
-
482
-
483
-
484
- ## [1.0.0-alpha.21](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-06-16)
485
-
486
-
487
- ### :bug: Bug Fix
488
-
489
- * latest [@operato](https://github.com/operato) ([8384a79](https://github.com/things-scene/operato-scene/commit/8384a79c616db7c5fb437a480bb8c8337b75db84))
490
-
491
-
492
-
493
- ## [1.0.0-alpha.20](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-06-10)
494
-
495
- **Note:** Version bump only for package @operato/scene-news-ticker
496
-
497
-
498
-
499
-
500
-
501
- ## [1.0.0-alpha.19](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-06-09)
502
-
503
-
504
- ### :bug: Bug Fix
505
-
506
- * latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([c6a5475](https://github.com/things-scene/operato-scene/commit/c6a54751a3af539840fd57d031e09ee1552a7b4c))
507
-
508
-
509
-
510
- ## [1.0.0-alpha.18](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-05-30)
511
-
512
-
513
- ### :bug: Bug Fix
514
-
515
- * latest dependencies ([5fae24c](https://github.com/things-scene/operato-scene/commit/5fae24ce2e7d17b5e2e85fae4cee04cfca690549))
516
-
517
-
518
-
519
- ## [1.0.0-alpha.17](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-05-29)
520
-
521
-
522
- ### :bug: Bug Fix
523
-
524
- * latest things-scene & [@things-factory](https://github.com/things-factory) ([485bcce](https://github.com/things-scene/operato-scene/commit/485bccead07ccc5065088f1d458175f84083f9a5))
525
- * update [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([8552127](https://github.com/things-scene/operato-scene/commit/8552127bdda3282ac74e86b936342caa085f6bea))
526
-
527
-
528
-
529
- ## [1.0.0-alpha.16](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-05-23)
530
-
531
-
532
- ### :rocket: New Features
533
-
534
- * migrate data-transform from [@things-factory](https://github.com/things-factory) ([2b7c5d3](https://github.com/things-scene/operato-scene/commit/2b7c5d34027d611c5e8210cada8cd15272944fa5))
535
-
536
-
537
- ### :bug: Bug Fix
538
-
539
- * update dependencies ([8ef917f](https://github.com/things-scene/operato-scene/commit/8ef917f41e83126495d3b75ae3042bbd66cf12c3))
540
-
541
-
542
-
543
- ## [1.0.0-alpha.15](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-05-13)
544
-
545
- **Note:** Version bump only for package @operato/scene-news-ticker
546
-
547
-
548
-
549
-
550
-
551
- ## [1.0.0-alpha.14](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-05-01)
552
-
553
-
554
- ### :bug: Bug Fix
555
-
556
- * apply @hatiolab/things-scene 3.0.6 - memory free ([5778610](https://github.com/things-scene/operato-scene/commit/5778610aa6456709cb931a3185b189f1d3bd1ff9))
557
-
558
-
559
-
560
- ## [1.0.0-alpha.13](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-04-24)
561
-
562
-
563
- ### :bug: Bug Fix
564
-
565
- * "@hatiolab/things-scene": "^3.0.2" ([13057dd](https://github.com/things-scene/operato-scene/commit/13057dd2f8bbb3859abb479516c3483bcc15354b))
566
- * @hatiolab/things-scene 3.0.5 and [@operato](https://github.com/operato) 1.0.0-beta.7 ([bd69bf1](https://github.com/things-scene/operato-scene/commit/bd69bf134c1fe6789f4964f0e6525f728eee8275))
567
- * things-scene 3.0.1 ([288f953](https://github.com/things-scene/operato-scene/commit/288f953947d73ffa3f6e8743f8326570d1dace80))
568
-
569
-
570
-
571
- ## [1.0.0-alpha.12](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-04-18)
572
-
573
-
574
- ### :bug: Bug Fix
575
-
576
- * @hatiolab/things-scene 3.0.0 ([29021a5](https://github.com/things-scene/operato-scene/commit/29021a511e5dc1e91b337b155817d846883ceff7))
577
-
578
-
579
-
580
- ## [1.0.0-alpha.11](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-04-17)
581
-
582
- **Note:** Version bump only for package @operato/scene-news-ticker
583
-
584
-
585
-
586
-
587
-
588
- ## [1.0.0-alpha.10](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-04-10)
589
-
590
- **Note:** Version bump only for package @operato/scene-news-ticker
591
-
592
- ## [1.0.0-alpha.9](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-04-07)
593
-
594
- **Note:** Version bump only for package @operato/scene-news-ticker
595
-
596
- ## [1.0.0-alpha.8](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-04-07)
597
-
598
- **Note:** Version bump only for package @operato/scene-news-ticker
599
-
600
- ## [1.0.0-alpha.7](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-04-06)
601
-
602
- **Note:** Version bump only for package @operato/scene-news-ticker
603
-
604
- ## [1.0.0-alpha.6](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-04-05)
605
-
606
- ### :bug: Bug Fix
607
-
608
- - [@things-factory](https://github.com/things-factory) 5.0.0-alpha.36 ([459ce88](https://github.com/things-scene/operato-scene/commit/459ce884942ab11bcd1e9b9c6af7bf045b580a41))
609
-
610
- ## [1.0.0-alpha.5](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-04-03)
611
-
612
- ### :bug: Bug Fix
613
-
614
- - upgrade lit and operato, things-factory ([f056300](https://github.com/things-scene/operato-scene/commit/f056300c0e2f85c41715d3178f12c39bf3110a34))
615
-
616
- ## [1.0.0-alpha.4](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-03-13)
617
-
618
- ### :bug: Bug Fix
619
-
620
- - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([a8a147c](https://github.com/things-scene/operato-scene/commit/a8a147c972ed571e35d210feb3bfbc7cd31f280b))
621
-
622
- ## [1.0.0-alpha.3](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-03-13)
623
-
624
- ### :bug: Bug Fix
625
-
626
- - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([52c63fe](https://github.com/things-scene/operato-scene/commit/52c63fe1efde1a8fe6a9dc3b6852b1b2e12322bf))
627
-
628
- ## [1.0.0-alpha.2](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-13)
629
-
630
- ### :bug: Bug Fix
631
-
632
- - [@operato](https://github.com/operato) 1.0.0-alpha.14 ([c124d67](https://github.com/things-scene/operato-scene/commit/c124d672260ac940175a2a831f702aa3b5f5c996))
633
-
634
- ## [1.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v0.1.5...v1.0.0-alpha.1) (2022-03-13)
635
-
636
- ### :rocket: New Features
637
-
638
- - [@operato](https://github.com/operato) 1.0.0-alpha and [@things-factory](https://github.com/things-factory) 5.0.0-alpha ([5f7f2d4](https://github.com/things-scene/operato-scene/commit/5f7f2d45ccc8300822e712c93948850bcdb43687))
639
-
640
- ### [0.1.5](https://github.com/things-scene/operato-scene/compare/v0.1.4...v0.1.5) (2022-02-10)
641
-
642
- ### :rocket: New Features
643
-
644
- - move news-ticker to here ([c5e565d](https://github.com/things-scene/operato-scene/commit/c5e565dff6016977766e54b3b74c4f80838f7cd2))
package/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- /*
2
- * Copyright © 2017 HatioLab Inc. All rights reserved.
3
- */
4
-
5
- export { default as NewsTicker } from './news-ticker'
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright © HatioLab Inc. All rights reserved.
3
- */
4
-
5
- import './news-ticker-horizontal'
6
- import './news-ticker-vertical'
7
-
8
- import { html, LitElement } from 'lit'
9
- import { customElement, property } from 'lit/decorators.js'
10
-
11
- @customElement('ox-news-ticker')
12
- export default class ThingsNewsTicker extends LitElement {
13
- @property({ type: String }) textData: string = ''
14
- @property({ type: String }) fontFamily: string = ''
15
- @property({ type: String }) fontColor: string = ''
16
- @property({ type: String }) fontSize: string = ''
17
- @property({ type: String }) textAlign: string = ''
18
- @property({ type: Boolean }) isReverse: boolean = false
19
- @property({ type: Boolean }) isTextOverflowed: boolean = false
20
- @property({ type: String }) direction?: 'vertical' | 'horizontal'
21
- @property({ type: Number }) duration: number = 30000
22
-
23
- render() {
24
- return html`
25
- ${this.direction == 'vertical'
26
- ? html`
27
- <ox-news-ticker-vertical
28
- .duration=${this.duration}
29
- .isReverse=${this.isReverse}
30
- .isTextOverflowed=${this.isTextOverflowed}
31
- .textData=${this.textData}
32
- ></ox-news-ticker-vertical>
33
- `
34
- : html`
35
- <ox-news-ticker-horizontal
36
- .duration=${this.duration}
37
- .isReverse=${this.isReverse}
38
- .isTextOverflowed=${this.isTextOverflowed}
39
- .textData=${this.textData}
40
- ></ox-news-ticker-horizontal>
41
- `}
42
- `
43
- }
44
-
45
- updated() {
46
- this.style.setProperty('--ox-news-ticker-font-family', this.fontFamily)
47
- this.style.setProperty('--ox-news-ticker-font-size', this.fontSize)
48
- this.style.setProperty('--ox-news-ticker-font-color', this.fontColor)
49
- this.style.setProperty('--ox-news-ticker-text-align', this.textAlign)
50
- }
51
- }
@@ -1,128 +0,0 @@
1
- /*
2
- * Copyright © HatioLab Inc. All rights reserved.
3
- */
4
-
5
- import { css, html, LitElement, PropertyValues } from 'lit'
6
- import { customElement, property, query } from 'lit/decorators.js'
7
-
8
- @customElement('ox-news-ticker-horizontal')
9
- export default class ThingsNewsTickerHorizontal extends LitElement {
10
- static styles = [
11
- css`
12
- :host * {
13
- box-sizing: border-box;
14
- }
15
-
16
- :host .ticker-wrap {
17
- position: absolute;
18
- bottom: 0;
19
- width: 100%;
20
- overflow: hidden;
21
- height: 100%;
22
- background-color: rgba(#000, 0.9);
23
- padding-left: var(--ox-news-ticker-wrapper-padding-left);
24
- box-sizing: content-box;
25
- font-family: var(--ox-news-ticker-font-family);
26
- }
27
-
28
- :host .ticker-wrap .ticker {
29
- display: inline-block;
30
- min-width: 100%;
31
- text-align: var(--ox-news-ticker-text-align);
32
- height: 4rem;
33
- line-height: 4rem;
34
- white-space: nowrap;
35
- padding-right: var(--ox-news-ticker-container-padding-right);
36
- box-sizing: content-box;
37
- }
38
-
39
- :host .ticker-wrap .ticker__item {
40
- display: inline-block;
41
- font-size: var(--ox-news-ticker-font-size);
42
- color: var(--ox-news-ticker-font-color);
43
- }
44
-
45
- :host body {
46
- padding-bottom: 5rem;
47
- }
48
- :host h1,
49
- :host h2,
50
- :host p {
51
- padding: 0 5%;
52
- }
53
- `
54
- ]
55
-
56
- @property({ type: Boolean }) isReverse: boolean = false
57
- @property({ type: Boolean }) isTextOverflowed?: boolean
58
- @property({ type: Number }) duration: number = 30000
59
- @property({ type: String }) textData: string = ''
60
-
61
- private _anim?: Animation
62
-
63
- @query('.ticker-wrap .ticker') animationTargetEl!: Element
64
-
65
- get currentAnimation() {
66
- return this._anim
67
- }
68
-
69
- set currentAnimation(anim) {
70
- this._anim = anim
71
- }
72
-
73
- get textLines() {
74
- return this.textData.split('\n')
75
- }
76
-
77
- render() {
78
- return html`
79
- <div class="ticker-wrap">
80
- <div class="ticker">${this.textLines.map(t => html` <div class="ticker__item">${t}</div> `)}</div>
81
- </div>
82
- `
83
- }
84
-
85
- updated(changes: PropertyValues<this>) {
86
- if (
87
- changes.has('textData') ||
88
- changes.has('duration') ||
89
- changes.has('isReverse') ||
90
- changes.has('isTextOverflowed')
91
- ) {
92
- this.style.setProperty('--ox-news-ticker-wrapper-padding-left', this.isTextOverflowed ? '100%' : '0')
93
- this.style.setProperty('--ox-news-ticker-container-padding-right', this.isTextOverflowed ? '100%' : '0')
94
-
95
- this.startAnimation()
96
- }
97
- }
98
-
99
- startAnimation() {
100
- this.stopAnimation()
101
-
102
- if (!this.isTextOverflowed) return
103
-
104
- this.currentAnimation = this.animationTargetEl.animate(
105
- [
106
- {
107
- transform: 'translate3d(0, 0, 0)',
108
- visibility: 'hidden'
109
- },
110
- {
111
- transform: 'translate3d(-100%, 0, 0)',
112
- visibility: 'visible'
113
- }
114
- ],
115
- {
116
- duration: this.duration,
117
- iterations: Infinity,
118
- direction: this.isReverse ? 'reverse' : 'normal'
119
- }
120
- )
121
- }
122
-
123
- stopAnimation() {
124
- if (this.currentAnimation) {
125
- this.currentAnimation.cancel()
126
- }
127
- }
128
- }
@@ -1,125 +0,0 @@
1
- /*
2
- * Copyright © HatioLab Inc. All rights reserved.
3
- */
4
-
5
- import 'web-animations-js'
6
-
7
- import { css, html, LitElement, PropertyValues } from 'lit'
8
- import { customElement, property, query } from 'lit/decorators.js'
9
-
10
- const CUBIC_BEZIER_EASING = 'cubic-bezier(1, 0, 0.5, 0)'
11
-
12
- @customElement('ox-news-ticker-vertical')
13
- export default class ThingsNewsTickerVertical extends LitElement {
14
- static styles = [
15
- css`
16
- :host {
17
- display: block;
18
- overflow: hidden;
19
- height: 100%;
20
- width: 100%;
21
- box-sizing: border-box;
22
- }
23
-
24
- ul {
25
- margin: 0;
26
- padding: 0;
27
- list-style: none;
28
- white-space: nowrap;
29
- }
30
-
31
- #news_ticker {
32
- width: 100%;
33
- height: 100%;
34
- overflow: hidden;
35
- position: relative;
36
- }
37
-
38
- li {
39
- display: flex;
40
- height: 100%;
41
- align-items: center;
42
- overflow: hidden;
43
- text-align: var(--ox-news-ticker-text-align, left);
44
- }
45
-
46
- #news_ticker a {
47
- width: 100%;
48
- line-height: normal;
49
- color: var(--ox-news-ticker-font-color, black);
50
- text-decoration: none;
51
- font-size: var(--ox-news-ticker-font-size, 13px);
52
- }
53
- `
54
- ]
55
-
56
- @property({ type: Boolean }) isReverse: boolean = false
57
- @property({ type: Number }) duration: number = 30000
58
- @property({ type: String }) textData: string = ''
59
-
60
- private _anim?: Animation
61
-
62
- @query('#news_ticker > ul') animationTargetEl!: Element
63
-
64
- get currentAnimation() {
65
- return this._anim
66
- }
67
-
68
- set currentAnimation(anim) {
69
- this._anim = anim
70
- }
71
-
72
- get textLines() {
73
- return this.textData.split('\n')
74
- }
75
-
76
- render() {
77
- return html`
78
- <div id="news_ticker">
79
- <ul>
80
- ${this.textLines.map(t => html` <li><a href="#">${t}</a></li> `)}
81
- </ul>
82
- </div>
83
- `
84
- }
85
-
86
- updated(changes: PropertyValues<this>) {
87
- if (changes.has('textData') || changes.has('duration') || changes.has('isReverse')) {
88
- this.startAnimation()
89
- }
90
- }
91
-
92
- startAnimation() {
93
- this.stopAnimation()
94
-
95
- var frames = this.createAnimationFrames()
96
- this.currentAnimation = this.animationTargetEl.animate(frames, {
97
- duration: this.textLines.length * this.duration,
98
- iterations: Infinity,
99
- direction: this.isReverse ? 'reverse' : 'normal'
100
- })
101
- }
102
-
103
- stopAnimation() {
104
- if (this.currentAnimation) this.currentAnimation.cancel()
105
- }
106
-
107
- createAnimationFrames() {
108
- var textLinesLength = this.textLines.length
109
- var frames = this.textLines.map((t, i) => {
110
- return {
111
- transform: `translateY(${-(i / textLinesLength) * 100}%)`,
112
- offset: (1 / textLinesLength) * i,
113
- easing: CUBIC_BEZIER_EASING
114
- }
115
- })
116
-
117
- frames.push({
118
- transform: `translateY(0)`,
119
- offset: 1,
120
- easing: CUBIC_BEZIER_EASING
121
- })
122
-
123
- return frames
124
- }
125
- }
@@ -1,128 +0,0 @@
1
- /*
2
- * Copyright © 2017 HatioLab Inc. All rights reserved.
3
- */
4
-
5
- import './news-ticker-element'
6
-
7
- import { Component, ComponentNature, error, HTMLOverlayElement } from '@hatiolab/things-scene'
8
-
9
- import ThingsNewsTicker from './news-ticker-element'
10
-
11
- const NATURE: ComponentNature = {
12
- mutable: false,
13
- resizable: true,
14
- rotatable: true,
15
- properties: [
16
- {
17
- type: 'select',
18
- label: 'direction',
19
- name: 'direction',
20
- property: {
21
- options: [
22
- {
23
- display: 'horizontal',
24
- value: 'horizontal'
25
- },
26
- {
27
- display: 'vertical',
28
- value: 'vertical'
29
- }
30
- ]
31
- }
32
- },
33
- {
34
- type: 'checkbox',
35
- label: 'reverse',
36
- name: 'reverse'
37
- },
38
- {
39
- type: 'number',
40
- label: 'duration',
41
- name: 'duration',
42
- placeholder: 'seconds'
43
- }
44
- ],
45
- help: 'scene/component/news-ticker'
46
- }
47
-
48
- export default class NewsTicker extends HTMLOverlayElement {
49
- get nature() {
50
- return NATURE
51
- }
52
-
53
- get hasTextProperty() {
54
- return true
55
- }
56
-
57
- get tagName() {
58
- return 'ox-news-ticker'
59
- }
60
-
61
- createElement() {
62
- super.createElement()
63
-
64
- this.setState('text', '#{data}')
65
-
66
- var element = this.element
67
-
68
- element.style.overflow = 'hidden'
69
- }
70
-
71
- /* component.property => element.property */
72
- setElementProperties(element: HTMLElement) {
73
- try {
74
- var {
75
- direction = 'horizontal',
76
- reverse,
77
- textAlign,
78
- fontColor = 'black',
79
- fontSize = 13,
80
- font,
81
- duration = 30
82
- } = this.state
83
-
84
- var text = this.text
85
-
86
- var isReverse = reverse
87
- var isTextOverflowed = this.isTextOverflowed
88
-
89
- var newsTicker = element as ThingsNewsTicker
90
-
91
- newsTicker.direction = direction
92
- newsTicker.duration = duration * 1000
93
- newsTicker.fontColor = fontColor
94
- newsTicker.fontFamily = font
95
- newsTicker.fontSize = `${fontSize}px`
96
- newsTicker.textAlign = textAlign
97
- newsTicker.isReverse = isReverse
98
- newsTicker.isTextOverflowed = isTextOverflowed
99
- newsTicker.textData = text
100
- } catch (e) {
101
- error(e)
102
- }
103
- }
104
-
105
- get isTextOverflowed() {
106
- var { width } = this.bounds
107
- var span = document.createElement('span')
108
-
109
- // @ts-ignore
110
- span.style.font = this.font
111
- span.style.position = 'fixed'
112
- span.style.left = '-100%'
113
- span.style.visibility = 'none'
114
-
115
- span.textContent = this.text
116
-
117
- document.body.appendChild(span)
118
-
119
- var textBounds = span.getBoundingClientRect()
120
- var isOverflowed = width < textBounds.width
121
-
122
- document.body.removeChild(span)
123
-
124
- return isOverflowed
125
- }
126
- }
127
-
128
- Component.register('news-ticker', NewsTicker)
@@ -1,81 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- @license
4
- Copyright © 2017 HatioLab Inc. All rights reserved.
5
- -->
6
- <html>
7
- <head>
8
- <meta charset="utf-8" />
9
- <meta
10
- name="viewport"
11
- content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"
12
- />
13
-
14
- <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
15
- <script src="../../web-component-tester/browser.js"></script>
16
-
17
- <!-- Step 1: import the element to test -->
18
- <link rel="import" href="../things-scene-news-ticker.html" />
19
- </head>
20
- <body>
21
- <!-- You can use the document as a place to set up your fixtures. -->
22
- <test-fixture id="things-scene-news-ticker-fixture">
23
- <template>
24
- <things-scene-news-ticker>
25
- <h2>things-scene-news-ticker</h2>
26
- </things-scene-news-ticker>
27
- </template>
28
- </test-fixture>
29
-
30
- <script>
31
- suite('<things-scene-news-ticker>', function() {
32
- var myEl
33
-
34
- setup(function() {
35
- myEl = fixture('things-scene-news-ticker-fixture')
36
- })
37
-
38
- test('defines the "author" property', function() {
39
- assert.equal(myEl.author.name, 'Dimitri Glazkov')
40
- assert.equal(
41
- myEl.author.image,
42
- 'http://addyosmani.com/blog/wp-content/uploads/2013/04/unicorn.jpg'
43
- )
44
- })
45
-
46
- test('says hello', function() {
47
- assert.equal(
48
- myEl.sayHello(),
49
- 'things-scene-news-ticker says, Hello World!'
50
- )
51
-
52
- var greetings = myEl.sayHello('greetings Earthlings')
53
- assert.equal(
54
- greetings,
55
- 'things-scene-news-ticker says, greetings Earthlings'
56
- )
57
- })
58
-
59
- test('fires lasers', function(done) {
60
- myEl.addEventListener('things-scene-news-ticker-lasers', function(
61
- event
62
- ) {
63
- assert.equal(event.detail.sound, 'Pew pew!')
64
- done()
65
- })
66
- myEl.fireLasers()
67
- })
68
-
69
- test('distributed children', function() {
70
- var els = myEl.getContentChildren()
71
- assert.equal(els.length, 1, 'one distributed node')
72
- assert.equal(
73
- els[0],
74
- myEl.querySelector('h2'),
75
- 'content distributed correctly'
76
- )
77
- })
78
- })
79
- </script>
80
- </body>
81
- </html>
package/test/index.html DELETED
@@ -1,22 +0,0 @@
1
- <!DOCTYPE html>
2
- <!--
3
- @license
4
- Copyright © 2017 HatioLab Inc. All rights reserved.
5
- -->
6
- <html><head>
7
- <meta charset="utf-8">
8
- <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
9
-
10
- <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
11
- <script src="../../web-component-tester/browser.js"></script>
12
- </head>
13
- <body>
14
- <script>
15
- // Load and run all tests (.html, .js):
16
- WCT.loadSuites([
17
- 'basic-test.html',
18
- 'basic-test.html?dom=shadow'
19
- ]);
20
- </script>
21
-
22
- </body></html>
@@ -1,33 +0,0 @@
1
- /*
2
- * Copyright © 2017 HatioLab Inc. All rights reserved.
3
- */
4
-
5
- import './util'
6
-
7
- import { expect } from 'chai'
8
-
9
- import '../../bower_components/things-scene-core/things-scene-min'
10
- import { NewsTicker } from '../../src/index'
11
-
12
- describe('news-ticker', function() {
13
- var board
14
-
15
- beforeEach(function() {
16
- board = scene.create({
17
- model: {
18
- components: [
19
- {
20
- id: 'news-ticker',
21
- type: 'news-ticker'
22
- }
23
- ]
24
- }
25
- })
26
- })
27
-
28
- it('component should be found by its id.', function() {
29
- var component = board.findById('news-ticker')
30
-
31
- expect(!!component).not.to.equal(false)
32
- })
33
- })
package/test/unit/util.js DELETED
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright © 2017 HatioLab Inc. All rights reserved.
3
- */
4
-
5
- var noop = () => {}
6
-
7
- global.Canvas = require('canvas');
8
-
9
- Canvas.prototype.setAttribute = noop;
10
- Canvas.prototype.style = {};
11
-
12
- global.Image = Canvas.Image;
13
- global.screen = {
14
- width: 1280,
15
- height: 800
16
- };
17
-
18
- global.window = global;
19
-
20
- global.addEventListener = noop;
21
- global.location = {};
22
- global.getComputedStyle = noop;
package/tsconfig.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2018",
4
- "module": "esnext",
5
- "moduleResolution": "node",
6
- "noEmitOnError": true,
7
- "lib": ["es2019", "dom"],
8
- "strict": true,
9
- "esModuleInterop": false,
10
- "allowJs": true,
11
- "allowSyntheticDefaultImports": true,
12
- "experimentalDecorators": true,
13
- "importHelpers": true,
14
- "outDir": "dist",
15
- "sourceMap": true,
16
- "inlineSources": true,
17
- "rootDir": "src",
18
- "declaration": true,
19
- "incremental": true,
20
- "skipLibCheck": true,
21
- "types": []
22
- },
23
- "include": ["**/*.ts", "*.d.ts"]
24
- }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@lit/reactive-element/css-tag.d.ts","../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/lit-html/directive.d.ts","../../node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/lit-element.d.ts","../../node_modules/lit-html/is-server.d.ts","../../node_modules/lit/index.d.ts","../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../node_modules/lit/decorators.d.ts","./src/news-ticker-horizontal.ts","./src/news-ticker-vertical.ts","./src/news-ticker-element.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/news-ticker.ts","./src/index.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"4a882ffbb4ed09d9b7734f784aebb1dfe488d63725c40759165c5d9c657ca029","e056bb30bf82271634daeee81f772f4a7960085f01f6d4d09c8da1ebe5f6a623","5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576",{"version":"86492a546c3308feaf1dde967afd325c321483b5e96f5fa9e9b6e691dc23fa9e","affectsGlobalScope":true},"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e",{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","affectsGlobalScope":true},"d4b4f6148a6444ec92db4ac4c7dd7050ffc32b21a10276a59498e04740e8fd8d","2524f58c8d67af441b487c0ce0e0dd9c18bf3d06c05f621874dcda9780d8e22c","c7dd759e5948a94b42422ba7cf70eb8455416def9447614a3bdc1a99b81fc8bb","1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","cdeae34aca6700620ebf3f27cf7d439c3af97595dd6e2729fa4780483add5680","3ff87ea3471b51beaf4aa8fd8f4422862b11d343fdbb55bf383e0f8cc195a445","1cc188904259bd0985b24d9dc2a160891cb5e94210901466b951716fcdb4ff62","732fb71ecb695d6f36ddcbb72ebfe4ff6b6491d45101a00fa2b75a26b80d640f","039cb05125d7621f8143616c495b8e6b54249c4e64d2754b80ff93867f7f4b01","1b81f1fa82ad30af01ab1cae91ccaddc10c48f5916bbd6d282155e44a65d858d","a0fc7a02a75802678a67000607f20266cf1a49dc0e787967efe514e31b9ed0c3","5ebf098a1d81d400b8af82807cf19893700335cf91a7b9dbd83a5d737af34b11","101cf83ac3f9c5e1a7355a02e4fbe988877ef83c4ebec0ff0f02b2af022254a3","d017e2fcd44b46ca80cd2b592a6314e75f5caab5bda230f0f4a45e964049a43a","a8992b852521a66f63e0cedc6e1f054b28f972232b6fa5ca59771db6a1c8bbea",{"version":"a8c40372197fc158f6a977d658e3c9eda7dbe570b4716ee9bae0626e93040c5d","signature":"7713fdf2d9739f61d399095ed91bfb1ee398f334803c612445613acb1b2589d9"},{"version":"fa8e4e139749507ca5fc34d2cb4e4fb42fc92bc0f3ee16adfb7594ee99775e21","signature":"5872de9454cf8ae04f4796140b0034a90bd5dce69ef4c622b757bdbd5097a744"},{"version":"8f7bec4f26dd07f7a3009202127b429547e5e044bf559a2d9f3300e9a9ba5d35","signature":"892f6bfba9a55dfb37e423136a9c4cee3a40bb950197ad308fe2ee4e22234097"},"26d1ec00a52200684283272eaed524de74adc033bdff6522f72e03c796a46ff8",{"version":"dffa9372db50a8f8d78e93f22bd2c7e50d4f5fb11e5e1a5bc66b3d3005c4d465","signature":"812fdf64f460691211da4ddcfc8264e82b9706d11877c69915c0b12f676f3676"},{"version":"fc98b240b578f5f2a360943f0ed261e641bbd3f21fda82264f2d8d8eeeb897ce","signature":"2e7ba6d38f8f12963234d38608d1586e45d2ff808bac76b10455287a041616b5"}],"root":[[59,61],63,64],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[48],[40,48],[40,48,56],[50],[38,39],[41],[40,44],[44],[42,43],[49,50,51,52,53,54,55,56,57],[40,44,45,46],[37,63],[37,47,58,59,60],[37,47,58],[37,61,62]],"referencedMap":[[49,1],[52,2],[50,2],[54,2],[57,3],[56,2],[55,2],[53,2],[51,4],[40,5],[42,6],[45,7],[43,8],[44,9],[58,10],[47,11],[64,12],[61,13],[59,14],[60,14],[63,15]]},"version":"5.5.2"}