teacss 0.8.1 → 0.8.4
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 +6 -8
- package/package.json +6 -8
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
The development tool package for TeaCSS.
|
|
4
4
|
|
|
5
|
-
It provides the `teacss` command
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
It provides the `teacss` command and four subpaths: the `teacss/cli`
|
|
6
|
+
programmatic API, `teacss/core`, and the preset factories. The package has no
|
|
7
|
+
root entry; `import "teacss"` fails. Runtime class helpers live in
|
|
8
8
|
`@teacss/classes`.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
@@ -31,8 +31,7 @@ npx teacss "src/**/*.{ts,tsx,html}" --preset standard -o tea.css
|
|
|
31
31
|
`--preset standard` enables utilities when the project has no CSS entry. Add
|
|
32
32
|
`--watch` to rebuild as source files change, and include `tea.css` in the page.
|
|
33
33
|
|
|
34
|
-
The
|
|
35
|
-
Both `teacss/cli` and `@teacss/cli` expose the programmatic `build` API:
|
|
34
|
+
The programmatic `build` API is available from `teacss/cli`:
|
|
36
35
|
|
|
37
36
|
```ts
|
|
38
37
|
import { build } from "teacss/cli";
|
|
@@ -107,14 +106,13 @@ by prefix without validating values. `recipe` uses string or named-element
|
|
|
107
106
|
within the same loaded classes module.
|
|
108
107
|
These functions and their `ClassDict`, `ClassValue`, `Merger`, `ClassProp`,
|
|
109
108
|
`RecipeIntrospection`, `Reciper`, and `VariantProps` types are exported only by
|
|
110
|
-
`@teacss/classes`.
|
|
109
|
+
`@teacss/classes`.
|
|
111
110
|
|
|
112
111
|
Custom merger hooks, injected recipe mergers, and preset-only merge entries are
|
|
113
112
|
not supported. See the [migration guide](../../docs/guides/upgrading-to-0-6.md#2-classes-与-recipe)
|
|
114
113
|
when upgrading an integration that used them.
|
|
115
114
|
|
|
116
|
-
Standard constant tables
|
|
117
|
-
`teacss/constants` subpath.
|
|
115
|
+
Standard constant tables come from `@teacss/preset-standard/constants`.
|
|
118
116
|
|
|
119
117
|
Pre-1.0. Syntax, configuration, and APIs may change before the stable release.
|
|
120
118
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teacss",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "TeaCSS developer tooling with a CLI and engine and preset subpaths.",
|
|
5
5
|
"homepage": "https://css.teasim.com",
|
|
6
6
|
"funding": "https://github.com/sponsors/billgo",
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
|
-
".": "./dist/index.js",
|
|
13
12
|
"./cli": "./dist/cli.js",
|
|
14
13
|
"./core": "./dist/core.js",
|
|
15
14
|
"./preset-icons": "./dist/preset-icons.js",
|
|
@@ -17,7 +16,6 @@
|
|
|
17
16
|
"./preset-standard": "./dist/preset-standard.js",
|
|
18
17
|
"./package.json": "./package.json"
|
|
19
18
|
},
|
|
20
|
-
"types": "./dist/index.d.ts",
|
|
21
19
|
"bin": {
|
|
22
20
|
"teacss": "./bin/teacss.mjs"
|
|
23
21
|
},
|
|
@@ -31,11 +29,11 @@
|
|
|
31
29
|
"dev": "tsdown --watch"
|
|
32
30
|
},
|
|
33
31
|
"dependencies": {
|
|
34
|
-
"@teacss/cli": "0.8.
|
|
35
|
-
"@teacss/core": "0.8.
|
|
36
|
-
"@teacss/preset-icons": "0.8.
|
|
37
|
-
"@teacss/preset-official": "0.8.
|
|
38
|
-
"@teacss/preset-standard": "0.8.
|
|
32
|
+
"@teacss/cli": "0.8.4",
|
|
33
|
+
"@teacss/core": "0.8.4",
|
|
34
|
+
"@teacss/preset-icons": "0.8.4",
|
|
35
|
+
"@teacss/preset-official": "0.8.4",
|
|
36
|
+
"@teacss/preset-standard": "0.8.4"
|
|
39
37
|
},
|
|
40
38
|
"engines": {
|
|
41
39
|
"node": ">=22.12.0"
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@teacss/preset-standard/constants";
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from"@teacss/preset-standard/constants";export{};
|