@jaisocx/tree 2.2.21 → 2.2.22

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.
@@ -1,6 +1,3 @@
1
-
2
- /* @import url("@Tree_MediaAndStyles/responsive_size_Constants.css"); */
3
-
4
1
  @import url("@Tree_MediaAndStyles/presets/tree-animated-expand-button.css");
5
2
 
6
3
 
@@ -1,6 +1,3 @@
1
-
2
-
3
-
4
1
  .tree{
5
2
  background-color: var(--background-color--tree);
6
3
  }
@@ -195,403 +192,21 @@
195
192
 
196
193
 
197
194
 
198
- @media only screen and (min-width: 2px) and (max-width: 239px) and (min-height: 2px) and (max-height: 99999px) and (orientation: portrait) {
199
-
200
- .jsx .Tree {
201
- --theme_name: Tree__theme_base;
202
- --theme_name__Tree: theme_base;
203
- --responsive_size: responsive_size_d05_very_small_xxs_portrait;
204
- --responsive_size__Tree__theme_base: responsive_size_d05_very_small_xxs_portrait__Tree__theme_base;
205
- }
206
- }
207
-
208
- @media only screen and (min-width: 2px) and (max-width: 99999px) and (min-height: 2px) and (max-height: 239px) and (orientation: landscape) {
209
-
210
- .jsx .Tree {
211
- --theme_name: Tree__theme_base;
212
- --theme_name__Tree: theme_base;
213
- --responsive_size: responsive_size_d05_very_small_xxs_landscape;
214
- --responsive_size__Tree__theme_base: responsive_size_d05_very_small_xxs_landscape__Tree__theme_base;
215
- }
216
- }
217
-
218
-
219
- @media only screen and (min-width: 240px) and (max-width: 320px) and (min-height: 240px) and (max-height: 99999px) and (orientation: portrait) {
220
-
221
- .jsx .Tree {
222
- --theme_name: Tree__theme_base;
223
- --theme_name__Tree: theme_base;
224
- --responsive_size: responsive_size_e02_mobile_xs_portrait;
225
- --responsive_size__Tree__theme_base: responsive_size_e02_mobile_xs_portrait__Tree__theme_base;
226
- }
227
- }
228
-
229
- @media only screen and (min-width: 240px) and (max-width: 99999px) and (min-height: 240px) and (max-height: 320px) and (orientation: landscape) {
230
-
231
- .jsx .Tree {
232
- --theme_name: Tree__theme_base;
233
- --theme_name__Tree: theme_base;
234
- --responsive_size: responsive_size_e02_mobile_xs_landscape;
235
- --responsive_size__Tree__theme_base: responsive_size_e02_mobile_xs_landscape__Tree__theme_base;
236
- }
237
- }
238
-
239
-
240
- @media only screen and (min-width: 321px) and (max-width: 375px) and (min-height: 321px) and (max-height: 99999px) and (orientation: portrait) {
241
-
242
- .jsx .Tree {
243
- --theme_name: Tree__theme_base;
244
- --theme_name__Tree: theme_base;
245
- --responsive_size: responsive_size_e04_mobile_s_portrait;
246
- --responsive_size__Tree__theme_base: responsive_size_e04_mobile_s_portrait__Tree__theme_base;
247
- }
248
- }
249
-
250
- @media only screen and (min-width: 321px) and (max-width: 99999px) and (min-height: 321px) and (max-height: 375px) and (orientation: landscape) {
251
-
252
- .jsx .Tree {
253
- --theme_name: Tree__theme_base;
254
- --theme_name__Tree: theme_base;
255
- --responsive_size: responsive_size_e04_mobile_s_landscape;
256
- --responsive_size__Tree__theme_base: responsive_size_e04_mobile_s_landscape__Tree__theme_base;
257
- }
258
- }
259
-
260
-
261
- @media only screen and (min-width: 376px) and (max-width: 430px) and (min-height: 376px) and (max-height: 99999px) and (orientation: portrait) {
262
-
263
- .jsx .Tree {
264
- --theme_name: Tree__theme_base;
265
- --theme_name__Tree: theme_base;
266
- --responsive_size: responsive_size_e06_mobile_sm_portrait;
267
- --responsive_size__Tree__theme_base: responsive_size_e06_mobile_sm_portrait__Tree__theme_base;
268
- }
269
- }
270
-
271
- @media only screen and (min-width: 376px) and (max-width: 99999px) and (min-height: 376px) and (max-height: 430px) and (orientation: landscape) {
272
-
273
- .jsx .Tree {
274
- --theme_name: Tree__theme_base;
275
- --theme_name__Tree: theme_base;
276
- --responsive_size: responsive_size_e06_mobile_sm_landscape;
277
- --responsive_size__Tree__theme_base: responsive_size_e06_mobile_sm_landscape__Tree__theme_base;
278
- }
279
- }
280
-
281
-
282
- @media only screen and (min-width: 431px) and (max-width: 480px) and (min-height: 431px) and (max-height: 99999px) and (orientation: portrait) {
283
-
284
- .jsx .Tree {
285
- --theme_name: Tree__theme_base;
286
- --theme_name__Tree: theme_base;
287
- --responsive_size: responsive_size_e08_mobile_md_portrait;
288
- --responsive_size__Tree__theme_base: responsive_size_e08_mobile_md_portrait__Tree__theme_base;
289
- }
290
- }
291
-
292
- @media only screen and (min-width: 431px) and (max-width: 99999px) and (min-height: 431px) and (max-height: 480px) and (orientation: landscape) {
293
-
294
- .jsx .Tree {
295
- --theme_name: Tree__theme_base;
296
- --theme_name__Tree: theme_base;
297
- --responsive_size: responsive_size_e08_mobile_md_landscape;
298
- --responsive_size__Tree__theme_base: responsive_size_e08_mobile_md_landscape__Tree__theme_base;
299
- }
300
- }
301
-
302
-
303
- @media only screen and (min-width: 481px) and (max-width: 767px) and (min-height: 481px) and (max-height: 99999px) and (orientation: portrait) {
304
-
305
- .jsx .Tree {
306
- --theme_name: Tree__theme_base;
307
- --theme_name__Tree: theme_base;
308
- --responsive_size: responsive_size_h03_tablet_s_portrait;
309
- --responsive_size__Tree__theme_base: responsive_size_h03_tablet_s_portrait__Tree__theme_base;
310
- }
311
- }
312
-
313
- @media only screen and (min-width: 481px) and (max-width: 99999px) and (min-height: 481px) and (max-height: 767px) and (orientation: landscape) {
314
-
315
- .jsx .Tree {
316
- --theme_name: Tree__theme_base;
317
- --theme_name__Tree: theme_base;
318
- --responsive_size: responsive_size_h03_tablet_s_landscape;
319
- --responsive_size__Tree__theme_base: responsive_size_h03_tablet_s_landscape__Tree__theme_base;
320
- }
321
- }
322
-
323
-
324
- @media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 768px) and (max-height: 1024px) and (orientation: portrait) {
325
-
326
- .jsx .Tree {
327
- --theme_name: Tree__theme_base;
328
- --theme_name__Tree: theme_base;
329
- --responsive_size: responsive_size_h05_tablet_sm_portrait;
330
- --responsive_size__Tree__theme_base: responsive_size_h05_tablet_sm_portrait__Tree__theme_base;
331
- }
332
- }
333
-
334
- @media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
335
-
336
- .jsx .Tree {
337
- --theme_name: Tree__theme_base;
338
- --theme_name__Tree: theme_base;
339
- --responsive_size: responsive_size_h05_tablet_sm_landscape;
340
- --responsive_size__Tree__theme_base: responsive_size_h05_tablet_sm_landscape__Tree__theme_base;
341
- }
342
- }
343
-
344
-
345
- @media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 1025px) and (max-height: 1194px) and (orientation: portrait) {
346
-
347
- .jsx .Tree {
348
- --theme_name: Tree__theme_base;
349
- --theme_name__Tree: theme_base;
350
- --responsive_size: responsive_size_h07_tablet_md_portrait;
351
- --responsive_size__Tree__theme_base: responsive_size_h07_tablet_md_portrait__Tree__theme_base;
352
- }
353
- }
354
-
355
- @media only screen and (min-width: 1025px) and (max-width: 1194px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
356
-
357
- .jsx .Tree {
358
- --theme_name: Tree__theme_base;
359
- --theme_name__Tree: theme_base;
360
- --responsive_size: responsive_size_h07_tablet_md_landscape;
361
- --responsive_size__Tree__theme_base: responsive_size_h07_tablet_md_landscape__Tree__theme_base;
362
- }
363
- }
364
-
365
-
366
- @media only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 1195px) and (max-height: 99999px) and (orientation: portrait) {
367
-
368
- .jsx .Tree {
369
- --theme_name: Tree__theme_base;
370
- --theme_name__Tree: theme_base;
371
- --responsive_size: responsive_size_h09_tablet_lg_portrait;
372
- --responsive_size__Tree__theme_base: responsive_size_h09_tablet_lg_portrait__Tree__theme_base;
373
- }
374
- }
375
-
376
- @media only screen and (min-width: 1195px) and (max-width: 99999px) and (min-height: 768px) and (max-height: 1024px) and (orientation: landscape) {
377
-
378
- .jsx .Tree {
379
- --theme_name: Tree__theme_base;
380
- --theme_name__Tree: theme_base;
381
- --responsive_size: responsive_size_h09_tablet_lg_landscape;
382
- --responsive_size__Tree__theme_base: responsive_size_h09_tablet_lg_landscape__Tree__theme_base;
383
- }
384
- }
385
-
386
-
387
- @media only screen and (min-width: 1025px) and (max-width: 1365px) and (min-height: 1025px) and (max-height: 1365px) and (orientation: portrait) {
388
-
389
- .jsx .Tree {
390
- --theme_name: Tree__theme_base;
391
- --theme_name__Tree: theme_base;
392
- --responsive_size: responsive_size_l02_laptop_sm_portrait;
393
- --responsive_size__Tree__theme_base: responsive_size_l02_laptop_sm_portrait__Tree__theme_base;
394
- }
395
- }
396
-
397
- @media only screen and (min-width: 1025px) and (max-width: 1365px) and (min-height: 1025px) and (max-height: 1365px) and (orientation: landscape) {
398
-
399
- .jsx .Tree {
400
- --theme_name: Tree__theme_base;
401
- --theme_name__Tree: theme_base;
402
- --responsive_size: responsive_size_l02_laptop_sm_landscape;
403
- --responsive_size__Tree__theme_base: responsive_size_l02_laptop_sm_landscape__Tree__theme_base;
404
- }
405
- }
406
-
407
-
408
- @media only screen and (min-width: 1025px) and (max-width: 1440px) and (min-height: 1366px) and (max-height: 1440px) and (orientation: portrait) {
409
-
410
- .jsx .Tree {
411
- --theme_name: Tree__theme_base;
412
- --theme_name__Tree: theme_base;
413
- --responsive_size: responsive_size_l03_laptop_md_portrait;
414
- --responsive_size__Tree__theme_base: responsive_size_l03_laptop_md_portrait__Tree__theme_base;
415
- }
416
- }
417
-
418
- @media only screen and (min-width: 1366px) and (max-width: 1440px) and (min-height: 1025px) and (max-height: 1440px) and (orientation: landscape) {
419
-
420
- .jsx .Tree {
421
- --theme_name: Tree__theme_base;
422
- --theme_name__Tree: theme_base;
423
- --responsive_size: responsive_size_l03_laptop_md_landscape;
424
- --responsive_size__Tree__theme_base: responsive_size_l03_laptop_md_landscape__Tree__theme_base;
425
- }
426
- }
427
-
428
-
429
- @media only screen and (min-width: 1025px) and (max-width: 1600px) and (min-height: 1441px) and (max-height: 1600px) and (orientation: portrait) {
430
-
431
- .jsx .Tree {
432
- --theme_name: Tree__theme_base;
433
- --theme_name__Tree: theme_base;
434
- --responsive_size: responsive_size_l07_laptop_lg_portrait;
435
- --responsive_size__Tree__theme_base: responsive_size_l07_laptop_lg_portrait__Tree__theme_base;
436
- }
437
- }
438
-
439
- @media only screen and (min-width: 1441px) and (max-width: 1600px) and (min-height: 1025px) and (max-height: 1600px) and (orientation: landscape) {
440
-
441
- .jsx .Tree {
442
- --theme_name: Tree__theme_base;
443
- --theme_name__Tree: theme_base;
444
- --responsive_size: responsive_size_l07_laptop_lg_landscape;
445
- --responsive_size__Tree__theme_base: responsive_size_l07_laptop_lg_landscape__Tree__theme_base;
446
- }
447
- }
448
-
449
-
450
- @media only screen and (min-width: 1025px) and (max-width: 1920px) and (min-height: 1601px) and (max-height: 1920px) and (orientation: portrait) {
451
-
452
- .jsx .Tree {
453
- --theme_name: Tree__theme_base;
454
- --theme_name__Tree: theme_base;
455
- --responsive_size: responsive_size_s02_display_xl_portrait;
456
- --responsive_size__Tree__theme_base: responsive_size_s02_display_xl_portrait__Tree__theme_base;
457
- }
458
- }
459
-
460
- @media only screen and (min-width: 1601px) and (max-width: 1920px) and (min-height: 1025px) and (max-height: 1920px) and (orientation: landscape) {
461
-
462
- .jsx .Tree {
463
- --theme_name: Tree__theme_base;
464
- --theme_name__Tree: theme_base;
465
- --responsive_size: responsive_size_s02_display_xl_landscape;
466
- --responsive_size__Tree__theme_base: responsive_size_s02_display_xl_landscape__Tree__theme_base;
467
- }
468
- }
469
-
470
-
471
- @media only screen and (min-width: 1025px) and (max-width: 2560px) and (min-height: 1921px) and (max-height: 2560px) and (orientation: portrait) {
472
-
473
- .jsx .Tree {
474
- --theme_name: Tree__theme_base;
475
- --theme_name__Tree: theme_base;
476
- --responsive_size: responsive_size_s04_display_xxl_portrait;
477
- --responsive_size__Tree__theme_base: responsive_size_s04_display_xxl_portrait__Tree__theme_base;
478
- }
479
- }
480
-
481
- @media only screen and (min-width: 1921px) and (max-width: 2560px) and (min-height: 1025px) and (max-height: 2560px) and (orientation: landscape) {
482
-
483
- .jsx .Tree {
484
- --theme_name: Tree__theme_base;
485
- --theme_name__Tree: theme_base;
486
- --responsive_size: responsive_size_s04_display_xxl_landscape;
487
- --responsive_size__Tree__theme_base: responsive_size_s04_display_xxl_landscape__Tree__theme_base;
488
- }
489
- }
490
-
491
-
492
- @media only screen and (min-width: 1025px) and (max-width: 3840px) and (min-height: 2561px) and (max-height: 3840px) and (orientation: portrait) {
493
-
494
- .jsx .Tree {
495
- --theme_name: Tree__theme_base;
496
- --theme_name__Tree: theme_base;
497
- --responsive_size: responsive_size_s08_display_qhd_portrait;
498
- --responsive_size__Tree__theme_base: responsive_size_s08_display_qhd_portrait__Tree__theme_base;
499
- }
500
- }
501
-
502
- @media only screen and (min-width: 2561px) and (max-width: 3840px) and (min-height: 1025px) and (max-height: 3840px) and (orientation: landscape) {
503
-
504
- .jsx .Tree {
505
- --theme_name: Tree__theme_base;
506
- --theme_name__Tree: theme_base;
507
- --responsive_size: responsive_size_s08_display_qhd_landscape;
508
- --responsive_size__Tree__theme_base: responsive_size_s08_display_qhd_landscape__Tree__theme_base;
509
- }
510
- }
511
195
 
