@symbo.ls/scratch 3.1.1 → 3.1.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.
@@ -517,3 +517,4 @@ var setActiveConfig = (newConfig) => {
517
517
  FACTORY["1"] = deepMerge(newConfig, deepClone(cachedConfig));
518
518
  return newConfig;
519
519
  };
520
+ // @preserve-env
package/dist/cjs/index.js CHANGED
@@ -2713,3 +2713,4 @@ var set = (recivedConfig, options = SET_OPTIONS) => {
2713
2713
  applyReset();
2714
2714
  return CONFIG2;
2715
2715
  };
2716
+ // @preserve-env
package/dist/cjs/set.js CHANGED
@@ -2077,3 +2077,4 @@ var set = (recivedConfig, options = SET_OPTIONS) => {
2077
2077
  applyReset();
2078
2078
  return CONFIG2;
2079
2079
  };
2080
+ // @preserve-env
@@ -1093,3 +1093,4 @@ var setGradient = (val, key, suffix) => {
1093
1093
  value: val.value || val
1094
1094
  };
1095
1095
  };
1096
+ // @preserve-env
@@ -903,3 +903,4 @@ var applyDocument = () => {
903
903
  lineHeight: TYPOGRAPHY2.lineHeight
904
904
  });
905
905
  };
906
+ // @preserve-env
@@ -925,3 +925,4 @@ var setFontFamily = (val, key) => {
925
925
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
926
926
  return { var: CSSvar, value: str, arr: value, type };
927
927
  };
928
+ // @preserve-env
@@ -2160,3 +2160,4 @@ var applyReset = (reset = {}) => {
2160
2160
  });
2161
2161
  }
2162
2162
  };
2163
+ // @preserve-env
@@ -1015,3 +1015,4 @@ var applyReset = (reset = {}) => {
1015
1015
  });
1016
1016
  }
1017
1017
  };
1018
+ // @preserve-env
@@ -1302,3 +1302,4 @@ var getShadow = (value, globalTheme) => {
1302
1302
  if (CONFIG2.verbose) console.warn("Can't find color", value);
1303
1303
  return value;
1304
1304
  };
1305
+ // @preserve-env
@@ -1254,3 +1254,4 @@ var getSpacingBasedOnRatio = (props, propertyName, val) => {
1254
1254
  }
1255
1255
  return getSpacingByKey(value, propertyName);
1256
1256
  };
1257
+ // @preserve-env
@@ -1004,3 +1004,4 @@ var appendSVG = (lib, options = DEF_OPTIONS) => {
1004
1004
  }
1005
1005
  }
1006
1006
  };
1007
+ // @preserve-env
@@ -1194,3 +1194,4 @@ var getMediaTheme = (value, modifier) => {
1194
1194
  const resolvedTheme = recursiveTheme(themeValue);
1195
1195
  return resolvedTheme;
1196
1196
  };
1197
+ // @preserve-env
@@ -1129,3 +1129,4 @@ var getTimingByKey = (value, property = "timing") => {
1129
1129
  TIMING2
1130
1130
  );
1131
1131
  };
1132
+ // @preserve-env
@@ -1240,3 +1240,4 @@ var getFontSizeByKey = (value) => {
1240
1240
  TYPOGRAPHY2
1241
1241
  );
1242
1242
  };
1243
+ // @preserve-env
@@ -1531,3 +1531,4 @@ var transformBorderRadius = (radius, props, propertyName) => {
1531
1531
  borderRadius: radius.split(" ").map((v, k) => getSpacingBasedOnRatio(props, propertyName, v)[propertyName]).join(" ")
1532
1532
  };
1533
1533
  };
1534
+ // @preserve-env
@@ -333,3 +333,4 @@ var getRgbTone = (rgb, tone) => {
333
333
  return newRgb;
334
334
  }
335
335
  };
336
+ // @preserve-env
@@ -1474,3 +1474,4 @@ var convertSvgToSymbol = (key, code) => {
1474
1474
  symbol = symbol.replace("</svg", "</symbol");
1475
1475
  return symbol;
1476
1476
  };
1477
+ // @preserve-env
@@ -1122,3 +1122,4 @@ var findHeadings = (propertyNames) => {
1122
1122
  return sequence[findLetter];
1123
1123
  });
1124
1124
  };
1125
+ // @preserve-env
@@ -551,3 +551,4 @@ var convertSvgToSymbol = (key, code) => {
551
551
  symbol = symbol.replace("</svg", "</symbol");
552
552
  return symbol;
553
553
  };
554
+ // @preserve-env
@@ -964,3 +964,4 @@ var applyMediaSequenceVars = (FACTORY2, media, options = {}) => {
964
964
  CSS_VARS2[item.variable + "_" + mediaName] = value;
965
965
  }
966
966
  };
967
+ // @preserve-env
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "3.1.1",
5
+ "version": "3.1.2",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -25,9 +25,9 @@
25
25
  "prepublish": "rimraf -I dist && npm run build && npm run copy:package:cjs"
26
26
  },
27
27
  "dependencies": {
28
- "@domql/utils": "^3.1.1",
29
- "@symbo.ls/utils": "^3.1.1",
28
+ "@domql/utils": "^3.1.2",
29
+ "@symbo.ls/utils": "^3.1.2",
30
30
  "color-contrast-checker": "^1.5.0"
31
31
  },
32
- "gitHead": "39fb7a8c07355468ccce79e2f787ca3fa0715692"
32
+ "gitHead": "429b36616aa04c8587a26ce3c129815115e35897"
33
33
  }