Comparing version 0.4.0 to 0.4.1
@@ -1,3 +0,3 @@ | ||
import { GwenBaseSimplified } from './GwenBaseSimplified'; | ||
export declare class Gwen extends GwenBaseSimplified { | ||
import { GwenBase } from './GwenBase'; | ||
export declare class Gwen extends GwenBase { | ||
static make: (...args: Gwen[]) => Gwen; | ||
@@ -4,0 +4,0 @@ get f0(): this; |
@@ -5,44 +5,31 @@ import { GwenBaseBase } from './GwenBaseBase'; | ||
get row(): this; | ||
get fdr(): this; | ||
get fdrr(): this; | ||
get fdc(): this; | ||
get rowr(): this; | ||
get col(): this; | ||
get column(): this; | ||
get fdcr(): this; | ||
get fww(): this; | ||
get fwwr(): this; | ||
get fwnw(): this; | ||
get aic(): this; | ||
get aist(): this; | ||
get aifs(): this; | ||
get aife(): this; | ||
get aib(): this; | ||
get asc(): this; | ||
get ass(): this; | ||
get asfs(): this; | ||
get asfe(): this; | ||
get asb(): this; | ||
get jcc(): this; | ||
get jcfs(): this; | ||
get jcfe(): this; | ||
get jcsb(): this; | ||
get jcsa(): this; | ||
get jcse(): this; | ||
get jic(): this; | ||
get jis(): this; | ||
get jie(): this; | ||
get jist(): this; | ||
get jib(): this; | ||
get jifb(): this; | ||
get jilb(): this; | ||
get colr(): this; | ||
get wrap(): this; | ||
get wrapr(): this; | ||
get nowrap(): this; | ||
get ac(): this; | ||
get ast(): this; | ||
get as(): this; | ||
get ae(): this; | ||
get ab(): this; | ||
get jc(): this; | ||
get js(): this; | ||
get je(): this; | ||
get jsb(): this; | ||
get jsa(): this; | ||
get jse(): this; | ||
get white(): this; | ||
get black(): this; | ||
get underline(): this; | ||
get tdn(): this; | ||
get visible(): this; | ||
get hidden(): this; | ||
get wbn(): this; | ||
get wbba(): this; | ||
get wbka(): this; | ||
get wbbw(): this; | ||
get toc(): this; | ||
get toe(): this; | ||
get scroll(): this; | ||
get scrollx(): this; | ||
get scrolly(): this; | ||
get pointer(): this; | ||
get ellipsis(): this; | ||
get bold(): this; | ||
@@ -54,4 +41,4 @@ get bolder(): this; | ||
get fill(): this; | ||
get upper(): this; | ||
get lower(): this; | ||
get uppercase(): this; | ||
get lowercase(): this; | ||
get caps(): this; | ||
@@ -65,6 +52,6 @@ get tal(): this; | ||
get full(): this; | ||
get ofh(): this; | ||
get ofv(): this; | ||
get ofs(): this; | ||
get ofa(): this; | ||
get oh(): this; | ||
get ov(): this; | ||
get os(): this; | ||
get oa(): this; | ||
get smallcaps(): this; | ||
@@ -78,11 +65,2 @@ /** | ||
hover: (delta: (t: this) => this) => this; | ||
get db(): this; | ||
get di(): this; | ||
get df(): this; | ||
get dg(): this; | ||
get dib(): this; | ||
get dif(): this; | ||
get dig(): this; | ||
get vam(): this; | ||
get ma(): this; | ||
pseudo: (cond: string, delta: (t: this) => this) => this; | ||
@@ -89,0 +67,0 @@ media: (conditions: { |
@@ -21,2 +21,3 @@ "use strict"; | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
// TODO: cursors | ||
_this.hover = function (delta) { | ||
@@ -90,16 +91,6 @@ var _a; | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fdr", { | ||
Object.defineProperty(GwenBase.prototype, "rowr", { | ||
get: function () { | ||
return this.css({ | ||
display: 'flex', | ||
flexDirection: 'row', | ||
}); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fdrr", { | ||
get: function () { | ||
return this.css({ | ||
display: 'flex', | ||
flexDirection: 'row-reverse', | ||
@@ -111,3 +102,3 @@ }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fdc", { | ||
Object.defineProperty(GwenBase.prototype, "col", { | ||
get: function () { | ||
@@ -132,3 +123,3 @@ return this.css({ | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fdcr", { | ||
Object.defineProperty(GwenBase.prototype, "colr", { | ||
get: function () { | ||
@@ -143,3 +134,3 @@ return this.css({ | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fww", { | ||
Object.defineProperty(GwenBase.prototype, "wrap", { | ||
get: function () { | ||
@@ -151,3 +142,3 @@ return this.css({ flexWrap: 'wrap' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fwwr", { | ||
Object.defineProperty(GwenBase.prototype, "wrapr", { | ||
get: function () { | ||
@@ -159,3 +150,3 @@ return this.css({ flexWrap: 'wrap-reverse' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "fwnw", { | ||
Object.defineProperty(GwenBase.prototype, "nowrap", { | ||
get: function () { | ||
@@ -167,3 +158,3 @@ return this.css({ flexWrap: 'nowrap' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "aic", { | ||
Object.defineProperty(GwenBase.prototype, "ac", { | ||
get: function () { | ||
@@ -175,3 +166,3 @@ return this.css({ alignItems: 'center' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "aist", { | ||
Object.defineProperty(GwenBase.prototype, "ast", { | ||
get: function () { | ||
@@ -183,3 +174,3 @@ return this.css({ alignItems: 'stretch' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "aifs", { | ||
Object.defineProperty(GwenBase.prototype, "as", { | ||
get: function () { | ||
@@ -191,3 +182,3 @@ return this.css({ alignItems: 'flex-start' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "aife", { | ||
Object.defineProperty(GwenBase.prototype, "ae", { | ||
get: function () { | ||
@@ -199,3 +190,3 @@ return this.css({ alignItems: 'flex-end' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "aib", { | ||
Object.defineProperty(GwenBase.prototype, "ab", { | ||
get: function () { | ||
@@ -207,39 +198,4 @@ return this.css({ alignItems: 'baseline' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "asc", { | ||
Object.defineProperty(GwenBase.prototype, "jc", { | ||
get: function () { | ||
return this.css({ alignSelf: 'center' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ass", { | ||
get: function () { | ||
return this.css({ alignSelf: 'stretch' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "asfs", { | ||
get: function () { | ||
return this.css({ alignSelf: 'flex-start' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "asfe", { | ||
get: function () { | ||
return this.css({ alignSelf: 'flex-end' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "asb", { | ||
get: function () { | ||
return this.css({ alignSelf: 'baseline' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcc", { | ||
get: function () { | ||
return this.css({ justifyContent: 'center' }); | ||
@@ -250,3 +206,3 @@ }, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcfs", { | ||
Object.defineProperty(GwenBase.prototype, "js", { | ||
get: function () { | ||
@@ -258,3 +214,3 @@ return this.css({ justifyContent: 'flex-start' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcfe", { | ||
Object.defineProperty(GwenBase.prototype, "je", { | ||
get: function () { | ||
@@ -266,3 +222,3 @@ return this.css({ justifyContent: 'flex-end' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcsb", { | ||
Object.defineProperty(GwenBase.prototype, "jsb", { | ||
get: function () { | ||
@@ -274,3 +230,3 @@ return this.css({ justifyContent: 'space-between' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcsa", { | ||
Object.defineProperty(GwenBase.prototype, "jsa", { | ||
get: function () { | ||
@@ -282,3 +238,3 @@ return this.css({ justifyContent: 'space-around' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jcse", { | ||
Object.defineProperty(GwenBase.prototype, "jse", { | ||
get: function () { | ||
@@ -290,51 +246,2 @@ return this.css({ justifyContent: 'space-evenly' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jic", { | ||
get: function () { | ||
return this.css({ justifyItems: 'center' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jis", { | ||
get: function () { | ||
return this.css({ justifyItems: 'start' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jie", { | ||
get: function () { | ||
return this.css({ justifyItems: 'end' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jist", { | ||
get: function () { | ||
return this.css({ justifyItems: 'stretch' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jib", { | ||
get: function () { | ||
return this.css({ justifyItems: 'baseline' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jifb", { | ||
get: function () { | ||
return this.css({ justifyItems: 'first baseline' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "jilb", { | ||
get: function () { | ||
return this.css({ justifyItems: 'last baseline' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "white", { | ||
@@ -361,5 +268,5 @@ get: function () { | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "visible", { | ||
Object.defineProperty(GwenBase.prototype, "tdn", { | ||
get: function () { | ||
return this.css({ visibility: 'visible' }); | ||
return this.css({ textDecoration: 'none' }); | ||
}, | ||
@@ -369,5 +276,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "hidden", { | ||
Object.defineProperty(GwenBase.prototype, "visible", { | ||
get: function () { | ||
return this.css({ visibility: 'hidden' }); | ||
return this.css({ visibility: 'visible' }); | ||
}, | ||
@@ -377,5 +284,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "wbn", { | ||
Object.defineProperty(GwenBase.prototype, "hidden", { | ||
get: function () { | ||
return this.css({ wordBreak: 'normal' }); | ||
return this.css({ visibility: 'hidden' }); | ||
}, | ||
@@ -385,5 +292,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "wbba", { | ||
Object.defineProperty(GwenBase.prototype, "scroll", { | ||
get: function () { | ||
return this.css({ wordBreak: 'break-all' }); | ||
return this.css({ overflow: 'scroll' }); | ||
}, | ||
@@ -393,5 +300,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "wbka", { | ||
Object.defineProperty(GwenBase.prototype, "scrollx", { | ||
get: function () { | ||
return this.css({ wordBreak: 'keep-all' }); | ||
return this.css({ overflowX: 'scroll' }); | ||
}, | ||
@@ -401,5 +308,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "wbbw", { | ||
Object.defineProperty(GwenBase.prototype, "scrolly", { | ||
get: function () { | ||
return this.css({ wordBreak: 'break-word' }); | ||
return this.css({ overflowY: 'scroll' }); | ||
}, | ||
@@ -409,5 +316,5 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "toc", { | ||
Object.defineProperty(GwenBase.prototype, "pointer", { | ||
get: function () { | ||
return this.css({ textOverflow: 'clip' }); | ||
return this.css({ cursor: 'pointer' }); | ||
}, | ||
@@ -417,3 +324,3 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "toe", { | ||
Object.defineProperty(GwenBase.prototype, "ellipsis", { | ||
get: function () { | ||
@@ -467,3 +374,3 @@ return this.css({ textOverflow: 'ellipsis' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "upper", { | ||
Object.defineProperty(GwenBase.prototype, "uppercase", { | ||
get: function () { | ||
@@ -475,3 +382,3 @@ return this.css({ textTransform: 'uppercase' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "lower", { | ||
Object.defineProperty(GwenBase.prototype, "lowercase", { | ||
get: function () { | ||
@@ -539,3 +446,3 @@ return this.css({ textTransform: 'lowercase' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ofh", { | ||
Object.defineProperty(GwenBase.prototype, "oh", { | ||
get: function () { | ||
@@ -547,3 +454,3 @@ return this.css({ overflow: 'hidden' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ofv", { | ||
Object.defineProperty(GwenBase.prototype, "ov", { | ||
get: function () { | ||
@@ -555,3 +462,3 @@ return this.css({ overflow: 'visible' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ofs", { | ||
Object.defineProperty(GwenBase.prototype, "os", { | ||
get: function () { | ||
@@ -563,3 +470,3 @@ return this.css({ overflow: 'scroll' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ofa", { | ||
Object.defineProperty(GwenBase.prototype, "oa", { | ||
get: function () { | ||
@@ -596,65 +503,2 @@ return this.css({ overflow: 'auto' }); | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "db", { | ||
get: function () { | ||
return this.css({ display: 'block' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "di", { | ||
get: function () { | ||
return this.css({ display: 'inline' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "df", { | ||
get: function () { | ||
return this.css({ display: 'flex' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "dg", { | ||
get: function () { | ||
return this.css({ display: 'grid' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "dib", { | ||
get: function () { | ||
return this.css({ display: 'inline-block' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "dif", { | ||
get: function () { | ||
return this.css({ display: 'inline-flex' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "dig", { | ||
get: function () { | ||
return this.css({ display: 'inline-grid' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "vam", { | ||
get: function () { | ||
return this.css({ verticalAlign: 'middle' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(GwenBase.prototype, "ma", { | ||
get: function () { | ||
return this.css({ margin: 'auto' }); | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
return GwenBase; | ||
@@ -661,0 +505,0 @@ }(GwenBaseBase_1.GwenBaseBase)); |
@@ -89,3 +89,3 @@ "use strict"; | ||
} | ||
return _this.cx(flattenArg(args).map(function (x) { return x.name; })); | ||
return _this.cx.apply(_this, flattenArg(args).map(function (x) { return x.name; })); | ||
}; | ||
@@ -92,0 +92,0 @@ this.alignContent = function (arg) { return _this.css({ alignContent: arg }); }; |
{ | ||
"name": "gwen", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A utility-first CSS library designed for brevity", | ||
@@ -58,2 +58,2 @@ "main": "./lib/src/index.js", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1026781
22608
0