homeflowjs 1.0.96 → 1.0.98

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.
@@ -0,0 +1,9 @@
1
+ import replaceImageDimensions from "./replaceImageDimensions";
2
+
3
+ const imageURLwithSizeAndMrVersion = (url, width, height) => {
4
+ const imgWithDimmensions = replaceImageDimensions(url, width, height);
5
+
6
+ return imgWithDimmensions.replace('//mr1.homeflow', '//mr0.homeflow').replace('//mr2.homeflow', '//mr0.homeflow').replace('//mr3.homeflow', '//mr0.homeflow');
7
+ }
8
+
9
+ export default imageURLwithSizeAndMrVersion;
package/images/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import ResponsiveImage from "./responsive-image";
2
2
  import replaceImageDimensions from "./replaceImageDimensions";
3
+ import imageURLwithSizeAndMrVersion from "./imageURLwithSizeAndMrVersion";
3
4
 
4
5
  export {
5
6
  ResponsiveImage,
6
7
  replaceImageDimensions,
8
+ imageURLwithSizeAndMrVersion,
7
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -14,7 +14,8 @@ const SortOrderSelect = (props) => {
14
14
  reactSelect,
15
15
  className,
16
16
  defaultSort,
17
- propertiesForBranch
17
+ propertiesForBranch,
18
+ ...otherProps
18
19
  } = props;
19
20
 
20
21
  const { sorted } = search;
@@ -51,6 +52,7 @@ const SortOrderSelect = (props) => {
51
52
  setValue={() => sorted}
52
53
  isSearchable={false}
53
54
  onChange={handleChange}
55
+ {...otherProps}
54
56
  />
55
57
  );
56
58
  }
@@ -67,6 +69,7 @@ const SortOrderSelect = (props) => {
67
69
  value={sorted || defaultSort}
68
70
  onChange={handleChange}
69
71
  className={className}
72
+ {...otherProps}
70
73
  >
71
74
  {children}
72
75
  </select>