nodality 1.0.218 → 1.0.220

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 (264) hide show
  1. package/dist/animator.cjs.js +1 -1
  2. package/dist/animator.cjs.js.LICENSE.txt +1 -1
  3. package/dist/animator.esm.js +1 -1
  4. package/dist/animator.esm.js.LICENSE.txt +1 -1
  5. package/dist/audionew.cjs.js +1 -1
  6. package/dist/audionew.cjs.js.LICENSE.txt +1 -1
  7. package/dist/audionew.esm.js +1 -1
  8. package/dist/audionew.esm.js.LICENSE.txt +1 -1
  9. package/dist/base.cjs.js +1 -1
  10. package/dist/base.cjs.js.LICENSE.txt +1 -1
  11. package/dist/base.esm.js +1 -1
  12. package/dist/base.esm.js.LICENSE.txt +1 -1
  13. package/dist/beta-desktop-bar.cjs.js +1 -1
  14. package/dist/beta-desktop-bar.cjs.js.LICENSE.txt +1 -1
  15. package/dist/beta-desktop-bar.esm.js +1 -1
  16. package/dist/beta-desktop-bar.esm.js.LICENSE.txt +1 -1
  17. package/dist/beta-mobile-bar.cjs.js +1 -1
  18. package/dist/beta-mobile-bar.cjs.js.LICENSE.txt +1 -1
  19. package/dist/beta-mobile-bar.esm.js +1 -1
  20. package/dist/beta-mobile-bar.esm.js.LICENSE.txt +1 -1
  21. package/dist/bundle.umd.js +1 -1
  22. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  23. package/dist/button.cjs.js +1 -1
  24. package/dist/button.cjs.js.LICENSE.txt +1 -1
  25. package/dist/button.esm.js +1 -1
  26. package/dist/button.esm.js.LICENSE.txt +1 -1
  27. package/dist/card-getter.cjs.js.LICENSE.txt +1 -1
  28. package/dist/card-getter.esm.js.LICENSE.txt +1 -1
  29. package/dist/center.cjs.js +1 -1
  30. package/dist/center.cjs.js.LICENSE.txt +1 -1
  31. package/dist/center.esm.js +1 -1
  32. package/dist/center.esm.js.LICENSE.txt +1 -1
  33. package/dist/checkbox.cjs.js +1 -1
  34. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  35. package/dist/checkbox.esm.js +1 -1
  36. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  37. package/dist/code.cjs.js +1 -1
  38. package/dist/code.cjs.js.LICENSE.txt +1 -1
  39. package/dist/code.esm.js +1 -1
  40. package/dist/code.esm.js.LICENSE.txt +1 -1
  41. package/dist/container.cjs.js +1 -1
  42. package/dist/container.cjs.js.LICENSE.txt +1 -1
  43. package/dist/container.esm.js +1 -1
  44. package/dist/container.esm.js.LICENSE.txt +1 -1
  45. package/dist/data-list.cjs.js.LICENSE.txt +1 -1
  46. package/dist/data-list.esm.js.LICENSE.txt +1 -1
  47. package/dist/designer.cjs.js +1 -1
  48. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  49. package/dist/designer.esm.js +1 -1
  50. package/dist/designer.esm.js.LICENSE.txt +1 -1
  51. package/dist/element-mapper.cjs.js +1 -1
  52. package/dist/element-mapper.cjs.js.LICENSE.txt +1 -1
  53. package/dist/element-mapper.esm.js +1 -1
  54. package/dist/element-mapper.esm.js.LICENSE.txt +1 -1
  55. package/dist/finalresult.esm.js +1 -1
  56. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  57. package/dist/flex-card.cjs.js +1 -1
  58. package/dist/flex-card.cjs.js.LICENSE.txt +1 -1
  59. package/dist/flex-card.esm.js +1 -1
  60. package/dist/flex-card.esm.js.LICENSE.txt +1 -1
  61. package/dist/flex-grid.cjs.js +1 -1
  62. package/dist/flex-grid.cjs.js.LICENSE.txt +1 -1
  63. package/dist/flex-grid.esm.js +1 -1
  64. package/dist/flex-grid.esm.js.LICENSE.txt +1 -1
  65. package/dist/flex-row.cjs.js +1 -1
  66. package/dist/flex-row.cjs.js.LICENSE.txt +1 -1
  67. package/dist/flex-row.esm.js +1 -1
  68. package/dist/flex-row.esm.js.LICENSE.txt +1 -1
  69. package/dist/floating-input.cjs.js +1 -1
  70. package/dist/floating-input.cjs.js.LICENSE.txt +1 -1
  71. package/dist/floating-input.esm.js +1 -1
  72. package/dist/floating-input.esm.js.LICENSE.txt +1 -1
  73. package/dist/free.cjs.js +1 -1
  74. package/dist/free.cjs.js.LICENSE.txt +1 -1
  75. package/dist/free.esm.js +1 -1
  76. package/dist/free.esm.js.LICENSE.txt +1 -1
  77. package/dist/horizontal-scroller.cjs.js +1 -1
  78. package/dist/horizontal-scroller.cjs.js.LICENSE.txt +1 -1
  79. package/dist/horizontal-scroller.esm.js +1 -1
  80. package/dist/horizontal-scroller.esm.js.LICENSE.txt +1 -1
  81. package/dist/image-picker.cjs.js +1 -1
  82. package/dist/image-picker.cjs.js.LICENSE.txt +1 -1
  83. package/dist/image-picker.esm.js +1 -1
  84. package/dist/image-picker.esm.js.LICENSE.txt +1 -1
  85. package/dist/image.cjs.js +1 -1
  86. package/dist/image.cjs.js.LICENSE.txt +1 -1
  87. package/dist/image.esm.js +1 -1
  88. package/dist/image.esm.js.LICENSE.txt +1 -1
  89. package/dist/index.cjs.js +1 -1
  90. package/dist/index.cjs.js.LICENSE.txt +1 -1
  91. package/dist/index.esm.js +1 -1
  92. package/dist/index.esm.js.LICENSE.txt +1 -1
  93. package/dist/keyframe-animation.cjs.js.LICENSE.txt +1 -1
  94. package/dist/keyframe-animation.esm.js.LICENSE.txt +1 -1
  95. package/dist/link-getter.cjs.js +1 -1
  96. package/dist/link-getter.cjs.js.LICENSE.txt +1 -1
  97. package/dist/link-getter.esm.js +1 -1
  98. package/dist/link-getter.esm.js.LICENSE.txt +1 -1
  99. package/dist/link.cjs.js +1 -1
  100. package/dist/link.cjs.js.LICENSE.txt +1 -1
  101. package/dist/link.esm.js +1 -1
  102. package/dist/link.esm.js.LICENSE.txt +1 -1
  103. package/dist/meta-adder.cjs.js +1 -1
  104. package/dist/meta-adder.cjs.js.LICENSE.txt +1 -1
  105. package/dist/meta-adder.esm.js +1 -1
  106. package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
  107. package/dist/modal-2025.cjs.js +1 -1
  108. package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
  109. package/dist/modal-2025.esm.js +1 -1
  110. package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
  111. package/dist/multiswitcher.cjs.js +1 -1
  112. package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
  113. package/dist/multiswitcher.esm.js +1 -1
  114. package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
  115. package/dist/new-nav-bar.cjs.js +1 -1
  116. package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
  117. package/dist/new-nav-bar.esm.js +1 -1
  118. package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
  119. package/dist/picker.cjs.js +1 -1
  120. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  121. package/dist/picker.esm.js +1 -1
  122. package/dist/picker.esm.js.LICENSE.txt +1 -1
  123. package/dist/progress.cjs.js +1 -1
  124. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  125. package/dist/progress.esm.js +1 -1
  126. package/dist/progress.esm.js.LICENSE.txt +1 -1
  127. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  128. package/dist/radio.esm.js.LICENSE.txt +1 -1
  129. package/dist/range.cjs.js.LICENSE.txt +1 -1
  130. package/dist/range.esm.js.LICENSE.txt +1 -1
  131. package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
  132. package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
  133. package/dist/side-bar.cjs.js +1 -1
  134. package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
  135. package/dist/side-bar.esm.js +1 -1
  136. package/dist/side-bar.esm.js.LICENSE.txt +1 -1
  137. package/dist/side-nav-bar.cjs.js +1 -1
  138. package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
  139. package/dist/side-nav-bar.esm.js +1 -1
  140. package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
  141. package/dist/simple-bar.cjs.js +1 -1
  142. package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
  143. package/dist/simple-bar.esm.js +1 -1
  144. package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
  145. package/dist/slider-2025.cjs.js +1 -1
  146. package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
  147. package/dist/slider-2025.esm.js +1 -1
  148. package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
  149. package/dist/spacer.cjs.js +1 -1
  150. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  151. package/dist/spacer.esm.js +1 -1
  152. package/dist/spacer.esm.js.LICENSE.txt +1 -1
  153. package/dist/stack.cjs.js +1 -1
  154. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  155. package/dist/stack.esm.js +1 -1
  156. package/dist/stack.esm.js.LICENSE.txt +1 -1
  157. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  158. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  159. package/dist/table.cjs.js +1 -1
  160. package/dist/table.cjs.js.LICENSE.txt +1 -1
  161. package/dist/table.esm.js +1 -1
  162. package/dist/table.esm.js.LICENSE.txt +1 -1
  163. package/dist/text-field.cjs.js +1 -1
  164. package/dist/text-field.cjs.js.LICENSE.txt +1 -1
  165. package/dist/text-field.esm.js +1 -1
  166. package/dist/text-field.esm.js.LICENSE.txt +1 -1
  167. package/dist/text.cjs.js +1 -1
  168. package/dist/text.cjs.js.LICENSE.txt +1 -1
  169. package/dist/text.esm.js +1 -1
  170. package/dist/text.esm.js.LICENSE.txt +1 -1
  171. package/dist/theme.cjs.js.LICENSE.txt +1 -1
  172. package/dist/theme.esm.js.LICENSE.txt +1 -1
  173. package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
  174. package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
  175. package/dist/ulist.cjs.js +1 -1
  176. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  177. package/dist/ulist.esm.js +1 -1
  178. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  179. package/dist/video.cjs.js +1 -1
  180. package/dist/video.cjs.js.LICENSE.txt +1 -1
  181. package/dist/video.esm.js +1 -1
  182. package/dist/video.esm.js.LICENSE.txt +1 -1
  183. package/dist/wrap.cjs.js +1 -1
  184. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  185. package/dist/wrap.esm.js +1 -1
  186. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  187. package/dist/zoom-card.cjs.js +1 -1
  188. package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
  189. package/dist/zoom-card.esm.js +1 -1
  190. package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
  191. package/layout/animator.js +53 -80
  192. package/layout/audio.js +1 -95
  193. package/layout/audionew.js +1 -4
  194. package/layout/base.js +3 -46
  195. package/layout/beta-desktop-bar.js +1 -12
  196. package/layout/beta-mobile-bar.js +1 -43
  197. package/layout/button.js +5 -87
  198. package/layout/center.js +1 -41
  199. package/layout/checkbox.js +6 -10
  200. package/layout/circle.js +1 -1
  201. package/layout/code.js +1 -11
  202. package/layout/container.js +1 -106
  203. package/layout/dropdown-2025.js +1 -3
  204. package/layout/flex-card.js +8 -38
  205. package/layout/flex-grid.js +2 -23
  206. package/layout/flex-row.js +5 -233
  207. package/layout/form-components/custom.js +1 -1
  208. package/layout/form-components/data-list.js +1 -1
  209. package/layout/form-components/floating-input.js +1 -1
  210. package/layout/form-components/form-all.js +1 -1
  211. package/layout/form-components/form.js +1 -1
  212. package/layout/form-components/image-picker.js +1 -1
  213. package/layout/form-components/picker.js +1 -1
  214. package/layout/form-components/radio.js +1 -1
  215. package/layout/form-components/radiogroup.js +1 -1
  216. package/layout/form-components/range.js +1 -1
  217. package/layout/free.js +1 -40
  218. package/layout/grid-switcher.js +1 -14
  219. package/layout/grid.js +1 -11
  220. package/layout/horizontal-scroller.js +1 -7
  221. package/layout/image.js +3 -217
  222. package/layout/index.js +1 -1
  223. package/layout/link.js +7 -281
  224. package/layout/list.js +1 -8
  225. package/layout/meta-adder.js +1 -3
  226. package/layout/modal-2025.js +1 -44
  227. package/layout/multiswitcher.js +1 -55
  228. package/layout/nav-bar.js +1 -29
  229. package/layout/nav-factor/custom-div.js +1 -1
  230. package/layout/new-nav-bar.js +1 -91
  231. package/layout/polygon.js +1 -1
  232. package/layout/prerender-site.js +1 -2
  233. package/layout/prerender.js +1 -2
  234. package/layout/progress.js +1 -3
  235. package/layout/row.js +1 -15
  236. package/layout/scroll-video.js +1 -4
  237. package/layout/side-bar.js +1 -11
  238. package/layout/side-nav-bar.js +1 -66
  239. package/layout/simple-bar.js +1 -1
  240. package/layout/slider-2025.js +1 -2
  241. package/layout/spacer.js +1 -8
  242. package/layout/stack.js +1 -3
  243. package/layout/svg.js +1 -1
  244. package/layout/switcher.js +1 -6
  245. package/layout/table.js +1 -12
  246. package/layout/text-field.js +7 -17
  247. package/layout/text.js +1 -161
  248. package/layout/ulist.js +1 -13
  249. package/layout/video.js +1 -12
  250. package/layout/wrap.js +1 -50
  251. package/layout/zoom-card.js +1 -69
  252. package/lib/card-getter.js +1 -1
  253. package/lib/data.js +1 -1
  254. package/lib/designer.js +1 -1
  255. package/lib/element-mapper.js +1 -1
  256. package/lib/keyframe-animation.js +1 -1
  257. package/lib/link-getter.js +1 -1
  258. package/lib/raster-ops.js +1 -1
  259. package/lib/scroll-video.js +1 -1
  260. package/lib/seo.js +1 -1
  261. package/lib/stacker.js +1 -1
  262. package/lib/theme.js +1 -1
  263. package/lib/transform-anim.js +1 -1
  264. package/package.json +1 -1