512
196
 
513
- @media only screen and (min-width: 1025px) and (max-width: 7680px) and (min-height: 3841px) and (max-height: 7680px) and (orientation: portrait) {
514
197
 
515
- .jsx .Tree {
516
- --theme_name: Tree__theme_base;
517
- --theme_name__Tree: theme_base;
518
- --responsive_size: responsive_size_t04_tv_4k_portrait;
519
- --responsive_size__Tree__theme_base: responsive_size_t04_tv_4k_portrait__Tree__theme_base;
520
- }
521
- }
522
198
 
523
- @media only screen and (min-width: 3841px) and (max-width: 7680px) and (min-height: 1025px) and (max-height: 7680px) and (orientation: landscape) {
524
199
 
525
- .jsx .Tree {
526
- --theme_name: Tree__theme_base;
527
- --theme_name__Tree: theme_base;
528
- --responsive_size: responsive_size_t04_tv_4k_landscape;
529
- --responsive_size__Tree__theme_base: responsive_size_t04_tv_4k_landscape__Tree__theme_base;
530
- }
531
- }
532
200
 
533
201
 
534
- @media only screen and (min-width: 1025px) and (max-width: 15360px) and (min-height: 7681px) and (max-height: 15360px) and (orientation: portrait) {
535
202
 
536
- .jsx .Tree {
537
- --theme_name: Tree__theme_base;
538
- --theme_name__Tree: theme_base;
539
- --responsive_size: responsive_size_t08_tv_8k_portrait;
540
- --responsive_size__Tree__theme_base: responsive_size_t08_tv_8k_portrait__Tree__theme_base;
541
- }
542
- }
543
203
 
