nodality 1.0.212 → 1.0.214

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 (276) 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.LICENSE.txt +1 -1
  10. package/dist/base.esm.js.LICENSE.txt +1 -1
  11. package/dist/beta-desktop-bar.cjs.js +1 -1
  12. package/dist/beta-desktop-bar.cjs.js.LICENSE.txt +1 -1
  13. package/dist/beta-desktop-bar.esm.js +1 -1
  14. package/dist/beta-desktop-bar.esm.js.LICENSE.txt +1 -1
  15. package/dist/beta-mobile-bar.cjs.js +1 -1
  16. package/dist/beta-mobile-bar.cjs.js.LICENSE.txt +1 -1
  17. package/dist/beta-mobile-bar.esm.js +1 -1
  18. package/dist/beta-mobile-bar.esm.js.LICENSE.txt +1 -1
  19. package/dist/bundle.umd.js +1 -1
  20. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  21. package/dist/button.cjs.js +1 -1
  22. package/dist/button.cjs.js.LICENSE.txt +1 -1
  23. package/dist/button.esm.js +1 -1
  24. package/dist/button.esm.js.LICENSE.txt +1 -1
  25. package/dist/card-getter.cjs.js.LICENSE.txt +1 -1
  26. package/dist/card-getter.esm.js.LICENSE.txt +1 -1
  27. package/dist/center.cjs.js +1 -1
  28. package/dist/center.cjs.js.LICENSE.txt +1 -1
  29. package/dist/center.esm.js +1 -1
  30. package/dist/center.esm.js.LICENSE.txt +1 -1
  31. package/dist/checkbox.cjs.js +1 -1
  32. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  33. package/dist/checkbox.esm.js +1 -1
  34. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  35. package/dist/code.cjs.js +1 -1
  36. package/dist/code.cjs.js.LICENSE.txt +1 -1
  37. package/dist/code.esm.js +1 -1
  38. package/dist/code.esm.js.LICENSE.txt +1 -1
  39. package/dist/container.cjs.js +1 -1
  40. package/dist/container.cjs.js.LICENSE.txt +1 -1
  41. package/dist/container.esm.js +1 -1
  42. package/dist/container.esm.js.LICENSE.txt +1 -1
  43. package/dist/data-list.cjs.js.LICENSE.txt +1 -1
  44. package/dist/data-list.esm.js.LICENSE.txt +1 -1
  45. package/dist/designer.cjs.js +1 -1
  46. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  47. package/dist/designer.esm.js +1 -1
  48. package/dist/designer.esm.js.LICENSE.txt +1 -1
  49. package/dist/dropdown.cjs.js +1 -1
  50. package/dist/dropdown.cjs.js.LICENSE.txt +1 -1
  51. package/dist/dropdown.esm.js +1 -1
  52. package/dist/dropdown.esm.js.LICENSE.txt +1 -1
  53. package/dist/element-mapper.cjs.js +1 -1
  54. package/dist/element-mapper.cjs.js.LICENSE.txt +1 -1
  55. package/dist/element-mapper.esm.js +1 -1
  56. package/dist/element-mapper.esm.js.LICENSE.txt +1 -1
  57. package/dist/finalresult.esm.js +1 -1
  58. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  59. package/dist/flex-card.cjs.js +1 -1
  60. package/dist/flex-card.cjs.js.LICENSE.txt +1 -1
  61. package/dist/flex-card.esm.js +1 -1
  62. package/dist/flex-card.esm.js.LICENSE.txt +1 -1
  63. package/dist/flex-grid.cjs.js +1 -1
  64. package/dist/flex-grid.cjs.js.LICENSE.txt +1 -1
  65. package/dist/flex-grid.esm.js +1 -1
  66. package/dist/flex-grid.esm.js.LICENSE.txt +1 -1
  67. package/dist/flex-row.cjs.js +1 -1
  68. package/dist/flex-row.cjs.js.LICENSE.txt +1 -1
  69. package/dist/flex-row.esm.js +1 -1
  70. package/dist/flex-row.esm.js.LICENSE.txt +1 -1
  71. package/dist/floating-input.cjs.js +1 -1
  72. package/dist/floating-input.cjs.js.LICENSE.txt +1 -1
  73. package/dist/floating-input.esm.js +1 -1
  74. package/dist/floating-input.esm.js.LICENSE.txt +1 -1
  75. package/dist/free.cjs.js +1 -1
  76. package/dist/free.cjs.js.LICENSE.txt +1 -1
  77. package/dist/free.esm.js +1 -1
  78. package/dist/free.esm.js.LICENSE.txt +1 -1
  79. package/dist/horizontal-scroller.cjs.js.LICENSE.txt +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.LICENSE.txt +1 -1
  104. package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
  105. package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
  106. package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
  107. package/dist/multiswitcher.cjs.js +1 -1
  108. package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
  109. package/dist/multiswitcher.esm.js +1 -1
  110. package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
  111. package/dist/new-nav-bar.cjs.js +1 -1
  112. package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
  113. package/dist/new-nav-bar.esm.js +1 -1
  114. package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
  115. package/dist/picker.cjs.js +1 -1
  116. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  117. package/dist/picker.esm.js +1 -1
  118. package/dist/picker.esm.js.LICENSE.txt +1 -1
  119. package/dist/progress.cjs.js +1 -1
  120. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  121. package/dist/progress.esm.js +1 -1
  122. package/dist/progress.esm.js.LICENSE.txt +1 -1
  123. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  124. package/dist/radio.esm.js.LICENSE.txt +1 -1
  125. package/dist/range.cjs.js.LICENSE.txt +1 -1
  126. package/dist/range.esm.js.LICENSE.txt +1 -1
  127. package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
  128. package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
  129. package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
  130. package/dist/side-bar.esm.js.LICENSE.txt +1 -1
  131. package/dist/side-nav-bar.cjs.js +1 -1
  132. package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
  133. package/dist/side-nav-bar.esm.js +1 -1
  134. package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
  135. package/dist/simple-bar.cjs.js +1 -1
  136. package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
  137. package/dist/simple-bar.esm.js +1 -1
  138. package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
  139. package/dist/slider-2025.cjs.js +1 -1
  140. package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
  141. package/dist/slider-2025.esm.js +1 -1
  142. package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
  143. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  144. package/dist/spacer.esm.js.LICENSE.txt +1 -1
  145. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  146. package/dist/stack.esm.js.LICENSE.txt +1 -1
  147. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  148. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  149. package/dist/table.cjs.js +1 -1
  150. package/dist/table.cjs.js.LICENSE.txt +1 -1
  151. package/dist/table.esm.js +1 -1
  152. package/dist/table.esm.js.LICENSE.txt +1 -1
  153. package/dist/text-field.cjs.js +1 -1
  154. package/dist/text-field.cjs.js.LICENSE.txt +1 -1
  155. package/dist/text-field.esm.js +1 -1
  156. package/dist/text-field.esm.js.LICENSE.txt +1 -1
  157. package/dist/text.cjs.js +1 -1
  158. package/dist/text.cjs.js.LICENSE.txt +1 -1
  159. package/dist/text.esm.js +1 -1
  160. package/dist/text.esm.js.LICENSE.txt +1 -1
  161. package/dist/theme.cjs.js.LICENSE.txt +1 -1
  162. package/dist/theme.esm.js.LICENSE.txt +1 -1
  163. package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
  164. package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
  165. package/dist/ulist.cjs.js +1 -1
  166. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  167. package/dist/ulist.esm.js +1 -1
  168. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  169. package/dist/video.cjs.js +1 -1
  170. package/dist/video.cjs.js.LICENSE.txt +1 -1
  171. package/dist/video.esm.js +1 -1
  172. package/dist/video.esm.js.LICENSE.txt +1 -1
  173. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  174. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  175. package/dist/zoom-card.cjs.js +1 -1
  176. package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
  177. package/dist/zoom-card.esm.js +1 -1
  178. package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
  179. package/layout/animator.js +97 -30
  180. package/layout/audio.js +1 -1
  181. package/layout/audionew.js +1 -1
  182. package/layout/base-2.js +1 -1
  183. package/layout/base.js +1 -1
  184. package/layout/beta-desktop-bar.js +1 -1
  185. package/layout/beta-mobile-bar.js +1 -1
  186. package/layout/box.js +1 -1
  187. package/layout/button.js +1 -84
  188. package/layout/cards.js +1 -1
  189. package/layout/center.js +1 -21
  190. package/layout/checkbox.js +1 -1
  191. package/layout/circle.js +1 -2
  192. package/layout/clean-row.js +1 -87
  193. package/layout/code.js +1 -1
  194. package/layout/container.js +24 -152
  195. package/layout/custom.js +7 -5
  196. package/layout/div-image.js +1 -49
  197. package/layout/dropdown-2025.js +1 -1
  198. package/layout/dropdown.js +1 -1
  199. package/layout/empty-element.js +1 -1
  200. package/layout/external-stylesheet.js +1 -1
  201. package/layout/flex-card.js +2 -90
  202. package/layout/flex-grid.js +1 -6
  203. package/layout/flex-row.js +1 -86
  204. package/layout/footer.js +1 -1
  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-new.js +1 -1
  217. package/layout/grid-switcher.js +1 -1
  218. package/layout/grid.js +1 -1
  219. package/layout/group.js +1 -41
  220. package/layout/header.js +1 -1
  221. package/layout/horizontal-scroller.js +3 -3
  222. package/layout/image-old.js +1 -41
  223. package/layout/image.js +1 -79
  224. package/layout/index.js +1 -1
  225. package/layout/label.js +1 -1
  226. package/layout/link.js +7 -101
  227. package/layout/list-OLD.js +1 -1
  228. package/layout/list.js +1 -1
  229. package/layout/meta-adder.js +1 -1
  230. package/layout/modal-2025.js +1 -1
  231. package/layout/modernwrap.js +1 -1
  232. package/layout/multiswitcher.js +1 -1
  233. package/layout/multiswitcherBeta.js +1 -1
  234. package/layout/nav-bar.js +1 -1
  235. package/layout/nav-factor/custom-div.js +1 -1
  236. package/layout/navBar-OLD.js +1 -1
  237. package/layout/new-flat-adder.js +1 -1
  238. package/layout/new-nav-bar.js +2 -2
  239. package/layout/offset-container.js +2 -9
  240. package/layout/polygon.js +1 -6
  241. package/layout/prerender-site.js +1 -1
  242. package/layout/prerender.js +1 -1
  243. package/layout/progress.js +1 -21
  244. package/layout/row.js +1 -1
  245. package/layout/saved-new-nav-bar.js +1 -1
  246. package/layout/scroll-video.js +1 -1
  247. package/layout/side-bar.js +1 -1
  248. package/layout/side-nav-bar.js +1 -1
  249. package/layout/simple-bar.js +1 -1
  250. package/layout/slider-2025.js +3 -3
  251. package/layout/spacer.js +1 -1
  252. package/layout/stack.js +1 -1
  253. package/layout/svg.js +1 -1
  254. package/layout/switcher.js +1 -1
  255. package/layout/table.js +1 -6
  256. package/layout/text-field.js +1 -65
  257. package/layout/text.js +5 -100
  258. package/layout/ulist.js +1 -1
  259. package/layout/video.js +1 -1
  260. package/layout/without-new.js +1 -1
  261. package/layout/wrap.js +1 -1
  262. package/layout/zoom-card.js +1 -3
  263. package/lib/card-getter.js +1 -1
  264. package/lib/data.js +1 -1
  265. package/lib/designer.js +1 -1
  266. package/lib/element-mapper.js +1 -1
  267. package/lib/keyframe-animation.js +1 -1
  268. package/lib/link-getter.js +1 -1
  269. package/lib/raster-ops.js +1 -1
  270. package/lib/scroll-video.js +1 -1
  271. package/lib/seo.js +1 -1
  272. package/lib/stacker.js +1 -1
  273. package/lib/theme.js +1 -1
  274. package/lib/transform-anim.js +1 -1
  275. package/package.json +1 -1
  276. package/layout/styler.js +0 -119
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
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.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/grid.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/group.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -78,47 +78,7 @@ class Group extends Animator {
78
78
  return this;
79
79
  }
