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
package/layout/link.js CHANGED
@@ -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
  */
@@ -18,11 +18,6 @@ class Link extends Animator {
18
18
  this.html = [];
19
19
 
20
20
  // alert(link);
21
- /*if (text != undefined && link != undefined){
22
- this.code.push(`\n new Link("${text}", `,`"${link}")`);
23
- } else {
24
- this.code.push("\n new Link()");
25
- }*/
26
21
  // // // console.log(link); //
27
22
 
28
23
  this.res = null;
@@ -30,28 +25,6 @@ class Link extends Animator {
30
25
  this.setup();
31
26
  this.inlineBlock(); // auto set ??
32
27
 
33
- /*
34
- this.res.addEventListener("click", (e) => {
35
- const url = this.link || this.res.getAttribute("href");
36
- if (!url) return;
37
-
38
- const isExternal = /^https?:\/\//i.test(url);
39
- const isAnchor = url.startsWith("#");
40
-
41
- if (isExternal || isAnchor || url.endsWith(".html")) {
42
- // Always let browser handle these
43
- return;
44
- }
45
-
46
- // Otherwise SPA routing
47
- e.preventDefault();
48
- if ("navigation" in window) {
49
- navigation.navigate(url);
50
- } else {
51
- history.pushState({}, "", url);
52
- document.dispatchEvent(new PopStateEvent("popstate"));
53
- }
54
- });*/
55
28
 
56
29
  this.res.addEventListener("click", (e) => {
57
30
  const raw = this.link || this.res.getAttribute("href");
@@ -60,13 +33,6 @@ this.res.addEventListener("click", (e) => {
60
33
  // ✅ normalize again just in case
61
34
  const url = new URL(raw, window.location.href).href;
62
35
 
63
- /* const isExternal = /^https?:\/\//i.test(url);
64
- const isAnchor = url.startsWith("#");
65
-
66
- if (isExternal || isAnchor || url.endsWith(".html")) {
67
- // ✅ Let browser do a full navigation
68
- return;
69
- }*/
70
36
 
71
37
  const isExternal = /^https?:\/\//i.test(url);
72
38
  const isAnchor = url.startsWith("#");
@@ -90,45 +56,6 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
90
56
 
91
57
 
92
58
 
93
- /* this.res.addEventListener("click", (e) => {
94
-
95
- const url = this.link || this.res.getAttribute("href");
96
- if (!url) return;
97
-
98
- const isExternal = /^https?:\/\//i.test(url);
99
- const isAnchor = url.startsWith("#");
100
-
101
- if (isExternal) {
102
- // 🌍 External full URL → let browser handle it normally
103
- return;
104
- }
105
-
106
- if (isAnchor) {
107
- // 🔗 Anchor (#section) → let browser scroll to it
108
- return;
109
- }
110
-
111
- // At this point it’s a relative or root path (e.g. "/about" or "about.html")
112
- const isHTMLFile = url.endsWith(".html");
113
-
114
- if (isHTMLFile) {
115
- // 📄 Normal multipage HTML site → let browser load it
116
- return;
117
- }
118
-
119
- // 🚫 Otherwise → treat as SPA route
120
- e.preventDefault();
121
-
122
- if ("navigation" in window) {
123
- navigation.navigate(url);
124
- } else {
125
- history.pushState({}, "", url);
126
- document.dispatchEvent(new PopStateEvent("popstate"));
127
- }
128
-
129
- });*/
130
-
131
-
132
59
  }
133
60
 
134
61
  toCSS(){
@@ -141,10 +68,8 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
141
68
 
142
69
  toElCSS(){
143
70
  this.preffersId ? this.elCSS.unshift(this.res.id + " { \n") : (this.elCSS.unshift("." + this.class + " { \n"));
144
- //this.elCSS.unshift(this.res.id + " { \n");
145
71
  this.elCSS.push(" } \n \n");
146
72
  // // console.warn("OI")
147
- // // console.log(this.elCSS);
148
73
  return this.elCSS;
149
74
  }
150
75
 
@@ -166,7 +91,6 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
166
91
  .replace(/"([^"]+)":/g, '$1:');
167
92
 
168
93
  return [`new Link().set(${objString})`];
169
- //return this.code; // 120646 ovewrite 25/03
170
94
  }
171
95
 
172
96
  setArea(area){
@@ -178,9 +102,7 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
178
102
  let el = document.createElement("a");
179
103
  el.setAttribute("href", this.link);
180
104
  el.style.textDecoration = "none";
181
- //el.style.fontWeight = "bold";
182
105
  el.style.color = "black";
183
- //el.style.textAlign = "center";
184
106
  el.style.fontFamily = "Arial";
185
107
 
186
108
  var text = document.createTextNode(this.text);
@@ -197,16 +119,6 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
197
119
 
198
120
  appendImageAsChild(options, margin){
199
121
 
200
- /*
201
- let link = document.createElement("a");
202
- link.setAttribute("href", "https://www.apple.com");
203
- let img = document.createElement("img");
204
- img.setAttribute("src", "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFitX60XAzA1Cd8koHUgjCfMgCyxokZvYCybdzac6w&s");
205
- link.appendChild(img);
206
-
207
- document.body.appendChild(link);
208
-
209
- */
210
122
 
211
123
  // // console.log(options);
212
124
 
@@ -229,9 +141,6 @@ document.body.appendChild(link);
229
141
  }
230
142
 
231
143
 
232
- //this.res.style.fontSize = "8rem";
233
-
234
-
235
144
 
236
145
  // Clears styles
237
146
  this.res = link; // 10:00:39
@@ -274,7 +183,6 @@ document.body.appendChild(link);
274
183
  }
275
184
 
276
185
  set(obj){ // make it like I would like it
277
- // `1px solid ${this.blastData.color}
278
186
 
279
187
  // push at all times
280
188
  true && (this.elCSS.push(`text-decoration: none; \n`));
@@ -284,9 +192,6 @@ let stra = "";
284
192
 
285
193
  obj.onTap && this.onTap(obj.onTap);
286
194
 
287
- //obj.isHidden && this.isHidden(obj.isHidden);
288
-
289
- //obj.exact && (this.res.style.fontSize = obj.exact);
290
195
 
291
196
  obj.tags && super.setTags(obj.tags); // Has to be in both
292
197
 
@@ -297,22 +202,10 @@ this.commonMethods(obj);
297
202
 
298
203
  obj.flex && (this.res.style.display = "flex");
299
204
 
300
- //obj.pad && this.pad(obj.pad);
301
205
 
302
206
  //@ fixMobileTap: Suppress the mobile tap highlight and its 300ms delay.
303
207
  obj.fixMobileTap && this.fixMobileTap(obj.fixMobileTap);
304
208
 
305
- //obj.resprop && this.resprop(obj.resprop);
306
-
307
- /*
308
-
309
- const mapped = sides.map(x => `"${x}"`).join(", ");
310
- obj.arrayPadding && this.arrayPadding(obj.arrayPadding.sides, obj.arrayPadding.value);
311
- //obj.arrayPadding && this.arrayPadding(obj.arrayMargin.sides, obj.arrayMargin.value);
312
- obj.arrayPadding && (stra += this.spacingCode("pad", obj.arrayPadding.sides, obj.arrayPadding.value));
313
- */
314
-
315
-
316
209
 
317
210
  let rempad = this.removeQuotesFromFirstWord(JSON.stringify(obj.pad));
318
211
  obj.pad && (stra += `\n pad: ${rempad},`);
@@ -329,8 +222,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
329
222
  this.res.style.border = `${obj.borderObj.width} solid ${obj.borderObj.color}`;
330
223
  this.res.style.borderRadius = `${obj.borderObj.radius}`;
331
224
 
332
- //this.res.style.border = `3px solid transparent`;
333
- //this.res.style.border = "10px solid yellow";
334
225
 
335
226
  let rem = this.removeQuotesFromFirstWord(JSON.stringify(obj.borderObj));
336
227
  stra += `\n borderObj: ${rem},`;
@@ -357,17 +248,8 @@ obj.pad && (stra += `\n pad: ${rempad},`);
357
248
  obj.fluidc && this.fluidCopy(obj.fluidc);
358
249
  obj.fluidc && (stra += `\n fluidc: "${obj.fluidc}",`);
359
250
 
360
- // obj.size && this.fluidCopy(obj.size);
361
251
  // obj.size && (stra += `\n size: "${obj.size}",`);
362
252
 
363
- /*if (obj.fluidc === "S6") {
364
- obj.fluidc && (this.elCSS.push(`font-size: calc(1rem + 1.075vw); \n`));
365
- } else {
366
- obj.fluidc && (this.elCSS.push(`font-size: calc(1.625rem + 5.075vw); \n`));
367
- }*/
368
-
369
-
370
- // obj.fluidc && (this.elCSS.push(`font-size: calc(1.625rem + 5.075vw); \n`));
371
253
 
372
254
  obj.clampc && this.clampCopy(obj.clampc);
373
255
 
@@ -393,15 +275,11 @@ obj.pad && (stra += `\n pad: ${rempad},`);
393
275
  obj.hover && (stra += `\n hover: ${stre},`);
394
276
 
395
277
 
396
-
397
-
398
278
 
399
279
 
400
- // obj.weight && (this.res.style.fontWeight = obj.weight);
401
280
 
402
281
  obj.blast && (this.blastData = obj.blast);
403
282
 
404
- //obj.bold && (this.res.style.fontWeight = "bold");
405
283
  // Wasn't there !!!
406
284
  obj.bold && (stra += `\n bold: ${obj.bold},`);
407
285
 
@@ -409,36 +287,19 @@ obj.pad && (stra += `\n pad: ${rempad},`);
409
287
  obj.block && this.toBlock();
410
288
  obj.block && (stra += `\n block: ${obj.block},`);
411
289
 
412
- //obj.border && this.border(obj);
413
290
 
414
- //obj.radius && this.radius(obj.radius);
415
291
  obj.radius && (stra += `\n radius: "${obj.radius}",`);
416
292
 
417
- // obj.width && this.width(obj.width);
418
293
  obj.width && (stra += `\n width: "${obj.width}",`);
419
294
 
420
295
 
421
- //obj.arrayMargin && this.arrayMargin(obj.arrayMargin.sides, obj.arrayMargin.value);
422
296
 
423
297
  obj.maxWidth && this.maxWidth(obj.maxWidth);
424
298
  // // // console.log(obj.arrayMargin);
425
299
 
426
300
 
427
-
428
301
 
429
302
 
430
- /* if ((obj.link !== undefined || obj.url !== undefined) && obj.text !== undefined){
431
- this.link = obj.link;
432
- this.text = obj.text;
433
- stra += `\n link: "${obj.link}",`;
434
- stra += `\n text: "${obj.text}",`;
435
-
436
- obj.link && this.res.setAttribute("href", obj.link);
437
- // // // console.log(obj.link);
438
-
439
- obj.text && (this.res.textContent = obj.text);
440
-
441
- }*/
442
303
 
443
304
  obj.url && this.res.setAttribute("href", obj.url);
444
305
  stra += `\n url: "${obj.url}",`;
@@ -446,7 +307,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
446
307
  obj.text && (this.res.textContent = obj.text);
447
308
  stra += `\n text: "${obj.text}",`;
448
309
 
449
- //this.text = obj.text;
450
310
 
451
311
  // stra += `\n text: "${obj.text}",`;
452
312
 
@@ -508,7 +368,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
508
368
  (stra += `\n blast: ${stringified},`);
509
369
  }
510
370
 
511
- //if obj.keySet && this.keySet(obj.keySet);
512
371
  //obj.keySet && (stra += `\n keySet: ${stringified},`);
513
372
 
514
373
  let str = `new Link().set({${stra}}) \n`;
@@ -517,7 +376,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
517
376
  obj.color && this.color(obj.color);
518
377
 
519
378
 
520
-
521
379
  //@ rounded: Apply the default corner radius. Use `radius` for a specific value.
522
380
  obj.rounded && this.round();
523
381
 
@@ -535,54 +393,13 @@ obj.pad && (stra += `\n pad: ${rempad},`);
535
393
 
536
394
 
537
395
  // 504-711 REACT ON TRANSFORM
538
- /*
539
- if (obj.transform && obj.transform.transform){
540
- this.reactOnTransform(obj.transform);
541
- } else {
542
- this.reactOnTransform(obj);
543
- }*/
544
396
 
545
397
  obj.transform && this.reactOnTransform(obj.transform);
546
398
 
547
399
 
548
-
549
400
 
550
401
 
551
402
 
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
403
  let arr = [];
587
404
  // // console.log("....obj");
588
405
 
@@ -616,16 +433,6 @@ if (ft.length > 0){
616
433
  }
617
434
 
618
435
 
619
- // let arr = [];
620
-
621
- /*for (var i = 0; i < ft.length; i++){
622
- // // console.log("Linkello");
623
- arr.push({
624
- range: ft[i].range,
625
- log: ft[i].op.name
626
- });
627
- }*/
628
-
629
436
  // // console.log("LATA")
630
437
  // // console.log(ft);
631
438
  // // console.log(obj.shadow);
@@ -643,7 +450,6 @@ if (ft.length > 0){
643
450
 
644
451
 
645
452
  // THIS GETS OWERWRITTEN
646
- // this.res.style.border = "1Px solid orange";
647
453
 
648
454
  //alert(obj.hover && obj.hover.border);
649
455
  let keep = [];
@@ -663,19 +469,11 @@ if (ft.length > 0){
663
469
  // alert("PP")
664
470
  keep.push("animation");
665
471
 
666
- //this.res.style.opacity = 0.3;
667
472
  }
668
473
 
669
- /*if (obj.animationSimple){
670
- // alert("PP")
671
- keep.push("animationSimple");
672
-
673
- //this.res.style.opacity = 0.3;
674
- }*/
675
474
  // alert(obj.id);
676
475
  // obj.id is undefined why ???
677
476
 
678
- // alert(this.options.id); undef.
679
477
  // it isn't in ID
680
478
 
681
479
  // // console.log("Keeper");
@@ -689,12 +487,10 @@ if (ft.length > 0){
689
487
  }
690
488
 
691
489
 
692
-
693
490
 
694
491
 
695
492
 
696
493
  // 211518 you know howf
697
- // obj.mar && this.mar(obj.mar); // has to be here
698
494
 
699
495
  //---
700
496
 
@@ -807,7 +603,6 @@ if (ft.length > 0){
807
603
  }
808
604
 
809
605
 
810
-
811
606
  const display6 = "calc(1rem + 0.5vw)"; // calc(1rem + 1.2vw)
812
607
 
813
608
  if (name === "S6"){
@@ -838,11 +633,6 @@ if (ft.length > 0){
838
633
  return this;
839
634
  }
840
635
 
841
- /*background(color){
842
- //this.res.style.padding = "1em";
843
- this.res.style.backgroundColor = color;
844
- return this;
845
- }*/
846
636
 
847
637
 
848
638
  newWindow() {
@@ -866,32 +656,9 @@ if (ft.length > 0){
866
656
  }
867
657
 
868
658
 
869
-
870
-
871
-
872
659
  // 220812 la olympics 2028
873
660
 
874
661
 
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
887
-
888
-
889
-
890
-
891
-
892
-
893
-
894
-
895
662
 
896
663
 
897
664
  transition(duration){
@@ -915,9 +682,6 @@ if (ft.length > 0){
915
682
  medium() {
916
683
  const adj = () => {
917
684
  let query = window.matchMedia("(max-device-width: 415px)");
918
- /* let query = window.matchMedia("(max-device-width: 415px)");
919
- if (window.innerWidth < h || query.matches) {
920
- } */
921
685
 
922
686
  if (query.matches) {
923
687
  this.res.style.fontSize = '2rem';
@@ -939,22 +703,6 @@ if (ft.length > 0){
939
703
 
940
704
  /**/
941
705
 
942
- /* hover(back, fore){
943
- this.prevColor = this.res.style.backgroundColor;
944
- this.foreColor = this.res.style.color;
945
-
946
- this.res.onmouseover = () => {
947
- this.res.style.backgroundColor = `${back}`;
948
- this.res.style.color = `${fore}`;
949
- }
950
-
951
- this.res.onmouseout = () => {
952
- this.res.style.backgroundColor = `${this.prevColor}`;
953
- this.res.style.color = `${this.foreColor}`;
954
- }
955
-
956
- return this;
957
- } */
958
706
 
959
707
 
960
708
 
@@ -980,7 +728,6 @@ if (ft.length > 0){
980
728
 
981
729
 
982
730
  res();
983
- // window.onresize = res();
984
731
 
985
732
 
986
733
 
@@ -999,12 +746,7 @@ if (ft.length > 0){
999
746
 
1000
747
 
1001
748
  render(div){
1002
- // this.code.push("})");
1003
-
1004
- /*if (this.options.id){
1005
- this.res.setAttribute("id", this.options.id);
1006
749
 
1007
- }*/
1008
750
 
1009
751
 
1010
752
  if (div){
package/layout/list.js CHANGED
@@ -1,11 +1,9 @@
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
  // 13:28 07/04/2020 - BEGIN NOTHING GONNA STOP US NOW Lets go!
10
8
  class List {
11
9
  constructor() {
@@ -25,7 +23,6 @@ class List {
25
23
  this.wrapper.style.margin = 0;
26
24
  this.wrapCopy = this.wrapper;
27
25
  this.tasks = {};
28
- // var copy = this.tasks;
29
26
  return this;
30
27
  }
31
28
 
@@ -81,9 +78,6 @@ class List {
81
78
  var me = this;
82
79
  return new Proxy(a, {
83
80
  get(target, property, receiver) { // GETTER FIRES THIS BEFORE WE GET DATA USING (this.items.push())
84
- /*
85
- me.itemso = a[property].map(t => String(t));
86
- return a[property];*/
87
81
 
88
82
  return a[property];
89
83
  },
@@ -103,7 +97,6 @@ class List {
103
97
  }
104
98
 
105
99
 
106
-
107
100
  class Cell {
108
101
  constructor(){
109
102
  this.res = null;
@@ -126,8 +119,7 @@ class Cell {
126
119
  return this.res;
127
120
  }
128
121
  }
129
- window.List
130
- Cell = List
131
- Cell;
132
- export { List
133
- Cell };
122
+ window.List = List;
123
+ window.Cell = Cell;
124
+
125
+ export { List, Cell };
@@ -1,11 +1,9 @@
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 MetaAdder{
10
8
  constructor(){
11
9
  this.res = document.createElement("meta");
@@ -1,12 +1,9 @@
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
-
10
7
  class Modal {
11
8
  constructor(){
12
9
  this.el = null;
@@ -19,9 +16,7 @@ class Modal {
19
16
  el.style.width = "100vw";
20
17
  el.style.height = "100vh";
21
18
  el.style.backgroundColor = obj.background;//"rgba(70,157,115,0.8)";
22
- // el.style.backgroundColor = "#3498db";
23
19
  el.style.zIndex = "1";
24
- //el.style.opacity = 0.90;
25
20
  el.style.position = "absolute";
26
21
  el.style.overflowY = "scroll";
27
22
 
@@ -67,27 +62,10 @@ class Modal {
67
62
  }
68
63
 
69
64
 
70
- /* el.style.marginTop = "60px";
71
- el.style.width = this.obj.width; //"60%";
72
- el.style.height = "auto";
73
- el.style.marginLeft = "auto";
74
- el.style.marginRight = "auto";
75
- el.style.backgroundColor = "white"; // "#3498db";
76
- el.style.opacity = 1.0;
77
- el.style.zIndex = "2";
78
- el.style.borderRadius = "16px";
79
- el.style.overflow = "hidden"; // User wrapper instead of this?
80
- */
81
65
 
82
66
 
83
- // el.style.padding = "2em";
84
67
 
85
68
 
86
- /* let mq = window.matchMedia("(max-device-width: 415px)");
87
- if (mq.matches){
88
- el.style.marginTop = "200px";
89
- el.style.width = "100%";
90
- }*/
91
69
 
92
70
 
93
71
 
@@ -100,12 +78,6 @@ class Modal {
100
78
 
101
79
  this.res.appendChild(el);
102
80
 
103
- /* let inner = new Text("WOW");
104
- let ren = inner.render();
105
- ren.style.zIndex = "2";
106
-
107
- this.res.appendChild(ren);
108
- */
109
81
 
110
82
 
111
83
 
@@ -129,19 +101,4 @@ render(el) {
129
101
  }
130
102
 
131
103
 
132
-
133
-
134
-
135
- // var firstLong = "Mount Everest is Earth's highest mountain above sea level, located in the Mahalangur Himal sub-range of the Himalayas. The China–Nepal border runs across its summit point. Its elevation (snow height) of 8,848.86 m (29,031.7 ft) was most recently established in 2020 by the Nepali and Chinese authorities. Mount Everest attracts many climbers, including highly experienced mountaineers. There are two main climbing routes, one approaching the summit from the southeast in Nepal (known as the standard route) and the other from the north in Tibet. While not posing substantial technical climbing challenges on the standard route, Everest presents dangers such as altitude sickness, weather, and wind, as well as significant hazards from avalanches and the Khumbu Icefall. As of 2019, over 300 people have died on Everest, many of whose bodies remain on the mountain.";
136
-
137
-
138
- // var secondLong = "Mount Everest (Chinese: 珠穆朗玛 Zhūmùlǎngmǎ; Nepali: सगरमाथा, romanized: Sagarmāthā; Tibetan: Chomolungma ཇོ་མོ་གླང་མ) is Earth's highest mountain above sea level, located in the Mahalangur Himal sub-range of the Himalayas. The China–Nepal border runs across its summit point. Its elevation (snow height) of 8,848.86 m (29,031.7 ft) was most recently established in 2020 by the Nepali and Chinese authorities. Mount Everest attracts many climbers, including highly experienced mountaineers. There are two main climbing routes, one approaching the summit from the southeast in Nepal (known as the standard route) and the other from the north in Tibet. While not posing substantial technical climbing challenges on the standard route, Everest presents dangers such as altitude sickness, weather, and wind, as well as significant hazards from avalanches and the Khumbu Icefall. As of 2019, over 300 people have died on Everest, many of whose bodies remain on the mountain. The first recorded efforts to reach Everest's summit were made by British mountaineers. As Nepal did not allow foreigners to enter the country at the time, the British made several attempts on the north ridge route from the Tibetan side. After the first reconnaissance expedition by the British in 1921 reached 7,000 m (22,970 ft) on the North Col, the 1922 expedition pushed the north ridge route up to 8,320 m (27,300 ft), marking the first time a human had climbed above 8,000 m (26,247 ft). The 1924 expedition resulted in one of the greatest mysteries on Everest to this day: George Mallory and Andrew Irvine made a final summit attempt on 8 June but never returned, sparking debate as to whether or not they were the first to reach the top. Tenzing Norgay and Edmund Hillary made the first official ascent of Everest in 1953, using the southeast ridge route. Norgay had reached 8,595 m (28,199 ft) the previous year as a member of the 1952 Swiss expedition. The Chinese mountaineering team of Wang Fuzhou, Gonpo, and Qu Yinhua made the first reported ascent of the peak from the north ridge on 25 May 1960.";
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
104
  export { Modal };