solid-ui 2.4.10-92a6733c → 2.4.10-a8ba7504
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/lib/chat/infinite.js +1 -1
- package/lib/chat/infinite.js.map +1 -1
- package/lib/header/index.d.ts +5 -1
- package/lib/header/index.d.ts.map +1 -1
- package/lib/header/index.js +59 -5
- package/lib/header/index.js.map +1 -1
- package/lib/header/styleMap.d.ts +16 -1
- package/lib/header/styleMap.d.ts.map +1 -1
- package/lib/header/styleMap.js +21 -2
- package/lib/header/styleMap.js.map +1 -1
- package/lib/versionInfo.js +4 -4
- package/lib/versionInfo.js.map +1 -1
- package/lib/webpack-bundle.js +86 -12
- package/lib/webpack-bundle.js.map +1 -1
- package/lib/widgets/forms/autocomplete/publicData.d.ts.map +1 -1
- package/lib/widgets/forms/autocomplete/publicData.js.map +1 -1
- package/lib/widgets/peoplePicker.js +1 -0
- package/lib/widgets/peoplePicker.js.map +1 -1
- package/package.json +1 -1
package/lib/header/styleMap.js
CHANGED
|
@@ -18,7 +18,11 @@ var styleMap = {
|
|
|
18
18
|
padding: '1em',
|
|
19
19
|
width: '100%',
|
|
20
20
|
'&:focus, &:hover': {
|
|
21
|
-
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)'
|
|
21
|
+
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)' // backgroundColor: '#eee'
|
|
22
|
+
|
|
23
|
+
},
|
|
24
|
+
a: {
|
|
25
|
+
textDecoration: 'none'
|
|
22
26
|
}
|
|
23
27
|
},
|
|
24
28
|
'header-user-menu__trigger': {
|
|
@@ -83,7 +87,6 @@ var styleMap = {
|
|
|
83
87
|
backgroundPosition: 'center',
|
|
84
88
|
backgroundRepeat: 'no-repeat',
|
|
85
89
|
backgroundSize: 'cover',
|
|
86
|
-
margin: '5px',
|
|
87
90
|
height: '50px',
|
|
88
91
|
// $icon-size - $image-margin * 2 image-margin was 5px in mashlib and icon size 60px
|
|
89
92
|
width: '50px'
|
|
@@ -92,12 +95,16 @@ var styleMap = {
|
|
|
92
95
|
boxShadow: '0px 1px 4px #000000',
|
|
93
96
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
94
97
|
display: 'flex',
|
|
98
|
+
justifyContent: 'space-between',
|
|
95
99
|
padding: '0 1.5em',
|
|
96
100
|
marginBottom: '4px'
|
|
97
101
|
},
|
|
98
102
|
'header-banner__link': {
|
|
99
103
|
display: 'block'
|
|
100
104
|
},
|
|
105
|
+
'header-banner__right-menu': {
|
|
106
|
+
display: 'flex'
|
|
107
|
+
},
|
|
101
108
|
'header-banner__login': {
|
|
102
109
|
marginLeft: 'auto',
|
|
103
110
|
input: {
|
|
@@ -111,12 +118,24 @@ var styleMap = {
|
|
|
111
118
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
112
119
|
marginLeft: 'auto'
|
|
113
120
|
},
|
|
121
|
+
'header-banner__help-menu': {
|
|
122
|
+
borderLeft: 'solid 1px #000000',
|
|
123
|
+
// the color was defined in mashlib as a SASS variable $divider_color
|
|
124
|
+
marginLeft: 'auto'
|
|
125
|
+
},
|
|
114
126
|
'header-banner__icon': {
|
|
115
127
|
backgroundSize: '65px 60px',
|
|
116
128
|
height: '60px !important',
|
|
117
129
|
// this is the icon size
|
|
118
130
|
width: '65px !important' // may just be 65px round($icon-size * 352 / 322);
|
|
119
131
|
|
|
132
|
+
},
|
|
133
|
+
'header-banner__help-icon': {
|
|
134
|
+
backgroundSize: '55px 50px',
|
|
135
|
+
height: '50px !important',
|
|
136
|
+
// this is the icon size
|
|
137
|
+
width: '55px !important' // may just be 65px round($icon-size * 352 / 430);
|
|
138
|
+
|
|
120
139
|
}
|
|
121
140
|
};
|
|
122
141
|
exports.styleMap = styleMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/header/styleMap.ts"],"names":["styleMap","background","border","color","cursor","display","fontFamily","fontSize","textAlign","padding","width","backgroundColor","height","img","borderRadius","listStyle","margin","borderRight","position","right","top","borderBottom","backgroundPosition","backgroundRepeat","backgroundSize","boxShadow","marginBottom","marginLeft","input","borderLeft"],"mappings":";;;;;;AAAO,IAAMA,QAAQ,GAAG;AACtB,sBAAoB,EADE;AAGtB,4BAA0B;AACxBC,IAAAA,UAAU,EAAE,MADY;AAExBC,IAAAA,MAAM,EAAE,GAFgB;AAGxBC,IAAAA,KAAK,EAAE,OAHiB;AAIxBC,IAAAA,MAAM,EAAE,SAJgB;AAKxBC,IAAAA,OAAO,EAAE,OALe;AAMxBC,IAAAA,UAAU,EAAE,OANY;AAOxBC,IAAAA,QAAQ,EAAE,KAPc;AAQxBC,IAAAA,SAAS,EAAE,MARa;AASxBC,IAAAA,OAAO,EAAE,KATe;AAUxBC,IAAAA,KAAK,EAAE,MAViB;AAWxB,wBAAoB;AAClBC,MAAAA,eAAe,EAAE;
|
|
1
|
+
{"version":3,"sources":["../../src/header/styleMap.ts"],"names":["styleMap","background","border","color","cursor","display","fontFamily","fontSize","textAlign","padding","width","backgroundColor","a","textDecoration","height","img","borderRadius","listStyle","margin","borderRight","position","right","top","borderBottom","backgroundPosition","backgroundRepeat","backgroundSize","boxShadow","justifyContent","marginBottom","marginLeft","input","borderLeft"],"mappings":";;;;;;AAAO,IAAMA,QAAQ,GAAG;AACtB,sBAAoB,EADE;AAGtB,4BAA0B;AACxBC,IAAAA,UAAU,EAAE,MADY;AAExBC,IAAAA,MAAM,EAAE,GAFgB;AAGxBC,IAAAA,KAAK,EAAE,OAHiB;AAIxBC,IAAAA,MAAM,EAAE,SAJgB;AAKxBC,IAAAA,OAAO,EAAE,OALe;AAMxBC,IAAAA,UAAU,EAAE,OANY;AAOxBC,IAAAA,QAAQ,EAAE,KAPc;AAQxBC,IAAAA,SAAS,EAAE,MARa;AASxBC,IAAAA,OAAO,EAAE,KATe;AAUxBC,IAAAA,KAAK,EAAE,MAViB;AAWxB,wBAAoB;AAClBC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,IAAAA,KAAK,EAAE,iBAHc,CAGI;;AAHJ,GA9GD;AAmHtB,8BAA4B;AAC1BgB,IAAAA,cAAc,EAAE,WADU;AAE1BZ,IAAAA,MAAM,EAAE,iBAFkB;AAEC;AAC3BJ,IAAAA,KAAK,EAAE,iBAHmB,CAGD;;AAHC;AAnHN,CAAjB","sourcesContent":["export const styleMap = {\n 'header-user-menu': {\n },\n 'header-user-menu__link': {\n background: 'none',\n border: '0',\n color: 'black',\n cursor: 'pointer',\n display: 'block',\n fontFamily: 'Arial',\n fontSize: '1em',\n textAlign: 'left',\n padding: '1em',\n width: '100%',\n '&:focus, &:hover': {\n backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)'\n // backgroundColor: '#eee'\n },\n a: {\n textDecoration: 'none'\n }\n },\n 'header-user-menu__trigger': {\n background: 'none',\n border: '0',\n cursor: 'pointer',\n width: '60px', // defined in mashlib as a SASS variable $icon_size\n height: '60px', // defined in mashlib as a SASS variable $icon_size\n img: {\n borderRadius: '50%',\n height: '56px', // defined in mashlib as a SASS variable $icon_size - 4px\n width: '56px'\n }\n },\n 'header-user-menu__button': {\n background: 'none',\n border: '0',\n color: 'black',\n cursor: 'pointer',\n display: 'block',\n fontFamily: 'Arial',\n fontSize: '1em',\n textAlign: 'left',\n padding: '1em',\n width: '100%',\n '&:focus, &:hover': {\n backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)'\n }\n },\n 'header-user-menu__list': {\n listStyle: 'none',\n margin: '0',\n padding: '0'\n },\n 'header-user-menu__navigation-menu': {\n background: 'white',\n border: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color\n borderRight: '0',\n position: 'absolute',\n right: '0',\n top: '60px', // defined in mashlib as a SASS variable $icon_size\n width: '200px',\n 'z-index': '1',\n '&[aria-hidden = true]': {\n display: 'none'\n }\n },\n 'header-user-menu__list-item': {\n borderBottom: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color\n '&:last-child': {\n border: '0'\n }\n },\n 'header-user-menu__photo': {\n borderRadius: '50%',\n backgroundPosition: 'center',\n backgroundRepeat: 'no-repeat',\n backgroundSize: 'cover',\n height: '50px', // $icon-size - $image-margin * 2 image-margin was 5px in mashlib and icon size 60px\n width: '50px'\n },\n 'header-banner': {\n boxShadow: '0px 1px 4px #000000', // the color was defined in mashlib as a SASS variable $divider_color\n display: 'flex',\n justifyContent: 'space-between',\n padding: '0 1.5em',\n marginBottom: '4px'\n },\n 'header-banner__link': {\n display: 'block'\n },\n 'header-banner__right-menu': {\n display: 'flex'\n },\n 'header-banner__login': {\n marginLeft: 'auto',\n input: {\n // hacks to override the default style of login and signup button from solid-ui\n margin: '0.75em 0 0.75em 0.5em !important',\n padding: '0.5em !important'\n }\n },\n 'header-banner__user-menu': {\n borderLeft: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color\n marginLeft: 'auto'\n },\n 'header-banner__help-menu': {\n borderLeft: 'solid 1px #000000', // the color was defined in mashlib as a SASS variable $divider_color\n marginLeft: 'auto'\n },\n 'header-banner__icon': {\n backgroundSize: '65px 60px',\n height: '60px !important', // this is the icon size\n width: '65px !important' // may just be 65px round($icon-size * 352 / 322);\n },\n 'header-banner__help-icon': {\n backgroundSize: '55px 50px',\n height: '50px !important', // this is the icon size\n width: '55px !important' // may just be 65px round($icon-size * 352 / 430);\n }\n}\n"],"file":"styleMap.js"}
|
package/lib/versionInfo.js
CHANGED
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = {
|
|
8
|
-
buildTime: '2021-
|
|
9
|
-
commit: '
|
|
8
|
+
buildTime: '2021-11-01T08:45:36Z',
|
|
9
|
+
commit: 'a8ba75042fe582f4e23387377a64a9f70589071b',
|
|
10
10
|
npmInfo: {
|
|
11
11
|
'solid-ui': '2.4.10',
|
|
12
12
|
npm: '6.14.15',
|
|
@@ -14,11 +14,11 @@ var _default = {
|
|
|
14
14
|
brotli: '1.0.9',
|
|
15
15
|
cldr: '39.0',
|
|
16
16
|
icu: '69.1',
|
|
17
|
-
llhttp: '2.1.
|
|
17
|
+
llhttp: '2.1.4',
|
|
18
18
|
modules: '83',
|
|
19
19
|
napi: '8',
|
|
20
20
|
nghttp2: '1.42.0',
|
|
21
|
-
node: '14.18.
|
|
21
|
+
node: '14.18.1',
|
|
22
22
|
openssl: '1.1.1l',
|
|
23
23
|
tz: '2021a',
|
|
24
24
|
unicode: '13.0',
|
package/lib/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/versionInfo.ts"],"names":["buildTime","commit","npmInfo","npm","ares","brotli","cldr","icu","llhttp","modules","napi","nghttp2","node","openssl","tz","unicode","uv","v8","zlib"],"mappings":";;;;;;eAAe;AACbA,EAAAA,SAAS,EAAE,sBADE;AAEbC,EAAAA,MAAM,EAAE,0CAFK;AAGbC,EAAAA,OAAO,EACT;AACE,gBAAY,QADd;AAEEC,IAAAA,GAAG,EAAE,SAFP;AAGEC,IAAAA,IAAI,EAAE,QAHR;AAIEC,IAAAA,MAAM,EAAE,OAJV;AAKEC,IAAAA,IAAI,EAAE,MALR;AAMEC,IAAAA,GAAG,EAAE,MANP;AAOEC,IAAAA,MAAM,EAAE,OAPV;AAQEC,IAAAA,OAAO,EAAE,IARX;AASEC,IAAAA,IAAI,EAAE,GATR;AAUEC,IAAAA,OAAO,EAAE,QAVX;AAWEC,IAAAA,IAAI,EAAE,SAXR;AAYEC,IAAAA,OAAO,EAAE,QAZX;AAaEC,IAAAA,EAAE,EAAE,OAbN;AAcEC,IAAAA,OAAO,EAAE,MAdX;AAeEC,IAAAA,EAAE,EAAE,QAfN;AAgBEC,IAAAA,EAAE,EAAE,oBAhBN;AAiBEC,IAAAA,IAAI,EAAE;AAjBR;AAJe,C","sourcesContent":["export default {\n buildTime: '2021-
|
|
1
|
+
{"version":3,"sources":["../src/versionInfo.ts"],"names":["buildTime","commit","npmInfo","npm","ares","brotli","cldr","icu","llhttp","modules","napi","nghttp2","node","openssl","tz","unicode","uv","v8","zlib"],"mappings":";;;;;;eAAe;AACbA,EAAAA,SAAS,EAAE,sBADE;AAEbC,EAAAA,MAAM,EAAE,0CAFK;AAGbC,EAAAA,OAAO,EACT;AACE,gBAAY,QADd;AAEEC,IAAAA,GAAG,EAAE,SAFP;AAGEC,IAAAA,IAAI,EAAE,QAHR;AAIEC,IAAAA,MAAM,EAAE,OAJV;AAKEC,IAAAA,IAAI,EAAE,MALR;AAMEC,IAAAA,GAAG,EAAE,MANP;AAOEC,IAAAA,MAAM,EAAE,OAPV;AAQEC,IAAAA,OAAO,EAAE,IARX;AASEC,IAAAA,IAAI,EAAE,GATR;AAUEC,IAAAA,OAAO,EAAE,QAVX;AAWEC,IAAAA,IAAI,EAAE,SAXR;AAYEC,IAAAA,OAAO,EAAE,QAZX;AAaEC,IAAAA,EAAE,EAAE,OAbN;AAcEC,IAAAA,OAAO,EAAE,MAdX;AAeEC,IAAAA,EAAE,EAAE,QAfN;AAgBEC,IAAAA,EAAE,EAAE,oBAhBN;AAiBEC,IAAAA,IAAI,EAAE;AAjBR;AAJe,C","sourcesContent":["export default {\n buildTime: '2021-11-01T08:45:36Z',\n commit: 'a8ba75042fe582f4e23387377a64a9f70589071b',\n npmInfo:\n{\n 'solid-ui': '2.4.10',\n npm: '6.14.15',\n ares: '1.17.2',\n brotli: '1.0.9',\n cldr: '39.0',\n icu: '69.1',\n llhttp: '2.1.4',\n modules: '83',\n napi: '8',\n nghttp2: '1.42.0',\n node: '14.18.1',\n openssl: '1.1.1l',\n tz: '2021a',\n unicode: '13.0',\n uv: '1.42.0',\n v8: '8.4.371.23-node.84',\n zlib: '1.2.11'\n}\n}\n"],"file":"versionInfo.js"}
|
package/lib/webpack-bundle.js
CHANGED
|
@@ -6100,7 +6100,7 @@ var UI = {
|
|
|
6100
6100
|
};
|
|
6101
6101
|
/* global alert */
|
|
6102
6102
|
|
|
6103
|
-
var SERVER_MKDIRP_BUG =
|
|
6103
|
+
var SERVER_MKDIRP_BUG = false; // Set false timbl 2021-10-31 should be fixed by now
|
|
6104
6104
|
|
|
6105
6105
|
function createIfNotExists(_x) {
|
|
6106
6106
|
return _createIfNotExists.apply(this, arguments);
|
|
@@ -8576,6 +8576,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8576
8576
|
value: true
|
|
8577
8577
|
});
|
|
8578
8578
|
exports.createBanner = createBanner;
|
|
8579
|
+
exports.createHelpMenu = createHelpMenu;
|
|
8579
8580
|
exports.createLoginSignUpButtons = createLoginSignUpButtons;
|
|
8580
8581
|
exports.createUserMenu = createUserMenu;
|
|
8581
8582
|
exports.createUserMenuButton = createUserMenuButton;
|
|
@@ -8589,6 +8590,8 @@ var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime
|
|
|
8589
8590
|
|
|
8590
8591
|
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
|
|
8591
8592
|
|
|
8593
|
+
var _ = __webpack_require__(/*! .. */ "./lib/index.js");
|
|
8594
|
+
|
|
8592
8595
|
var _authn = __webpack_require__(/*! ../authn/authn */ "./lib/authn/authn.js");
|
|
8593
8596
|
|
|
8594
8597
|
var widgets = _interopRequireWildcard(__webpack_require__(/*! ../widgets */ "./lib/widgets/index.js"));
|
|
@@ -8697,7 +8700,7 @@ function createBanner(_x3, _x4, _x5, _x6) {
|
|
|
8697
8700
|
|
|
8698
8701
|
function _createBanner() {
|
|
8699
8702
|
_createBanner = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(store, pod, user, options) {
|
|
8700
|
-
var podLink, image,
|
|
8703
|
+
var podLink, image, userMenu, helpMenu, banner, leftSideOfHeader;
|
|
8701
8704
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
8702
8705
|
while (1) {
|
|
8703
8706
|
switch (_context3.prev = _context3.next) {
|
|
@@ -8731,14 +8734,19 @@ function _createBanner() {
|
|
|
8731
8734
|
_context3.t0 = createLoginSignUpButtons();
|
|
8732
8735
|
|
|
8733
8736
|
case 14:
|
|
8734
|
-
|
|
8737
|
+
userMenu = _context3.t0;
|
|
8738
|
+
helpMenu = createHelpMenu();
|
|
8735
8739
|
banner = document.createElement('div');
|
|
8736
8740
|
(0, _headerHelpers.addStyleClassToElement)(banner, ['header-banner']);
|
|
8737
8741
|
banner.appendChild(podLink);
|
|
8738
|
-
|
|
8742
|
+
leftSideOfHeader = document.createElement('div');
|
|
8743
|
+
(0, _headerHelpers.addStyleClassToElement)(leftSideOfHeader, ['header-banner__right-menu']);
|
|
8744
|
+
leftSideOfHeader.appendChild(userMenu);
|
|
8745
|
+
leftSideOfHeader.appendChild(helpMenu);
|
|
8746
|
+
banner.appendChild(leftSideOfHeader);
|
|
8739
8747
|
return _context3.abrupt("return", banner);
|
|
8740
8748
|
|
|
8741
|
-
case
|
|
8749
|
+
case 25:
|
|
8742
8750
|
case "end":
|
|
8743
8751
|
return _context3.stop();
|
|
8744
8752
|
}
|
|
@@ -8748,6 +8756,51 @@ function _createBanner() {
|
|
|
8748
8756
|
return _createBanner.apply(this, arguments);
|
|
8749
8757
|
}
|
|
8750
8758
|
|
|
8759
|
+
function createHelpMenu() {
|
|
8760
|
+
var helpMenuList = document.createElement('ul');
|
|
8761
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuList, ['header-user-menu__list']);
|
|
8762
|
+
helpMenuList.appendChild(createUserMenuItem(createUserMenuLink('User guide', 'https://github.com/solid/userguide', '_blank')));
|
|
8763
|
+
helpMenuList.appendChild(createUserMenuItem(createUserMenuLink('Report a problem', 'https://github.com/solid/solidos/issues', '_blank')));
|
|
8764
|
+
var helpMenu = document.createElement('nav');
|
|
8765
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenu, ['header-user-menu__navigation-menu']);
|
|
8766
|
+
helpMenu.setAttribute('aria-hidden', 'true');
|
|
8767
|
+
helpMenu.appendChild(helpMenuList);
|
|
8768
|
+
var helpIcon = _.icons.iconBase + 'noun_144.svg';
|
|
8769
|
+
var helpMenuContainer = document.createElement('div');
|
|
8770
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuContainer, ['header-banner__user-menu']);
|
|
8771
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuContainer, ['header-user-menu']);
|
|
8772
|
+
helpMenuContainer.appendChild(helpMenu);
|
|
8773
|
+
var helpMenuTrigger = document.createElement('button');
|
|
8774
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuTrigger, ['header-user-menu__trigger']);
|
|
8775
|
+
helpMenuTrigger.type = 'button';
|
|
8776
|
+
var helpMenuIcon = document.createElement('img');
|
|
8777
|
+
helpMenuIcon.src = helpIcon;
|
|
8778
|
+
(0, _headerHelpers.addStyleClassToElement)(helpMenuIcon, ['header-banner__help-icon']);
|
|
8779
|
+
helpMenuContainer.appendChild(helpMenuTrigger);
|
|
8780
|
+
helpMenuTrigger.appendChild(helpMenuIcon);
|
|
8781
|
+
var throttledMenuToggle = (0, _headerHelpers.throttle)(function (event) {
|
|
8782
|
+
return toggleMenu(event, helpMenuTrigger, helpMenu);
|
|
8783
|
+
}, 50);
|
|
8784
|
+
helpMenuTrigger.addEventListener('click', throttledMenuToggle);
|
|
8785
|
+
var timer = setTimeout(function () {
|
|
8786
|
+
return null;
|
|
8787
|
+
}, 0);
|
|
8788
|
+
helpMenuContainer.addEventListener('mouseover', function (event) {
|
|
8789
|
+
clearTimeout(timer);
|
|
8790
|
+
throttledMenuToggle(event);
|
|
8791
|
+
});
|
|
8792
|
+
helpMenuContainer.addEventListener('mouseout', function (event) {
|
|
8793
|
+
timer = setTimeout(function () {
|
|
8794
|
+
return throttledMenuToggle(event);
|
|
8795
|
+
}, 200);
|
|
8796
|
+
});
|
|
8797
|
+
return helpMenuContainer;
|
|
8798
|
+
}
|
|
8799
|
+
/**
|
|
8800
|
+
* @ignore exporting this only for the unit test
|
|
8801
|
+
*/
|
|
8802
|
+
|
|
8803
|
+
|
|
8751
8804
|
function createLoginSignUpButtons() {
|
|
8752
8805
|
var profileLoginButtonPre = document.createElement('div');
|
|
8753
8806
|
(0, _headerHelpers.addStyleClassToElement)(profileLoginButtonPre, ['header-banner__login']);
|
|
@@ -8771,11 +8824,12 @@ function createUserMenuButton(label, onClick) {
|
|
|
8771
8824
|
*/
|
|
8772
8825
|
|
|
8773
8826
|
|
|
8774
|
-
function createUserMenuLink(label, href) {
|
|
8827
|
+
function createUserMenuLink(label, href, target) {
|
|
8775
8828
|
var link = document.createElement('a');
|
|
8776
8829
|
(0, _headerHelpers.addStyleClassToElement)(link, ['header-user-menu__link']);
|
|
8777
8830
|
link.href = href;
|
|
8778
8831
|
link.innerText = label;
|
|
8832
|
+
if (target) link.target = target;
|
|
8779
8833
|
return link;
|
|
8780
8834
|
}
|
|
8781
8835
|
/**
|
|
@@ -8956,7 +9010,11 @@ var styleMap = {
|
|
|
8956
9010
|
padding: '1em',
|
|
8957
9011
|
width: '100%',
|
|
8958
9012
|
'&:focus, &:hover': {
|
|
8959
|
-
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)'
|
|
9013
|
+
backgroundColor: 'linear-gradient(to right, #7C4DFF 0%, #18A9E6 50%, #01C9EA 100%)' // backgroundColor: '#eee'
|
|
9014
|
+
|
|
9015
|
+
},
|
|
9016
|
+
a: {
|
|
9017
|
+
textDecoration: 'none'
|
|
8960
9018
|
}
|
|
8961
9019
|
},
|
|
8962
9020
|
'header-user-menu__trigger': {
|
|
@@ -9021,7 +9079,6 @@ var styleMap = {
|
|
|
9021
9079
|
backgroundPosition: 'center',
|
|
9022
9080
|
backgroundRepeat: 'no-repeat',
|
|
9023
9081
|
backgroundSize: 'cover',
|
|
9024
|
-
margin: '5px',
|
|
9025
9082
|
height: '50px',
|
|
9026
9083
|
// $icon-size - $image-margin * 2 image-margin was 5px in mashlib and icon size 60px
|
|
9027
9084
|
width: '50px'
|
|
@@ -9030,12 +9087,16 @@ var styleMap = {
|
|
|
9030
9087
|
boxShadow: '0px 1px 4px #000000',
|
|
9031
9088
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9032
9089
|
display: 'flex',
|
|
9090
|
+
justifyContent: 'space-between',
|
|
9033
9091
|
padding: '0 1.5em',
|
|
9034
9092
|
marginBottom: '4px'
|
|
9035
9093
|
},
|
|
9036
9094
|
'header-banner__link': {
|
|
9037
9095
|
display: 'block'
|
|
9038
9096
|
},
|
|
9097
|
+
'header-banner__right-menu': {
|
|
9098
|
+
display: 'flex'
|
|
9099
|
+
},
|
|
9039
9100
|
'header-banner__login': {
|
|
9040
9101
|
marginLeft: 'auto',
|
|
9041
9102
|
input: {
|
|
@@ -9049,12 +9110,24 @@ var styleMap = {
|
|
|
9049
9110
|
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9050
9111
|
marginLeft: 'auto'
|
|
9051
9112
|
},
|
|
9113
|
+
'header-banner__help-menu': {
|
|
9114
|
+
borderLeft: 'solid 1px #000000',
|
|
9115
|
+
// the color was defined in mashlib as a SASS variable $divider_color
|
|
9116
|
+
marginLeft: 'auto'
|
|
9117
|
+
},
|
|
9052
9118
|
'header-banner__icon': {
|
|
9053
9119
|
backgroundSize: '65px 60px',
|
|
9054
9120
|
height: '60px !important',
|
|
9055
9121
|
// this is the icon size
|
|
9056
9122
|
width: '65px !important' // may just be 65px round($icon-size * 352 / 322);
|
|
9057
9123
|
|
|
9124
|
+
},
|
|
9125
|
+
'header-banner__help-icon': {
|
|
9126
|
+
backgroundSize: '55px 50px',
|
|
9127
|
+
height: '50px !important',
|
|
9128
|
+
// this is the icon size
|
|
9129
|
+
width: '55px !important' // may just be 65px round($icon-size * 352 / 430);
|
|
9130
|
+
|
|
9058
9131
|
}
|
|
9059
9132
|
};
|
|
9060
9133
|
exports.styleMap = styleMap;
|
|
@@ -15315,8 +15388,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
15315
15388
|
});
|
|
15316
15389
|
exports["default"] = void 0;
|
|
15317
15390
|
var _default = {
|
|
15318
|
-
buildTime: '2021-
|
|
15319
|
-
commit: '
|
|
15391
|
+
buildTime: '2021-11-01T08:45:36Z',
|
|
15392
|
+
commit: 'a8ba75042fe582f4e23387377a64a9f70589071b',
|
|
15320
15393
|
npmInfo: {
|
|
15321
15394
|
'solid-ui': '2.4.10',
|
|
15322
15395
|
npm: '6.14.15',
|
|
@@ -15324,11 +15397,11 @@ var _default = {
|
|
|
15324
15397
|
brotli: '1.0.9',
|
|
15325
15398
|
cldr: '39.0',
|
|
15326
15399
|
icu: '69.1',
|
|
15327
|
-
llhttp: '2.1.
|
|
15400
|
+
llhttp: '2.1.4',
|
|
15328
15401
|
modules: '83',
|
|
15329
15402
|
napi: '8',
|
|
15330
15403
|
nghttp2: '1.42.0',
|
|
15331
|
-
node: '14.18.
|
|
15404
|
+
node: '14.18.1',
|
|
15332
15405
|
openssl: '1.1.1l',
|
|
15333
15406
|
tz: '2021a',
|
|
15334
15407
|
unicode: '13.0',
|
|
@@ -22141,6 +22214,7 @@ var kb = _logic.solidLogicSingleton.store;
|
|
|
22141
22214
|
var PeoplePicker = /*#__PURE__*/function () {
|
|
22142
22215
|
function PeoplePicker(element, typeIndex, groupPickedCb, options) {
|
|
22143
22216
|
(0, _classCallCheck2["default"])(this, PeoplePicker);
|
|
22217
|
+
// @@ can't expect typeindex to be passed
|
|
22144
22218
|
this.options = options || {};
|
|
22145
22219
|
this.element = element;
|
|
22146
22220
|
this.typeIndex = typeIndex;
|