nodality 1.0.217 → 1.0.219

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.
Files changed (210) hide show
  1. package/dist/animator.cjs.js.LICENSE.txt +1 -1
  2. package/dist/animator.esm.js.LICENSE.txt +1 -1
  3. package/dist/audionew.cjs.js.LICENSE.txt +1 -1
  4. package/dist/audionew.esm.js.LICENSE.txt +1 -1
  5. package/dist/base.cjs.js +1 -1
  6. package/dist/base.cjs.js.LICENSE.txt +1 -1
  7. package/dist/base.esm.js +1 -1
  8. package/dist/base.esm.js.LICENSE.txt +1 -1
  9. package/dist/beta-desktop-bar.cjs.js.LICENSE.txt +1 -1
  10. package/dist/beta-desktop-bar.esm.js.LICENSE.txt +1 -1
  11. package/dist/beta-mobile-bar.cjs.js.LICENSE.txt +1 -1
  12. package/dist/beta-mobile-bar.esm.js.LICENSE.txt +1 -1
  13. package/dist/bundle.umd.js +1 -1
  14. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  15. package/dist/button.cjs.js.LICENSE.txt +1 -1
  16. package/dist/button.esm.js.LICENSE.txt +1 -1
  17. package/dist/card-getter.cjs.js.LICENSE.txt +1 -1
  18. package/dist/card-getter.esm.js.LICENSE.txt +1 -1
  19. package/dist/center.cjs.js +1 -1
  20. package/dist/center.cjs.js.LICENSE.txt +1 -1
  21. package/dist/center.esm.js +1 -1
  22. package/dist/center.esm.js.LICENSE.txt +1 -1
  23. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  24. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  25. package/dist/code.cjs.js.LICENSE.txt +1 -1
  26. package/dist/code.esm.js.LICENSE.txt +1 -1
  27. package/dist/container.cjs.js.LICENSE.txt +1 -1
  28. package/dist/container.esm.js.LICENSE.txt +1 -1
  29. package/dist/data-list.cjs.js.LICENSE.txt +1 -1
  30. package/dist/data-list.esm.js.LICENSE.txt +1 -1
  31. package/dist/designer.cjs.js +1 -1
  32. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  33. package/dist/designer.esm.js +1 -1
  34. package/dist/designer.esm.js.LICENSE.txt +1 -1
  35. package/dist/element-mapper.cjs.js +1 -1
  36. package/dist/element-mapper.cjs.js.LICENSE.txt +1 -1
  37. package/dist/element-mapper.esm.js +1 -1
  38. package/dist/element-mapper.esm.js.LICENSE.txt +1 -1
  39. package/dist/finalresult.esm.js +1 -1
  40. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  41. package/dist/flex-card.cjs.js.LICENSE.txt +1 -1
  42. package/dist/flex-card.esm.js.LICENSE.txt +1 -1
  43. package/dist/flex-grid.cjs.js.LICENSE.txt +1 -1
  44. package/dist/flex-grid.esm.js.LICENSE.txt +1 -1
  45. package/dist/flex-row.cjs.js +1 -1
  46. package/dist/flex-row.cjs.js.LICENSE.txt +1 -1
  47. package/dist/flex-row.esm.js +1 -1
  48. package/dist/flex-row.esm.js.LICENSE.txt +1 -1
  49. package/dist/floating-input.cjs.js.LICENSE.txt +1 -1
  50. package/dist/floating-input.esm.js.LICENSE.txt +1 -1
  51. package/dist/free.cjs.js.LICENSE.txt +1 -1
  52. package/dist/free.esm.js.LICENSE.txt +1 -1
  53. package/dist/horizontal-scroller.cjs.js +1 -1
  54. package/dist/horizontal-scroller.cjs.js.LICENSE.txt +1 -1
  55. package/dist/horizontal-scroller.esm.js +1 -1
  56. package/dist/horizontal-scroller.esm.js.LICENSE.txt +1 -1
  57. package/dist/image-picker.cjs.js.LICENSE.txt +1 -1
  58. package/dist/image-picker.esm.js.LICENSE.txt +1 -1
  59. package/dist/image.cjs.js.LICENSE.txt +1 -1
  60. package/dist/image.esm.js.LICENSE.txt +1 -1
  61. package/dist/index.cjs.js +1 -1
  62. package/dist/index.cjs.js.LICENSE.txt +1 -1
  63. package/dist/index.esm.js +1 -1
  64. package/dist/index.esm.js.LICENSE.txt +1 -1
  65. package/dist/keyframe-animation.cjs.js.LICENSE.txt +1 -1
  66. package/dist/keyframe-animation.esm.js.LICENSE.txt +1 -1
  67. package/dist/link-getter.cjs.js.LICENSE.txt +1 -1
  68. package/dist/link-getter.esm.js.LICENSE.txt +1 -1
  69. package/dist/link.cjs.js.LICENSE.txt +1 -1
  70. package/dist/link.esm.js.LICENSE.txt +1 -1
  71. package/dist/meta-adder.cjs.js +1 -1
  72. package/dist/meta-adder.cjs.js.LICENSE.txt +1 -1
  73. package/dist/meta-adder.esm.js +1 -1
  74. package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
  75. package/dist/modal-2025.cjs.js +1 -1
  76. package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
  77. package/dist/modal-2025.esm.js +1 -1
  78. package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
  79. package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
  80. package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
  81. package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
  82. package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
  83. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  84. package/dist/picker.esm.js.LICENSE.txt +1 -1
  85. package/dist/progress.cjs.js +1 -1
  86. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  87. package/dist/progress.esm.js +1 -1
  88. package/dist/progress.esm.js.LICENSE.txt +1 -1
  89. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  90. package/dist/radio.esm.js.LICENSE.txt +1 -1
  91. package/dist/range.cjs.js.LICENSE.txt +1 -1
  92. package/dist/range.esm.js.LICENSE.txt +1 -1
  93. package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
  94. package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
  95. package/dist/side-bar.cjs.js +1 -1
  96. package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
  97. package/dist/side-bar.esm.js +1 -1
  98. package/dist/side-bar.esm.js.LICENSE.txt +1 -1
  99. package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
  100. package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
  101. package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
  102. package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
  103. package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
  104. package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
  105. package/dist/spacer.cjs.js +1 -1
  106. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  107. package/dist/spacer.esm.js +1 -1
  108. package/dist/spacer.esm.js.LICENSE.txt +1 -1
  109. package/dist/stack.cjs.js +1 -1
  110. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  111. package/dist/stack.esm.js +1 -1
  112. package/dist/stack.esm.js.LICENSE.txt +1 -1
  113. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  114. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  115. package/dist/table.cjs.js.LICENSE.txt +1 -1
  116. package/dist/table.esm.js.LICENSE.txt +1 -1
  117. package/dist/text-field.cjs.js.LICENSE.txt +1 -1
  118. package/dist/text-field.esm.js.LICENSE.txt +1 -1
  119. package/dist/text.cjs.js +1 -1
  120. package/dist/text.cjs.js.LICENSE.txt +1 -1
  121. package/dist/text.esm.js +1 -1
  122. package/dist/text.esm.js.LICENSE.txt +1 -1
  123. package/dist/theme.cjs.js.LICENSE.txt +1 -1
  124. package/dist/theme.esm.js.LICENSE.txt +1 -1
  125. package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
  126. package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
  127. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  128. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  129. package/dist/video.cjs.js.LICENSE.txt +1 -1
  130. package/dist/video.esm.js.LICENSE.txt +1 -1
  131. package/dist/wrap.cjs.js +1 -1
  132. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  133. package/dist/wrap.esm.js +1 -1
  134. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  135. package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
  136. package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
  137. package/layout/animator.js +1 -80
  138. package/layout/audio.js +1 -95
  139. package/layout/audionew.js +1 -4
  140. package/layout/base.js +3 -46
  141. package/layout/beta-desktop-bar.js +1 -12
  142. package/layout/beta-mobile-bar.js +1 -41
  143. package/layout/button.js +1 -77
  144. package/layout/center.js +1 -41
  145. package/layout/checkbox.js +1 -5
  146. package/layout/circle.js +1 -1
  147. package/layout/code.js +1 -11
  148. package/layout/container.js +1 -95
  149. package/layout/dropdown-2025.js +1 -3
  150. package/layout/flex-card.js +1 -4
  151. package/layout/flex-grid.js +1 -19
  152. package/layout/flex-row.js +5 -227
  153. package/layout/form-components/custom.js +1 -1
  154. package/layout/form-components/data-list.js +1 -1
  155. package/layout/form-components/floating-input.js +1 -1
  156. package/layout/form-components/form-all.js +1 -1
  157. package/layout/form-components/form.js +1 -1
  158. package/layout/form-components/image-picker.js +1 -1
  159. package/layout/form-components/picker.js +1 -1
  160. package/layout/form-components/radio.js +1 -1
  161. package/layout/form-components/radiogroup.js +1 -1
  162. package/layout/form-components/range.js +1 -1
  163. package/layout/free.js +1 -40
  164. package/layout/grid-switcher.js +1 -14
  165. package/layout/grid.js +1 -11
  166. package/layout/horizontal-scroller.js +1 -7
  167. package/layout/image.js +1 -160
  168. package/layout/index.js +1 -1
  169. package/layout/link.js +1 -259
  170. package/layout/list.js +5 -13
  171. package/layout/meta-adder.js +1 -3
  172. package/layout/modal-2025.js +1 -44
  173. package/layout/multiswitcher.js +1 -55
  174. package/layout/nav-bar.js +4 -40
  175. package/layout/nav-factor/custom-div.js +1 -1
  176. package/layout/new-nav-bar.js +1 -91
  177. package/layout/polygon.js +1 -1
  178. package/layout/prerender-site.js +1 -2
  179. package/layout/prerender.js +1 -2
  180. package/layout/progress.js +1 -3
  181. package/layout/row.js +1 -15
  182. package/layout/scroll-video.js +1 -4
  183. package/layout/side-bar.js +1 -11
  184. package/layout/side-nav-bar.js +1 -66
  185. package/layout/simple-bar.js +1 -1
  186. package/layout/slider-2025.js +1 -2
  187. package/layout/spacer.js +1 -8
  188. package/layout/stack.js +1 -3
  189. package/layout/svg.js +1 -1
  190. package/layout/switcher.js +1 -6
  191. package/layout/table.js +1 -12
  192. package/layout/text-field.js +1 -3
  193. package/layout/text.js +1 -154
  194. package/layout/ulist.js +1 -13
  195. package/layout/video.js +1 -12
  196. package/layout/wrap.js +1 -50
  197. package/layout/zoom-card.js +1 -69
  198. package/lib/card-getter.js +1 -1
  199. package/lib/data.js +1 -1
  200. package/lib/designer.js +1 -1
  201. package/lib/element-mapper.js +1 -1
  202. package/lib/keyframe-animation.js +1 -1
  203. package/lib/link-getter.js +1 -1
  204. package/lib/raster-ops.js +1 -1
  205. package/lib/scroll-video.js +1 -1
  206. package/lib/seo.js +1 -1
  207. package/lib/stacker.js +1 -1
  208. package/lib/theme.js +1 -1
  209. package/lib/transform-anim.js +1 -1
  210. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.217
