@ltht-react/timeline 1.0.67 → 1.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,536 +1,544 @@
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
- ## 1.0.67 (2022-05-18)
7
-
8
- **Note:** Version bump only for package @ltht-react/timeline
9
-
10
-
11
-
12
-
13
-
14
- ## 1.0.66 (2022-05-17)
15
-
16
- **Note:** Version bump only for package @ltht-react/timeline
17
-
18
-
19
-
20
-
21
-
22
- ## 1.0.65 (2022-05-16)
23
-
24
- **Note:** Version bump only for package @ltht-react/timeline
25
-
26
-
27
-
28
-
29
-
30
- ## 1.0.64 (2022-05-16)
31
-
32
- **Note:** Version bump only for package @ltht-react/timeline
33
-
34
-
35
-
36
-
37
-
38
- ## 1.0.63 (2022-05-13)
39
-
40
- **Note:** Version bump only for package @ltht-react/timeline
41
-
42
-
43
-
44
-
45
-
46
- ## 1.0.62 (2022-05-12)
47
-
48
- **Note:** Version bump only for package @ltht-react/timeline
49
-
50
-
51
-
52
-
53
-
54
- ## 1.0.61 (2022-05-11)
55
-
56
- **Note:** Version bump only for package @ltht-react/timeline
57
-
58
-
59
-
60
-
61
-
62
- ## 1.0.60 (2022-05-06)
63
-
64
- **Note:** Version bump only for package @ltht-react/timeline
65
-
66
-
67
-
68
-
69
-
70
- ## 1.0.59 (2022-05-04)
71
-
72
- **Note:** Version bump only for package @ltht-react/timeline
73
-
74
-
75
-
76
-
77
-
78
- ## 1.0.58 (2022-05-03)
79
-
80
- **Note:** Version bump only for package @ltht-react/timeline
81
-
82
-
83
-
84
-
85
-
86
- ## 1.0.57 (2022-04-26)
87
-
88
- **Note:** Version bump only for package @ltht-react/timeline
89
-
90
-
91
-
92
-
93
-
94
- ## 1.0.56 (2022-04-26)
95
-
96
- **Note:** Version bump only for package @ltht-react/timeline
97
-
98
-
99
-
100
-
101
-
102
- ## 1.0.55 (2022-04-25)
103
-
104
- **Note:** Version bump only for package @ltht-react/timeline
105
-
106
-
107
-
108
-
109
-
110
- ## 1.0.54 (2022-04-22)
111
-
112
- **Note:** Version bump only for package @ltht-react/timeline
113
-
114
-
115
-
116
-
117
-
118
- ## 1.0.53 (2022-03-31)
119
-
120
- **Note:** Version bump only for package @ltht-react/timeline
121
-
122
-
123
-
124
-
125
-
126
- ## 1.0.52 (2022-03-22)
127
-
128
- **Note:** Version bump only for package @ltht-react/timeline
129
-
130
-
131
-
132
-
133
-
134
- ## 1.0.51 (2022-03-21)
135
-
136
- **Note:** Version bump only for package @ltht-react/timeline
137
-
138
-
139
-
140
-
141
-
142
- ## 1.0.50 (2022-03-18)
143
-
144
- **Note:** Version bump only for package @ltht-react/timeline
145
-
146
-
147
-
148
-
149
-
150
- ## 1.0.49 (2022-03-18)
151
-
152
- **Note:** Version bump only for package @ltht-react/timeline
153
-
154
-
155
-
156
-
157
-
158
- ## 1.0.48 (2022-03-10)
159
-
160
- **Note:** Version bump only for package @ltht-react/timeline
161
-
162
-
163
-
164
-
165
-
166
- ## 1.0.47 (2022-03-08)
167
-
168
- **Note:** Version bump only for package @ltht-react/timeline
169
-
170
-
171
-
172
-
173
-
174
- ## 1.0.46 (2022-03-02)
175
-
176
- **Note:** Version bump only for package @ltht-react/timeline
177
-
178
-
179
-
180
-
181
-
182
- ## 1.0.45 (2022-02-17)
183
-
184
- **Note:** Version bump only for package @ltht-react/timeline
185
-
186
-
187
-
188
-
189
-
190
- ## 1.0.44 (2022-02-16)
191
-
192
- **Note:** Version bump only for package @ltht-react/timeline
193
-
194
-
195
-
196
-
197
-
198
- ## 1.0.43 (2022-02-15)
199
-
200
- **Note:** Version bump only for package @ltht-react/timeline
201
-
202
-
203
-
204
-
205
-
206
- ## 1.0.42 (2022-02-11)
207
-
208
- **Note:** Version bump only for package @ltht-react/timeline
209
-
210
-
211
-
212
-
213
-
214
- ## 1.0.41 (2022-02-11)
215
-
216
- **Note:** Version bump only for package @ltht-react/timeline
217
-
218
-
219
-
220
-
221
-
222
- ## 1.0.40 (2022-02-10)
223
-
224
- **Note:** Version bump only for package @ltht-react/timeline
225
-
226
-
227
-
228
-
229
-
230
- ## 1.0.39 (2022-02-09)
231
-
232
- **Note:** Version bump only for package @ltht-react/timeline
233
-
234
-
235
-
236
-
237
-
238
- ## 1.0.38 (2022-02-07)
239
-
240
- **Note:** Version bump only for package @ltht-react/timeline
241
-
242
-
243
-
244
-
245
-
246
- ## 1.0.37 (2022-02-02)
247
-
248
- **Note:** Version bump only for package @ltht-react/timeline
249
-
250
-
251
-
252
-
253
-
254
- ## 1.0.36 (2022-02-02)
255
-
256
- **Note:** Version bump only for package @ltht-react/timeline
257
-
258
-
259
-
260
-
261
-
262
- ## 1.0.35 (2022-01-25)
263
-
264
- **Note:** Version bump only for package @ltht-react/timeline
265
-
266
-
267
-
268
-
269
-
270
- ## 1.0.34 (2022-01-21)
271
-
272
- **Note:** Version bump only for package @ltht-react/timeline
273
-
274
-
275
-
276
-
277
-
278
- ## 1.0.33 (2022-01-19)
279
-
280
- **Note:** Version bump only for package @ltht-react/timeline
281
-
282
-
283
-
284
-
285
-
286
- ## 1.0.32 (2022-01-19)
287
-
288
- **Note:** Version bump only for package @ltht-react/timeline
289
-
290
-
291
-
292
-
293
-
294
- ## 1.0.31 (2022-01-18)
295
-
296
- **Note:** Version bump only for package @ltht-react/timeline
297
-
298
-
299
-
300
-
301
-
302
- ## 1.0.30 (2022-01-17)
303
-
304
- **Note:** Version bump only for package @ltht-react/timeline
305
-
306
-
307
-
308
-
309
-
310
- ## 1.0.29 (2022-01-11)
311
-
312
- **Note:** Version bump only for package @ltht-react/timeline
313
-
314
-
315
-
316
-
317
-
318
- ## 1.0.28 (2022-01-10)
319
-
320
- **Note:** Version bump only for package @ltht-react/timeline
321
-
322
-
323
-
324
-
325
-
326
- ## 1.0.27 (2022-01-07)
327
-
328
- **Note:** Version bump only for package @ltht-react/timeline
329
-
330
-
331
-
332
-
333
-
334
- ## 1.0.26 (2022-01-07)
335
-
336
- **Note:** Version bump only for package @ltht-react/timeline
337
-
338
-
339
-
340
-
341
-
342
- ## 1.0.25 (2022-01-06)
343
-
344
- **Note:** Version bump only for package @ltht-react/timeline
345
-
346
-
347
-
348
-
349
-
350
- ## 1.0.24 (2022-01-05)
351
-
352
- **Note:** Version bump only for package @ltht-react/timeline
353
-
354
-
355
-
356
-
357
-
358
- ## 1.0.23 (2022-01-05)
359
-
360
- **Note:** Version bump only for package @ltht-react/timeline
361
-
362
-
363
-
364
-
365
-
366
- ## 1.0.22 (2022-01-04)
367
-
368
- **Note:** Version bump only for package @ltht-react/timeline
369
-
370
-
371
-
372
-
373
-
374
- ## 1.0.21 (2021-12-16)
375
-
376
- **Note:** Version bump only for package @ltht-react/timeline
377
-
378
-
379
-
380
-
381
-
382
- ## 1.0.20 (2021-12-02)
383
-
384
- **Note:** Version bump only for package @ltht-react/timeline
385
-
386
-
387
-
388
-
389
-
390
- ## 1.0.19 (2021-12-02)
391
-
392
- **Note:** Version bump only for package @ltht-react/timeline
393
-
394
-
395
-
396
-
397
-
398
- ## 1.0.18 (2021-12-01)
399
-
400
- **Note:** Version bump only for package @ltht-react/timeline
401
-
402
-
403
-
404
-
405
-
406
- ## 1.0.17 (2021-11-24)
407
-
408
- **Note:** Version bump only for package @ltht-react/timeline
409
-
410
-
411
-
412
-
413
-
414
- ## 1.0.16 (2021-11-24)
415
-
416
- **Note:** Version bump only for package @ltht-react/timeline
417
-
418
-
419
-
420
-
421
-
422
- ## 1.0.15 (2021-11-24)
423
-
424
- **Note:** Version bump only for package @ltht-react/timeline
425
-
426
-
427
-
428
-
429
-
430
- ## 1.0.14 (2021-11-23)
431
-
432
- **Note:** Version bump only for package @ltht-react/timeline
433
-
434
-
435
-
436
-
437
-
438
- ## 1.0.13 (2021-10-22)
439
-
440
- **Note:** Version bump only for package @ltht-react/timeline
441
-
442
-
443
-
444
-
445
-
446
- ## 1.0.12 (2021-10-19)
447
-
448
- **Note:** Version bump only for package @ltht-react/timeline
449
-
450
-
451
-
452
-
453
-
454
- ## 1.0.11 (2021-10-13)
455
-
456
- **Note:** Version bump only for package @ltht-react/timeline
457
-
458
-
459
-
460
-
461
-
462
- ## 1.0.10 (2021-10-05)
463
-
464
- **Note:** Version bump only for package @ltht-react/timeline
465
-
466
-
467
-
468
-
469
-
470
- ## 1.0.9 (2021-10-05)
471
-
472
- **Note:** Version bump only for package @ltht-react/timeline
473
-
474
-
475
-
476
-
477
-
478
- ## 1.0.8 (2021-09-30)
479
-
480
- **Note:** Version bump only for package @ltht-react/timeline
481
-
482
-
483
-
484
-
485
-
486
- ## 1.0.7 (2021-09-29)
487
-
488
- **Note:** Version bump only for package @ltht-react/timeline
489
-
490
-
491
-
492
-
493
-
494
- ## 1.0.6 (2021-09-28)
495
-
496
- **Note:** Version bump only for package @ltht-react/timeline
497
-
498
-
499
-
500
-
501
-
502
- ## 1.0.5 (2021-09-22)
503
-
504
- **Note:** Version bump only for package @ltht-react/timeline
505
-
506
-
507
-
508
-
509
-
510
- ## 1.0.4 (2021-09-21)
511
-
512
- **Note:** Version bump only for package @ltht-react/timeline
513
-
514
-
515
-
516
-
517
-
518
- ## 1.0.3 (2021-09-20)
519
-
520
- **Note:** Version bump only for package @ltht-react/timeline
521
-
522
-
523
-
524
-
525
-
526
- ## 1.0.2 (2021-09-17)
527
-
528
- **Note:** Version bump only for package @ltht-react/timeline
529
-
530
-
531
-
532
-
533
-
534
- ## 1.0.1 (2021-09-17)
535
-
536
- **Note:** Version bump only for package @ltht-react/timeline
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
+ ## 1.0.68 (2022-05-25)
7
+
8
+ **Note:** Version bump only for package @ltht-react/timeline
9
+
10
+
11
+
12
+
13
+
14
+ ## 1.0.67 (2022-05-18)
15
+
16
+ **Note:** Version bump only for package @ltht-react/timeline
17
+
18
+
19
+
20
+
21
+
22
+ ## 1.0.66 (2022-05-17)
23
+
24
+ **Note:** Version bump only for package @ltht-react/timeline
25
+
26
+
27
+
28
+
29
+
30
+ ## 1.0.65 (2022-05-16)
31
+
32
+ **Note:** Version bump only for package @ltht-react/timeline
33
+
34
+
35
+
36
+
37
+
38
+ ## 1.0.64 (2022-05-16)
39
+
40
+ **Note:** Version bump only for package @ltht-react/timeline
41
+
42
+
43
+
44
+
45
+
46
+ ## 1.0.63 (2022-05-13)
47
+
48
+ **Note:** Version bump only for package @ltht-react/timeline
49
+
50
+
51
+
52
+
53
+
54
+ ## 1.0.62 (2022-05-12)
55
+
56
+ **Note:** Version bump only for package @ltht-react/timeline
57
+
58
+
59
+
60
+
61
+
62
+ ## 1.0.61 (2022-05-11)
63
+
64
+ **Note:** Version bump only for package @ltht-react/timeline
65
+
66
+
67
+
68
+
69
+
70
+ ## 1.0.60 (2022-05-06)
71
+
72
+ **Note:** Version bump only for package @ltht-react/timeline
73
+
74
+
75
+
76
+
77
+
78
+ ## 1.0.59 (2022-05-04)
79
+
80
+ **Note:** Version bump only for package @ltht-react/timeline
81
+
82
+
83
+
84
+
85
+
86
+ ## 1.0.58 (2022-05-03)
87
+
88
+ **Note:** Version bump only for package @ltht-react/timeline
89
+
90
+
91
+
92
+
93
+
94
+ ## 1.0.57 (2022-04-26)
95
+
96
+ **Note:** Version bump only for package @ltht-react/timeline
97
+
98
+
99
+
100
+
101
+
102
+ ## 1.0.56 (2022-04-26)
103
+
104
+ **Note:** Version bump only for package @ltht-react/timeline
105
+
106
+
107
+
108
+
109
+
110
+ ## 1.0.55 (2022-04-25)
111
+
112
+ **Note:** Version bump only for package @ltht-react/timeline
113
+
114
+
115
+
116
+
117
+
118
+ ## 1.0.54 (2022-04-22)
119
+
120
+ **Note:** Version bump only for package @ltht-react/timeline
121
+
122
+
123
+
124
+
125
+
126
+ ## 1.0.53 (2022-03-31)
127
+
128
+ **Note:** Version bump only for package @ltht-react/timeline
129
+
130
+
131
+
132
+
133
+
134
+ ## 1.0.52 (2022-03-22)
135
+
136
+ **Note:** Version bump only for package @ltht-react/timeline
137
+
138
+
139
+
140
+
141
+
142
+ ## 1.0.51 (2022-03-21)
143
+
144
+ **Note:** Version bump only for package @ltht-react/timeline
145
+
146
+
147
+
148
+
149
+
150
+ ## 1.0.50 (2022-03-18)
151
+
152
+ **Note:** Version bump only for package @ltht-react/timeline
153
+
154
+
155
+
156
+
157
+
158
+ ## 1.0.49 (2022-03-18)
159
+
160
+ **Note:** Version bump only for package @ltht-react/timeline
161
+
162
+
163
+
164
+
165
+
166
+ ## 1.0.48 (2022-03-10)
167
+
168
+ **Note:** Version bump only for package @ltht-react/timeline
169
+
170
+
171
+
172
+
173
+
174
+ ## 1.0.47 (2022-03-08)
175
+
176
+ **Note:** Version bump only for package @ltht-react/timeline
177
+
178
+
179
+
180
+
181
+
182
+ ## 1.0.46 (2022-03-02)
183
+
184
+ **Note:** Version bump only for package @ltht-react/timeline
185
+
186
+
187
+
188
+
189
+
190
+ ## 1.0.45 (2022-02-17)
191
+
192
+ **Note:** Version bump only for package @ltht-react/timeline
193
+
194
+
195
+
196
+
197
+
198
+ ## 1.0.44 (2022-02-16)
199
+
200
+ **Note:** Version bump only for package @ltht-react/timeline
201
+
202
+
203
+
204
+
205
+
206
+ ## 1.0.43 (2022-02-15)
207
+
208
+ **Note:** Version bump only for package @ltht-react/timeline
209
+
210
+
211
+
212
+
213
+
214
+ ## 1.0.42 (2022-02-11)
215
+
216
+ **Note:** Version bump only for package @ltht-react/timeline
217
+
218
+
219
+
220
+
221
+
222
+ ## 1.0.41 (2022-02-11)
223
+
224
+ **Note:** Version bump only for package @ltht-react/timeline
225
+
226
+
227
+
228
+
229
+
230
+ ## 1.0.40 (2022-02-10)
231
+
232
+ **Note:** Version bump only for package @ltht-react/timeline
233
+
234
+
235
+
236
+
237
+
238
+ ## 1.0.39 (2022-02-09)
239
+
240
+ **Note:** Version bump only for package @ltht-react/timeline
241
+
242
+
243
+
244
+
245
+
246
+ ## 1.0.38 (2022-02-07)
247
+
248
+ **Note:** Version bump only for package @ltht-react/timeline
249
+
250
+
251
+
252
+
253
+
254
+ ## 1.0.37 (2022-02-02)
255
+
256
+ **Note:** Version bump only for package @ltht-react/timeline
257
+
258
+
259
+
260
+
261
+
262
+ ## 1.0.36 (2022-02-02)
263
+
264
+ **Note:** Version bump only for package @ltht-react/timeline
265
+
266
+
267
+
268
+
269
+
270
+ ## 1.0.35 (2022-01-25)
271
+
272
+ **Note:** Version bump only for package @ltht-react/timeline
273
+
274
+
275
+
276
+
277
+
278
+ ## 1.0.34 (2022-01-21)
279
+
280
+ **Note:** Version bump only for package @ltht-react/timeline
281
+
282
+
283
+
284
+
285
+
286
+ ## 1.0.33 (2022-01-19)
287
+
288
+ **Note:** Version bump only for package @ltht-react/timeline
289
+
290
+
291
+
292
+
293
+
294
+ ## 1.0.32 (2022-01-19)
295
+
296
+ **Note:** Version bump only for package @ltht-react/timeline
297
+
298
+
299
+
300
+
301
+
302
+ ## 1.0.31 (2022-01-18)
303
+
304
+ **Note:** Version bump only for package @ltht-react/timeline
305
+
306
+
307
+
308
+
309
+
310
+ ## 1.0.30 (2022-01-17)
311
+
312
+ **Note:** Version bump only for package @ltht-react/timeline
313
+
314
+
315
+
316
+
317
+
318
+ ## 1.0.29 (2022-01-11)
319
+
320
+ **Note:** Version bump only for package @ltht-react/timeline
321
+
322
+
323
+
324
+
325
+
326
+ ## 1.0.28 (2022-01-10)
327
+
328
+ **Note:** Version bump only for package @ltht-react/timeline
329
+
330
+
331
+
332
+
333
+
334
+ ## 1.0.27 (2022-01-07)
335
+
336
+ **Note:** Version bump only for package @ltht-react/timeline
337
+
338
+
339
+
340
+
341
+
342
+ ## 1.0.26 (2022-01-07)
343
+
344
+ **Note:** Version bump only for package @ltht-react/timeline
345
+
346
+
347
+
348
+
349
+
350
+ ## 1.0.25 (2022-01-06)
351
+
352
+ **Note:** Version bump only for package @ltht-react/timeline
353
+
354
+
355
+
356
+
357
+
358
+ ## 1.0.24 (2022-01-05)
359
+
360
+ **Note:** Version bump only for package @ltht-react/timeline
361
+
362
+
363
+
364
+
365
+
366
+ ## 1.0.23 (2022-01-05)
367
+
368
+ **Note:** Version bump only for package @ltht-react/timeline
369
+
370
+
371
+
372
+
373
+
374
+ ## 1.0.22 (2022-01-04)
375
+
376
+ **Note:** Version bump only for package @ltht-react/timeline
377
+
378
+
379
+
380
+
381
+
382
+ ## 1.0.21 (2021-12-16)
383
+
384
+ **Note:** Version bump only for package @ltht-react/timeline
385
+
386
+
387
+
388
+
389
+
390
+ ## 1.0.20 (2021-12-02)
391
+
392
+ **Note:** Version bump only for package @ltht-react/timeline
393
+
394
+
395
+
396
+
397
+
398
+ ## 1.0.19 (2021-12-02)
399
+
400
+ **Note:** Version bump only for package @ltht-react/timeline
401
+
402
+
403
+
404
+
405
+
406
+ ## 1.0.18 (2021-12-01)
407
+
408
+ **Note:** Version bump only for package @ltht-react/timeline
409
+
410
+
411
+
412
+
413
+
414
+ ## 1.0.17 (2021-11-24)
415
+
416
+ **Note:** Version bump only for package @ltht-react/timeline
417
+
418
+
419
+
420
+
421
+
422
+ ## 1.0.16 (2021-11-24)
423
+
424
+ **Note:** Version bump only for package @ltht-react/timeline
425
+
426
+
427
+
428
+
429
+
430
+ ## 1.0.15 (2021-11-24)
431
+
432
+ **Note:** Version bump only for package @ltht-react/timeline
433
+
434
+
435
+
436
+
437
+
438
+ ## 1.0.14 (2021-11-23)
439
+
440
+ **Note:** Version bump only for package @ltht-react/timeline
441
+
442
+
443
+
444
+
445
+
446
+ ## 1.0.13 (2021-10-22)
447
+
448
+ **Note:** Version bump only for package @ltht-react/timeline
449
+
450
+
451
+
452
+
453
+
454
+ ## 1.0.12 (2021-10-19)
455
+
456
+ **Note:** Version bump only for package @ltht-react/timeline
457
+
458
+
459
+
460
+
461
+
462
+ ## 1.0.11 (2021-10-13)
463
+
464
+ **Note:** Version bump only for package @ltht-react/timeline
465
+
466
+
467
+
468
+
469
+
470
+ ## 1.0.10 (2021-10-05)
471
+
472
+ **Note:** Version bump only for package @ltht-react/timeline
473
+
474
+
475
+
476
+
477
+
478
+ ## 1.0.9 (2021-10-05)
479
+
480
+ **Note:** Version bump only for package @ltht-react/timeline
481
+
482
+
483
+
484
+
485
+
486
+ ## 1.0.8 (2021-09-30)
487
+
488
+ **Note:** Version bump only for package @ltht-react/timeline
489
+
490
+
491
+
492
+
493
+
494
+ ## 1.0.7 (2021-09-29)
495
+
496
+ **Note:** Version bump only for package @ltht-react/timeline
497
+
498
+
499
+
500
+
501
+
502
+ ## 1.0.6 (2021-09-28)
503
+
504
+ **Note:** Version bump only for package @ltht-react/timeline
505
+
506
+
507
+
508
+
509
+
510
+ ## 1.0.5 (2021-09-22)
511
+
512
+ **Note:** Version bump only for package @ltht-react/timeline
513
+
514
+
515
+
516
+
517
+
518
+ ## 1.0.4 (2021-09-21)
519
+
520
+ **Note:** Version bump only for package @ltht-react/timeline
521
+
522
+
523
+
524
+
525
+
526
+ ## 1.0.3 (2021-09-20)
527
+
528
+ **Note:** Version bump only for package @ltht-react/timeline
529
+
530
+
531
+
532
+
533
+
534
+ ## 1.0.2 (2021-09-17)
535
+
536
+ **Note:** Version bump only for package @ltht-react/timeline
537
+
538
+
539
+
540
+
541
+
542
+ ## 1.0.1 (2021-09-17)
543
+
544
+ **Note:** Version bump only for package @ltht-react/timeline
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
- # Timeline
2
-
3
- ### Import
4
-
5
- ```js
6
- import Timeline from '@ltht-react/timeline'
7
- ```
8
-
9
- ### Usage
10
-
11
- ```jsx
12
- <Timeline auditTrail={auditTrail} />
13
- ```
14
-
15
- ### Properties
16
-
17
- | Prop | Required | Default | Type | Description |
18
- | :----------- | :------- | :------ | :-------------------- | :----------------- |
19
- | `auditTrail` | Yes | | `Maybe<AuditEvent>[]` | Timeline of events |
1
+ # Timeline
2
+
3
+ ### Import
4
+
5
+ ```js
6
+ import Timeline from '@ltht-react/timeline'
7
+ ```
8
+
9
+ ### Usage
10
+
11
+ ```jsx
12
+ <Timeline auditTrail={auditTrail} />
13
+ ```
14
+
15
+ ### Properties
16
+
17
+ | Prop | Required | Default | Type | Description |
18
+ | :----------- | :------- | :------ | :-------------------- | :----------------- |
19
+ | `auditTrail` | Yes | | `Maybe<AuditEvent>[]` | Timeline of events |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ltht-react/timeline",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "> TODO: description",
5
5
  "author": "Jonny Dyson",
