@mjhls/mjh-framework 1.0.305 → 1.0.306
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/{TaxonomyCard-03364755.js → TaxonomyCard-a8a64f98.js} +92 -80
- package/dist/cjs/TaxonomyCard.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/{TaxonomyCard-8d8c0d6f.js → TaxonomyCard-ea494c28.js} +92 -80
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1026,91 +1026,103 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
1026
1026
|
React__default.createElement(
|
|
1027
1027
|
Col,
|
|
1028
1028
|
null,
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
React__default.createElement(
|
|
1030
|
+
Row,
|
|
1031
|
+
null,
|
|
1032
1032
|
React__default.createElement(
|
|
1033
|
-
|
|
1033
|
+
Col,
|
|
1034
1034
|
null,
|
|
1035
|
-
row.
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
companyDetails.map(function (field, index) {
|
|
1049
|
-
if (field.value && field.key === 'company') {
|
|
1050
|
-
return React__default.createElement(
|
|
1051
|
-
'p',
|
|
1052
|
-
{ className: 'details-field', key: index },
|
|
1053
|
-
field.value
|
|
1054
|
-
);
|
|
1055
|
-
} else if (field.value && field.key === 'url') {
|
|
1056
|
-
return React__default.createElement(
|
|
1057
|
-
'a',
|
|
1058
|
-
{ className: 'details-field', href: field.value, key: index },
|
|
1059
|
-
field.value
|
|
1060
|
-
);
|
|
1061
|
-
} else if (field.value && field.key === 'email') {
|
|
1062
|
-
return React__default.createElement(
|
|
1063
|
-
'a',
|
|
1064
|
-
{ className: 'details-field', href: 'mailto:' + field.value, key: index },
|
|
1065
|
-
field.value
|
|
1066
|
-
);
|
|
1067
|
-
}
|
|
1068
|
-
})
|
|
1069
|
-
),
|
|
1070
|
-
address && address.length && React__default.createElement(
|
|
1071
|
-
'div',
|
|
1072
|
-
{ className: 'address-wrapper' },
|
|
1073
|
-
address.map(function (field, index) {
|
|
1074
|
-
if (field) {
|
|
1075
|
-
return React__default.createElement(
|
|
1076
|
-
'p',
|
|
1077
|
-
{ className: 'details-field', key: index },
|
|
1078
|
-
field
|
|
1079
|
-
);
|
|
1080
|
-
}
|
|
1081
|
-
})
|
|
1035
|
+
row.url ? React__default.createElement(
|
|
1036
|
+
'a',
|
|
1037
|
+
{ href: row.url },
|
|
1038
|
+
React__default.createElement(
|
|
1039
|
+
Card.Title,
|
|
1040
|
+
null,
|
|
1041
|
+
row.name
|
|
1042
|
+
)
|
|
1043
|
+
) : React__default.createElement(
|
|
1044
|
+
Card.Title,
|
|
1045
|
+
null,
|
|
1046
|
+
row.name
|
|
1047
|
+
)
|
|
1082
1048
|
),
|
|
1083
1049
|
React__default.createElement(
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1050
|
+
Col,
|
|
1051
|
+
null,
|
|
1052
|
+
(address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
|
|
1053
|
+
'div',
|
|
1054
|
+
{ className: 'details-wrapper', style: { marginTop: '10px' } },
|
|
1055
|
+
companyDetails && companyDetails.length && React__default.createElement(
|
|
1056
|
+
'div',
|
|
1057
|
+
{ className: 'company-wrapper' },
|
|
1058
|
+
companyDetails.map(function (field, index) {
|
|
1059
|
+
if (field.value && field.key === 'company') {
|
|
1060
|
+
return React__default.createElement(
|
|
1061
|
+
'p',
|
|
1062
|
+
{ className: 'details-field', key: index },
|
|
1063
|
+
field.value
|
|
1064
|
+
);
|
|
1065
|
+
} else if (field.value && field.key === 'url') {
|
|
1066
|
+
return React__default.createElement(
|
|
1067
|
+
'a',
|
|
1068
|
+
{ className: 'details-field', href: field.value, key: index },
|
|
1069
|
+
field.value
|
|
1070
|
+
);
|
|
1071
|
+
} else if (field.value && field.key === 'email') {
|
|
1072
|
+
return React__default.createElement(
|
|
1073
|
+
'a',
|
|
1074
|
+
{ className: 'details-field', href: 'mailto:' + field.value, key: index },
|
|
1075
|
+
field.value
|
|
1076
|
+
);
|
|
1077
|
+
}
|
|
1078
|
+
})
|
|
1079
|
+
),
|
|
1080
|
+
address && address.length && React__default.createElement(
|
|
1081
|
+
'div',
|
|
1082
|
+
{ className: 'address-wrapper' },
|
|
1083
|
+
address.map(function (field, index) {
|
|
1084
|
+
if (field) {
|
|
1085
|
+
return React__default.createElement(
|
|
1086
|
+
'p',
|
|
1087
|
+
{ className: 'details-field', key: index },
|
|
1088
|
+
field
|
|
1089
|
+
);
|
|
1090
|
+
}
|
|
1091
|
+
})
|
|
1092
|
+
),
|
|
1093
|
+
React__default.createElement(
|
|
1094
|
+
'style',
|
|
1095
|
+
{ jsx: 'true' },
|
|
1096
|
+
'\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
1097
|
+
)
|
|
1098
|
+
),
|
|
1099
|
+
socialLinks && socialLinks.length && React__default.createElement(
|
|
1100
|
+
'div',
|
|
1101
|
+
{ className: 'social-icons' },
|
|
1102
|
+
socialLinks.map(function (url, index) {
|
|
1103
|
+
if (url && url.length) {
|
|
1104
|
+
return React__default.createElement(reactSocialIcons.reactSocialIcons_1, {
|
|
1105
|
+
target: '_blank',
|
|
1106
|
+
rel: 'noopener noreferrer',
|
|
1107
|
+
key: index,
|
|
1108
|
+
index: index,
|
|
1109
|
+
url: url,
|
|
1110
|
+
style: { width: 30, height: 30, marginRight: 10 }
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
}),
|
|
1114
|
+
React__default.createElement(
|
|
1115
|
+
'style',
|
|
1116
|
+
{ jsx: 'true' },
|
|
1117
|
+
'\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
|
|
1118
|
+
)
|
|
1119
|
+
),
|
|
1120
|
+
React__default.createElement(
|
|
1121
|
+
Card.Text,
|
|
1122
|
+
null,
|
|
1123
|
+
React__default.createElement(BlockContent, _extends$2._extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
1124
|
+
)
|
|
1108
1125
|
)
|
|
1109
|
-
),
|
|
1110
|
-
React__default.createElement(
|
|
1111
|
-
Card.Text,
|
|
1112
|
-
null,
|
|
1113
|
-
React__default.createElement(BlockContent, _extends$2._extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
1114
1126
|
)
|
|
1115
1127
|
)
|
|
1116
1128
|
),
|
package/dist/cjs/TaxonomyCard.js
CHANGED
|
@@ -12,7 +12,7 @@ require('react-bootstrap/Card');
|
|
|
12
12
|
require('react-dom');
|
|
13
13
|
require('./index-39beccb3.js');
|
|
14
14
|
require('./index-fa0fb52c.js');
|
|
15
|
-
var TaxonomyCard = require('./TaxonomyCard-
|
|
15
|
+
var TaxonomyCard = require('./TaxonomyCard-a8a64f98.js');
|
|
16
16
|
require('./react-social-icons-cd0d9d3b.js');
|
|
17
17
|
|
|
18
18
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var GridContent = require('./GridContent-e6ff710e.js');
|
|
|
38
38
|
var DeckQueue = require('./DeckQueue.js');
|
|
39
39
|
require('react-bootstrap/Media');
|
|
40
40
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
41
|
-
var TaxonomyCard = require('./TaxonomyCard-
|
|
41
|
+
var TaxonomyCard = require('./TaxonomyCard-a8a64f98.js');
|
|
42
42
|
require('./react-social-icons-cd0d9d3b.js');
|
|
43
43
|
var GroupDeck = require('./GroupDeck.js');
|
|
44
44
|
var YoutubeGroup = require('./YoutubeGroup-98ffbc57.js');
|
|
@@ -1021,91 +1021,103 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
1021
1021
|
React__default.createElement(
|
|
1022
1022
|
Col,
|
|
1023
1023
|
null,
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1024
|
+
React__default.createElement(
|
|
1025
|
+
Row,
|
|
1026
|
+
null,
|
|
1027
1027
|
React__default.createElement(
|
|
1028
|
-
|
|
1028
|
+
Col,
|
|
1029
1029
|
null,
|
|
1030
|
-
row.
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
companyDetails.map(function (field, index) {
|
|
1044
|
-
if (field.value && field.key === 'company') {
|
|
1045
|
-
return React__default.createElement(
|
|
1046
|
-
'p',
|
|
1047
|
-
{ className: 'details-field', key: index },
|
|
1048
|
-
field.value
|
|
1049
|
-
);
|
|
1050
|
-
} else if (field.value && field.key === 'url') {
|
|
1051
|
-
return React__default.createElement(
|
|
1052
|
-
'a',
|
|
1053
|
-
{ className: 'details-field', href: field.value, key: index },
|
|
1054
|
-
field.value
|
|
1055
|
-
);
|
|
1056
|
-
} else if (field.value && field.key === 'email') {
|
|
1057
|
-
return React__default.createElement(
|
|
1058
|
-
'a',
|
|
1059
|
-
{ className: 'details-field', href: 'mailto:' + field.value, key: index },
|
|
1060
|
-
field.value
|
|
1061
|
-
);
|
|
1062
|
-
}
|
|
1063
|
-
})
|
|
1064
|
-
),
|
|
1065
|
-
address && address.length && React__default.createElement(
|
|
1066
|
-
'div',
|
|
1067
|
-
{ className: 'address-wrapper' },
|
|
1068
|
-
address.map(function (field, index) {
|
|
1069
|
-
if (field) {
|
|
1070
|
-
return React__default.createElement(
|
|
1071
|
-
'p',
|
|
1072
|
-
{ className: 'details-field', key: index },
|
|
1073
|
-
field
|
|
1074
|
-
);
|
|
1075
|
-
}
|
|
1076
|
-
})
|
|
1030
|
+
row.url ? React__default.createElement(
|
|
1031
|
+
'a',
|
|
1032
|
+
{ href: row.url },
|
|
1033
|
+
React__default.createElement(
|
|
1034
|
+
Card.Title,
|
|
1035
|
+
null,
|
|
1036
|
+
row.name
|
|
1037
|
+
)
|
|
1038
|
+
) : React__default.createElement(
|
|
1039
|
+
Card.Title,
|
|
1040
|
+
null,
|
|
1041
|
+
row.name
|
|
1042
|
+
)
|
|
1077
1043
|
),
|
|
1078
1044
|
React__default.createElement(
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1045
|
+
Col,
|
|
1046
|
+
null,
|
|
1047
|
+
(address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
|
|
1048
|
+
'div',
|
|
1049
|
+
{ className: 'details-wrapper', style: { marginTop: '10px' } },
|
|
1050
|
+
companyDetails && companyDetails.length && React__default.createElement(
|
|
1051
|
+
'div',
|
|
1052
|
+
{ className: 'company-wrapper' },
|
|
1053
|
+
companyDetails.map(function (field, index) {
|
|
1054
|
+
if (field.value && field.key === 'company') {
|
|
1055
|
+
return React__default.createElement(
|
|
1056
|
+
'p',
|
|
1057
|
+
{ className: 'details-field', key: index },
|
|
1058
|
+
field.value
|
|
1059
|
+
);
|
|
1060
|
+
} else if (field.value && field.key === 'url') {
|
|
1061
|
+
return React__default.createElement(
|
|
1062
|
+
'a',
|
|
1063
|
+
{ className: 'details-field', href: field.value, key: index },
|
|
1064
|
+
field.value
|
|
1065
|
+
);
|
|
1066
|
+
} else if (field.value && field.key === 'email') {
|
|
1067
|
+
return React__default.createElement(
|
|
1068
|
+
'a',
|
|
1069
|
+
{ className: 'details-field', href: 'mailto:' + field.value, key: index },
|
|
1070
|
+
field.value
|
|
1071
|
+
);
|
|
1072
|
+
}
|
|
1073
|
+
})
|
|
1074
|
+
),
|
|
1075
|
+
address && address.length && React__default.createElement(
|
|
1076
|
+
'div',
|
|
1077
|
+
{ className: 'address-wrapper' },
|
|
1078
|
+
address.map(function (field, index) {
|
|
1079
|
+
if (field) {
|
|
1080
|
+
return React__default.createElement(
|
|
1081
|
+
'p',
|
|
1082
|
+
{ className: 'details-field', key: index },
|
|
1083
|
+
field
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
})
|
|
1087
|
+
),
|
|
1088
|
+
React__default.createElement(
|
|
1089
|
+
'style',
|
|
1090
|
+
{ jsx: 'true' },
|
|
1091
|
+
'\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
1092
|
+
)
|
|
1093
|
+
),
|
|
1094
|
+
socialLinks && socialLinks.length && React__default.createElement(
|
|
1095
|
+
'div',
|
|
1096
|
+
{ className: 'social-icons' },
|
|
1097
|
+
socialLinks.map(function (url, index) {
|
|
1098
|
+
if (url && url.length) {
|
|
1099
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
1100
|
+
target: '_blank',
|
|
1101
|
+
rel: 'noopener noreferrer',
|
|
1102
|
+
key: index,
|
|
1103
|
+
index: index,
|
|
1104
|
+
url: url,
|
|
1105
|
+
style: { width: 30, height: 30, marginRight: 10 }
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
}),
|
|
1109
|
+
React__default.createElement(
|
|
1110
|
+
'style',
|
|
1111
|
+
{ jsx: 'true' },
|
|
1112
|
+
'\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
|
|
1113
|
+
)
|
|
1114
|
+
),
|
|
1115
|
+
React__default.createElement(
|
|
1116
|
+
Card.Text,
|
|
1117
|
+
null,
|
|
1118
|
+
React__default.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
1119
|
+
)
|
|
1103
1120
|
)
|
|
1104
|
-
),
|
|
1105
|
-
React__default.createElement(
|
|
1106
|
-
Card.Text,
|
|
1107
|
-
null,
|
|
1108
|
-
React__default.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
1109
1121
|
)
|
|
1110
1122
|
)
|
|
1111
1123
|
),
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -10,5 +10,5 @@ import 'react-bootstrap/Card';
|
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import './index-3849e3fe.js';
|
|
12
12
|
import './index-5f9f807a.js';
|
|
13
|
-
export { T as default } from './TaxonomyCard-
|
|
13
|
+
export { T as default } from './TaxonomyCard-ea494c28.js';
|
|
14
14
|
import './react-social-icons-a7d5c5c7.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -31,8 +31,8 @@ export { A as AD, G as GridContent } from './GridContent-6f84ae5e.js';
|
|
|
31
31
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
32
32
|
import 'react-bootstrap/Media';
|
|
33
33
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
34
|
-
import { B as BlockContent } from './TaxonomyCard-
|
|
35
|
-
export { T as TaxonomyCard } from './TaxonomyCard-
|
|
34
|
+
import { B as BlockContent } from './TaxonomyCard-ea494c28.js';
|
|
35
|
+
export { T as TaxonomyCard } from './TaxonomyCard-ea494c28.js';
|
|
36
36
|
import './react-social-icons-a7d5c5c7.js';
|
|
37
37
|
import GroupDeck from './GroupDeck.js';
|
|
38
38
|
export { default as GroupDeck } from './GroupDeck.js';
|