nodality 1.0.0-beta.99 → 1.0.2

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 (213) hide show
  1. package/dist/KeyframeAnimation.cjs.js.LICENSE.txt +1 -1
  2. package/dist/KeyframeAnimation.esm.js.LICENSE.txt +1 -1
  3. package/dist/animator.cjs.js.LICENSE.txt +1 -1
  4. package/dist/animator.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 +1 -1
  10. package/dist/betaDesktopBar.esm.js.LICENSE.txt +1 -1
  11. package/dist/betaMobileBar.esm.js +1 -1
  12. package/dist/betaMobileBar.esm.js.LICENSE.txt +1 -1
  13. package/dist/bundle.umd.js +1 -1
  14. package/dist/bundle.umd.js.LICENSE.txt +1 -1
  15. package/dist/button.cjs.js.LICENSE.txt +1 -1
  16. package/dist/button.esm.js.LICENSE.txt +1 -1
  17. package/dist/cardGetter.cjs.js.LICENSE.txt +1 -1
  18. package/dist/cardGetter.esm.js.LICENSE.txt +1 -1
  19. package/dist/center.cjs.js.LICENSE.txt +1 -1
  20. package/dist/center.esm.js.LICENSE.txt +1 -1
  21. package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
  22. package/dist/checkbox.esm.js.LICENSE.txt +1 -1
  23. package/dist/circle.cjs.js.LICENSE.txt +1 -1
  24. package/dist/circle.esm.js.LICENSE.txt +1 -1
  25. package/dist/code.cjs.js.LICENSE.txt +1 -1
  26. package/dist/code.esm.js.LICENSE.txt +1 -1
  27. package/dist/container.cjs.js +1 -1
  28. package/dist/container.cjs.js.LICENSE.txt +1 -1
  29. package/dist/container.esm.js +1 -1
  30. package/dist/container.esm.js.LICENSE.txt +1 -1
  31. package/dist/datalist.cjs.js.LICENSE.txt +1 -1
  32. package/dist/datalist.esm.js.LICENSE.txt +1 -1
  33. package/dist/designer.cjs.js +1 -1
  34. package/dist/designer.cjs.js.LICENSE.txt +1 -1
  35. package/dist/designer.esm.js +1 -1
  36. package/dist/designer.esm.js.LICENSE.txt +1 -1
  37. package/dist/dropdown.cjs.js.LICENSE.txt +1 -1
  38. package/dist/dropdown.esm.js.LICENSE.txt +1 -1
  39. package/dist/elementMapper.cjs.js +1 -1
  40. package/dist/elementMapper.cjs.js.LICENSE.txt +1 -1
  41. package/dist/elementMapper.esm.js +1 -1
  42. package/dist/elementMapper.esm.js.LICENSE.txt +1 -1
  43. package/dist/finalresult.esm.js +1 -1
  44. package/dist/finalresult.esm.js.LICENSE.txt +1 -1
  45. package/dist/flexCard.cjs.js.LICENSE.txt +1 -1
  46. package/dist/flexCard.esm.js.LICENSE.txt +1 -1
  47. package/dist/flexGrid.cjs.js.LICENSE.txt +1 -1
  48. package/dist/flexGrid.esm.js.LICENSE.txt +1 -1
  49. package/dist/flexRow.cjs.js +1 -1
  50. package/dist/flexRow.cjs.js.LICENSE.txt +1 -1
  51. package/dist/flexRow.esm.js +1 -1
  52. package/dist/flexRow.esm.js.LICENSE.txt +1 -1
  53. package/dist/floatingInput.cjs.js.LICENSE.txt +1 -1
  54. package/dist/floatingInput.esm.js.LICENSE.txt +1 -1
  55. package/dist/free.cjs.js.LICENSE.txt +1 -1
  56. package/dist/free.esm.js.LICENSE.txt +1 -1
  57. package/dist/horizontalScroller.esm.js.LICENSE.txt +1 -1
  58. package/dist/image.cjs.js.LICENSE.txt +1 -1
  59. package/dist/image.esm.js.LICENSE.txt +1 -1
  60. package/dist/imagePicker.cjs.js.LICENSE.txt +1 -1
  61. package/dist/imagePicker.esm.js.LICENSE.txt +1 -1
  62. package/dist/index.cjs.js +1 -1
  63. package/dist/index.cjs.js.LICENSE.txt +1 -1
  64. package/dist/index.esm.js +1 -1
  65. package/dist/index.esm.js.LICENSE.txt +1 -1
  66. package/dist/link.cjs.js +1 -1
  67. package/dist/link.cjs.js.LICENSE.txt +1 -1
  68. package/dist/link.esm.js +1 -1
  69. package/dist/link.esm.js.LICENSE.txt +1 -1
  70. package/dist/linkGetter.cjs.js +1 -1
  71. package/dist/linkGetter.cjs.js.LICENSE.txt +1 -1
  72. package/dist/linkGetter.esm.js +1 -1
  73. package/dist/linkGetter.esm.js.LICENSE.txt +1 -1
  74. package/dist/metaAdder.cjs.js.LICENSE.txt +1 -1
  75. package/dist/metaAdder.esm.js.LICENSE.txt +1 -1
  76. package/dist/modal2025.cjs.js.LICENSE.txt +1 -1
  77. package/dist/modal2025.esm.js.LICENSE.txt +1 -1
  78. package/dist/multiswitchers.esm.js.LICENSE.txt +1 -1
  79. package/dist/newNavBar.cjs.js +1 -1
  80. package/dist/newNavBar.cjs.js.LICENSE.txt +1 -1
  81. package/dist/newNavBar.esm.js +1 -1
  82. package/dist/newNavBar.esm.js.LICENSE.txt +1 -1
  83. package/dist/picker.cjs.js.LICENSE.txt +1 -1
  84. package/dist/picker.esm.js.LICENSE.txt +1 -1
  85. package/dist/polygon.cjs.js.LICENSE.txt +1 -1
  86. package/dist/polygon.esm.js.LICENSE.txt +1 -1
  87. package/dist/progress.cjs.js.LICENSE.txt +1 -1
  88. package/dist/progress.esm.js.LICENSE.txt +1 -1
  89. package/dist/radio.cjs.js.LICENSE.txt +1 -1
  90. package/dist/radio.esm.js.LICENSE.txt +1 -1
  91. package/dist/range.cjs.js.LICENSE.txt +1 -1
  92. package/dist/range.esm.js.LICENSE.txt +1 -1
  93. package/dist/scrollvideo.cjs.js.LICENSE.txt +1 -1
  94. package/dist/scrollvideo.esm.js.LICENSE.txt +1 -1
  95. package/dist/sideBar.cjs.js.LICENSE.txt +1 -1
  96. package/dist/sideBar.esm.js.LICENSE.txt +1 -1
  97. package/dist/sideNavBar.cjs.js.LICENSE.txt +1 -1
  98. package/dist/sideNavBar.esm.js.LICENSE.txt +1 -1
  99. package/dist/simpleBar.cjs.js.LICENSE.txt +1 -1
  100. package/dist/simpleBar.esm.js.LICENSE.txt +1 -1
  101. package/dist/stack.cjs.js.LICENSE.txt +1 -1
  102. package/dist/stack.esm.js.LICENSE.txt +1 -1
  103. package/dist/stacker.cjs.js.LICENSE.txt +1 -1
  104. package/dist/stacker.esm.js.LICENSE.txt +1 -1
  105. package/dist/table.cjs.js +1 -1
  106. package/dist/table.cjs.js.LICENSE.txt +1 -1
  107. package/dist/table.esm.js +1 -1
  108. package/dist/table.esm.js.LICENSE.txt +1 -1
  109. package/dist/text.cjs.js.LICENSE.txt +1 -1
  110. package/dist/text.esm.js.LICENSE.txt +1 -1
  111. package/dist/textField.cjs.js.LICENSE.txt +1 -1
  112. package/dist/textField.esm.js.LICENSE.txt +1 -1
  113. package/dist/transformanim.cjs.js.LICENSE.txt +1 -1
  114. package/dist/transformanim.esm.js.LICENSE.txt +1 -1
  115. package/dist/wrap.cjs.js.LICENSE.txt +1 -1
  116. package/dist/wrap.esm.js.LICENSE.txt +1 -1
  117. package/dist/zoomCard.cjs.js.LICENSE.txt +1 -1
  118. package/dist/zoomCard.esm.js.LICENSE.txt +1 -1
  119. package/layout/DEPRECATED-PARAGRAPH.js +1 -1
  120. package/layout/animator.js +8 -2
  121. package/layout/audio.js +1 -1
  122. package/layout/audionew.js +1 -1
  123. package/layout/base-2.js +1 -1
  124. package/layout/base.js +1 -1
  125. package/layout/betaDesktopBar.js +6 -4
  126. package/layout/betaMobileBar.js +2 -2
  127. package/layout/box.js +1 -1
  128. package/layout/button.js +1 -1
  129. package/layout/cards.js +1 -1
  130. package/layout/center.js +1 -1
  131. package/layout/checkbox.js +1 -1
  132. package/layout/circle.js +1 -1
  133. package/layout/cleanRow.js +1 -1
  134. package/layout/code.js +1 -1
  135. package/layout/container.js +4 -1
  136. package/layout/custom.js +1 -1
  137. package/layout/divImage.js +1 -1
  138. package/layout/dropdown.js +1 -1
  139. package/layout/dropdown2025.js +2 -2
  140. package/layout/emptyElement.js +1 -1
  141. package/layout/externalStylesheet.js +1 -1
  142. package/layout/flexCard.js +1 -1
  143. package/layout/flexGrid.js +1 -1
  144. package/layout/flexrow.js +5 -1
  145. package/layout/footer.js +1 -1
  146. package/layout/formComponents/custom.js +1 -1
  147. package/layout/formComponents/dataList.js +1 -1
  148. package/layout/formComponents/floatingInput.js +1 -1
  149. package/layout/formComponents/form-all.js +1 -1
  150. package/layout/formComponents/form.js +1 -1
  151. package/layout/formComponents/imagePicker.js +1 -1
  152. package/layout/formComponents/picker.js +1 -1
  153. package/layout/formComponents/radio.js +1 -1
  154. package/layout/formComponents/radiogroup.js +1 -1
  155. package/layout/formComponents/range.js +1 -1
  156. package/layout/free.js +1 -1
  157. package/layout/grid-new.js +1 -1
  158. package/layout/grid.js +1 -1
  159. package/layout/gridSwitcher.js +1 -1
  160. package/layout/group.js +1 -1
  161. package/layout/header.js +1 -1
  162. package/layout/horizontalScroller.js +1 -1
  163. package/layout/image-old.js +1 -1
  164. package/layout/image.js +1 -1
  165. package/layout/index.js +1 -1
  166. package/layout/label.js +1 -1
  167. package/layout/link.js +45 -3
  168. package/layout/list-OLD.js +1 -1
  169. package/layout/list.js +1 -1
  170. package/layout/metaAdder.js +1 -1
  171. package/layout/modal2025.js +1 -1
  172. package/layout/modernwrap.js +1 -1
  173. package/layout/multiswitcher.js +1 -1
  174. package/layout/multiswitcherBeta.js +1 -1
  175. package/layout/navBar-OLD.js +1 -1
  176. package/layout/navBar.js +1 -1
  177. package/layout/navFactor/customDiv.js +1 -1
  178. package/layout/newFlatAdder.js +1 -1
  179. package/layout/newNavBar copy 2.js +1 -1
  180. package/layout/newNavBar copy.js +1 -1
  181. package/layout/newNavBar.js +2 -2
  182. package/layout/offsetContainer.js +1 -1
  183. package/layout/polygon.js +1 -1
  184. package/layout/progress.js +1 -1
  185. package/layout/row.js +1 -1
  186. package/layout/savedNewNavBar.js +1 -1
  187. package/layout/scrollvideo.js +1 -1
  188. package/layout/sideBar.js +1 -1
  189. package/layout/sideNavBar.js +1 -1
  190. package/layout/simpleBar.js +1 -1
  191. package/layout/slider2025.js +1 -1
  192. package/layout/spacer.js +1 -1
  193. package/layout/stack.js +1 -1
  194. package/layout/styler.js +1 -1
  195. package/layout/switcher.js +1 -1
  196. package/layout/table.js +6 -1
  197. package/layout/text.js +1 -1
  198. package/layout/textField.js +1 -1
  199. package/layout/ulist.js +1 -1
  200. package/layout/video.js +1 -1
  201. package/layout/withoutNew.js +1 -1
  202. package/layout/wrap.js +1 -1
  203. package/layout/zoomCard.js +1 -1
  204. package/lib/AppleAnim.js +1 -1
  205. package/lib/KeyframeAnimation.js +1 -1
  206. package/lib/Stacker.js +1 -1
  207. package/lib/TransformAnim.js +1 -1
  208. package/lib/cardGetter.js +1 -1
  209. package/lib/designer.js +72 -12
  210. package/lib/elementMapper.js +29 -27
  211. package/lib/linkGetter.js +1 -1
  212. package/lib/scrollvideo.js +1 -1
  213. package/package.json +20 -6
