@compiled/react 0.19.0 → 0.20.0

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 (143) hide show
  1. package/dist/browser/class-names/index.d.ts +1 -1
  2. package/dist/browser/class-names/index.js +1 -1
  3. package/dist/browser/class-names/index.js.map +1 -1
  4. package/dist/browser/create-strict-api/index.d.ts +3 -3
  5. package/dist/browser/create-strict-api/index.js +2 -2
  6. package/dist/browser/create-strict-api/index.js.map +1 -1
  7. package/dist/browser/css/index.d.ts +1 -1
  8. package/dist/browser/css/index.js +1 -1
  9. package/dist/browser/css/index.js.map +1 -1
  10. package/dist/browser/css-map/index.d.ts +2 -2
  11. package/dist/browser/css-map/index.js +1 -1
  12. package/dist/browser/css-map/index.js.map +1 -1
  13. package/dist/browser/index.d.ts +10 -10
  14. package/dist/browser/index.js +7 -7
  15. package/dist/browser/index.js.map +1 -1
  16. package/dist/browser/keyframes/index.d.ts +1 -1
  17. package/dist/browser/keyframes/index.js +1 -1
  18. package/dist/browser/keyframes/index.js.map +1 -1
  19. package/dist/browser/runtime/ac.js +1 -1
  20. package/dist/browser/runtime/ac.js.map +1 -1
  21. package/dist/browser/runtime/index.d.ts +5 -5
  22. package/dist/browser/runtime/index.js +5 -5
  23. package/dist/browser/runtime/index.js.map +1 -1
  24. package/dist/browser/runtime/sheet.d.ts +1 -1
  25. package/dist/browser/runtime/sheet.js +2 -2
  26. package/dist/browser/runtime/sheet.js.map +1 -1
  27. package/dist/browser/runtime/style-cache.d.ts +1 -1
  28. package/dist/browser/runtime/style-cache.js +2 -2
  29. package/dist/browser/runtime/style-cache.js.map +1 -1
  30. package/dist/browser/runtime/style.d.ts +1 -1
  31. package/dist/browser/runtime/style.js +4 -4
  32. package/dist/browser/runtime/style.js.map +1 -1
  33. package/dist/browser/runtime.d.ts +1 -1
  34. package/dist/browser/runtime.js +1 -1
  35. package/dist/browser/runtime.js.map +1 -1
  36. package/dist/browser/styled/index.d.ts +1 -1
  37. package/dist/browser/styled/index.js +1 -1
  38. package/dist/browser/styled/index.js.map +1 -1
  39. package/dist/browser/types.d.ts +1 -1
  40. package/dist/browser/xcss-prop/index.d.ts +2 -2
  41. package/dist/browser/xcss-prop/index.js +1 -1
  42. package/dist/browser/xcss-prop/index.js.map +1 -1
  43. package/dist/cjs/class-names/index.d.ts +1 -1
  44. package/dist/cjs/class-names/index.js +2 -2
  45. package/dist/cjs/class-names/index.js.map +1 -1
  46. package/dist/cjs/create-strict-api/index.d.ts +3 -3
  47. package/dist/cjs/create-strict-api/index.js +6 -6
  48. package/dist/cjs/create-strict-api/index.js.map +1 -1
  49. package/dist/cjs/css/index.d.ts +1 -1
  50. package/dist/cjs/css/index.js +2 -2
  51. package/dist/cjs/css/index.js.map +1 -1
  52. package/dist/cjs/css-map/index.d.ts +2 -2
  53. package/dist/cjs/css-map/index.js +2 -2
  54. package/dist/cjs/css-map/index.js.map +1 -1
  55. package/dist/cjs/index.d.ts +10 -10
  56. package/dist/cjs/index.js +14 -14
  57. package/dist/cjs/index.js.map +1 -1
  58. package/dist/cjs/keyframes/index.d.ts +1 -1
  59. package/dist/cjs/keyframes/index.js +2 -2
  60. package/dist/cjs/keyframes/index.js.map +1 -1
  61. package/dist/cjs/runtime/ac.js +2 -2
  62. package/dist/cjs/runtime/ac.js.map +1 -1
  63. package/dist/cjs/runtime/index.d.ts +5 -5
  64. package/dist/cjs/runtime/index.js +11 -11
  65. package/dist/cjs/runtime/index.js.map +1 -1
  66. package/dist/cjs/runtime/sheet.d.ts +1 -1
  67. package/dist/cjs/runtime/sheet.js +3 -3
  68. package/dist/cjs/runtime/sheet.js.map +1 -1
  69. package/dist/cjs/runtime/style-cache.d.ts +1 -1
  70. package/dist/cjs/runtime/style-cache.js +6 -6
  71. package/dist/cjs/runtime/style-cache.js.map +1 -1
  72. package/dist/cjs/runtime/style.d.ts +1 -1
  73. package/dist/cjs/runtime/style.js +10 -10
  74. package/dist/cjs/runtime/style.js.map +1 -1
  75. package/dist/cjs/runtime.d.ts +1 -1
  76. package/dist/cjs/runtime.js +7 -7
  77. package/dist/cjs/runtime.js.map +1 -1
  78. package/dist/cjs/styled/index.d.ts +1 -1
  79. package/dist/cjs/styled/index.js +2 -2
  80. package/dist/cjs/styled/index.js.map +1 -1
  81. package/dist/cjs/types.d.ts +1 -1
  82. package/dist/cjs/xcss-prop/index.d.ts +2 -2
  83. package/dist/cjs/xcss-prop/index.js +2 -2
  84. package/dist/cjs/xcss-prop/index.js.map +1 -1
  85. package/dist/esm/class-names/index.d.ts +1 -1
  86. package/dist/esm/class-names/index.js +1 -1
  87. package/dist/esm/class-names/index.js.map +1 -1
  88. package/dist/esm/create-strict-api/index.d.ts +3 -3
  89. package/dist/esm/create-strict-api/index.js +2 -2
  90. package/dist/esm/create-strict-api/index.js.map +1 -1
  91. package/dist/esm/css/index.d.ts +1 -1
  92. package/dist/esm/css/index.js +1 -1
  93. package/dist/esm/css/index.js.map +1 -1
  94. package/dist/esm/css-map/index.d.ts +2 -2
  95. package/dist/esm/css-map/index.js +1 -1
  96. package/dist/esm/css-map/index.js.map +1 -1
  97. package/dist/esm/index.d.ts +10 -10
  98. package/dist/esm/index.js +7 -7
  99. package/dist/esm/index.js.map +1 -1
  100. package/dist/esm/keyframes/index.d.ts +1 -1
  101. package/dist/esm/keyframes/index.js +1 -1
  102. package/dist/esm/keyframes/index.js.map +1 -1
  103. package/dist/esm/runtime/ac.js +1 -1
  104. package/dist/esm/runtime/ac.js.map +1 -1
  105. package/dist/esm/runtime/index.d.ts +5 -5
  106. package/dist/esm/runtime/index.js +5 -5
  107. package/dist/esm/runtime/index.js.map +1 -1
  108. package/dist/esm/runtime/sheet.d.ts +1 -1
  109. package/dist/esm/runtime/sheet.js +2 -2
  110. package/dist/esm/runtime/sheet.js.map +1 -1
  111. package/dist/esm/runtime/style-cache.d.ts +1 -1
  112. package/dist/esm/runtime/style-cache.js +2 -2
  113. package/dist/esm/runtime/style-cache.js.map +1 -1
  114. package/dist/esm/runtime/style.d.ts +1 -1
  115. package/dist/esm/runtime/style.js +4 -4
  116. package/dist/esm/runtime/style.js.map +1 -1
  117. package/dist/esm/runtime.d.ts +1 -1
  118. package/dist/esm/runtime.js +1 -1
  119. package/dist/esm/runtime.js.map +1 -1
  120. package/dist/esm/styled/index.d.ts +1 -1
  121. package/dist/esm/styled/index.js +1 -1
  122. package/dist/esm/styled/index.js.map +1 -1
  123. package/dist/esm/types.d.ts +1 -1
  124. package/dist/esm/xcss-prop/index.d.ts +2 -2
  125. package/dist/esm/xcss-prop/index.js +1 -1
  126. package/dist/esm/xcss-prop/index.js.map +1 -1
  127. package/package.json +2 -2
  128. package/src/class-names/index.ts +2 -2
  129. package/src/create-strict-api/index.ts +4 -4
  130. package/src/css/index.ts +2 -2
  131. package/src/css-map/__tests__/index.test.tsx +25 -0
  132. package/src/css-map/index.ts +3 -3
  133. package/src/index.ts +10 -10
  134. package/src/keyframes/index.ts +2 -2
  135. package/src/runtime/ac.ts +1 -1
  136. package/src/runtime/index.ts +5 -5
  137. package/src/runtime/sheet.ts +3 -3
  138. package/src/runtime/style-cache.tsx +3 -3
  139. package/src/runtime/style.tsx +5 -5
  140. package/src/runtime.ts +1 -1
  141. package/src/styled/index.ts +2 -2
  142. package/src/types.ts +1 -0
  143. package/src/xcss-prop/index.ts +8 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAsC;AAItC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AAQxB,6BAAuC;AAA9B,2GAAA,OAAO,OAAO;AACvB,qCAA8C;AAArC,kHAAA,OAAO,OAAU;AAC1B,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,mCAA+C;AAAtC,gGAAA,MAAM,OAAA;AASf,yCAOqB;AADnB,+FAAA,EAAE,OAAA;AAGJ,0CAA0C;AAC1C,kGAAkG;AACrF,QAAA,GAAG,GAAG,qBAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAsC;AAItC,mDAAoD;AAA3C,sGAAA,UAAU,OAAA;AACnB,yDAA+D;AAAtD,2GAAA,eAAe,OAAA;AAQxB,2CAAgD;AAAvC,gHAAA,OAAO,OAAO;AACvB,+CAAuD;AAA9C,mHAAA,OAAO,OAAU;AAC1B,iDAAiD;AAAxC,qGAAA,SAAS,OAAA;AAClB,8CAAwD;AAA/C,kGAAA,MAAM,OAAA;AASf,iDAO8B;AAD5B,8FAAA,EAAE,OAAA;AAGJ,0CAA0C;AAC1C,kGAAkG;AACrF,QAAA,GAAG,GAAG,qBAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { BasicTemplateInterpolations, CSSProps } from '../types';
