@plumeria/core 10.0.5 → 10.0.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 +2 -2
- package/lib/types.d.ts +0 -5
- package/package.json +1 -1
package/lib/css.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ declare module '@plumeria/core' {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export type create = <const T extends Record<string, CreateStyleValue>>(rule: CreateStyleType<T>)=> CreateReturnType<T>;
|
|
41
|
+
export type create = <const T extends Record<string, CreateStyleValue>>(rule: CreateStyleType<T>)=> CreateReturnType<T>;
|
|
42
42
|
export type createTheme = <const T extends CreateTheme>(rule: T)=> ReturnVariableType<T>;
|
|
43
43
|
export type createStatic = <const T extends CreateStatic>(rule: T)=> T;
|
|
44
44
|
export type keyframes = (rule: Keyframes) => string;
|
|
@@ -48,7 +48,7 @@ declare module '@plumeria/core' {
|
|
|
48
48
|
export type extended = <I extends string, P extends string>(id: I, pseudo: P) => Extended<I, P>;
|
|
49
49
|
export type use = (...rules: (false | CSSProperties | null | undefined)[])=> string;
|
|
50
50
|
|
|
51
|
-
export const create: create;
|
|
51
|
+
export const create: create;
|
|
52
52
|
export const createTheme: createTheme;
|
|
53
53
|
export const createStatic: createStatic;
|
|
54
54
|
export const keyframes: keyframes;
|
package/lib/types.d.ts
CHANGED
|
@@ -123,10 +123,6 @@ type CreateStyleValue = CSSProperties | ((...args: never) => CSSProperties)
|
|
|
123
123
|
|
|
124
124
|
type StyleName = CSSProperties | (false | CSSProperties | null | undefined)[];
|
|
125
125
|
|
|
126
|
-
type CreateStyle = {
|
|
127
|
-
[key: string]: CSSProperties;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
126
|
type CreateStatic = Record<string, string | number>;
|
|
131
127
|
|
|
132
128
|
type CreateTheme = Record<string, Record<string, string | number>>;
|
|
@@ -157,7 +153,6 @@ type Extended<I extends string, P extends string> = `@container style(--${I}-${S
|
|
|
157
153
|
export type {
|
|
158
154
|
CSSProperties,
|
|
159
155
|
StyleName,
|
|
160
|
-
CreateStyle,
|
|
161
156
|
CreateStyleValue,
|
|
162
157
|
CreateStyleType,
|
|
163
158
|
CreateReturnType,
|