@plumeria/core 0.26.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 +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
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
|
|
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,
|
|
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
|
|
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.
|
|
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
|
|
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,
|
|
220
|
+
export { css, x };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/core",
|
|
3
|
-
"version": "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",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"stylesheet.css"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"zss-engine": "0.2.
|
|
48
|
+
"zss-engine": "0.2.99"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|