@mjhls/mjh-framework 1.0.304 → 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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.304
2
+ # mjh-framework v. 1.0.306
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -1026,91 +1026,103 @@ var TaxonomyCard = function TaxonomyCard(props) {
1026
1026
  React__default.createElement(
1027
1027
  Col,
1028
1028
  null,
1029
- row.url ? React__default.createElement(
1030
- 'a',
1031
- { href: row.url },
1029
+ React__default.createElement(
1030
+ Row,
1031
+ null,
1032
1032
  React__default.createElement(
1033
- Card.Title,
1033
+ Col,
1034
1034
  null,
1035
- row.name
1036
- )
1037
- ) : React__default.createElement(
1038
- Card.Title,
1039
- null,
1040
- row.name
1041
- ),
1042
- (address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
1043
- 'div',
1044
- { className: 'details-wrapper', style: { marginTop: '10px' } },
1045
- companyDetails && companyDetails.length && React__default.createElement(
1046
- 'div',
1047
- { className: 'company-wrapper' },
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
- 'style',
1085
- { jsx: 'true' },
1086
- '\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 '
1087
- )
1088
- ),
1089
- socialLinks && socialLinks.length && React__default.createElement(
1090
- 'div',
1091
- { className: 'social-icons' },
1092
- socialLinks.map(function (url, index) {
1093
- if (url && url.length) {
1094
- return React__default.createElement(reactSocialIcons.reactSocialIcons_1, {
1095
- target: '_blank',
1096
- rel: 'noopener noreferrer',
1097
- key: index,
1098
- index: index,
1099
- url: url,
1100
- style: { width: 30, height: 30, marginRight: 10 }
1101
- });
1102
- }
1103
- }),
1104
- React__default.createElement(
1105
- 'style',
1106
- { jsx: 'true' },
1107
- '\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
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
  ),
@@ -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-03364755.js');
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-03364755.js');
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');
@@ -2918,7 +2918,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
2918
2918
  position = _floatingAd$position === undefined ? 'float' : _floatingAd$position,
2919
2919
  networkID = floatingAd.networkID,
2920
2920
  _floatingAd$sizes = floatingAd.sizes,
2921
- sizes = _floatingAd$sizes === undefined ? [[728, 90]] : _floatingAd$sizes;
2921
+ sizes = _floatingAd$sizes === undefined ? [[1025, 100]] : _floatingAd$sizes;
2922
2922
 
2923
2923
  var adTargeting = {
2924
2924
  content_placement: targeting.content_placement,
@@ -2983,7 +2983,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
2983
2983
  React__default.createElement(
2984
2984
  'style',
2985
2985
  { jsx: 'true' },
2986
- '\n .floating-ad-wrapper {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n display: none;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
2986
+ '\n .floating-ad-wrapper {\n width: 728px;\n height: 90px;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n display: none;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
2987
2987
  )
2988
2988
  );
2989
2989
  };
@@ -1021,91 +1021,103 @@ var TaxonomyCard = function TaxonomyCard(props) {
1021
1021
  React__default.createElement(
1022
1022
  Col,
1023
1023
  null,
1024
- row.url ? React__default.createElement(
1025
- 'a',
1026
- { href: row.url },
1024
+ React__default.createElement(
1025
+ Row,
1026
+ null,
1027
1027
  React__default.createElement(
1028
- Card.Title,
1028
+ Col,
1029
1029
  null,
1030
- row.name
1031
- )
1032
- ) : React__default.createElement(
1033
- Card.Title,
1034
- null,
1035
- row.name
1036
- ),
1037
- (address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
1038
- 'div',
1039
- { className: 'details-wrapper', style: { marginTop: '10px' } },
1040
- companyDetails && companyDetails.length && React__default.createElement(
1041
- 'div',
1042
- { className: 'company-wrapper' },
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
- 'style',
1080
- { jsx: 'true' },
1081
- '\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 '
1082
- )
1083
- ),
1084
- socialLinks && socialLinks.length && React__default.createElement(
1085
- 'div',
1086
- { className: 'social-icons' },
1087
- socialLinks.map(function (url, index) {
1088
- if (url && url.length) {
1089
- return React__default.createElement(reactSocialIcons_1, {
1090
- target: '_blank',
1091
- rel: 'noopener noreferrer',
1092
- key: index,
1093
- index: index,
1094
- url: url,
1095
- style: { width: 30, height: 30, marginRight: 10 }
1096
- });
1097
- }
1098
- }),
1099
- React__default.createElement(
1100
- 'style',
1101
- { jsx: 'true' },
1102
- '\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
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
  ),
@@ -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-8d8c0d6f.js';
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-8d8c0d6f.js';
35
- export { T as TaxonomyCard } from './TaxonomyCard-8d8c0d6f.js';
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';
@@ -2916,7 +2916,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
2916
2916
  position = _floatingAd$position === undefined ? 'float' : _floatingAd$position,
2917
2917
  networkID = floatingAd.networkID,
2918
2918
  _floatingAd$sizes = floatingAd.sizes,
2919
- sizes = _floatingAd$sizes === undefined ? [[728, 90]] : _floatingAd$sizes;
2919
+ sizes = _floatingAd$sizes === undefined ? [[1025, 100]] : _floatingAd$sizes;
2920
2920
 
2921
2921
  var adTargeting = {
2922
2922
  content_placement: targeting.content_placement,
@@ -2981,7 +2981,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
2981
2981
  React__default.createElement(
2982
2982
  'style',
2983
2983
  { jsx: 'true' },
2984
- '\n .floating-ad-wrapper {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n display: none;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
2984
+ '\n .floating-ad-wrapper {\n width: 728px;\n height: 90px;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n display: none;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
2985
2985
  )
2986
2986
  );
2987
2987
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.304",
3
+ "version": "1.0.306",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",