80
80
 
81
- arrayPadding(arr, value) {
82
- if (arr.includes("left")){
83
- this.res.style.paddingLeft = value;
84
- }
85
-
86
- if (arr.includes("right")){
87
- this.res.style.paddingRight = value;
88
- }
89
-
90
- if (arr.includes("top")){
91
- this.res.style.paddingTop = value;
92
- }
93
-
94
- if (arr.includes("bottom")){
95
- this.res.style.paddingBottom = value;
96
- }
97
-
98
-
99
- return this;
100
- }
101
81
 
102
- arrayMargin(arr, value) {
103
- if (arr.includes("left")){
104
- this.res.style.marginLeft = value;
105
- }
106
-
107
- if (arr.includes("right")){
108
- this.res.style.marginRight = value;
109
- }
110
-
111
- if (arr.includes("top")){
112
- this.res.style.marginTop = value;
113
- }
114
-
115
- if (arr.includes("bottom")){
116
- this.res.style.marginBottom = value;
117
- }
118
-
119
-
120
- return this;
121
- }
122
82
 
123
83
 
124
84
 
package/layout/header.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -163,7 +163,7 @@ class HScroller {
163
163
  fluidc: "S1",
164
164
  // background: "orange",
165
165
  font: "Arial",
166
- arrayMargin: {sides: ["top"], value: "3rem"},
166
+ mar: [{t: "3rem"}],
167
167
  stroke: {range:["0px","3000px"],op:{name:"blast",color:"#1abc9c",width:"3px"}}
168
168
  }),
