@plumeria/core 0.7.3 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "0.7.3",
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,6 +10,7 @@
10
10
  "styling"
11
11
  ],
12
12
  "repository": "github:zss-in-js/plumeria",
13
+ "author": "Refirst",
13
14
  "license": "MIT",
14
15
  "sideEffects": false,
15
16
  "exports": {
@@ -38,8 +39,8 @@
38
39
  "types/"
39
40
  ],
40
41
  "dependencies": {
41
- "@plumeria/collection": "",
42
- "zss-engine": "0.2.15"
42
+ "zss-engine": "0.2.18",
43
+ "@plumeria/collection": "0.5.0"
43
44
  },
44
45
  "publishConfig": {
45
46
  "access": "public"
package/readme.md CHANGED
@@ -179,7 +179,8 @@ css.colors.darken('skyblue', '12%');
179
179
 
180
180
  Rules:
181
181
  \- sort-properties
182
- \- validate-values
182
+ \- validate-values
183
+ \- no-unused-keys
183
184
 
184
185
  Type safety relies on this eslint-plugin. It includes all properties, excluding deprecated and experimental.
185
186
 
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 hover: ":hover";
31
- readonly focus: ":focus";
32
- readonly link: ":link";
33
- readonly visited: ":visited";
34
- readonly target: ":target";
35
- readonly lang: (str: string) => ":lang()";
36
- readonly not: (str: string) => ":not()";
37
- readonly has: (str: string) => ":has()";
38
- readonly is: (str: string) => ":is()";
39
- readonly where: (str: string) => ":where()";
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 onlyOfType: ":only-of-type";
55
+ readonly left: ":left";
56
+ readonly link: ":link";
57
+ readonly modal: ":modal";
58
+ readonly muted: ":muted";
45
59
  readonly onlyChild: ":only-child";
46
- readonly nthChild: (str: string) => ":nth-child()";
47
- readonly nthLastChild: (str: string) => ":nth-last-child()";
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 invalid: ":invalid";
59
- readonly valid: ":valid";
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 viewTransitionImagePair: (str: string) => "::view-transition-image-pair()";
70
- readonly viewTransitionGroup: (str: string) => "::view-transition-group()";
71
- readonly viewTransitionOld: (str: string) => "::view-transition-old()";
72
- readonly viewTransitionNew: (str: string) => "::view-transition-new()";
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;