6
6
  "homepage": "",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@emotion/styled": "^11.0.0",
26
- "@ltht-react/hooks": "^1.0.69",
27
- "@ltht-react/icon": "^1.3.79",
28
- "@ltht-react/styles": "^1.3.71",
29
- "@ltht-react/types": "^1.0.75",
30
- "@ltht-react/utils": "^1.1.77",
26
+ "@ltht-react/hooks": "^1.0.70",
27
+ "@ltht-react/icon": "^1.3.80",
28
+ "@ltht-react/styles": "^1.3.72",
29
+ "@ltht-react/types": "^1.0.76",
30
+ "@ltht-react/utils": "^1.1.78",
31
31
  "react": "^17.0.0",
32
32
  "react-html-parser": "^2.0.2"
33
33
  },
34
- "gitHead": "b472494ad74a753dd8ee008681fc31345a9e5ecd"
34
+ "gitHead": "596404bdecdfbcbe541c6d6f277c12afd5ac402a"
35
35
  }
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const TimelineDate: FC;
3
- export default TimelineDate;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var jsx_runtime_1 = require("react/jsx-runtime");
4
- // import { AllergyIntolerance } from '@ltht-react/types'
5
- var TimelineDate = function () { return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Date" }, void 0); };
6
- exports.default = TimelineDate;
7
- //# sourceMappingURL=timeline-date.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-date.js","sourceRoot":"","sources":["../../src/atoms/timeline-date.tsx"],"names":[],"mappings":";;;AACA,yDAAyD;AAEzD,IAAM,YAAY,GAAO,cAAM,OAAA,uEAAS,EAAT,CAAS,CAAA;AAExC,kBAAe,YAAY,CAAA"}
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { AuditEvent, Maybe } from '@ltht-react/types';
3
- declare const TimelineDay: FC<IProps>;
4
- interface IProps {
5
- auditItems: Maybe<AuditEvent>[];
6
- day: string;
7
- }
8
- export default TimelineDay;
@@ -1,92 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __importDefault = (this && this.__importDefault) || function (mod) {
18
- return (mod && mod.__esModule) ? mod : { "default": mod };
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- var jsx_runtime_1 = require("react/jsx-runtime");
22
- var styled_1 = __importDefault(require("@emotion/styled"));
23
- var icon_1 = require("@ltht-react/icon");
24
- var styles_1 = require("@ltht-react/styles");
25
- var hooks_1 = require("@ltht-react/hooks");
26
- var utils_1 = require("@ltht-react/utils");
27
- var timeline_time_1 = __importDefault(require("../atoms/timeline-time"));
28
- var timeline_item_1 = __importDefault(require("../molecules/timeline-item"));
29
- var StyledTimelineDayBody = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: white;\n position: relative;\n\n &:before {\n content: '';\n position: absolute;\n z-index: 1;\n height: ", ";\n left: calc(50% - 1px);\n border-width: 0 0 0 2px;\n border-color: ", ";\n border-style: solid;\n }\n"], ["\n background-color: white;\n position: relative;\n\n &:before {\n content: '';\n position: absolute;\n z-index: 1;\n height: ", ";\n left: calc(50% - 1px);\n border-width: 0 0 0 2px;\n border-color: ", ";\n border-style: solid;\n }\n"])), function (_a) {
30
- var isMobile = _a.isMobile;
31
- return (isMobile ? '0%' : '100%');
32
- }, styles_1.TEXT_COLOURS.INFO);
33
- var StyledTimelineDayHeader = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n padding: 0.5rem;\n text-align: center;\n font-weight: bold;\n"], ["\n background-color: ", ";\n padding: 0.5rem;\n text-align: center;\n font-weight: bold;\n"])), styles_1.BANNER_COLOURS.DEFAULT.BACKGROUND);
34
- var StyledTimelineDayItem = styled_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: inline-block;\n width: 100%;\n justify-content: center;\n padding: ", ";\n margin: ", ";\n"], ["\n display: inline-block;\n width: 100%;\n justify-content: center;\n padding: ", ";\n margin: ", ";\n"])), function (_a) {
35
- var isMobile = _a.isMobile;
36
- return (isMobile ? '' : '0 0.5rem');
37
- }, function (_a) {
38
- var isMobile = _a.isMobile;
39
- return (isMobile ? '0.5rem 0' : '1rem 0');
40
- });
41
- var StyledTimelineDayContent = styled_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: ", ";\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n"], ["\n width: ", ";\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n"])), function (_a) {
42
- var isMobile = _a.isMobile;
43
- return (isMobile ? '100%' : '49%');
44
- });
45
- var StyledTimelineDayLine = styled_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 2%;\n vertical-align: top;\n margin-top: 0.125rem;\n display: inline-block;\n text-align: center;\n position: relative;\n height: 100%;\n"], ["\n width: 2%;\n vertical-align: top;\n margin-top: 0.125rem;\n display: inline-block;\n text-align: center;\n position: relative;\n height: 100%;\n"])));
46
- var StyledTimelineDayTimeLeft = styled_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 49%;\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n text-align: right;\n font-weight: bold;\n"], ["\n width: 49%;\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n text-align: right;\n font-weight: bold;\n"])));
47
- var StyledTimelineDayTimeRight = styled_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 49%;\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n text-align: left;\n font-weight: bold;\n"], ["\n width: 49%;\n padding: 0 0.5rem;\n display: inline-block;\n vertical-align: top;\n text-align: left;\n font-weight: bold;\n"])));
48
- var StyledOuterCircle = styled_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n .icon__circle {\n position: absolute;\n z-index: 1;\n transform: translate(-50%);\n -webkit-transform: translate(-50%);\n -ms-transform: translate(-50%);\n left: 50%;\n color: ", ";\n font-size: 0.75rem;\n }\n"], ["\n .icon__circle {\n position: absolute;\n z-index: 1;\n transform: translate(-50%);\n -webkit-transform: translate(-50%);\n -ms-transform: translate(-50%);\n left: 50%;\n color: ", ";\n font-size: 0.75rem;\n }\n"])), styles_1.TEXT_COLOURS.INFO);
49
- var StyledInnerCircle = styled_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n .icon__circle {\n position: absolute;\n z-index: 2;\n top: 0.125rem;\n transform: translate(-50%);\n -webkit-transform: translate(-50%);\n -ms-transform: translate(-50%);\n left: 50%;\n color: white;\n font-size: 0.5rem;\n }\n"], ["\n .icon__circle {\n position: absolute;\n z-index: 2;\n top: 0.125rem;\n transform: translate(-50%);\n -webkit-transform: translate(-50%);\n -ms-transform: translate(-50%);\n left: 50%;\n color: white;\n font-size: 0.5rem;\n }\n"])));
50
- var TimelineDay = function (props) {
51
- var width = hooks_1.useWindowSize().width;
52
- var isMobile = utils_1.isMobileView(width);
53
- var audit = props.auditItems;
54
- if (isMobile) {
55
- return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(StyledTimelineDayHeader, { children: props.day }, void 0),
56
- jsx_runtime_1.jsx(StyledTimelineDayBody, __assign({ isMobile: isMobile }, { children: audit === null || audit === void 0 ? void 0 : audit.map(function (auditItem) { return (jsx_runtime_1.jsx(StyledTimelineDayItem, __assign({ isMobile: isMobile }, { children: jsx_runtime_1.jsx(StyledTimelineDayContent, __assign({ isMobile: isMobile }, { children: jsx_runtime_1.jsx(timeline_item_1.default, { audit: auditItem }, void 0) }), void 0) }), void 0)); }) }), void 0)] }, void 0));
57
- }
58
- var position = 0;
59
- return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [jsx_runtime_1.jsx(StyledTimelineDayHeader, { children: props.day }, void 0),
60
- jsx_runtime_1.jsx(StyledTimelineDayBody, __assign({ isMobile: isMobile }, { children: audit === null || audit === void 0 ? void 0 : audit.map(function (auditItem, idx) {
61
- var _a, _b, _c, _d, _e, _f, _g, _h;
62
- if (!((_b = (_a = auditItem === null || auditItem === void 0 ? void 0 : auditItem.period) === null || _a === void 0 ? void 0 : _a.start) === null || _b === void 0 ? void 0 : _b.value)) {
63
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0);
64
- }
65
- var currentTime = utils_1.formatTime(new Date((_d = (_c = auditItem === null || auditItem === void 0 ? void 0 : auditItem.period) === null || _c === void 0 ? void 0 : _c.start) === null || _d === void 0 ? void 0 : _d.value));
66
- var previousTime = currentTime;
67
- if (idx > 0) {
68
- var previousItem = audit[idx - 1];
69
- if (!((_f = (_e = previousItem === null || previousItem === void 0 ? void 0 : previousItem.period) === null || _e === void 0 ? void 0 : _e.start) === null || _f === void 0 ? void 0 : _f.value)) {
70
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}, void 0);
71
- }
72
- previousTime = utils_1.formatTime(new Date((_h = (_g = previousItem === null || previousItem === void 0 ? void 0 : previousItem.period) === null || _g === void 0 ? void 0 : _g.start) === null || _h === void 0 ? void 0 : _h.value));
73
- }
74
- if (currentTime !== previousTime) {
75
- position += 1;
76
- }
77
- var key = currentTime + "_" + idx;
78
- if (position % 2 === 1) {
79
- return (jsx_runtime_1.jsxs(StyledTimelineDayItem, __assign({ isMobile: isMobile }, { children: [jsx_runtime_1.jsx(StyledTimelineDayContent, __assign({ isMobile: isMobile }, { children: jsx_runtime_1.jsx(timeline_item_1.default, { audit: auditItem }, void 0) }), void 0),
80
- jsx_runtime_1.jsxs(StyledTimelineDayLine, { children: [jsx_runtime_1.jsx(StyledOuterCircle, { children: jsx_runtime_1.jsx(icon_1.CircleIcon, { status: "info", size: "medium" }, void 0) }, void 0),
81
- jsx_runtime_1.jsx(StyledInnerCircle, { children: jsx_runtime_1.jsx(icon_1.CircleIcon, { status: "info", size: "medium" }, void 0) }, void 0)] }, void 0),
82
- jsx_runtime_1.jsx(StyledTimelineDayTimeRight, { children: jsx_runtime_1.jsx(timeline_time_1.default, { audit: auditItem }, void 0) }, void 0)] }), key));
83
- }
84
- return (jsx_runtime_1.jsxs(StyledTimelineDayItem, __assign({ isMobile: isMobile }, { children: [jsx_runtime_1.jsx(StyledTimelineDayTimeLeft, { children: jsx_runtime_1.jsx(timeline_time_1.default, { audit: auditItem }, void 0) }, void 0),
85
- jsx_runtime_1.jsxs(StyledTimelineDayLine, { children: [jsx_runtime_1.jsx(StyledOuterCircle, { children: jsx_runtime_1.jsx(icon_1.CircleIcon, { status: "info", size: "medium" }, void 0) }, void 0),
86
- jsx_runtime_1.jsx(StyledInnerCircle, { children: jsx_runtime_1.jsx(icon_1.CircleIcon, { status: "info", size: "medium" }, void 0) }, void 0)] }, void 0),
87
- jsx_runtime_1.jsx(StyledTimelineDayContent, __assign({ isMobile: isMobile }, { children: jsx_runtime_1.jsx(timeline_item_1.default, { audit: auditItem }, void 0) }), void 0)] }), key));
88
- }) }), void 0)] }, void 0));
89
- };
90
- exports.default = TimelineDay;
91
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
92
- //# sourceMappingURL=timeline-day.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-day.js","sourceRoot":"","sources":["../../src/organisms/timeline-day.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,2DAAoC;AAGpC,yCAA6C;AAC7C,6CAAiE;AACjE,2CAAiD;AACjD,2CAA4D;AAE5D,yEAAiD;AACjD,6EAAqD;AAErD,IAAM,qBAAqB,GAAG,gBAAM,CAAC,GAAG,2UAAe,+IAQzC,EAA4C,iFAGtC,EAAiB,oCAGpC,KANa,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;AAA1B,CAA0B,EAGtC,qBAAY,CAAC,IAAI,CAGpC,CAAA;AAED,IAAM,uBAAuB,GAAG,gBAAM,CAAC,GAAG,mKAAA,wBACpB,EAAiC,sEAItD,KAJqB,uBAAc,CAAC,OAAO,CAAC,UAAU,CAItD,CAAA;AAED,IAAM,qBAAqB,GAAG,gBAAM,CAAC,GAAG,gLAAe,qFAI1C,EAA8C,eAC/C,EAAoD,KAC/D,KAFY,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;AAA5B,CAA4B,EAC/C,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC;AAAlC,CAAkC,CAC/D,CAAA;AAED,IAAM,wBAAwB,GAAG,gBAAM,CAAC,GAAG,+JAAe,aAC/C,EAA6C,6EAIvD,KAJU,UAAC,EA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