css-in-props 3.14.279 → 3.14.595

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # css-in-props
2
2
 
3
+ ## 3.14.595
4
+
5
+ ### Patch Changes
6
+
7
+ - Auto-generated cross-repo patch release.
8
+
9
+ ## 3.14.336
10
+
11
+ ### Patch Changes
12
+
13
+ - Auto-generated cross-repo patch release.
14
+
3
15
  ## 3.14.279
4
16
 
5
17
  ### Patch Changes
@@ -1 +1 @@
1
- "use strict";var f=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var y=(t,o)=>{for(var n in o)f(t,n,{get:o[n],enumerable:!0})},s=(t,o,n,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of F(o))!m.call(t,i)&&i!==n&&f(t,i,{get:()=>o[i],enumerable:!(r=g(o,i))||r.enumerable});return t};var S=t=>s(f({},"__esModule",{value:!0}),t);var a={};y(a,{FONT_PROPS:()=>h});module.exports=S(a);var e=require("@symbo.ls/scratch");const h={fontSize:t=>(0,e.getFontSizeByKey)(t)||t,fontFamily:t=>({fontFamily:(0,e.getFontFamily)(t)||t}),fontWeight:t=>({fontWeight:t,fontVariationSettings:'"wght" '+t})};
1
+ "use strict";var r=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var p=(t,n)=>{for(var e in n)r(t,e,{get:n[e],enumerable:!0})},a=(t,n,e,f)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of m(n))!g.call(t,i)&&i!==e&&r(t,i,{get:()=>n[i],enumerable:!(f=l(n,i))||f.enumerable});return t};var y=t=>a(r({},"__esModule",{value:!0}),t);var S={};p(S,{FONT_PROPS:()=>F});module.exports=y(S);var o=require("@symbo.ls/scratch");const F={fontSize:t=>(0,o.getFontSizeByKey)(t)||t,fontFamily:t=>({fontFamily:(0,o.getFontFamily)(t)||t}),fontWeight:t=>({fontWeight:t,fontVariationSettings:'"wght" '+t}),lineClamp:t=>{if(t!=null)return t==="none"?{WebkitLineClamp:"none",lineClamp:"none"}:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:String(t),lineClamp:String(t),overflow:"hidden"}}};
@@ -1 +1 @@
1
- "use strict";var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(n,s)=>{for(var e in s)r(n,e,{get:s[e],enumerable:!0})},p=(n,s,e,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of f(s))!l.call(n,t)&&t!==e&&r(n,t,{get:()=>s[t],enumerable:!(i=c(s,t))||i.enumerable});return n};var u=n=>p(r({},"__esModule",{value:!0}),n);var S={};d(S,{MISC_PROPS:()=>y});module.exports=u(S);const y={overflow:n=>({overflow:n,scrollBehavior:"smooth"}),cursor:(n,s,e,i)=>{if(!n)return;const t=i.assets&&i.assets[n];if(t&&t.content)n=`url(${t.content.src})`;else{const o=i.files&&i.files[n];o&&o.content&&(n=`url(${o.content.src})`)}return{cursor:n}},opacity:n=>n!=null?{opacity:String(n)}:void 0,visibility:n=>n!=null?{visibility:n}:void 0,pointerEvents:n=>n!=null?{pointerEvents:n}:void 0};
1
+ "use strict";var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(n,s)=>{for(var e in s)o(n,e,{get:s[e],enumerable:!0})},p=(n,s,e,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of f(s))!l.call(n,t)&&t!==e&&o(n,t,{get:()=>s[t],enumerable:!(i=c(s,t))||i.enumerable});return n};var u=n=>p(o({},"__esModule",{value:!0}),n);var S={};d(S,{MISC_PROPS:()=>y});module.exports=u(S);const y={overflow:n=>({overflow:n}),cursor:(n,s,e,i)=>{if(!n)return;const t=i.assets&&i.assets[n];if(t&&t.content)n=`url(${t.content.src})`;else{const r=i.files&&i.files[n];r&&r.content&&(n=`url(${r.content.src})`)}return{cursor:n}},opacity:n=>n!=null?{opacity:String(n)}:void 0,visibility:n=>n!=null?{visibility:n}:void 0,pointerEvents:n=>n!=null?{pointerEvents:n}:void 0};
@@ -1 +1 @@
1
- import{getFontSizeByKey as o,getFontFamily as i}from"@symbo.ls/scratch";const e={fontSize:t=>o(t)||t,fontFamily:t=>({fontFamily:i(t)||t}),fontWeight:t=>({fontWeight:t,fontVariationSettings:'"wght" '+t})};export{e as FONT_PROPS};
1
+ import{getFontSizeByKey as n,getFontFamily as i}from"@symbo.ls/scratch";const o={fontSize:t=>n(t)||t,fontFamily:t=>({fontFamily:i(t)||t}),fontWeight:t=>({fontWeight:t,fontVariationSettings:'"wght" '+t}),lineClamp:t=>{if(t!=null)return t==="none"?{WebkitLineClamp:"none",lineClamp:"none"}:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:String(t),lineClamp:String(t),overflow:"hidden"}}};export{o as FONT_PROPS};
@@ -1 +1 @@
1
- const r={overflow:n=>({overflow:n,scrollBehavior:"smooth"}),cursor:(n,e,o,s)=>{if(!n)return;const t=s.assets&&s.assets[n];if(t&&t.content)n=`url(${t.content.src})`;else{const i=s.files&&s.files[n];i&&i.content&&(n=`url(${i.content.src})`)}return{cursor:n}},opacity:n=>n!=null?{opacity:String(n)}:void 0,visibility:n=>n!=null?{visibility:n}:void 0,pointerEvents:n=>n!=null?{pointerEvents:n}:void 0};export{r as MISC_PROPS};
1
+ const o={overflow:n=>({overflow:n}),cursor:(n,e,r,s)=>{if(!n)return;const t=s.assets&&s.assets[n];if(t&&t.content)n=`url(${t.content.src})`;else{const i=s.files&&s.files[n];i&&i.content&&(n=`url(${i.content.src})`)}return{cursor:n}},opacity:n=>n!=null?{opacity:String(n)}:void 0,visibility:n=>n!=null?{visibility:n}:void 0,pointerEvents:n=>n!=null?{pointerEvents:n}:void 0};export{o as MISC_PROPS};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "css-in-props",
3
3
  "description": "Utilize props as CSS methods",
4
4
  "author": "symbo.ls",
5
- "version": "3.14.279",
5
+ "version": "3.14.595",
6
6
  "repository": "https://github.com/symbo-ls/smbls",
7
7
  "type": "module",
8
8
  "module": "./dist/esm/index.js",