544
- @media only screen and (min-width: 7681px) and (max-width: 15360px) and (min-height: 1025px) and (max-height: 15360px) and (orientation: landscape) {
545
204
 
546
- .jsx .Tree {
547
- --theme_name: Tree__theme_base;
548
- --theme_name__Tree: theme_base;
549
- --responsive_size: responsive_size_t08_tv_8k_landscape;
550
- --responsive_size__Tree__theme_base: responsive_size_t08_tv_8k_landscape__Tree__theme_base;
551
- }
552
- }
553
205
 
554
206
 
555
- @media only screen and (min-width: 1025px) and (max-width: 25360px) and (min-height: 15361px) and (max-height: 25360px) and (orientation: portrait) {
556
207
 
557
- .jsx .Tree {
558
- --theme_name: Tree__theme_base;
559
- --theme_name__Tree: theme_base;
560
- --responsive_size: responsive_size_t16_tv_16k_portrait;
561
- --responsive_size__Tree__theme_base: responsive_size_t16_tv_16k_portrait__Tree__theme_base;
562
- }
563
- }
564
208
 
565
- @media only screen and (min-width: 15361px) and (max-width: 25360px) and (min-height: 1025px) and (max-height: 25360px) and (orientation: landscape) {
566
209
 
567
- .jsx .Tree {
568
- --theme_name: Tree__theme_base;
569
- --theme_name__Tree: theme_base;
570
- --responsive_size: responsive_size_t16_tv_16k_landscape;
571
- --responsive_size__Tree__theme_base: responsive_size_t16_tv_16k_landscape__Tree__theme_base;
572
- }
573
- }
574
-
575
-
576
- @media only screen and (min-width: 1025px) and (max-width: 999999px) and (min-height: 25361px) and (max-height: 999999px) and (orientation: portrait) {
577
-
578
- .jsx .Tree {
579
- --theme_name: Tree__theme_base;
580
- --theme_name__Tree: theme_base;
581
- --responsive_size: responsive_size_t99_tv_xxxl_portrait;
582
- --responsive_size__Tree__theme_base: responsive_size_t99_tv_xxxl_portrait__Tree__theme_base;
583
- }
584
- }
585
-
586
- @media only screen and (min-width: 25361px) and (max-width: 999999px) and (min-height: 1025px) and (max-height: 999999px) and (orientation: landscape) {
587
-
588
- .jsx .Tree {
589
- --theme_name: Tree__theme_base;
590
- --theme_name__Tree: theme_base;
591
- --responsive_size: responsive_size_t99_tv_xxxl_landscape;
592
- --responsive_size__Tree__theme_base: responsive_size_t99_tv_xxxl_landscape__Tree__theme_base;
593
- }
594
- }
595
210
 
