@stylexjs/shared 0.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/lib/convert-to-className.js +2 -2
  2. package/lib/generate-css-rule.js +1 -1
  3. package/lib/index.js +2 -2
  4. package/lib/physical-rtl/generate-ltr.d.ts +3 -1
  5. package/lib/physical-rtl/generate-ltr.js +8 -12
  6. package/lib/physical-rtl/generate-ltr.js.flow +2 -2
  7. package/lib/physical-rtl/generate-rtl.d.ts +2 -2
  8. package/lib/physical-rtl/generate-rtl.js +57 -64
  9. package/lib/physical-rtl/generate-rtl.js.flow +2 -2
  10. package/lib/preprocess-rules/application-order.d.ts +4 -111
  11. package/lib/preprocess-rules/application-order.js.flow +3 -110
  12. package/lib/preprocess-rules/basic-validation.js +1 -1
  13. package/lib/preprocess-rules/flatten-raw-style-obj.js +1 -1
  14. package/lib/preprocess-rules/index.js +1 -1
  15. package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +3 -38
  16. package/lib/preprocess-rules/legacy-expand-shorthands.js +1 -1
  17. package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +3 -38
  18. package/lib/preprocess-rules/property-specificity.d.ts +4 -15
  19. package/lib/preprocess-rules/property-specificity.js.flow +3 -14
  20. package/lib/stylex-create-theme.js +2 -2
  21. package/lib/stylex-define-vars.d.ts +8 -5
  22. package/lib/stylex-define-vars.js +2 -2
  23. package/lib/stylex-define-vars.js.flow +5 -1
  24. package/lib/stylex-first-that-works.d.ts +3 -3
  25. package/lib/stylex-first-that-works.js +15 -1
  26. package/lib/stylex-first-that-works.js.flow +3 -3
  27. package/lib/stylex-include.js +1 -1
  28. package/lib/stylex-keyframes.js +1 -1
  29. package/lib/transform-value.js +7 -4
  30. package/lib/types/index.js.flow +1 -1
  31. package/lib/utils/normalize-value.js +1 -1
  32. package/lib/utils/normalizers/convert-camel-case-values.js +1 -1
  33. package/lib/utils/normalizers/detect-unclosed-fns.js +1 -1
  34. package/lib/utils/normalizers/font-size-px-to-rem.js +1 -1
  35. package/lib/utils/normalizers/leading-zero.js +1 -1
  36. package/lib/utils/normalizers/timings.js +1 -1
  37. package/lib/utils/normalizers/zero-dimensions.js +1 -1
  38. package/lib/utils/object-utils.d.ts +3 -2
  39. package/lib/utils/object-utils.js.flow +5 -2
  40. package/lib/utils/property-priorities.d.ts +3 -56
  41. package/lib/utils/property-priorities.js +3 -3
  42. package/lib/utils/property-priorities.js.flow +56 -56
  43. package/lib/utils/split-css-value.js +1 -1
  44. package/package.json +2 -2
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = splitValue;
7
7
  var _postcssValueParser = _interopRequireDefault(require("postcss-value-parser"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
9
  function printNode(node) {
10
10
  switch (node.type) {
11
11
  case 'word':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stylexjs/shared",
3
- "version": "0.7.4",
3
+ "version": "0.8.0",
4
4
  "main": "lib/index.js",
5
5
  "repository": "https://www.github.com/facebook/stylex",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  "postcss-value-parser": "^4.1.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@stylexjs/scripts": "0.7.4"
16
+ "@stylexjs/scripts": "0.8.0"
17
17
  },
18
18
  "jest": {
19
19
  "snapshotFormat": {