2
+ * nodality v1.0.219
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -21,7 +21,6 @@ class Animator {
21
21
 
22
22
  // Auto-subscribe every component to Theme so dark-mode "just works"
23
23
  // even when the user never declared a per-component theme map.
24
- // Subclasses set this.res later in their own constructor; we re-apply
25
24
  // in a microtask, by which time the synchronous chain has finished.
26
25
  if (typeof document !== "undefined") {
27
26
  this._themeUnsub = Theme.subscribe((mode) => this._applyTheme(mode));
@@ -398,7 +397,6 @@ class Animator {
398
397
  let w = obj.border.width;
399
398
  this.res.style.border = w ? `${w}px solid transparent` : "1px solid transparent";
400
399
 
401
- //this.res.style.border = "1px solid transparent";
402
400
  }
403
401
 
404
402
 
@@ -429,7 +427,6 @@ class Animator {
429
427
  // start snapping instead of easing.
430
428
  this.res.style.transitionProperty =
431
429
  `background-color, color, border, box-shadow, transform`;
432
- // this.transition(obj.animation);
433
430
  }
434
431
 
435
432
  // remember the pre-hover transform so scale-on-hover can be undone cleanly
@@ -448,19 +445,12 @@ class Animator {
448
445
  }
449
446
 
450
447
 
451
-
452
-
453
- /*if (obj.border){
454
- this.res.style.border = "1px solid transparent";
455
- }*/
456
448
 
457
449
 
458
450
 
459
- // // // console.log(`OUT: ${this.res.style.backgroundColor}`);
460
451
  }
461
452
 
462
453
  this.res.onmouseover = () => {
463
- //this.res.style.backgroundColor = "#ffffff"; //obj.background; //`#ffffff`;
464
454
  //alert("OJHOIH")
465
455
  // alert(obj.background);
466
456
  this.res.style.color = obj.color;
@@ -488,11 +478,7 @@ class Animator {
488
478
  this.res.style.boxShadow = obj.boxShadow;
489
479
  }
490
480
 
491
- //if (this.options && this.options.borderObj){ was here
492
481
 
493
- //let o = this.options.borderObj;
494
- //this.res.style.border = `${o.width}px solid ${o.color}`;
495
- //this.res.style.borderRadius = `${o.radius}`;
496
482
  //}
497
483
 
498
484
  // // // console.log(`OVER: ${obj.background}`);
@@ -573,8 +559,6 @@ class Animator {
573
559
  }
574
560
 
575
561
 
576
-
577
-
578
562
  setAny(obj){
579
563
  this[Object.keys(obj)[0]] = [Object.values(obj)[0]];
580
564
  }
@@ -588,11 +572,9 @@ class Animator {
588
572
  }
589
573
 
590
574
 
591
-
592
575
  // [{ breakpoint: "sm" , values: [...]}]
593
576
 
594
577
 
595
-
596
578
  /**
597
579
  * @private
598
580
  * Sets up the single resize listener and runs all registered tasks.
@@ -886,11 +868,6 @@ respad(arr) {
886
868
  }
887
869
 
888
870
 
889
-
890
-
891
-
892
-
893
-
894
871
  resmar(arr) {
895
872
 
896
873
  // --- 1. CONFIGURATION & NORMALIZATION ---
@@ -971,8 +948,6 @@ resmar(arr) {
971
948
  }
972
949
 
973
950
 
974
-
975
-
976
951
  /**
977
952
  * Tells the caller they passed an option that no longer exists as the
978
953
  * way to do this, and what to use instead.
@@ -1098,7 +1073,6 @@ resmar(arr) {
1098
1073
  }
1099
1074
 
1100
1075
 
1101
-
1102
1076
  mar(arr){
1103
1077
 
1104
1078
  // Shorthand: mar: "center" → margin: 0 auto
@@ -1187,7 +1161,6 @@ resmar(arr) {
1187
1161
  //alert(obj.col);
1188
1162
  this.res.style.gridColumn = obj.col;
1189
1163
  this.res.style.gridRow = obj.row;
1190
- //this.res.style.border = "1px solid green";
1191
1164
  return this;
1192
1165
  }
1193
1166
 
@@ -1264,7 +1237,6 @@ resmar(arr) {
1264
1237
  }
1265
1238
 
1266
1239
 
1267
-
1268
1240
  const display6 = "calc(1rem + 0.5vw)"; // calc(1rem + 1.2vw)
1269
1241
 
1270
1242
  if (name === "S6"){
@@ -1295,7 +1267,6 @@ resmar(arr) {
1295
1267
 
1296
1268
 
1297
1269
 
1298
-
1299
1270
  setPref(id){
1300
1271
  this.preffersId = id;
1301
1272
  }
@@ -1306,9 +1277,6 @@ setClass(id){
1306
1277
  }
1307
1278
 
1308
1279
 
1309
-
1310
-
1311
-
1312
1280
  //--------- START OF INDEPENDENT
1313
1281
 
1314
1282
 
@@ -1324,7 +1292,6 @@ setTags(obj){
1324
1292
  }
1325
1293
 
1326
1294
  chainReact(queries, id, keep) { // we use this
1327
- //this.cssGen(queries, id, this.class, this.class !== undefined); // 02/04/2024 10:43:40 Nice!!!
1328
1295
 
1329
1296
  this.ap = false;
1330
1297
  this.cta = 0;
@@ -1415,13 +1382,10 @@ setTags(obj){
1415
1382
  this.res.style['-webkit-text-fill-color'] = '';
1416
1383
  this.res.style['-webkit-text-stroke-color'] = "";
1417
1384
  this.res.style['-webkit-text-stroke-width'] = "";
1418
- // this.res.style['-webkit-background-clip'] = 'unset';
1419
1385
  this.res.style.filter = "";
1420
1386
 
1421
- //if (operations.includes("gradient")){
1422
1387
 
1423
1388
 
1424
- // if (operations.includes("gradient")) {
1425
1389
 
1426
1390
 
1427
1391
  if (this.options.background){
@@ -1430,7 +1394,6 @@ setTags(obj){
1430
1394
  } else {
1431
1395
  //alert("/")
1432
1396
  //console.log("///-Hello-///")
1433
- // this.res.style.background = "black"; always set backgrohnd to shapes dangerous affects divs
1434
1397
  }
1435
1398
  // }
1436
1399
 
@@ -1445,7 +1408,6 @@ if (operations.includes("gradient")){
1445
1408
  // NO CONITION, ALWAYS!!!!
1446
1409
  if (operations.includes("gradient") || operations.includes("shadow")){
1447
1410
  this.res.style.position = "relative";
1448
- //this.res.style.zIndex = -1;
1449
1411
  // Navigation might go over it give nav higher zIndex
1450
1412
  } // FIX 23:31:56 10/11/24
1451
1413
 
@@ -1461,7 +1423,6 @@ if (operations.includes("gradient")){
1461
1423
 
1462
1424
  if (this.getType() === "FlexRowLayoutElement" || this.getType() === "LayoutWrapperElement"){
1463
1425
  // alert("///")
1464
- // this.res.style.opacity = 0.3;
1465
1426
  //alert(`${w}px solid orange`);
1466
1427
  this.res.style.border = `${typeof w === 'number' ? w + 'px' : w} solid orange`;
1467
1428
  this.res.style.display = "inline-block"; // or block
@@ -1476,13 +1437,11 @@ if (operations.includes("gradient")){
1476
1437
  if (this.text){
1477
1438
 
1478
1439
 
1479
- //this.res.textContent = this.text; //"a"
1480
1440
  }
1481
1441
  this.res.style['-webkit-text-fill-color'] = 'transparent';
1482
1442
 
1483
1443
  this.res.style['-webkit-text-stroke-color'] = gl;//"orange";
1484
1444
  this.res.style['-webkit-text-stroke-width'] = `${w}`;
1485
- //this.res.style.display = "inline-block"; // important for transform
1486
1445
  //alert("HIOH")
1487
1446
  }
1488
1447
  }
@@ -1499,7 +1458,6 @@ if (operations.includes("gradient")){
1499
1458
  }
1500
1459
 
1501
1460
  if (operations.includes("gradient")){
1502
- // alert(this.getType());
1503
1461
  // not working with blast
1504
1462
 
1505
1463
  // Children are cleared when setting gradient to wrap and resizing
@@ -1508,17 +1466,14 @@ if (operations.includes("gradient")){
1508
1466
  if (this.getType() !== "LayoutWrapperElement" && this.getType() !== "FlexRowLayoutElement"){
1509
1467
  this.res.style['-webkit-text-fill-color'] = 'transparent';
1510
1468
  }
1511
- //alert(this.globalGradient);
1512
1469
 
1513
1470
  // globalGradient is set in element "set" method
1514
1471
  this.res.style.background = this.globalGradient;// "linear-gradient(to left, #3498db, #1abc9c)";
1515
1472
 
1516
1473
 
1517
1474
  // console.log("LGT");
1518
- // console.log(this.getType());
1519
1475
  if (this.getType() !== "LayoutWrapperElement" && this.getType() !== "FlexRowLayoutElement" ){
1520
1476
  // alert("OJIOJIOIO")
1521
- //alert(this.getType());
1522
1477
  this.res.style['background-clip'] = 'text'; // 19:23:05 05/05/2024 -webkit was a problem here!
1523
1478
  }
1524
1479
 
@@ -1565,9 +1520,6 @@ if (this.getType() === "FlexRowLayoutElement" || this.getType() === "LayoutWrapp
1565
1520
  }
1566
1521
 
1567
1522
 
1568
-
1569
-
1570
- //if (this.getType() === "FlexRowLayoutElement"){
1571
1523
  //} else {
1572
1524
 
1573
1525
 
@@ -1589,7 +1541,6 @@ if (this.getType() === "FlexRowLayoutElement" || this.getType() === "LayoutWrapp
1589
1541
  }
1590
1542
 
1591
1543
 
1592
-
1593
1544
  if (operations.includes("spana") || operations.includes("span")) {
1594
1545
 
1595
1546
  const overlay = document.createElement("div");
@@ -1670,7 +1621,6 @@ if (this.options.animation && !this.hasAnimated && !this.options.animation.op.fi
1670
1621
 
1671
1622
  this.hasAnimated = true;
1672
1623
  let ass = this.options.animation.op;
1673
- //alert(this.openTag);
1674
1624
 
1675
1625
  this._on(window, /*this.openTag*/"sidebar:open", () => {
1676
1626
 
@@ -1683,18 +1633,13 @@ let ass = this.options.animation.op;
1683
1633
  });
1684
1634
 
1685
1635
 
1686
-
1687
1636
  this.res.animate(ass.keyframesClose, {
1688
1637
  duration: 0,
1689
1638
  fill: "forwards"
1690
1639
  });
1691
1640
 
1692
1641
 
1693
-
1694
- //this.res.animate(ass.keyframesOpen, ass.openOptions);
1695
1642
  if (this.openTag && this.closeTag){
1696
- // alert("ONA" + this.openTag);
1697
- //alert(this.openTag);
1698
1643
 
1699
1644
  this._on(window, this.openTag, () => {
1700
1645
  this.res.animate(ass.keyframesOpen, ass.openOptions);
@@ -1751,8 +1696,6 @@ this._on(window, this.openTag, () => {
1751
1696
  }
1752
1697
 
1753
1698
 
1754
-
1755
-
1756
1699
 
1757
1700
 
1758
1701
  }
@@ -1778,18 +1721,10 @@ this._on(window, this.openTag, () => {
1778
1721
  //
1779
1722
 
1780
1723
 
1781
-
1782
-
1783
-
1784
1724
  if (obj.transform || (obj.op /*&& obj.op.transform*/)){
1785
1725
 
1786
1726
 
1787
1727
 
1788
-
1789
-
1790
-
1791
-
1792
-
1793
1728
  let transform = obj.op;//transform;
1794
1729
 
1795
1730
  if (!obj.transform ){ // 21:48:05 Nice!!! 30/03/25
@@ -1921,7 +1856,6 @@ this._on(window, this.openTag, () => {
1921
1856
  }
1922
1857
 
1923
1858
  // 17:37:15 a comma was missing
1924
- //this.res.style.transform = transformValue;
1925
1859
  (this.blastTarget || this.res).style.transform = transformValue;
1926
1860
  this.res.style.opacity = opacity;
1927
1861
  } else {
@@ -1988,7 +1922,6 @@ this._on(window, this.openTag, () => {
1988
1922
 
1989
1923
  // Apply reset transform if any values were provided
1990
1924
  if (resetTransformValue) {
1991
- // this.res.style.transition = "transform 0.5s ease-in-out"; // Reset transition
1992
1925
  this.res.style.transform = resetTransformValue.trim(); // Remove trailing space
1993
1926
  }
1994
1927
  }
@@ -2025,7 +1958,6 @@ if (transform.on){
2025
1958
  }
2026
1959
 
2027
1960
 
2028
-
2029
1961
  maxWidth(w){
2030
1962
  this.res.style.maxWidth = w;
2031
1963
  return this;
@@ -2038,17 +1970,6 @@ removeQuotesFromFirstWord(jsonString) {
2038
1970
 
2039
1971
 
2040
1972
 
2041
-
2042
-
2043
-
2044
-
2045
-
2046
-
2047
-
2048
-
2049
-
2050
-
2051
-
2052
1973
 
2053
1974
  } // 2600-1870
2054
1975
 
package/layout/audio.js CHANGED
@@ -1,86 +1,17 @@
1
1
  /*!
2
- * nodality v1.0.217
2
+ * nodality v1.0.219
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import {Animator} from "./animator.js";
8
8
 
9
- /*class Wrap {
10
- constructor(){
11
- this.setup();
12
- }
13
-
14
- setup(){
15
- let gr = document.createElement("div");
16
- gr.style.padding = 0;
17
- gr.style.margin = 0;
18
- this.res = gr;
19
- }
20
-
21
- width(w, shouldCenter){
22
- this.res.style.width = w;
23
-
24
- if (shouldCenter){
25
- this.res.style.marginLeft = "auto";
26
- this.res.style.marginRight = "auto";
27
- }
28
- return this;
29
- }
30
-
31
-
32
- size(w, h){
33
- this.w = w;
34
- this.h = h;
35
-
36
- if (this.w){
37
- this.res.style.width = this.w;
38
- } else {
39
- this.res.style.width = window.innerWidth;
40
- }
41
-
42
- if (this.h){
43
- this.res.style.height = this.h;
44
- } else {
45
- this.res.style.height = window.innerHeight;
46
- }
47
-
48
-
49
- return this;
50
- }
51
-
52
- items(els){
53
- for (var i = 0; i < els.length; i++){
54
- this.res.appendChild(els[i].render().render());
55
- }
56
- return this;
57
- }
58
-
59
-
60
-
61
- border(color, width){
62
- this.res.style.border = `${width}px solid ${color}`;
63
- return this;
64
- }
65
-
66
- render(el){
67
- if (el){
68
- document.querySelector(el).appendChild(this.res);
69
- } else {
70
- return this.res;
71
- }
72
-
73
- }
74
- }*/
75
-
76
-
77
9
 
78
10
  class Audio extends Animator {
79
11
  constructor(url, /*obj*/) {
80
12
  super();
81
13
  this.url = url;
82
14
  this.res = null;
83
- //this.setup(obj);
84
15
 
85
16
  this.setup();
86
17
  }
@@ -95,23 +26,6 @@ import {Animator} from "./animator.js";
95
26
  this.res.setAttribute("controls", "controls");
96
27
 
97
28
 
98
- /*var x = document.createElement("VIDEO");
99
-
100
- if (x.canPlayType("video/mp4")) {
101
- x.setAttribute("src","movie.mp4");
102
- } else {
103
- x.setAttribute("src","movie.ogg");
104
- }
105
-
106
- x.setAttribute("width", "320");
107
- x.setAttribute("height", "240");
108
- x.setAttribute("controls", "controls");
109
- document.body.appendChild(x);
110
-
111
-
112
-
113
-
114
- */
115
29
  }
116
30
 
117
31
 
@@ -119,16 +33,8 @@ import {Animator} from "./animator.js";
119
33
  size(w/*, h*/) {
120
34
 
121
35
  this.res.style.width = w;
122
- //this.res.style.height = w;
123
36
 
124
37
 
125
- /*if (w && h) {
126
- this.res.style.width = w;
127
- this.res.style.height = h;
128
- } else {
129
- this.res.style.width = w;
130
- this.res.style.height = w;
131
- }*/
132
38
 
133
39
  return this;
134
40
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.217
2
+ * nodality v1.0.219
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -70,7 +70,4 @@ import {Animator} from "./animator.js";
70
70
 
71
71
 
72
72
 
73
- //var _oldAudio = Audio;
74
- //Audio = function(...args) { return new _oldAudio(...args) };
75
-
76
73
  export { NAudio };
package/layout/base.js CHANGED
@@ -1,23 +1,16 @@
1
1
  /*!
2
- * nodality v1.0.217
2
+ * nodality v1.0.219
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import {Animator} from "./animator.js";
8
-
9
7
  class Base {
10
8
  constructor(/*items*/){
11
- //this.items = items ?? [];
12
9
  //Base.prototype.items = items;
13
10
  this.oldLength = 0;
14
11
  }
15
12
 
16
13
 
17
- /*set itemso(itemsa) {
18
- this.items = itemsa;// (itemsa);
19
- Base.prototype.items = itemsa;
20
- }*/
21
14
 
22
15
 
23
16
  observe(obj) {
@@ -104,40 +97,6 @@ class Base {
104
97
  //node.insertBefore(p, node.childNodes[node.childNodes.length]);
105
98
  document.body.appendChild(p);
106
99
  }
107
-
108
-
109
-
110
-
111
-
112
- /*adjustState(newData){
113
-
114
- let node = document.querySelector(this.el);
115
-
116
-
117
- alert("LENAX " + node.childNodes[0].children.length);
118
-
119
-
120
- var lenax = node.childNodes[0].children.length;
121
-
122
- //var len = node.childNodes[0];// 1
123
- alert(node.childNodes[0]);
124
- while (node.firstChild){
125
- node.removeChild(node.lastChild);
126
- }
127
-
128
- this.render(this.el).render(this.el); // rendra ===> build
129
- }*/
130
-
131
-
132
-
133
-
134
- toNode(htmlString) {
135
- var div = document.createElement('div');
136
- div.innerHTML = htmlString.trim();
137
-
138
- // Change this to div.childNodes to support multiple top-level nodes
139
- return div.firstChild;
140
- }
141
100
 
142
101
 
143
102
 
@@ -149,9 +108,7 @@ class Base {
149
108
  toCode(){
150
109
  return [""];
151
110
  }
152
-
153
- toHTML(el){
154
- return this.render(el).render(el).innerHTML; // // rendra ===> build
155
- }
111
+
112
+
156
113
  }
157
114
  export { Base };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.217
2
+ * nodality v1.0.219
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -65,7 +65,6 @@ class /*Beta*/DesktopBar extends Animator { // add set method for background col
65
65
  // this and overrides it.
66
66
  this.navbar.style.padding = '1rem';
67
67
  this.navbar.style.backgroundColor = this.obj.background ?? '#333';
68
- //this.navbar.style.color = 'white';
69
68
 
70
69
  this.navbarHeader.style.display = 'flex';
71
70
  this.navbarHeader.style.alignItems = 'center';
@@ -86,10 +85,6 @@ class /*Beta*/DesktopBar extends Animator { // add set method for background col
86
85
  return this;
87
86
  }
88
87
 
89
- /*addNavItem(navItemElement) {
90
- this.navContent.appendChild(navItemElement);
91
- return this;
92
- }*/
93
88
 
94
89
  add(ele){
95
90
  this.items = ele;
@@ -105,11 +100,6 @@ class /*Beta*/DesktopBar extends Animator { // add set method for background col
105
100
  let items = this.items.map(it => it.toCode()).flatMap(x => x);
106
101
 
107
102
  // console.warn(items.join("").replace(/}\)/g, '}),'));
108
- /* console.log(this.items[3]);
109
-
110
- if (this.items[3].toCode().length != 1){
111
- alert("Wrong link codegen");
112
- }*/
113
103
 
114
104
  // ${items.join("")}
115
105
  return `new DesktopBar().set(${this.removeQuotesFromFirstWord(JSON.stringify(this.obj))}).add([
@@ -130,7 +120,6 @@ class /*Beta*/DesktopBar extends Animator { // add set method for background col
130
120
  }
131
121
 
132
122
  return this.navbar;
133
- // container.appendChild(this.navbar);
134
123
  }
135
124
  }
136
125