596
211
 
597
212
 
@@ -620,6 +235,10 @@
620
235
  }
621
236
 
622
237
 
238
+
239
+
240
+
241
+
623
242
  .tree {
624
243
  --node-margin: 0 0 0.4rem 0;
625
244
 
@@ -666,6 +285,13 @@
666
285
  }
667
286
 
668
287
 
288
+
289
+
290
+
291
+
292
+
293
+
294
+
669
295
  .tree {
670
296
  background-color: var(--background-color--tree);
671
297
  }
@@ -970,3 +596,7 @@ ul.json-context-menu-holder li {
970
596
  }
971
597
  }
972
598
 
599
+
600
+
601
+
602
+
package/data/tree.json CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="jsx">
2
+ <html lang="en" id="js_tree_preview" class="jsx">
3
3
  <head>
4
4
 
5
5
  <link
@@ -34,6 +34,17 @@
34
34
 
35
35
 
36
36
 
37
+ <link
38
+ rel="stylesheet"
39
+ type="text/css"
40
+ charset="utf-8"
41
+ href="node_modules/@jaisocx/media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
42
+ href-fallback="../media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
43
+ onerror="javascript: ( () => { this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
44
+ />
45
+
46
+
47
+
37
48
  <link
38
49
  rel="stylesheet"
