@mjhls/mjh-framework 1.0.627 → 1.0.628
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/README.md +1 -1
- package/dist/cjs/NavMagazine.js +15 -0
- package/dist/esm/NavMagazine.js +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/NavMagazine.js
CHANGED
|
@@ -400,6 +400,21 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
400
400
|
React__default.createElement(
|
|
401
401
|
NavDropdown,
|
|
402
402
|
{ key: index, title: row.name, id: 'basic-nav-dropdown' },
|
|
403
|
+
row.url && React__default.createElement(
|
|
404
|
+
'a',
|
|
405
|
+
{
|
|
406
|
+
className: 'dropdownlist-expand-btn',
|
|
407
|
+
href: row.url,
|
|
408
|
+
style: {
|
|
409
|
+
position: 'absolute',
|
|
410
|
+
top: '0px',
|
|
411
|
+
right: '0px',
|
|
412
|
+
cursor: 'pointer',
|
|
413
|
+
color: socialIconVariant === 'dark' ? '#000' : '#ffffff',
|
|
414
|
+
padding: '5px 10px'
|
|
415
|
+
} },
|
|
416
|
+
'View More'
|
|
417
|
+
),
|
|
403
418
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
404
419
|
if (ddRow.type === 'divider') {
|
|
405
420
|
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -393,6 +393,21 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
393
393
|
React__default.createElement(
|
|
394
394
|
NavDropdown,
|
|
395
395
|
{ key: index, title: row.name, id: 'basic-nav-dropdown' },
|
|
396
|
+
row.url && React__default.createElement(
|
|
397
|
+
'a',
|
|
398
|
+
{
|
|
399
|
+
className: 'dropdownlist-expand-btn',
|
|
400
|
+
href: row.url,
|
|
401
|
+
style: {
|
|
402
|
+
position: 'absolute',
|
|
403
|
+
top: '0px',
|
|
404
|
+
right: '0px',
|
|
405
|
+
cursor: 'pointer',
|
|
406
|
+
color: socialIconVariant === 'dark' ? '#000' : '#ffffff',
|
|
407
|
+
padding: '5px 10px'
|
|
408
|
+
} },
|
|
409
|
+
'View More'
|
|
410
|
+
),
|
|
396
411
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
397
412
|
if (ddRow.type === 'divider') {
|
|
398
413
|
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|