@homebound/truss 1.109.0 → 1.110.2
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/breakpoints.d.ts +0 -1
- package/build/breakpoints.js +11 -11
- package/build/breakpoints.js.map +1 -1
- package/build/breakpoints.test.d.ts +0 -1
- package/build/breakpoints.test.js +4 -4
- package/build/breakpoints.test.js.map +1 -1
- package/build/config.d.ts +0 -1
- package/build/generate.d.ts +0 -1
- package/build/generate.js +21 -18
- package/build/generate.js.map +1 -1
- package/build/index.d.ts +3 -3
- package/build/index.js +7 -3
- package/build/index.js.map +1 -1
- package/build/methods.d.ts +1 -2
- package/build/methods.js +35 -30
- package/build/methods.js.map +1 -1
- package/build/methods.test.d.ts +0 -1
- package/build/methods.test.js +3 -3
- package/build/methods.test.js.map +1 -1
- package/build/sections/tachyons/border.d.ts +2 -0
- package/build/sections/{border.js → tachyons/border.js} +14 -9
- package/build/sections/tachyons/border.js.map +1 -0
- package/build/sections/tachyons/borderColors.d.ts +2 -0
- package/build/sections/{borderColors.js → tachyons/borderColors.js} +3 -3
- package/build/sections/tachyons/borderColors.js.map +1 -0
- package/build/sections/tachyons/borderRadius.d.ts +2 -0
- package/build/sections/{borderRadius.js → tachyons/borderRadius.js} +2 -2
- package/build/sections/tachyons/borderRadius.js.map +1 -0
- package/build/sections/tachyons/borderStyles.d.ts +2 -0
- package/build/sections/{borderStyles.js → tachyons/borderStyles.js} +2 -2
- package/build/sections/tachyons/borderStyles.js.map +1 -0
- package/build/sections/tachyons/borderWidths.d.ts +2 -0
- package/build/sections/{borderWidths.js → tachyons/borderWidths.js} +2 -2
- package/build/sections/tachyons/borderWidths.js.map +1 -0
- package/build/sections/tachyons/boxShadow.d.ts +2 -0
- package/build/sections/{boxShadow.js → tachyons/boxShadow.js} +2 -2
- package/build/sections/tachyons/boxShadow.js.map +1 -0
- package/build/sections/tachyons/coordinates.d.ts +2 -0
- package/build/sections/{coordinates.js → tachyons/coordinates.js} +2 -2
- package/build/sections/tachyons/coordinates.js.map +1 -0
- package/build/sections/tachyons/cursor.d.ts +2 -0
- package/build/sections/{cursor.js → tachyons/cursor.js} +11 -6
- package/build/sections/tachyons/cursor.js.map +1 -0
- package/build/sections/tachyons/display.d.ts +2 -0
- package/build/sections/{display.js → tachyons/display.js} +2 -2
- package/build/sections/tachyons/display.js.map +1 -0
- package/build/sections/tachyons/flexbox.d.ts +2 -0
- package/build/sections/{flexbox.js → tachyons/flexbox.js} +16 -11
- package/build/sections/tachyons/flexbox.js.map +1 -0
- package/build/sections/tachyons/floats.d.ts +2 -0
- package/build/sections/{floats.js → tachyons/floats.js} +2 -2
- package/build/sections/tachyons/floats.js.map +1 -0
- package/build/sections/tachyons/fontWeight.d.ts +2 -0
- package/build/sections/{fontWeight.js → tachyons/fontWeight.js} +2 -2
- package/build/sections/tachyons/fontWeight.js.map +1 -0
- package/build/sections/tachyons/grid.d.ts +2 -0
- package/build/sections/tachyons/grid.js +37 -0
- package/build/sections/tachyons/grid.js.map +1 -0
- package/build/sections/tachyons/heights.d.ts +2 -0
- package/build/sections/{heights.js → tachyons/heights.js} +15 -10
- package/build/sections/tachyons/heights.js.map +1 -0
- package/build/sections/tachyons/index.d.ts +35 -0
- package/build/sections/{index.js → tachyons/index.js} +0 -0
- package/build/sections/tachyons/index.js.map +1 -0
- package/build/sections/tachyons/lineClamp.d.ts +2 -0
- package/build/sections/{lineClamp.js → tachyons/lineClamp.js} +14 -9
- package/build/sections/tachyons/lineClamp.js.map +1 -0
- package/build/sections/tachyons/objectFit.d.ts +2 -0
- package/build/sections/{objectFit.js → tachyons/objectFit.js} +2 -2
- package/build/sections/tachyons/objectFit.js.map +1 -0
- package/build/sections/tachyons/outlines.d.ts +2 -0
- package/build/sections/{outlines.js → tachyons/outlines.js} +2 -2
- package/build/sections/tachyons/outlines.js.map +1 -0
- package/build/sections/tachyons/overflow.d.ts +2 -0
- package/build/sections/{overflow.js → tachyons/overflow.js} +13 -8
- package/build/sections/tachyons/overflow.js.map +1 -0
- package/build/sections/tachyons/position.d.ts +2 -0
- package/build/sections/{position.js → tachyons/position.js} +2 -2
- package/build/sections/tachyons/position.js.map +1 -0
- package/build/sections/tachyons/skins.d.ts +2 -0
- package/build/sections/tachyons/skins.js +51 -0
- package/build/sections/tachyons/skins.js.map +1 -0
- package/build/sections/tachyons/spacing.d.ts +2 -0
- package/build/sections/{spacing.js → tachyons/spacing.js} +12 -7
- package/build/sections/tachyons/spacing.js.map +1 -0
- package/build/sections/tachyons/textAlign.d.ts +2 -0
- package/build/sections/{textAlign.js → tachyons/textAlign.js} +2 -2
- package/build/sections/tachyons/textAlign.js.map +1 -0
- package/build/sections/tachyons/textDecoration.d.ts +2 -0
- package/build/sections/{textDecoration.js → tachyons/textDecoration.js} +2 -2
- package/build/sections/tachyons/textDecoration.js.map +1 -0
- package/build/sections/tachyons/textTransform.d.ts +2 -0
- package/build/sections/{textTransform.js → tachyons/textTransform.js} +2 -2
- package/build/sections/tachyons/textTransform.js.map +1 -0
- package/build/sections/tachyons/typeScale.d.ts +2 -0
- package/build/sections/{typeScale.js → tachyons/typeScale.js} +3 -3
- package/build/sections/tachyons/typeScale.js.map +1 -0
- package/build/sections/tachyons/typography.d.ts +2 -0
- package/build/sections/tachyons/typography.js +24 -0
- package/build/sections/tachyons/typography.js.map +1 -0
- package/build/sections/tachyons/userSelect.d.ts +2 -0
- package/build/sections/{userSelect.js → tachyons/userSelect.js} +2 -2
- package/build/sections/tachyons/userSelect.js.map +1 -0
- package/build/sections/tachyons/verticalAlign.d.ts +2 -0
- package/build/sections/{verticalAlign.js → tachyons/verticalAlign.js} +2 -2
- package/build/sections/tachyons/verticalAlign.js.map +1 -0
- package/build/sections/tachyons/visibility.d.ts +2 -0
- package/build/sections/{visibility.js → tachyons/visibility.js} +2 -2
- package/build/sections/tachyons/visibility.js.map +1 -0
- package/build/sections/tachyons/whitespace.d.ts +2 -0
- package/build/sections/{whitespace.js → tachyons/whitespace.js} +2 -2
- package/build/sections/tachyons/whitespace.js.map +1 -0
- package/build/sections/tachyons/widths.d.ts +2 -0
- package/build/sections/tachyons/widths.js +49 -0
- package/build/sections/tachyons/widths.js.map +1 -0
- package/build/sections/tachyons/wordBreak.d.ts +2 -0
- package/build/sections/{wordBreak.js → tachyons/wordBreak.js} +2 -2
- package/build/sections/tachyons/wordBreak.js.map +1 -0
- package/build/sections/tachyons/zIndex.d.ts +2 -0
- package/build/sections/{zIndex.js → tachyons/zIndex.js} +11 -6
- package/build/sections/tachyons/zIndex.js.map +1 -0
- package/build/utils.d.ts +0 -1
- package/build/utils.js +1 -1
- package/build/utils.js.map +1 -1
- package/package.json +9 -17
- package/.nvmrc +0 -1
- package/README.markdown +0 -373
- package/build/breakpoints.d.ts.map +0 -1
- package/build/breakpoints.test.d.ts.map +0 -1
- package/build/config.d.ts.map +0 -1
- package/build/generate.d.ts.map +0 -1
- package/build/index.d.ts.map +0 -1
- package/build/methods.d.ts.map +0 -1
- package/build/methods.test.d.ts.map +0 -1
- package/build/sections/border.d.ts +0 -3
- package/build/sections/border.d.ts.map +0 -1
- package/build/sections/border.js.map +0 -1
- package/build/sections/borderColors.d.ts +0 -3
- package/build/sections/borderColors.d.ts.map +0 -1
- package/build/sections/borderColors.js.map +0 -1
- package/build/sections/borderRadius.d.ts +0 -3
- package/build/sections/borderRadius.d.ts.map +0 -1
- package/build/sections/borderRadius.js.map +0 -1
- package/build/sections/borderStyles.d.ts +0 -3
- package/build/sections/borderStyles.d.ts.map +0 -1
- package/build/sections/borderStyles.js.map +0 -1
- package/build/sections/borderWidths.d.ts +0 -3
- package/build/sections/borderWidths.d.ts.map +0 -1
- package/build/sections/borderWidths.js.map +0 -1
- package/build/sections/boxShadow.d.ts +0 -3
- package/build/sections/boxShadow.d.ts.map +0 -1
- package/build/sections/boxShadow.js.map +0 -1
- package/build/sections/coordinates.d.ts +0 -3
- package/build/sections/coordinates.d.ts.map +0 -1
- package/build/sections/coordinates.js.map +0 -1
- package/build/sections/cursor.d.ts +0 -3
- package/build/sections/cursor.d.ts.map +0 -1
- package/build/sections/cursor.js.map +0 -1
- package/build/sections/display.d.ts +0 -3
- package/build/sections/display.d.ts.map +0 -1
- package/build/sections/display.js.map +0 -1
- package/build/sections/flexbox.d.ts +0 -3
- package/build/sections/flexbox.d.ts.map +0 -1
- package/build/sections/flexbox.js.map +0 -1
- package/build/sections/floats.d.ts +0 -3
- package/build/sections/floats.d.ts.map +0 -1
- package/build/sections/floats.js.map +0 -1
- package/build/sections/fontWeight.d.ts +0 -3
- package/build/sections/fontWeight.d.ts.map +0 -1
- package/build/sections/fontWeight.js.map +0 -1
- package/build/sections/grid.d.ts +0 -3
- package/build/sections/grid.d.ts.map +0 -1
- package/build/sections/grid.js +0 -32
- package/build/sections/grid.js.map +0 -1
- package/build/sections/heights.d.ts +0 -3
- package/build/sections/heights.d.ts.map +0 -1
- package/build/sections/heights.js.map +0 -1
- package/build/sections/index.d.ts +0 -36
- package/build/sections/index.d.ts.map +0 -1
- package/build/sections/index.js.map +0 -1
- package/build/sections/lineClamp.d.ts +0 -3
- package/build/sections/lineClamp.d.ts.map +0 -1
- package/build/sections/lineClamp.js.map +0 -1
- package/build/sections/objectFit.d.ts +0 -3
- package/build/sections/objectFit.d.ts.map +0 -1
- package/build/sections/objectFit.js.map +0 -1
- package/build/sections/outlines.d.ts +0 -3
- package/build/sections/outlines.d.ts.map +0 -1
- package/build/sections/outlines.js.map +0 -1
- package/build/sections/overflow.d.ts +0 -3
- package/build/sections/overflow.d.ts.map +0 -1
- package/build/sections/overflow.js.map +0 -1
- package/build/sections/position.d.ts +0 -3
- package/build/sections/position.d.ts.map +0 -1
- package/build/sections/position.js.map +0 -1
- package/build/sections/skins.d.ts +0 -3
- package/build/sections/skins.d.ts.map +0 -1
- package/build/sections/skins.js +0 -46
- package/build/sections/skins.js.map +0 -1
- package/build/sections/spacing.d.ts +0 -3
- package/build/sections/spacing.d.ts.map +0 -1
- package/build/sections/spacing.js.map +0 -1
- package/build/sections/textAlign.d.ts +0 -3
- package/build/sections/textAlign.d.ts.map +0 -1
- package/build/sections/textAlign.js.map +0 -1
- package/build/sections/textDecoration.d.ts +0 -3
- package/build/sections/textDecoration.d.ts.map +0 -1
- package/build/sections/textDecoration.js.map +0 -1
- package/build/sections/textTransform.d.ts +0 -3
- package/build/sections/textTransform.d.ts.map +0 -1
- package/build/sections/textTransform.js.map +0 -1
- package/build/sections/typeScale.d.ts +0 -3
- package/build/sections/typeScale.d.ts.map +0 -1
- package/build/sections/typeScale.js.map +0 -1
- package/build/sections/typography.d.ts +0 -3
- package/build/sections/typography.d.ts.map +0 -1
- package/build/sections/typography.js +0 -24
- package/build/sections/typography.js.map +0 -1
- package/build/sections/userSelect.d.ts +0 -3
- package/build/sections/userSelect.d.ts.map +0 -1
- package/build/sections/userSelect.js.map +0 -1
- package/build/sections/verticalAlign.d.ts +0 -3
- package/build/sections/verticalAlign.d.ts.map +0 -1
- package/build/sections/verticalAlign.js.map +0 -1
- package/build/sections/visibility.d.ts +0 -3
- package/build/sections/visibility.d.ts.map +0 -1
- package/build/sections/visibility.js.map +0 -1
- package/build/sections/whitespace.d.ts +0 -3
- package/build/sections/whitespace.d.ts.map +0 -1
- package/build/sections/whitespace.js.map +0 -1
- package/build/sections/widths.d.ts +0 -3
- package/build/sections/widths.d.ts.map +0 -1
- package/build/sections/widths.js +0 -44
- package/build/sections/widths.js.map +0 -1
- package/build/sections/wordBreak.d.ts +0 -3
- package/build/sections/wordBreak.d.ts.map +0 -1
- package/build/sections/wordBreak.js.map +0 -1
- package/build/sections/zIndex.d.ts +0 -3
- package/build/sections/zIndex.d.ts.map +0 -1
- package/build/sections/zIndex.js.map +0 -1
- package/build/utils.d.ts.map +0 -1
- package/logo.svg +0 -11
- package/package.json.bak +0 -38
- package/tsconfig.json +0 -20
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.borderRadius = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
var borderRadius = function () {
|
|
6
|
-
return methods_1.newMethodsForProp("borderRadius", {
|
|
6
|
+
return (0, methods_1.newMethodsForProp)("borderRadius", {
|
|
7
7
|
br0: "0",
|
|
8
8
|
br1: ".125rem",
|
|
9
9
|
br2: ".25rem",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderRadius.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderRadius.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,YAAY,GAAoB;IAC3C,OAAA,IAAA,2BAAiB,EAAC,cAAc,EAAE;QAChC,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,SAAS;QACd,GAAG,EAAE,QAAQ;QACb,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,MAAM;QACX,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,QAAQ;KACjB,CAAC;AARF,CAQE,CAAC;AATQ,QAAA,YAAY,gBASpB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.borderStyle = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
// http://tachyons.io/docs/themes/borders/
|
|
6
6
|
// https://tailwindcss.com/docs/border-style/#app
|
|
7
7
|
var borderStyle = function () {
|
|
8
|
-
return methods_1.newMethodsForProp("borderStyle", {
|
|
8
|
+
return (0, methods_1.newMethodsForProp)("borderStyle", {
|
|
9
9
|
bsDashed: "dashed",
|
|
10
10
|
bsDotted: "dotted",
|
|
11
11
|
bsNone: "none",
|
|
@@ -0,0 +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,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,OAAO;KACjB,EACD,IAAI,CACL;AATD,CASC,CAAC;AAVS,QAAA,WAAW,eAUpB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.borderWidth = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
// http://tachyons.io/docs/themes/borders/
|
|
6
6
|
var borderWidth = function () {
|
|
7
|
-
return methods_1.newMethodsForProp("borderWidth", {
|
|
7
|
+
return (0, methods_1.newMethodsForProp)("borderWidth", {
|
|
8
8
|
bw1: "1px",
|
|
9
9
|
bw2: "2px",
|
|
10
10
|
}, "bw");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borderWidths.js","sourceRoot":"","sources":["../../../src/sections/tachyons/borderWidths.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,0CAA0C;AACnC,IAAM,WAAW,GAAoB;IAC1C,OAAA,IAAA,2BAAiB,EACf,aAAa,EACb;QACE,GAAG,EAAE,KAAK;QACV,GAAG,EAAE,KAAK;KACX,EACD,IAAI,CACL;AAPD,CAOC,CAAC;AARS,QAAA,WAAW,eAQpB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.boxShadow = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
var boxShadow = function () { return [
|
|
6
|
-
methods_1.newMethod("shadowNone", { boxShadow: "none" }),
|
|
6
|
+
(0, methods_1.newMethod)("shadowNone", { boxShadow: "none" }),
|
|
7
7
|
]; };
|
|
8
8
|
exports.boxShadow = boxShadow;
|
|
9
9
|
//# sourceMappingURL=boxShadow.js.map
|
|
@@ -0,0 +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,EAF+C,CAE/C,CAAC;AAFW,QAAA,SAAS,aAEpB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.coordinates = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
var directions = ["top", "right", "bottom", "left"];
|
|
6
6
|
var coordinates = function (config) {
|
|
7
7
|
return directions.flatMap(function (d) {
|
|
8
|
-
return methods_1.newIncrementMethods(config, d, d);
|
|
8
|
+
return (0, methods_1.newIncrementMethods)(config, d, d);
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
exports.coordinates = coordinates;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coordinates.js","sourceRoot":"","sources":["../../../src/sections/tachyons/coordinates.ts"],"names":[],"mappings":";;;AAAA,yCAAkD;AAGlD,IAAM,UAAU,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAC;AAExD,IAAM,WAAW,GAAoB,UAAC,MAAM;IACjD,OAAA,UAAU,CAAC,OAAO,CAAC,UAAC,CAAC;QACnB,OAAO,IAAA,6BAAmB,EAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC,CAAC;AAFF,CAEE,CAAC;AAHQ,QAAA,WAAW,eAGnB"}
|
|
@@ -15,16 +15,21 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
|
|
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));
|
|
21
26
|
};
|
|
22
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
28
|
exports.cursor = void 0;
|
|
24
|
-
var methods_1 = require("
|
|
25
|
-
var cursor = function () { return
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
30
|
+
var cursor = function () { return __spreadArray([], __read((0, methods_1.newMethodsForProp)("cursor", {
|
|
26
31
|
cursorPointer: "pointer",
|
|
27
32
|
cursorNotAllowed: "not-allowed",
|
|
28
|
-
})); };
|
|
33
|
+
})), false); };
|
|
29
34
|
exports.cursor = cursor;
|
|
30
35
|
//# sourceMappingURL=cursor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../../src/sections/tachyons/cursor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAgD;AAGzC,IAAM,MAAM,GAAoB,cAAM,gCACxC,IAAA,2BAAiB,EAAC,QAAQ,EAAE;IAC7B,aAAa,EAAE,SAAS;IACxB,gBAAgB,EAAE,aAAa;CAChC,CAAC,WAJyC,CAK5C,CAAC;AALW,QAAA,MAAM,UAKjB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.display = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
// https://github.com/tachyons-css/tachyons/blob/master/src/_display.css
|
|
6
6
|
var display = function () {
|
|
7
|
-
return methods_1.newMethodsForProp("display", {
|
|
7
|
+
return (0, methods_1.newMethodsForProp)("display", {
|
|
8
8
|
dn: "none",
|
|
9
9
|
db: "block",
|
|
10
10
|
dib: "inline-block",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/sections/tachyons/display.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,wEAAwE;AACjE,IAAM,OAAO,GAAoB;IACtC,OAAA,IAAA,2BAAiB,EAAC,SAAS,EAAE;QAC3B,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,OAAO;QACX,GAAG,EAAE,cAAc;QACnB,GAAG,EAAE,cAAc;QACnB,EAAE,EAAE,OAAO;QACX,GAAG,EAAE,YAAY;QACjB,KAAK,EAAE,WAAW;QAClB,QAAQ,EAAE,cAAc;QACxB,aAAa,EAAE,oBAAoB;QACnC,QAAQ;QACR,EAAE,EAAE,MAAM;QACV,GAAG,EAAE,aAAa;QAClB,EAAE,EAAE,MAAM;QACV,GAAG,EAAE,aAAa;KACnB,CAAC;AAfF,CAeE,CAAC;AAhBQ,QAAA,OAAO,WAgBf"}
|
|
@@ -15,13 +15,18 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
|
|
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));
|
|
21
26
|
};
|
|
22
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
28
|
exports.flexbox = void 0;
|
|
24
|
-
var methods_1 = require("
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
25
30
|
// We originally used the tachyons mappings:
|
|
26
31
|
// https://github.com/tachyons-css/tachyons/blob/master/src/_flexbox.css#L17
|
|
27
32
|
//
|
|
@@ -29,7 +34,7 @@ var methods_1 = require("../methods");
|
|
|
29
34
|
// flex on a day-to-day basis, we don't need the longer "not-Tachyons-ish" names
|
|
30
35
|
// that Tachyons originally picked (i.e. maybe because the flex properties were
|
|
31
36
|
// "too new/different" at the time of adding them?).
|
|
32
|
-
var flexbox = function () { return
|
|
37
|
+
var flexbox = function () { return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, methods_1.newMethodsForProp)("flex", {
|
|
33
38
|
fi: "initial",
|
|
34
39
|
fa: "auto",
|
|
35
40
|
fn: "none",
|
|
@@ -38,26 +43,26 @@ var flexbox = function () { return __spread(methods_1.newMethodsForProp("flex",
|
|
|
38
43
|
f3: "3",
|
|
39
44
|
f4: "4",
|
|
40
45
|
f5: "5",
|
|
41
|
-
}, "f"), methods_1.newMethodsForProp("justifyContent", {
|
|
46
|
+
}, "f")), false), __read((0, methods_1.newMethodsForProp)("justifyContent", {
|
|
42
47
|
jcfs: "flex-start",
|
|
43
48
|
jcfe: "flex-end",
|
|
44
49
|
jcc: "center",
|
|
45
50
|
jcsb: "space-between",
|
|
46
51
|
jcsa: "space-around",
|
|
47
52
|
jcse: "space-evenly",
|
|
48
|
-
}, "jc"), methods_1.newMethodsForProp("alignSelf", {
|
|
53
|
+
}, "jc")), false), __read((0, methods_1.newMethodsForProp)("alignSelf", {
|
|
49
54
|
asfs: "flex-start",
|
|
50
55
|
asfe: "flex-end",
|
|
51
56
|
asc: "center",
|
|
52
57
|
asb: "baseline",
|
|
53
58
|
asStretch: "stretch",
|
|
54
|
-
}, "as"), methods_1.newMethodsForProp("alignItems", {
|
|
59
|
+
}, "as")), false), __read((0, methods_1.newMethodsForProp)("alignItems", {
|
|
55
60
|
aifs: "flex-start",
|
|
56
61
|
aife: "flex-end",
|
|
57
62
|
aic: "center",
|
|
58
63
|
aib: "baseline",
|
|
59
64
|
ais: "stretch",
|
|
60
|
-
}, "ai"), methods_1.newMethodsForProp("flexBasis",
|
|
65
|
+
}, "ai")), false), __read((0, methods_1.newMethodsForProp)("flexBasis",
|
|
61
66
|
// https://github.com/tack-hammer/tailwind-plugin-flex-basis#usage
|
|
62
67
|
{
|
|
63
68
|
fb1: "100%",
|
|
@@ -68,11 +73,11 @@ var flexbox = function () { return __spread(methods_1.newMethodsForProp("flex",
|
|
|
68
73
|
fb6: "16.666666%",
|
|
69
74
|
fb7: "14.285714%",
|
|
70
75
|
fb0: "12.5%",
|
|
71
|
-
}, "fb"), methods_1.newMethodsForProp("flex", { flexAuto: "auto", flexNone: "none" }), methods_1.newMethodsForProp("flexGrow", { fg0: 0, fg1: 1 }), methods_1.newMethodsForProp("flexShrink", { fs0: 0, fs1: 1 }), methods_1.newMethodsForProp("flexDirection", {
|
|
76
|
+
}, "fb")), false), __read((0, methods_1.newMethodsForProp)("flex", { flexAuto: "auto", flexNone: "none" })), 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", {
|
|
72
77
|
fdr: "row",
|
|
73
78
|
fdrr: "row-reverse",
|
|
74
79
|
fdc: "column",
|
|
75
80
|
fdcr: "column-reverse",
|
|
76
|
-
}, "fd")); };
|
|
81
|
+
}, "fd")), false); };
|
|
77
82
|
exports.flexbox = flexbox;
|
|
78
83
|
//# sourceMappingURL=flexbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flexbox.js","sourceRoot":"","sources":["../../../src/sections/tachyons/flexbox.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAgD;AAEhD,4CAA4C;AAC5C,4EAA4E;AAC5E,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,+EAA+E;AAC/E,oDAAoD;AAC7C,IAAM,OAAO,GAAoB,cAAM,gJACzC,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,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,QAAQ;IACb,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,SAAS;CACf,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,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,kBAEjE,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,WAlF2C,CAmF7C,CAAC;AAnFW,QAAA,OAAO,WAmFlB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.float = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
// https://github.com/tachyons-css/tachyons/blob/master/src/_floats.css
|
|
6
6
|
var float = function () {
|
|
7
|
-
return methods_1.newMethodsForProp("float", {
|
|
7
|
+
return (0, methods_1.newMethodsForProp)("float", {
|
|
8
8
|
fl: "left",
|
|
9
9
|
fr: "right",
|
|
10
10
|
}, "float");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floats.js","sourceRoot":"","sources":["../../../src/sections/tachyons/floats.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,uEAAuE;AAChE,IAAM,KAAK,GAAoB;IACpC,OAAA,IAAA,2BAAiB,EACf,OAAO,EACP;QACE,EAAE,EAAE,MAAM;QACV,EAAE,EAAE,OAAO;KACZ,EACD,OAAO,CACR;AAPD,CAOC,CAAC;AARS,QAAA,KAAK,SAQd"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.fontWeight = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
var fontWeight = function () {
|
|
6
|
-
return methods_1.newMethodsForProp("fontWeight", {
|
|
6
|
+
return (0, methods_1.newMethodsForProp)("fontWeight", {
|
|
7
7
|
normal: "normal",
|
|
8
8
|
b: "bold",
|
|
9
9
|
fw1: 100,
|
|
@@ -0,0 +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,MAAM,EAAE,QAAQ;QAChB,CAAC,EAAE,MAAM;QACT,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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.grid = void 0;
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
30
|
+
var grid = function (config) { return __spreadArray(__spreadArray(__spreadArray([
|
|
31
|
+
(0, methods_1.newParamMethod)("gtc", "gridTemplateColumns"),
|
|
32
|
+
(0, methods_1.newParamMethod)("gtr", "gridTemplateRows"),
|
|
33
|
+
(0, methods_1.newParamMethod)("gr", "gridRow"),
|
|
34
|
+
(0, methods_1.newParamMethod)("gc", "gridColumn")
|
|
35
|
+
], __read((0, methods_1.newIncrementMethods)(config, "gap", "gap")), false), __read((0, methods_1.newIncrementMethods)(config, "rg", "rowGap")), false), __read((0, methods_1.newIncrementMethods)(config, "cg", "columnGap")), false); };
|
|
36
|
+
exports.grid = grid;
|
|
37
|
+
//# sourceMappingURL=grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.js","sourceRoot":"","sources":["../../../src/sections/tachyons/grid.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAkE;AAE3D,IAAM,IAAI,GAAoB,UAAC,MAAM,IAAK;IAC/C,IAAA,wBAAc,EAAC,KAAK,EAAE,qBAAqB,CAAC;IAC5C,IAAA,wBAAc,EAAC,KAAK,EAAE,kBAAkB,CAAC;IACzC,IAAA,wBAAc,EAAC,IAAI,EAAE,SAAS,CAAC;IAC/B,IAAA,wBAAc,EAAC,IAAI,EAAE,YAAY,CAAC;UAC/B,IAAA,6BAAmB,EAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,kBACzC,IAAA,6BAAmB,EAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,kBAC3C,IAAA,6BAAmB,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,WAPF,CAQhD,CAAC;AARW,QAAA,IAAI,QAQf"}
|
|
@@ -15,14 +15,19 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
|
|
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));
|
|
21
26
|
};
|
|
22
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
28
|
exports.height = void 0;
|
|
24
|
-
var methods_1 = require("
|
|
25
|
-
var height = function (config) { return
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
30
|
+
var height = function (config) { return __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read((0, methods_1.newIncrementMethods)(config, "h", "height")), false), __read((0, methods_1.newMethodsForProp)("height", {
|
|
26
31
|
h25: "25%",
|
|
27
32
|
h50: "50%",
|
|
28
33
|
h75: "75%",
|
|
@@ -31,23 +36,23 @@ var height = function (config) { return __spread(methods_1.newIncrementMethods(c
|
|
|
31
36
|
vh50: "50vh",
|
|
32
37
|
vh75: "75vh",
|
|
33
38
|
vh100: "100vh",
|
|
34
|
-
}, null), methods_1.newMethodsForProp("minHeight", {
|
|
39
|
+
}, null)), false), __read((0, methods_1.newMethodsForProp)("minHeight", {
|
|
35
40
|
mh0: 0,
|
|
36
41
|
mh25: "25%",
|
|
37
42
|
mh50: "50%",
|
|
38
43
|
mh75: "75%",
|
|
39
44
|
mh100: "100%",
|
|
40
45
|
mvh100: "100vh",
|
|
41
|
-
}, "mh"), [
|
|
46
|
+
}, "mh")), false), [
|
|
42
47
|
"mhPx(px: number) { return this.add(\"minHeight\", `${px}px`); }"
|
|
43
|
-
], methods_1.newMethodsForProp("maxHeight", {
|
|
48
|
+
], false), __read((0, methods_1.newMethodsForProp)("maxHeight", {
|
|
44
49
|
maxh0: "0",
|
|
45
50
|
maxh25: "25%",
|
|
46
51
|
maxh50: "50%",
|
|
47
52
|
maxh75: "75%",
|
|
48
53
|
maxh100: "100%",
|
|
49
|
-
}, "maxh"), [
|
|
54
|
+
}, "maxh")), false), [
|
|
50
55
|
"maxhPx(px: number) { return this.add(\"maxHeight\", `${px}px`); }",
|
|
51
|
-
]); };
|
|
56
|
+
], false); };
|
|
52
57
|
exports.height = height;
|
|
53
58
|
//# sourceMappingURL=heights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heights.js","sourceRoot":"","sources":["../../../src/sections/tachyons/heights.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAqE;AAE9D,IAAM,MAAM,GAAoB,UAAC,MAAM,IAAK,sGAI9C,IAAA,6BAAmB,EAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,kBAE1C,IAAA,2BAAiB,EAClB,QAAQ,EACR;IACE,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACf,EACD,IAAI,CACL,kBAEE,IAAA,2BAAiB,EAClB,WAAW,EACX;IACE,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,OAAO;CAChB,EACD,IAAI,CACL;IACD,iEAAkE;kBAE/D,IAAA,2BAAiB,EAClB,WAAW,EACX;IACE,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,MAAM;CAChB,EACD,MAAM,CACP;IACD,mEAAoE;WA9CnB,CA+ClD,CAAC;AA/CW,QAAA,MAAM,UA+CjB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const defaultSections: {
|
|
2
|
+
readonly border: import("../..").CreateMethodsFn;
|
|
3
|
+
readonly borderColor: import("../..").CreateMethodsFn;
|
|
4
|
+
readonly borderRadius: import("../..").CreateMethodsFn;
|
|
5
|
+
readonly borderStyle: import("../..").CreateMethodsFn;
|
|
6
|
+
readonly borderWidth: import("../..").CreateMethodsFn;
|
|
7
|
+
readonly boxShadow: import("../..").CreateMethodsFn;
|
|
8
|
+
readonly coordinates: import("../..").CreateMethodsFn;
|
|
9
|
+
readonly cursor: import("../..").CreateMethodsFn;
|
|
10
|
+
readonly display: import("../..").CreateMethodsFn;
|
|
11
|
+
readonly flexbox: import("../..").CreateMethodsFn;
|
|
12
|
+
readonly float: import("../..").CreateMethodsFn;
|
|
13
|
+
readonly fontWeight: import("../..").CreateMethodsFn;
|
|
14
|
+
readonly grid: import("../..").CreateMethodsFn;
|
|
15
|
+
readonly height: import("../..").CreateMethodsFn;
|
|
16
|
+
readonly lineClamp: import("../..").CreateMethodsFn;
|
|
17
|
+
readonly objectFit: import("../..").CreateMethodsFn;
|
|
18
|
+
readonly outline: import("../..").CreateMethodsFn;
|
|
19
|
+
readonly overflow: import("../..").CreateMethodsFn;
|
|
20
|
+
readonly position: import("../..").CreateMethodsFn;
|
|
21
|
+
readonly skins: import("../..").CreateMethodsFn;
|
|
22
|
+
readonly spacing: import("../..").CreateMethodsFn;
|
|
23
|
+
readonly textAlign: import("../..").CreateMethodsFn;
|
|
24
|
+
readonly textDecoration: import("../..").CreateMethodsFn;
|
|
25
|
+
readonly textTransform: import("../..").CreateMethodsFn;
|
|
26
|
+
readonly typeScale: import("../..").CreateMethodsFn;
|
|
27
|
+
readonly typography: import("../..").CreateMethodsFn;
|
|
28
|
+
readonly userSelect: import("../..").CreateMethodsFn;
|
|
29
|
+
readonly verticalAlign: import("../..").CreateMethodsFn;
|
|
30
|
+
readonly visibility: import("../..").CreateMethodsFn;
|
|
31
|
+
readonly whitespace: import("../..").CreateMethodsFn;
|
|
32
|
+
readonly width: import("../..").CreateMethodsFn;
|
|
33
|
+
readonly wordBreak: import("../..").CreateMethodsFn;
|
|
34
|
+
readonly zIndex: import("../..").CreateMethodsFn;
|
|
35
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sections/tachyons/index.ts"],"names":[],"mappings":";;;AAAA,mCAAsD;AACtD,+CAAiE;AACjE,+CAAkE;AAClE,+CAAiE;AACjE,+CAAiE;AACjE,yCAA4D;AAC5D,6CAAgE;AAChE,mCAAsD;AACtD,qCAAwD;AACxD,qCAAwD;AACxD,mCAAqD;AACrD,2CAA8D;AAC9D,+BAAkD;AAClD,qCAAuD;AACvD,yCAA4D;AAC5D,yCAA4D;AAC5D,uCAAyD;AACzD,uCAA0D;AAC1D,uCAA0D;AAC1D,iCAAoD;AACpD,qCAAwD;AACxD,yCAA4D;AAC5D,mDAAsE;AACtE,iDAAoE;AACpE,yCAA4D;AAC5D,2CAA8D;AAC9D,2CAA8D;AAC9D,iDAAoE;AACpE,2CAA8D;AAC9D,2CAA8D;AAC9D,mCAAqD;AACrD,yCAA4D;AAC5D,mCAAsD;AAEzC,QAAA,eAAe,GAAG;IAC7B,MAAM,iBAAA;IACN,WAAW,4BAAA;IACX,YAAY,6BAAA;IACZ,WAAW,4BAAA;IACX,WAAW,4BAAA;IACX,SAAS,uBAAA;IACT,WAAW,2BAAA;IACX,MAAM,iBAAA;IACN,OAAO,mBAAA;IACP,OAAO,mBAAA;IACP,KAAK,gBAAA;IACL,UAAU,yBAAA;IACV,IAAI,aAAA;IACJ,MAAM,kBAAA;IACN,SAAS,uBAAA;IACT,SAAS,uBAAA;IACT,OAAO,oBAAA;IACP,QAAQ,qBAAA;IACR,QAAQ,qBAAA;IACR,KAAK,eAAA;IACL,OAAO,mBAAA;IACP,SAAS,uBAAA;IACT,cAAc,iCAAA;IACd,aAAa,+BAAA;IACb,SAAS,uBAAA;IACT,UAAU,yBAAA;IACV,UAAU,yBAAA;IACV,aAAa,+BAAA;IACb,UAAU,yBAAA;IACV,UAAU,yBAAA;IACV,KAAK,gBAAA;IACL,SAAS,uBAAA;IACT,MAAM,iBAAA;CACE,CAAC"}
|
|
@@ -15,16 +15,21 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
|
|
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));
|
|
21
26
|
};
|
|
22
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
28
|
exports.lineClamp = void 0;
|
|
24
|
-
var methods_1 = require("
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
25
30
|
// https://github.com/tailwindlabs/tailwindcss-line-clamp/
|
|
26
|
-
var lineClamp = function () { return
|
|
27
|
-
return methods_1.newMethod("lineClamp"
|
|
31
|
+
var lineClamp = function () { return __spreadArray(__spreadArray([], __read((0, methods_1.zeroTo)(5).map(function (i) {
|
|
32
|
+
return (0, methods_1.newMethod)("lineClamp".concat(i + 1), {
|
|
28
33
|
overflow: "hidden",
|
|
29
34
|
display: "-webkit-box",
|
|
30
35
|
WebkitBoxOrient: "vertical",
|
|
@@ -32,8 +37,8 @@ var lineClamp = function () { return __spread(methods_1.zeroTo(5).map(function (
|
|
|
32
37
|
// tailwinds doesn't add this by default, but it seems like a good default for us.
|
|
33
38
|
textOverflow: "ellipsis",
|
|
34
39
|
});
|
|
35
|
-
}), [
|
|
36
|
-
methods_1.newMethod("lineClampNone", { WebkitLineClamp: "unset" }),
|
|
37
|
-
]); };
|
|
40
|
+
})), false), [
|
|
41
|
+
(0, methods_1.newMethod)("lineClampNone", { WebkitLineClamp: "unset" }),
|
|
42
|
+
], false); };
|
|
38
43
|
exports.lineClamp = lineClamp;
|
|
39
44
|
//# sourceMappingURL=lineClamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineClamp.js","sourceRoot":"","sources":["../../../src/sections/tachyons/lineClamp.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAgD;AAGhD,0DAA0D;AACnD,IAAM,SAAS,GAAoB,cAAM,8CAC3C,IAAA,gBAAM,EAAC,CAAC,CAAC,CAAC,GAAG,CAAC,UAAC,CAAC;IACjB,OAAA,IAAA,mBAAS,EAAC,mBAAY,CAAC,GAAG,CAAC,CAAE,EAAE;QAC7B,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,aAAa;QACtB,eAAe,EAAE,UAAU;QAC3B,eAAe,EAAE,CAAC,GAAG,CAAC;QACtB,kFAAkF;QAClF,YAAY,EAAE,UAAU;KACzB,CAAC;AAPF,CAOE,CACH;IACD,IAAA,mBAAS,EAAC,eAAe,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC;WAXV,CAY/C,CAAC;AAZW,QAAA,SAAS,aAYpB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.objectFit = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
// https://tailwindcss.com/docs/object-fit
|
|
6
6
|
var objectFit = function () {
|
|
7
|
-
return methods_1.newMethodsForProp("objectFit", {
|
|
7
|
+
return (0, methods_1.newMethodsForProp)("objectFit", {
|
|
8
8
|
objectContain: "contain",
|
|
9
9
|
objectCover: "cover",
|
|
10
10
|
objectFill: "fill",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objectFit.js","sourceRoot":"","sources":["../../../src/sections/tachyons/objectFit.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEhD,0CAA0C;AACnC,IAAM,SAAS,GAAoB;IACxC,OAAA,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAC7B,aAAa,EAAE,SAAS;QACxB,WAAW,EAAE,OAAO;QACpB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,MAAM;QAClB,eAAe,EAAE,YAAY;KAC9B,CAAC;AANF,CAME,CAAC;AAPQ,QAAA,SAAS,aAOjB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.outline = void 0;
|
|
4
|
-
var methods_1 = require("
|
|
4
|
+
var methods_1 = require("../../methods");
|
|
5
5
|
var outline = function () {
|
|
6
|
-
return methods_1.newMethodsForProp("outline", {
|
|
6
|
+
return (0, methods_1.newMethodsForProp)("outline", {
|
|
7
7
|
outline1: "1px solid",
|
|
8
8
|
outlineTransparent: "1px solid transparent",
|
|
9
9
|
outline0: "0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outlines.js","sourceRoot":"","sources":["../../../src/sections/tachyons/outlines.ts"],"names":[],"mappings":";;;AACA,yCAAgD;AAEzC,IAAM,OAAO,GAAoB;IACtC,OAAA,IAAA,2BAAiB,EAAC,SAAS,EAAE;QAC3B,QAAQ,EAAE,WAAW;QACrB,kBAAkB,EAAE,uBAAuB;QAC3C,QAAQ,EAAE,GAAG;KACd,CAAC;AAJF,CAIE,CAAC;AALQ,QAAA,OAAO,WAKf"}
|
|
@@ -15,31 +15,36 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
15
15
|
}
|
|
16
16
|
return ar;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
19
|
-
for (var
|
|
20
|
-
|
|
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));
|
|
21
26
|
};
|
|
22
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
28
|
exports.overflow = void 0;
|
|
24
|
-
var methods_1 = require("
|
|
29
|
+
var methods_1 = require("../../methods");
|
|
25
30
|
// https://github.com/tachyons-css/tachyons-overflow/blob/master/src/tachyons-overflow.css
|
|
26
31
|
var overflow = function () {
|
|
27
|
-
return
|
|
32
|
+
return __spreadArray(__spreadArray(__spreadArray([], __read((0, methods_1.newMethodsForProp)("overflow", {
|
|
28
33
|
overflowVisible: "visible",
|
|
29
34
|
overflowHidden: "hidden",
|
|
30
35
|
overflowScroll: "scroll",
|
|
31
36
|
overflowAuto: "auto",
|
|
32
|
-
}), methods_1.newMethodsForProp("overflowY", {
|
|
37
|
+
})), false), __read((0, methods_1.newMethodsForProp)("overflowY", {
|
|
33
38
|
overflowYVisible: "visible",
|
|
34
39
|
overflowYHidden: "hidden",
|
|
35
40
|
overflowYScroll: "scroll",
|
|
36
41
|
overflowYAuto: "auto",
|
|
37
|
-
}), methods_1.newMethodsForProp("overflowX", {
|
|
42
|
+
})), false), __read((0, methods_1.newMethodsForProp)("overflowX", {
|
|
38
43
|
overflowXVisible: "visible",
|
|
39
44
|
overflowXHidden: "hidden",
|
|
40
45
|
overflowXScroll: "scroll",
|
|
41
46
|
overflowXAuto: "auto",
|
|
42
|
-
}));
|
|
47
|
+
})), false);
|
|
43
48
|
};
|
|
44
49
|
exports.overflow = overflow;
|
|
45
50
|
//# sourceMappingURL=overflow.js.map
|
|
@@ -0,0 +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,eAAe,EAAE,SAAS;QAC1B,cAAc,EAAE,QAAQ;QACxB,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,MAAM;KACrB,CAAC,kBACC,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAChC,gBAAgB,EAAE,SAAS;QAC3B,eAAe,EAAE,QAAQ;QACzB,eAAe,EAAE,QAAQ;QACzB,aAAa,EAAE,MAAM;KACtB,CAAC,kBACC,IAAA,2BAAiB,EAAC,WAAW,EAAE;QAChC,gBAAgB,EAAE,SAAS;QAC3B,eAAe,EAAE,QAAQ;QACzB,eAAe,EAAE,QAAQ;QACzB,aAAa,EAAE,MAAM;KACtB,CAAC,UACF;AACJ,CAAC,CAAC;AArBW,QAAA,QAAQ,YAqBnB"}
|