39
50
  type="text/css"
@@ -41,13 +52,12 @@
41
52
  href="MediaAndStyles/Tree_main_resolved_minimal.css"
42
53
  />
43
54
 
44
- <!--# Theme funny -->
45
- <!-- <link-->
46
- <!-- rel="stylesheet"-->
47
- <!-- type="text/css"-->
48
- <!-- charset="utf-8"-->
49
- <!-- href="MediaAndStyles/themes/theme-funny/tree_theme-funny.css"-->
50
- <!-- />-->
55
+ <link
56
+ rel="stylesheet"
57
+ type="text/css"
58
+ charset="utf-8"
59
+ href="MediaAndStyles/themes/theme-funny/tree_theme-funny.css"
60
+ />
51
61
 
52
62
 
53
63
 
@@ -69,11 +79,13 @@
69
79
  --theme-button--font-size: 0.795rem;
70
80
  }
71
81
 
72
- .jsx .theme-funny.tree {
73
- --node-label--font-family: Niconne;
82
+ .jsx#js_tree_preview .tree,
83
+ .jsx#js_tree_preview .tree.theme-funny {
84
+ --node-label--font-family: LibreFranklin;
74
85
  }
75
86
 
76
87
 
88
+
77
89
  @media screen and ( min-width: 2px) and (max-width: 767px) {
78
90
  .jsx {
79
91
  --jsx--css-clean-start-2--site--min-width: 100%;
@@ -94,41 +106,37 @@
94
106
 
95
107
  <style name="theme_buttons">
96
108
 
97
- .jsx themebuttons {
98
- width: fit-content;
99
- display: grid;
100
- grid-auto-flow: column;
101
- column-gap: 3rem;
102
- margin: 0.9rem 0px 1.6rem 0px;
103
- }
104
-
105
- .jsx themebuttons button {
106
- width: var(--theme-button--width);
107
- font-size: var(--theme-button--font-size);
108
- }
109
+ .jsx button {
110
+ background-color: transparent;
111
+ text-align: left;
112
+ }
109
113
 
110
- .current::after {
111
- content: "";
112
- position: absolute;
113
- bottom: -0.3rem;
114
- left: 0;
115
- width: 100%;
116
- height: 0;
117
- max-height: 0;
118
- overflow-y: hidden;
119
- border-bottom-width: 0.14rem;
120
- border-bottom-style: solid;
121
- border-bottom-color: var(--clean-start__text-color);
122
- }
114
+ .jsx themebuttons {
115
+ width: fit-content;
116
+ display: grid;
117
+ grid-auto-flow: column;
118
+ column-gap: 3rem;
119
+ margin: 0.9rem 0px 1.6rem 0px;
120
+ }
123
121
 
124
- .jsx button {
125
- background-color: transparent;
126
- text-align: left;
127
- }
122
+ .jsx themebuttons button {
123
+ width: var(--theme-button--width);
124
+ font-size: var(--theme-button--font-size);
125
+ }
128
126
 
129
- #tooltip-button {
130
- font-family: fantasy;
131
- }
127
+ .current::after {
128
+ content: "";
129
+ position: absolute;
130
+ bottom: -0.3rem;
131
+ left: 0;
132
+ width: 100%;
133
+ height: 0;
134
+ max-height: 0;
135
+ overflow-y: hidden;
136
+ border-bottom-width: 0.14rem;
137
+ border-bottom-style: solid;
138
+ border-bottom-color: var(--clean-start__text-color);
139
+ }
132
140
 
133
141
  </style>
134
142
 
@@ -170,8 +178,6 @@
170
178
 
171
179
  </style>
172
180
 
173
-
174
-
175
181
  </head>
176
182
  <body>
177
183
 
@@ -179,9 +185,9 @@
179
185
 
180
186
  <content>
181
187
 
182
- <h1>Tree styling JSON Data</h1>
183
- <h2>@jaisocx/tree</h2>
184
- <h3>tree_preview_prod.html</h3>
188
+ <h1> Tree styling JSON Data </h1>
189
+ <h2> @jaisocx/tree </h2>
190
+ <h3> index.preview.html </h3>
185
191
 
186
192
  <description>
187
193
  Css sites tool styling json data to a tree view. Css for sites tools are packed with @jaisocx/css-importer.
@@ -213,7 +219,6 @@
213
219
  <h2>load by url ( works only when published by an http server )</h2>
214
220
  <div id="example-tree-holder_load_by_url"></div>
215
221
 
216
-
217
222
  </main>
218
223
 
219
224
  </body>
@@ -260,22 +265,7 @@
260
265
  ]