169
169
 
@@ -171,7 +171,7 @@ class HScroller {
171
171
  .set({
172
172
  width: "400px",
173
173
  height: "100%",
174
- arrayMargin: {sides: ["left", "bottom"], value: "-1.7rem"},
174
+ mar: [{l: "-1.7rem"}, {b: "-1.7rem"}],
175
175
  arrpad: {sides: ["top"], value: "3rem"},
176
176
  opacity: 0.7,
177
177
  zIndex: -1,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -198,48 +198,8 @@ return this;
198
198
  return this;
199
199
  }
200
200
 
201
- arrayPadding(arr, value) {
202
- if (arr.includes("left")){
203
- this.res.style.paddingLeft = value;
204
- }
205
-
206
- if (arr.includes("right")){
207
- this.res.style.paddingRight = value;
208
- }
209
-
210
- if (arr.includes("top")){
211
- this.res.style.paddingTop = value;
212
- }
213
-
214
- if (arr.includes("bottom")){
215
- this.res.style.paddingBottom = value;
216
- }
217
-
218
-
219
- return this;
220
- }
221
201
 
222
202
 
223
- arrayMargin(arr, value) {
224
- if (arr.includes("left")){
225
- this.res.style.marginLeft = value;
226
- }
227
-
228
- if (arr.includes("right")){
229
- this.res.style.marginRight = value;
230
- }
231
-
232
- if (arr.includes("top")){
233
- this.res.style.marginTop = value;
234
- }
235
-
236
- if (arr.includes("bottom")){
237
- this.res.style.marginBottom = value;
238
- }
239
-
240
-
241
- return this;
242
- }
243
203
 
244
204
 
245
205
  setup() {
package/layout/image.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -330,23 +330,8 @@ obj.pad && this.pad(obj.pad);
330
330
  options.height && (this.res.style.height = options.height);
331
331
  options.height && (stra += `height: "${options.height}", `);
332
332
 
333
- options.multimargin && this.makeMultiMargin(options.multimargin);
334
- //options.multimargin && this.code.push(`multimargin: [\n`);
335
- options.multimargin && (stra += `multimargin: [ \n`);
336
333
 
337
- // Seascape add 12/07/23
338
- options.arrayMargin && this.arrayMargin(options.arrayMargin.sides, options.arrayMargin.value);
339
334
 
340
- if (options.multimargin){
341
- for (var i = 0; i < options.multimargin.length; i++){
342
- const mer = options.multimargin[i];
343
- stra += `{side: "${mer.side}", value: "${mer.value}"}, \n`;
344
- }
345
-
346
- stra += `], \n`;
347
- // this.code.push(`], \n`);
348
-
349
- }
350
335
 
351
336
 
352
337
  options.maxWidth && this.maxWidth(options.maxWidth);
@@ -524,29 +509,6 @@ options.arrayMargin && this.arrayMargin(options.arrayMargin.sides, options.array
524
509
  //this.protoReact(arr)
525
510
  }
526
511
 
527
- makeMultiMargin(obj){ // 11:22:52
528
- // this.res.style.zIndex = "1";
529
-
530
- for (var i = 0; i < obj.length; i++){
531
- if (obj[i].side === "left"){
532
- this.res.style.marginLeft = obj[i].value;
533
- }
534
-
535
- if (obj[i].side === "right"){
536
- this.res.style.marginRight = obj[i].value;
537
- }
538
-
539
- if (obj[i].side === "top"){
540
- this.res.style.marginTop = obj[i].value;
541
- }
542
-
543
- if (obj[i].side === "bottom"){
544
- this.res.style.marginBottom = obj[i].value;
545
- }
546
- }
547
-
548
- return this;
549
- }
550
512
 
551
513
 
552
514
  setID(id){
@@ -736,48 +698,8 @@ return this;
736
698
  return this;
737
699
  }
738
700
 
739
- arrayPadding(arr, value) {
740
- if (arr.includes("left")){
741
- this.res.style.paddingLeft = value;
742
- }
743
-
744
- if (arr.includes("right")){
745
- this.res.style.paddingRight = value;
746
- }
747
-
748
- if (arr.includes("top")){
749
- this.res.style.paddingTop = value;
750
- }
751
-
752
- if (arr.includes("bottom")){
753
- this.res.style.paddingBottom = value;
754
- }
755
-
756
-
757
- return this;
758
- }
759
701
 
760
702
 
761
- arrayMargin(arr, value) {
762
- if (arr.includes("left")){
763
- this.res.style.marginLeft = value;
764
- }
765
-
766
- if (arr.includes("right")){
767
- this.res.style.marginRight = value;
768
- }
769
-
770
- if (arr.includes("top")){
771
- this.res.style.marginTop = value;
772
- }
773
-
774
- if (arr.includes("bottom")){
775
- this.res.style.marginBottom = value;
776
- }
777
-
778
-
779
- return this;
780
- }
781
703
 
782
704
 
783
705
  setup() {
package/layout/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/label.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/link.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -221,8 +221,10 @@ document.body.appendChild(link);
221
221
  img.style.width = options.options.size;
222
222
  options.options.radius && (img.style.borderRadius = options.options.radius);
223
223
  img.setAttribute("src", options.options.img);
224
+ // `pad` here is a raw CSS shorthand string, not the array-of-sides
225
+ // spec `pad` means everywhere else. Left as it is: changing the
226
+ // shape would break any caller passing a string.
224
227
  options.options.pad && (this.res.style.padding = options.options.pad);
225
- options.options.padRight && (this.res.style.paddingRight = options.options.padRight);
226
228
  link.appendChild(img);
227
229
  }
228
230
 
@@ -307,7 +309,7 @@ obj.fixMobileTap && this.fixMobileTap(obj.fixMobileTap);
307
309
  const mapped = sides.map(x => `"${x}"`).join(", ");
308
310
  obj.arrayPadding && this.arrayPadding(obj.arrayPadding.sides, obj.arrayPadding.value);
309
311
  //obj.arrayPadding && this.arrayPadding(obj.arrayMargin.sides, obj.arrayMargin.value);
310
- obj.arrayPadding && (stra += `\n arrayPadding: {sides: [${mapped}], value: "${obj.arrayPadding.value}"},`);
312
+ obj.arrayPadding && (stra += this.spacingCode("pad", obj.arrayPadding.sides, obj.arrayPadding.value));
311
313
  */
312
314
 
313
315
 
@@ -415,20 +417,8 @@ obj.pad && (stra += `\n pad: ${rempad},`);
415
417
  // obj.width && this.width(obj.width);
416
418
  obj.width && (stra += `\n width: "${obj.width}",`);
417
419
 
418
- if (obj.arrayPadding){
419
- let sides = obj.arrayPadding.sides;
420
- //// // console.log(sides);
421
- //// // console.log(sides.map(x => `"${x}"`).join(", "));
422
-
423
- const mapped = sides.map(x => `"${x}"`).join(", ");
424
- obj.arrayPadding && this.arrayPadding(obj.arrayPadding.sides, obj.arrayPadding.value);
425
- //obj.arrayPadding && this.arrayPadding(obj.arrayMargin.sides, obj.arrayMargin.value);
426
- obj.arrayPadding && (stra += `\n arrayPadding: {sides: [${mapped}], value: "${obj.arrayPadding.value}"},`); // 2345 06/03
427
- }
428
420
 
429
- obj.arrayMargin && this.arrayMargin(obj.arrayMargin.sides, obj.arrayMargin.value);
430
421
  //obj.arrayMargin && this.arrayMargin(obj.arrayMargin.sides, obj.arrayMargin.value);
431
- obj.arrayMargin && (stra += `\n arrayMargin: {sides: [${obj.arrayMargin.sides.map(side => `"${side}", `)}], value: "${obj.arrayMargin.value}"},`); // 2345 06/03
432
422
 
433
423
  obj.maxWidth && this.maxWidth(obj.maxWidth);
434
424
  // // // console.log(obj.arrayMargin);
@@ -739,80 +729,9 @@ if (ft.length > 0){
739
729
  return this;
740
730
  }
741
731
 
742
- // 22:27:47
743
- arrayPadding(arr, value) {
744
-
745
- if (!value){ // LTRB
746
- this.res.style.marginLeft = `${arr[0]}px`;
747
- this.res.style.marginTop = `${arr[1]}px`;
748
- this.res.style.marginRight = `${arr[2]}px`;
749
- this.res.style.marginBottom = `${arr[3]}px`;
750
- }
751
-
752
- if (arr[0] === "all"){
753
- this.res.style.paddingLeft = value;
754
- this.res.style.paddingTop = value;
755
- this.res.style.paddingRight = value;
756
- this.res.style.paddingBottom = value;
757
- }
758
-
759
-
760
- if (arr.includes("left")){
761
- this.res.style.paddingLeft = value;
762
- }
763
-
764
- if (arr.includes("right")){
765
- this.res.style.paddingRight = value;
766
- }
767
-
768
- if (arr.includes("top")){
769
- this.res.style.paddingTop = value;
770
- }
771
-
772
- if (arr.includes("bottom")){
773
- this.res.style.paddingBottom = value;
774
- }
775
-
776
- if (!value){
777
- this.res.style.paddingBottom = arr;
778
- }
779
-
780
-
781
- //alert(value);
782
-
783
- return this;
784
- } //22155 snap to change phone screen
732
+ // 22:27:47 //22155 snap to change phone screen
785
733
 
786
734
 
787
- arrayMargin(arr, value) { // 224857 redefined earlier
788
-
789
- // // // console.log(arr);
790
- if (arr.includes("left")){
791
- this.res.style.marginLeft = value;
792
- }
793
-
794
- if (arr.includes("right")){
795
- this.res.style.marginRight = value;
796
- }
797
-
798
- if (arr.includes("top")){
799
- this.res.style.marginTop = value;
800
- }
801
-
802
- if (arr.includes("bottom")){
803
- this.res.style.marginBottom = value;
804
- }
805
-
806
- if (arr.includes("all")){
807
- this.res.style.margin = value;
808
- }
809
-
810
- if (!value){
811
- this.res.style.marginBottom = arr;
812
- }
813
-
814
- return this;
815
- }
816
735
 
817
736
  getClampValue(name){
818
737
  if (name === "S6"){
@@ -922,15 +841,6 @@ if (ft.length > 0){
922
841
  }
923
842
 
924
843
 
925
- style(st){
926
- this.res.style.color = st.styles.color;
927
- this.res.style.fontWeight = st.styles.fontWeight;
928
- this.res.style.paddingLeft = st.styles.padding[0];
929
- this.res.style.paddingTop = st.styles.padding[1];
930
- this.res.style.paddingRight = st.styles.padding[2];
931
- this.res.style.paddingBottom = st.styles.padding[3];
932
- return this;
933
- }
934
844
 
935
845
  color(c){
936
846
  this.res.style.color = c;
@@ -1065,11 +975,7 @@ if (ft.length > 0){
1065
975
  return this;
1066
976
  }
1067
977
 
1068
- /*
1069
- arrayMargin(px){
1070
- this.res.style.margin = px;
1071
- return this;
1072
- }*/
978
+ /**/
1073
979
 
1074
980
  /* hover(back, fore){
1075
981
  this.prevColor = this.res.style.backgroundColor;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/list.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/nav-bar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -390,7 +390,7 @@ class UINavBar extends Animator {
390
390
  link = new Dropdown(item.items, item.title)
391
391
  } else {
392
392
  link = new Link(item.title, item.url)
393
- .arrayPadding(["left", "right"], "1em");
393
+ .pad([{lr: "1em"}]);
394
394
  }
395
395
 
396
396
  } else {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.212
2
+ * nodality v1.0.214
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -31,7 +31,7 @@ class OffsetContainer extends Animator{
31
31
  obj.columns && this.columns(obj.columns);
32
32
  obj.width && (this.res.style.width = obj.width);
33
33
  obj.border && (this.res.style.border = obj.border);
34
- obj.simpleCenter && this.simpleCenter();
34
+ obj.simpleCenter && this.deprecatedOption("simpleCenter", 'center: true');
35
35
  // obj.simpleCenter && (stra += `center: "${obj.simpleCenter}",`);
36
36
 
37
37
  if (obj.field) {
@@ -44,13 +44,6 @@ class OffsetContainer extends Animator{
44
44
  }
45
45
 
46
46
 
47
- simpleCenter(){
48
- this.res.style.justifyContent = "center";
49
- this.res.style.justifyItems = "center";
50
- this.res.style.alignContent = "center";
51
- this.res.style.alignItems = "center";
52
- return this;
53
- }
54
47
 
55
48
  // https://youtube.com/shorts/u7q1Qj1uuD8?feature=share
56
49