@plumeria/core 0.6.5 → 0.6.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/package.json +11 -11
- package/{dist → types}/css.d.ts +19 -19
- /package/{dist → types}/cx.d.ts +0 -0
- /package/{dist → types}/index.d.ts +0 -0
- /package/{dist → types}/method/create-build-helper.d.ts +0 -0
- /package/{dist → types}/method/create.d.ts +0 -0
- /package/{dist → types}/method/define-theme-vars.d.ts +0 -0
- /package/{dist → types}/method/global-build-helper.d.ts +0 -0
- /package/{dist → types}/method/global.d.ts +0 -0
- /package/{dist → types}/method/keyframes.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "Near Zero-runtime CSS-in-JS for efficient design systems.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -16,39 +16,39 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
"./package.json": "./package.json",
|
|
18
18
|
"./dist/method/create-build-helper": {
|
|
19
|
-
"types": "./
|
|
19
|
+
"types": "./types/method/create-build-helper.d.ts",
|
|
20
20
|
"import": "./dist/method/create-build-helper.mjs",
|
|
21
21
|
"default": "./dist/method/create-build-helper.js"
|
|
22
22
|
},
|
|
23
23
|
"./dist/method/global-build-helper": {
|
|
24
|
-
"types": "./
|
|
24
|
+
"types": "./types/method/global-build-helper.d.ts",
|
|
25
25
|
"import": "./dist/method/global-build-helper.mjs",
|
|
26
26
|
"default": "./dist/method/global-build-helper.js"
|
|
27
27
|
},
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./
|
|
29
|
+
"types": "./types/index.d.ts",
|
|
30
30
|
"import": "./dist/index.mjs",
|
|
31
31
|
"default": "./dist/index.js"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"main": "dist/index.js",
|
|
35
35
|
"module": "dist/index.mjs",
|
|
36
|
-
"types": "
|
|
36
|
+
"types": "types/index.d.ts",
|
|
37
37
|
"files": [
|
|
38
|
-
"dist"
|
|
38
|
+
"dist/",
|
|
39
|
+
"types/"
|
|
39
40
|
],
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"zss-engine": "^0.2.
|
|
42
|
-
"@plumeria/collection": "^0.
|
|
42
|
+
"zss-engine": "^0.2.7",
|
|
43
|
+
"@plumeria/collection": "^0.4.0"
|
|
43
44
|
},
|
|
44
45
|
"publishConfig": {
|
|
45
46
|
"access": "public"
|
|
46
47
|
},
|
|
47
48
|
"scripts": {
|
|
48
|
-
"build": "shx rm -rf dist && pnpm esm && pnpm cjs && pnpm css",
|
|
49
|
+
"build": "shx rm -rf dist types && pnpm esm && pnpm cjs && pnpm css",
|
|
49
50
|
"css": "shx cp -r src/styles dist",
|
|
50
51
|
"cjs": "tsc --project tsconfig.cjs.json",
|
|
51
|
-
"esm": "tsc --project tsconfig.esm.json && node build.esm.js"
|
|
52
|
-
"test": "jest --config ../../jest.config.js"
|
|
52
|
+
"esm": "tsc --project tsconfig.esm.json && node build.esm.js"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/{dist → types}/css.d.ts
RENAMED
|
@@ -16,9 +16,9 @@ declare class css {
|
|
|
16
16
|
readonly max_lg: "@media (max-width: 1024px)";
|
|
17
17
|
readonly max_xl: "@media (max-width: 1280px)";
|
|
18
18
|
readonly max_2xl: "@media (max-width: 1536px)";
|
|
19
|
-
readonly range: (range: string) =>
|
|
20
|
-
readonly max: (
|
|
21
|
-
readonly min: (
|
|
19
|
+
readonly range: (range: string) => "@media ()";
|
|
20
|
+
readonly max: (str: string) => "@media (max-)";
|
|
21
|
+
readonly min: (str: string) => "@media (min-)";
|
|
22
22
|
readonly scheme: {
|
|
23
23
|
readonly dark: "@media (prefers-color-scheme: dark)";
|
|
24
24
|
readonly light: "@media (prefers-color-scheme: light)";
|
|
@@ -31,21 +31,21 @@ declare class css {
|
|
|
31
31
|
readonly link: ":link";
|
|
32
32
|
readonly visited: ":visited";
|
|
33
33
|
readonly target: ":target";
|
|
34
|
-
readonly lang: (str: string) =>
|
|
35
|
-
readonly not: (str: string) =>
|
|
36
|
-
readonly has: (str: string) =>
|
|
37
|
-
readonly is: (str: string) =>
|
|
38
|
-
readonly where: (str: string) =>
|
|
34
|
+
readonly lang: (str: string) => ":lang()";
|
|
35
|
+
readonly not: (str: string) => ":not()";
|
|
36
|
+
readonly has: (str: string) => ":has()";
|
|
37
|
+
readonly is: (str: string) => ":is()";
|
|
38
|
+
readonly where: (str: string) => ":where()";
|
|
39
39
|
readonly firstChild: ":first-child";
|
|
40
40
|
readonly lastChild: ":last-child";
|
|
41
41
|
readonly firstOfType: ":first-of-type";
|
|
42
42
|
readonly lastOfType: ":last-of-type";
|
|
43
43
|
readonly onlyOfType: ":only-of-type";
|
|
44
44
|
readonly onlyChild: ":only-child";
|
|
45
|
-
readonly nthChild: (str: string) =>
|
|
46
|
-
readonly nthLastChild: (str: string) =>
|
|
47
|
-
readonly nthLastOfType: (str: string) =>
|
|
48
|
-
readonly nthOfType: (str: string) =>
|
|
45
|
+
readonly nthChild: (str: string) => ":nth-child()";
|
|
46
|
+
readonly nthLastChild: (str: string) => ":nth-last-child()";
|
|
47
|
+
readonly nthLastOfType: (str: string) => ":nth-last-of-type()";
|
|
48
|
+
readonly nthOfType: (str: string) => ":nth-of-type()";
|
|
49
49
|
readonly empty: ":empty";
|
|
50
50
|
readonly checked: ":checked";
|
|
51
51
|
readonly disabled: ":disabled";
|
|
@@ -65,19 +65,19 @@ declare class css {
|
|
|
65
65
|
readonly marker: "::marker";
|
|
66
66
|
readonly selection: "::selection";
|
|
67
67
|
readonly viewTransition: "::view-transition";
|
|
68
|
-
readonly viewTransitionImagePair: (str: string) =>
|
|
69
|
-
readonly viewTransitionGroup: (str: string) =>
|
|
70
|
-
readonly viewTransitionOld: (str: string) =>
|
|
71
|
-
readonly viewTransitionNew: (str: string) =>
|
|
68
|
+
readonly viewTransitionImagePair: (str: string) => "::view-transition-image-pair()";
|
|
69
|
+
readonly viewTransitionGroup: (str: string) => "::view-transition-group()";
|
|
70
|
+
readonly viewTransitionOld: (str: string) => "::view-transition-old()";
|
|
71
|
+
readonly viewTransitionNew: (str: string) => "::view-transition-new()";
|
|
72
72
|
};
|
|
73
73
|
static colors: {
|
|
74
74
|
darken: (color: string, amount: string | number) => string;
|
|
75
75
|
lighten: (color: string, amount: string | number) => string;
|
|
76
76
|
};
|
|
77
77
|
static container: {
|
|
78
|
-
range: (range: string) =>
|
|
79
|
-
max: (
|
|
80
|
-
min: (
|
|
78
|
+
range: (range: string) => "@container ()";
|
|
79
|
+
max: (str: string) => "@container (max-)";
|
|
80
|
+
min: (str: string) => "@container (min-)";
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
export { css, cx };
|
/package/{dist → types}/cx.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|