nodality 1.0.219 → 1.0.221

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 (262) 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.LICENSE.txt +1 -1
  78. package/dist/horizontal-scroller.esm.js.LICENSE.txt +1 -1
  79. package/dist/image-picker.cjs.js +1 -1
  80. package/dist/image-picker.cjs.js.LICENSE.txt +1 -1
  81. package/dist/image-picker.esm.js +1 -1
  82. package/dist/image-picker.esm.js.LICENSE.txt +1 -1
  83. package/dist/image.cjs.js +1 -1
  84. package/dist/image.cjs.js.LICENSE.txt +1 -1
  85. package/dist/image.esm.js +1 -1
  86. package/dist/image.esm.js.LICENSE.txt +1 -1
  87. package/dist/index.cjs.js +1 -1
  88. package/dist/index.cjs.js.LICENSE.txt +1 -1
  89. package/dist/index.esm.js +1 -1
  90. package/dist/index.esm.js.LICENSE.txt +1 -1
  91. package/dist/keyframe-animation.cjs.js.LICENSE.txt +1 -1
  92. package/dist/keyframe-animation.esm.js.LICENSE.txt +1 -1
  93. package/dist/link-getter.cjs.js +1 -1
  94. package/dist/link-getter.cjs.js.LICENSE.txt +1 -1
  95. package/dist/link-getter.esm.js +1 -1
  96. package/dist/link-getter.esm.js.LICENSE.txt +1 -1
  97. package/dist/link.cjs.js +1 -1
  98. package/dist/link.cjs.js.LICENSE.txt +1 -1
  99. package/dist/link.esm.js +1 -1
  100. package/dist/link.esm.js.LICENSE.txt +1 -1
  101. package/dist/meta-adder.cjs.js +1 -1
  102. package/dist/meta-adder.cjs.js.LICENSE.txt +1 -1
  103. package/dist/meta-adder.esm.js +1 -1
  104. package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
  105. package/dist/modal-2025.cjs.js +1 -1
  106. package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
  107. package/dist/modal-2025.esm.js +1 -1
  108. package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
  109. package/dist/multiswitcher.cjs.js +1 -1
  110. package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
  111. package/dist/multiswitcher.esm.js +1 -1
  112. package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
  113. package/dist/new-nav-bar.cjs.js +1 -1
  114. package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
  115. package/dist/new-nav-bar.esm.js +1 -1
  116. package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
  117. package/dist/picker.cjs.js +1 -1
  118. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  119. package/dist/picker.esm.js +1 -1
  120. package/dist/picker.esm.js.LICENSE.txt +1 -1
  121. package/dist/progress.cjs.js +1 -1
  122. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  123. package/dist/progress.esm.js +1 -1
  124. package/dist/progress.esm.js.LICENSE.txt +1 -1
  125. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  126. package/dist/radio.esm.js.LICENSE.txt +1 -1
  127. package/dist/range.cjs.js.LICENSE.txt +1 -1
  128. package/dist/range.esm.js.LICENSE.txt +1 -1
  129. package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
  130. package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
  131. package/dist/side-bar.cjs.js +1 -1
  132. package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
  133. package/dist/side-bar.esm.js +1 -1
  134. package/dist/side-bar.esm.js.LICENSE.txt +1 -1
  135. package/dist/side-nav-bar.cjs.js +1 -1
  136. package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
  137. package/dist/side-nav-bar.esm.js +1 -1
  138. package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
  139. package/dist/simple-bar.cjs.js +1 -1
  140. package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
  141. package/dist/simple-bar.esm.js +1 -1
  142. package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
  143. package/dist/slider-2025.cjs.js +1 -1
  144. package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
  145. package/dist/slider-2025.esm.js +1 -1
  146. package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
  147. package/dist/spacer.cjs.js +1 -1
  148. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  149. package/dist/spacer.esm.js +1 -1
  150. package/dist/spacer.esm.js.LICENSE.txt +1 -1
  151. package/dist/stack.cjs.js +1 -1
  152. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  153. package/dist/stack.esm.js +1 -1
  154. package/dist/stack.esm.js.LICENSE.txt +1 -1
  155. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  156. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  157. package/dist/table.cjs.js +1 -1
  158. package/dist/table.cjs.js.LICENSE.txt +1 -1
  159. package/dist/table.esm.js +1 -1
  160. package/dist/table.esm.js.LICENSE.txt +1 -1
  161. package/dist/text-field.cjs.js +1 -1
  162. package/dist/text-field.cjs.js.LICENSE.txt +1 -1
  163. package/dist/text-field.esm.js +1 -1
  164. package/dist/text-field.esm.js.LICENSE.txt +1 -1
  165. package/dist/text.cjs.js +1 -1
  166. package/dist/text.cjs.js.LICENSE.txt +1 -1
  167. package/dist/text.esm.js +1 -1
  168. package/dist/text.esm.js.LICENSE.txt +1 -1
  169. package/dist/theme.cjs.js.LICENSE.txt +1 -1
  170. package/dist/theme.esm.js.LICENSE.txt +1 -1
  171. package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
  172. package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
  173. package/dist/ulist.cjs.js +1 -1
  174. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  175. package/dist/ulist.esm.js +1 -1
  176. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  177. package/dist/video.cjs.js +1 -1
  178. package/dist/video.cjs.js.LICENSE.txt +1 -1
  179. package/dist/video.esm.js +1 -1
  180. package/dist/video.esm.js.LICENSE.txt +1 -1
  181. package/dist/wrap.cjs.js +1 -1
  182. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  183. package/dist/wrap.esm.js +1 -1
  184. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  185. package/dist/zoom-card.cjs.js +1 -1
  186. package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
  187. package/dist/zoom-card.esm.js +1 -1
  188. package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
  189. package/layout/animator.js +71 -1
  190. package/layout/audio.js +1 -1
  191. package/layout/audionew.js +1 -1
  192. package/layout/base.js +8 -3
  193. package/layout/beta-desktop-bar.js +1 -1
  194. package/layout/beta-mobile-bar.js +1 -3
  195. package/layout/button.js +7 -21
  196. package/layout/center.js +1 -1
  197. package/layout/checkbox.js +6 -6
  198. package/layout/circle.js +1 -1
  199. package/layout/code.js +1 -1
  200. package/layout/container.js +4 -18
  201. package/layout/dropdown-2025.js +1 -1
  202. package/layout/flex-card.js +7 -49
  203. package/layout/flex-grid.js +4 -10
  204. package/layout/flex-row.js +5 -17
  205. package/layout/form-components/custom.js +1 -1
  206. package/layout/form-components/data-list.js +1 -1
  207. package/layout/form-components/floating-input.js +1 -1
  208. package/layout/form-components/form-all.js +1 -1
  209. package/layout/form-components/form.js +1 -1
  210. package/layout/form-components/image-picker.js +1 -1
  211. package/layout/form-components/picker.js +1 -1
  212. package/layout/form-components/radio.js +1 -1
  213. package/layout/form-components/radiogroup.js +1 -1
  214. package/layout/form-components/range.js +1 -1
  215. package/layout/free.js +1 -1
  216. package/layout/grid-switcher.js +16 -7
  217. package/layout/grid.js +7 -2
  218. package/layout/horizontal-scroller.js +1 -1
  219. package/layout/image.js +3 -58
  220. package/layout/index.js +1 -1
  221. package/layout/link.js +7 -42
  222. package/layout/list.js +12 -3
  223. package/layout/meta-adder.js +8 -3
  224. package/layout/modal-2025.js +7 -2
  225. package/layout/multiswitcher.js +1 -1
  226. package/layout/nav-bar.js +49 -44
  227. package/layout/nav-factor/custom-div.js +1 -1
  228. package/layout/new-nav-bar.js +1 -1
  229. package/layout/polygon.js +1 -1
  230. package/layout/prerender-site.js +1 -1
  231. package/layout/prerender.js +1 -1
  232. package/layout/progress.js +7 -2
  233. package/layout/row.js +7 -2
  234. package/layout/scroll-video.js +7 -2
  235. package/layout/side-bar.js +15 -10
  236. package/layout/side-nav-bar.js +1 -1
  237. package/layout/simple-bar.js +1 -1
  238. package/layout/slider-2025.js +1 -1
  239. package/layout/spacer.js +7 -2
  240. package/layout/stack.js +7 -2
  241. package/layout/svg.js +1 -1
  242. package/layout/switcher.js +7 -2
  243. package/layout/table.js +1 -1
  244. package/layout/text-field.js +8 -26
  245. package/layout/text.js +1 -18
  246. package/layout/ulist.js +1 -1
  247. package/layout/video.js +1 -1
  248. package/layout/wrap.js +7 -2
  249. package/layout/zoom-card.js +1 -1
  250. package/lib/card-getter.js +1 -1
  251. package/lib/data.js +1 -1
  252. package/lib/designer.js +1 -1
  253. package/lib/element-mapper.js +1 -1
  254. package/lib/keyframe-animation.js +1 -1
  255. package/lib/link-getter.js +1 -1
  256. package/lib/raster-ops.js +1 -1
  257. package/lib/scroll-video.js +1 -1
  258. package/lib/seo.js +1 -1
  259. package/lib/stacker.js +1 -1
  260. package/lib/theme.js +1 -1
  261. package/lib/transform-anim.js +1 -1
  262. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -957,6 +957,76 @@ resmar(arr) {
957
957
  * ordinary paths and blocked the page for every visitor, and the ban is
958
958
  * worth more than making this one warning louder.
959
959
  */
960
+ color(color){
961
+ this.res.style.color = color;
962
+ return this;
963
+ }
964
+
965
+ onTap(handler){
966
+ this.res.addEventListener("click", handler);
967
+ return this;
968
+ }
969
+
970
+ setArea(area){
971
+ this.res.style.gridArea = area;
972
+ return this;
973
+ }
974
+
975
+
976
+ font(font){
977
+ this.res.style.fontFamily = font;
978
+ return this;
979
+ }
980
+
981
+ radius(v) {
982
+ this.res.style.borderRadius = typeof v === "number" ? `${v}px` : v;
983
+ return this;
984
+ }
985
+
986
+ width(percentage){
987
+ this.res.style.width = percentage;
988
+ return this;
989
+ }
990
+
991
+ scale(obj){
992
+
993
+ let previousWidth = this.res.style.width;
994
+
995
+ this.res.style.transition= "0.5s all";
996
+ // alert(previousWidth);
997
+
998
+ this.res.addEventListener("mouseover", () => {
999
+ let previousWidth = this.res.style.width;
1000
+ this.res.style.transform = "scale(1.04)";
1001
+ });
1002
+
1003
+ this.res.addEventListener("mouseout", () => {
1004
+ let previousWidth = this.res.style.width;
1005
+ this.res.style.transform = "scale(1.0)";
1006
+ });
1007
+
1008
+
1009
+ return this;
1010
+ }
1011
+
1012
+ round(v) {
1013
+ this.deprecatedOption("round()", "radius()");
1014
+ return this.radius(v);
1015
+ }
1016
+
1017
+ toCSS(){
1018
+ return this.css;
1019
+ }
1020
+
1021
+ toHTMLA(){
1022
+ return this.html;
1023
+ }
1024
+
1025
+ background(color){
1026
+ this.res.style.background = color;
1027
+ return this;
1028
+ }
1029
+
960
1030
  deprecatedOption(name, replacement) {
961
1031
  console.error(`nodality: \`${name}\` is deprecated — use \`${replacement}\` instead.`);
962
1032
  return this;
package/layout/audio.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/base.js CHANGED
@@ -1,11 +1,16 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
- class Base {
7
+ import {Animator} from "./animator.js";
8
+ class Base extends Animator{
8
9
  constructor(/*items*/){
10
+ super();
11
+ // Converted from a standalone class; opting out of Theme keeps rendering
12
+ // byte-identical to the pre-conversion behaviour.
13
+ this._noTheme = true;
9
14
  //Base.prototype.items = items;
10
15
  this.oldLength = 0;
11
16
  }
@@ -101,7 +106,7 @@ class Base {
101
106
 
102
107
 
103
108
  mount(el){
104
- this.el = el;
109
+ this.res = el;
105
110
  this.render(el).render(el); // // this.render === function inside component
106
111
  }
107
112
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,12 +1,10 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import {Animator} from "./animator.js";
8
- import {Text} from "./text.js";
9
-
10
8
  class /*Beta*/MobileBar extends Animator {
11
9
  constructor() {
12
10
  super();
package/layout/button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -263,21 +263,10 @@ this.options = obj;
263
263
  this.res.setAttribute("class", classa);
264
264
  return this;
265
265
  }
266
-
267
- color(color){
268
- this.res.style.color = color;
269
- return this;
270
- }
271
-
272
- background(color){
273
- this.res.style.background = color;
274
- return this;
275
- }
276
-
277
- width(percentage){
278
- this.res.style.width = percentage;
279
- return this;
280
- }
266
+
267
+
268
+
269
+
281
270
 
282
271
 
283
272
  borderRadius(radius){
@@ -352,11 +341,8 @@ this.options = obj;
352
341
 
353
342
  return this;
354
343
  }
355
-
356
- onTap(e){
357
- this.res.addEventListener("click", e);
358
- return this;
359
- }
344
+
345
+
360
346
 
361
347
  toCode() {
362
348
  //console.log("OPTIONS ARE");
package/layout/center.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -9,7 +9,7 @@ import { Animator } from "./animator.js";
9
9
  class Checkbox extends Animator {
10
10
  constructor() {
11
11
  super();
12
- this.el = null;
12
+ this.res = null;
13
13
 
14
14
 
15
15
  }
@@ -134,12 +134,12 @@ obj.resmar && this.resmar(obj.resmar);
134
134
 
135
135
  div.appendChild(labelDiv);
136
136
 
137
- this.el = div;
137
+ this.res = div;
138
138
  return this;
139
139
  }
140
140
 
141
141
  getValue() {
142
- return this.el.children[0].checked;
142
+ return this.res.children[0].checked;
143
143
  }
144
144
 
145
145
  toCode() {
@@ -169,9 +169,9 @@ obj.resmar && this.resmar(obj.resmar);
169
169
 
170
170
  render(div) {
171
171
  if (div) {
172
- document.querySelector(div).appendChild(this.el);
172
+ document.querySelector(div).appendChild(this.res);
173
173
  } else {
174
- return this.el;
174
+ return this.res;
175
175
  }
176
176
  }
177
177
  }
package/layout/circle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/code.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -61,17 +61,10 @@ code = `${pad}new Wrapper()`;
61
61
  getType(){
62
62
  return "LayoutWrapperElement"; // 224647
63
63
  }
64
- // 220543§§§§§§§§§§§§§§§§§§§§¨ú
65
- setArea(area){
66
- this.res.style.gridArea = area;
67
- return this;
68
- }
69
64
 
70
65
 
71
- onTap(handler){
72
- this.res.addEventListener("click", handler);
73
- return this;
74
- }
66
+
67
+
75
68
 
76
69
 
77
70
  set(obj){
@@ -486,10 +479,6 @@ code = `${pad}new Wrapper()`;
486
479
  }
487
480
 
488
481
 
489
- font(font){
490
- this.res.style.fontFamily = font;
491
- return this;
492
- }
493
482
 
494
483
  flexAlign(perc){
495
484
  this.res.style.display = "flex";
@@ -508,10 +497,7 @@ code = `${pad}new Wrapper()`;
508
497
  return this;
509
498
  }
510
499
 
511
- width(perc){
512
- this.res.style.width = perc;
513
- return this;
514
- }
500
+
515
501
 
516
502
  heightNoAuto(perc){
517
503
  this.res.style.height = perc;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -32,10 +32,7 @@ class Card extends Animator {
32
32
  return this;
33
33
  }
34
34
 
35
- onTap(handler){
36
- this.res.addEventListener("click", handler);
37
- return this;
38
- }
35
+
39
36
 
40
37
  set(obj){
41
38
  let stra = "";
@@ -133,41 +130,10 @@ this.options = obj;
133
130
 
134
131
  return this;
135
132
  }
136
-
137
- scale(obj){
138
-
139
- let previousWidth = this.res.style.width;
140
-
141
- this.res.style.transition= "0.5s all";
142
- // alert(previousWidth);
143
-
144
- this.res.addEventListener("mouseover", () => {
145
- let previousWidth = this.res.style.width;
146
- this.res.style.transform = "scale(1.04)";
147
- });
148
-
149
- this.res.addEventListener("mouseout", () => {
150
- let previousWidth = this.res.style.width;
151
- this.res.style.transform = "scale(1.0)";
152
- });
153
-
154
-
155
- return this;
156
- }
157
-
158
- background(color){
159
- // The shorthand, not backgroundColor: it also resets background-image,
160
- // so setting a flat colour after a gradient clears the gradient. The
161
- // longhand left it in place, so the same call behaved differently
162
- // depending on which component you happened to hold.
163
- this.res.style.background = color;
164
- return this;
165
- }
166
-
167
- color(color){
168
- this.res.style.color = color;
169
- return this;
170
- }
133
+
134
+
135
+
136
+
171
137
 
172
138
 
173
139
  items(els){
@@ -186,16 +152,8 @@ this.options = obj;
186
152
  * Corner radius. A number is pixels; a string is passed through, so
187
153
  * `radius("50%")` and `radius(12)` both work.
188
154
  */
189
- radius(v) {
190
- this.res.style.borderRadius = typeof v === "number" ? `${v}px` : v;
191
- return this;
192
- }
193
155
 
194
- //@deprecated round: superseded by `radius()`, which is the same thing under the name the option already uses.
195
- round(v) {
196
- this.deprecatedOption("round()", "radius()");
197
- return this.radius(v);
198
- }
156
+
199
157
 
200
158
 
201
159
  render(div){
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -37,10 +37,7 @@ class FlexGrid extends Animator {
37
37
  return "FlexRowLayoutElement";
38
38
  }
39
39
 
40
- onTap(handler){
41
- this.res.addEventListener("click", handler);
42
- return this;
43
- }
40
+
44
41
 
45
42
  set(options){
46
43
  options.id && this.res.setAttribute("id", options.id);
@@ -221,11 +218,8 @@ if (el != undefined){
221
218
  this.code.push("\n ])");
222
219
  return this;
223
220
  }
224
-
225
- width(w){
226
- this.res.style.width = w;
227
- return this;
228
- }
221
+
222
+
229
223
 
230
224
 
231
225
  border(color, width){
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -291,13 +291,7 @@ let stringified = JSON.stringify(options.borderObj);
291
291
  }
292
292
  }
293
293
 
294
-
295
-
296
294
 
297
- setArea(area){
298
- this.res.style.gridArea = area;
299
- return this;
300
- }
301
295
 
302
296
  toColumnAt(at){ // THIS IS THE ONE!!!
303
297
 
@@ -497,11 +491,8 @@ let stringified = JSON.stringify(options.borderObj);
497
491
 
498
492
  return this;
499
493
  }
500
-
501
- background(color){
502
- this.res.style.background = color;
503
- return this;
504
- }
494
+
495
+
505
496
 
506
497
  radius(val){
507
498
  this.res.style.borderRadius = `${val}px`;
@@ -512,11 +503,8 @@ let stringified = JSON.stringify(options.borderObj);
512
503
  this.res.style.boxShadow = "0px 1px 10px 0px rgb(145 145 145)"; //`${x}px ${y}px ${radius}px #000`;
513
504
  return this;
514
505
  }
515
-
516
- onTap(e){
517
- this.res.addEventListener("click", e);
518
- return this;
519
- }
506
+
507
+
520
508
 
521
509
 
522
510
  items(arr) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/free.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,11 +1,16 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
- class AreaSwitcher {
7
+ import {Animator} from "./animator.js";
8
+ class AreaSwitcher extends Animator{
8
9
  constructor() {
10
+ super();
11
+ // Converted from a standalone class; opting out of Theme keeps rendering
12
+ // byte-identical to the pre-conversion behaviour.
13
+ this._noTheme = true;
9
14
 
10
15
  this.gridContainer = document.createElement("div");
11
16
  this.gridContainer.classList.add("grid-container");
@@ -120,9 +125,13 @@ for (var i = 0; i < arr.length - 1; i++){
120
125
  // Usage example:
121
126
 
122
127
 
123
- class GridSwitcher {
128
+ class GridSwitcher extends Animator{
124
129
  constructor(){
125
- this.el = document.createElement("div");
130
+ super();
131
+ // Converted from a standalone class; opting out of Theme keeps rendering
132
+ // byte-identical to the pre-conversion behaviour.
133
+ this._noTheme = true;
134
+ this.res = document.createElement("div");
126
135
  this.gridWrap = document.createElement("div");
127
136
  }
128
137
 
@@ -141,7 +150,7 @@ for (var i = 0; i < arr.length - 1; i++){
141
150
  let mq = window.matchMedia(`(max-width: ${val.at})`).matches;
142
151
  if ((mq || val.at == "default") && mq !== this.lastMq){
143
152
  const update = new Simple().set(val.template, this.dynamicItems).render();
144
- this.el = update;
153
+ this.res = update;
145
154
  this.render(this.domStr);
146
155
  this.lastMq = mq;
147
156
  }
@@ -154,7 +163,7 @@ for (var i = 0; i < arr.length - 1; i++){
154
163
 
155
164
  render(div){
156
165
  this.gridWrap.innerHTML = "";
157
- this.gridWrap.appendChild(this.el);
166
+ this.gridWrap.appendChild(this.res);
158
167
 
159
168
  if (div){
160
169
  document.querySelector(div).appendChild(this.gridWrap);
@@ -162,7 +171,7 @@ for (var i = 0; i < arr.length - 1; i++){
162
171
 
163
172
  return this.gridWrap;
164
173
 
165
- // Just return this.el it normally
174
+ // Just return this.res it normally
166
175
  }
167
176
  }
168
177
 
package/layout/grid.js CHANGED
@@ -1,11 +1,16 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
- class Grid {
7
+ import {Animator} from "./animator.js";
8
+ class Grid extends Animator {
8
9
  constructor(frs, saveEl) {
10
+ super();
11
+ // Converted from a standalone class. Opting out of Theme keeps rendering
12
+ // byte-identical to the pre-conversion behaviour; opt in per component.
13
+ this._noTheme = true;
9
14
  this.saveEl = saveEl;
10
15
  this.frs = frs;
11
16
  this.res = null;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.219
2
+ * nodality v1.0.221
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */