@homebound/truss 1.127.0 → 1.128.1
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/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export * from "./config";
|
|
|
2
2
|
export { defaultSections } from "./sections/tachyons";
|
|
3
3
|
export { generate } from "./generate";
|
|
4
4
|
export type { IncConfig } from "./methods";
|
|
5
|
-
export { newAliasesMethods, newMethod, newMethodsForProp, newCoreIncrementMethods, newIncrementMethods, newParamMethod, newSetCssVariablesMethod, } from "./methods";
|
|
5
|
+
export { newAliasesMethods, newMethod, newPxMethod, newMethodsForProp, newCoreIncrementMethods, newIncrementMethods, newParamMethod, newSetCssVariablesMethod, } from "./methods";
|
package/build/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.newSetCssVariablesMethod = exports.newParamMethod = exports.newIncrementMethods = exports.newCoreIncrementMethods = exports.newMethodsForProp = exports.newMethod = exports.newAliasesMethods = exports.generate = exports.defaultSections = void 0;
|
|
17
|
+
exports.newSetCssVariablesMethod = exports.newParamMethod = exports.newIncrementMethods = exports.newCoreIncrementMethods = exports.newMethodsForProp = exports.newPxMethod = exports.newMethod = exports.newAliasesMethods = exports.generate = exports.defaultSections = void 0;
|
|
18
18
|
__exportStar(require("./config"), exports);
|
|
19
19
|
var tachyons_1 = require("./sections/tachyons");
|
|
20
20
|
Object.defineProperty(exports, "defaultSections", { enumerable: true, get: function () { return tachyons_1.defaultSections; } });
|
|
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "generate", { enumerable: true, get: function ()
|
|
|
23
23
|
var methods_1 = require("./methods");
|
|
24
24
|
Object.defineProperty(exports, "newAliasesMethods", { enumerable: true, get: function () { return methods_1.newAliasesMethods; } });
|
|
25
25
|
Object.defineProperty(exports, "newMethod", { enumerable: true, get: function () { return methods_1.newMethod; } });
|
|
26
|
+
Object.defineProperty(exports, "newPxMethod", { enumerable: true, get: function () { return methods_1.newPxMethod; } });
|
|
26
27
|
Object.defineProperty(exports, "newMethodsForProp", { enumerable: true, get: function () { return methods_1.newMethodsForProp; } });
|
|
27
28
|
Object.defineProperty(exports, "newCoreIncrementMethods", { enumerable: true, get: function () { return methods_1.newCoreIncrementMethods; } });
|
|
28
29
|
Object.defineProperty(exports, "newIncrementMethods", { enumerable: true, get: function () { return methods_1.newIncrementMethods; } });
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,2CAA2B;AAC3B,gDAAwD;AAA/C,2GAAA,eAAe,OAAA;AACxB,uCAAwC;AAA/B,oGAAA,QAAQ,OAAA;AAEjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,2CAA2B;AAC3B,gDAAwD;AAA/C,2GAAA,eAAe,OAAA;AACxB,uCAAwC;AAA/B,oGAAA,QAAQ,OAAA;AAEjB,qCASqB;AARnB,4GAAA,iBAAiB,OAAA;AACjB,oGAAA,SAAS,OAAA;AACT,sGAAA,WAAW,OAAA;AACX,4GAAA,iBAAiB,OAAA;AACjB,kHAAA,uBAAuB,OAAA;AACvB,8GAAA,mBAAmB,OAAA;AACnB,yGAAA,cAAc,OAAA;AACd,mHAAA,wBAAwB,OAAA"}
|
|
@@ -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([], __read((0, methods_1.newMethodsForProp)("flex", {
|
|
37
|
+
var flexbox = function () { return __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",
|
|
@@ -93,7 +93,16 @@ var flexbox = function () { return __spreadArray(__spreadArray(__spreadArray(__s
|
|
|
93
93
|
pcse: "space-evenly",
|
|
94
94
|
pcb: "baseline",
|
|
95
95
|
pcStretch: "stretch",
|
|
96
|
-
}, "pc")), false), __read((0, methods_1.newMethodsForProp)("
|
|
96
|
+
}, "pc")), false), __read((0, methods_1.newMethodsForProp)("placeItems", {
|
|
97
|
+
pic: "center",
|
|
98
|
+
pis: "start",
|
|
99
|
+
pie: "end",
|
|
100
|
+
pisb: "space-between",
|
|
101
|
+
pisa: "space-around",
|
|
102
|
+
pise: "space-evenly",
|
|
103
|
+
pib: "baseline",
|
|
104
|
+
piStretch: "stretch",
|
|
105
|
+
}, "pi")), false), __read((0, methods_1.newMethodsForProp)("flexBasis",
|
|
97
106
|
// https://github.com/tack-hammer/tailwind-plugin-flex-basis#usage
|
|
98
107
|
{
|
|
99
108
|
fb1: "100%",
|
|
@@ -1 +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,
|
|
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,sNACzC,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,GA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