@asante-org/atlascopco-vt-litesitegenerator 1.6.1 → 1.6.4
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 +130 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.scss +410 -66
- package/dist/index.js +130 -22
- package/dist/index.js.map +1 -1
- package/dist/index.scss +410 -66
- package/dist/src/components/lsg/LsgFooter/LsgFooter.d.ts +14 -6
- package/dist/src/components/lsg/LsgFooter/LsgFooter.stories.d.ts +4 -1
- package/dist/themes/theme-1.css +205 -33
- package/dist/themes/theme-1.css.map +1 -1
- package/dist/themes/theme-1.js +158 -1
- package/dist/themes/theme-1.js.map +1 -1
- package/dist/themes/theme-2.css +205 -33
- package/dist/themes/theme-2.css.map +1 -1
- package/dist/themes/theme-2.js +158 -1
- package/dist/themes/theme-2.js.map +1 -1
- package/dist/themes/theme-3.css +205 -33
- package/dist/themes/theme-3.css.map +1 -1
- package/dist/themes/theme-3.js +158 -1
- package/dist/themes/theme-3.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -958,37 +958,145 @@ var LsgSocialMediaIcons = function (_a) {
|
|
|
958
958
|
}));
|
|
959
959
|
};
|
|
960
960
|
|
|
961
|
+
var PhoneIcon = function () {
|
|
962
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
963
|
+
width: "20",
|
|
964
|
+
height: "20",
|
|
965
|
+
viewBox: "0 0 20 20",
|
|
966
|
+
fill: "none",
|
|
967
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
968
|
+
"aria-hidden": "true"
|
|
969
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
970
|
+
d: "M15.833 13.483c-.417-.416-1.25-.833-1.875-1.083-.625-.25-1.042-.167-1.458.208l-.834.833c-.208.209-.5.209-.708.042-.625-.5-1.833-1.583-2.583-2.333-.75-.75-1.75-1.875-2.25-2.583-.167-.208-.125-.5.083-.709l.834-.833c.416-.417.5-.833.25-1.458-.25-.625-.667-1.458-1.084-1.875C8.791 3.25 8.208 3 7.583 3c-.416 0-.833.167-1.125.458L5.625 4.292C4.5 5.417 4.708 7.125 5.333 8.833c.625 1.708 2 3.833 3.625 5.458 1.625 1.625 3.75 3 5.458 3.625 1.709.625 3.417.833 4.542-.292l.833-.833c.292-.292.458-.708.458-1.125 0-.625-.25-1.208-.416-1.583z",
|
|
971
|
+
fill: "currentColor"
|
|
972
|
+
}));
|
|
973
|
+
};
|
|
974
|
+
var FaxIcon = function () {
|
|
975
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
976
|
+
width: "20",
|
|
977
|
+
height: "20",
|
|
978
|
+
viewBox: "0 0 20 20",
|
|
979
|
+
fill: "none",
|
|
980
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
981
|
+
"aria-hidden": "true"
|
|
982
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
983
|
+
d: "M16 6h-1V2H5v4H4c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h1v2h10v-2h1c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM7 4h6v2H7V4zm6 12H7v-4h6v4zm3-5H4V8h12v3z",
|
|
984
|
+
fill: "currentColor"
|
|
985
|
+
}));
|
|
986
|
+
};
|
|
987
|
+
var MailIcon = function () {
|
|
988
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
989
|
+
width: "24",
|
|
990
|
+
height: "20",
|
|
991
|
+
viewBox: "0 0 24 20",
|
|
992
|
+
fill: "none",
|
|
993
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
994
|
+
"aria-hidden": "true"
|
|
995
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
996
|
+
d: "M20 0H4C2.9 0 2 .9 2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V2l8 5 8-5v2z",
|
|
997
|
+
fill: "currentColor"
|
|
998
|
+
}));
|
|
999
|
+
};
|
|
1000
|
+
var LocationIcon = function () {
|
|
1001
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
1002
|
+
width: "18",
|
|
1003
|
+
height: "21",
|
|
1004
|
+
viewBox: "0 0 18 24",
|
|
1005
|
+
fill: "none",
|
|
1006
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1007
|
+
"aria-hidden": "true"
|
|
1008
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
1009
|
+
d: "M9 0C5.13 0 2 3.13 2 7c0 5.25 7 13 7 13s7-7.75 7-13C16 3.13 12.87 0 9 0zm0 9.5C7.62 9.5 6.5 8.38 6.5 7S7.62 4.5 9 4.5 11.5 5.62 11.5 7 10.38 9.5 9 9.5z",
|
|
1010
|
+
fill: "currentColor"
|
|
1011
|
+
}));
|
|
1012
|
+
};
|
|
961
1013
|
var LsgFooter = function (_a) {
|
|
962
|
-
var
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1014
|
+
var _b = _a.variant,
|
|
1015
|
+
variant = _b === void 0 ? "simple" : _b,
|
|
1016
|
+
logo = _a.logo,
|
|
1017
|
+
_c = _a.navItems,
|
|
1018
|
+
navItems = _c === void 0 ? [] : _c,
|
|
1019
|
+
contact = _a.contact,
|
|
1020
|
+
_d = _a.quickLinks,
|
|
1021
|
+
quickLinks = _d === void 0 ? [] : _d,
|
|
968
1022
|
copyright = _a.copyright;
|
|
969
1023
|
var year = new Date().getFullYear();
|
|
1024
|
+
var copyrightText = copyright !== null && copyright !== void 0 ? copyright : "\u00A9 ".concat(year, " Brand - Part of Atlas Copco Group");
|
|
1025
|
+
if (variant === "simple") {
|
|
1026
|
+
return /*#__PURE__*/React.createElement("footer", {
|
|
1027
|
+
className: "lsg-footer lsg-footer--simple"
|
|
1028
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1029
|
+
className: "lsg-footer__simple-inner"
|
|
1030
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1031
|
+
className: "lsg-footer__copyright"
|
|
1032
|
+
}, copyrightText), navItems.length > 0 && /*#__PURE__*/React.createElement("nav", {
|
|
1033
|
+
className: "lsg-footer__simple-nav",
|
|
1034
|
+
"aria-label": "Footer navigation"
|
|
1035
|
+
}, navItems.map(function (item, i) {
|
|
1036
|
+
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
1037
|
+
key: item.href
|
|
1038
|
+
}, i > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
1039
|
+
className: "lsg-footer__pipe",
|
|
1040
|
+
"aria-hidden": "true"
|
|
1041
|
+
}, "|"), /*#__PURE__*/React.createElement("hr", {
|
|
1042
|
+
className: "lsg-footer__mobile-divider",
|
|
1043
|
+
"aria-hidden": "true"
|
|
1044
|
+
})), /*#__PURE__*/React.createElement("a", {
|
|
1045
|
+
href: item.href,
|
|
1046
|
+
className: "lsg-footer__simple-nav-item"
|
|
1047
|
+
}, item.label));
|
|
1048
|
+
}))));
|
|
1049
|
+
}
|
|
970
1050
|
return /*#__PURE__*/React.createElement("footer", {
|
|
971
|
-
className: "lsg-footer"
|
|
972
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
973
|
-
className: "lsg-footer__inner"
|
|
1051
|
+
className: "lsg-footer lsg-footer--complex"
|
|
974
1052
|
}, /*#__PURE__*/React.createElement("div", {
|
|
975
|
-
className: "lsg-
|
|
976
|
-
},
|
|
977
|
-
className: "lsg-
|
|
978
|
-
},
|
|
979
|
-
|
|
980
|
-
}
|
|
981
|
-
className: "lsg-
|
|
982
|
-
},
|
|
1053
|
+
className: "lsg-footer__complex-inner"
|
|
1054
|
+
}, logo && /*#__PURE__*/React.createElement("div", {
|
|
1055
|
+
className: "lsg-footer__logo-col"
|
|
1056
|
+
}, /*#__PURE__*/React.createElement(LsgLogo, logo)), /*#__PURE__*/React.createElement("div", {
|
|
1057
|
+
className: "lsg-footer__content-cols"
|
|
1058
|
+
}, contact && /*#__PURE__*/React.createElement("div", {
|
|
1059
|
+
className: "lsg-footer__contact-col"
|
|
1060
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
1061
|
+
className: "lsg-footer__col-heading"
|
|
1062
|
+
}, "CONTACT"), contact.address && /*#__PURE__*/React.createElement("div", {
|
|
1063
|
+
className: "lsg-footer__address"
|
|
1064
|
+
}, /*#__PURE__*/React.createElement(LocationIcon, null), /*#__PURE__*/React.createElement("p", null, contact.address)), /*#__PURE__*/React.createElement("hr", {
|
|
1065
|
+
className: "lsg-footer__divider"
|
|
1066
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1067
|
+
className: "lsg-footer__contact-items"
|
|
1068
|
+
}, contact.phone && /*#__PURE__*/React.createElement("div", {
|
|
1069
|
+
className: "lsg-footer__contact-item"
|
|
1070
|
+
}, /*#__PURE__*/React.createElement(PhoneIcon, null), /*#__PURE__*/React.createElement("span", null, contact.phone)), contact.fax && /*#__PURE__*/React.createElement("div", {
|
|
1071
|
+
className: "lsg-footer__contact-item"
|
|
1072
|
+
}, /*#__PURE__*/React.createElement(FaxIcon, null), /*#__PURE__*/React.createElement("span", null, contact.fax)), contact.email && /*#__PURE__*/React.createElement("div", {
|
|
1073
|
+
className: "lsg-footer__contact-item"
|
|
1074
|
+
}, /*#__PURE__*/React.createElement(MailIcon, null), /*#__PURE__*/React.createElement("a", {
|
|
1075
|
+
href: "mailto:".concat(contact.email)
|
|
1076
|
+
}, contact.email)))), quickLinks.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
1077
|
+
className: "lsg-footer__quicklinks-col"
|
|
1078
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
1079
|
+
className: "lsg-footer__col-heading"
|
|
1080
|
+
}, "QUICK LINKS"), /*#__PURE__*/React.createElement("ul", {
|
|
1081
|
+
className: "lsg-footer__quicklinks-list"
|
|
1082
|
+
}, quickLinks.map(function (link, i) {
|
|
983
1083
|
var _a;
|
|
984
|
-
return /*#__PURE__*/React.createElement(
|
|
985
|
-
key: (_a =
|
|
986
|
-
|
|
987
|
-
|
|
1084
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
1085
|
+
key: (_a = link.href) !== null && _a !== void 0 ? _a : i,
|
|
1086
|
+
className: "lsg-footer__quicklink-item"
|
|
1087
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
1088
|
+
href: link.href,
|
|
1089
|
+
className: "lsg-footer__quicklink"
|
|
1090
|
+
}, link.label), /*#__PURE__*/React.createElement("hr", {
|
|
1091
|
+
className: "lsg-footer__divider"
|
|
1092
|
+
}));
|
|
1093
|
+
}))))), /*#__PURE__*/React.createElement("hr", {
|
|
1094
|
+
className: "lsg-footer__bottom-divider"
|
|
1095
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
988
1096
|
className: "lsg-footer__bottom"
|
|
989
1097
|
}, /*#__PURE__*/React.createElement("p", {
|
|
990
1098
|
className: "lsg-footer__copyright"
|
|
991
|
-
},
|
|
1099
|
+
}, copyrightText)));
|
|
992
1100
|
};
|
|
993
1101
|
|
|
994
1102
|
var BASE_COMPONENTS = {
|