@plumeria/core 0.27.0 → 0.28.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/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, CreateKeyframes, CreateStyle, CreateStyleType, CreateTokens, CreateValues, ReturnType, ReturnVariableType, RxVariableSet, ViewTransitionOptions } from "zss-engine";
2
2
 
3
- declare const rx: (className: string, varSet: RxVariableSet) => {
3
+ declare const x: (className: string, varSet: RxVariableSet) => {
4
4
  className: string;
5
5
  style: {
6
6
  [k: string]: string;
@@ -48,4 +48,4 @@ declare class StyleSheet {
48
48
  }
49
49
  declare const css: typeof StyleSheet;
50
50
 
51
- export { type CSSProperties, type CreateStyle, css, rx };
51
+ export { type CSSProperties, type CreateStyle, css, x };
package/dist/index.js CHANGED
@@ -189,7 +189,7 @@ const defineConsts = (constants) => {
189
189
  return constants;
190
190
  };
191
191
 
192
- const rx = (className, varSet) => ({
192
+ const x = (className, varSet) => ({
193
193
  className,
194
194
  style: Object.fromEntries(Object.entries(varSet).map(([key, value]) => [key, value]))
195
195
  });
@@ -218,4 +218,4 @@ var StyleSheet = class {
218
218
  const css = StyleSheet;
219
219
 
220
220
  exports.css = css;
221
- exports.rx = rx;
221
+ exports.x = x;
package/dist/index.mjs CHANGED
@@ -189,7 +189,7 @@ const defineConsts = (constants) => {
189
189
  return constants;
190
190
  };
191
191
 
192
- const rx = (className, varSet) => ({
192
+ const x = (className, varSet) => ({
193
193
  className,
194
194
  style: Object.fromEntries(Object.entries(varSet).map(([key, value]) => [key, value]))
195
195
  });
@@ -217,4 +217,4 @@ var StyleSheet = class {
217
217
  };
218
218
  const css = StyleSheet;
219
219
 
220
- export { css, rx };
220
+ export { css, x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "The atomic on-demand CSS-in-JS.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",