@plumeria/core 0.10.3 → 0.10.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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { ps } from "zss-utils";
|
|
|
4
4
|
//#region src/css.d.ts
|
|
5
5
|
declare class css {
|
|
6
6
|
static create<const T extends Record<string, CSSProperties>>(object: CreateStyleType<T>): ReturnType<T>;
|
|
7
|
-
static createComposite<const T extends Record<string, CSSProperties>>(className: string, object: T): ReturnType<T>;
|
|
7
|
+
static createComposite<const T extends Record<string, CSSProperties>>(className: string, object: CreateStyleType<T>): ReturnType<T>;
|
|
8
8
|
static global(object: CSSHTML): void;
|
|
9
9
|
static keyframes(object: CreateKeyframes): string;
|
|
10
10
|
static defineConsts<const T extends CreateValues>(object: T): T;
|
package/dist/index.js
CHANGED
|
@@ -102,7 +102,7 @@ var css_default = css;
|
|
|
102
102
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/cx.ts
|
|
105
|
-
const cx = (...classes) => classes.filter(Boolean).join(" ");
|
|
105
|
+
const cx = (...classes) => [...new Set(classes.filter(Boolean))].join(" ");
|
|
106
106
|
var cx_default = cx;
|
|
107
107
|
|
|
108
108
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -101,7 +101,7 @@ var css_default = css;
|
|
|
101
101
|
|
|
102
102
|
//#endregion
|
|
103
103
|
//#region src/cx.ts
|
|
104
|
-
const cx = (...classes) => classes.filter(Boolean).join(" ");
|
|
104
|
+
const cx = (...classes) => [...new Set(classes.filter(Boolean))].join(" ");
|
|
105
105
|
var cx_default = cx;
|
|
106
106
|
|
|
107
107
|
//#endregion
|