@plumeria/core 20.0.0 → 21.1.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 +12 -10
- package/lib/css.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,16 +124,18 @@ Explore the [documentation](https://plumeria.dev/) for the core principles, full
|
|
|
124
124
|
|
|
125
125
|
Plumeria publishes frequently. To make that legible, every public API is rated for **future** change likelihood — not past churn. The rating is a commitment about what will happen next, not a description of what already has.
|
|
126
126
|
|
|
127
|
-
| API
|
|
128
|
-
|
|
|
129
|
-
| `css.create`
|
|
130
|
-
| `css.createTheme`
|
|
131
|
-
| `css.createStatic`
|
|
132
|
-
| `css.keyframes`
|
|
133
|
-
| `css.
|
|
134
|
-
| `css.
|
|
135
|
-
| `css.
|
|
136
|
-
| `css.
|
|
127
|
+
| API | Stability | |
|
|
128
|
+
| ------------------------- | --------- | ------ |
|
|
129
|
+
| `css.create` | ★★★★★ | Frozen |
|
|
130
|
+
| `css.createTheme` | ★★★★★ | Frozen |
|
|
131
|
+
| `css.createStatic` | ★★★★★ | Frozen |
|
|
132
|
+
| `css.keyframes` | ★★★★★ | Frozen |
|
|
133
|
+
| `css.viewTransitionClass` | ★★★★★ | Frozen |
|
|
134
|
+
| `css.positionTry` | ★★★★☆ | Stable |
|
|
135
|
+
| `css.varType` | ★★★★☆ | Stable |
|
|
136
|
+
| `css.marker` | ★★★★☆ | Stable |
|
|
137
|
+
| `css.extended` | ★★★★☆ | Stable |
|
|
138
|
+
| `css.use`/`classStyle` | ★★★★★ | Frozen |
|
|
137
139
|
|
|
138
140
|
> The **`classStyle`** can be renamed via configuration
|
|
139
141
|
|
package/lib/css.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* type createTheme = <const T extends CreateTheme>(themeSelector: CreateThemeSelector, rule: T) => CreateThemeReturnType<T>;
|
|
7
7
|
* type createStatic = <const T extends CreateStatic>(rule: T)=> T;
|
|
8
8
|
* type keyframes = <const T extends Keyframes>(rule: T) => string;
|
|
9
|
-
* type
|
|
9
|
+
* type viewTransitionClass = <const T extends ViewTransition>(rule: T) => string;
|
|
10
10
|
* type positionTry = <const T extends PositionTry>(rule: T) => CSSVariableKey;
|
|
11
11
|
* type varType = <const T extends VarType>(rule: T) => CSSVariableKey;
|
|
12
12
|
* type marker = (id: string, pseudo: string) => Marker;
|
|
@@ -69,8 +69,8 @@ declare module '@plumeria/core' {
|
|
|
69
69
|
export const keyframes: keyframes;
|
|
70
70
|
export type keyframes = <const T extends Keyframes>(rule: T) => string;
|
|
71
71
|
|
|
72
|
-
export const
|
|
73
|
-
export type
|
|
72
|
+
export const viewTransitionClass: viewTransitionClass;
|
|
73
|
+
export type viewTransitionClass = <const T extends ViewTransition>(
|
|
74
74
|
rule: T,
|
|
75
75
|
) => string;
|
|
76
76
|
|