@plumeria/core 0.7.4 → 0.7.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/package.json +4 -4
- package/types/css.d.ts +76 -28
- package/types/method/keyframes.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Near Zero-runtime CSS-in-JS for efficient design systems.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"styling"
|
|
11
11
|
],
|
|
12
12
|
"repository": "github:zss-in-js/plumeria",
|
|
13
|
-
"author": "
|
|
13
|
+
"author": "Refirst",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"exports": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"types/"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
42
|
+
"zss-engine": "0.2.18",
|
|
43
|
+
"@plumeria/collection": "0.5.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
package/types/css.d.ts
CHANGED
|
@@ -27,49 +27,97 @@ declare class css {
|
|
|
27
27
|
};
|
|
28
28
|
static pseudo: {
|
|
29
29
|
readonly active: ":active";
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
30
|
+
readonly anyLink: ":any-link";
|
|
31
|
+
readonly autoFill: ":autofill";
|
|
32
|
+
readonly buffering: ":buffering";
|
|
33
|
+
readonly checked: ":checked";
|
|
34
|
+
readonly default: ":default";
|
|
35
|
+
readonly defined: ":defined";
|
|
36
|
+
readonly disabled: ":disabled";
|
|
37
|
+
readonly empty: ":empty";
|
|
38
|
+
readonly enabled: ":enabled";
|
|
39
|
+
readonly first: ":first";
|
|
40
40
|
readonly firstChild: ":first-child";
|
|
41
|
-
readonly lastChild: ":last-child";
|
|
42
41
|
readonly firstOfType: ":first-of-type";
|
|
42
|
+
readonly focus: ":focus";
|
|
43
|
+
readonly focusVisible: ":focus-visible";
|
|
44
|
+
readonly focusWithin: ":focus-within";
|
|
45
|
+
readonly fullscreen: ":fullscreen";
|
|
46
|
+
readonly future: ":future";
|
|
47
|
+
readonly hasSlotted: ":has-slotted";
|
|
48
|
+
readonly host: ":host";
|
|
49
|
+
readonly hover: ":hover";
|
|
50
|
+
readonly inRange: ":in-range";
|
|
51
|
+
readonly indeterminate: ":indeterminate";
|
|
52
|
+
readonly invalid: ":invalid";
|
|
53
|
+
readonly lastChild: ":last-child";
|
|
43
54
|
readonly lastOfType: ":last-of-type";
|
|
44
|
-
readonly
|
|
55
|
+
readonly left: ":left";
|
|
56
|
+
readonly link: ":link";
|
|
57
|
+
readonly modal: ":modal";
|
|
58
|
+
readonly muted: ":muted";
|
|
45
59
|
readonly onlyChild: ":only-child";
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly nthLastOfType: (str: string) => ":nth-last-of-type()";
|
|
49
|
-
readonly nthOfType: (str: string) => ":nth-of-type()";
|
|
50
|
-
readonly empty: ":empty";
|
|
51
|
-
readonly checked: ":checked";
|
|
52
|
-
readonly disabled: ":disabled";
|
|
53
|
-
readonly enabled: ":enabled";
|
|
60
|
+
readonly onlyOfType: ":only-of-type";
|
|
61
|
+
readonly open: ":open";
|
|
54
62
|
readonly optional: ":optional";
|
|
55
|
-
readonly required: ":required";
|
|
56
|
-
readonly inRange: ":in-range";
|
|
57
63
|
readonly outOfRange: ":out-of-range";
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
64
|
+
readonly past: ":past";
|
|
65
|
+
readonly paused: ":paused";
|
|
66
|
+
readonly pictureInPicture: ":picture-in-picture";
|
|
67
|
+
readonly placeholderShown: ":placeholder-shown";
|
|
68
|
+
readonly playing: ":playing";
|
|
69
|
+
readonly popoverOpen: ":popover-open";
|
|
60
70
|
readonly readOnly: ":read-only";
|
|
61
71
|
readonly readWrite: ":read-write";
|
|
72
|
+
readonly required: ":required";
|
|
73
|
+
readonly right: ":right";
|
|
74
|
+
readonly root: "root";
|
|
75
|
+
readonly scope: ":scope";
|
|
76
|
+
readonly seeking: ":seeking";
|
|
77
|
+
readonly stalled: ":stalled";
|
|
78
|
+
readonly target: ":target";
|
|
79
|
+
readonly userInvalid: ":user-invalid";
|
|
80
|
+
readonly userValid: ":user-valid";
|
|
81
|
+
readonly valid: ":valid";
|
|
82
|
+
readonly visited: ":visited";
|
|
83
|
+
readonly volumeLocked: ":volume-locked";
|
|
62
84
|
readonly after: "::after";
|
|
85
|
+
readonly backdrop: "::backdrop";
|
|
63
86
|
readonly before: "::before";
|
|
87
|
+
readonly cue: "::cue";
|
|
88
|
+
readonly detailsContent: "::details-content";
|
|
89
|
+
readonly firstSelectorButton: "::first-selector-button";
|
|
64
90
|
readonly firstLetter: "::first-letter";
|
|
65
91
|
readonly firstLine: "::first-line";
|
|
92
|
+
readonly grammarError: "::grammar-error";
|
|
66
93
|
readonly marker: "::marker";
|
|
94
|
+
readonly placeholder: "::placeholder";
|
|
67
95
|
readonly selection: "::selection";
|
|
96
|
+
readonly spellingError: "::spellingError";
|
|
97
|
+
readonly targetText: "::target-text";
|
|
68
98
|
readonly viewTransition: "::view-transition";
|
|
69
|
-
readonly
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
99
|
+
readonly fn: {
|
|
100
|
+
readonly cue: (str: string) => "::cue()";
|
|
101
|
+
readonly dir: (str: string) => ":dir()";
|
|
102
|
+
readonly has: (str: string) => ":has()";
|
|
103
|
+
readonly highlight: (str: string) => "::highlight()";
|
|
104
|
+
readonly host: (str: string) => ":host()";
|
|
105
|
+
readonly hostContext: (str: string) => ":host-context()";
|
|
106
|
+
readonly is: (str: string) => ":is()";
|
|
107
|
+
readonly lang: (str: string) => ":lang()";
|
|
108
|
+
readonly nthChild: (str: string) => ":nth-child()";
|
|
109
|
+
readonly nthLastChild: (str: string) => ":nth-last-child()";
|
|
110
|
+
readonly nthLastOfType: (str: string) => ":nth-last-of-type()";
|
|
111
|
+
readonly nthOfType: (str: string) => ":nth-of-type()";
|
|
112
|
+
readonly not: (str: string) => ":not()";
|
|
113
|
+
readonly slotted: (str: string) => "::slotted()";
|
|
114
|
+
readonly state: (str: string) => ":state()";
|
|
115
|
+
readonly viewTransitionImagePair: (str: string) => "::view-transition-image-pair()";
|
|
116
|
+
readonly viewTransitionGroup: (str: string) => "::view-transition-group()";
|
|
117
|
+
readonly viewTransitionOld: (str: string) => "::view-transition-old()";
|
|
118
|
+
readonly viewTransitionNew: (str: string) => "::view-transition-new()";
|
|
119
|
+
readonly where: (str: string) => ":where()";
|
|
120
|
+
};
|
|
73
121
|
};
|
|
74
122
|
static colors: {
|
|
75
123
|
darken: (color: string, amount: string | number) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { KeyframesDefinition } from 'zss-engine';
|
|
1
|
+
import { type KeyframesDefinition } from 'zss-engine';
|
|
2
2
|
export declare const keyframes: (object: KeyframesDefinition) => string;
|