@homebound/truss 1.134.0 → 1.136.0
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/build/sections/tachyons/borderColors.js +1 -1
- package/build/sections/tachyons/borderColors.js.map +1 -1
- package/build/sections/tachyons/borderStyles.js +2 -2
- package/build/sections/tachyons/borderStyles.js.map +1 -1
- package/build/sections/tachyons/boxShadow.js +1 -0
- package/build/sections/tachyons/boxShadow.js.map +1 -1
- package/build/sections/tachyons/flexbox.js +2 -2
- package/build/sections/tachyons/flexbox.js.map +1 -1
- package/build/sections/tachyons/fontWeight.js +2 -2
- package/build/sections/tachyons/fontWeight.js.map +1 -1
- package/build/sections/tachyons/overflow.js +12 -12
- package/build/sections/tachyons/overflow.js.map +1 -1
- package/build/sections/tachyons/textAlign.js +4 -4
- package/build/sections/tachyons/textAlign.js.map +1 -1
- package/build/sections/tachyons/textDecoration.js +3 -3
- package/build/sections/tachyons/textDecoration.js.map +1 -1
- package/build/sections/tachyons/typeScale.d.ts +1 -0
- package/build/sections/tachyons/typeScale.js +12 -2
- package/build/sections/tachyons/typeScale.js.map +1 -1
- package/build/sections/tachyons/typography.js +28 -4
- package/build/sections/tachyons/typography.js.map +1 -1
- package/build/sections/tachyons/userSelect.js +4 -4
- package/build/sections/tachyons/userSelect.js.map +1 -1
- package/build/sections/tachyons/verticalAlign.js +4 -4
- package/build/sections/tachyons/verticalAlign.js.map +1 -1
- package/build/sections/tachyons/visibility.js +2 -2
- package/build/sections/tachyons/visibility.js.map +1 -1
- package/build/sections/tachyons/whitespace.js +0 -4
- package/build/sections/tachyons/whitespace.js.map +1 -1
- package/build/sections/tachyons/wordBreak.js +4 -4
- package/build/sections/tachyons/wordBreak.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ var borderColor = function (_a) {
|
|
|
22
22
|
var palette = _a.palette;
|
|
23
23
|
var defs = Object.fromEntries(Object.entries(palette).map(function (_a) {
|
|
24
24
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
25
|
-
return ["
|
|
25
|
+
return ["bc".concat(key), value];
|
|
26
26
|
}));
|
|
27
27
|
return (0, methods_1.newMethodsForProp)("borderColor", defs, "bc");
|
|
28
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borderColors.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderColors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,yCAAgD;AAEzC,IAAM,WAAW,GAAoB,UAAC,EAAW;QAAT,OAAO,aAAA;IACpD,IAAM,IAAI,GAAG,MAAM,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"borderColors.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderColors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AACA,yCAAgD;AAEzC,IAAM,WAAW,GAAoB,UAAC,EAAW;QAAT,OAAO,aAAA;IACpD,IAAM,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAZ,KAAA,aAAY,EAAX,GAAG,QAAA,EAAE,KAAK,QAAA;QAAM,OAAA,CAAC,YAAK,GAAG,CAAE,EAAE,KAAK,CAAC;IAAnB,CAAmB,CAAC,CAAC,CAAC;IACpG,OAAO,IAAA,2BAAiB,EAAC,aAAa,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,CAAC,CAAC;AAHW,QAAA,WAAW,eAGtB"}
|
|
@@ -8,8 +8,8 @@ var borderStyle = function () {
|
|
|
8
8
|
return (0, methods_1.newMethodsForProp)("borderStyle", {
|
|
9
9
|
bsDashed: "dashed",
|
|
10
10
|
bsDotted: "dotted",
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
bsn: "none",
|
|
12
|
+
bss: "solid",
|
|
13
13
|
}, "bs");
|
|
14
14
|
};
|
|
15
15
|
exports.borderStyle = borderStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borderStyles.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderStyles.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,0CAA0C;AAC1C,iDAAiD;AAC1C,IAAM,WAAW,GAAoB;IAC1C,OAAA,IAAA,2BAAiB,EACf,aAAa,EACb;QACE,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,QAAQ;QAClB,
|
|
1
|
+
{"version":3,"file":"borderStyles.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderStyles.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,0CAA0C;AAC1C,iDAAiD;AAC1C,IAAM,WAAW,GAAoB;IAC1C,OAAA,IAAA,2BAAiB,EACf,aAAa,EACb;QACE,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,QAAQ;QAClB,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,OAAO;KACb,EACD,IAAI,CACL;AATD,CASC,CAAC;AAVS,QAAA,WAAW,eAUpB"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.boxShadow = void 0;
|
|
4
4
|
var methods_1 = require("../../methods");
|
|
5
5
|
var boxShadow = function () { return [
|
|
6
|
+
// bsn is taken by `borderStyle: none`.
|
|
6
7
|
(0, methods_1.newMethod)("shadowNone", { boxShadow: "none" }),
|
|
7
8
|
]; };
|
|
8
9
|
exports.boxShadow = boxShadow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boxShadow.js","sourceRoot":"","sources":["../../../src/sections/tachyons/boxShadow.ts"],"names":[],"mappings":";;;AAAA,yCAAwC;AAGjC,IAAM,SAAS,GAAoB,cAAM,OAAA;IAC9C,IAAA,mBAAS,EAAC,YAAY,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;CAC/C,
|
|
1
|
+
{"version":3,"file":"boxShadow.js","sourceRoot":"","sources":["../../../src/sections/tachyons/boxShadow.ts"],"names":[],"mappings":";;;AAAA,yCAAwC;AAGjC,IAAM,SAAS,GAAoB,cAAM,OAAA;IAC9C,uCAAuC;IACvC,IAAA,mBAAS,EAAC,YAAY,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;CAC/C,EAH+C,CAG/C,CAAC;AAHW,QAAA,SAAS,aAGpB"}
|
|
@@ -34,7 +34,7 @@ var methods_1 = require("../../methods");
|
|
|
34
34
|
// flex on a day-to-day basis, we don't need the longer "not-Tachyons-ish" names
|
|
35
35
|
// that Tachyons originally picked (i.e. maybe because the flex properties were
|
|
36
36
|
// "too new/different" at the time of adding them?).
|
|
37
|
-
var flexbox = function () { return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(
|
|
37
|
+
var flexbox = function () { return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, methods_1.newMethodsForProp)("flex", {
|
|
38
38
|
fi: "initial",
|
|
39
39
|
fa: "auto",
|
|
40
40
|
fn: "none",
|
|
@@ -113,7 +113,7 @@ var flexbox = function () { return __spreadArray(__spreadArray(__spreadArray(__s
|
|
|
113
113
|
fb6: "16.666666%",
|
|
114
114
|
fb7: "14.285714%",
|
|
115
115
|
fb0: "12.5%",
|
|
116
|
-
}, "fb")), false), __read((0, methods_1.newMethodsForProp)("
|
|
116
|
+
}, "fb")), false), __read((0, methods_1.newMethodsForProp)("flexGrow", { fg0: 0, fg1: 1 })), false), __read((0, methods_1.newMethodsForProp)("flexShrink", { fs0: 0, fs1: 1 })), false), __read((0, methods_1.newMethodsForProp)("flexDirection", {
|
|
117
117
|
fdr: "row",
|
|
118
118
|
fdrr: "row-reverse",
|
|
119
119
|
fdc: "column",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexbox.js","sourceRoot":"","sources":["../../../src/sections/tachyons/flexbox.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAgE;AAEhE,4CAA4C;AAC5C,4EAA4E;AAC5E,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,+EAA+E;AAC/E,oDAAoD;AAC7C,IAAM,OAAO,GAAoB,cAAM,
|
|
1
|
+
{"version":3,"file":"flexbox.js","sourceRoot":"","sources":["../../../src/sections/tachyons/flexbox.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAgE;AAEhE,4CAA4C;AAC5C,4EAA4E;AAC5E,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,+EAA+E;AAC/E,oDAAoD;AAC7C,IAAM,OAAO,GAAoB,cAAM,oOACzC,IAAA,2BAAiB,EAClB,MAAM,EACN;IACE,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;CACR,EACD,GAAG,CACJ,kBACE,IAAA,2BAAiB,EAClB,gBAAgB,EAChB;IACE,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,cAAc;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,aAAa,EACb;IACE,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,KAAK;CACX,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,cAAc,EACd;IACE,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,cAAc;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,WAAW,EACX;IACE,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,SAAS;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,YAAY,EACZ;IACE,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,SAAS;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,WAAW,EACX;IACE,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,SAAS;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,cAAc,EACd;IACE,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,cAAc;IACpB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,SAAS;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,YAAY,EACZ;IACE,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,cAAc;IACpB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,SAAS;CACrB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,WAAW;AACX,kEAAkE;AAClE;IACE,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,OAAO;CACb,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAAC,UAAU,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,kBACjD,IAAA,2BAAiB,EAAC,YAAY,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,kBAEnD,IAAA,2BAAiB,EAClB,eAAe,EACf;IACE,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,aAAa;IACnB,GAAG,EAAE,QAAQ;IACb,IAAI,EAAE,gBAAgB;CACvB,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,UAAU,EACV;IACE,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,cAAc;IACnB,IAAI,EAAE,QAAQ;CACf,EACD,UAAU,CACX;IAED,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;WAlKY,CAmK7C,CAAC;AAnKW,QAAA,OAAO,WAmKlB"}
|
|
@@ -4,8 +4,8 @@ exports.fontWeight = void 0;
|
|
|
4
4
|
var methods_1 = require("../../methods");
|
|
5
5
|
var fontWeight = function () {
|
|
6
6
|
return (0, methods_1.newMethodsForProp)("fontWeight", {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
fwn: "normal",
|
|
8
|
+
fwb: "bold",
|
|
9
9
|
fw1: 100,
|
|
10
10
|
fw2: 200,
|
|
11
11
|
fw3: 300,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fontWeight.js","sourceRoot":"","sources":["../../../src/sections/tachyons/fontWeight.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EACf,YAAY,EACZ;QACE,
|
|
1
|
+
{"version":3,"file":"fontWeight.js","sourceRoot":"","sources":["../../../src/sections/tachyons/fontWeight.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EACf,YAAY,EACZ;QACE,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,GAAG;KACT,EACD,IAAI,CACL;AAhBD,CAgBC,CAAC;AAjBS,QAAA,UAAU,cAiBnB"}
|
|
@@ -30,20 +30,20 @@ var methods_1 = require("../../methods");
|
|
|
30
30
|
// https://github.com/tachyons-css/tachyons-overflow/blob/master/src/tachyons-overflow.css
|
|
31
31
|
var overflow = function () {
|
|
32
32
|
return __spreadArray(__spreadArray(__spreadArray([], __read((0, methods_1.newMethodsForProp)("overflow", {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
ov: "visible",
|
|
34
|
+
oh: "hidden",
|
|
35
|
+
os: "scroll",
|
|
36
|
+
oa: "auto",
|
|
37
37
|
})), false), __read((0, methods_1.newMethodsForProp)("overflowY", {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
oyv: "visible",
|
|
39
|
+
oyh: "hidden",
|
|
40
|
+
oys: "scroll",
|
|
41
|
+
oya: "auto",
|
|
42
42
|
})), false), __read((0, methods_1.newMethodsForProp)("overflowX", {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
oxv: "visible",
|
|
44
|
+
oxh: "hidden",
|
|
45
|
+
oxs: "scroll",
|
|
46
|
+
oxa: "auto",
|
|
47
47
|
})), false);
|
|
48
48
|
};
|
|
49
49
|
exports.overflow = overflow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overflow.js","sourceRoot":"","sources":["../../../src/sections/tachyons/overflow.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAgD;AAEhD,0FAA0F;AACnF,IAAM,QAAQ,GAAoB;IACvC,4DACK,IAAA,2BAAiB,EAAC,UAAU,EAAE;QAC/B,
|
|
1
|
+
{"version":3,"file":"overflow.js","sourceRoot":"","sources":["../../../src/sections/tachyons/overflow.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAgD;AAEhD,0FAA0F;AACnF,IAAM,QAAQ,GAAoB;IACvC,4DACK,IAAA,2BAAiB,EAAC,UAAU,EAAE;QAC/B,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,QAAQ;QACZ,EAAE,EAAE,QAAQ;QACZ,EAAE,EAAE,MAAM;KACX,CAAC,kBACC,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAChC,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,MAAM;KACZ,CAAC,kBACC,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAChC,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,MAAM;KACZ,CAAC,UACF;AACJ,CAAC,CAAC;AArBW,QAAA,QAAQ,YAqBnB"}
|
|
@@ -5,10 +5,10 @@ var methods_1 = require("../../methods");
|
|
|
5
5
|
// https://github.com/tachyons-css/tachyons/blob/master/src/_text-align.css
|
|
6
6
|
var textAlign = function () {
|
|
7
7
|
return (0, methods_1.newMethodsForProp)("textAlign", {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
tal: "left",
|
|
9
|
+
tac: "center",
|
|
10
|
+
tar: "right",
|
|
11
|
+
taj: "justify",
|
|
12
12
|
}, "ta");
|
|
13
13
|
};
|
|
14
14
|
exports.textAlign = textAlign;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textAlign.js","sourceRoot":"","sources":["../../../src/sections/tachyons/textAlign.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,2EAA2E;AACpE,IAAM,SAAS,GAAoB;IACxC,OAAA,IAAA,2BAAiB,EACf,WAAW,EACX;QACE,
|
|
1
|
+
{"version":3,"file":"textAlign.js","sourceRoot":"","sources":["../../../src/sections/tachyons/textAlign.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,2EAA2E;AACpE,IAAM,SAAS,GAAoB;IACxC,OAAA,IAAA,2BAAiB,EACf,WAAW,EACX;QACE,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,SAAS;KACf,EACD,IAAI,CACL;AATD,CASC,CAAC;AAVS,QAAA,SAAS,aAUlB"}
|
|
@@ -4,9 +4,9 @@ exports.textDecoration = void 0;
|
|
|
4
4
|
var methods_1 = require("../../methods");
|
|
5
5
|
var textDecoration = function () {
|
|
6
6
|
return (0, methods_1.newMethodsForProp)("textDecoration", {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
tdn: "none",
|
|
8
|
+
tdlt: "line-through",
|
|
9
|
+
tdu: "underline",
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
exports.textDecoration = textDecoration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textDecoration.js","sourceRoot":"","sources":["../../../src/sections/tachyons/textDecoration.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGzC,IAAM,cAAc,GAAoB;IAC7C,OAAA,IAAA,2BAAiB,EAAC,gBAAgB,EAAE;QAClC,
|
|
1
|
+
{"version":3,"file":"textDecoration.js","sourceRoot":"","sources":["../../../src/sections/tachyons/textDecoration.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGzC,IAAM,cAAc,GAAoB;IAC7C,OAAA,IAAA,2BAAiB,EAAC,gBAAgB,EAAE;QAClC,GAAG,EAAE,MAAM;QACX,IAAI,EAAE,cAAc;QACpB,GAAG,EAAE,WAAW;KACjB,CAAC;AAJF,CAIE,CAAC;AALQ,QAAA,cAAc,kBAKtB"}
|
|
@@ -15,18 +15,28 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
19
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
20
|
+
if (ar || !(i in from)) {
|
|
21
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
22
|
+
ar[i] = from[i];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
26
|
+
};
|
|
18
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
28
|
exports.typeScale = void 0;
|
|
20
29
|
var methods_1 = require("../../methods");
|
|
30
|
+
/** Adds abbreviations like `tiny` -> `12px` or `tiny` -> `{ fontSize: 12px, fontWeight: ... }`. */
|
|
21
31
|
var typeScale = function (_a) {
|
|
22
32
|
var fonts = _a.fonts;
|
|
23
|
-
return Object.entries(fonts).map(function (_a) {
|
|
33
|
+
return __spreadArray([], __read(Object.entries(fonts).map(function (_a) {
|
|
24
34
|
var _b = __read(_a, 2), abbr = _b[0], defs = _b[1];
|
|
25
35
|
if (typeof defs === "string") {
|
|
26
36
|
return (0, methods_1.newMethod)(abbr, { fontSize: defs });
|
|
27
37
|
}
|
|
28
38
|
return (0, methods_1.newMethod)(abbr, defs);
|
|
29
|
-
});
|
|
39
|
+
})), false);
|
|
30
40
|
};
|
|
31
41
|
exports.typeScale = typeScale;
|
|
32
42
|
//# sourceMappingURL=typeScale.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeScale.js","sourceRoot":"","sources":["../../../src/sections/tachyons/typeScale.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typeScale.js","sourceRoot":"","sources":["../../../src/sections/tachyons/typeScale.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2E;AAG3E,mGAAmG;AAC5F,IAAM,SAAS,GAAoB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,gCACpD,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,UAAC,EAAY;YAAZ,KAAA,aAAY,EAAX,IAAI,QAAA,EAAE,IAAI,QAAA;QACvC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;YAC5B,OAAO,IAAA,mBAAS,EAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;SAC5C;QACD,OAAO,IAAA,mBAAS,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC,CAAC;AANqD,CAOxD,CAAC;AAPW,QAAA,SAAS,aAOpB"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
3
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4
|
+
if (!m) return o;
|
|
5
|
+
var i = m.call(o), r, ar = [], e;
|
|
6
|
+
try {
|
|
7
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
8
|
+
}
|
|
9
|
+
catch (error) { e = { error: error }; }
|
|
10
|
+
finally {
|
|
11
|
+
try {
|
|
12
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
13
|
+
}
|
|
14
|
+
finally { if (e) throw e.error; }
|
|
15
|
+
}
|
|
16
|
+
return ar;
|
|
17
|
+
};
|
|
18
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
19
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
20
|
+
if (ar || !(i in from)) {
|
|
21
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
22
|
+
ar[i] = from[i];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
26
|
+
};
|
|
2
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
28
|
exports.typography = void 0;
|
|
4
29
|
var methods_1 = require("../../methods");
|
|
5
30
|
// See typeScale for the FontConfig.fonts handling
|
|
6
|
-
var typography = function () { return [
|
|
31
|
+
var typography = function () { return __spreadArray(__spreadArray([
|
|
7
32
|
(0, methods_1.newMethod)("measure", { maxWidth: "30em" }),
|
|
8
33
|
(0, methods_1.newMethod)("measureWide", { maxWidth: "34em" }),
|
|
9
34
|
(0, methods_1.newMethod)("measureNarrow", { maxWidth: "20em" }),
|
|
@@ -17,8 +42,7 @@ var typography = function () { return [
|
|
|
17
42
|
whiteSpace: "nowrap",
|
|
18
43
|
overflow: "hidden",
|
|
19
44
|
textOverflow: "ellipsis",
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
]; };
|
|
45
|
+
})
|
|
46
|
+
], __read((0, methods_1.newMethodsForProp)("fontSize", {}, "fs", true)), false), __read((0, methods_1.newMethodsForProp)("lineHeight", {}, "lh", true)), false); };
|
|
23
47
|
exports.typography = typography;
|
|
24
48
|
//# sourceMappingURL=typography.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/sections/tachyons/typography.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/sections/tachyons/typography.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2E;AAG3E,kDAAkD;AAE3C,IAAM,UAAU,GAAoB,cAAM;IAC/C,IAAA,mBAAS,EAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAC1C,IAAA,mBAAS,EAAC,aAAa,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAC9C,IAAA,mBAAS,EAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAChD,IAAA,mBAAS,EAAC,QAAQ,EAAE;QAClB,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,CAAC;KAChB,CAAC;IACF,IAAA,mBAAS,EAAC,WAAW,EAAE,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC;IACrD,IAAA,mBAAS,EAAC,UAAU,EAAE;QACpB,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,UAAU;KACzB,CAAC;UAGC,IAAA,2BAAiB,EAAC,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,kBAC7C,IAAA,2BAAiB,EAAC,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,WAlBH,CAmBhD,CAAC;AAnBW,QAAA,UAAU,cAmBrB"}
|
|
@@ -5,10 +5,10 @@ var methods_1 = require("../../methods");
|
|
|
5
5
|
// https://tailwindcss.com/docs/user-select/
|
|
6
6
|
var userSelect = function () {
|
|
7
7
|
return (0, methods_1.newMethodsForProp)("userSelect", {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
usn: "none",
|
|
9
|
+
ust: "text",
|
|
10
|
+
usAll: "all",
|
|
11
|
+
usAuto: "auto",
|
|
12
12
|
}, "select");
|
|
13
13
|
};
|
|
14
14
|
exports.userSelect = userSelect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userSelect.js","sourceRoot":"","sources":["../../../src/sections/tachyons/userSelect.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,4CAA4C;AACrC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EACf,YAAY,EACZ;QACE,
|
|
1
|
+
{"version":3,"file":"userSelect.js","sourceRoot":"","sources":["../../../src/sections/tachyons/userSelect.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,4CAA4C;AACrC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EACf,YAAY,EACZ;QACE,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;QACX,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,MAAM;KACf,EACD,QAAQ,CACT;AATD,CASC,CAAC;AAVS,QAAA,UAAU,cAUnB"}
|
|
@@ -4,10 +4,10 @@ exports.verticalAlign = void 0;
|
|
|
4
4
|
var methods_1 = require("../../methods");
|
|
5
5
|
var verticalAlign = function () {
|
|
6
6
|
return (0, methods_1.newMethodsForProp)("verticalAlign", {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
vaBaseline: "baseline",
|
|
8
|
+
vam: "middle",
|
|
9
|
+
vat: "top",
|
|
10
|
+
vaBottom: "bottom",
|
|
11
11
|
}, "va");
|
|
12
12
|
};
|
|
13
13
|
exports.verticalAlign = verticalAlign;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verticalAlign.js","sourceRoot":"","sources":["../../../src/sections/tachyons/verticalAlign.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,aAAa,GAAoB;IAC5C,OAAA,IAAA,2BAAiB,EACf,eAAe,EACf;QACE,
|
|
1
|
+
{"version":3,"file":"verticalAlign.js","sourceRoot":"","sources":["../../../src/sections/tachyons/verticalAlign.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,aAAa,GAAoB;IAC5C,OAAA,IAAA,2BAAiB,EACf,eAAe,EACf;QACE,UAAU,EAAE,UAAU;QACtB,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,KAAK;QACV,QAAQ,EAAE,QAAQ;KACnB,EACD,IAAI,CACL;AATD,CASC,CAAC;AAVS,QAAA,aAAa,iBAUtB"}
|
|
@@ -5,8 +5,8 @@ var methods_1 = require("../../methods");
|
|
|
5
5
|
// https://tailwindcss.com/docs/visibility/
|
|
6
6
|
var visibility = function () {
|
|
7
7
|
return (0, methods_1.newMethodsForProp)("visibility", {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
vv: "visible",
|
|
9
|
+
vh: "hidden",
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
exports.visibility = visibility;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibility.js","sourceRoot":"","sources":["../../../src/sections/tachyons/visibility.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,2CAA2C;AACpC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EAAC,YAAY,EAAE;QAC9B,
|
|
1
|
+
{"version":3,"file":"visibility.js","sourceRoot":"","sources":["../../../src/sections/tachyons/visibility.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGhD,2CAA2C;AACpC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EAAC,YAAY,EAAE;QAC9B,EAAE,EAAE,SAAS;QACb,EAAE,EAAE,QAAQ;KACb,CAAC;AAHF,CAGE,CAAC;AAJQ,QAAA,UAAU,cAIlB"}
|
|
@@ -4,10 +4,6 @@ exports.whitespace = void 0;
|
|
|
4
4
|
var methods_1 = require("../../methods");
|
|
5
5
|
var whitespace = function () {
|
|
6
6
|
return (0, methods_1.newMethodsForProp)("whiteSpace", {
|
|
7
|
-
nowrap: "nowrap",
|
|
8
|
-
pre: "pre",
|
|
9
|
-
wsNormal: "normal",
|
|
10
|
-
// Keep our old abbrevations + new more abbreviated ones
|
|
11
7
|
wsp: "pre",
|
|
12
8
|
wsn: "normal",
|
|
13
9
|
wsnw: "nowrap",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whitespace.js","sourceRoot":"","sources":["../../../src/sections/tachyons/whitespace.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGzC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EAAC,YAAY,EAAE;QAC9B,
|
|
1
|
+
{"version":3,"file":"whitespace.js","sourceRoot":"","sources":["../../../src/sections/tachyons/whitespace.ts"],"names":[],"mappings":";;;AAAA,yCAAgD;AAGzC,IAAM,UAAU,GAAoB;IACzC,OAAA,IAAA,2BAAiB,EAAC,YAAY,EAAE;QAC9B,GAAG,EAAE,KAAK;QACV,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,UAAU;KACjB,CAAC;AAPF,CAOE,CAAC;AARQ,QAAA,UAAU,cAQlB"}
|
|
@@ -5,10 +5,10 @@ var methods_1 = require("../../methods");
|
|
|
5
5
|
// https://github.com/tachyons-css/tachyons-word-break/blob/master/src/tachyons-word-break.css
|
|
6
6
|
var wordBreak = function () {
|
|
7
7
|
return (0, methods_1.newMethodsForProp)("wordBreak", {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
wbn: "normal",
|
|
9
|
+
wbba: "break-all",
|
|
10
|
+
wbka: "keep-all",
|
|
11
|
+
wbbw: "break-word",
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
exports.wordBreak = wordBreak;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wordBreak.js","sourceRoot":"","sources":["../../../src/sections/tachyons/wordBreak.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,8FAA8F;AACvF,IAAM,SAAS,GAAoB;IACxC,OAAA,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAC7B,
|
|
1
|
+
{"version":3,"file":"wordBreak.js","sourceRoot":"","sources":["../../../src/sections/tachyons/wordBreak.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,8FAA8F;AACvF,IAAM,SAAS,GAAoB;IACxC,OAAA,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAC7B,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,YAAY;KACnB,CAAC;AALF,CAKE,CAAC;AANQ,QAAA,SAAS,aAMjB"}
|