@plumeria/core 8.0.3 → 9.0.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 CHANGED
@@ -15,7 +15,7 @@ const styles = css.create({
15
15
  },
16
16
  });
17
17
 
18
- const className = css.props(styles.text, styles.size);
18
+ const className = css.use(styles.text, styles.size);
19
19
  ```
20
20
 
21
21
  **Compiled:**
package/lib/css.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Configure the bundler plugin to extract and implement these APIs.
4
4
  * ```ts
5
5
  * type create = <const T extends Record<string, CSSProperties>>(rule: CreateStyleType<T>)=> ReturnType<T>;
6
- * type props = (...rules: (false | CSSProperties | null | undefined)[])=> string;
6
+ * type use = (...rules: (false | CSSProperties | null | undefined)[])=> string;
7
7
  * type createTheme = <const T extends CreateTheme>(rule: T)=> ReturnVariableType<T>;
8
8
  * type createStatic = <const T extends CreateStatic>(rule: T)=> T;
9
9
  * type keyframes = (rule: Keyframes) => string;
@@ -31,7 +31,7 @@ declare module '@plumeria/core' {
31
31
  export type CreateStyle = import('./types').CreateStyle;
32
32
 
33
33
  export type create = <const T extends Record<string, CSSProperties>>(rule: CreateStyleType<T>)=> ReturnType<T>;
34
- export type props = (...rules: (false | CSSProperties | null | undefined)[])=> string;
34
+ export type use = (...rules: (false | CSSProperties | null | undefined)[])=> string;
35
35
  export type createTheme = <const T extends CreateTheme>(rule: T)=> ReturnVariableType<T>;
36
36
  export type createStatic = <const T extends CreateStatic>(rule: T)=> T;
37
37
  export type keyframes = (rule: Keyframes) => string;
@@ -41,7 +41,7 @@ declare module '@plumeria/core' {
41
41
  export type extended = <I extends string, P extends string>(id: I, pseudo: P) => Extended<I, P>;
42
42
 
43
43
  export const create: create;
44
- export const props: props;
44
+ export const use: use;
45
45
  export const createTheme: createTheme;
46
46
  export const createStatic: createStatic;
47
47
  export const keyframes: keyframes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "8.0.3",
3
+ "version": "9.0.0",
4
4
  "description": "An atomic CSS types designed to disappear.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",