@csszyx/types 0.1.3 → 0.3.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 +5 -5
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @csszyx/types
|
|
2
2
|
|
|
3
|
-
Shared TypeScript type definitions for the
|
|
3
|
+
Shared TypeScript type definitions for the CSSzyx framework.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **Configuration Types**: Complete type definitions for
|
|
7
|
+
- **Configuration Types**: Complete type definitions for CSSzyx configuration
|
|
8
8
|
- **Runtime Types**: Types for runtime operations, hydration, and recovery
|
|
9
9
|
- **Compiler Types**: Types for build phases, transformations, and plugins
|
|
10
10
|
- **Comprehensive Documentation**: All types fully documented with JSDoc
|
|
@@ -45,7 +45,7 @@ import type { BuildResult, CompilerOptions } from "@csszyx/types/compiler";
|
|
|
45
45
|
|
|
46
46
|
### Configuration Types (`/config`)
|
|
47
47
|
|
|
48
|
-
Types for configuring the
|
|
48
|
+
Types for configuring the CSSzyx framework:
|
|
49
49
|
|
|
50
50
|
```typescript
|
|
51
51
|
import type {
|
|
@@ -210,7 +210,7 @@ const myPlugin: CompilerPlugin = {
|
|
|
210
210
|
|
|
211
211
|
#### CsszyxConfig
|
|
212
212
|
|
|
213
|
-
Main configuration for the
|
|
213
|
+
Main configuration for the CSSzyx framework:
|
|
214
214
|
|
|
215
215
|
```typescript
|
|
216
216
|
interface CsszyxConfig {
|
|
@@ -313,7 +313,7 @@ import {
|
|
|
313
313
|
|
|
314
314
|
### isCsszyxWindow
|
|
315
315
|
|
|
316
|
-
Check if window has
|
|
316
|
+
Check if window has CSSzyx extensions:
|
|
317
317
|
|
|
318
318
|
```typescript
|
|
319
319
|
import { isCsszyxWindow } from "@csszyx/types";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "TypeScript definitions for csszyx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"csszyx",
|
|
@@ -49,10 +49,8 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^20.11.0",
|
|
51
51
|
"tsup": "^8.0.0",
|
|
52
|
-
"typescript": "^5.3.3"
|
|
53
|
-
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"@csszyx/compiler": ">=0.0.0"
|
|
52
|
+
"typescript": "^5.3.3",
|
|
53
|
+
"@csszyx/compiler": "0.3.0"
|
|
56
54
|
},
|
|
57
55
|
"scripts": {
|
|
58
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",
|