@open-tender/utils 0.1.167 → 0.1.168

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.
@@ -60,12 +60,16 @@ const buttonToPixels = (button) => {
60
60
  ? (0, exports.remsToPixels)(button.borderWidthApp)
61
61
  : (0, exports.remsToPixels)(button.borderWidth), fontSize: button.fontSize ? (0, exports.remsToPixels)(button.fontSize, true) : null, letterSpacing: button.letterSpacing
62
62
  ? (0, exports.remsToPixels)(button.letterSpacing)
63
+ : null, minHeightMobile: button.minHeightMobile
64
+ ? paddingToPixels(button.minHeightMobile)
63
65
  : null, padding: button.padding ? paddingToPixels(button.padding) : null, subtitleFontSizeMobile: button.subtitleFontSizeMobile
64
66
  ? (0, exports.remsToPixels)(button.subtitleFontSizeMobile)
65
67
  : null, subtitleMarginTopMobile: button.subtitleMarginTopMobile
66
68
  ? (0, exports.remsToPixels)(button.subtitleMarginTopMobile)
67
69
  : null, titleFontSizeMobile: button.titleFontSizeMobile
68
70
  ? (0, exports.remsToPixels)(button.titleFontSizeMobile)
71
+ : null, titleMarginTopMobile: button.titleMarginTopMobile
72
+ ? (0, exports.remsToPixels)(button.titleMarginTopMobile)
69
73
  : null, titleMarginLeftMobile: button.titleMarginLeftMobile
70
74
  ? (0, exports.remsToPixels)(button.titleMarginLeftMobile)
71
75
  : null });
@@ -51,12 +51,16 @@ const buttonToPixels = (button) => {
51
51
  ? remsToPixels(button.borderWidthApp)
52
52
  : remsToPixels(button.borderWidth), fontSize: button.fontSize ? remsToPixels(button.fontSize, true) : null, letterSpacing: button.letterSpacing
53
53
  ? remsToPixels(button.letterSpacing)
54
+ : null, minHeightMobile: button.minHeightMobile
55
+ ? paddingToPixels(button.minHeightMobile)
54
56
  : null, padding: button.padding ? paddingToPixels(button.padding) : null, subtitleFontSizeMobile: button.subtitleFontSizeMobile
55
57
  ? remsToPixels(button.subtitleFontSizeMobile)
56
58
  : null, subtitleMarginTopMobile: button.subtitleMarginTopMobile
57
59
  ? remsToPixels(button.subtitleMarginTopMobile)
58
60
  : null, titleFontSizeMobile: button.titleFontSizeMobile
59
61
  ? remsToPixels(button.titleFontSizeMobile)
62
+ : null, titleMarginTopMobile: button.titleMarginTopMobile
63
+ ? remsToPixels(button.titleMarginTopMobile)
60
64
  : null, titleMarginLeftMobile: button.titleMarginLeftMobile
61
65
  ? remsToPixels(button.titleMarginLeftMobile)
62
66
  : null });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.1.167",
3
+ "version": "0.1.168",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",