nodality 1.0.216 → 1.0.217

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 (260) 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.LICENSE.txt +1 -1
  102. package/dist/meta-adder.esm.js.LICENSE.txt +1 -1
  103. package/dist/modal-2025.cjs.js.LICENSE.txt +1 -1
  104. package/dist/modal-2025.esm.js.LICENSE.txt +1 -1
  105. package/dist/multiswitcher.cjs.js +1 -1
  106. package/dist/multiswitcher.cjs.js.LICENSE.txt +1 -1
  107. package/dist/multiswitcher.esm.js +1 -1
  108. package/dist/multiswitcher.esm.js.LICENSE.txt +1 -1
  109. package/dist/new-nav-bar.cjs.js +1 -1
  110. package/dist/new-nav-bar.cjs.js.LICENSE.txt +1 -1
  111. package/dist/new-nav-bar.esm.js +1 -1
  112. package/dist/new-nav-bar.esm.js.LICENSE.txt +1 -1
  113. package/dist/picker.cjs.js +1 -1
  114. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  115. package/dist/picker.esm.js +1 -1
  116. package/dist/picker.esm.js.LICENSE.txt +1 -1
  117. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  118. package/dist/progress.esm.js.LICENSE.txt +1 -1
  119. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  120. package/dist/radio.esm.js.LICENSE.txt +1 -1
  121. package/dist/range.cjs.js.LICENSE.txt +1 -1
  122. package/dist/range.esm.js.LICENSE.txt +1 -1
  123. package/dist/scroll-video.cjs.js.LICENSE.txt +1 -1
  124. package/dist/scroll-video.esm.js.LICENSE.txt +1 -1
  125. package/dist/side-bar.cjs.js.LICENSE.txt +1 -1
  126. package/dist/side-bar.esm.js.LICENSE.txt +1 -1
  127. package/dist/side-nav-bar.cjs.js +1 -1
  128. package/dist/side-nav-bar.cjs.js.LICENSE.txt +1 -1
  129. package/dist/side-nav-bar.esm.js +1 -1
  130. package/dist/side-nav-bar.esm.js.LICENSE.txt +1 -1
  131. package/dist/simple-bar.cjs.js +1 -1
  132. package/dist/simple-bar.cjs.js.LICENSE.txt +1 -1
  133. package/dist/simple-bar.esm.js +1 -1
  134. package/dist/simple-bar.esm.js.LICENSE.txt +1 -1
  135. package/dist/slider-2025.cjs.js +1 -1
  136. package/dist/slider-2025.cjs.js.LICENSE.txt +1 -1
  137. package/dist/slider-2025.esm.js +1 -1
  138. package/dist/slider-2025.esm.js.LICENSE.txt +1 -1
  139. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  140. package/dist/spacer.esm.js.LICENSE.txt +1 -1
  141. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  142. package/dist/stack.esm.js.LICENSE.txt +1 -1
  143. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  144. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  145. package/dist/table.cjs.js +1 -1
  146. package/dist/table.cjs.js.LICENSE.txt +1 -1
  147. package/dist/table.esm.js +1 -1
  148. package/dist/table.esm.js.LICENSE.txt +1 -1
  149. package/dist/text-field.cjs.js +1 -1
  150. package/dist/text-field.cjs.js.LICENSE.txt +1 -1
  151. package/dist/text-field.esm.js +1 -1
  152. package/dist/text-field.esm.js.LICENSE.txt +1 -1
  153. package/dist/text.cjs.js +1 -1
  154. package/dist/text.cjs.js.LICENSE.txt +1 -1
  155. package/dist/text.esm.js +1 -1
  156. package/dist/text.esm.js.LICENSE.txt +1 -1
  157. package/dist/theme.cjs.js.LICENSE.txt +1 -1
  158. package/dist/theme.esm.js.LICENSE.txt +1 -1
  159. package/dist/transform-anim.cjs.js.LICENSE.txt +1 -1
  160. package/dist/transform-anim.esm.js.LICENSE.txt +1 -1
  161. package/dist/ulist.cjs.js +1 -1
  162. package/dist/ulist.cjs.js.LICENSE.txt +1 -1
  163. package/dist/ulist.esm.js +1 -1
  164. package/dist/ulist.esm.js.LICENSE.txt +1 -1
  165. package/dist/video.cjs.js +1 -1
  166. package/dist/video.cjs.js.LICENSE.txt +1 -1
  167. package/dist/video.esm.js +1 -1
  168. package/dist/video.esm.js.LICENSE.txt +1 -1
  169. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  170. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  171. package/dist/zoom-card.cjs.js +1 -1
  172. package/dist/zoom-card.cjs.js.LICENSE.txt +1 -1
  173. package/dist/zoom-card.esm.js +1 -1
  174. package/dist/zoom-card.esm.js.LICENSE.txt +1 -1
  175. package/layout/animator.js +321 -1987
  176. package/layout/audio.js +1 -1
  177. package/layout/audionew.js +1 -1
  178. package/layout/base.js +3 -17
  179. package/layout/beta-desktop-bar.js +1 -1
  180. package/layout/beta-mobile-bar.js +2 -9
  181. package/layout/button.js +1 -1
  182. package/layout/center.js +3 -10
  183. package/layout/checkbox.js +1 -1
  184. package/layout/circle.js +4 -7
  185. package/layout/code.js +1 -1
  186. package/layout/container.js +8 -38
  187. package/layout/dropdown-2025.js +1 -1
  188. package/layout/flex-card.js +1 -1
  189. package/layout/flex-grid.js +1 -1
  190. package/layout/flex-row.js +1 -70
  191. package/layout/form-components/custom.js +1 -1
  192. package/layout/form-components/data-list.js +1 -1
  193. package/layout/form-components/floating-input.js +1 -1
  194. package/layout/form-components/form-all.js +1 -1
  195. package/layout/form-components/form.js +1 -1
  196. package/layout/form-components/image-picker.js +1 -1
  197. package/layout/form-components/picker.js +1 -1
  198. package/layout/form-components/radio.js +1 -1
  199. package/layout/form-components/radiogroup.js +1 -1
  200. package/layout/form-components/range.js +1 -1
  201. package/layout/free.js +1 -1
  202. package/layout/grid-switcher.js +5 -12
  203. package/layout/grid.js +1 -40
  204. package/layout/horizontal-scroller.js +1 -1
  205. package/layout/image.js +10 -90
  206. package/layout/index.js +1 -1
  207. package/layout/link.js +1 -14
  208. package/layout/list.js +1 -1
  209. package/layout/meta-adder.js +1 -1
  210. package/layout/modal-2025.js +1 -1
  211. package/layout/multiswitcher.js +1 -1
  212. package/layout/nav-bar.js +4 -20
  213. package/layout/nav-factor/custom-div.js +1 -1
  214. package/layout/new-nav-bar.js +1 -16
  215. package/layout/polygon.js +1 -1
  216. package/layout/prerender-site.js +1 -1
  217. package/layout/prerender.js +1 -1
  218. package/layout/progress.js +1 -1
  219. package/layout/row.js +1 -4
  220. package/layout/scroll-video.js +1 -1
  221. package/layout/side-bar.js +1 -1
  222. package/layout/side-nav-bar.js +1 -1
  223. package/layout/simple-bar.js +1 -1
  224. package/layout/slider-2025.js +1 -1
  225. package/layout/spacer.js +1 -1
  226. package/layout/stack.js +1 -1
  227. package/layout/svg.js +1 -1
  228. package/layout/switcher.js +1 -1
  229. package/layout/table.js +1 -1
  230. package/layout/text-field.js +5 -11
  231. package/layout/text.js +4 -574
  232. package/layout/ulist.js +1 -14
  233. package/layout/video.js +1 -1
  234. package/layout/wrap.js +1 -1
  235. package/layout/zoom-card.js +1 -1
  236. package/lib/card-getter.js +1 -1
  237. package/lib/data.js +1 -1
  238. package/lib/designer.js +1 -1
  239. package/lib/element-mapper.js +1 -1
  240. package/lib/keyframe-animation.js +1 -1
  241. package/lib/link-getter.js +1 -1
  242. package/lib/raster-ops.js +1 -1
  243. package/lib/scroll-video.js +1 -1
  244. package/lib/seo.js +1 -1
  245. package/lib/stacker.js +1 -1
  246. package/lib/theme.js +1 -1
  247. package/lib/transform-anim.js +1 -1
  248. package/package.json +1 -1
  249. package/layout/base-2.js +0 -97
  250. package/layout/cards.js +0 -147
  251. package/layout/external-stylesheet.js +0 -25
  252. package/layout/footer.js +0 -89
  253. package/layout/group.js +0 -129
  254. package/layout/label.js +0 -56
  255. package/layout/list-OLD.js +0 -6
  256. package/layout/navBar-OLD.js +0 -266
  257. package/layout/new-flat-adder.js +0 -47
  258. package/layout/offset-container.js +0 -380
  259. package/layout/saved-new-nav-bar.js +0 -437
  260. package/layout/without-new.js +0 -66