package/layout/link.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.218
2
+ * nodality v1.0.220
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,21 +91,15 @@ 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
- setArea(area){
173
- this.res.style.gridArea = area;
174
- return this;
175
- }
96
+
176
97
 
177
98
  setup(){
178
99
  let el = document.createElement("a");
179
100
  el.setAttribute("href", this.link);
180
101
  el.style.textDecoration = "none";
181
- //el.style.fontWeight = "bold";
182
102
  el.style.color = "black";
183
- //el.style.textAlign = "center";
184
103
  el.style.fontFamily = "Arial";
185
104
 
186
105
  var text = document.createTextNode(this.text);
@@ -197,16 +116,6 @@ if (isExternal || isAnchor || url.endsWith(".html") || isScheme) {
197
116
 
198
117
  appendImageAsChild(options, margin){
199
118
 
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
119
 
211
120
  // // console.log(options);
212
121
 
@@ -229,9 +138,6 @@ document.body.appendChild(link);
229
138
  }
230
139
 
231
140
 
232
- //this.res.style.fontSize = "8rem";
233
-
234
-
235
141
 
236
142
  // Clears styles
237
143
  this.res = link; // 10:00:39
@@ -265,16 +171,10 @@ document.body.appendChild(link);
265
171
  const modifiedJSON = jsonString.replace(/"([^"]+)":/g, '$1:');
266
172
  return modifiedJSON;
267
173
  }
