oncss 1.1.13 → 1.1.14

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/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(r,o)=>{for(var e in o)a(r,e,{get:o[e],enumerable:!0})},S=(r,o,e,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of C(o))!l.call(r,t)&&t!==e&&a(r,t,{get:()=>o[t],enumerable:!(n=f(o,t))||n.enumerable});return r},i=(r,o,e)=>(S(r,o,"default"),e&&S(e,o,"default"));var d=r=>S(a({},"__esModule",{value:!0}),r);var p={};c(p,{CSSFactory:()=>s.CSSFactory,css:()=>m,default:()=>x,formatCSSProp:()=>s.formatCSSProp,formatCSSValue:()=>s.formatCSSValue});module.exports=d(p);var y=require("./core"),s=require("./core");i(p,require("./types"),module.exports);const m=(r,o)=>(0,y.style)(r,void 0,o);var x=m;
1
+ "use strict";var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(e,o)=>{for(var r in o)a(e,r,{get:o[r],enumerable:!0})},S=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of m(o))!l.call(e,t)&&t!==r&&a(e,t,{get:()=>o[t],enumerable:!(n=f(o,t))||n.enumerable});return e},i=(e,o,r)=>(S(e,o,"default"),r&&S(r,o,"default"));var x=e=>S(a({},"__esModule",{value:!0}),e);var p={};c(p,{CSSFactory:()=>s.CSSFactory,css:()=>C,default:()=>P,formatCSSProp:()=>s.formatCSSProp,formatCSSValue:()=>s.formatCSSValue});module.exports=x(p);var y=require("./core"),s=require("./core");i(p,require("./types"),module.exports);const C=(e,o)=>(0,y.style)(e,void 0,o);var P=C;
2
2
  //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["import youid from \"youid\";\r\nimport { style } from \"./core\";\r\nimport { CSSProps, CSSOptionProps, CSSFactoryType } from \"./types\";\r\nexport { CSSFactory, formatCSSProp, formatCSSValue } from './core'\r\nexport * from './types'\r\n\r\nexport const css = <Aliases, BreakpointKeys extends string>(_css: CSSProps<Aliases, BreakpointKeys>, options?: CSSOptionProps<Aliases, BreakpointKeys>): CSSFactoryType => style<Aliases, BreakpointKeys>(_css, undefined, options) as any\r\nexport default css"],
5
- "mappings": "2dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qCAAAE,EAAA,YAAAC,EAAA,uFAAAC,EAAAJ,GACA,IAAAK,EAAsB,kBAEtBA,EAA0D,kBAC1DC,EAAAN,EAAc,mBAJd,gBAMO,MAAME,EAAM,CAAyCK,EAAyCC,OAAsE,SAA+BD,EAAM,OAAWC,CAAO,EAClO,IAAOL,EAAQD",
4
+ "sourcesContent": ["import { style } from \"./core\";\r\nimport { CSSProps, CSSOptionProps, CSSFactoryType } from \"./types\";\r\nexport { CSSFactory, formatCSSProp, formatCSSValue } from './core'\r\nexport * from './types'\r\n\r\nexport const css = <Aliases, BreakpointKeys extends string>(_css: CSSProps<Aliases, BreakpointKeys>, options?: CSSOptionProps<Aliases, BreakpointKeys>): CSSFactoryType => style<Aliases, BreakpointKeys>(_css, undefined, options) as any\r\nexport default css"],
5
+ "mappings": "2dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,qCAAAE,EAAA,YAAAC,EAAA,uFAAAC,EAAAJ,GAAA,IAAAK,EAAsB,kBAEtBA,EAA0D,kBAC1DC,EAAAN,EAAc,mBAHd,gBAKO,MAAME,EAAM,CAAyCK,EAAyCC,OAAsE,SAA+BD,EAAM,OAAWC,CAAO,EAClO,IAAOL,EAAQD",
6
6
  "names": ["index_exports", "__export", "css", "index_default", "__toCommonJS", "import_core", "__reExport", "_css", "options"]
7
7
  }
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{style as e}from"./core";import{CSSFactory as l,formatCSSProp as c,formatCSSValue as d}from"./core";export*from"./types";const s=(o,r)=>e(o,void 0,r);var m=s;export{l as CSSFactory,s as css,m as default,c as formatCSSProp,d as formatCSSValue};
1
+ import{style as r}from"./core";import{CSSFactory as f,formatCSSProp as m,formatCSSValue as l}from"./core";export*from"./types";const s=(o,e)=>r(o,void 0,e);var n=s;export{f as CSSFactory,s as css,n as default,m as formatCSSProp,l as formatCSSValue};
2
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.ts"],
4
- "sourcesContent": ["import youid from \"youid\";\r\nimport { style } from \"./core\";\r\nimport { CSSProps, CSSOptionProps, CSSFactoryType } from \"./types\";\r\nexport { CSSFactory, formatCSSProp, formatCSSValue } from './core'\r\nexport * from './types'\r\n\r\nexport const css = <Aliases, BreakpointKeys extends string>(_css: CSSProps<Aliases, BreakpointKeys>, options?: CSSOptionProps<Aliases, BreakpointKeys>): CSSFactoryType => style<Aliases, BreakpointKeys>(_css, undefined, options) as any\r\nexport default css"],
5
- "mappings": "AACA,OAAS,SAAAA,MAAa,SAEtB,OAAS,cAAAC,EAAY,iBAAAC,EAAe,kBAAAC,MAAsB,SAC1D,WAAc,UAEP,MAAMC,EAAM,CAAyCC,EAAyCC,IAAsEN,EAA+BK,EAAM,OAAWC,CAAO,EAClO,IAAOC,EAAQH",
4
+ "sourcesContent": ["import { style } from \"./core\";\r\nimport { CSSProps, CSSOptionProps, CSSFactoryType } from \"./types\";\r\nexport { CSSFactory, formatCSSProp, formatCSSValue } from './core'\r\nexport * from './types'\r\n\r\nexport const css = <Aliases, BreakpointKeys extends string>(_css: CSSProps<Aliases, BreakpointKeys>, options?: CSSOptionProps<Aliases, BreakpointKeys>): CSSFactoryType => style<Aliases, BreakpointKeys>(_css, undefined, options) as any\r\nexport default css"],
5
+ "mappings": "AAAA,OAAS,SAAAA,MAAa,SAEtB,OAAS,cAAAC,EAAY,iBAAAC,EAAe,kBAAAC,MAAsB,SAC1D,WAAc,UAEP,MAAMC,EAAM,CAAyCC,EAAyCC,IAAsEN,EAA+BK,EAAM,OAAWC,CAAO,EAClO,IAAOC,EAAQH",
6
6
  "names": ["style", "CSSFactory", "formatCSSProp", "formatCSSValue", "css", "_css", "options", "index_default"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oncss",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "A CSS framework for modern web development.",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./index.js",
@@ -36,5 +36,18 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "youid": "^1.0.5"
39
+ },
40
+ "exports": {
41
+ ".": {
42
+ "types": "./types/index.d.ts",
43
+ "import": "./index.js",
44
+ "require": "./cjs/index.js"
45
+ },
46
+ "./types/*": "./types/*.d.ts",
47
+ "./cjs/*": "./cjs/*.js",
48
+ "./*": {
49
+ "import": "./*.js",
50
+ "require": "./cjs/*.js"
51
+ }
39
52
  }
40
53
  }