@plumeria/core 4.0.3 → 4.0.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/dist/css.d.ts CHANGED
@@ -49,7 +49,7 @@ type ReturnType<T> = { [K in keyof T]: Readonly<{ [P in keyof T[K]]: P extends `
49
49
  type CreateStatic = Record<string, string | number>;
50
50
  type CreateTheme = Record<string, Record<string, string | number>>;
51
51
  type ReturnVariableType<T> = { [K in keyof T]: CSSVariableValue };
52
- type Styles = {
52
+ type Style = {
53
53
  [key: CSSVariableKey]: string;
54
54
  };
55
55
  type KeyframesInSelector = 'from' | 'to' | `${number}%`;
@@ -71,9 +71,9 @@ declare const css: {
71
71
  keyframes(_rule: Keyframes): string;
72
72
  viewTransition(_rule: ViewTransition): string;
73
73
  };
74
- declare const x: (className: string, styles: Styles) => {
74
+ declare const x: (className: string, style: Style) => {
75
75
  className: string;
76
- styles: Styles;
76
+ style: Style;
77
77
  };
78
78
 
79
79
  export { type CSSProperties, type CreateStyle, css, x };
package/dist/css.js CHANGED
@@ -43,9 +43,9 @@ const css = class _css {
43
43
  throw errorFn("viewTransition");
44
44
  }
45
45
  };
46
- const x = (className, styles) => ({
46
+ const x = (className, style) => ({
47
47
  className,
48
- styles
48
+ style
49
49
  });
50
50
 
51
51
  exports.css = css;
package/dist/css.mjs CHANGED
@@ -43,9 +43,9 @@ const css = class _css {
43
43
  throw errorFn("viewTransition");
44
44
  }
45
45
  };
46
- const x = (className, styles) => ({
46
+ const x = (className, style) => ({
47
47
  className,
48
- styles
48
+ style
49
49
  });
50
50
 
51
51
  export { css, x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "An atomic CSS runtime designed to disappear.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",