@plumeria/core 16.2.4 → 16.2.6
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/lib/css.d.ts +4 -5
- package/package.json +1 -1
package/lib/css.d.ts
CHANGED
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
* type viewTransition = <const T extends ViewTransition>(rule: T) => string;
|
|
10
10
|
* type marker = (id: string, pseudo: string) => Marker;
|
|
11
11
|
* type extended = <I extends string, P extends string>(id: I, pseudo: P) => Extended<I, P>;
|
|
12
|
-
* type use = (...rules:
|
|
12
|
+
* type use = (...rules: StyleName[]) => string;
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
declare module '@plumeria/core' {
|
|
16
16
|
import type {
|
|
17
17
|
AtomicClassNameFor,
|
|
18
18
|
StyleName,
|
|
19
|
+
CSSProperties,
|
|
19
20
|
CreateStyleValue,
|
|
20
21
|
CreateReturnType,
|
|
21
22
|
CreateTheme,
|
|
@@ -36,7 +37,7 @@ declare module '@plumeria/core' {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
export type { AtomicClassNameFor, StyleName };
|
|
40
|
+
export type { AtomicClassNameFor, StyleName, CSSProperties };
|
|
40
41
|
|
|
41
42
|
export const create: create;
|
|
42
43
|
export type create = <const T extends Record<string, CreateStyleValue>>(
|
|
@@ -70,7 +71,5 @@ declare module '@plumeria/core' {
|
|
|
70
71
|
) => Extended<I, P>;
|
|
71
72
|
|
|
72
73
|
export const use: use;
|
|
73
|
-
export type use = (
|
|
74
|
-
...rules: (false | CSSProperties | null | undefined)[]
|
|
75
|
-
) => string;
|
|
74
|
+
export type use = (...rules: StyleName) => string;
|
|
76
75
|
}
|