1
+ import type { BasicTemplateInterpolations, CSSProps } from '../types.js';
2
2
  export type KeyframeSteps = string | Record<'from' | 'to' | string, CSSProps<void> | {
3
3
  [key: `--${string}`]: CSSProps<void>[keyof CSSProps<void>];
4
4
  }>;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.keyframes = void 0;
4
- const error_1 = require("../utils/error");
4
+ const error_js_1 = require("../utils/error.js");
5
5
  function keyframes(_stringsOrSteps, ..._interpolations) {
6
- throw (0, error_1.createSetupError)();
6
+ throw (0, error_js_1.createSetupError)();
7
7
  }
8
8
  exports.keyframes = keyframes;
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/keyframes/index.ts"],"names":[],"mappings":";;;AACA,0CAAkD;AA0DlD,SAAgB,SAAS,CACvB,eAAqD,EACrD,GAAG,eAA8C;IAEjD,MAAM,IAAA,wBAAgB,GAAE,CAAC;AAC3B,CAAC;AALD,8BAKC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/keyframes/index.ts"],"names":[],"mappings":";;;AACA,gDAAqD;AA0DrD,SAAgB,SAAS,CACvB,eAAqD,EACrD,GAAG,eAA8C;IAEjD,MAAM,IAAA,2BAAgB,GAAE,CAAC;AAC3B,CAAC;AALD,8BAKC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCache = exports.clearCache = exports.memoizedAc = exports.ac = void 0;
4
- const is_server_environment_1 = require("./is-server-environment");
4
+ const is_server_environment_js_1 = require("./is-server-environment.js");
5
5
  const UNDERSCORE_UNICODE = 95;