268
-
269
174
 
270
175
 
271
- onTap(handler){
272
- this.res.addEventListener("click", handler);
273
- return this;
274
- }
275
176
 
276
177
  set(obj){ // make it like I would like it
277
- // `1px solid ${this.blastData.color}
278
178
 
279
179
  // push at all times
280
180
  true && (this.elCSS.push(`text-decoration: none; \n`));
@@ -284,9 +184,6 @@ let stra = "";
284
184
 
285
185
  obj.onTap && this.onTap(obj.onTap);
286
186
 
287
- //obj.isHidden && this.isHidden(obj.isHidden);
288
-
289
- //obj.exact && (this.res.style.fontSize = obj.exact);
290
187
 
291
188
  obj.tags && super.setTags(obj.tags); // Has to be in both
292
189
 
@@ -297,22 +194,10 @@ this.commonMethods(obj);
297
194
 
298
195
  obj.flex && (this.res.style.display = "flex");
299
196
 
300
- //obj.pad && this.pad(obj.pad);
301
197
 
302
198
  //@ fixMobileTap: Suppress the mobile tap highlight and its 300ms delay.
303
199
  obj.fixMobileTap && this.fixMobileTap(obj.fixMobileTap);
304
200
 
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
201
 
317
202
  let rempad = this.removeQuotesFromFirstWord(JSON.stringify(obj.pad));
318
203
  obj.pad && (stra += `\n pad: ${rempad},`);
@@ -329,8 +214,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
329
214
  this.res.style.border = `${obj.borderObj.width} solid ${obj.borderObj.color}`;
330
215
  this.res.style.borderRadius = `${obj.borderObj.radius}`;
331
216
 
332
- //this.res.style.border = `3px solid transparent`;
333
- //this.res.style.border = "10px solid yellow";
334
217
 
335
218
  let rem = this.removeQuotesFromFirstWord(JSON.stringify(obj.borderObj));
336
219
  stra += `\n borderObj: ${rem},`;
@@ -357,17 +240,8 @@ obj.pad && (stra += `\n pad: ${rempad},`);
357
240
  obj.fluidc && this.fluidCopy(obj.fluidc);
358
241
  obj.fluidc && (stra += `\n fluidc: "${obj.fluidc}",`);
359
242
 
360
- // obj.size && this.fluidCopy(obj.size);
361
243
  // obj.size && (stra += `\n size: "${obj.size}",`);
362
244
 
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
245
 
372
246
  obj.clampc && this.clampCopy(obj.clampc);
373
247
 
@@ -393,15 +267,11 @@ obj.pad && (stra += `\n pad: ${rempad},`);
393
267
  obj.hover && (stra += `\n hover: ${stre},`);
394
268
 
395
269
 
396
-
397
-
398
270
 
399
271
 
400
- // obj.weight && (this.res.style.fontWeight = obj.weight);
401
272
 
402
273
  obj.blast && (this.blastData = obj.blast);
403
274
 
404
- //obj.bold && (this.res.style.fontWeight = "bold");
405
275
  // Wasn't there !!!
406
276
  obj.bold && (stra += `\n bold: ${obj.bold},`);
407
277
 
@@ -409,36 +279,19 @@ obj.pad && (stra += `\n pad: ${rempad},`);
409
279
  obj.block && this.toBlock();
410
280
  obj.block && (stra += `\n block: ${obj.block},`);
411
281
 
412
- //obj.border && this.border(obj);
413
282
 
414
- //obj.radius && this.radius(obj.radius);
415
283
  obj.radius && (stra += `\n radius: "${obj.radius}",`);
416
284
 
417
- // obj.width && this.width(obj.width);
418
285
  obj.width && (stra += `\n width: "${obj.width}",`);
419
286
 
420
287
 
421
- //obj.arrayMargin && this.arrayMargin(obj.arrayMargin.sides, obj.arrayMargin.value);
422
288
 
423
289
  obj.maxWidth && this.maxWidth(obj.maxWidth);
424
290
  // // // console.log(obj.arrayMargin);
425
291
 
426
292
 
427
-
428
293
 
429
294
 
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
295
 
443
296
  obj.url && this.res.setAttribute("href", obj.url);
444
297
  stra += `\n url: "${obj.url}",`;
@@ -446,7 +299,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
446
299
  obj.text && (this.res.textContent = obj.text);
447
300
  stra += `\n text: "${obj.text}",`;
448
301
 
449
- //this.text = obj.text;
450
302
 
451
303
  // stra += `\n text: "${obj.text}",`;
452
304
 
@@ -508,7 +360,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
508
360
  (stra += `\n blast: ${stringified},`);
509
361
  }
