@asante-org/atlascopco-vt-litesitegenerator 3.6.21 → 3.7.0
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/index.esm.js +47 -58
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.scss +150 -26
- package/dist/index.js +47 -58
- package/dist/index.js.map +1 -1
- package/dist/index.scss +150 -26
- package/dist/themes/theme-1.css +77 -13
- package/dist/themes/theme-1.css.map +1 -1
- package/dist/themes/theme-2.css +78 -13
- package/dist/themes/theme-2.css.map +1 -1
- package/dist/themes/theme-3.css +77 -13
- package/dist/themes/theme-3.css.map +1 -1
- package/dist/tsconfig.sb.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/lsg-clientlib.css +0 -2106
- package/dist/lsg-clientlib.css.map +0 -1
- package/dist/lsg-clientlib.js +0 -524
- package/dist/lsg-clientlib.js.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -3381,12 +3381,12 @@ var PhoneIcon = function () {
|
|
|
3381
3381
|
return /*#__PURE__*/React.createElement("svg", {
|
|
3382
3382
|
width: "20",
|
|
3383
3383
|
height: "20",
|
|
3384
|
-
viewBox: "0 0
|
|
3384
|
+
viewBox: "0 0 640 640",
|
|
3385
3385
|
fill: "none",
|
|
3386
3386
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3387
3387
|
"aria-hidden": "true"
|
|
3388
3388
|
}, /*#__PURE__*/React.createElement("path", {
|
|
3389
|
-
d: "
|
|
3389
|
+
d: "M252.6 259L304.4 208L208.4 48L64.4 128L64.4 144C64.4 382.6 257.8 576 496.4 576L512.4 576L592.4 432L432.4 336L381.4 387.8C322.2 365 275.4 318.2 252.6 259zM440.1 396.6L527.9 449.3L484.3 527.8C281.9 521.5 118.9 358.6 112.6 156.1L191.1 112.5L243.8 200.3C226.8 217.1 211 232.6 196.5 246.9L207.8 276.3C235.5 348.2 292.3 404.9 364.1 432.6L393.5 443.9C407.8 429.4 423.3 413.6 440.1 396.6z",
|
|
3390
3390
|
fill: "currentColor"
|
|
3391
3391
|
}));
|
|
3392
3392
|
};
|
|
@@ -3407,12 +3407,12 @@ var MailIcon = function () {
|
|
|
3407
3407
|
return /*#__PURE__*/React.createElement("svg", {
|
|
3408
3408
|
width: "24",
|
|
3409
3409
|
height: "20",
|
|
3410
|
-
viewBox: "0 0
|
|
3410
|
+
viewBox: "0 0 640 640",
|
|
3411
3411
|
fill: "none",
|
|
3412
3412
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3413
3413
|
"aria-hidden": "true"
|
|
3414
3414
|
}, /*#__PURE__*/React.createElement("path", {
|
|
3415
|
-
d: "
|
|
3415
|
+
d: "M88 128L64 128L64 512L576 512L576 128L88 128zM528 192L528 196.1L320 353.9L112 196.1L112 176L528 176L528 192zM528 256.3L528 464L112 464L112 256.3L305.5 403.1L320 414.1L334.5 403.1L528 256.3z",
|
|
3416
3416
|
fill: "currentColor"
|
|
3417
3417
|
}));
|
|
3418
3418
|
};
|
|
@@ -3458,12 +3458,12 @@ var SocialIcon = function (_a) {
|
|
|
3458
3458
|
facebook: /*#__PURE__*/React.createElement("svg", {
|
|
3459
3459
|
width: "20",
|
|
3460
3460
|
height: "20",
|
|
3461
|
-
viewBox: "0 0
|
|
3461
|
+
viewBox: "0 0 640 640",
|
|
3462
3462
|
fill: "currentColor",
|
|
3463
3463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3464
3464
|
"aria-hidden": "true"
|
|
3465
3465
|
}, /*#__PURE__*/React.createElement("path", {
|
|
3466
|
-
d: "
|
|
3466
|
+
d: "M240 363.3L240 576L356 576L356 363.3L442.5 363.3L460.5 265.5L356 265.5L356 230.9C356 179.2 376.3 159.4 428.7 159.4C445 159.4 458.1 159.8 465.7 160.6L465.7 71.9C451.4 68 416.4 64 396.2 64C289.3 64 240 114.5 240 223.4L240 265.5L174 265.5L174 363.3L240 363.3z"
|
|
3467
3467
|
})),
|
|
3468
3468
|
twitter: /*#__PURE__*/React.createElement("svg", {
|
|
3469
3469
|
width: "20",
|
|
@@ -3478,52 +3478,32 @@ var SocialIcon = function (_a) {
|
|
|
3478
3478
|
linkedin: /*#__PURE__*/React.createElement("svg", {
|
|
3479
3479
|
width: "20",
|
|
3480
3480
|
height: "20",
|
|
3481
|
-
viewBox: "0 0
|
|
3481
|
+
viewBox: "0 0 640 640",
|
|
3482
3482
|
fill: "currentColor",
|
|
3483
3483
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3484
3484
|
"aria-hidden": "true"
|
|
3485
3485
|
}, /*#__PURE__*/React.createElement("path", {
|
|
3486
|
-
d: "
|
|
3487
|
-
}), /*#__PURE__*/React.createElement("circle", {
|
|
3488
|
-
cx: "4",
|
|
3489
|
-
cy: "4",
|
|
3490
|
-
r: "2"
|
|
3486
|
+
d: "M196.3 512L103.4 512L103.4 212.9L196.3 212.9L196.3 512zM149.8 172.1C120.1 172.1 96 147.5 96 117.8C96 103.5 101.7 89.9 111.8 79.8C121.9 69.7 135.6 64 149.8 64C164 64 177.7 69.7 187.8 79.8C197.9 89.9 203.6 103.6 203.6 117.8C203.6 147.5 179.5 172.1 149.8 172.1zM543.9 512L451.2 512L451.2 366.4C451.2 331.7 450.5 287.2 402.9 287.2C354.6 287.2 347.2 324.9 347.2 363.9L347.2 512L254.4 512L254.4 212.9L343.5 212.9L343.5 253.7L344.8 253.7C357.2 230.2 387.5 205.4 432.7 205.4C526.7 205.4 544 267.3 544 347.7L544 512L543.9 512z"
|
|
3491
3487
|
})),
|
|
3492
3488
|
youtube: /*#__PURE__*/React.createElement("svg", {
|
|
3493
3489
|
width: "20",
|
|
3494
3490
|
height: "20",
|
|
3495
|
-
viewBox: "0 0
|
|
3491
|
+
viewBox: "0 0 640 640",
|
|
3496
3492
|
fill: "currentColor",
|
|
3497
3493
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3498
3494
|
"aria-hidden": "true"
|
|
3499
3495
|
}, /*#__PURE__*/React.createElement("path", {
|
|
3500
|
-
d: "
|
|
3496
|
+
d: "M581.7 188.1C575.5 164.4 556.9 145.8 533.4 139.5C490.9 128 320.1 128 320.1 128C320.1 128 149.3 128 106.7 139.5C83.2 145.8 64.7 164.4 58.4 188.1C47 231 47 320.4 47 320.4C47 320.4 47 409.8 58.4 452.7C64.7 476.3 83.2 494.2 106.7 500.5C149.3 512 320.1 512 320.1 512C320.1 512 490.9 512 533.5 500.5C557 494.2 575.5 476.3 581.8 452.7C593.2 409.8 593.2 320.4 593.2 320.4C593.2 320.4 593.2 231 581.8 188.1zM264.2 401.6L264.2 239.2L406.9 320.4L264.2 401.6z"
|
|
3501
3497
|
})),
|
|
3502
3498
|
instagram: /*#__PURE__*/React.createElement("svg", {
|
|
3503
3499
|
width: "20",
|
|
3504
3500
|
height: "20",
|
|
3505
|
-
viewBox: "0 0
|
|
3506
|
-
fill: "
|
|
3507
|
-
stroke: "currentColor",
|
|
3508
|
-
strokeWidth: "2",
|
|
3501
|
+
viewBox: "0 0 640 640",
|
|
3502
|
+
fill: "currentColor",
|
|
3509
3503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3510
3504
|
"aria-hidden": "true"
|
|
3511
|
-
}, /*#__PURE__*/React.createElement("
|
|
3512
|
-
|
|
3513
|
-
y: "2",
|
|
3514
|
-
width: "20",
|
|
3515
|
-
height: "20",
|
|
3516
|
-
rx: "5",
|
|
3517
|
-
ry: "5"
|
|
3518
|
-
}), /*#__PURE__*/React.createElement("circle", {
|
|
3519
|
-
cx: "12",
|
|
3520
|
-
cy: "12",
|
|
3521
|
-
r: "4"
|
|
3522
|
-
}), /*#__PURE__*/React.createElement("circle", {
|
|
3523
|
-
cx: "17.5",
|
|
3524
|
-
cy: "6.5",
|
|
3525
|
-
r: "0.5",
|
|
3526
|
-
fill: "currentColor"
|
|
3505
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
3506
|
+
d: "M320.3 205C256.8 204.8 205.2 256.2 205 319.7C204.8 383.2 256.2 434.8 319.7 435C383.2 435.2 434.8 383.8 435 320.3C435.2 256.8 383.8 205.2 320.3 205zM319.7 245.4C360.9 245.2 394.4 278.5 394.6 319.7C394.8 360.9 361.5 394.4 320.3 394.6C279.1 394.8 245.6 361.5 245.4 320.3C245.2 279.1 278.5 245.6 319.7 245.4zM413.1 200.3C413.1 185.5 425.1 173.5 439.9 173.5C454.7 173.5 466.7 185.5 466.7 200.3C466.7 215.1 454.7 227.1 439.9 227.1C425.1 227.1 413.1 215.1 413.1 200.3zM542.8 227.5C541.1 191.6 532.9 159.8 506.6 133.6C480.4 107.4 448.6 99.2 412.7 97.4C375.7 95.3 264.8 95.3 227.8 97.4C192 99.1 160.2 107.3 133.9 133.5C107.6 159.7 99.5 191.5 97.7 227.4C95.6 264.4 95.6 375.3 97.7 412.3C99.4 448.2 107.6 480 133.9 506.2C160.2 532.4 191.9 540.6 227.8 542.4C264.8 544.5 375.7 544.5 412.7 542.4C448.6 540.7 480.4 532.5 506.6 506.2C532.8 480 541 448.2 542.8 412.3C544.9 375.3 544.9 264.5 542.8 227.5zM495 452C487.2 471.6 472.1 486.7 452.4 494.6C422.9 506.3 352.9 503.6 320.3 503.6C287.7 503.6 217.6 506.2 188.2 494.6C168.6 486.8 153.5 471.7 145.6 452C133.9 422.5 136.6 352.5 136.6 319.9C136.6 287.3 134 217.2 145.6 187.8C153.4 168.2 168.5 153.1 188.2 145.2C217.7 133.5 287.7 136.2 320.3 136.2C352.9 136.2 423 133.6 452.4 145.2C472 153 487.1 168.1 495 187.8C506.7 217.3 504 287.3 504 319.9C504 352.5 506.7 422.6 495 452z"
|
|
3527
3507
|
}))
|
|
3528
3508
|
};
|
|
3529
3509
|
return /*#__PURE__*/React.createElement(React.Fragment, null, (_b = icons[platform]) !== null && _b !== void 0 ? _b : null);
|
|
@@ -3583,9 +3563,9 @@ var LsgFooter = function (_a) {
|
|
|
3583
3563
|
className: "lsg-footer lsg-footer--simple lsg-footer--simple-tworow".concat(className ? " ".concat(className) : "")
|
|
3584
3564
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3585
3565
|
className: "lsg-footer__simple-top"
|
|
3586
|
-
}, /*#__PURE__*/React.createElement("
|
|
3566
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3587
3567
|
className: "lsg-footer__brand-line"
|
|
3588
|
-
}, brandLine), navItems.length > 0 && /*#__PURE__*/React.createElement("nav", {
|
|
3568
|
+
}, /*#__PURE__*/React.createElement("span", null, brandLine)), navItems.length > 0 && /*#__PURE__*/React.createElement("nav", {
|
|
3589
3569
|
className: "lsg-footer__simple-nav",
|
|
3590
3570
|
"aria-label": "Footer navigation"
|
|
3591
3571
|
}, navItems.map(function (item, i) {
|
|
@@ -3602,12 +3582,13 @@ var LsgFooter = function (_a) {
|
|
|
3602
3582
|
className: "lsg-footer__simple-bottom"
|
|
3603
3583
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3604
3584
|
className: "lsg-footer__simple-bottom-left"
|
|
3605
|
-
},
|
|
3606
|
-
href: "#",
|
|
3607
|
-
className: "lsg-footer__cookie-link"
|
|
3608
|
-
}, cookieSetting), /*#__PURE__*/React.createElement("p", {
|
|
3585
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3609
3586
|
className: "lsg-footer__copyright"
|
|
3610
|
-
}, copyrightText)
|
|
3587
|
+
}, copyrightText),
|
|
3588
|
+
// This renders a One Trust cookie settings button in AEM. The class "lsg-footer__cookie-button" is used for styling and is unrelated to the functionality of the button itself.
|
|
3589
|
+
cookieSetting && /*#__PURE__*/React.createElement("button", {
|
|
3590
|
+
className: "lsg-footer__cookie-button"
|
|
3591
|
+
}, cookieSetting)), showAiBadge && /*#__PURE__*/React.createElement(AiBadge, null)));
|
|
3611
3592
|
}
|
|
3612
3593
|
return /*#__PURE__*/React.createElement("footer", {
|
|
3613
3594
|
className: "lsg-footer lsg-footer--simple".concat(className ? " ".concat(className) : "")
|
|
@@ -3615,7 +3596,9 @@ var LsgFooter = function (_a) {
|
|
|
3615
3596
|
className: "lsg-footer__simple-inner"
|
|
3616
3597
|
}, /*#__PURE__*/React.createElement("p", {
|
|
3617
3598
|
className: "lsg-footer__copyright"
|
|
3618
|
-
}, copyrightText),
|
|
3599
|
+
}, copyrightText), /*#__PURE__*/React.createElement("div", {
|
|
3600
|
+
className: "lsg-footer__brand-line"
|
|
3601
|
+
}, /*#__PURE__*/React.createElement("span", null, brandLine)), navItems.length > 0 && /*#__PURE__*/React.createElement("nav", {
|
|
3619
3602
|
className: "lsg-footer__simple-nav",
|
|
3620
3603
|
"aria-label": "Footer navigation"
|
|
3621
3604
|
}, navItems.map(function (item, i) {
|
|
@@ -3631,7 +3614,11 @@ var LsgFooter = function (_a) {
|
|
|
3631
3614
|
href: item.href,
|
|
3632
3615
|
className: "lsg-footer__simple-nav-item"
|
|
3633
3616
|
}, item.label));
|
|
3634
|
-
}))
|
|
3617
|
+
})),
|
|
3618
|
+
// This renders a One Trust cookie settings button in AEM. The class "lsg-footer__cookie-button" is used for styling and is unrelated to the functionality of the button itself.
|
|
3619
|
+
cookieSetting && /*#__PURE__*/React.createElement("button", {
|
|
3620
|
+
className: "lsg-footer__cookie-button"
|
|
3621
|
+
}, cookieSetting)));
|
|
3635
3622
|
}
|
|
3636
3623
|
// ── Complex footer ─────────────────────────────────────────────────────────
|
|
3637
3624
|
var is3col = complexColumns === "3col";
|
|
@@ -3641,18 +3628,28 @@ var LsgFooter = function (_a) {
|
|
|
3641
3628
|
about: (_d = colHeadings === null || colHeadings === void 0 ? void 0 : colHeadings.about) !== null && _d !== void 0 ? _d : "About brand",
|
|
3642
3629
|
contactAlt: (_e = colHeadings === null || colHeadings === void 0 ? void 0 : colHeadings.contactAlt) !== null && _e !== void 0 ? _e : "Contact"
|
|
3643
3630
|
};
|
|
3631
|
+
var bottomTopBar = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
3632
|
+
className: "lsg-footer__bottom-top"
|
|
3633
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3634
|
+
className: "lsg-footer__brand-line"
|
|
3635
|
+
}, /*#__PURE__*/React.createElement("span", null, "Discover how the Atlas Copco Group enables technology that transforms the future.")), /*#__PURE__*/React.createElement("div", {
|
|
3636
|
+
className: "lsg-footer__body-social"
|
|
3637
|
+
}, socialPosition === "body" && socialLinks && socialLinks.length > 0 && /*#__PURE__*/React.createElement(SocialIconsRow, {
|
|
3638
|
+
links: socialLinks
|
|
3639
|
+
}))));
|
|
3644
3640
|
var bottomBar = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("hr", {
|
|
3645
3641
|
className: "lsg-footer__bottom-divider"
|
|
3646
3642
|
}), /*#__PURE__*/React.createElement("div", {
|
|
3647
3643
|
className: "lsg-footer__bottom"
|
|
3648
3644
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3649
3645
|
className: "lsg-footer__bottom-left"
|
|
3650
|
-
},
|
|
3651
|
-
href: "#",
|
|
3652
|
-
className: "lsg-footer__cookie-link"
|
|
3653
|
-
}, cookieSetting), /*#__PURE__*/React.createElement("p", {
|
|
3646
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3654
3647
|
className: "lsg-footer__copyright"
|
|
3655
|
-
}, copyrightText),
|
|
3648
|
+
}, copyrightText),
|
|
3649
|
+
// This renders a One Trust cookie settings button in AEM. The class "lsg-footer__cookie-button" is used for styling and is unrelated to the functionality of the button itself.
|
|
3650
|
+
cookieSetting && /*#__PURE__*/React.createElement("button", {
|
|
3651
|
+
className: "lsg-footer__cookie-button"
|
|
3652
|
+
}, cookieSetting), is3col && showAiBadge && /*#__PURE__*/React.createElement(AiBadge, null)), !is3col && showAiBadge && /*#__PURE__*/React.createElement(AiBadge, null), socialPosition === "bottom-bar" && socialLinks && socialLinks.length > 0 && /*#__PURE__*/React.createElement(SocialIconsRow, {
|
|
3656
3653
|
links: socialLinks
|
|
3657
3654
|
})));
|
|
3658
3655
|
if (is3col) {
|
|
@@ -3703,11 +3700,7 @@ var LsgFooter = function (_a) {
|
|
|
3703
3700
|
}, link.label), /*#__PURE__*/React.createElement("hr", {
|
|
3704
3701
|
className: "lsg-footer__divider"
|
|
3705
3702
|
}));
|
|
3706
|
-
})),
|
|
3707
|
-
className: "lsg-footer__body-social"
|
|
3708
|
-
}, /*#__PURE__*/React.createElement(SocialIconsRow, {
|
|
3709
|
-
links: socialLinks
|
|
3710
|
-
}))))), bottomBar);
|
|
3703
|
+
}))))), bottomTopBar, bottomBar);
|
|
3711
3704
|
}
|
|
3712
3705
|
return /*#__PURE__*/React.createElement("footer", {
|
|
3713
3706
|
className: "lsg-footer lsg-footer--complex".concat(className ? " ".concat(className) : "")
|
|
@@ -3754,11 +3747,7 @@ var LsgFooter = function (_a) {
|
|
|
3754
3747
|
}, link.label), /*#__PURE__*/React.createElement("hr", {
|
|
3755
3748
|
className: "lsg-footer__divider"
|
|
3756
3749
|
}));
|
|
3757
|
-
})),
|
|
3758
|
-
className: "lsg-footer__body-social"
|
|
3759
|
-
}, /*#__PURE__*/React.createElement(SocialIconsRow, {
|
|
3760
|
-
links: socialLinks
|
|
3761
|
-
}))))), bottomBar);
|
|
3750
|
+
}))))), bottomTopBar, bottomBar);
|
|
3762
3751
|
};
|
|
3763
3752
|
|
|
3764
3753
|
function clampNumber(number, min, max) {
|