@open-tender/utils 0.1.115 → 0.1.116
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/dist/.DS_Store +0 -0
- package/dist/cjs/utils/theme.js +1 -1
- package/dist/esm/utils/theme.js +1 -1
- package/package.json +1 -1
package/dist/.DS_Store
CHANGED
|
Binary file
|
package/dist/cjs/utils/theme.js
CHANGED
|
@@ -53,7 +53,7 @@ const boxRemsToPixels = (box) => {
|
|
|
53
53
|
.split(' ')
|
|
54
54
|
.map(i => (0, exports.remsToPixels)(i))
|
|
55
55
|
.join(' ');
|
|
56
|
-
return pixels === '0 0 0 0' ? '
|
|
56
|
+
return pixels === '0 0 0 0' ? '0px' : pixels;
|
|
57
57
|
};
|
|
58
58
|
const buttonToPixels = (button) => {
|
|
59
59
|
return Object.assign(Object.assign({}, button), { borderRadius: (0, exports.remsToPixels)(button.borderRadius), borderWidth: (0, exports.remsToPixels)(button.borderWidth), borderWidthApp: button.borderWidthApp
|
package/dist/esm/utils/theme.js
CHANGED
|
@@ -44,7 +44,7 @@ const boxRemsToPixels = (box) => {
|
|
|
44
44
|
.split(' ')
|
|
45
45
|
.map(i => remsToPixels(i))
|
|
46
46
|
.join(' ');
|
|
47
|
-
return pixels === '0 0 0 0' ? '
|
|
47
|
+
return pixels === '0 0 0 0' ? '0px' : pixels;
|
|
48
48
|
};
|
|
49
49
|
const buttonToPixels = (button) => {
|
|
50
50
|
return Object.assign(Object.assign({}, button), { borderRadius: remsToPixels(button.borderRadius), borderWidth: remsToPixels(button.borderWidth), borderWidthApp: button.borderWidthApp
|
package/package.json
CHANGED