6
6
  /**
7
7
  * This length includes the underscore,
@@ -107,7 +107,7 @@ function memoizedAc(classNames) {
107
107
  exports.memoizedAc = memoizedAc;
108
108
  // Memoization is primarily used to prevent React from unncessary re-rendering.
109
109
  // Use unmemoizedAc on server-side because We don't need to worry about re-rendering on server-side.
110
- exports.default = (0, is_server_environment_1.isServerEnvironment)() ? ac : memoizedAc;
110
+ exports.default = (0, is_server_environment_js_1.isServerEnvironment)() ? ac : memoizedAc;
111
111
  /**
112
112
  * Provide an opportunity to clear the cache to prevent memory leak.
113
113
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ac.js","sourceRoot":"","sources":["../../../src/runtime/ac.ts"],"names":[],"mappings":";;;AAAA,mEAA8D;AAE9D,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAE9B;;;GAGG;AACH,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B;;;GAGG;AACH,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;AAExB;;;GAGG;AACH,MAAM,YAAY;IAEhB,YAAY,MAA2B;QACrC,2EAA2E;QAC3E,mFAAmF;QACnF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACD,QAAQ;QACN,IAAI,GAAG,GAAG,EAAE,CAAC;QAEb,KAAK,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,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D;IACpD,uEAAuE;IACvE,2DAA2D;IAC3D,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QAC7C,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;QAC9B,iDAAiD;QACjD,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,QAAQ,IAAI,OAAO,GAAG,GAAG,CAAC;KAC3B;IAED,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAEjC,IAAI,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC;QAAE,OAAO,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAEpD,MAAM,MAAM,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;IAE9B,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAE5B,OAAO,MAAM,CAAC;AAChB,CAAC;AA1BD,gCA0BC;AAED,+EAA+E;AAC/E,oGAAoG;AACpG,kBAAe,IAAA,8CAAmB,GAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;AAEvD;;GAEG;AACH,SAAgB,UAAU;IACxB,KAAK,CAAC,KAAK,EAAE,CAAC;AAChB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,OAAO,KAAK,CAAC;AACf,CAAC;AAFD,4BAEC"}
@@ -1,5 +1,5 @@
1
- export { default as CS } from './style';
2
- export { default as CC } from './style-cache';
3
- export { default as ax } from './ax';
4
- export { default as ac, clearCache as clearAcCache } from './ac';
5
- export { default as ix } from './css-custom-property';
1
+ export { default as CS } from './style.js';
2
+ export { default as CC } from './style-cache.js';
3
+ export { default as ax } from './ax.js';
4
+ export { default as ac, clearCache as clearAcCache } from './ac.js';
5
+ export { default as ix } from './css-custom-property.js';
@@ -4,15 +4,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ix = exports.clearAcCache = exports.ac = exports.ax = exports.CC = exports.CS = void 0;
7
- var style_1 = require("./style");
8
- Object.defineProperty(exports, "CS", { enumerable: true, get: function () { return __importDefault(style_1).default; } });
9
- var style_cache_1 = require("./style-cache");
10
- Object.defineProperty(exports, "CC", { enumerable: true, get: function () { return __importDefault(style_cache_1).default; } });
11
- var ax_1 = require("./ax");
12
- Object.defineProperty(exports, "ax", { enumerable: true, get: function () { return __importDefault(ax_1).default; } });
13
- var ac_1 = require("./ac");
14
- Object.defineProperty(exports, "ac", { enumerable: true, get: function () { return __importDefault(ac_1).default; } });
15
- Object.defineProperty(exports, "clearAcCache", { enumerable: true, get: function () { return ac_1.clearCache; } });
16
- var css_custom_property_1 = require("./css-custom-property");
17
- Object.defineProperty(exports, "ix", { enumerable: true, get: function () { return __importDefault(css_custom_property_1).default; } });
7
+ var style_js_1 = require("./style.js");
8
+ Object.defineProperty(exports, "CS", { enumerable: true, get: function () { return __importDefault(style_js_1).default; } });
9
+ var style_cache_js_1 = require("./style-cache.js");
10
+ Object.defineProperty(exports, "CC", { enumerable: true, get: function () { return __importDefault(style_cache_js_1).default; } });
11
+ var ax_js_1 = require("./ax.js");
12
+ Object.defineProperty(exports, "ax", { enumerable: true, get: function () { return __importDefault(ax_js_1).default; } });
13
+ var ac_js_1 = require("./ac.js");
14
+ Object.defineProperty(exports, "ac", { enumerable: true, get: function () { return __importDefault(ac_js_1).default; } });
15
+ Object.defineProperty(exports, "clearAcCache", { enumerable: true, get: function () { return ac_js_1.clearCache; } });
16
+ var css_custom_property_js_1 = require("./css-custom-property.js");
17
+ Object.defineProperty(exports, "ix", { enumerable: true, get: function () { return __importDefault(css_custom_property_js_1).default; } });
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAwC;AAA/B,4GAAA,OAAO,OAAM;AACtB,6CAA8C;AAArC,kHAAA,OAAO,OAAM;AACtB,2BAAqC;AAA5B,yGAAA,OAAO,OAAM;AACtB,2BAAiE;AAAxD,yGAAA,OAAO,OAAM;AAAE,kGAAA,UAAU,OAAgB;AAClD,6DAAsD;AAA7C,0HAAA,OAAO,OAAM"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;AAAA,uCAA2C;AAAlC,+GAAA,OAAO,OAAM;AACtB,mDAAiD;AAAxC,qHAAA,OAAO,OAAM;AACtB,iCAAwC;AAA/B,4GAAA,OAAO,OAAM;AACtB,iCAAoE;AAA3D,4GAAA,OAAO,OAAM;AAAE,qGAAA,UAAU,OAAgB;AAClD,mEAAyD;AAAhD,6HAAA,OAAO,OAAM"}
@@ -1,4 +1,4 @@
1
- import type { Bucket, StyleSheetOpts } from './types';
1
+ import type { Bucket, StyleSheetOpts } from './types.js';
2
2
  /**
3
3
  * Ordered style buckets using their short pseudo name.
4
4
  *
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStyleBucketName = exports.styleBucketOrdering = void 0;
4
- const cache_1 = require("./cache");
5
- const shorthand_1 = require("./shorthand");
4
+ const cache_js_1 = require("./cache.js");
5
+ const shorthand_js_1 = require("./shorthand.js");
6
6
  /**
7
7
  * Ordered style buckets using their short pseudo name.
8
8
  *
@@ -132,7 +132,7 @@ const getStyleBucketName = (sheet) => {
132
132
  return mapped;
133
133
  }
134
134
  const property = sheet.slice(firstBracket + 1, sheet.indexOf(':', firstBracket)).trim();
135
- const shorthandDepth = (0, shorthand_1.getShorthandDepth)(property);
135
+ const shorthandDepth = (0, shorthand_js_1.getShorthandDepth)(property);
136
136
  if (typeof shorthandDepth === 'number') {
137
137
  return `s-${shorthandDepth}`;
138
138
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.js","sourceRoot":"","sources":["../../../src/runtime/sheet.ts"],"names":[],"mappings":";;;AAAA,mCAA0C;AAC1C,2CAAgD;AAGhD;;;;;;;;GAQG;AACU,QAAA,mBAAmB,GAAa;IAC3C,uBAAuB;IACvB,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,YAAY;IACZ,EAAE;IACF,OAAO;IACP,GAAG;IACH,UAAU;IACV,GAAG;IACH,eAAe;IACf,GAAG;IACH,QAAQ;IACR,GAAG;IACH,gBAAgB;IAChB,GAAG;IACH,QAAQ;IACR,GAAG;IACH,SAAS;IACT,GAAG;IACH,WAAW;IACX,GAAG;CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,kBAAkB,GAA8C,EAAE,CAAC;AAEzE;;;;;;GAMG;AACH,MAAM,UAAU,GAAuC;IACrD,OAAO;IACP,CAAC,EAAE,GAAG;IACN,UAAU;IACV,IAAI,EAAE,GAAG;IACT,eAAe;IACf,WAAW,EAAE,GAAG;IAChB,QAAQ;IACR,EAAE,EAAE,GAAG;IACP,gBAAgB;IAChB,YAAY,EAAE,GAAG;IACjB,QAAQ;IACR,EAAE,EAAE,GAAG;IACP,SAAS;IACT,GAAG,EAAE,GAAG;CACT,CAAC;AAEF;;;;;GAKG;AACH,SAAS,wBAAwB,CAAC,UAAkB,EAAE,IAAoB;IACxE,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE;QACnC,IAAI,kBAAkB,GAAG,2BAAmB,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACrE,IAAI,mBAAmB,GAAG,IAAI,CAAC;QAE/B,sEAAsE;QACtE,OAAO,kBAAkB,GAAG,2BAAmB,CAAC,MAAM,EAAE,kBAAkB,EAAE,EAAE;YAC5E,MAAM,UAAU,GAAG,kBAAkB,CAAC,2BAAmB,CAAC,kBAAkB,CAAC,CA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AU,EAAE,IAAI,CAAC,CAAC;IAEzD,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;QACzC,MAAM,KAAK,GAAG,KAAK,CAAC,KAAsB,CAAC;QAE3C,uGAAuG;QACvG,IAAI;YACF,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;SAC9C;QAAC,WAAM,GAAE;KACX;SAAM;QACL,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;KACjD;AACH,CAAC;AAdD,6BAcC"}
@@ -1,4 +1,4 @@
1
- import type { ProviderComponent, UseCacheHook } from './types';
1
+ import type { ProviderComponent, UseCacheHook } from './types.js';
2
2
  /**
3
3
  * Hook using the cache created on the server or client.
4
4
  */
