@plumeria/core 0.7.6 → 0.7.7
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/method/create.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.create = create;
|
|
4
|
+
require("../styles/create.css");
|
|
4
5
|
const zss_engine_1 = require("zss-engine");
|
|
5
6
|
const create_build_helper_1 = require("./create-build-helper");
|
|
6
|
-
require("../styles/create.css");
|
|
7
7
|
function create(object) {
|
|
8
8
|
const base36Hash = (0, zss_engine_1.genBase36Hash)(object, 6);
|
|
9
9
|
const { styleSheet } = (0, zss_engine_1.transpiler)(object, base36Hash);
|
package/dist/method/create.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import '../styles/create.css';
|
|
1
2
|
import { isDevAndTest, transpiler, injectServerCSS, genBase36Hash, isServer, injectClientCSS, } from 'zss-engine';
|
|
2
3
|
import { initPromise, globalPromise, resolvePromise, } from './create-build-helper';
|
|
3
|
-
import '../styles/create.css';
|
|
4
4
|
export function create(object) {
|
|
5
5
|
const base36Hash = genBase36Hash(object, 6);
|
|
6
6
|
const { styleSheet } = transpiler(object, base36Hash);
|
package/dist/method/global.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.global = global;
|
|
4
|
+
require("../styles/global.css");
|
|
4
5
|
const zss_engine_1 = require("zss-engine");
|
|
5
6
|
const global_build_helper_1 = require("./global-build-helper");
|
|
6
|
-
require("../styles/global.css");
|
|
7
7
|
function global(object) {
|
|
8
8
|
const base36Hash = (0, zss_engine_1.genBase36Hash)(object, 8);
|
|
9
9
|
const { styleSheet } = (0, zss_engine_1.transpiler)(object, undefined, '--global');
|
package/dist/method/global.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import '../styles/global.css';
|
|
1
2
|
import { isDevAndTest, isServer, injectServerCSS, injectClientGlobalCSS, transpiler, genBase36Hash, } from 'zss-engine';
|
|
2
3
|
import { resolvePromise, globalPromise, initPromise, } from './global-build-helper';
|
|
3
|
-
import '../styles/global.css';
|
|
4
4
|
export function global(object) {
|
|
5
5
|
const base36Hash = genBase36Hash(object, 8);
|
|
6
6
|
const { styleSheet } = transpiler(object, undefined, '--global');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Near Zero-runtime CSS-in-JS for efficient design systems.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"types/"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"zss-engine": "0.2.
|
|
43
|
-
"@plumeria/collection": "0.5.1"
|
|
42
|
+
"zss-engine": "^0.2.19",
|
|
43
|
+
"@plumeria/collection": "^0.5.1"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
package/types/method/create.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ReturnType, CreateStyle, CustomProperties } from 'zss-engine';
|
|
2
1
|
import '../styles/create.css';
|
|
2
|
+
import type { ReturnType, CreateStyle, CustomProperties } from 'zss-engine';
|
|
3
3
|
export declare function create<T extends Record<string, CustomProperties>>(object: CreateStyle<T>): ReturnType<T>;
|
package/types/method/global.d.ts
CHANGED