nodality 1.0.17 → 1.0.19

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 (203) hide show
  1. package/dist/animator.cjs.js.LICENSE.txt +1 -1
  2. package/dist/animator.esm.js.LICENSE.txt +1 -1
  3. package/dist/appleanim.cjs.js.LICENSE.txt +1 -1
  4. package/dist/appleanim.esm.js.LICENSE.txt +1 -1
  5. package/dist/audionew.cjs.js.LICENSE.txt +1 -1
  6. package/dist/audionew.esm.js.LICENSE.txt +1 -1
  7. package/dist/base.cjs.js.LICENSE.txt +1 -1
  8. package/dist/base.esm.js.LICENSE.txt +1 -1
  9. package/dist/betaDesktopBar.esm.js.LICENSE.txt +1 -1
  10. package/dist/betaMobileBar.esm.js.LICENSE.txt +1 -1
  11. package/dist/bundle.umd.js +1 -1
  12. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  13. package/dist/button.cjs.js.LICENSE.txt +1 -1
  14. package/dist/button.esm.js.LICENSE.txt +1 -1
  15. package/dist/cardGetter.cjs.js.LICENSE.txt +1 -1
  16. package/dist/cardGetter.esm.js.LICENSE.txt +1 -1
  17. package/dist/center.cjs.js.LICENSE.txt +1 -1
  18. package/dist/center.esm.js.LICENSE.txt +1 -1
  19. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  20. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  21. package/dist/code.cjs.js.LICENSE.txt +1 -1
  22. package/dist/code.esm.js.LICENSE.txt +1 -1
  23. package/dist/container.cjs.js.LICENSE.txt +1 -1
  24. package/dist/container.esm.js.LICENSE.txt +1 -1
  25. package/dist/datalist.cjs.js.LICENSE.txt +1 -1
  26. package/dist/datalist.esm.js.LICENSE.txt +1 -1
  27. package/dist/designer.cjs.js +1 -1
  28. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  29. package/dist/designer.esm.js +1 -1
  30. package/dist/designer.esm.js.LICENSE.txt +1 -1
  31. package/dist/dropdown.cjs.js.LICENSE.txt +1 -1
  32. package/dist/dropdown.esm.js.LICENSE.txt +1 -1
  33. package/dist/elementMapper.cjs.js +1 -1
  34. package/dist/elementMapper.cjs.js.LICENSE.txt +1 -1
  35. package/dist/elementMapper.esm.js +1 -1
  36. package/dist/elementMapper.esm.js.LICENSE.txt +1 -1
  37. package/dist/finalresult.esm.js +1 -1
  38. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  39. package/dist/flexCard.cjs.js.LICENSE.txt +1 -1
  40. package/dist/flexCard.esm.js.LICENSE.txt +1 -1
  41. package/dist/flexGrid.cjs.js.LICENSE.txt +1 -1
  42. package/dist/flexGrid.esm.js.LICENSE.txt +1 -1
  43. package/dist/flexRow.cjs.js.LICENSE.txt +1 -1
  44. package/dist/flexRow.esm.js.LICENSE.txt +1 -1
  45. package/dist/floatingInput.cjs.js.LICENSE.txt +1 -1
  46. package/dist/floatingInput.esm.js.LICENSE.txt +1 -1
  47. package/dist/free.cjs.js.LICENSE.txt +1 -1
  48. package/dist/free.esm.js.LICENSE.txt +1 -1
  49. package/dist/horizontalScroller.esm.js.LICENSE.txt +1 -1
  50. package/dist/image.cjs.js.LICENSE.txt +1 -1
  51. package/dist/image.esm.js.LICENSE.txt +1 -1
  52. package/dist/imagePicker.cjs.js.LICENSE.txt +1 -1
  53. package/dist/imagePicker.esm.js.LICENSE.txt +1 -1
  54. package/dist/index.cjs.js +1 -1
  55. package/dist/index.cjs.js.LICENSE.txt +1 -1
  56. package/dist/index.esm.js +1 -1
  57. package/dist/index.esm.js.LICENSE.txt +1 -1
  58. package/dist/link.cjs.js.LICENSE.txt +1 -1
  59. package/dist/link.esm.js.LICENSE.txt +1 -1
  60. package/dist/linkGetter.cjs.js.LICENSE.txt +1 -1
  61. package/dist/linkGetter.esm.js.LICENSE.txt +1 -1
  62. package/dist/metaAdder.cjs.js.LICENSE.txt +1 -1
  63. package/dist/metaAdder.esm.js.LICENSE.txt +1 -1
  64. package/dist/modal2025.cjs.js.LICENSE.txt +1 -1
  65. package/dist/modal2025.esm.js.LICENSE.txt +1 -1
  66. package/dist/multiswitchers.esm.js.LICENSE.txt +1 -1
  67. package/dist/newNavBar.cjs.js.LICENSE.txt +1 -1
  68. package/dist/newNavBar.esm.js.LICENSE.txt +1 -1
  69. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  70. package/dist/picker.esm.js.LICENSE.txt +1 -1
  71. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  72. package/dist/progress.esm.js.LICENSE.txt +1 -1
  73. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  74. package/dist/radio.esm.js.LICENSE.txt +1 -1
  75. package/dist/range.cjs.js.LICENSE.txt +1 -1
  76. package/dist/range.esm.js.LICENSE.txt +1 -1
  77. package/dist/scrollvideo.cjs.js.LICENSE.txt +1 -1
  78. package/dist/scrollvideo.esm.js.LICENSE.txt +1 -1
  79. package/dist/sideBar.cjs.js.LICENSE.txt +1 -1
  80. package/dist/sideBar.esm.js.LICENSE.txt +1 -1
  81. package/dist/sideNavBar.cjs.js.LICENSE.txt +1 -1
  82. package/dist/sideNavBar.esm.js.LICENSE.txt +1 -1
  83. package/dist/simpleBar.cjs.js.LICENSE.txt +1 -1
  84. package/dist/simpleBar.esm.js.LICENSE.txt +1 -1
  85. package/dist/slider2025.cjs.js.LICENSE.txt +1 -1
  86. package/dist/slider2025.esm.js.LICENSE.txt +1 -1
  87. package/dist/spacer.cjs.js.LICENSE.txt +1 -1
  88. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  89. package/dist/stack.esm.js.LICENSE.txt +1 -1
  90. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  91. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  92. package/dist/table.cjs.js.LICENSE.txt +1 -1
  93. package/dist/table.esm.js.LICENSE.txt +1 -1
  94. package/dist/text.cjs.js.LICENSE.txt +1 -1
  95. package/dist/text.esm.js.LICENSE.txt +1 -1
  96. package/dist/textField.cjs.js.LICENSE.txt +1 -1
  97. package/dist/textField.esm.js.LICENSE.txt +1 -1
  98. package/dist/transformanim.cjs.js.LICENSE.txt +1 -1
  99. package/dist/transformanim.esm.js.LICENSE.txt +1 -1
  100. package/dist/ulist.cjs.js +2 -0
  101. package/dist/ulist.cjs.js.LICENSE.txt +5 -0
  102. package/dist/ulist.esm.js +2 -0
  103. package/dist/ulist.esm.js.LICENSE.txt +5 -0
  104. package/dist/video.esm.js.LICENSE.txt +1 -1
  105. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  106. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  107. package/dist/zoomCard.cjs.js.LICENSE.txt +1 -1
  108. package/dist/zoomCard.esm.js.LICENSE.txt +1 -1
  109. package/layout/DEPRECATED-PARAGRAPH.js +1 -1
  110. package/layout/animator.js +1 -1
  111. package/layout/audio.js +1 -1
  112. package/layout/audionew.js +1 -1
  113. package/layout/base-2.js +1 -1
  114. package/layout/base.js +1 -1
  115. package/layout/betaDesktopBar.js +1 -1
  116. package/layout/betaMobileBar.js +1 -1
  117. package/layout/box.js +1 -1
  118. package/layout/button.js +1 -1
  119. package/layout/cards.js +1 -1
  120. package/layout/center.js +1 -1
  121. package/layout/checkbox.js +1 -1
  122. package/layout/circle.js +1 -1
  123. package/layout/cleanRow.js +1 -1
  124. package/layout/code.js +1 -1
  125. package/layout/container.js +1 -1
  126. package/layout/custom.js +1 -1
  127. package/layout/divImage.js +1 -1
  128. package/layout/dropdown.js +1 -1
  129. package/layout/dropdown2025.js +1 -1
  130. package/layout/emptyElement.js +1 -1
  131. package/layout/externalStylesheet.js +1 -1
  132. package/layout/flexCard.js +1 -1
  133. package/layout/flexGrid.js +1 -1
  134. package/layout/flexrow.js +1 -1
  135. package/layout/footer.js +1 -1
  136. package/layout/formComponents/custom.js +1 -1
  137. package/layout/formComponents/dataList.js +1 -1
  138. package/layout/formComponents/floatingInput.js +1 -1
  139. package/layout/formComponents/form-all.js +1 -1
  140. package/layout/formComponents/form.js +1 -1
  141. package/layout/formComponents/imagePicker.js +1 -1
  142. package/layout/formComponents/picker.js +1 -1
  143. package/layout/formComponents/radio.js +1 -1
  144. package/layout/formComponents/radiogroup.js +1 -1
  145. package/layout/formComponents/range.js +1 -1
  146. package/layout/free.js +1 -1
  147. package/layout/grid-new.js +1 -1
  148. package/layout/grid.js +1 -1
  149. package/layout/gridSwitcher.js +1 -1
  150. package/layout/group.js +1 -1
  151. package/layout/header.js +1 -1
  152. package/layout/horizontalScroller.js +1 -1
  153. package/layout/image-old.js +1 -1
  154. package/layout/image.js +1 -1
  155. package/layout/index.js +6 -2
  156. package/layout/label.js +1 -1
  157. package/layout/link.js +1 -1
  158. package/layout/list-OLD.js +1 -1
  159. package/layout/list.js +1 -1
  160. package/layout/metaAdder.js +1 -1
  161. package/layout/modal2025.js +1 -1
  162. package/layout/modernwrap.js +1 -1
  163. package/layout/multiswitcher.js +1 -1
  164. package/layout/multiswitcherBeta.js +1 -1
  165. package/layout/navBar-OLD.js +1 -1
  166. package/layout/navBar.js +1 -1
  167. package/layout/navFactor/customDiv.js +1 -1
  168. package/layout/newFlatAdder.js +1 -1
  169. package/layout/newNavBar copy 2.js +1 -1
  170. package/layout/newNavBar copy.js +1 -1
  171. package/layout/newNavBar.js +1 -1
  172. package/layout/offsetContainer.js +1 -1
  173. package/layout/polygon.js +1 -1
  174. package/layout/progress.js +1 -1
  175. package/layout/row.js +1 -1
  176. package/layout/savedNewNavBar.js +1 -1
  177. package/layout/scrollvideo.js +1 -1
  178. package/layout/sideBar.js +1 -1
  179. package/layout/sideNavBar.js +1 -1
  180. package/layout/simpleBar.js +1 -1
  181. package/layout/slider2025.js +1 -1
  182. package/layout/spacer.js +1 -1
  183. package/layout/stack.js +1 -1
  184. package/layout/styler.js +1 -1
  185. package/layout/switcher.js +1 -1
  186. package/layout/table.js +1 -1
  187. package/layout/text.js +1 -1
  188. package/layout/textField.js +1 -1
  189. package/layout/ulist.js +142 -141
  190. package/layout/video.js +1 -1
  191. package/layout/withoutNew.js +1 -1
  192. package/layout/wrap.js +1 -1
  193. package/layout/zoomCard.js +1 -1
  194. package/lib/AppleAnim.js +1 -1
  195. package/lib/KeyframeAnimation.js +1 -1
  196. package/lib/Stacker.js +1 -1
  197. package/lib/TransformAnim.js +1 -1
  198. package/lib/cardGetter.js +1 -1
  199. package/lib/designer.js +3 -2
  200. package/lib/elementMapper.js +39 -1
  201. package/lib/linkGetter.js +1 -1
  202. package/lib/scrollvideo.js +1 -1
  203. package/package.json +1 -1