package/layout/text.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.216
2
+ * nodality v1.0.217
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -27,21 +27,6 @@ class Text extends Animator {
27
27
 
28
28
 
29
29
 
30
- flexOne(){
31
- this.res.style.flex = "1";
32
- return this;
33
- }
34
-
35
-
36
-
37
-
38
-
39
- // Just for visual
40
- setGridWithoutCode(){
41
- this.res.style.border = "1px solid white";
42
- return this;
43
- }
44
-
45
30
 
46
31
 
47
32
 
@@ -51,16 +36,6 @@ class Text extends Animator {
51
36
  }
52
37
 
53
38
 
54
-
55
-
56
-
57
- toCodea(){ // 163953
58
- if (this.excludeFromCodeTrue){
59
- // this.code = ["new Text('').set({})"];
60
- this.code = [""];
61
- }
62
- return this.code;
63
- }
64
39
 
65
40
  toCode(){
66
41
  if (this.excludeFromCodeTrue){
@@ -108,118 +83,8 @@ class Text extends Animator {
108
83
 
109
84
  return "HTMLParagraphElement";
110
85
  }
111
-
112
-
113
-
114
- gradientOptions(optsa) {
115
-
116
- //// console.log(optsa);
117
- if (optsa.length === 0) {
118
- return this;
119
- }
120
-
121
- const opts = optsa.filter(el => el.op.name === "gradient")[0];
122
- // Work here in Berlin ----------------------------
123
-
124
- //// console.log(opts);
125
- if (opts === undefined) {
126
- return this;
127
- }
128
-
129
- const options = opts.op;
130
- const breakpoint = opts.point;
131
-
132
- if (breakpoint) {
133
- //// console.log(breakpoint);
134
-
135
- const check = () => {
136
- // 22:59:59 Yes!!!
137
- // 02/10/23
138
- // let matches = window.matchMedia(`(max-width: ${opts.point})`).matches;
139
- let matches = window.matchMedia(`(min-width: ${opts.range[0]}) and (max-width: ${opts.range[1]})`).matches;
140
- if (matches) {
141
- // // console.log(this.res.style.color.toString());
142
- // alert();
143
-
144
- this.prevBackground = this.res.style.color.toString();
145
- this.res.style.background = options.gradient; //`linear-gradient(to right, ${color1}, ${color2})`;
146
- this.res.style.WebkitBackgroundClip = 'text';
147
- }/* else {
148
- // this.res.style['-webkit-text-fill-color'] = 'transparent';
149
- //alert("O")
150
- // Do not remove stroke, after gradient disappears here
151
-
152
- // alert("Hello");
153
- // console.log(this.res.style.color.toString());
154
- //this.res.style.color = "transparent"; //this.prevBackground;
155
- //this.res.style['-webkit-text-stroke'] = `1px orange`;
156
- // 17:53:44 Nice!
157
- }*/
158
- }
159
-
160
- check();
161
- window.addEventListener("resize", check);
162
- }
163
- }
164
-
165
86
 
166
- strokeOptions(optsa) { // 22:55:04 21/08/23
167
87
 
168
- // console.log(optsa);
169
- if (optsa.length === 0) {
170
- return this;
171
- }
172
-
173
- const opts = optsa.filter(el => el.op.name === "blast")[0];
174
- // Work here in Berlin ----------------------------
175
-
176
- if (opts === undefined) {
177
- return this;
178
- }
179
- const options = opts.op;
180
- const breakpoint = opts.point;
181
-
182
- if (breakpoint) {
183
- // // console.log(breakpoint);
184
-
185
- const check = () => {
186
-
187
- // let matches = window.matchMedia(`(max-width: ${opts.point})`).matches;
188
-
189
- let matches = window.matchMedia(`(min-width: ${opts.range[0]}) and (max-width: ${opts.range[1]})`).matches;
190
- if (matches) {
191
-
192
- // console.log(opts);
193
- if (options.color) {
194
- this.res.style['-webkit-text-stroke'] = `${options.width ? options.width : "1px"} ${options.color}`;
195
- } else {
196
- this.res.style['-webkit-text-stroke'] = `1px orange`;
197
- }
198
-
199
- // Not working, gradient modifier prevents this
200
- this.res.style['-webkit-text-fill-color'] = 'transparent';
201
- } /*else {
202
- //this.res.style.color = "transparent";
203
- //this.res.style['-webkit-text-fill-color'] = 'transparent';
204
- //alert("removes stroke")
205
- //this.res.style['-webkit-text-stroke'] = "";
206
- this.res.style['-webkit-text-fill-color'] = ""; // ""
207
- // 17:53:44 Nice!
208
- }*/
209
- }
210
-
211
- check();
212
- window.addEventListener("resize", check);
213
- } else {
214
- // console.log(opts);
215
- if (options.color) {
216
- this.res.style['-webkit-text-stroke'] = `${options.width ? options.width : "1px"} ${options.color}`;
217
- } /*else if (this.options.color){
218
- this.res.style['-webkit-text-stroke'] = `1px ${this.options.color}`;
219
- }*/
220
- this.res.style['-webkit-text-fill-color'] = 'transparent';
221
- }
222
- }
223
88
  // 11:10:22
224
89
 
225
90
  // 22:56:40 yes!
@@ -235,22 +100,8 @@ class Text extends Animator {
235
100
  return this;
236
101
  // 235326 02/03/23
237
102
  }
238
-
239
- rowCol(row, col){
240
- this.res.style.gridRow = row;
241
- this.res.style.gridColumn = col;
242
- return this;
243
- }
244
103
 
245
- setGridRow(row){
246
- this.res.style.gridRow = row;
247
- return this;
248
- }
249
104
 
250
- setGridCol(col){
251
- this.res.style.gridColumn = col;
252
- return this;
253
- }
254
105
 
255
106
  toHTML(){
256
107
  return this.res;
@@ -267,22 +118,7 @@ class Text extends Animator {
267
118
  return this;
268
119
  }
269
120
 
270
- setRandom(){
271
-
272
-
273
- var result = "LAYOUT-";
274
- var chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
275
-
276
- for (var i = 90; i > 0; --i) {
277
- result += chars[Math.floor(Math.random() * chars.length)];
278
- }
279
-
280
- result += new Date().getTime();
281
- this.res.setAttribute("class", result);
282
121
 
283
- return this;
284
-
285
- }
286
122
 
287
123
  styled(obj) {
288
124
  this.set(obj);
@@ -575,108 +411,6 @@ addIcon(obj){
575
411
  }
576
412
 
577
413
 
578
- checkForAnimation(queries){
579
-
580
- // Sort the queries based on the starting range value in ascending order
581
- queries.sort((a, b) => parseInt(a.range[0]) - parseInt(b.range[0]));
582
-
583
- const screenSize = window.innerWidth;
584
-
585
- for (const query of queries) {
586
- const [startRange, endRange] = query.range;
587
- const startSize = parseInt(startRange);
588
- const endSize = parseInt(endRange);
589
-
590
- if (screenSize >= startSize && screenSize <= endSize) {
591
- if (query.log === "animation"){ // 23:18:48 Nice!!! 31/10/2023
592
-
593
- // Create a keyframes object
594
- const keyframes = [
595
- { opacity: 0, transform: 'translateY(100px)' }, // Starting position
596
- { opacity: 1, transform: 'translateY(0)' } // Ending position
597
- ];
598
-
599
- this.res.animate(keyframes, {
600
- duration: 1000, // Animation duration in milliseconds
601
- easing: 'ease' // Easing function
602
- });
603
- }
604
-
605
- }
606
- }
607
- }
608
-
609
-
610
-
611
-
612
- // Do reset text, even when ranges may overlap
613
- // reset all => apply relevant, => .....
614
-
615
-
616
-
617
- resetSmall(){ // reset to default properties, allow overlaps
618
- //this.res.style.color = "gray";
619
- this.res.style['-webkit-text-stroke'] = "";
620
- this.res.style['-webkit-text-fill-color'] = "";
621
- }
622
-
623
-
624
- resetGradient(){
625
- this.res.style.WebkitBackgroundClip = "text";
626
- this.res.style.background = "transparent";
627
- return this;
628
- }
629
-
630
-
631
- resetStroke(){ // was commented out
632
- this.res.style['-webkit-text-stroke'] = "";
633
- this.res.style['-webkit-text-fill-color'] = "";
634
- // this.res.style.color = "orange";
635
-
636
- //this.res.style['-webkit-text-stroke'] = "3px yellow";
637
- //this.res.style['-webkit-text-fill-color'] = "transparent";
638
- //this.res.style.color = "orange";
639
- }
640
-
641
- innerStroke(options){
642
- if (options.color) {
643
- this.res.style['-webkit-text-stroke'] = `${options.width ? options.width : "1px"} ${options.color}`;
644
- } else {
645
- this.res.style['-webkit-text-stroke'] = `1px orange`;
646
- }
647
-
648
- // Not working, gradient modifier prevents this
649
- this.res.style['-webkit-text-fill-color'] = 'transparent';
650
- }
651
-
652
-
653
- innerGradient(options){
654
-
655
- //// console.log(options.gradient);
656
- //alert(options.gradient);
657
- // this.res.style['-webkit-text-fill-color'] = '';
658
- this.res.style.background = `linear-gradient(45deg, #ff0000, #00ff00)`;//options.gradient;
659
- this.res.style['-webkit-background-clip'] = 'text';
660
- // this.res.style.WebkitBackgroundClip = 'text';
661
- //this.res.style.color = "transparent";
662
- // // console.log(options);
663
-
664
- /*this.prevBackground = this.res.style.color.toString();
665
- this.res.style.background = options.gradient; //`linear-gradient(to right, ${color1}, ${color2})`;
666
- this.res.style.WebkitBackgroundClip = 'text';*/
667
-
668
- //this.res.style.color = "green";
669
-
670
-
671
- }
672
-
673
-
674
- clampExperiment(){
675
-
676
- this.res.style.fontSize = "clamp(1rem, calc(1rem * 10rem), 3rem)";
677
- // this.res.style.fontSize = "clamp(1.125rem, calc(1.125rem + (1.25 - 1.125) * ((100vw - 20rem) / (96 - 20))), 1.25rem)"; // "clamp(1rem, 4rem * 20vw, 7rem)";
678
- return this;
679
- }
680
414
 
681
415
 
682
416
  /*
@@ -749,38 +483,6 @@ checkForAnimation(queries){
749
483
  }
750
484
 
751
485
 
752
-
753
- betweenCopy(name){
754
-
755
-
756
- if (name === "S1"){
757
- this.res.style.fontSize = "clamp(2rem, 8vw, 2.5rem)";
758
- }
759
-
760
- if (name === "S2"){
761
- this.res.style.fontSize = "clamp(4rem, 8vw, 5rem)";
762
- }
763
-
764
- if (name === "S3"){
765
- this.res.style.fontSize = "clamp(2rem, 5vw, 2.5rem)";
766
- }
767
-
768
-
769
- if (name === "S4"){
770
- this.res.style.fontSize = "clamp(1.5rem, 2vw, 1.6rem)";
771
- }
772
-
773
- if (name === "S5"){
774
- this.res.style.fontSize = "clamp(1.2rem, 2vw, 1.3rem)";
775
- }
776
-
777
- if (name === "S6"){
778
- this.res.style.fontSize = "clamp(1rem, 2vw, 1.3rem)";
779
- }
780
-
781
-
782
- return this;
783
- }
784
486
 
785
487
 
786
488
  stringGen(len) {
@@ -814,41 +516,7 @@ checkForAnimation(queries){
814
516
  return this;
815
517
  }
816
518
 
817
-
818
-
819
-
820
-
821
-
822
- constant(name){
823
- const display1 = "1.625rem";
824
-
825
- if (name === "S1"){
826
- this.jumbotron();
827
- }
828
-
829
- if (name === "S2"){
830
- this.large();
831
- }
832
-
833
- if (name === "S3"){
834
- this.medium();
835
- }
836
-
837
- /*const display4= "1.200rem";
838
-
839
- if (name === "S4"){
840
- this.res.style.fontSize = display4;
841
- }
842
-
843
- const display5= "1.000rem";
844
-
845
- if (name === "S5"){
846
- this.res.style.fontSize = display5;
847
- }
848
- */
849
-
850
- return this;
851
- }
519
+
852
520
 
853
521
 
854
522
  minusMargin(){
@@ -951,137 +619,7 @@ checkForAnimation(queries){
951
619
  return this;
952
620
  }
953
621
 
954
- /*fluidCopy(name){
955
-
956
-
957
- if (name instanceof Object){
958
- this.prevStylex = this.res.style;
959
- this.res = document.createElement("h1");
960
- this.res.style.cssText = this.prevStylex.cssText;
961
- let node = document.createTextNode(this.text);
962
- this.res.appendChild(node);
963
- this.res.style.fontSize = name.exact;
964
-
965
- // alert(name.exact);
966
-
967
- return this;
968
- }
969
-
970
- const display1 = "calc(1.625rem + 5.075vw)";
971
-
972
- if (name === "S1"){
973
- this.prevStylex = this.res.style;
974
- this.res = document.createElement("h1");
975
- this.res.style.cssText = this.prevStylex.cssText;
976
- let node = document.createTextNode(this.text);
977
- this.res.appendChild(node);
978
- this.res.style.fontSize = display1;
979
622
 
980
-
981
-
982
- }
983
-
984
- const display2 = "calc(1.500rem + 4.3vw)";
985
-
986
- if (name === "S2"){
987
- this.prevStylex = this.res.style;
988
- this.res = document.createElement("h2");
989
- this.res.style.cssText = this.prevStylex.cssText;
990
- let node = document.createTextNode(this.text);
991
- this.res.appendChild(node);
992
- this.res.style.fontSize = display2;
993
- }
994
-
995
-
996
- const display3 = "calc(1.375rem + 3.525vw)";
997
-
998
- if (name === "S3"){
999
- this.prevStylex = this.res.style;
1000
- this.res = document.createElement("h3");
1001
- this.res.style.cssText = this.prevStylex.cssText;
1002
- let node = document.createTextNode(this.text);
1003
- this.res.appendChild(node);
1004
- this.res.style.fontSize = display3;
1005
- }
1006
-
1007
- const display4 = "calc(1.250rem + 2.75vw)";
1008
-
1009
- if (name === "S4"){
1010
- this.prevStylex = this.res.style;
1011
- this.res = document.createElement("h4");
1012
- this.res.style.cssText = this.prevStylex.cssText;
1013
- let node = document.createTextNode(this.text);
1014
- this.res.appendChild(node);
1015
- this.res.style.fontSize = display4;
1016
- }
1017
-
1018
- const display5 = "calc(1.125rem + 1.975vw)";
1019
-
1020
- if (name === "S5"){
1021
- this.prevStylex = this.res.style;
1022
- this.res = document.createElement("h5");
1023
- this.res.style.cssText = this.prevStylex.cssText;
1024
- let node = document.createTextNode(this.text);
1025
- this.res.appendChild(node);
1026
- this.res.style.fontSize = display5;
1027
- }
1028
-
1029
-
1030
-
1031
- const display6 = "calc(1rem + 0.5vw)"; // calc(1rem + 1.2vw)
1032
-
1033
- if (name === "S6"){
1034
- if (this.options && this.options.preffersId === false){
1035
- this.html.push(`<p class="${this.options.class}">${this.text}</p> \n \n`);
1036
- } else if (this.options && this.options.id) {
1037
- this.html.push(`<p id="${this.options.id.substr(1)}">${this.text}</p> \n \n`);
1038
- }
1039
- this.res.style.fontSize = display6;
1040
- }
1041
-
1042
- return this;
1043
- }*/
1044
-
1045
-
1046
- toReactComponent(){
1047
- this.react.push("function Godzilla() { \n");
1048
- //if (this.options.preffersId === false){
1049
- this.react.push(`return <h1 class="${this.options.class}">${this.text}</h1> \n`);
1050
- // } else {
1051
- // this.react.push(`return <h1 id="${this.options.id.substr(1)}">${this.text}</h1> \n`);
1052
- // }
1053
- this.react.push("} \n \n");
1054
-
1055
- // console.warn("i...")
1056
- // console.log(this.react.join(""));
1057
- return this.react;
1058
- }
1059
-
1060
-
1061
-
1062
-
1063
-
1064
-
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
- myself(obj) {
1072
- const adj = () => {
1073
- let query = window.matchMedia("(max-device-width: 415px)");
1074
- if (query.matches) {
1075
- this.res.style.fontSize = obj.desktop;
1076
- } else {
1077
- this.res.style.fontSize = obj.phone;
1078
- }
1079
- }
1080
-
1081
- adj();
1082
- window.addEventListener("resize", adj);
1083
- return this;
1084
- }
1085
623
 
1086
624
 
1087
625
 
@@ -1124,11 +662,7 @@ checkForAnimation(queries){
1124
662
  return this;
1125
663
  }
1126
664
 
1127
-
1128
-
1129
- vw(val, o, maxMin){
1130
-
1131
- }
665
+
1132
666
 
1133
667
 
1134
668
 
@@ -1198,21 +732,8 @@ checkForAnimation(queries){
1198
732
  // this.res.style.fontSize = `calc(${base}px + 1vw)`;
1199
733
  return this;
1200
734
  }
1201
-
1202
- xlarge() {
1203
- const adj = () => {
1204
- let query = window.matchMedia("(max-device-width: 415px)");
1205
- if (query.matches) {
1206
- this.res.style.fontSize = '6.5rem';
1207
- } else {
1208
- this.res.style.fontSize = '8.5rem';
1209
- }
1210
- }
1211
735
 
1212
- adj();
1213
- window.addEventListener("resize", adj);
1214
- return this;
1215
- }
736
+
1216
737
 
1217
738
  medium() {
1218
739
  const adj = () => {
@@ -1424,42 +945,7 @@ checkForAnimation(queries){
1424
945
  return this;
1425
946
  }
1426
947
 
1427
-
1428
948
 
1429
-
1430
-
1431
-
1432
-
1433
-
1434
-
1435
- headline() {
1436
- this.em(4)
1437
- this.font("Arial")
1438
- this.bold()
1439
- return this;
1440
- }
1441
-
1442
- caption() {
1443
- this.bold();
1444
- this.res.style.fontFamily = "Arial";
1445
- this.color("gray");
1446
- this.pad([{t: 20}]);
1447
-
1448
- this.res.style.fontSize = "1em";
1449
-
1450
- // responsive font size
1451
-
1452
- let mq = window.matchMedia("(max-device-width: 415px)");
1453
-
1454
- if (mq.matches){
1455
- this.res.style.fontSize = "2em";
1456
- } else {
1457
- this.res.style.fontSize = "1em";
1458
- }
1459
-
1460
-
1461
- return this;
1462
- }
1463
949
 
1464
950
  updating(obj, key) {
1465
951
 
@@ -1484,62 +970,6 @@ checkForAnimation(queries){
1484
970
 
1485
971
 
1486
972
 
1487
- applyStyle(w, style){
1488
-
1489
- let query = window.matchMedia(`(max-width: ${w}px)`);
1490
- if (query.matches){
1491
- Object.assign(this.res.style, style.styles);
1492
- }
1493
-
1494
- // // console.log(style.styles);
1495
- return this;
1496
- }
1497
-
1498
-
1499
-
1500
-
1501
-
1502
- nextApply(arr){
1503
- let queries = [];
1504
-
1505
- let initStyle = this.res.style;
1506
-
1507
- const change = (query) => {
1508
-
1509
- if (queries[0].matches){
1510
- //alert("FIRST")
1511
- Object.assign(this.res.style, arr[0].styles);
1512
- // // console.log("FIRST !");
1513
- } else if (queries[1].matches){
1514
- //alert("SECOND")
1515
- Object.assign(this.res.style, arr[1].styles);
1516
- // // console.log("SECOND !");
1517
- } else {
1518
- // alert("NO QUERY")
1519
- Object.assign(this.res.style, arr[arr.length - 1].styles);
1520
- // // console.log("NO MATCH !");
1521
- }
1522
- }
1523
-
1524
-
1525
- for (var i = 0; i < arr.length; i++) {
1526
- let el = arr[i];
1527
-
1528
- let query = window.matchMedia(`(min-width: ${el.min}px) and (max-width: ${el.max}px)`);
1529
- queries.push(query);
1530
-
1531
- queries[i].addListener(change)
1532
- }
1533
-
1534
-
1535
- change();
1536
-
1537
-
1538
-
1539
- return this;
1540
- }
1541
-
1542
-
1543
973
 
1544
974
 
1545
975
  apply(arr) {
package/layout/ulist.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.216
2
+ * nodality v1.0.217
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -176,19 +176,6 @@ class UList extends Animator {
176
176
  }
177
177
 
178
178
 
179
- headline() {
180
- this.em(4);
181
- this.font("Arial");
182
- this.bold();
183
- return this;
184
- }
185
-
186
- caption() {
187
- this.bold();
188
- this.res.style.fontFamily = "Arial";
189
- this.res.style.color = "#3498db";
190
- return this;
191
- }
192
179
 
193
180
 
194
181
  toCode(indent = 0) {
package/layout/video.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.216
2
+ * nodality v1.0.217
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/wrap.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.216
2
+ * nodality v1.0.217
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.216
2
+ * nodality v1.0.217
3
3
  * (c) 2026 Filip Vabrousek
4
4
  * License: MIT
5
5
  */