@csszyx/types 0.6.1 → 0.7.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.
- package/README.md +2 -0
- package/dist/index.d.ts +8 -2
- package/dist/jsx.d.ts +8 -2
- package/dist/runtime.d.ts +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -129,6 +129,7 @@ import type {
|
|
|
129
129
|
const manifest: RecoveryManifest = {
|
|
130
130
|
buildId: 'abc123',
|
|
131
131
|
checksum: 'def456',
|
|
132
|
+
mangleChecksum: '789abc',
|
|
132
133
|
tokens: {
|
|
133
134
|
token1: {
|
|
134
135
|
mode: 'csr',
|
|
@@ -230,6 +231,7 @@ Recovery token manifest embedded in build output:
|
|
|
230
231
|
interface RecoveryManifest {
|
|
231
232
|
buildId: string;
|
|
232
233
|
checksum: string;
|
|
234
|
+
mangleChecksum: string;
|
|
233
235
|
tokens: Record<string, TokenData>;
|
|
234
236
|
}
|
|
235
237
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,10 @@ declare module 'react' {
|
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
67
70
|
interface HTMLAttributes<T> {
|
|
68
71
|
/**
|
|
69
72
|
* csszyx styling prop — Tailwind CSS via object syntax or class string.
|
|
@@ -96,7 +99,10 @@ declare module 'react' {
|
|
|
96
99
|
/**
|
|
97
100
|
*
|
|
98
101
|
*/
|
|
99
|
-
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
100
106
|
interface SVGAttributes<T> {
|
|
101
107
|
/**
|
|
102
108
|
* csszyx styling prop — Tailwind CSS via object syntax or class string.
|
package/dist/jsx.d.ts
CHANGED
|
@@ -18,7 +18,10 @@ declare module 'react' {
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
22
25
|
interface HTMLAttributes<T> {
|
|
23
26
|
/**
|
|
24
27
|
* csszyx styling prop — Tailwind CSS via object syntax or class string.
|
|
@@ -51,7 +54,10 @@ declare module 'react' {
|
|
|
51
54
|
/**
|
|
52
55
|
*
|
|
53
56
|
*/
|
|
54
|
-
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
55
61
|
interface SVGAttributes<T> {
|
|
56
62
|
/**
|
|
57
63
|
* csszyx styling prop — Tailwind CSS via object syntax or class string.
|
package/dist/runtime.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ interface RecoveryManifest {
|
|
|
39
39
|
* SHA-256 checksum of the tokens object for integrity verification
|
|
40
40
|
*/
|
|
41
41
|
checksum: string;
|
|
42
|
+
/**
|
|
43
|
+
* SHA-256 checksum of the mangle map emitted in the HTML checksum attribute
|
|
44
|
+
*/
|
|
45
|
+
mangleChecksum: string;
|
|
42
46
|
/**
|
|
43
47
|
* Map of recovery token → token data
|
|
44
48
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
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.
|
|
53
|
+
"@csszyx/compiler": "0.7.0"
|
|
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",
|