@zonos/amino 5.5.37 → 5.5.38

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/utils/style.d.ts CHANGED
@@ -3,5 +3,5 @@ import type { CSSProperties } from 'react';
3
3
  * Filter out all of the undefined values from the object so we don't have undefined css variable values
4
4
  */
5
5
  export declare const style: (props: CSSProperties & {
6
- [key: string]: string | undefined;
6
+ [key: string]: string | number | undefined;
7
7
  }) => Record<string, string>;
package/utils/style.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("../tslib.es6-8c21e256.js");exports.style=function(r){return Object.entries(r).reduce((function(r,t){var s=e.__read(t,2),i=s[0],n=s[1];return void 0!==n&&(r[i]=n),r}),{})};
1
+ "use strict";var e=require("../tslib.es6-8c21e256.js");exports.style=function(r){return Object.entries(r).reduce((function(r,t){var i=e.__read(t,2),n=i[0],s=i[1];return void 0!==s&&""!==s&&(r[n]=s.toString()),r}),{})};