package/lib/Stacker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.0-beta.99
2
+ * nodality v1.0.2
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.0-beta.99
2
+ * nodality v1.0.2
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.0-beta.99
2
+ * nodality v1.0.2
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.0-beta.99
2
+ * nodality v1.0.2
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -421,7 +421,6 @@ customOptions.forEach(item => {
421
421
  //customOptions = updated;
422
422
 
423
423
 
424
-
425
424
  for (var i = 0; i < arr.length; i++) {
426
425
  let el = arr[i];
427
426
  let ela = null;
@@ -513,9 +512,9 @@ customOptions.forEach(item => {
513
512
  values: [ // This can be empty or have any order of values
514
513
  "ty:-20px",
515
514
  "scale(3)",
516
- "rotate(30deg)",
517
- "skew(40deg, 0deg)",
518
- "perspective(500px)",
515
+ "rotate(3deg)",
516
+ "skew(3deg, 0deg)",
517
+ "perspective(100px)",
519
518
  "matrix(1, 0, 0, 1, 50, 50)"
520
519
  ],
521
520
  }
@@ -760,15 +759,16 @@ customOptions.forEach(item => {
760
759
 
761
760
  else {
762
761
  opts = [ // This can be empty or have any order of values
763
- "ty:-20px",
764
- "scale(3)",
765
- "rotate(30deg)",
762
+ "ty:20px",
763
+ "tx:30px",
764
+ // "scale(3)",
765
+ "rotate(3deg)",
766
766
  "skew(40deg, 0deg)",
767
- "perspective(500px)",
768
- "matrix(1, 0, 0, 1, 50, 50)"
767
+ // "perspective(500px)",
768
+ // "matrix(1, 0, 0, 1, 50, 50)"
769
769
  ];
770
770
  }
771
-
771
+ /*
772
772
  if (duration === "default"){
773
773
  duration = "MEDIUM";
774
774
  }
@@ -779,7 +779,7 @@ if (duration === "default"){
779
779
  duration = "6s-ease-in-out";
780
780
  } else if (duration === "SLOW"){
781
781
  duration = "10s-ease-in-out";
782
- }
782
+ } */
783
783
 
784
784
 
785
785
  if (/*q == i*/ true){ // 23:07.20 Nice!!!! 23:04 bef
@@ -835,6 +835,66 @@ console.log(duration);
835
835
  console.log(`----------------------------LLL ${i} ${customOptions.length}`);
836
836
 
837
837
 
838
+
839
+ function replaceMedium(obj) {
840
+ /*for (let key in obj) {
841
+ if (typeof obj[key] === "object") {
842
+ replaceMedium(obj[key]); // dive deeper
843
+ } else if (obj[key] === "medium") {
844
+ obj[key] = "6s-ease-in-out";
845
+ } else if (obj[key] === "fast") {
846
+ obj[key] = "3s-ease-in-out";
847
+ } else if (obj[key] === "slow") {
848
+ obj[key] = "9s-ease-in-out";
849
+ } else if (obj[key] === "default"){
850
+ alert("PP")
851
+ delete obj[key];
852
+ }
853
+ }*/
854
+
855
+ /* for (let key of Object.keys(obj)) {
856
+ if (typeof obj[key] === "object" && obj[key] !== null) {
857
+ replaceMedium(obj[key]); // dive deeper
858
+ } else if (obj[key] && obj[key].toLowerCase() === "medium") {
859
+ obj[key] = "6s-ease-in-out";
860
+ } else if (obj[key] && obj[key].toLowerCase() === "fast") {
861
+ obj[key] = "3s-ease-in-out";
862
+ } else if (obj[key] && obj[key].toLowerCase() === "slow") {
863
+ obj[key] = "9s-ease-in-out";
864
+ } else if (obj[key] && obj[key].toLowerCase() === "default") {
865
+ // alert("PP");
866
+ delete obj[key]; // works now
867
+ }
868
+ }*/
869
+
870
+ for (let key of Object.keys(obj)) {
871
+ if (typeof obj[key] === "object" && obj[key] !== null) {
872
+ replaceMedium(obj[key]); // dive deeper
873
+ } else if (typeof obj[key] === "string") {
874
+ switch (obj[key].toLowerCase()) {
875
+ case "medium":
876
+ obj[key] = "6s-ease-in-out";
877
+ break;
878
+ case "fast":
879
+ obj[key] = "3s-ease-in-out";
880
+ break;
881
+ case "slow":
882
+ obj[key] = "9s-ease-in-out";
883
+ break;
884
+ case "default":
885
+ delete obj[key];
886
+ break;
887
+ }
888
+ }
889
+ }
890
+ }
891
+
892
+ replaceMedium(customOptions);
893
+
894
+ console.log("SENDING CUSTOM OPTIONS");
895
+
896
+ console.log(customOptions);
897
+
838
898
  const matchEls = ["h1", "h2", "h3", "h4", "h5", "h6", "p"].includes(el.type) || el.type === "img" || el.type === "a";
839
899
 
840
900
  if (matchEls) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.0-beta.99
2
+ * nodality v1.0.2
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -772,13 +772,14 @@ if (obj.el.dropdown){
772
772
  breakpoints: [ // 172800 almost
773
773
  {
774
774
  at: "0px", view: new MobileBar().set({
775
- background: "green",
775
+ background: "#ecf0f1",
776
776
  mar: [{ "a": 21 }],
777
- brand: new Text("A").set({size: "S1"}),
777
+ brand: new Text("Company").set({size: "S6", font: "Helvetica"}),
778
778
  hamburgerColour: "#3498db",
779
779
  radius: "1rem",
780
780
  }).add([
781
- new Link("A").set({text: "A", url: "#a"}),//.render()
781
+
782
+ new Link().set({text: "About", url: "#a"}),//.render()
782
783
 
783
784
 
784
785
 
@@ -795,7 +796,7 @@ if (obj.el.dropdown){
795
796
  height: "auto",
796
797
 
797
798
  }).add([
798
- new Text("First")
799
+ new Text("More")
799
800
  .set({
800
801
  cursor: "hand",
801
802
  icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -807,7 +808,7 @@ if (obj.el.dropdown){
807
808
 
808
809
  }),
809
810
 
810
- new Text("Firsti")
811
+ new Text("Our story")
811
812
  .set({
812
813
  cursor: "hand",
813
814
  // icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -819,7 +820,7 @@ if (obj.el.dropdown){
819
820
 
820
821
  }),
821
822
 
822
- new Text("Firstiuu")
823
+ new Text("Team")
823
824
  .set({
824
825
  cursor: "hand",
825
826
  // icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -835,14 +836,14 @@ if (obj.el.dropdown){
835
836
 
836
837
 
837
838
 
838
- new Link("B").set({text: "B", url: "#b"}),//.render()
839
- new Link("C").set({text: "C", url: "https://www.abcnews.com"})//.render()
839
+ new Link("B").set({text: "About", url: "#b"}),//.render()
840
+ new Link("C").set({text: "Contact", url: "https://www.abcnews.com"})//.render()
840
841
  ])//.addNavItem(new Link("C").set({}).render())
841
842
  },
842
843
 
843
844
  {
844
845
  at: "1200px", view: new DesktopBar().set({
845
- background: "green",
846
+ background: "#ecf0f1",
846
847
  mar: [{ "a": 21 }],
847
848
  maxHeight: "100px",
848
849
  radius: "1rem"
@@ -851,7 +852,7 @@ if (obj.el.dropdown){
851
852
  })
852
853
  // .setBrand(new Text("A").set({}).render())
853
854
  .add([
854
- new Text("A").set({size: "S1"}),
855
+ new Text("Company").set({size: "S6", font: "Helvetica"}),
855
856
  new Spacer(true),
856
857
 
857
858
  // new Link("O").set({text: "O", url: "#a"}),
@@ -868,7 +869,7 @@ if (obj.el.dropdown){
868
869
  radius: "30px",
869
870
  width: "130px"
870
871
  }).add([
871
- new Text("First")
872
+ new Text("More")
872
873
  .set({
873
874
  cursor: "hand",
874
875
  icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -883,7 +884,7 @@ if (obj.el.dropdown){
883
884
 
884
885
  new Wrapper().set({
885
886
  flexDir: "column",
886
- background: "orange",
887
+ // background: "orange",
887
888
  mar: [{"t": "10px"}],
888
889
  radius: ".3rem"}).add([
889
890
 
@@ -891,7 +892,7 @@ new Wrapper().set({
891
892
 
892
893
  new Link("")
893
894
  .set({
894
- text: "A", // BEWARE
895
+ text: "Who we are", // BEWARE
895
896
  url: "jk",
896
897
  cursor: "hand",
897
898
  // icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -904,7 +905,7 @@ new Wrapper().set({
904
905
 
905
906
  new Link("")
906
907
  .set({
907
- text: "Kivi new TV",
908
+ text: "Info",
908
909
  url: "#u",
909
910
  cursor: "hand",
910
911
  // icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -918,7 +919,7 @@ new Wrapper().set({
918
919
 
919
920
  new Link("")
920
921
  .set({
921
- text: "Thanks GPT",
922
+ text: "About",
922
923
  url: "#u",
923
924
  cursor: "hand",
924
925
  // icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -947,9 +948,9 @@ new Wrapper().set({
947
948
 
948
949
 
949
950
 
950
- new Link("Desktop bar").set({text: "Desktop bar", url: "#a"}),//.render()
951
- new Link("B").set({text: "B", url: "#a"}),//.render()
952
- new Link("C").set({text: "C", url: "#a"})//.render()
951
+ new Link().set({ text: "About", url: "#a"}),//.render()
952
+ new Link().set({ text: "Services", url: "#a"}),//.render()
953
+ new Link().set({ text: "Contact", url: "#a"})//.render()
953
954
  // new Link("C").set({})//.render()
954
955
  ])
955
956
  /*.addNavItem(
@@ -1026,7 +1027,7 @@ new Wrapper().set({
1026
1027
  pad: [{ "a": 40 }],
1027
1028
  //socenter: true,
1028
1029
  padding: "10px",
1029
- border: "1px solid black",
1030
+ // border: "1px solid black",
1030
1031
  animation: { // also works without animation block
1031
1032
  range: ["0px", "1900px"],
1032
1033
  op: {
@@ -1054,7 +1055,7 @@ new Wrapper().set({
1054
1055
  },
1055
1056
  },
1056
1057
  }).add([
1057
- new Text("First")
1058
+ new Text("More")
1058
1059
  .set({
1059
1060
  cursor: "hand",
1060
1061
  icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
@@ -1240,7 +1241,7 @@ if (obj.el.dropdown){
1240
1241
  templateCols = null;
1241
1242
  }
1242
1243
  5
1243
- if (ft.op.value === "image-overlay-text"){ // 17:43:03
1244
+ if (ft.op.value === "img-overlay-text"){ // 17:43:03
1244
1245
  spanObjects = {
1245
1246
  text: {row: "1 / span 2", col: "3 / span 2"},
1246
1247
  image: {row: "2 / span 3", col: "3 / 3"}
@@ -1248,7 +1249,7 @@ if (obj.el.dropdown){
1248
1249
  }
1249
1250
 
1250
1251
  // react on by value to control amount
1251
- if (ft.op.value === "image-leftof-text") { // no 3-6
1252
+ if (ft.op.value === "img-leftof-text") { // no 3-6
1252
1253
  spanObjects = {
1253
1254
  text: {row: "1", col: "1 / 3"},
1254
1255
  image: {row: "1", col: "3 / 4"}
@@ -1269,16 +1270,17 @@ if (obj.el.dropdown){
1269
1270
  new Text("I am free")
1270
1271
  .set({
1271
1272
  border: "3px solid green",
1272
- "font": "Arial", // 23:11:24 08/11/24 "font" works also?
1273
- fluidc: "S1",
1273
+ font: "Arial", // 23:11:24 08/11/24 "font" works also?
1274
+ size: "S1",
1274
1275
  color: "#1abc9c",
1275
1276
  gpos: spanObjects != null ? (spanObjects.text) : null, // "span 2" can also work here as string
1276
1277
  zIndex: 1
1277
1278
  }),
1278
1279
 
1279
- new Image("https://www.cruisemapper.com/images/ships/2183-e9681865a61.jpg")
1280
+ new Image()
1280
1281
  .set({
1281
- url: "https://www.cruisemapper.com/images/ships/2183-e9681865a61.jpg",
1282
+ url: "https://upload.wikimedia.org/wikipedia/commons/a/ac/MSC_World_Europa_-_Saint-Nazaire_-_June_2022.jpg",
1283
+ // url: "https://www.cruisemapper.com/images/ships/2183-e9681865a61.jpg",
1282
1284
  width: "400px",
1283
1285
  height: "auto",
1284
1286
  gpos: spanObjects != null ? (spanObjects.image) : null,
package/lib/linkGetter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.0-beta.99
2
+ * nodality v1.0.2
3
3
  * (c) 2025 Filip Vabrousek
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * nodality v1.0.0-beta.99
2
+ * nodality v1.0.2
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.0-beta.99",
3
+ "version": "1.0.2",
4
4
  "description": "A lightweight library for declarative UI elements.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -32,19 +32,33 @@
32
32
  "license": "MIT",
33
33
  "repository": {
34
34
  "type": "git",
35
- "url": "https://github.com/filipvabrousek/nodality.git"
35
+ "url": "https://github.com/nodalityjs/nodality"
36
36
  },
37
37
  "author": {
38
38
  "name": "Filip Vabrousek",
39
39
  "email": "filipvabrousek1@gmail.com",
40
40
  "url": "https://filipvabrousek.com"
41
41
  },
42
- "homepage": "https://filipvabrousek.com",
42
+ "homepage": "https://nodalityjs.github.io/",
43
43
  "keywords": [
44
- "UI",
45
- "library",
44
+ "ui",
45
+ "ui-library",
46
+ "user-interface",
46
47
  "declarative",
47
- "nodality"
48
+ "declarative-ui",
49
+ "web",
50
+ "frontend",
51
+ "javascript",
52
+ "html",
53
+ "dom",
54
+ "rendering",
55
+ "components",
56
+ "component-based",
57
+ "nodes",
58
+ "nodality",
59
+ "effects",
60
+ "style",
61
+ "open-source"
48
62
  ],
49
63
  "devDependencies": {
50
64
  "@babel/core": "^7.28.0",