@mjhls/mjh-framework 1.0.348 → 1.0.349

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.348
2
+ # mjh-framework v. 1.0.349
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -86,27 +86,27 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
86
86
  null,
87
87
  title
88
88
  ),
89
- React__default.createElement('br', null),
90
- React__default.createElement(
91
- 'div',
92
- { style: { float: 'left', marginTop: '10px' } },
93
- React__default.createElement(
94
- 'p',
95
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
96
- moment.moment(published).format('MMMM DD, YYYY ')
97
- ),
98
- author.length > 0 && React__default.createElement(
99
- 'p',
100
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
101
- 'By ',
102
- author
103
- )
104
- )
89
+ React__default.createElement('br', null)
105
90
  ),
106
91
  React__default.createElement(
107
- 'p',
92
+ 'div',
108
93
  { style: { float: 'left' } },
109
- summary
94
+ React__default.createElement(
95
+ 'p',
96
+ { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
97
+ moment.moment(published).format('MMMM DD, YYYY ')
98
+ ),
99
+ author.length > 0 && React__default.createElement(
100
+ 'p',
101
+ { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
102
+ 'By ',
103
+ author
104
+ ),
105
+ React__default.createElement(
106
+ 'p',
107
+ null,
108
+ summary
109
+ )
110
110
  )
111
111
  )
112
112
  )
@@ -55,14 +55,14 @@ var IssueDeck = function IssueDeck(props) {
55
55
  { style: { flexDirection: 'left' } },
56
56
  React__default.createElement(
57
57
  Col,
58
- { md: 12, lg: 4, className: 'body-image' },
58
+ { md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
59
59
  row.issues.length > 0 ? React__default.createElement(
60
60
  'a',
61
61
  { href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
62
62
  row.thumbnail && React__default.createElement(
63
63
  index$1.LazyLoad,
64
64
  { height: imageHeight },
65
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
65
+ React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
66
66
  )
67
67
  ) : React__default.createElement(
68
68
  'a',
@@ -70,7 +70,7 @@ var IssueDeck = function IssueDeck(props) {
70
70
  row.thumbnail && React__default.createElement(
71
71
  index$1.LazyLoad,
72
72
  { height: imageHeight },
73
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
73
+ React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
74
74
  )
75
75
  )
76
76
  ),
@@ -54,7 +54,12 @@ var PublicationDeck = function PublicationDeck(props) {
54
54
  row.childIssue && row.childIssue.thumbnail && React__default.createElement(
55
55
  index$1.LazyLoad,
56
56
  { height: imageHeight },
57
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), alt: row.name })
57
+ React__default.createElement(Card.Img, {
58
+ variant: 'top',
59
+ src: renderCardImage(row.childIssue.thumbnail),
60
+ alt: row.name,
61
+ style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' }
62
+ })
58
63
  ),
59
64
  React__default.createElement(
60
65
  Card.Body,
@@ -66,7 +71,7 @@ var PublicationDeck = function PublicationDeck(props) {
66
71
  ),
67
72
  React__default.createElement(
68
73
  Button,
69
- { style: { position: 'absolute', bottom: '1rem', left: '20%' }, variant: 'secondary' },
74
+ { style: { position: 'absolute', bottom: '1rem', left: '20%', margin: '0px' }, variant: 'secondary' },
70
75
  'Browse Issues'
71
76
  )
72
77
  )
@@ -81,27 +81,27 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
81
81
  null,
82
82
  title
83
83
  ),
84
- React__default.createElement('br', null),
85
- React__default.createElement(
86
- 'div',
87
- { style: { float: 'left', marginTop: '10px' } },
88
- React__default.createElement(
89
- 'p',
90
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
91
- moment(published).format('MMMM DD, YYYY ')
92
- ),
93
- author.length > 0 && React__default.createElement(
94
- 'p',
95
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
96
- 'By ',
97
- author
98
- )
99
- )
84
+ React__default.createElement('br', null)
100
85
  ),
101
86
  React__default.createElement(
102
- 'p',
87
+ 'div',
103
88
  { style: { float: 'left' } },
104
- summary
89
+ React__default.createElement(
90
+ 'p',
91
+ { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
92
+ moment(published).format('MMMM DD, YYYY ')
93
+ ),
94
+ author.length > 0 && React__default.createElement(
95
+ 'p',
96
+ { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
97
+ 'By ',
98
+ author
99
+ ),
100
+ React__default.createElement(
101
+ 'p',
102
+ null,
103
+ summary
104
+ )
105
105
  )
106
106
  )
107
107
  )
@@ -50,14 +50,14 @@ var IssueDeck = function IssueDeck(props) {
50
50
  { style: { flexDirection: 'left' } },
51
51
  React__default.createElement(
52
52
  Col,
53
- { md: 12, lg: 4, className: 'body-image' },
53
+ { md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
54
54
  row.issues.length > 0 ? React__default.createElement(
55
55
  'a',
56
56
  { href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
57
57
  row.thumbnail && React__default.createElement(
58
58
  LazyLoad,
59
59
  { height: imageHeight },
60
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
60
+ React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
61
61
  )
62
62
  ) : React__default.createElement(
63
63
  'a',
@@ -65,7 +65,7 @@ var IssueDeck = function IssueDeck(props) {
65
65
  row.thumbnail && React__default.createElement(
66
66
  LazyLoad,
67
67
  { height: imageHeight },
68
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
68
+ React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
69
69
  )
70
70
  )
71
71
  ),
@@ -49,7 +49,12 @@ var PublicationDeck = function PublicationDeck(props) {
49
49
  row.childIssue && row.childIssue.thumbnail && React__default.createElement(
50
50
  LazyLoad,
51
51
  { height: imageHeight },
52
- React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), alt: row.name })
52
+ React__default.createElement(Card.Img, {
53
+ variant: 'top',
54
+ src: renderCardImage(row.childIssue.thumbnail),
55
+ alt: row.name,
56
+ style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' }
57
+ })
53
58
  ),
54
59
  React__default.createElement(
55
60
  Card.Body,
@@ -61,7 +66,7 @@ var PublicationDeck = function PublicationDeck(props) {
61
66
  ),
62
67
  React__default.createElement(
63
68
  Button,
64
- { style: { position: 'absolute', bottom: '1rem', left: '20%' }, variant: 'secondary' },
69
+ { style: { position: 'absolute', bottom: '1rem', left: '20%', margin: '0px' }, variant: 'secondary' },
65
70
  'Browse Issues'
66
71
  )
67
72
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.348",
3
+ "version": "1.0.349",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",