510
362
 
511
- //if obj.keySet && this.keySet(obj.keySet);
512
363
  //obj.keySet && (stra += `\n keySet: ${stringified},`);
513
364
 
514
365
  let str = `new Link().set({${stra}}) \n`;
@@ -517,7 +368,6 @@ obj.pad && (stra += `\n pad: ${rempad},`);
517
368
  obj.color && this.color(obj.color);
518
369
 
519
370
 
520
-
521
371
  //@ rounded: Apply the default corner radius. Use `radius` for a specific value.
522
372
  obj.rounded && this.round();
523
373
 
@@ -535,54 +385,13 @@ obj.pad && (stra += `\n pad: ${rempad},`);
535
385
 
536
386
 
537
387
  // 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
388
 
545
389
  obj.transform && this.reactOnTransform(obj.transform);
546
390
 
547
391
 
548
-
549
392
 
550
393
 
551
394
 
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
395
  let arr = [];
587
396
  // // console.log("....obj");
588
397
 
@@ -616,16 +425,6 @@ if (ft.length > 0){
616
425
  }
617
426
 
618
427
 
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
428
  // // console.log("LATA")
630
429
  // // console.log(ft);
631
430
  // // console.log(obj.shadow);
@@ -643,7 +442,6 @@ if (ft.length > 0){
643
442
 
644
443
 
645
444
  // THIS GETS OWERWRITTEN
646
- // this.res.style.border = "1Px solid orange";
647
445
 
648
446
  //alert(obj.hover && obj.hover.border);
649
447
  let keep = [];
@@ -663,19 +461,11 @@ if (ft.length > 0){
663
461
  // alert("PP")
664
462
  keep.push("animation");
665
463
 
666
- //this.res.style.opacity = 0.3;
667
464
  }
668
465
 
669
- /*if (obj.animationSimple){
670
- // alert("PP")
671
- keep.push("animationSimple");
672
-
673
- //this.res.style.opacity = 0.3;
674
- }*/
675
466
  // alert(obj.id);
676
467
  // obj.id is undefined why ???
677
468
 
678
- // alert(this.options.id); undef.
679
469
  // it isn't in ID
680
470
 
681
471
  // // console.log("Keeper");
@@ -689,12 +479,10 @@ if (ft.length > 0){
689
479
  }
690
480
 
691
481
 
692
-
693
482
 
694
483
 
695
484
 
696
485
  // 211518 you know howf
697
- // obj.mar && this.mar(obj.mar); // has to be here
698
486
 
699
487
  //---
700
488
 
@@ -709,10 +497,7 @@ if (ft.length > 0){
709
497
  this.res.style.position = "relative"; // create stacking context
710
498
  }
711
499
 
712
- color(e){
713
- this.res.style.color = e;
714
- return this;
715
- }
500
+
716
501
 
717
502
  maxWidth(mw){
718
503
  this.res.style.maxWidth = mw; // 121339 in flex
@@ -807,7 +592,6 @@ if (ft.length > 0){
807
592
  }
808
593
 
809
594
 
810
-
811
595
  const display6 = "calc(1rem + 0.5vw)"; // calc(1rem + 1.2vw)
812
596
 
813
597
  if (name === "S6"){
@@ -838,11 +622,6 @@ if (ft.length > 0){
838
622
  return this;
839
623
  }
840
624
 
841
- /*background(color){
842
- //this.res.style.padding = "1em";
843
- this.res.style.backgroundColor = color;
844
- return this;
845
- }*/
846
625
 
847
626
 
848
627
  newWindow() {
@@ -854,10 +633,8 @@ if (ft.length > 0){
854
633
  * Corner radius. A number is pixels; a string is passed through, so
855
634
  * `radius("50%")` and `radius(12)` both work.
856
635
  */
857
- radius(v) {
858
- this.res.style.borderRadius = typeof v === "number" ? `${v}px` : v;
859
- return this;
860
- }
636
+
637
+
861
638
 
862
639
  //@deprecated round: superseded by `radius()`, which is the same thing under the name the option already uses.
863
640
  round(v) {
@@ -866,32 +643,9 @@ if (ft.length > 0){
866
643
  }
867
644
 
868
645
 
869
-
870
-
871
-
872
646
  // 220812 la olympics 2028
873
647
 
874
648
 
875
-
876
-
877
-
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
887
-
888
-
889
-
890
-
891
-
892
-
893
-
894
-
895
649
 
896
650
 
897
651
  transition(duration){
@@ -899,11 +653,8 @@ if (ft.length > 0){
899
653
  this.res.style.transionProperty = `background, color`;
900
654
  return this;
901
655
  }
902
-
903
- width(percentage){
904
- this.res.style.width = percentage;
905
- return this;
906
- }
656
+
657
+
907
658
 
908
659
  italic(){
909
660
  this.res.style.fontStyle = "italic";
@@ -915,9 +666,6 @@ if (ft.length > 0){
915
666
  medium() {
916
667
  const adj = () => {
917
668
  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
669
 
922
670
  if (query.matches) {
923
671
  this.res.style.fontSize = '2rem';
@@ -939,22 +687,6 @@ if (ft.length > 0){
939
687
 
940
688
  /**/
941
689
 
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
690
 
959
691
 
960
692
 
@@ -980,7 +712,6 @@ if (ft.length > 0){
980
712
 
981
713
 
982
714
  res();
983
- // window.onresize = res();
984
715
 
985
716
 
986
717
 
@@ -999,12 +730,7 @@ if (ft.length > 0){
999
730
 
1000
731
 
1001
732
  render(div){
1002
- // this.code.push("})");
1003
-
1004
- /*if (this.options.id){
1005
- this.res.setAttribute("id", this.options.id);
1006
733
 
1007
- }*/
1008
734
 
1009
735
 
1010
736
  if (div){
package/layout/list.js CHANGED
@@ -1,11 +1,9 @@
1
1
  /*!
2
- * nodality v1.0.218
2
+ * nodality v1.0.220
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;
@@ -1,11 +1,9 @@
1
1
  /*!
2
- * nodality v1.0.218
2
+ * nodality v1.0.220
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.218
2
+ * nodality v1.0.220
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 };