@plumeria/core 4.0.3 → 4.0.5

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
- export { type CSSProperties, type CreateStyle, css, x };
79
+ export { type CSSProperties, type CreateStyle, css, x };
package/dist/css.js CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  function errorFn(fn) {
3
2
  throw new Error(`css.${fn} requires bundler-plugin setup`);
4
3
  }
@@ -43,10 +42,10 @@ const css = class _css {
43
42
  throw errorFn("viewTransition");
44
43
  }
45
44
  };
46
- const x = (className, styles) => ({
45
+ const x = (className, style) => ({
47
46
  className,
48
- styles
47
+ style
49
48
  });
50
49
 
51
50
  exports.css = css;
52
- exports.x = x;
51
+ exports.x = x;
package/dist/css.mjs CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  function errorFn(fn) {
3
2
  throw new Error(`css.${fn} requires bundler-plugin setup`);
4
3
  }
@@ -43,9 +42,9 @@ const css = class _css {
43
42
  throw errorFn("viewTransition");
44
43
  }
45
44
  };
46
- const x = (className, styles) => ({
45
+ const x = (className, style) => ({
47
46
  className,
48
- styles
47
+ style
49
48
  });
50
49
 
51
- export { css, x };
50
+ 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.5",
4
4
  "description": "An atomic CSS runtime designed to disappear.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",