@operato/scene-news-ticker 8.0.0-beta.1 → 8.0.0-beta.2

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": "8.0.0-beta.1",
3
+ "version": "8.0.0-beta.2",
4
4
  "description": "News ticker Component for Things Scene.",
5
5
  "license": "MIT",
6
6
  "things-scene": true,
@@ -59,5 +59,5 @@
59
59
  "prettier --write"
60
60
  ]
61
61
  },
62
- "gitHead": "acb632aa522d8348f2602bcb614e2819d19a09ed"
62
+ "gitHead": "d6329b4f15ae63c2a99ec5b58ee1d527e88a4c36"
63
63
  }
package/CHANGELOG.md DELETED
@@ -1,679 +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
- ## [8.0.0-beta.1](https://github.com/things-scene/operato-scene/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-07)
7
-
8
-
9
- ### :bug: Bug Fix
10
-
11
- * [@things-factory](https://github.com/things-factory)@v8.0.0-beta ([2cd95a8](https://github.com/things-scene/operato-scene/commit/2cd95a8b07b588f3d96e5da2a0309910e683e33f))
12
-
13
-
14
-
15
- ## [8.0.0-beta.0](https://github.com/things-scene/operato-scene/compare/v8.0.0-alpha.12...v8.0.0-beta.0) (2025-01-07)
16
-
17
-
18
- ### :bug: Bug Fix
19
-
20
- * @hatiolab/things-scene@^8.0.0-beta ([c32f4c0](https://github.com/things-scene/operato-scene/commit/c32f4c00decf244ca82ae17a41e33f269e1882e7))
21
-
22
-
23
-
24
- ## [8.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v8.0.0-alpha.0...v8.0.0-alpha.1) (2024-09-09)
25
-
26
-
27
- ### :bug: Bug Fix
28
-
29
- * update [@things-factory](https://github.com/things-factory)@^8.0.0-alpha ([1dc3163](https://github.com/things-scene/operato-scene/commit/1dc31638ed9d3fd0ecb2ac55be0ce541e5599ab8))
30
-
31
-
32
-
33
- ## [8.0.0-alpha.0](https://github.com/things-scene/operato-scene/compare/v7.3.7...v8.0.0-alpha.0) (2024-09-01)
34
-
35
- **Note:** Version bump only for package @operato/scene-news-ticker
36
-
37
-
38
-
39
-
40
-
41
- ## [7.0.1](https://github.com/things-scene/operato-scene/compare/v7.0.0...v7.0.1) (2024-06-30)
42
-
43
-
44
- ### :bug: Bug Fix
45
-
46
- * things-factory@7.0.0 ([f4cfe44](https://github.com/things-scene/operato-scene/commit/f4cfe44cb565e7b8fdc0df210a722b6526871848))
47
-
48
-
49
-
50
- ## [7.0.0](https://github.com/things-scene/operato-scene/compare/v7.0.0-rc.4...v7.0.0) (2024-06-30)
51
-
52
- **Note:** Version bump only for package @operato/scene-news-ticker
53
-
54
-
55
-
56
-
57
-
58
- ## [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)
59
-
60
-
61
- ### :bug: Bug Fix
62
-
63
- * apply v7-rc dependencies ([eee5612](https://github.com/things-scene/operato-scene/commit/eee5612e1d569387c284a7c6c49d64ef44b6d701))
64
-
65
-
66
-
67
- ## [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)
68
-
69
- **Note:** Version bump only for package @operato/scene-news-ticker
70
-
71
-
72
-
73
-
74
-
75
- ## [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)
76
-
77
-
78
- ### :rocket: New Features
79
-
80
- * 2.0.0-beta.0 ([a2e2869](https://github.com/things-scene/operato-scene/commit/a2e28694eedf5bab0c54bcab5432d54ec59edd7f))
81
-
82
-
83
- ### :bug: Bug Fix
84
-
85
- * allowJs in tsconfig option ([fa77174](https://github.com/things-scene/operato-scene/commit/fa771742188f21f177f0a85281570f59f0c478cf))
86
-
87
-
88
-
89
- ## [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)
90
-
91
-
92
- ### :bug: Bug Fix
93
-
94
- * ignore 'cache' folder for git and npm ([d70f811](https://github.com/things-scene/operato-scene/commit/d70f8118ff3e9248f80aa9435d6e6cbb8aacfcaf))
95
-
96
-
97
-
98
- ## [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)
99
-
100
-
101
- ### :bug: Bug Fix
102
-
103
- * things-factory@7.0.1 ([a9f4c18](https://github.com/things-scene/operato-scene/commit/a9f4c1873b80c540e4c2e16649e127ccffcf9a4c))
104
-
105
-
106
-
107
- ## [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)
108
-
109
-
110
- ### :bug: Bug Fix
111
-
112
- * upgrade lit ([87e6494](https://github.com/things-scene/operato-scene/commit/87e6494e02a74ec768d0695089aea36184afe572))
113
-
114
-
115
-
116
- ## [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)
117
-
118
-
119
- ### :bug: Bug Fix
120
-
121
- * translation ([266d423](https://github.com/things-scene/operato-scene/commit/266d423d9d6992464f45a437acc90ccf8ed33bf6))
122
-
123
-
124
-
125
- ## [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)
126
-
127
-
128
- ### :bug: Bug Fix
129
-
130
- * 컴포넌트 명 다국어 ([fbc26d9](https://github.com/things-scene/operato-scene/commit/fbc26d9fb24e858541598ba55e2b8d33f2df8d8a))
131
-
132
-
133
-
134
- ## [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)
135
-
136
-
137
- ### :bug: Bug Fix
138
-
139
- * 컴포넌트 명 다국어 ([64e1f08](https://github.com/things-scene/operato-scene/commit/64e1f08af32d2ac193c3d31b0025f8d06f569ca4))
140
-
141
-
142
-
143
- ## [2.0.0-alpha.0](https://github.com/things-scene/operato-scene/compare/v1.3.9...v2.0.0-alpha.0) (2024-01-14)
144
-
145
-
146
- ### :bug: Bug Fix
147
-
148
- * 2.0.0-alpha.0 ([93274e3](https://github.com/things-scene/operato-scene/commit/93274e36c5d184f339f83899654dd48b4786ac2b))
149
-
150
-
151
-
152
- ## [1.3.7](https://github.com/things-scene/operato-scene/compare/v1.3.6...v1.3.7) (2024-01-01)
153
-
154
-
155
- ### :bug: Bug Fix
156
-
157
- * mpi module moved from things-factory ([47b743f](https://github.com/things-scene/operato-scene/commit/47b743fd19001f195db85e50b8f6e457a1573aa5))
158
-
159
-
160
-
161
- ## [1.2.90](https://github.com/things-scene/operato-scene/compare/v1.2.89...v1.2.90) (2023-11-22)
162
-
163
- **Note:** Version bump only for package @operato/scene-news-ticker
164
-
165
-
166
-
167
-
168
-
169
- ## [1.2.87](https://github.com/things-scene/operato-scene/compare/v1.2.86...v1.2.87) (2023-11-10)
170
-
171
- **Note:** Version bump only for package @operato/scene-news-ticker
172
-
173
-
174
-
175
-
176
-
177
- ## [1.2.76](https://github.com/things-scene/operato-scene/compare/v1.2.75...v1.2.76) (2023-10-28)
178
-
179
-
180
- ### :bug: Bug Fix
181
-
182
- * scene-tab ([ad62f96](https://github.com/things-scene/operato-scene/commit/ad62f967b149eb5adf8f2e0714d79e8a9dc7186c))
183
-
184
-
185
-
186
- ## [1.2.66](https://github.com/things-scene/operato-scene/compare/v1.2.65...v1.2.66) (2023-09-14)
187
-
188
- **Note:** Version bump only for package @operato/scene-news-ticker
189
-
190
-
191
-
192
-
193
-
194
- ## [1.2.65](https://github.com/things-scene/operato-scene/compare/v1.2.64...v1.2.65) (2023-09-14)
195
-
196
- **Note:** Version bump only for package @operato/scene-news-ticker
197
-
198
-
199
-
200
-
201
-
202
- ## [1.2.62](https://github.com/things-scene/operato-scene/compare/v1.2.61...v1.2.62) (2023-09-11)
203
-
204
- **Note:** Version bump only for package @operato/scene-news-ticker
205
-
206
-
207
-
208
-
209
-
210
- ## [1.2.49](https://github.com/things-scene/operato-scene/compare/v1.2.48...v1.2.49) (2023-06-26)
211
-
212
-
213
- ### :bug: Bug Fix
214
-
215
- * missing .npmignore ([61ba4f2](https://github.com/things-scene/operato-scene/commit/61ba4f2ae22a865d700a971d62eb01f950c34d0e))
216
-
217
-
218
-
219
- ## [1.2.46](https://github.com/things-scene/operato-scene/compare/v1.2.45...v1.2.46) (2023-06-10)
220
-
221
-
222
- ### :bug: Bug Fix
223
-
224
- * typescript build options ([3eb0d7f](https://github.com/things-scene/operato-scene/commit/3eb0d7fd80e2c3cea698501aa1d9d54903423a7b))
225
-
226
-
227
-
228
- ## [1.2.36](https://github.com/things-scene/operato-scene/compare/v1.2.35...v1.2.36) (2023-05-13)
229
-
230
-
231
- ### :bug: Bug Fix
232
-
233
- * license ([d37d485](https://github.com/things-scene/operato-scene/commit/d37d48597407dea1ad022e674f2899720e56d695))
234
-
235
-
236
-
237
- ## [1.2.29](https://github.com/things-scene/operato-scene/compare/v1.2.28...v1.2.29) (2023-04-30)
238
-
239
-
240
- ### :bug: Bug Fix
241
-
242
- * update module's version ([047d08b](https://github.com/things-scene/operato-scene/commit/047d08b5d912d12c04b2f6b63156d1e812588365))
243
-
244
-
245
-
246
- ### [1.2.27](https://github.com/things-scene/operato-scene/compare/v1.2.26...v1.2.27) (2023-04-22)
247
-
248
- **Note:** Version bump only for package @operato/scene-news-ticker
249
-
250
-
251
-
252
-
253
-
254
- ### [1.2.4](https://github.com/things-scene/operato-scene/compare/v1.2.3...v1.2.4) (2023-02-13)
255
-
256
- **Note:** Version bump only for package @operato/scene-news-ticker
257
-
258
-
259
-
260
-
261
-
262
- ### [1.2.2](https://github.com/things-scene/operato-scene/compare/v1.2.1...v1.2.2) (2023-02-09)
263
-
264
-
265
- ### :bug: Bug Fix
266
-
267
- * migrate scene-urdf from things-factory ([3f75f87](https://github.com/things-scene/operato-scene/commit/3f75f8743e993a9a3ed595eed8f94b15da042a31))
268
-
269
-
270
-
271
- ## [1.2.0](https://github.com/things-scene/operato-scene/compare/v1.1.29...v1.2.0) (2023-02-07)
272
-
273
-
274
- ### :bug: Bug Fix
275
-
276
- * [@things-factory](https://github.com/things-factory)@6.0.0 ([5927ebb](https://github.com/things-scene/operato-scene/commit/5927ebb5113be2b914cc47005eb7115d69481695))
277
- * updating dependencies ([f4dd8fc](https://github.com/things-scene/operato-scene/commit/f4dd8fcdaa03b67de78189c6d574b30a995456f0))
278
-
279
-
280
-
281
- ### [1.1.23](https://github.com/things-scene/operato-scene/compare/v1.1.22...v1.1.23) (2022-12-18)
282
-
283
-
284
- ### :bug: Bug Fix
285
-
286
- * latest @hatiolab/things-scene ([8d6afb5](https://github.com/things-scene/operato-scene/commit/8d6afb5ecbd453260615fca229f1d74b0ea6e4ee))
287
-
288
-
289
-
290
- ### [1.1.15](https://github.com/things-scene/operato-scene/compare/v1.1.14...v1.1.15) (2022-11-13)
291
-
292
-
293
- ### :bug: Bug Fix
294
-
295
- * use @things-factory/operato-board@6.0.0-zeta.x ([a9deef9](https://github.com/things-scene/operato-scene/commit/a9deef935fde00c6c0d09ca424ca949ac24cbd6a))
296
-
297
-
298
-
299
- ### [1.1.8](https://github.com/things-scene/operato-scene/compare/v1.1.7...v1.1.8) (2022-11-05)
300
-
301
- **Note:** Version bump only for package @operato/scene-news-ticker
302
-
303
-
304
-
305
-
306
-
307
- ### [1.1.5](https://github.com/things-scene/operato-scene/compare/v1.1.4...v1.1.5) (2022-11-05)
308
-
309
-
310
- ### :bug: Bug Fix
311
-
312
- * templates ([78a23e4](https://github.com/things-scene/operato-scene/commit/78a23e42c3a13b1fd50af223d3a7c5f6739ed8a3))
313
- * update things-scene ([84f2a9f](https://github.com/things-scene/operato-scene/commit/84f2a9fa6fe5fcb22444caf489de8a5aa84000a2))
314
-
315
-
316
-
317
- ## [1.1.0](https://github.com/things-scene/operato-scene/compare/v1.0.7...v1.1.0) (2022-11-03)
318
-
319
-
320
- ### :bug: Bug Fix
321
-
322
- * typescript 4.8.4, lit 2.4.0 ([13ab528](https://github.com/things-scene/operato-scene/commit/13ab528b9034987940dd73b015489813bd2682be))
323
-
324
-
325
-
326
- ### [1.0.7](https://github.com/things-scene/operato-scene/compare/v1.0.6...v1.0.7) (2022-10-17)
327
-
328
-
329
- ### :bug: Bug Fix
330
-
331
- * latest [@things-factory](https://github.com/things-factory) for dev ([a20923a](https://github.com/things-scene/operato-scene/commit/a20923a3caa8a915c17f46885d014bd5334c5ea6))
332
-
333
-
334
-
335
- ### [1.0.2](https://github.com/things-scene/operato-scene/compare/v1.0.1...v1.0.2) (2022-08-04)
336
-
337
-
338
- ### :bug: Bug Fix
339
-
340
- * apply concurrently to serve target ([e777342](https://github.com/things-scene/operato-scene/commit/e777342c9310f722542db9baecf49ef94e77c3a0))
341
-
342
-
343
-
344
- ### [1.0.1](https://github.com/things-scene/operato-scene/compare/v1.0.0...v1.0.1) (2022-08-01)
345
-
346
-
347
- ### :bug: Bug Fix
348
-
349
- * latest dependencies ([0e4cc8c](https://github.com/things-scene/operato-scene/commit/0e4cc8c6087f89412f1b29772656c63653648d5a))
350
-
351
-
352
-
353
- ## [1.0.0](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.38...v1.0.0) (2022-07-24)
354
-
355
-
356
- ### :bug: Bug Fix
357
-
358
- * latest dependencies ([b435b97](https://github.com/things-scene/operato-scene/commit/b435b970f86f7e81d820a7656ecd6e0d4878ec42))
359
-
360
-
361
-
362
- ## [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)
363
-
364
-
365
- ### :bug: Bug Fix
366
-
367
- * latest dependencies ([8a4cf6b](https://github.com/things-scene/operato-scene/commit/8a4cf6bfc9eed2bdb991eb77df9dba4b42de45e7))
368
-
369
-
370
-
371
- ## [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)
372
-
373
-
374
- ### :bug: Bug Fix
375
-
376
- * latest dependencies ([cb2e928](https://github.com/things-scene/operato-scene/commit/cb2e92871da17a11ac9c68b3c4ead5df59429973))
377
-
378
-
379
-
380
- ## [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)
381
-
382
-
383
- ### :bug: Bug Fix
384
-
385
- * integration use @operato/graphql client and subscribe ([d184eb3](https://github.com/things-scene/operato-scene/commit/d184eb35c9447ef1ecb6f5abe88ee1677345f487))
386
-
387
-
388
-
389
- ## [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)
390
-
391
-
392
- ### :bug: Bug Fix
393
-
394
- * latest dependencies ([f5ea226](https://github.com/things-scene/operato-scene/commit/f5ea2264cde9ee6a0e20586ce9e86e47a3d8d922))
395
- * latest dependencies ([7438dd3](https://github.com/things-scene/operato-scene/commit/7438dd3de9bdef939051ff72aad4c1b5608b6ab9))
396
-
397
-
398
-
399
- ## [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)
400
-
401
-
402
- ### :bug: Bug Fix
403
-
404
- * latest [@things-factory](https://github.com/things-factory) ([03247f1](https://github.com/things-scene/operato-scene/commit/03247f188183fd784721521ff06ef49c440849bf))
405
-
406
-
407
-
408
- ## [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)
409
-
410
- **Note:** Version bump only for package @operato/scene-news-ticker
411
-
412
-
413
-
414
-
415
-
416
- ## [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)
417
-
418
-
419
- ### :bug: Bug Fix
420
-
421
- * latest [@things-factory](https://github.com/things-factory) ([a5ea8ba](https://github.com/things-scene/operato-scene/commit/a5ea8ba70af7ac74e7cdee77fb74a152a0079366))
422
- * update dependencies ([54c7169](https://github.com/things-scene/operato-scene/commit/54c7169201f1f34351a51511f62915a892c09dd0))
423
-
424
-
425
-
426
- ## [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)
427
-
428
- **Note:** Version bump only for package @operato/scene-news-ticker
429
-
430
-
431
-
432
-
433
-
434
- ## [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)
435
-
436
-
437
- ### :bug: Bug Fix
438
-
439
- * latest [@things-factory](https://github.com/things-factory) ([dac17fa](https://github.com/things-scene/operato-scene/commit/dac17faebadfd2bd2efb7192a3b1f3aafdac0cbd))
440
-
441
-
442
-
443
- ## [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)
444
-
445
- **Note:** Version bump only for package @operato/scene-news-ticker
446
-
447
-
448
-
449
-
450
-
451
- ## [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)
452
-
453
-
454
- ### :bug: Bug Fix
455
-
456
- * latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([6ef27eb](https://github.com/things-scene/operato-scene/commit/6ef27eba820d7641e6c7cc3cedf815c0af74a6c7))
457
- * latest @hatiolab/things-scene [@operato](https://github.com/operato) ([353d090](https://github.com/things-scene/operato-scene/commit/353d0900a24a96aabde48405ee6ec18b1b227e09))
458
- * latest dependencies ([4ad53db](https://github.com/things-scene/operato-scene/commit/4ad53db21b0f88856f93fcbc3a12b80011d73a1b))
459
- * latest dependencies ([7328b85](https://github.com/things-scene/operato-scene/commit/7328b85c151feb718ca1bcdaf9ac36f9f721ed57))
460
-
461
-
462
-
463
- ## [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)
464
-
465
-
466
- ### :bug: Bug Fix
467
-
468
- * latest @hatiolab/things-scene ([5f7e8b6](https://github.com/things-scene/operato-scene/commit/5f7e8b6f40e7b73ac874be1d473eff847f14afe2))
469
- * latest @hatiolab/things-scene ([1bb48f0](https://github.com/things-scene/operato-scene/commit/1bb48f0259044085f690c817dbe0383a44b15f9b))
470
- * latest @hatiolab/things-scene [@operato](https://github.com/operato) ([ed2b7b8](https://github.com/things-scene/operato-scene/commit/ed2b7b83f0fd06780e6b9841cc6a1702b834e4ac))
471
-
472
-
473
-
474
- ## [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)
475
-
476
- **Note:** Version bump only for package @operato/scene-news-ticker
477
-
478
-
479
-
480
-
481
-
482
- ## [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)
483
-
484
- **Note:** Version bump only for package @operato/scene-news-ticker
485
-
486
-
487
-
488
-
489
-
490
- ## [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)
491
-
492
-
493
- ### :bug: Bug Fix
494
-
495
- * latest [@operato](https://github.com/operato) ([1a59e6f](https://github.com/things-scene/operato-scene/commit/1a59e6f0ced18902fee98b88933650e23f9ad420))
496
- * latest dependencies ([9ee4519](https://github.com/things-scene/operato-scene/commit/9ee4519adfe49e2eac8433f31ad5dea9257a1fca))
497
-
498
-
499
-
500
- ## [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)
501
-
502
-
503
- ### :bug: Bug Fix
504
-
505
- * latest [@operato](https://github.com/operato) ([45a542f](https://github.com/things-scene/operato-scene/commit/45a542f484a4fe552533a35eb90f2b100e01249f))
506
- * latest [@operato](https://github.com/operato) ([d4020ee](https://github.com/things-scene/operato-scene/commit/d4020eefc797da03d43b73708dcfd8541f5b30af))
507
-
508
-
509
-
510
- ## [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)
511
-
512
-
513
- ### :bug: Bug Fix
514
-
515
- * latest @hatiolab/things-scene ([0928090](https://github.com/things-scene/operato-scene/commit/09280903b4b0280ee8a76a4d1c2a0bf8d0997563))
516
-
517
-
518
-
519
- ## [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)
520
-
521
-
522
- ### :bug: Bug Fix
523
-
524
- * latest [@operato](https://github.com/operato) ([8384a79](https://github.com/things-scene/operato-scene/commit/8384a79c616db7c5fb437a480bb8c8337b75db84))
525
-
526
-
527
-
528
- ## [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)
529
-
530
- **Note:** Version bump only for package @operato/scene-news-ticker
531
-
532
-
533
-
534
-
535
-
536
- ## [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)
537
-
538
-
539
- ### :bug: Bug Fix
540
-
541
- * latest [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([c6a5475](https://github.com/things-scene/operato-scene/commit/c6a54751a3af539840fd57d031e09ee1552a7b4c))
542
-
543
-
544
-
545
- ## [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)
546
-
547
-
548
- ### :bug: Bug Fix
549
-
550
- * latest dependencies ([5fae24c](https://github.com/things-scene/operato-scene/commit/5fae24ce2e7d17b5e2e85fae4cee04cfca690549))
551
-
552
-
553
-
554
- ## [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)
555
-
556
-
557
- ### :bug: Bug Fix
558
-
559
- * latest things-scene & [@things-factory](https://github.com/things-factory) ([485bcce](https://github.com/things-scene/operato-scene/commit/485bccead07ccc5065088f1d458175f84083f9a5))
560
- * update [@operato](https://github.com/operato) [@things-factory](https://github.com/things-factory) ([8552127](https://github.com/things-scene/operato-scene/commit/8552127bdda3282ac74e86b936342caa085f6bea))
561
-
562
-
563
-
564
- ## [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)
565
-
566
-
567
- ### :rocket: New Features
568
-
569
- * migrate data-transform from [@things-factory](https://github.com/things-factory) ([2b7c5d3](https://github.com/things-scene/operato-scene/commit/2b7c5d34027d611c5e8210cada8cd15272944fa5))
570
-
571
-
572
- ### :bug: Bug Fix
573
-
574
- * update dependencies ([8ef917f](https://github.com/things-scene/operato-scene/commit/8ef917f41e83126495d3b75ae3042bbd66cf12c3))
575
-
576
-
577
-
578
- ## [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)
579
-
580
- **Note:** Version bump only for package @operato/scene-news-ticker
581
-
582
-
583
-
584
-
585
-
586
- ## [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)
587
-
588
-
589
- ### :bug: Bug Fix
590
-
591
- * apply @hatiolab/things-scene 3.0.6 - memory free ([5778610](https://github.com/things-scene/operato-scene/commit/5778610aa6456709cb931a3185b189f1d3bd1ff9))
592
-
593
-
594
-
595
- ## [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)
596
-
597
-
598
- ### :bug: Bug Fix
599
-
600
- * "@hatiolab/things-scene": "^3.0.2" ([13057dd](https://github.com/things-scene/operato-scene/commit/13057dd2f8bbb3859abb479516c3483bcc15354b))
601
- * @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))
602
- * things-scene 3.0.1 ([288f953](https://github.com/things-scene/operato-scene/commit/288f953947d73ffa3f6e8743f8326570d1dace80))
603
-
604
-
605
-
606
- ## [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)
607
-
608
-
609
- ### :bug: Bug Fix
610
-
611
- * @hatiolab/things-scene 3.0.0 ([29021a5](https://github.com/things-scene/operato-scene/commit/29021a511e5dc1e91b337b155817d846883ceff7))
612
-
613
-
614
-
615
- ## [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)
616
-
617
- **Note:** Version bump only for package @operato/scene-news-ticker
618
-
619
-
620
-
621
-
622
-
623
- ## [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)
624
-
625
- **Note:** Version bump only for package @operato/scene-news-ticker
626
-
627
- ## [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)
628
-
629
- **Note:** Version bump only for package @operato/scene-news-ticker
630
-
631
- ## [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)
632
-
633
- **Note:** Version bump only for package @operato/scene-news-ticker
634
-
635
- ## [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)
636
-
637
- **Note:** Version bump only for package @operato/scene-news-ticker
638
-
639
- ## [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)
640
-
641
- ### :bug: Bug Fix
642
-
643
- - [@things-factory](https://github.com/things-factory) 5.0.0-alpha.36 ([459ce88](https://github.com/things-scene/operato-scene/commit/459ce884942ab11bcd1e9b9c6af7bf045b580a41))
644
-
645
- ## [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)
646
-
647
- ### :bug: Bug Fix
648
-
649
- - upgrade lit and operato, things-factory ([f056300](https://github.com/things-scene/operato-scene/commit/f056300c0e2f85c41715d3178f12c39bf3110a34))
650
-
651
- ## [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)
652
-
653
- ### :bug: Bug Fix
654
-
655
- - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([a8a147c](https://github.com/things-scene/operato-scene/commit/a8a147c972ed571e35d210feb3bfbc7cd31f280b))
656
-
657
- ## [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)
658
-
659
- ### :bug: Bug Fix
660
-
661
- - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([52c63fe](https://github.com/things-scene/operato-scene/commit/52c63fe1efde1a8fe6a9dc3b6852b1b2e12322bf))
662
-
663
- ## [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)
664
-
665
- ### :bug: Bug Fix
666
-
667
- - [@operato](https://github.com/operato) 1.0.0-alpha.14 ([c124d67](https://github.com/things-scene/operato-scene/commit/c124d672260ac940175a2a831f702aa3b5f5c996))
668
-
669
- ## [1.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v0.1.5...v1.0.0-alpha.1) (2022-03-13)
670
-
671
- ### :rocket: New Features
672
-
673
- - [@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))
674
-
675
- ### [0.1.5](https://github.com/things-scene/operato-scene/compare/v0.1.4...v0.1.5) (2022-02-10)
676
-
677
- ### :rocket: New Features
678
-
679
- - 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
- {"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.arraybuffer.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/lit-html/directive.d.ts","../../node_modules/@types/trusted-types/lib/index.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"],"fileIdsList":[[48],[41,48],[41,48,56],[50],[39,40],[41,44],[44],[42,43],[49,50,51,52,53,54,55,56,57],[41,44,45,46],[38,63],[38,47,58,59,60],[38,47,58],[38,61,62]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"e056bb30bf82271634daeee81f772f4a7960085f01f6d4d09c8da1ebe5f6a623","impliedFormat":99},{"version":"5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","impliedFormat":99},{"version":"86492a546c3308feaf1dde967afd325c321483b5e96f5fa9e9b6e691dc23fa9e","affectsGlobalScope":true,"impliedFormat":99},{"version":"00cb63103f9670f8094c238a4a7e252c8b4c06ba371fea5c44add7e41b7247e4","impliedFormat":99},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","impliedFormat":1},{"version":"43f58358870effc43ba93c92c040dee2285cbd8685ddfa77658e498780727c4e","impliedFormat":99},{"version":"9a318e3a8900672b85cd3c8c3a5acf51b88049557a3ae897ccdcf2b85a8f61f9","impliedFormat":99},{"version":"1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","impliedFormat":99},{"version":"dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be","impliedFormat":99},{"version":"cdeae34aca6700620ebf3f27cf7d439c3af97595dd6e2729fa4780483add5680","impliedFormat":99},{"version":"3ff87ea3471b51beaf4aa8fd8f4422862b11d343fdbb55bf383e0f8cc195a445","impliedFormat":99},{"version":"1cc188904259bd0985b24d9dc2a160891cb5e94210901466b951716fcdb4ff62","impliedFormat":99},{"version":"732fb71ecb695d6f36ddcbb72ebfe4ff6b6491d45101a00fa2b75a26b80d640f","impliedFormat":99},{"version":"039cb05125d7621f8143616c495b8e6b54249c4e64d2754b80ff93867f7f4b01","impliedFormat":99},{"version":"1b81f1fa82ad30af01ab1cae91ccaddc10c48f5916bbd6d282155e44a65d858d","impliedFormat":99},{"version":"a0fc7a02a75802678a67000607f20266cf1a49dc0e787967efe514e31b9ed0c3","impliedFormat":99},{"version":"5ebf098a1d81d400b8af82807cf19893700335cf91a7b9dbd83a5d737af34b11","impliedFormat":99},{"version":"101cf83ac3f9c5e1a7355a02e4fbe988877ef83c4ebec0ff0f02b2af022254a3","impliedFormat":99},{"version":"d017e2fcd44b46ca80cd2b592a6314e75f5caab5bda230f0f4a45e964049a43a","impliedFormat":99},{"version":"a8992b852521a66f63e0cedc6e1f054b28f972232b6fa5ca59771db6a1c8bbea","impliedFormat":99},{"version":"a8c40372197fc158f6a977d658e3c9eda7dbe570b4716ee9bae0626e93040c5d","signature":"7713fdf2d9739f61d399095ed91bfb1ee398f334803c612445613acb1b2589d9"},{"version":"fa8e4e139749507ca5fc34d2cb4e4fb42fc92bc0f3ee16adfb7594ee99775e21","signature":"5872de9454cf8ae04f4796140b0034a90bd5dce69ef4c622b757bdbd5097a744"},{"version":"8f7bec4f26dd07f7a3009202127b429547e5e044bf559a2d9f3300e9a9ba5d35","signature":"892f6bfba9a55dfb37e423136a9c4cee3a40bb950197ad308fe2ee4e22234097"},{"version":"ef4e4dc2fd14de20903f5010671dab9cf547c831dce4802306676c80649b990b","impliedFormat":1},{"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},"referencedMap":[[49,1],[52,2],[50,2],[54,2],[57,3],[56,2],[55,2],[53,2],[51,4],[41,5],[45,6],[42,7],[44,8],[58,9],[47,10],[64,11],[61,12],[59,13],[60,13],[63,14]],"version":"5.7.2"}