@homebound/truss 1.137.4 → 2.0.0-next.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.
Files changed (146) hide show
  1. package/build/index.d.ts +264 -5
  2. package/build/index.js +1418 -31
  3. package/build/index.js.map +1 -1
  4. package/build/plugin/index.d.ts +71 -0
  5. package/build/plugin/index.js +1577 -0
  6. package/build/plugin/index.js.map +1 -0
  7. package/cli.js +32 -16
  8. package/package.json +27 -20
  9. package/tsup.config.ts +18 -0
  10. package/vitest.config.ts +13 -0
  11. package/build/breakpoints.d.ts +0 -7
  12. package/build/breakpoints.js +0 -79
  13. package/build/breakpoints.js.map +0 -1
  14. package/build/breakpoints.test.d.ts +0 -1
  15. package/build/breakpoints.test.js +0 -49
  16. package/build/breakpoints.test.js.map +0 -1
  17. package/build/config.d.ts +0 -109
  18. package/build/config.js +0 -15
  19. package/build/config.js.map +0 -1
  20. package/build/generate.d.ts +0 -4
  21. package/build/generate.js +0 -155
  22. package/build/generate.js.map +0 -1
  23. package/build/methods.d.ts +0 -82
  24. package/build/methods.js +0 -190
  25. package/build/methods.js.map +0 -1
  26. package/build/methods.test.d.ts +0 -1
  27. package/build/methods.test.js +0 -69
  28. package/build/methods.test.js.map +0 -1
  29. package/build/sections/tachyons/border.d.ts +0 -2
  30. package/build/sections/tachyons/border.js +0 -45
  31. package/build/sections/tachyons/border.js.map +0 -1
  32. package/build/sections/tachyons/borderColors.d.ts +0 -2
  33. package/build/sections/tachyons/borderColors.js +0 -30
  34. package/build/sections/tachyons/borderColors.js.map +0 -1
  35. package/build/sections/tachyons/borderRadius.d.ts +0 -2
  36. package/build/sections/tachyons/borderRadius.js +0 -17
  37. package/build/sections/tachyons/borderRadius.js.map +0 -1
  38. package/build/sections/tachyons/borderStyles.d.ts +0 -2
  39. package/build/sections/tachyons/borderStyles.js +0 -16
  40. package/build/sections/tachyons/borderStyles.js.map +0 -1
  41. package/build/sections/tachyons/borderWidths.d.ts +0 -2
  42. package/build/sections/tachyons/borderWidths.js +0 -13
  43. package/build/sections/tachyons/borderWidths.js.map +0 -1
  44. package/build/sections/tachyons/boxShadow.d.ts +0 -2
  45. package/build/sections/tachyons/boxShadow.js +0 -10
  46. package/build/sections/tachyons/boxShadow.js.map +0 -1
  47. package/build/sections/tachyons/container.d.ts +0 -2
  48. package/build/sections/tachyons/container.js +0 -36
  49. package/build/sections/tachyons/container.js.map +0 -1
  50. package/build/sections/tachyons/coordinates.d.ts +0 -2
  51. package/build/sections/tachyons/coordinates.js +0 -12
  52. package/build/sections/tachyons/coordinates.js.map +0 -1
  53. package/build/sections/tachyons/cursor.d.ts +0 -2
  54. package/build/sections/tachyons/cursor.js +0 -35
  55. package/build/sections/tachyons/cursor.js.map +0 -1
  56. package/build/sections/tachyons/display.d.ts +0 -2
  57. package/build/sections/tachyons/display.js +0 -25
  58. package/build/sections/tachyons/display.js.map +0 -1
  59. package/build/sections/tachyons/flexbox.d.ts +0 -2
  60. package/build/sections/tachyons/flexbox.js +0 -129
  61. package/build/sections/tachyons/flexbox.js.map +0 -1
  62. package/build/sections/tachyons/floats.d.ts +0 -2
  63. package/build/sections/tachyons/floats.js +0 -13
  64. package/build/sections/tachyons/floats.js.map +0 -1
  65. package/build/sections/tachyons/fontWeight.d.ts +0 -2
  66. package/build/sections/tachyons/fontWeight.js +0 -21
  67. package/build/sections/tachyons/fontWeight.js.map +0 -1
  68. package/build/sections/tachyons/grid.d.ts +0 -2
  69. package/build/sections/tachyons/grid.js +0 -39
  70. package/build/sections/tachyons/grid.js.map +0 -1
  71. package/build/sections/tachyons/heights.d.ts +0 -2
  72. package/build/sections/tachyons/heights.js +0 -62
  73. package/build/sections/tachyons/heights.js.map +0 -1
  74. package/build/sections/tachyons/index.d.ts +0 -37
  75. package/build/sections/tachyons/index.js +0 -76
  76. package/build/sections/tachyons/index.js.map +0 -1
  77. package/build/sections/tachyons/lineClamp.d.ts +0 -2
  78. package/build/sections/tachyons/lineClamp.js +0 -38
  79. package/build/sections/tachyons/lineClamp.js.map +0 -1
  80. package/build/sections/tachyons/objectFit.d.ts +0 -2
  81. package/build/sections/tachyons/objectFit.js +0 -16
  82. package/build/sections/tachyons/objectFit.js.map +0 -1
  83. package/build/sections/tachyons/opacity.d.ts +0 -2
  84. package/build/sections/tachyons/opacity.js +0 -38
  85. package/build/sections/tachyons/opacity.js.map +0 -1
  86. package/build/sections/tachyons/outlines.d.ts +0 -2
  87. package/build/sections/tachyons/outlines.js +0 -13
  88. package/build/sections/tachyons/outlines.js.map +0 -1
  89. package/build/sections/tachyons/overflow.d.ts +0 -2
  90. package/build/sections/tachyons/overflow.js +0 -50
  91. package/build/sections/tachyons/overflow.js.map +0 -1
  92. package/build/sections/tachyons/position.d.ts +0 -2
  93. package/build/sections/tachyons/position.js +0 -17
  94. package/build/sections/tachyons/position.js.map +0 -1
  95. package/build/sections/tachyons/skins.d.ts +0 -2
  96. package/build/sections/tachyons/skins.js +0 -51
  97. package/build/sections/tachyons/skins.js.map +0 -1
  98. package/build/sections/tachyons/spacing.d.ts +0 -2
  99. package/build/sections/tachyons/spacing.js +0 -60
  100. package/build/sections/tachyons/spacing.js.map +0 -1
  101. package/build/sections/tachyons/textAlign.d.ts +0 -2
  102. package/build/sections/tachyons/textAlign.js +0 -15
  103. package/build/sections/tachyons/textAlign.js.map +0 -1
  104. package/build/sections/tachyons/textDecoration.d.ts +0 -2
  105. package/build/sections/tachyons/textDecoration.js +0 -13
  106. package/build/sections/tachyons/textDecoration.js.map +0 -1
  107. package/build/sections/tachyons/textTransform.d.ts +0 -2
  108. package/build/sections/tachyons/textTransform.js +0 -15
  109. package/build/sections/tachyons/textTransform.js.map +0 -1
  110. package/build/sections/tachyons/typeScale.d.ts +0 -3
  111. package/build/sections/tachyons/typeScale.js +0 -42
  112. package/build/sections/tachyons/typeScale.js.map +0 -1
  113. package/build/sections/tachyons/typography.d.ts +0 -2
  114. package/build/sections/tachyons/typography.js +0 -48
  115. package/build/sections/tachyons/typography.js.map +0 -1
  116. package/build/sections/tachyons/userSelect.d.ts +0 -2
  117. package/build/sections/tachyons/userSelect.js +0 -15
  118. package/build/sections/tachyons/userSelect.js.map +0 -1
  119. package/build/sections/tachyons/verticalAlign.d.ts +0 -2
  120. package/build/sections/tachyons/verticalAlign.js +0 -14
  121. package/build/sections/tachyons/verticalAlign.js.map +0 -1
  122. package/build/sections/tachyons/visibility.d.ts +0 -2
  123. package/build/sections/tachyons/visibility.js +0 -13
  124. package/build/sections/tachyons/visibility.js.map +0 -1
  125. package/build/sections/tachyons/whitespace.d.ts +0 -2
  126. package/build/sections/tachyons/whitespace.js +0 -16
  127. package/build/sections/tachyons/whitespace.js.map +0 -1
  128. package/build/sections/tachyons/widths.d.ts +0 -2
  129. package/build/sections/tachyons/widths.js +0 -60
  130. package/build/sections/tachyons/widths.js.map +0 -1
  131. package/build/sections/tachyons/wordBreak.d.ts +0 -2
  132. package/build/sections/tachyons/wordBreak.js +0 -15
  133. package/build/sections/tachyons/wordBreak.js.map +0 -1
  134. package/build/sections/tachyons/zIndex.d.ts +0 -2
  135. package/build/sections/tachyons/zIndex.js +0 -45
  136. package/build/sections/tachyons/zIndex.js.map +0 -1
  137. package/build/sections/tachyons-rn/index.d.ts +0 -3
  138. package/build/sections/tachyons-rn/index.js +0 -8
  139. package/build/sections/tachyons-rn/index.js.map +0 -1
  140. package/build/sections/tachyons-rn/spacing.d.ts +0 -2
  141. package/build/sections/tachyons-rn/spacing.js +0 -60
  142. package/build/sections/tachyons-rn/spacing.js.map +0 -1
  143. package/build/tsconfig.tsbuildinfo +0 -1
  144. package/build/utils.d.ts +0 -2
  145. package/build/utils.js +0 -11
  146. package/build/utils.js.map +0 -1
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var methods_1 = require("./methods");
15
- describe("methods", function () {
16
- var config = {
17
- outputPath: "Css.ts",
18
- increment: 8,
19
- numberOfIncrements: 3,
20
- fonts: {},
21
- palette: {},
22
- };
23
- describe("newIncrementMethods", function () {
24
- it("can handle mt", function () {
25
- expect((0, methods_1.newIncrementMethods)(config, "mt", "marginTop", { auto: true })).toMatchInlineSnapshot("\n [\n \"/** Sets `marginTop: \"0px\"`. */\n get mt0() { return this.add(\"marginTop\", \"0px\"); }\",\n \"/** Sets `marginTop: \"8px\"`. */\n get mt1() { return this.add(\"marginTop\", \"8px\"); }\",\n \"/** Sets `marginTop: \"16px\"`. */\n get mt2() { return this.add(\"marginTop\", \"16px\"); }\",\n \"/** Sets `marginTop: \"24px\"`. */\n get mt3() { return this.add(\"marginTop\", \"24px\"); }\",\n \"/** Sets `marginTop: \"auto\"`. */\n get mta() { return this.add(\"marginTop\", \"auto\"); }\",\n \"/** Sets `marginTop: \"v\"`. */\n mt(v: number | string) { return this.add(\"marginTop\", maybeInc(v)); }\",\n \"/** Sets `marginTop: px`. */\n mtPx(px: number) { return this.add(\"marginTop\", `${px}px`); }\",\n ]\n ");
26
- });
27
- it("can handle mx", function () {
28
- expect((0, methods_1.newIncrementMethods)(config, "mx", ["marginLeft", "marginRight"], { auto: true })).toMatchInlineSnapshot("\n [\n \"/** Sets `marginLeft: \"0px\"; marginRight: \"0px\"`. */\n get mx0() { return this.add(\"marginLeft\", \"0px\").add(\"marginRight\", \"0px\"); }\",\n \"/** Sets `marginLeft: \"8px\"; marginRight: \"8px\"`. */\n get mx1() { return this.add(\"marginLeft\", \"8px\").add(\"marginRight\", \"8px\"); }\",\n \"/** Sets `marginLeft: \"16px\"; marginRight: \"16px\"`. */\n get mx2() { return this.add(\"marginLeft\", \"16px\").add(\"marginRight\", \"16px\"); }\",\n \"/** Sets `marginLeft: \"24px\"; marginRight: \"24px\"`. */\n get mx3() { return this.add(\"marginLeft\", \"24px\").add(\"marginRight\", \"24px\"); }\",\n \"/** Sets `marginLeft: \"auto\"; marginRight: \"auto\"`. */\n get mxa() { return this.add(\"marginLeft\", \"auto\").add(\"marginRight\", \"auto\"); }\",\n \"/** Sets `marginLeft: \"v\"; marginRight: \"v\"`. */\n mx(v: number | string) { return this.add(\"marginLeft\", maybeInc(v)).add(\"marginRight\", maybeInc(v)); }\",\n \"/** Sets `marginLeft: px; marginRight: px`. */\n mxPx(px: number) { return this.add(\"marginLeft\", `${px}px`).add(\"marginRight\", `${px}px`); }\",\n ]\n ");
29
- });
30
- it("can handle m", function () {
31
- expect((0, methods_1.newIncrementMethods)(config, "m", ["marginTop", "marginRight", "marginBottom", "marginLeft"]))
32
- .toMatchInlineSnapshot("\n [\n \"/** Sets `marginTop: \"0px\"; marginRight: \"0px\"; marginBottom: \"0px\"; marginLeft: \"0px\"`. */\n get m0() { return this.add(\"marginTop\", \"0px\").add(\"marginRight\", \"0px\").add(\"marginBottom\", \"0px\").add(\"marginLeft\", \"0px\"); }\",\n \"/** Sets `marginTop: \"8px\"; marginRight: \"8px\"; marginBottom: \"8px\"; marginLeft: \"8px\"`. */\n get m1() { return this.add(\"marginTop\", \"8px\").add(\"marginRight\", \"8px\").add(\"marginBottom\", \"8px\").add(\"marginLeft\", \"8px\"); }\",\n \"/** Sets `marginTop: \"16px\"; marginRight: \"16px\"; marginBottom: \"16px\"; marginLeft: \"16px\"`. */\n get m2() { return this.add(\"marginTop\", \"16px\").add(\"marginRight\", \"16px\").add(\"marginBottom\", \"16px\").add(\"marginLeft\", \"16px\"); }\",\n \"/** Sets `marginTop: \"24px\"; marginRight: \"24px\"; marginBottom: \"24px\"; marginLeft: \"24px\"`. */\n get m3() { return this.add(\"marginTop\", \"24px\").add(\"marginRight\", \"24px\").add(\"marginBottom\", \"24px\").add(\"marginLeft\", \"24px\"); }\",\n \"/** Sets `marginTop: \"v\"; marginRight: \"v\"; marginBottom: \"v\"; marginLeft: \"v\"`. */\n m(v: number | string) { return this.add(\"marginTop\", maybeInc(v)).add(\"marginRight\", maybeInc(v)).add(\"marginBottom\", maybeInc(v)).add(\"marginLeft\", maybeInc(v)); }\",\n \"/** Sets `marginTop: px; marginRight: px; marginBottom: px; marginLeft: px`. */\n mPx(px: number) { return this.add(\"marginTop\", `${px}px`).add(\"marginRight\", `${px}px`).add(\"marginBottom\", `${px}px`).add(\"marginLeft\", `${px}px`); }\",\n ]\n ");
33
- });
34
- });
35
- describe("newParamMethod", function () {
36
- it("creates a new method with a parameter", function () {
37
- // Given a new method with a parameter
38
- var result = (0, methods_1.newParamMethod)("bgColor", "backgroundColor");
39
- // Then it should output the expected method
40
- expect(result).toMatchInlineSnapshot("\n \"/** Sets `backgroundColor: value`. */\n bgColor(value: Properties[\"backgroundColor\"]) { return this.add(\"backgroundColor\", value); }\"\n ");
41
- });
42
- it("creates a new method with a parameter and additional properties", function () {
43
- // Given a new method with a parameter and additional properties
44
- var result = (0, methods_1.newParamMethod)("bgColor", "backgroundColor", { display: "block" });
45
- // Then it should output the expected method
46
- expect(result).toMatchInlineSnapshot("\n \"/** Sets `backgroundColor: value`. */\n bgColor(value: Properties[\"backgroundColor\"]) { return this.add(\"backgroundColor\", value).add(\"display\", \"block\"); }\"\n ");
47
- });
48
- });
49
- describe("newMethodsForProp", function () {
50
- it("creates a new method for prop", function () {
51
- // Given a new method for "lineClamp" prop with different definitions
52
- var baseProperties = { overflow: "hidden", textOverflow: "ellipsis" };
53
- var def = function (lineClamp) { return (__assign({ WebkitLineClamp: lineClamp }, baseProperties)); };
54
- // When we create the new methods
55
- var result = (0, methods_1.newMethodsForProp)("lineClamp", { lineClamp1: def(1), lineClampNone: def("unset") });
56
- // Then it should output the expected methods
57
- expect(result).toMatchInlineSnapshot("\n [\n \"/** Sets `WebkitLineClamp: 1; overflow: \"hidden\"; textOverflow: \"ellipsis\"`. */\n get lineClamp1() { return this.add(\"WebkitLineClamp\", 1).add(\"overflow\", \"hidden\").add(\"textOverflow\", \"ellipsis\"); }\",\n \"/** Sets `WebkitLineClamp: \"unset\"; overflow: \"hidden\"; textOverflow: \"ellipsis\"`. */\n get lineClampNone() { return this.add(\"WebkitLineClamp\", \"unset\").add(\"overflow\", \"hidden\").add(\"textOverflow\", \"ellipsis\"); }\",\n \"/** Sets `lineClamp: value`. */\n lineClamp(value: Properties[\"lineClamp\"]) { return this.add(\"lineClamp\", value); }\",\n ]\n ");
58
- });
59
- it("creates method extra base definitions", function () {
60
- // Given some base properties
61
- var baseProperties = { overflow: "hidden", textOverflow: "ellipsis" };
62
- // When we call newMethodsForProp with the base properties for "lineClamp"
63
- var result = (0, methods_1.newMethodsForProp)("WebkitLineClamp", {}, "lineClamp", false, baseProperties);
64
- // Then it should output a lineClamp function with the base properties
65
- expect(result).toMatchInlineSnapshot("\n [\n \"/** Sets `WebkitLineClamp: value`. */\n lineClamp(value: Properties[\"WebkitLineClamp\"]) { return this.add(\"WebkitLineClamp\", value).add(\"overflow\", \"hidden\").add(\"textOverflow\", \"ellipsis\"); }\",\n ]\n ");
66
- });
67
- });
68
- });
69
- //# sourceMappingURL=methods.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"methods.test.js","sourceRoot":"","sources":["../src/methods.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,qCAAgG;AAEhG,QAAQ,CAAC,SAAS,EAAE;IAClB,IAAM,MAAM,GAAW;QACrB,UAAU,EAAE,QAAQ;QACpB,SAAS,EAAE,CAAC;QACZ,kBAAkB,EAAE,CAAC;QACrB,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,QAAQ,CAAC,qBAAqB,EAAE;QAC9B,EAAE,CAAC,eAAe,EAAE;YAClB,MAAM,CAAC,IAAA,6BAAmB,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,qBAA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E,YAAY,EAAE,UAAU,EAAE,CAAC;YACpF,IAAM,GAAG,GAA6D,UAAC,SAAS,IAAK,OAAA,YACnF,eAAe,EAAE,SAAS,IACvB,cAAc,EACjB,EAHmF,CAGnF,CAAC;YACH,iCAAiC;YACjC,IAAM,MAAM,GAAG,IAAA,2BAAiB,EAAC,WAAW,EAAE,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YACnG,6CAA6C;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,qBAAqB,CAAC,gqBASpC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,uCAAuC,EAAE;YAC1C,6BAA6B;YAC7B,IAAM,cAAc,GAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;YACpF,0EAA0E;YAC1E,IAAM,MAAM,GAAG,IAAA,2BAAiB,EAAC,iBAAiB,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;YAC5F,sEAAsE;YACtE,MAAM,CAAC,MAAM,CAAC,CAAC,qBAAqB,CAAC,qQAKpC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const border: CreateMethodsFn;
@@ -1,45 +0,0 @@
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.border = void 0;
29
- var methods_1 = require("../../methods");
30
- var borderDefs = [
31
- ["ba", ["borderStyle", "borderWidth"]],
32
- ["bt", ["borderTopStyle", "borderTopWidth"]],
33
- ["br", ["borderRightStyle", "borderRightWidth"]],
34
- ["bb", ["borderBottomStyle", "borderBottomWidth"]],
35
- ["bl", ["borderLeftStyle", "borderLeftWidth"]],
36
- ];
37
- var border = function () { return __spreadArray(__spreadArray([], __read(borderDefs.map(function (_a) {
38
- var _b;
39
- var _c = __read(_a, 2), abbr = _c[0], _d = __read(_c[1], 2), style = _d[0], width = _d[1];
40
- return (0, methods_1.newMethod)(abbr, (_b = {}, _b[style] = "solid", _b[width] = "1px", _b));
41
- })), false), [
42
- (0, methods_1.newMethod)("bn", { borderStyle: "none", borderWidth: "0" }),
43
- ], false); };
44
- exports.border = border;
45
- //# sourceMappingURL=border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"border.js","sourceRoot":"","sources":["../../../src/sections/tachyons/border.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAwC;AAGxC,IAAM,UAAU,GAAiC;IAC/C,CAAC,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;IACtC,CAAC,IAAI,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAC5C,CAAC,IAAI,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IAChD,CAAC,IAAI,EAAE,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAC;IAClD,CAAC,IAAI,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC;CAC/C,CAAC;AAEK,IAAM,MAAM,GAAoB,cAAM,8CACxC,UAAU,CAAC,GAAG,CAAC,UAAC,EAAsB;;QAAtB,KAAA,aAAsB,EAArB,IAAI,QAAA,EAAE,KAAA,gBAAc,EAAb,KAAK,QAAA,EAAE,KAAK,QAAA;IACrC,OAAO,IAAA,mBAAS,EAAC,IAAI,YAAI,GAAC,KAAK,IAAG,OAAO,EAAE,GAAC,KAAK,IAAG,KAAK,MAAG,CAAC;AAC/D,CAAC,CAAC;IACF,IAAA,mBAAS,EAAC,IAAI,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC;WAJf,CAK5C,CAAC;AALW,QAAA,MAAM,UAKjB"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const borderColor: CreateMethodsFn;
@@ -1,30 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.borderColor = void 0;
20
- var methods_1 = require("../../methods");
21
- var borderColor = function (_a) {
22
- var palette = _a.palette;
23
- var defs = Object.fromEntries(Object.entries(palette).map(function (_a) {
24
- var _b = __read(_a, 2), key = _b[0], value = _b[1];
25
- return ["bc".concat(key), value];
26
- }));
27
- return (0, methods_1.newMethodsForProp)("borderColor", defs, "bc");
28
- };
29
- exports.borderColor = borderColor;
30
- //# sourceMappingURL=borderColors.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const borderRadius: CreateMethodsFn;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.borderRadius = void 0;
4
- var methods_1 = require("../../methods");
5
- var borderRadius = function () {
6
- return (0, methods_1.newMethodsForProp)("borderRadius", {
7
- br0: "0",
8
- br1: ".125rem",
9
- br2: ".25rem",
10
- br3: ".5rem",
11
- br4: "1rem",
12
- br100: "100%",
13
- brPill: "9999px",
14
- });
15
- };
16
- exports.borderRadius = borderRadius;
17
- //# sourceMappingURL=borderRadius.js.map
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const borderStyle: CreateMethodsFn;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.borderStyle = void 0;
4
- var methods_1 = require("../../methods");
5
- // http://tachyons.io/docs/themes/borders/
6
- // https://tailwindcss.com/docs/border-style/#app
7
- var borderStyle = function () {
8
- return (0, methods_1.newMethodsForProp)("borderStyle", {
9
- bsDashed: "dashed",
10
- bsDotted: "dotted",
11
- bsn: "none",
12
- bss: "solid",
13
- }, "bs");
14
- };
15
- exports.borderStyle = borderStyle;
16
- //# sourceMappingURL=borderStyles.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const borderWidth: CreateMethodsFn;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.borderWidth = void 0;
4
- var methods_1 = require("../../methods");
5
- // http://tachyons.io/docs/themes/borders/
6
- var borderWidth = function () {
7
- return (0, methods_1.newMethodsForProp)("borderWidth", {
8
- bw1: "1px",
9
- bw2: "2px",
10
- }, "bw");
11
- };
12
- exports.borderWidth = borderWidth;
13
- //# sourceMappingURL=borderWidths.js.map
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const boxShadow: CreateMethodsFn;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.boxShadow = void 0;
4
- var methods_1 = require("../../methods");
5
- var boxShadow = function () { return [
6
- // bsn is taken by `borderStyle: none`.
7
- (0, methods_1.newMethod)("shadowNone", { boxShadow: "none" }),
8
- ]; };
9
- exports.boxShadow = boxShadow;
10
- //# sourceMappingURL=boxShadow.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const container: CreateMethodsFn;
@@ -1,36 +0,0 @@
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.container = void 0;
29
- var methods_1 = require("../../methods");
30
- var container = function () { return __spreadArray(__spreadArray([], __read((0, methods_1.newMethodsForProp)("containerType", {
31
- cts: "size",
32
- ctis: "inline-size",
33
- ctn: "normal",
34
- }, "ct")), false), __read((0, methods_1.newMethodsForProp)("containerName", {}, "cn")), false); };
35
- exports.container = container;
36
- //# sourceMappingURL=container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.js","sourceRoot":"","sources":["../../../src/sections/tachyons/container.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2D;AAGpD,IAAM,SAAS,GAAoB,cAAM,8CAC3C,IAAA,2BAAiB,EAClB,eAAe,EACf;IACE,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,aAAa;IACnB,GAAG,EAAE,QAAQ;CACd,EACD,IAAI,CACL,kBACE,IAAA,2BAAiB,EAAC,eAAe,EAAE,EAAE,EAAE,IAAI,CAAC,WAVD,CAW/C,CAAC;AAXW,QAAA,SAAS,aAWpB"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const coordinates: CreateMethodsFn;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.coordinates = void 0;
4
- var methods_1 = require("../../methods");
5
- var directions = ["top", "right", "bottom", "left"];
6
- var coordinates = function (config) {
7
- return directions.flatMap(function (d) {
8
- return (0, methods_1.newIncrementMethods)(config, d, d);
9
- });
10
- };
11
- exports.coordinates = coordinates;
12
- //# sourceMappingURL=coordinates.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const cursor: CreateMethodsFn;
@@ -1,35 +0,0 @@
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.cursor = void 0;
29
- var methods_1 = require("../../methods");
30
- var cursor = function () { return __spreadArray([], __read((0, methods_1.newMethodsForProp)("cursor", {
31
- cursorPointer: "pointer",
32
- cursorNotAllowed: "not-allowed",
33
- })), false); };
34
- exports.cursor = cursor;
35
- //# sourceMappingURL=cursor.js.map
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const display: CreateMethodsFn;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.display = void 0;
4
- var methods_1 = require("../../methods");
5
- // https://github.com/tachyons-css/tachyons/blob/master/src/_display.css
6
- var display = function () {
7
- return (0, methods_1.newMethodsForProp)("display", {
8
- dn: "none",
9
- db: "block",
10
- dib: "inline-block",
11
- dit: "inline-table",
12
- dt: "table",
13
- dtc: "table-cell",
14
- dtRow: "table-row",
15
- dtColumn: "table-column",
16
- dtColumnGroup: "table-column-group",
17
- // added
18
- dg: "grid",
19
- dig: "inline-grid",
20
- df: "flex",
21
- dif: "inline-flex",
22
- });
23
- };
24
- exports.display = display;
25
- //# sourceMappingURL=display.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const flexbox: CreateMethodsFn;
@@ -1,129 +0,0 @@
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.flexbox = void 0;
29
- var methods_1 = require("../../methods");
30
- // We originally used the tachyons mappings:
31
- // https://github.com/tachyons-css/tachyons/blob/master/src/_flexbox.css#L17
32
- //
33
- // But later shortened them with the rationale that, once we've all been writing
34
- // flex on a day-to-day basis, we don't need the longer "not-Tachyons-ish" names
35
- // that Tachyons originally picked (i.e. maybe because the flex properties were
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([], __read((0, methods_1.newMethodsForProp)("flex", {
38
- fi: "initial",
39
- fa: "auto",
40
- fn: "none",
41
- f1: "1",
42
- f2: "2",
43
- f3: "3",
44
- f4: "4",
45
- f5: "5",
46
- }, "f")), false), __read((0, methods_1.newMethodsForProp)("justifyContent", {
47
- jcfs: "flex-start",
48
- jcfe: "flex-end",
49
- jcc: "center",
50
- jcsb: "space-between",
51
- jcsa: "space-around",
52
- jcse: "space-evenly",
53
- }, "jc")), false), __read((0, methods_1.newMethodsForProp)("justifySelf", {
54
- jsa: "auto",
55
- jsc: "center",
56
- jss: "start",
57
- jse: "end",
58
- }, "js")), false), __read((0, methods_1.newMethodsForProp)("justifyItems", {
59
- jifs: "flex-start",
60
- jife: "flex-end",
61
- jic: "center",
62
- jisb: "space-between",
63
- jisa: "space-around",
64
- jise: "space-evenly",
65
- }, "ji")), false), __read((0, methods_1.newMethodsForProp)("alignSelf", {
66
- asfs: "flex-start",
67
- asfe: "flex-end",
68
- asc: "center",
69
- asb: "baseline",
70
- asStretch: "stretch",
71
- }, "as")), false), __read((0, methods_1.newMethodsForProp)("alignItems", {
72
- aifs: "flex-start",
73
- aife: "flex-end",
74
- ais: "start",
75
- aie: "end",
76
- aic: "center",
77
- aib: "baseline",
78
- aiStretch: "stretch",
79
- }, "ai")), false), __read((0, methods_1.newMethodsForProp)("placeSelf", {
80
- psa: "auto",
81
- psc: "center",
82
- pss: "start",
83
- pse: "end",
84
- psfs: "flex-start",
85
- psfe: "flex-end",
86
- psStretch: "stretch",
87
- }, "ps")), false), __read((0, methods_1.newMethodsForProp)("placeContent", {
88
- pcc: "center",
89
- pcs: "start",
90
- pce: "end",
91
- pcsb: "space-between",
92
- pcsa: "space-around",
93
- pcse: "space-evenly",
94
- pcb: "baseline",
95
- pcStretch: "stretch",
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",
106
- // https://github.com/tack-hammer/tailwind-plugin-flex-basis#usage
107
- {
108
- fb1: "100%",
109
- fb2: "50%",
110
- fb3: "33.333333%",
111
- fb4: "25%",
112
- fb5: "20%",
113
- fb6: "16.666666%",
114
- fb7: "14.285714%",
115
- fb0: "12.5%",
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
- fdr: "row",
118
- fdrr: "row-reverse",
119
- fdc: "column",
120
- fdcr: "column-reverse",
121
- }, "fd")), false), __read((0, methods_1.newMethodsForProp)("flexWrap", {
122
- fww: "wrap",
123
- fwr: "wrap-reverse",
124
- fwnw: "nowrap",
125
- }, "flexWrap")), false), [
126
- (0, methods_1.newParamMethod)("order", "order"),
127
- ], false); };
128
- exports.flexbox = flexbox;
129
- //# sourceMappingURL=flexbox.js.map
@@ -1 +0,0 @@
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,E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EE,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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const float: CreateMethodsFn;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.float = void 0;
4
- var methods_1 = require("../../methods");
5
- // https://github.com/tachyons-css/tachyons/blob/master/src/_floats.css
6
- var float = function () {
7
- return (0, methods_1.newMethodsForProp)("float", {
8
- fl: "left",
9
- fr: "right",
10
- }, "float");
11
- };
12
- exports.float = float;
13
- //# sourceMappingURL=floats.js.map
@@ -1 +0,0 @@
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,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const fontWeight: CreateMethodsFn;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fontWeight = void 0;
4
- var methods_1 = require("../../methods");
5
- var fontWeight = function () {
6
- return (0, methods_1.newMethodsForProp)("fontWeight", {
7
- fwn: "normal",
8
- fwb: "bold",
9
- fw1: 100,
10
- fw2: 200,
11
- fw3: 300,
12
- fw4: 400,
13
- fw5: 500,
14
- fw6: 600,
15
- fw7: 700,
16
- fw8: 800,
17
- fw9: 900,
18
- }, "fw");
19
- };
20
- exports.fontWeight = fontWeight;
21
- //# sourceMappingURL=fontWeight.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- import { CreateMethodsFn } from "../../config";
2
- export declare const grid: CreateMethodsFn;