261
266
  },
262
267
  "font": {
263
- "theme_font_LibreFranklin": [
264
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf",
265
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Medium.ttf",
266
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf",
267
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
268
- ],
269
- "theme_font_Niconne": [
270
- "https://sandbox.brightday.email/cdn/www/fonts/Niconne/Niconne-Regular.ttf",
271
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_Niconne_cdn.css"
272
- ],
273
- "theme_font_Baloo_Paaji_2": [
274
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-Medium.ttf",
275
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-Regular.ttf",
276
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-SemiBold.ttf",
277
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_Baloo_Paaji_2_cdn.css"
278
- ]
268
+ "theme_font_LibreFranklin": []
279
269
  }
280
270
  };
281
271
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
+ "author": "ILLIA POLIANSKYI, Jaisocx Company",
2
3
  "name": "@jaisocx/tree",
3
- "version": "2.2.21",
4
+ "version": "2.2.22",
4
5
  "description": "Sites tool, styling json",
5
- "author": "Jaisocx Company",
6
6
  "keywords": [
7
7
  "json",
8
8
  "tree"
@@ -36,7 +36,8 @@
36
36
  "optionalDependencies": {
37
37
  "@jaisocx/css_clean_start_lite": "^1.0.3",
38
38
  "@jaisocx/preloader": "~2.3.2",
39
- "@jaisocx/theme-turn-on": "~1.0.4"
39
+ "@jaisocx/theme-turn-on": "~1.0.4",
40
+ "@jaisocx/media_tools_fonts_base": "~1.2.2"
40
41
  },
41
42
  "type": "module",
42
43
  "main": "./transpiled/CommonJS/index.js",
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="jsx">
2
+ <html lang="en" id="js_tree_preview" class="jsx">
3
3
  <head>
4
4
 
5
5
  <link
@@ -34,6 +34,17 @@
34
34
 
35
35
 
36
36
 
37
+ <link
38
+ rel="stylesheet"
39
+ type="text/css"
40
+ charset="utf-8"
41
+ href="node_modules/@jaisocx/media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
42
+ href-fallback="../media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
43
+ onerror="javascript: ( () => { this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
44
+ />
45
+
46
+
47
+
37
48
  <link
38
49
  rel="stylesheet"
39
50
  type="text/css"
@@ -41,13 +52,12 @@
41
52
  href="MediaAndStyles/Tree_main_resolved_minimal.css"
42
53
  />
43
54
 
44
- <!--# Theme funny -->
45
- <!-- <link-->
46
- <!-- rel="stylesheet"-->
47
- <!-- type="text/css"-->
48
- <!-- charset="utf-8"-->
49
- <!-- href="MediaAndStyles/themes/theme-funny/tree_theme-funny.css"-->
50
- <!-- />-->
55
+ <link
56
+ rel="stylesheet"
57
+ type="text/css"
58
+ charset="utf-8"
59
+ href="MediaAndStyles/themes/theme-funny/tree_theme-funny.css"
60
+ />
51
61
 
52
62
 
53
63
 
@@ -69,11 +79,13 @@
69
79
  --theme-button--font-size: 0.795rem;
70
80
  }
