@csszyx/types 0.6.0 → 0.6.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.
@@ -1,9 +1,7 @@
1
1
  // src/config.ts
2
2
  var DEFAULT_DEVELOPMENT_CONFIG = {
3
- autoInjectRecovery: false,
4
3
  strictMode: false,
5
- debug: false,
6
- allowCSRRecovery: true
4
+ debug: false
7
5
  };
8
6
  var DEFAULT_PRODUCTION_CONFIG = {
9
7
  mangle: true,
@@ -51,10 +51,6 @@ interface CompilerOptions {
51
51
  * Enable development mode features
52
52
  */
53
53
  development?: boolean;
54
- /**
55
- * Auto-inject recovery tokens
56
- */
57
- autoInjectRecovery?: boolean;
58
54
  /**
59
55
  * Strict mode - fail build on warnings
60
56
  */
package/dist/config.d.ts CHANGED
@@ -8,13 +8,6 @@
8
8
  * Development mode configuration options.
9
9
  */
10
10
  interface DevelopmentConfig {
11
- /**
12
- * Automatically inject recovery tokens for all components.
13
- * When enabled, all components get szRecover="dev-only" by default.
14
- *
15
- * @default false
16
- */
17
- autoInjectRecovery: boolean;
18
11
  /**
19
12
  * Enable strict mode - fail build on warnings.
20
13
  * When enabled, warnings are treated as errors.
@@ -28,13 +21,6 @@ interface DevelopmentConfig {
28
21
  * @default false
29
22
  */
30
23
  debug: boolean;
31
- /**
32
- * Allow client-side recovery on hydration mismatch.
33
- * Only works in development mode.
34
- *
35
- * @default true
36
- */
37
- allowCSRRecovery: boolean;
38
24
  }
39
25
  /**
40
26
  * Production mode configuration options.
package/dist/config.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  DEFAULT_PERFORMANCE_CONFIG,
7
7
  DEFAULT_PRODUCTION_CONFIG,
8
8
  getCurrentEnvironment
9
- } from "./chunk-2KLMBDLU.js";
9
+ } from "./chunk-IFAXISDF.js";
10
10
  export {
11
11
  DEFAULT_BUILD_CONFIG,
12
12
  DEFAULT_CSSZYX_CONFIG,
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  DEFAULT_PERFORMANCE_CONFIG,
7
7
  DEFAULT_PRODUCTION_CONFIG,
8
8
  getCurrentEnvironment
9
- } from "./chunk-2KLMBDLU.js";
9
+ } from "./chunk-IFAXISDF.js";
10
10
  import {
11
11
  isCsszyxWindow
12
12
  } from "./chunk-QAJB64L5.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/types",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "TypeScript definitions for csszyx",
5
5
  "keywords": [
6
6
  "csszyx",
@@ -50,7 +50,7 @@
50
50
  "@types/node": "^20.11.0",
51
51
  "tsup": "^8.0.0",
52
52
  "typescript": "^5.3.3",
53
- "@csszyx/compiler": "0.6.0"
53
+ "@csszyx/compiler": "0.6.2"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsup src/index.ts src/config.ts src/runtime.ts src/compiler.ts --format esm --dts && cp src/jsx.d.ts dist/jsx.d.ts",