@@ -26,14 +26,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.useCache = void 0;
27
27
  const React = __importStar(require("react"));
28
28
  const react_1 = require("react");
29
- const cache_1 = require("./cache");
30
- const is_server_environment_1 = require("./is-server-environment");
29
+ const cache_js_1 = require("./cache.js");
30
+ const is_server_environment_js_1 = require("./is-server-environment.js");
31
31
  /**
32
32
  * Cache to hold already used styles.
33
33
  * React Context on the server - singleton object on the client.
34
34
  */
35
- const Cache = (0, is_server_environment_1.isServerEnvironment)() ? (0, react_1.createContext)(null) : {};
36
- if (!(0, is_server_environment_1.isServerEnvironment)() && typeof document !== 'undefined') {
35
+ const Cache = (0, is_server_environment_js_1.isServerEnvironment)() ? (0, react_1.createContext)(null) : {};
36
+ if (!(0, is_server_environment_js_1.isServerEnvironment)() && typeof document !== 'undefined') {
37
37
  /**
38
38
  * Iterates through all found style elements generated when server side rendering.
39
39
  *
@@ -52,7 +52,7 @@ const useCache = () => {
52
52
  if (false) {
53
53
  return {};
54
54
  }
55
- if ((0, is_server_environment_1.isServerEnvironment)()) {
55
+ if ((0, is_server_environment_js_1.isServerEnvironment)()) {
56
56
  // On the server we use React Context to we don't leak the cache between SSR calls.
57
57
  // During runtime this hook isn't conditionally called - it is at build time that the flow gets decided.
58
58
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -69,7 +69,7 @@ exports.useCache = useCache;
69
69
  * On the browser this turns into a fragment with no React Context.
70
70
  */
71
71
  const StyleCacheProvider = (props) => {
72
- if ((0, is_server_environment_1.isServerEnvironment)()) {
72
+ if ((0, is_server_environment_js_1.isServerEnvironment)()) {
73
73
  // This code path isn't conditionally called at build time - safe to ignore.
74
74
  // eslint-disable-next-line react-hooks/rules-of-hooks
75
75
  const inserted = (0, exports.useCache)();
@@ -1 +1 @@
1
- {"version":3,"file":"style-cache.js","sourceRoot":"","sources":["../../../src/runtime/style-cache.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAAkD;AAElD,mCAA0C;AAC1C,mEAA8D;AAG9D;;;GAGG;AACH,MAAM,KAAK,GAAQ,IAAA,2CAAmB,GAAE,CAAC,CAAC,CAAC,IAAA,qBAAa,EAA8B,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAEjG,IAAI,CAAC,IAAA,2CAAmB,GAAE,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;IAC7D;;;;OAIG;IACH,MAAM,SAAS,GAAG,QAAQ,CAAC,gBAAgB,CAAmB,mBAAmB,CAAC,CAAC;IACnF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACzC,iGAAiG;QACjG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;KACzC;CACF;AAED;;GAEG;AACI,MAAM,QAAQ,GAAiB,GAAG,EAAE;IACzC,WAAuB;QACrB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,IAAA,2CAAmB,GAAE,EAAE;QACzB,mFAAmF;QAC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;AAED;;GAEG;AACI,MAAM,QAAQ,GAAiB,GAAG,EAAE;IACzC,WAAuB;QACrB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,IAAA,8CAAmB,GAAE,EAAE;QACzB,mFAAmF;QACnF,wGAAwG;QACxG,sDAAsD;QACtD,OAAO,IAAA,kBAAU,EAAC,KAAK,CAAC,IAAI,EAAE,CAAC;KAChC;IAED,6CAA6C;IAC7C,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAdW,QAAA,QAAQ,YAcnB;AAEF;;;;;GAKG;AACH,MAAM,kBAAkB,GAAsB,CAAC,KAAK,EAAE,EAAE;IACtD,IAAI,IAAA,8CAAmB,GAAE,EAAE;QACzB,4EAA4E;QAC5E,sDAAsD;QACtD,MAAM,QAAQ,GAAG,IAAA,gBAAQ,GAAE,CAAC;QAC5B,OAAO,oBAAC,KAAK,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ,IAAG,KAAK,CAAC,QAAQ,CAAkB,CAAC;KAC3E;IAED,OAAO,KAAK,CAAC,QAAuB,CAAC;AACvC,CAAC,CAAC;AAEF,kBAAe,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { StyleSheetOpts } from './types';
2
+ import type { StyleSheetOpts } from './types.js';
3
3
  interface StyleProps extends StyleSheetOpts {
4
4
  /**
5
5
  * CSS Rules.
@@ -27,17 +27,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const react_1 = __importDefault(require("react"));
30
- const dev_warnings_1 = require("./dev-warnings");
31
- const is_server_environment_1 = require("./is-server-environment");
32
- const sheet_1 = __importStar(require("./sheet"));
33
- const style_cache_1 = require("./style-cache");
30
+ const dev_warnings_js_1 = require("./dev-warnings.js");
31
+ const is_server_environment_js_1 = require("./is-server-environment.js");
32
+ const sheet_js_1 = __importStar(require("./sheet.js"));
33
+ const style_cache_js_1 = require("./style-cache.js");
34
34
  function Style(props) {
35
- const inserted = (0, style_cache_1.useCache)();
35
+ const inserted = (0, style_cache_js_1.useCache)();
36
36
  if (process.env.NODE_ENV === 'development') {
37
- props.children.forEach(dev_warnings_1.analyzeCssInDev);
37
+ props.children.forEach(dev_warnings_js_1.analyzeCssInDev);
38
38
  }
39
39
  if (props.children.length) {
40
- if ((0, is_server_environment_1.isServerEnvironment)()) {
40
+ if ((0, is_server_environment_js_1.isServerEnvironment)()) {
41
41
  const bucketedSheets = {};
42
42
  let hasSheets = false;
43
43
  for (let i = 0; i < props.children.length; i++) {
@@ -49,14 +49,14 @@ function Style(props) {
49
49
  inserted[sheet] = true;
50
50
  hasSheets = true;
51
51
  }
52
- const bucketName = (0, sheet_1.getStyleBucketName)(sheet);
52
+ const bucketName = (0, sheet_js_1.getStyleBucketName)(sheet);
53
53
  bucketedSheets[bucketName] = (bucketedSheets[bucketName] || '') + sheet;
54
54
  }
55
55
  if (!hasSheets) {
56
56
  return null;
57
57
  }
58
58
  return (react_1.default.createElement("style", { "data-cmpld": true, nonce: props.nonce, dangerouslySetInnerHTML: {
59
- __html: sheet_1.styleBucketOrdering.map((bucket) => bucketedSheets[bucket]).join(''),
59
+ __html: sheet_js_1.styleBucketOrdering.map((bucket) => bucketedSheets[bucket]).join(''),
60
60
  } }));
61
61
  }
62
62
  else {
@@ -66,7 +66,7 @@ function Style(props) {
66
66
  continue;
67
67
  }
68
68
  inserted[sheet] = true;
69
- (0, sheet_1.default)(sheet, props);
69
+ (0, sheet_js_1.default)(sheet, props);
70
70
  }
71
71
  }
72
72
  }
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/runtime/style.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAE1B,iDAAiD;AACjD,mEAA8D;AAC9D,iDAA8E;AAC9E,+CAAyC;AAWzC,SAAwB,KAAK,CAAC,KAAiB;IAC7C,MAAM,QAAQ,GAAG,IAAA,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AA,6BAAkB,EAAC,KAAK,CAAC,CAAC;gBAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC;aACzE;YAED,IAAI,CAAC,SAAS,EAAE;gBACd,OAAO,IAAI,CAAC;aACb;YAED,OAAO,CACL,6DAEE,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,uBAAuB,EAAE;oBACvB,MAAM,EAAE,8BAAmB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;iBAC7E,GACD,CACH,CAAC;SACH;aAAM;YACL,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAC9C,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAChC,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;oBACnB,SAAS;iBACV;gBAED,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;gBACvB,IAAA,kBAAU,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;aAC1B;SACF;KACF;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AApDD,wBAoDC"}
@@ -1 +1 @@
1
- export { CC, CS, ax, ac, clearAcCache, ix } from './runtime/index';
1
+ export { CC, CS, ax, ac, clearAcCache, ix } from './runtime/index.js';
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ix = exports.clearAcCache = exports.ac = exports.ax = exports.CS = exports.CC = void 0;
4
- var index_1 = require("./runtime/index");
5
- Object.defineProperty(exports, "CC", { enumerable: true, get: function () { return index_1.CC; } });
6
- Object.defineProperty(exports, "CS", { enumerable: true, get: function () { return index_1.CS; } });
7
- Object.defineProperty(exports, "ax", { enumerable: true, get: function () { return index_1.ax; } });
8
- Object.defineProperty(exports, "ac", { enumerable: true, get: function () { return index_1.ac; } });
9
- Object.defineProperty(exports, "clearAcCache", { enumerable: true, get: function () { return index_1.clearAcCache; } });
10
- Object.defineProperty(exports, "ix", { enumerable: true, get: function () { return index_1.ix; } });
4
+ var index_js_1 = require("./runtime/index.js");
5
+ Object.defineProperty(exports, "CC", { enumerable: true, get: function () { return index_js_1.CC; } });
6
+ Object.defineProperty(exports, "CS", { enumerable: true, get: function () { return index_js_1.CS; } });
7
+ Object.defineProperty(exports, "ax", { enumerable: true, get: function () { return index_js_1.ax; } });
8
+ Object.defineProperty(exports, "ac", { enumerable: true, get: function () { return index_js_1.ac; } });
9
+ Object.defineProperty(exports, "clearAcCache", { enumerable: true, get: function () { return index_js_1.clearAcCache; } });
10
+ Object.defineProperty(exports, "ix", { enumerable: true, get: function () { return index_js_1.ix; } });
11
11
  //# sourceMappingURL=runtime.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":";;;AAAA,yCAAmE;AAA1D,2FAAA,EAAE,OAAA;AAAE,2FAAA,EAAE,OAAA;AAAE,2FAAA,EAAE,OAAA;AAAE,2FAAA,EAAE,OAAA;AAAE,qGAAA,YAAY,OAAA;AAAE,2FAAA,EAAE,OAAA"}
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":";;;AAAA,+CAAsE;AAA7D,8FAAA,EAAE,OAAA;AAAE,8FAAA,EAAE,OAAA;AAAE,8FAAA,EAAE,OAAA;AAAE,8FAAA,EAAE,OAAA;AAAE,wGAAA,YAAY,OAAA;AAAE,8FAAA,EAAE,OAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType } from 'react';
2
- import type { CssType, CssFunction } from '../types';
2
+ import type { CssType, CssFunction } from '../types.js';
3
3
  /**
4
4
  * Extra props added to the output Styled Component.
5
5
  */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.styled = void 0;
4
- const error_1 = require("../utils/error");
4
+ const error_js_1 = require("../utils/error.js");
5
5
  /**
6
6
  * ## Styled component
7
7
  *
@@ -48,7 +48,7 @@ exports.styled = new Proxy({}, {
48
48
  return () => {
49
49
  // Blow up if the transformer isn't turned on.
50
50
  // This code won't ever be executed when setup correctly.
51
- throw (0, error_1.createSetupError)();
51
+ throw (0, error_js_1.createSetupError)();
52
52
  };
53
53
  },
54
54
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styled/index.ts"],"names":[],"mappings":";;;AAGA,0CAAkD;AAoClD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACU,QAAA,MAAM,GAA0B,IAAI,KAAK,CACpD,EAAE,EACF;IACE,GAAG;QACD,OAAO,GAAG,EAAE;YACV,8CAA8C;YAC9C,yDAAyD;YACzD,MAAM,IAAA,wBAAgB,GAAE,CAAC;QAC3B,CAAC,CAAC;IACJ,CAAC;CACF,CACK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/styled/index.ts"],"names":[],"mappings":";;;AAGA,gDAAqD;AAoCrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACU,QAAA,MAAM,GAA0B,IAAI,KAAK,CACpD,EAAE,EACF;IACE,GAAG;QACD,OAAO,GAAG,EAAE;YACV,8CAA8C;YAC9C,yDAAyD;YACzD,MAAM,IAAA,2BAAgB,GAAE,CAAC;QAC3B,CAAC,CAAC;IACJ,CAAC;CACF,CACK,CAAC"}
@@ -20,7 +20,7 @@ export type CssObject<TProps> = Readonly<{
20
20
  export type CssFunction<TProps = unknown> = CssType<TProps> | BasicTemplateInterpolations | null | boolean | undefined;
21
21
  export type CSSPseudoElements = '&::after' | '&::backdrop' | '&::before' | '&::cue' | '&::cue-region' | '&::first-letter' | '&::first-line' | '&::grammar-error' | '&::marker' | '&::placeholder' | '&::selection' | '&::spelling-error' | '&::target-text' | '&::view-transition';
22
22
  export type CSSFlattenedChainedPsuedos = '&:visited:active' | '&:visited:hover' | '&:visited:focus' | '&:visited:focus-visible' | '&:visited:focus-within' | '&:active:visited' | '&:hover::before' | '&:hover::after' | '&:focus-visible::before' | '&:focus-visible::after' | '&:focus::before' | '&:focus::after' | '&:focus-within::before' | '&:focus-within::after' | '&:focus:not(:focus-visible)';
23
- export type CSSPseudoClasses = '&:active' | '&:autofill' | '&:blank' | '&:checked' | '&:default' | '&:defined' | '&:disabled' | '&:empty' | '&:enabled' | '&:first' | '&:focus' | '&:focus-visible' | '&:focus-within' | '&:fullscreen' | '&:hover' | '&:in-range' | '&:indeterminate' | '&:invalid' | '&:left' | '&:link' | '&:local-link' | '&:optional' | '&:out-of-range' | '&:paused' | '&:picture-in-picture' | '&:placeholder-shown' | '&:playing' | '&:read-only' | '&:read-write' | '&:required' | '&:right' | '&:target' | '&:user-invalid' | '&:user-valid' | '&:valid' | '&:visited';
23
+ export type CSSPseudoClasses = '&:active' | '&:autofill' | '&:blank' | '&:checked' | '&:default' | '&:defined' | '&:disabled' | '&:empty' | '&:enabled' | '&:first' | '&:focus' | '&:focus-visible' | '&:focus-within' | '&:fullscreen' | '&:hover' | '&:in-range' | '&:indeterminate' | '&:invalid' | '&:left' | '&:link' | '&:local-link' | '&:optional' | '&:out-of-range' | '&:paused' | '&:picture-in-picture' | '&:placeholder-shown' | '&:playing' | '&:popover-open' | '&:read-only' | '&:read-write' | '&:required' | '&:right' | '&:target' | '&:user-invalid' | '&:user-valid' | '&:valid' | '&:visited';
24
24
  export type AllCSSPseudoClasses = CSSPseudoClasses | CSSFlattenedChainedPsuedos;
25
25
  export type CSSPseudos = CSSPseudoElements | AllCSSPseudoClasses;
26
26
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as CSS from 'csstype';
2
- import type { ApplySchemaValue } from '../create-strict-api/types';
3
- import type { CSSPseudos, CSSProperties, StrictCSSProperties, AllCSSPseudoClasses } from '../types';
2
+ import type { ApplySchemaValue } from '../create-strict-api/types.js';
3
+ import type { CSSPseudos, CSSProperties, StrictCSSProperties, AllCSSPseudoClasses } from '../types.js';
4
4
  type MarkAsRequired<T, K extends keyof T> = T & {
5
5
  [P in K]-?: T[P];
6
6
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cx = void 0;
4
- const runtime_1 = require("../runtime");
4
+ const runtime_js_1 = require("../runtime.js");
5
5
  /**
6
6
  * ## CX
7
7
  *
@@ -24,7 +24,7 @@ const cx = (...styles) => {
24
24
  const actualStyles = styles;
25
25
  // The output should be a union type of passed in styles. This ensures the call
26
26
  // site of xcss prop can raise violations when disallowed styles have been passed.
27
- return (0, runtime_1.ax)(actualStyles);
27
+ return (0, runtime_js_1.ax)(actualStyles);
28
28
  };
29
29
  exports.cx = cx;
30
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/xcss-prop/index.ts"],"names":[],"mappings":";;;AAGA,wCAAgC;AAsLhC;;;;;;;;;;;;;;;GAeG;AACI,MAAM,EAAE,GAAG,CAChB,GAAG,MAAe,EACD,EAAE;IACnB,2EAA2E;IAC3E,sDAAsD;IACtD,MAAM,YAAY,GAAG,MAA6B,CAAC;IAEnD,+EAA+E;IAC/E,kFAAkF;IAClF,OAAO,IAAA,YAAE,EAAC,YAAY,CAAoB,CAAC;AAC7C,CAAC,CAAC;AAVW,QAAA,EAAE,MAUb"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/xcss-prop/index.ts"],"names":[],"mappings":";;;AAGA,8CAAmC;AA2LnC;;;;;;;;;;;;;;;GAeG;AACI,MAAM,EAAE,GAAG,CAChB,GAAG,MAAe,EACD,EAAE;IACnB,2EAA2E;IAC3E,sDAAsD;IACtD,MAAM,YAAY,GAAG,MAA6B,CAAC;IAEnD,+EAA+E;IAC/E,kFAAkF;IAClF,OAAO,IAAA,eAAE,EAAC,YAAY,CAAoB,CAAC;AAC7C,CAAC,CAAC;AAVW,QAAA,EAAE,MAUb"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode, CSSProperties } from 'react';
2
- import type { CssType, CssFunction } from '../types';
2
+ import type { CssType, CssFunction } from '../types.js';
3
3
  export type ObjectInterpolation<TProps> = CssType<TProps> | CssType<TProps>[];
4
4
  export type TemplateStringsInterpolation<TProps> = CssFunction<TProps> | CssFunction<TProps>[];
5
5
  interface CssSignature<TProps> {
@@ -1,4 +1,4 @@
1
- import { createSetupError } from '../utils/error';
1
+ import { createSetupError } from '../utils/error.js';
2
2
  export function ClassNames(_props) {
3
3
  throw createSetupError();
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/class-names/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAqDlD,MAAM,UAAU,UAAU,CAAgB,MAA+B;IACvE,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/class-names/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAqDrD,MAAM,UAAU,UAAU,CAAgB,MAA+B;IACvE,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { StrictCSSProperties, CSSPseudos, CSSProps } from '../types';
2
- import { type CompiledStyles, cx, type Internal$XCSSProp } from '../xcss-prop';
3
- import type { AllowedStyles, ApplySchema, ApplySchemaMap, CompiledSchemaShape } from './types';
1
+ import type { StrictCSSProperties, CSSPseudos, CSSProps } from '../types.js';
2
+ import { type CompiledStyles, cx, type Internal$XCSSProp } from '../xcss-prop/index.js';
3
+ import type { AllowedStyles, ApplySchema, ApplySchemaMap, CompiledSchemaShape } from './types.js';
4
4
  export interface StrictOptions {
5
5
  media: string;
6
6
  }
@@ -1,5 +1,5 @@
1
- import { createStrictSetupError } from '../utils/error';
2
- import { cx } from '../xcss-prop';
1
+ import { createStrictSetupError } from '../utils/error.js';
2
+ import { cx } from '../xcss-prop/index.js';
3
3
  /**
4
4
  * ## Create Strict API
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/create-strict-api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAuB,EAAE,EAA0B,MAAM,cAAc,CAAC;AAyJ/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,UAAU,eAAe;IAI7B,OAAO;QACL,GAAG;YACD,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;QACD,MAAM;YACJ,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;QACD,EAAE;QACF,QAAQ;YACN,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/create-strict-api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAuB,EAAE,EAA0B,MAAM,uBAAuB,CAAC;AAyJxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAM,UAAU,eAAe;IAI7B,OAAO;QACL,GAAG;YACD,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;QACD,MAAM;YACJ,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;QACD,EAAE;QACF,QAAQ;YACN,MAAM,sBAAsB,EAAE,CAAC;QACjC,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { CSSProps, CssObject, CssFunction } from '../types';
1
+ import type { CSSProps, CssObject, CssFunction } from '../types.js';
2
2
  /**
3
3
  * ## CSS
4
4
  *
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/export */
2
- import { createSetupError } from '../utils/error';
2
+ import { createSetupError } from '../utils/error.js';
3
3
  export default function css(_styles, ..._interpolations) {
4
4
  throw createSetupError();
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/css/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAGlC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAyClD,MAAM,CAAC,OAAO,UAAU,GAAG,CACzB,OAA6D,EAC7D,GAAG,eAA8B;IAEjC,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/css/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAGlC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAyCrD,MAAM,CAAC,OAAO,UAAU,GAAG,CACzB,OAA6D,EAC7D,GAAG,eAA8B;IAEjC,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type * as CSS from 'csstype';
2
- import type { CSSPseudos, CSSProperties } from '../types';
3
- import type { CompiledStyles } from '../xcss-prop';
2
+ import type { CSSPseudos, CSSProperties } from '../types.js';
3
+ import type { CompiledStyles } from '../xcss-prop/index.js';
4
4
  type AllPseudos = {
5
5
  [key in CSSPseudos]?: CSSProperties & AllPseudos;
6
6
  };
@@ -1,4 +1,4 @@
1
- import { createSetupError } from '../utils/error';
1
+ import { createSetupError } from '../utils/error.js';
2
2
  /**
3
3
  * ## CSS Map
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/css-map/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAiGlD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAM5B,OAAgB;IAIhB,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/css-map/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAiGrD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAM5B,OAAgB;IAIhB,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { createElement } from 'react';
2
- import type { CompiledJSX } from './jsx/jsx-local-namespace';
3
- export { ClassNames } from './class-names';
4
- export { createStrictAPI } from './create-strict-api';
5
- export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types';
6
- export { default as css } from './css';
7
- export { default as cssMap } from './css-map';
8
- export { keyframes } from './keyframes';
9
- export { styled, StyledProps } from './styled';
10
- export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types';
11
- export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop';
2
+ import type { CompiledJSX } from './jsx/jsx-local-namespace.js';
3
+ export { ClassNames } from './class-names/index.js';
4
+ export { createStrictAPI } from './create-strict-api/index.js';
5
+ export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types.js';
6
+ export { default as css } from './css/index.js';
7
+ export { default as cssMap } from './css-map/index.js';
8
+ export { keyframes } from './keyframes/index.js';
9
+ export { styled, StyledProps } from './styled/index.js';
10
+ export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types.js';
11
+ export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop/index.js';
12
12
  export declare const jsx: typeof createElement;
13
13
  export declare namespace jsx {
14
14
  namespace JSX {
package/dist/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createElement } from 'react';
2
- export { ClassNames } from './class-names';
3
- export { createStrictAPI } from './create-strict-api';
4
- export { default as css } from './css';
5
- export { default as cssMap } from './css-map';
6
- export { keyframes } from './keyframes';
7
- export { styled } from './styled';
8
- export { cx, } from './xcss-prop';
2
+ export { ClassNames } from './class-names/index.js';
3
+ export { createStrictAPI } from './create-strict-api/index.js';
4
+ export { default as css } from './css/index.js';
5
+ export { default as cssMap } from './css-map/index.js';
6
+ export { keyframes } from './keyframes/index.js';
7
+ export { styled } from './styled/index.js';
8
+ export { cx, } from './xcss-prop/index.js';
9
9
  // Pass through the (classic) jsx runtime.
10
10
  // Compiled currently doesn't define its own and uses this purely to enable a local jsx namespace.
11
11
  export const jsx = createElement;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQtD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAS/C,OAAO,EAML,EAAE,GACH,MAAM,aAAa,CAAC;AAErB,0CAA0C;AAC1C,kGAAkG;AAClG,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAQ/D,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAe,MAAM,mBAAmB,CAAC;AASxD,OAAO,EAML,EAAE,GACH,MAAM,sBAAsB,CAAC;AAE9B,0CAA0C;AAC1C,kGAAkG;AAClG,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { BasicTemplateInterpolations, CSSProps } from '../types';
1
+ import type { BasicTemplateInterpolations, CSSProps } from '../types.js';
2
2
  export type KeyframeSteps = string | Record<'from' | 'to' | string, CSSProps<void> | {
3
3
  [key: `--${string}`]: CSSProps<void>[keyof CSSProps<void>];
4
4
  }>;
@@ -1,4 +1,4 @@
1
- import { createSetupError } from '../utils/error';
1
+ import { createSetupError } from '../utils/error.js';
2
2
  export function keyframes(_stringsOrSteps, ..._interpolations) {
3
3
  throw createSetupError();
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/keyframes/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AA0DlD,MAAM,UAAU,SAAS,CACvB,eAAqD,EACrD,GAAG,eAA8C;IAEjD,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/keyframes/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AA0DrD,MAAM,UAAU,SAAS,CACvB,eAAqD,EACrD,GAAG,eAA8C;IAEjD,MAAM,gBAAgB,EAAE,CAAC;AAC3B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { isServerEnvironment } from './is-server-environment';
1
+ import { isServerEnvironment } from './is-server-environment.js';
2
2
  const UNDERSCORE_UNICODE = 95;
3
3
  /**
4
4
  * This length includes the underscore,
@@ -1 +1 @@
1
- {"version":3,"file":"ac.js","sourceRoot":"","sources":["../../../src/runtime/ac.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAE9B;;;GAGG;AACH,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B;;;GAGG;AACH,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;AAExB;;;GAGG;AACH,MAAM,YAAY;IAEhB,YAAY,MAA2B;QACrC,2EAA2E;QAC3E,mFAAmF;QACnF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACD,QAAQ;QACN,IAAI,GAAG,GAAG,EAAE,CAAC;QAEb,KAAK,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE;YACnC,GAAG,IAAI,KAAK,GAAG,GAAG,CAAC;SACpB;QAED,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,EAAE,CAChB,UAAgE;IAEhE,2CAA2C;IAC3C,IAAI,UAAU,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IAE/D,MAAM,YAAY,GAAwB,IAAI,GAAG,EAAE,CAAC;IAEpD,KAAK,IAAI,CA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