71
81
 
72
- .jsx .theme-funny.tree {
73
- --node-label--font-family: Niconne;
82
+ .jsx#js_tree_preview .tree,
83
+ .jsx#js_tree_preview .tree.theme-funny {
84
+ --node-label--font-family: LibreFranklin;
74
85
  }
75
86
 
76
87
 
88
+
77
89
  @media screen and ( min-width: 2px) and (max-width: 767px) {
78
90
  .jsx {
79
91
  --jsx--css-clean-start-2--site--min-width: 100%;
@@ -94,41 +106,37 @@
94
106
 
95
107
  <style name="theme_buttons">
96
108
 
97
- .jsx themebuttons {
98
- width: fit-content;
99
- display: grid;
100
- grid-auto-flow: column;
101
- column-gap: 3rem;
102
- margin: 0.9rem 0px 1.6rem 0px;
103
- }
104
-
105
- .jsx themebuttons button {
106
- width: var(--theme-button--width);
107
- font-size: var(--theme-button--font-size);
108
- }
109
+ .jsx button {
110
+ background-color: transparent;
111
+ text-align: left;
112
+ }
109
113
 
110
- .current::after {
111
- content: "";
112
- position: absolute;
113
- bottom: -0.3rem;
114
- left: 0;
115
- width: 100%;
116
- height: 0;
117
- max-height: 0;
118
- overflow-y: hidden;
119
- border-bottom-width: 0.14rem;
120
- border-bottom-style: solid;
121
- border-bottom-color: var(--clean-start__text-color);
122
- }
114
+ .jsx themebuttons {
115
+ width: fit-content;
116
+ display: grid;
117
+ grid-auto-flow: column;
118
+ column-gap: 3rem;
119
+ margin: 0.9rem 0px 1.6rem 0px;
120
+ }
123
121
 
124
- .jsx button {
125
- background-color: transparent;
126
- text-align: left;
127
- }
122
+ .jsx themebuttons button {
123
+ width: var(--theme-button--width);
124
+ font-size: var(--theme-button--font-size);
125
+ }
128
126
 
129
- #tooltip-button {
130
- font-family: fantasy;
131
- }
127
+ .current::after {
128
+ content: "";
129
+ position: absolute;
130
+ bottom: -0.3rem;
131
+ left: 0;
132
+ width: 100%;
133
+ height: 0;
134
+ max-height: 0;
135
+ overflow-y: hidden;
136
+ border-bottom-width: 0.14rem;
137
+ border-bottom-style: solid;
138
+ border-bottom-color: var(--clean-start__text-color);
139
+ }
132
140
 
133
141
  </style>
134
142
 
@@ -170,8 +178,6 @@
170
178
 
171
179
  </style>
172
180
 
173
-
174
-
175
181
  </head>
176
182
  <body>
177
183
 
@@ -213,7 +219,6 @@
213
219
  <h2>load by url ( works only when published by an http server )</h2>
214
220
  <div id="example-tree-holder_load_by_url"></div>
215
221
 
216
-
217
222
  </main>
218
223
 
219
224
  </body>
@@ -260,22 +265,7 @@
260
265
  ]
261
266
  },
262
267
  "font": {
263
- "theme_font_LibreFranklin": [
264
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf",
265
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Medium.ttf",
266
- "https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf",
267
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
268
- ],
269
- "theme_font_Niconne": [
270
- "https://sandbox.brightday.email/cdn/www/fonts/Niconne/Niconne-Regular.ttf",
271
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_Niconne_cdn.css"
272
- ],
273
- "theme_font_Baloo_Paaji_2": [
274
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-Medium.ttf",
275
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-Regular.ttf",
276
- "https://sandbox.brightday.email/cdn/www/fonts/Baloo_Paaji_2/static/BalooPaaji2-SemiBold.ttf",
277
- "https://sandbox.brightday.email/cdn/www/fonts_css/font_Baloo_Paaji_2_cdn.css"
278
- ]
268
+ "theme_font_LibreFranklin": []
279
269
  }
280
270
  };
281
271