package/layout/ulist.js CHANGED
@@ -1,153 +1,154 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import {Animator} from "./animator.js";
8
8
 
9
+ class UList extends Animator {
10
+ constructor() {
11
+ super();
12
+ this.res = null;
13
+ this.items = []; // unified storage
14
+ this.setup();
15
+ }
9
16
 
17
+ set(obj) {
18
+ obj.pad && this.pad(obj.pad);
19
+ obj.mar && this.mar(obj.mar);
20
+ return this;
21
+ }
22
+
23
+ setup() {
24
+ let el = document.createElement("ul");
25
+ this.res = el;
26
+ this.res.style.padding = 0;
27
+ this.res.style.margin = 0;
28
+ return this;
29
+ }
30
+
31
+ // unified method: accepts strings or components
32
+ setItems(itemsArray) {
33
+ this.items = itemsArray;
34
+
35
+ for (let item of itemsArray) {
36
+ if (typeof item === "string") {
37
+ let li = document.createElement("li");
38
+ li.textContent = item;
39
+ this.res.appendChild(li);
40
+ } else {
41
+ let rendered = item.render();
42
+ this.res.appendChild(rendered);
43
+ }
44
+ }
45
+ return this;
46
+ }
47
+
48
+ font(font) {
49
+ this.res.style.fontFamily = font;
50
+ return this;
51
+ }
52
+
53
+ size(s) {
54
+ this.res.style.fontSize = s;
55
+ return this;
56
+ }
57
+
58
+ em(e) {
59
+ this.res.style.fontSize = `${e}em`;
60
+ return this;
61
+ }
62
+
63
+ color(color) {
64
+ this.res.style.color = color;
65
+ return this;
66
+ }
67
+
68
+ align(direction) {
69
+ this.res.style.textAlign = `${direction}`;
70
+ return this;
71
+ }
72
+
73
+ weight(weight) {
74
+ this.res.style.fontWeight = weight;
75
+ return this;
76
+ }
77
+
78
+ bold() {
79
+ this.res.style.fontWeight = "bold";
80
+ return this;
81
+ }
82
+
83
+ italic() {
84
+ this.res.style.fontStyle = "italic";
85
+ return this;
86
+ }
87
+
88
+ margin(val) {
89
+ this.res.style.margin = val;
90
+ return this;
91
+ }
92
+
93
+ border(w, color) {
94
+ this.res.style.border = `${w}px solid ${color}`;
95
+ return this;
96
+ }
97
+
98
+ padding(T, L, R, B) {
99
+ this.res.style.paddingTop = T;
100
+ this.res.style.paddingLeft = L;
101
+ this.res.style.paddingRight = R;
102
+ this.res.style.paddingBottom = B;
103
+ return this;
104
+ }
105
+
106
+ headline() {
107
+ this.em(4);
108
+ this.font("Arial");
109
+ this.bold();
110
+ return this;
111
+ }
112
+
113
+ caption() {
114
+ this.bold();
115
+ this.res.style.fontFamily = "Arial";
116
+ this.res.style.color = "#3498db";
117
+ return this;
118
+ }
10
119
 
11
- // 13:28 07/04/2020 - BEGIN NOTHING GONNA STOP US NOW Lets go!
12
- class UList extends Animator {
13
- constructor(){
14
- super();
15
- this.res = null;
16
- this.setup();
17
- }
18
-
19
-
20
- set(obj){
21
- obj.pad && this.pad(obj.pad);
22
- obj.mar && this.mar(obj.mar);
23
- return this;
24
- }
25
-
26
- setup(){
27
- let el = document.createElement("ul");
28
- this.res = el;
29
-
30
- this.res.style.padding = 0;
31
- this.res.style.margin = 0;
32
- return this;
33
- }
34
-
35
-
36
- newItems(items){
37
- for (var i = 0; i < items.length; i++){
38
- console.log(items[i]);
39
- let rendered = items[i].render();
40
- this.res.appendChild(rendered);
41
- }
42
-
43
- return this;
44
- }
45
-
46
- items(itemso){
47
- for (var i = 0; i < itemso.length; i++){
48
- let li = document.createElement("li");
49
- let node = document.createTextNode(itemso[i]);
50
- li.appendChild(node);
51
- this.res.appendChild(li);
52
- }
53
-
54
- return this;
55
- }
56
-
57
-
58
- font(font){
59
- this.res.style.fontFamily = font;
60
- return this;
61
- }
62
-
63
-
64
- size(s){
65
- this.res.style.fontSize = s;
66
- return this;
67
- }
68
-
69
- em(e){
70
- this.res.style.fontSize = `${e}em`;
71
- return this;
72
- }
73
-
74
- color(color){
75
- this.res.style.color = color;
76
- return this;
77
- }
78
-
79
- align(direction){
80
- this.res.style.textAlign = `${direction}`;
81
- return this;
82
- }
83
-
84
- weight(weight){
85
- this.res.style.fontWeight = weight;
86
- return this;
87
- }
88
-
89
- bold(){
90
- this.res.style.fontWeight = "bold";
91
- return this;
92
- }
93
-
94
- italic(){
95
- this.res.style.fontStyle = "italic";
96
- return this;
97
- }
98
-
99
- /*padding(val){
100
- this.res.style.padding = val;
101
- return this;
102
- }*/
103
-
104
-
105
- margin(val){
106
- this.res.style.margin = val;
107
- return this;
108
- }
109
-
110
- border(w, color){
111
- this.res.style.border = `${w}px solid ${color}`;
112
- return this;
113
- }
114
-
115
-
116
-
117
-
118
- padding(T, L, R, B){
119
- this.res.style.paddingTop = T;
120
- this.res.style.paddingLeft = L;
121
- this.res.style.paddingRight = R;
122
- this.res.style.paddingBottom = B;
123
- return this;
124
- }
125
-
126
-
127
-
128
-
129
- headline(){
130
- this.em(4)
131
- this.font("Arial")
132
- this.bold()
133
- return this;
134
- }
135
-
136
-
137
- caption(){
138
- this.bold();
139
- this.res.style.fontFamily = "Arial";
140
- this.res.style.color = "#3498db";
141
- return this;
142
- }
143
120
 
144
- render(div){
145
- if (div){
146
- document.querySelector(div).appendChild(this.res);
147
- } else {
148
- return this.res;
149
- }
150
- }
121
+ toCode(indent = 0) {
122
+ this.code = [];
123
+
124
+ if (this.excludeFromCodeTrue) {
125
+ return [""];
126
+ }
127
+
128
+ const pad = " ".repeat(indent);
129
+ let code = `${pad}new UList()`;
130
+
131
+ if (this.items && this.items.length) {
132
+ code += `\n${pad} .setItems([\n` +
133
+ this.items.map(c =>
134
+ typeof c === "string"
135
+ ? `${" ".repeat(indent + 4)}"${c}"`
136
+ : c.toCode(indent + 4)
137
+ ).join(",\n") +
138
+ `\n${pad} ])`;
139
+ }
140
+
141
+ code += `\n${pad}`;
142
+ return [code];
143
+ }
144
+
145
+ render(div) {
146
+ if (div) {
147
+ document.querySelector(div).appendChild(this.res);
148
+ } else {
149
+ return this.res;
150
+ }
151
+ }
151
152
  }
152
-
153
+
153
154
  export { UList };
package/layout/video.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/layout/wrap.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/AppleAnim.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/Stacker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/cardGetter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/lib/designer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -39,6 +39,7 @@ import { /*Beta*/MobileBar } from "../layout/betaMobileBar.js";
39
39
  import { /*Beta*/DesktopBar } from "../layout/betaDesktopBar.js";
40
40
  import { SideNav } from "../layout/sideNavBar.js";
41
41
  import { Spacer } from "../layout/spacer.js";
42
+ import { UList } from "../layout/ulist.js";
42
43
 
43
44
 
44
45
  // FORM COMPONENTS
@@ -1339,7 +1340,7 @@ new Slider(texts, {
1339
1340
  const layout = {
1340
1341
  Text, Image, Link, FlexRow, UINavBar, Free, Audio, Progress, Center, Code,
1341
1342
  Stack, Wrapper, MetaAdder, Table, Dropdown, Modal, TextField, Card,
1342
- Wrap, FlexGrid, ZoomCard, Switcher, MobileBar, DesktopBar, SideNav, Spacer, HScroller, Polygon, Circle
1343
+ Wrap, FlexGrid, ZoomCard, Switcher, MobileBar, DesktopBar, SideNav, Spacer, HScroller, Polygon, Circle, UList
1343
1344
  };
1344
1345
 
1345
1346
  const formComponents = {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -43,6 +43,8 @@ import { LinkStyler } from "../lib/linkGetter.js";
43
43
  import { CardGen } from "../lib/cardGetter.js";
44
44
  import {AreaSwitcher} from "../layout/gridSwitcher.js";
45
45
  import {HScroller} from "../layout/horizontalScroller.js";
46
+ import { UList } from "../layout/ulist.js";
47
+
46
48
  // SHAPES
47
49
  import { Polygon } from "../layout/polygon.js";
48
50
  import { Circle } from "../layout/circle.js";
@@ -119,6 +121,8 @@ class ElementMapper { // 22:09:58 04/11/2024
119
121
  return this.mapCode(obj);
120
122
  } else if (obj.el.type === "table"){
121
123
  return this.mapTable(obj);
124
+ } else if (obj.el.type === "ulist"){
125
+ return this.mapUList(obj);
122
126
  }
123
127
  }
124
128
 
@@ -1806,6 +1810,40 @@ return `new AreaSwitcher()
1806
1810
  }
1807
1811
 
1808
1812
 
1813
+
1814
+ static mapUList(obj) {
1815
+ let el = obj.el;
1816
+
1817
+ //console.log("GRQDOE"); // remove text flag from lin gradient when ding this on wrapper
1818
+ //console.log(obj.customOptions);
1819
+
1820
+ let kind = obj.el.kind ?? "";
1821
+
1822
+
1823
+
1824
+ return new UList(kind)
1825
+ .set({
1826
+ id: el.id,
1827
+ class: el.class,
1828
+ color: el.color,
1829
+ size: this.getElType(el.type), // update 23/07/2025
1830
+ font: el.font ?? "Arial",
1831
+ keySet: el.keySet,
1832
+ // keySet: {key: "border", value: "3px solid green"},
1833
+ stroke: this.filtero("blast", el.id, obj.customOptions),
1834
+ gradient: this.filtero("gradient", el.id, obj.customOptions),
1835
+ animation: this.filtero("animation", el.id, obj.customOptions),
1836
+ shadow: this.filtero("shadow", el.id, obj.customOptions),
1837
+ transform: this.filtero("transform", el.id, obj.customOptions),
1838
+ filtera: this.filtero("filter", el.id, obj.customOptions),
1839
+ }).setItems([
1840
+ new Text("First").set({}),
1841
+ new Text("Second").set({}),
1842
+ new Text("Third").set({})
1843
+ ]);
1844
+ }
1845
+
1846
+
1809
1847
  /*static base(){
1810
1848
  let res = class Appa extends Base {
1811
1849
  constructor(){
package/lib/linkGetter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.17
2
+ * nodality v1.0.19
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodality",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "A lightweight library for declarative UI elements.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",