sfc-utils 1.3.55 → 1.3.56

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.
@@ -17,7 +17,7 @@ const ImageHTML = ({fullPath, imageRez, alt, isFullScreenTopper}) => {
17
17
  )
18
18
  }
19
19
 
20
- const WCMImage = ({ wcm, alt, isNotLazyloaded, ratio, wcmData, lazyloader, isFullScreenTopper }) => {
20
+ const WCMImage = ({ wcm, alt, ratio, wcmData, lazyloader, isFullScreenTopper }) => {
21
21
  // When the wrapping div is rendered, we're going to figure out the best size for this image to be
22
22
  let picRef = useRef(null)
23
23
  let [imageRez, setImageRez] = useState(0)
@@ -92,12 +92,11 @@ const WCMImage = ({ wcm, alt, isNotLazyloaded, ratio, wcmData, lazyloader, isFul
92
92
 
93
93
  return (
94
94
  <div ref={picRef}>
95
- {!isNotLazyloaded && (
95
+
96
96
  <LazyLoaderHTML>
97
97
  <ImageHTML fullPath={fullPath} imageRez={imageRez} alt={alt} isFullScreenTopper={isFullScreenTopper}/>
98
98
  </LazyLoaderHTML>
99
- )}
100
- {isNotLazyloaded && <ImageHTML fullPath={fullPath} imageRez={imageRez} alt={alt} isFullScreenTopper={isFullScreenTopper}/>}
99
+
101
100
  </div>
102
101
  )
103
102
  }
@@ -105,7 +104,6 @@ const WCMImage = ({ wcm, alt, isNotLazyloaded, ratio, wcmData, lazyloader, isFul
105
104
  WCMImage.propTypes = {
106
105
  wcm: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
107
106
  alt: PropTypes.string.isRequired,
108
- isLazyloaded: PropTypes.bool,
109
107
  ratio: PropTypes.string,
110
108
  lazyloader: PropTypes.element
111
109
  }
package/copy/c2p_sheet.js CHANGED
@@ -63,7 +63,7 @@ let createSheet = (auth, fallback, configData) => {
63
63
 
64
64
  const drive = google.drive({ version: "v3", auth });
65
65
  const body = { title: "New C2P sheet" };
66
- const templateId = "1juVrba9UNHVZV13e23o0gcwOw8YzX_1b7uxTI_jv7_4";
66
+ const templateId = "1DUvYnFdxtBv1AXcDI9X00s_opUSu4uHJmd5LNemCN9E";
67
67
  drive.files.copy(
68
68
  {
69
69
  fileId: templateId, // Base template
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.55",
3
+ "version": "1.3.56",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",
@@ -29,7 +29,7 @@
29
29
 
30
30
  //widths
31
31
  @xs: 320px;
32
- @sm: 400px;
32
+ @sm: 480px;
33
33
  @md: 672px;
34
34
  @lg: 928px;
35
35
  @xl: 1200px;
@@ -140,4 +140,4 @@
140
140
  @purple-75: #AC84A5;
141
141
  @purple-50: #C1A3BC;
142
142
  @purple-25: #D6C1D3;
143
- @purple-0: #EBE0E9;
143
+ @purple-0: #EBE0E9;