nodality 1.0.0-beta.97 → 1.0.0-beta.99
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.
- package/dist/KeyframeAnimation.cjs.js.LICENSE.txt +1 -1
- package/dist/KeyframeAnimation.esm.js.LICENSE.txt +1 -1
- package/dist/animator.cjs.js +1 -1
- package/dist/animator.cjs.js.LICENSE.txt +1 -1
- package/dist/animator.esm.js +1 -1
- package/dist/animator.esm.js.LICENSE.txt +1 -1
- package/dist/audionew.cjs.js +1 -1
- package/dist/audionew.cjs.js.LICENSE.txt +1 -1
- package/dist/audionew.esm.js +1 -1
- package/dist/audionew.esm.js.LICENSE.txt +1 -1
- package/dist/base.cjs.js.LICENSE.txt +1 -1
- package/dist/base.esm.js.LICENSE.txt +1 -1
- package/dist/betaDesktopBar.esm.js +1 -1
- package/dist/betaDesktopBar.esm.js.LICENSE.txt +1 -1
- package/dist/betaMobileBar.esm.js +1 -1
- package/dist/betaMobileBar.esm.js.LICENSE.txt +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/bundle.umd.js.LICENSE.txt +1 -1
- package/dist/button.cjs.js +1 -1
- package/dist/button.cjs.js.LICENSE.txt +1 -1
- package/dist/button.esm.js +1 -1
- package/dist/button.esm.js.LICENSE.txt +1 -1
- package/dist/cardGetter.cjs.js.LICENSE.txt +1 -1
- package/dist/cardGetter.esm.js.LICENSE.txt +1 -1
- package/dist/center.cjs.js.LICENSE.txt +1 -1
- package/dist/center.esm.js.LICENSE.txt +1 -1
- package/dist/checkbox.cjs.js +1 -1
- package/dist/checkbox.cjs.js.LICENSE.txt +1 -1
- package/dist/checkbox.esm.js +1 -1
- package/dist/checkbox.esm.js.LICENSE.txt +1 -1
- package/dist/circle.cjs.js +1 -1
- package/dist/circle.cjs.js.LICENSE.txt +1 -1
- package/dist/circle.esm.js +1 -1
- package/dist/circle.esm.js.LICENSE.txt +1 -1
- package/dist/code.cjs.js +1 -1
- package/dist/code.cjs.js.LICENSE.txt +1 -1
- package/dist/code.esm.js +1 -1
- package/dist/code.esm.js.LICENSE.txt +1 -1
- package/dist/container.cjs.js +1 -1
- package/dist/container.cjs.js.LICENSE.txt +1 -1
- package/dist/container.esm.js +1 -1
- package/dist/container.esm.js.LICENSE.txt +1 -1
- package/dist/datalist.cjs.js.LICENSE.txt +1 -1
- package/dist/datalist.esm.js.LICENSE.txt +1 -1
- package/dist/designer.cjs.js +1 -1
- package/dist/designer.cjs.js.LICENSE.txt +1 -1
- package/dist/designer.esm.js +1 -1
- package/dist/designer.esm.js.LICENSE.txt +1 -1
- package/dist/dropdown.cjs.js +1 -1
- package/dist/dropdown.cjs.js.LICENSE.txt +1 -1
- package/dist/dropdown.esm.js +1 -1
- package/dist/dropdown.esm.js.LICENSE.txt +1 -1
- package/dist/elementMapper.cjs.js +1 -1
- package/dist/elementMapper.cjs.js.LICENSE.txt +1 -1
- package/dist/elementMapper.esm.js +1 -1
- package/dist/elementMapper.esm.js.LICENSE.txt +1 -1
- package/dist/finalresult.esm.js +1 -1
- package/dist/finalresult.esm.js.LICENSE.txt +1 -1
- package/dist/flexCard.cjs.js +1 -1
- package/dist/flexCard.cjs.js.LICENSE.txt +1 -1
- package/dist/flexCard.esm.js +1 -1
- package/dist/flexCard.esm.js.LICENSE.txt +1 -1
- package/dist/flexGrid.cjs.js +1 -1
- package/dist/flexGrid.cjs.js.LICENSE.txt +1 -1
- package/dist/flexGrid.esm.js +1 -1
- package/dist/flexGrid.esm.js.LICENSE.txt +1 -1
- package/dist/flexRow.cjs.js +1 -1
- package/dist/flexRow.cjs.js.LICENSE.txt +1 -1
- package/dist/flexRow.esm.js +1 -1
- package/dist/flexRow.esm.js.LICENSE.txt +1 -1
- package/dist/floatingInput.cjs.js +1 -1
- package/dist/floatingInput.cjs.js.LICENSE.txt +1 -1
- package/dist/floatingInput.esm.js +1 -1
- package/dist/floatingInput.esm.js.LICENSE.txt +1 -1
- package/dist/free.cjs.js +1 -1
- package/dist/free.cjs.js.LICENSE.txt +1 -1
- package/dist/free.esm.js +1 -1
- package/dist/free.esm.js.LICENSE.txt +1 -1
- package/dist/horizontalScroller.esm.js.LICENSE.txt +1 -1
- package/dist/image.cjs.js +1 -1
- package/dist/image.cjs.js.LICENSE.txt +1 -1
- package/dist/image.esm.js +1 -1
- package/dist/image.esm.js.LICENSE.txt +1 -1
- package/dist/imagePicker.cjs.js +1 -1
- package/dist/imagePicker.cjs.js.LICENSE.txt +1 -1
- package/dist/imagePicker.esm.js +1 -1
- package/dist/imagePicker.esm.js.LICENSE.txt +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.LICENSE.txt +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.LICENSE.txt +1 -1
- package/dist/link.cjs.js +1 -1
- package/dist/link.cjs.js.LICENSE.txt +1 -1
- package/dist/link.esm.js +1 -1
- package/dist/link.esm.js.LICENSE.txt +1 -1
- package/dist/linkGetter.cjs.js +1 -1
- package/dist/linkGetter.cjs.js.LICENSE.txt +1 -1
- package/dist/linkGetter.esm.js +1 -1
- package/dist/linkGetter.esm.js.LICENSE.txt +1 -1
- package/dist/metaAdder.cjs.js.LICENSE.txt +1 -1
- package/dist/metaAdder.esm.js.LICENSE.txt +1 -1
- package/dist/modal2025.cjs.js.LICENSE.txt +1 -1
- package/dist/modal2025.esm.js.LICENSE.txt +1 -1
- package/dist/multiswitchers.esm.js +1 -1
- package/dist/multiswitchers.esm.js.LICENSE.txt +1 -1
- package/dist/newNavBar.cjs.js +1 -1
- package/dist/newNavBar.cjs.js.LICENSE.txt +1 -1
- package/dist/newNavBar.esm.js +1 -1
- package/dist/newNavBar.esm.js.LICENSE.txt +1 -1
- package/dist/picker.cjs.js +1 -1
- package/dist/picker.cjs.js.LICENSE.txt +1 -1
- package/dist/picker.esm.js +1 -1
- package/dist/picker.esm.js.LICENSE.txt +1 -1
- package/dist/polygon.cjs.js +1 -1
- package/dist/polygon.cjs.js.LICENSE.txt +1 -1
- package/dist/polygon.esm.js +1 -1
- package/dist/polygon.esm.js.LICENSE.txt +1 -1
- package/dist/progress.cjs.js.LICENSE.txt +1 -1
- package/dist/progress.esm.js.LICENSE.txt +1 -1
- package/dist/radio.cjs.js.LICENSE.txt +1 -1
- package/dist/radio.esm.js.LICENSE.txt +1 -1
- package/dist/range.cjs.js.LICENSE.txt +1 -1
- package/dist/range.esm.js.LICENSE.txt +1 -1
- package/dist/scrollvideo.cjs.js.LICENSE.txt +1 -1
- package/dist/scrollvideo.esm.js.LICENSE.txt +1 -1
- package/dist/sideBar.cjs.js +1 -1
- package/dist/sideBar.cjs.js.LICENSE.txt +1 -1
- package/dist/sideBar.esm.js +1 -1
- package/dist/sideBar.esm.js.LICENSE.txt +1 -1
- package/dist/sideNavBar.cjs.js +1 -1
- package/dist/sideNavBar.cjs.js.LICENSE.txt +1 -1
- package/dist/sideNavBar.esm.js +1 -1
- package/dist/sideNavBar.esm.js.LICENSE.txt +1 -1
- package/dist/simpleBar.cjs.js +1 -1
- package/dist/simpleBar.cjs.js.LICENSE.txt +1 -1
- package/dist/simpleBar.esm.js +1 -1
- package/dist/simpleBar.esm.js.LICENSE.txt +1 -1
- package/dist/stack.cjs.js.LICENSE.txt +1 -1
- package/dist/stack.esm.js.LICENSE.txt +1 -1
- package/dist/stacker.cjs.js.LICENSE.txt +1 -1
- package/dist/stacker.esm.js.LICENSE.txt +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.cjs.js.LICENSE.txt +1 -1
- package/dist/table.esm.js +1 -1
- package/dist/table.esm.js.LICENSE.txt +1 -1
- package/dist/text.cjs.js +1 -1
- package/dist/text.cjs.js.LICENSE.txt +1 -1
- package/dist/text.esm.js +1 -1
- package/dist/text.esm.js.LICENSE.txt +1 -1
- package/dist/textField.cjs.js +1 -1
- package/dist/textField.cjs.js.LICENSE.txt +1 -1
- package/dist/textField.esm.js +1 -1
- package/dist/textField.esm.js.LICENSE.txt +1 -1
- package/dist/transformanim.cjs.js.LICENSE.txt +1 -1
- package/dist/transformanim.esm.js.LICENSE.txt +1 -1
- package/dist/wrap.cjs.js.LICENSE.txt +1 -1
- package/dist/wrap.esm.js.LICENSE.txt +1 -1
- package/dist/zoomCard.cjs.js +1 -1
- package/dist/zoomCard.cjs.js.LICENSE.txt +1 -1
- package/dist/zoomCard.esm.js +1 -1
- package/dist/zoomCard.esm.js.LICENSE.txt +1 -1
- package/layout/DEPRECATED-PARAGRAPH.js +1 -1
- package/layout/animator.js +41 -5
- package/layout/audio.js +1 -1
- package/layout/audionew.js +1 -1
- package/layout/base-2.js +1 -1
- package/layout/base.js +1 -1
- package/layout/betaDesktopBar.js +1 -1
- package/layout/betaMobileBar.js +1 -1
- package/layout/box.js +1 -1
- package/layout/button.js +1 -1
- package/layout/cards.js +1 -1
- package/layout/center.js +1 -1
- package/layout/checkbox.js +1 -1
- package/layout/circle.js +5 -1
- package/layout/cleanRow.js +1 -1
- package/layout/code.js +6 -2
- package/layout/container.js +1 -1
- package/layout/custom.js +1 -1
- package/layout/divImage.js +1 -1
- package/layout/dropdown.js +1 -1
- package/layout/dropdown2025.js +1 -1
- package/layout/emptyElement.js +1 -1
- package/layout/externalStylesheet.js +1 -1
- package/layout/flexCard.js +4 -1
- package/layout/flexGrid.js +1 -1
- package/layout/flexrow.js +1 -1
- package/layout/footer.js +1 -1
- package/layout/formComponents/custom.js +1 -1
- package/layout/formComponents/dataList.js +1 -1
- package/layout/formComponents/floatingInput.js +1 -1
- package/layout/formComponents/form-all.js +1 -1
- package/layout/formComponents/form.js +1 -1
- package/layout/formComponents/imagePicker.js +1 -1
- package/layout/formComponents/picker.js +1 -1
- package/layout/formComponents/radio.js +1 -1
- package/layout/formComponents/radiogroup.js +1 -1
- package/layout/formComponents/range.js +1 -1
- package/layout/free.js +1 -1
- package/layout/grid-new.js +1 -1
- package/layout/grid.js +1 -1
- package/layout/gridSwitcher.js +1 -1
- package/layout/group.js +1 -1
- package/layout/header.js +1 -1
- package/layout/horizontalScroller.js +1 -1
- package/layout/image-old.js +1 -1
- package/layout/image.js +1 -1
- package/layout/index.js +1 -1
- package/layout/label.js +1 -1
- package/layout/link.js +19 -3
- package/layout/list-OLD.js +1 -1
- package/layout/list.js +1 -1
- package/layout/metaAdder.js +1 -1
- package/layout/modal2025.js +1 -1
- package/layout/modernwrap.js +1 -1
- package/layout/multiswitcher.js +1 -1
- package/layout/multiswitcherBeta.js +1 -1
- package/layout/navBar-OLD.js +1 -1
- package/layout/navBar.js +1 -1
- package/layout/navFactor/customDiv.js +1 -1
- package/layout/newFlatAdder.js +1 -1
- package/layout/newNavBar copy 2.js +1 -1
- package/layout/newNavBar copy.js +1 -1
- package/layout/newNavBar.js +1 -1
- package/layout/offsetContainer.js +1 -1
- package/layout/polygon.js +5 -1
- package/layout/progress.js +1 -1
- package/layout/row.js +1 -1
- package/layout/savedNewNavBar.js +1 -1
- package/layout/scrollvideo.js +1 -1
- package/layout/sideBar.js +2 -1
- package/layout/sideNavBar.js +71 -4
- package/layout/simpleBar.js +1 -1
- package/layout/slider2025.js +1 -1
- package/layout/spacer.js +1 -1
- package/layout/stack.js +1 -1
- package/layout/styler.js +1 -1
- package/layout/switcher.js +1 -1
- package/layout/table.js +1 -1
- package/layout/text.js +1 -5
- package/layout/textField.js +1 -1
- package/layout/ulist.js +1 -1
- package/layout/video.js +1 -1
- package/layout/withoutNew.js +1 -1
- package/layout/wrap.js +1 -1
- package/layout/zoomCard.js +1 -1
- package/lib/AppleAnim.js +1 -1
- package/lib/KeyframeAnimation.js +1 -1
- package/lib/Stacker.js +1 -1
- package/lib/TransformAnim.js +1 -1
- package/lib/cardGetter.js +1 -1
- package/lib/designer.js +25 -6
- package/lib/elementMapper.js +94 -77
- package/lib/linkGetter.js +1 -1
- package/lib/scrollvideo.js +1 -1
- package/package.json +1 -1
package/lib/TransformAnim.js
CHANGED
package/lib/cardGetter.js
CHANGED
package/lib/designer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* nodality v1.0.0-beta.
|
|
2
|
+
* nodality v1.0.0-beta.99
|
|
3
3
|
* (c) 2025 Filip Vabrousek
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -401,8 +401,27 @@ new Text("row.").set({
|
|
|
401
401
|
this.elHTML = [];
|
|
402
402
|
|
|
403
403
|
let customOptions = this.options;
|
|
404
|
-
|
|
405
|
-
|
|
404
|
+
console.log("COO");
|
|
405
|
+
console.log(customOptions);
|
|
406
|
+
|
|
407
|
+
customOptions.forEach(item => {
|
|
408
|
+
console.log("mid")
|
|
409
|
+
console.log(item);
|
|
410
|
+
console.log("checking:", item.direction);
|
|
411
|
+
if (item.direction === "radial" ) {
|
|
412
|
+
// alert("//")
|
|
413
|
+
item.gradient = "radial-gradient(orange, green)";
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
//console.log(updated);
|
|
420
|
+
|
|
421
|
+
//customOptions = updated;
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
406
425
|
for (var i = 0; i < arr.length; i++) {
|
|
407
426
|
let el = arr[i];
|
|
408
427
|
let ela = null;
|
|
@@ -424,7 +443,7 @@ new Text("row.").set({
|
|
|
424
443
|
name: "gradient",
|
|
425
444
|
// gradient: "linear-gradient(#3498db,#1abc9c)"
|
|
426
445
|
gradient: "linear-gradient(orange, green)",
|
|
427
|
-
|
|
446
|
+
// direction: "radial"
|
|
428
447
|
},
|
|
429
448
|
|
|
430
449
|
},
|
|
@@ -569,8 +588,8 @@ new Text("row.").set({
|
|
|
569
588
|
|
|
570
589
|
if (gradient != null) {
|
|
571
590
|
as.op.gradient = gradient;
|
|
572
|
-
|
|
573
|
-
|
|
591
|
+
// alert("PPP")
|
|
592
|
+
// as.op.dir = "radial";
|
|
574
593
|
}
|
|
575
594
|
|
|
576
595
|
customOptions[index] = as;
|
package/lib/elementMapper.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* nodality v1.0.0-beta.
|
|
2
|
+
* nodality v1.0.0-beta.99
|
|
3
3
|
* (c) 2025 Filip Vabrousek
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1012,82 +1012,91 @@ new Wrapper().set({
|
|
|
1012
1012
|
font: "Arial",
|
|
1013
1013
|
pad: [{a:20}],
|
|
1014
1014
|
bold: true,
|
|
1015
|
-
|
|
1015
|
+
tags: {open: "sidebar:open", close: "sidebar:closed"},
|
|
1016
|
+
align: "left", // 21:04:58
|
|
1017
|
+
hover: {
|
|
1018
|
+
color: "wheat",
|
|
1019
|
+
animation: 0.3
|
|
1020
|
+
}
|
|
1016
1021
|
}));
|
|
1017
1022
|
|
|
1018
1023
|
|
|
1019
1024
|
const dropdown = new Dropdown().set({
|
|
1020
1025
|
behaviour: "mouseover",
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1026
|
+
pad: [{ "a": 40 }],
|
|
1027
|
+
//socenter: true,
|
|
1028
|
+
padding: "10px",
|
|
1029
|
+
border: "1px solid black",
|
|
1030
|
+
animation: { // also works without animation block
|
|
1031
|
+
range: ["0px", "1900px"],
|
|
1032
|
+
op: {
|
|
1033
|
+
name: "animation",
|
|
1034
|
+
color: "green", // 102410 19/11/24 staggered
|
|
1035
|
+
width: "1px",
|
|
1036
|
+
keyframesOpen: [ // staggered effect
|
|
1037
|
+
{ transform: `translate(100%, ${1 * 10}%)`, opacity: 0 },
|
|
1038
|
+
{ transform: `translate(0%)`, opacity: 1 }
|
|
1039
|
+
],
|
|
1040
|
+
keyframesClose: [ // put where approprriate
|
|
1041
|
+
{ transform: 'translate(0%)', opacity: 1 },
|
|
1042
|
+
{ transform: `translate(100%, ${1 * 10}%)`, opacity: 0 }
|
|
1043
|
+
],
|
|
1044
|
+
openOptions: {
|
|
1045
|
+
duration: 300,
|
|
1046
|
+
fill: 'forwards',
|
|
1047
|
+
delay: 1000 // 1000
|
|
1048
|
+
},
|
|
1049
|
+
closeOptions: {
|
|
1050
|
+
duration: 1, // 1 should be acceptable here when I close
|
|
1051
|
+
fill: 'forwards',
|
|
1052
|
+
delay: 1000 // 1000 why does 3000 work during open but not during close??
|
|
1053
|
+
},
|
|
1054
|
+
},
|
|
1048
1055
|
},
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1056
|
+
}).add([
|
|
1057
|
+
new Text("First")
|
|
1058
|
+
.set({
|
|
1059
|
+
cursor: "hand",
|
|
1060
|
+
icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/60/60995.png" },
|
|
1061
|
+
fluidc: "S6",
|
|
1062
|
+
pad: [{ l: 10, r: 10 }],
|
|
1063
|
+
font: "Arial",
|
|
1064
|
+
align: "center",
|
|
1065
|
+
weight: "bold",
|
|
1066
|
+
|
|
1067
|
+
})
|
|
1068
|
+
|
|
1069
|
+
,
|
|
1070
|
+
new Wrapper()
|
|
1071
|
+
.set({
|
|
1072
|
+
centerColumn: true,
|
|
1073
|
+
radius: "0.7rem", background: "#1abc9c",
|
|
1074
|
+
makeResponsiveBehaviour: "undefined",
|
|
1075
|
+
})
|
|
1076
|
+
.add([
|
|
1077
|
+
|
|
1078
|
+
new Link()
|
|
1079
|
+
.set({
|
|
1080
|
+
pad: [{ a: 10 }],
|
|
1081
|
+
font: "Arial",
|
|
1082
|
+
hover: { color: "wheat", animation: 0.3 },
|
|
1083
|
+
bold: true,
|
|
1084
|
+
link: "https://www.apple.com",
|
|
1085
|
+
text: "Second",
|
|
1086
|
+
icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/32/32339.png" },
|
|
1087
|
+
})
|
|
1088
|
+
,
|
|
1089
|
+
new Link()
|
|
1090
|
+
.set({
|
|
1091
|
+
pad: [{ a: 10 }],
|
|
1092
|
+
font: "Arial",
|
|
1093
|
+
hover: { color: "wheat", animation: 0.3 },
|
|
1094
|
+
bold: true,
|
|
1095
|
+
link: "https://www.apple.com",
|
|
1096
|
+
text: "Third",
|
|
1097
|
+
icon: { padding: 30, url: "https://cdn-icons-png.flaticon.com/512/32/32339.png" },
|
|
1098
|
+
})
|
|
1099
|
+
])]);
|
|
1091
1100
|
|
|
1092
1101
|
|
|
1093
1102
|
|
|
@@ -1099,12 +1108,17 @@ new Wrapper().set({
|
|
|
1099
1108
|
text: i.title,
|
|
1100
1109
|
link: i.link,
|
|
1101
1110
|
isNavA: true,
|
|
1102
|
-
url: "#
|
|
1111
|
+
url: "#myURL",
|
|
1103
1112
|
id: "#" + i.title.toLowerCase(),
|
|
1104
1113
|
font: "Arial",
|
|
1105
1114
|
pad: [{a:20}],
|
|
1106
1115
|
bold: true,
|
|
1116
|
+
tags: {open: "sidebar:open", close: "sidebar:closed"},
|
|
1107
1117
|
align: "left", // 21:04:58
|
|
1118
|
+
hover: {
|
|
1119
|
+
color: "wheat",
|
|
1120
|
+
animation: 0.3
|
|
1121
|
+
},
|
|
1108
1122
|
animation: { // also works without animation block
|
|
1109
1123
|
range: ["0px", "1900px"],
|
|
1110
1124
|
op: {
|
|
@@ -1143,14 +1157,14 @@ if (obj.el.dropdown){
|
|
|
1143
1157
|
|
|
1144
1158
|
// Always require link wrapper
|
|
1145
1159
|
const linkWrapper = new Wrapper().set({column: true}).add([
|
|
1146
|
-
new Text("
|
|
1160
|
+
new Text("Sidebar")
|
|
1147
1161
|
.set({
|
|
1148
|
-
|
|
1162
|
+
size: "S6",
|
|
1149
1163
|
font: "Arial",
|
|
1150
1164
|
id: "#olod",
|
|
1151
1165
|
italic: true,
|
|
1152
1166
|
animation: {range:["0px","1900px"],op:{name:"animation",color:"green",width:"1px"}},
|
|
1153
|
-
pad: [{l:
|
|
1167
|
+
pad: [{l:20}, {t:20}], // Insert in the right plce
|
|
1154
1168
|
// pad: {sides: ["all"], value: "1rem"}
|
|
1155
1169
|
}),
|
|
1156
1170
|
|
|
@@ -1159,7 +1173,7 @@ if (obj.el.dropdown){
|
|
|
1159
1173
|
obj.el.animation ? animatedLinks[2] : links[2],
|
|
1160
1174
|
(obj.el.animation && obj.el.dropdown) ? animatedLinks[3] : new Text("").set({}).excludeFromCode(),
|
|
1161
1175
|
|
|
1162
|
-
new Text("
|
|
1176
|
+
new Text("Company, 2025")
|
|
1163
1177
|
.set({ // no ID, no animation
|
|
1164
1178
|
pad: [{a: 20}],
|
|
1165
1179
|
animation: {range:["0px","1900px"],op:{name:"animation",color:"green",width:"1px"}},
|
|
@@ -1196,6 +1210,8 @@ if (obj.el.dropdown){
|
|
|
1196
1210
|
background: "#ecf0f1",
|
|
1197
1211
|
hamColour: {opened: "#1abc9c", closed: "#e67e22"},
|
|
1198
1212
|
mobileSize: "1.2em",
|
|
1213
|
+
fixed: true,
|
|
1214
|
+
tags: {open: "sidebar:open", close: "sidebar:closed"}
|
|
1199
1215
|
}).items(obj.el.offcanvas ? offCanvas : linkWrapper );
|
|
1200
1216
|
|
|
1201
1217
|
|
|
@@ -1500,7 +1516,8 @@ const blast = this.filtero("blast", el.id, obj.customOptions);
|
|
|
1500
1516
|
background: "#3498db",
|
|
1501
1517
|
pad: [{ lr: "0.5rem", tb: "1rem" }],
|
|
1502
1518
|
radius: "0.4rem",
|
|
1503
|
-
color: "white"
|
|
1519
|
+
color: "white",
|
|
1520
|
+
mar: [{"a": 21}]
|
|
1504
1521
|
})
|
|
1505
1522
|
])`;
|
|
1506
1523
|
|
package/lib/linkGetter.js
CHANGED
package/lib/scrollvideo.js
CHANGED