@plumeria/core 0.7.4 → 0.7.6

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.4",
3
+ "version": "0.7.6",
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": "refirst",
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
- "@plumeria/collection": "0.4.1",
43
- "zss-engine": "0.2.15"
42
+ "zss-engine": "0.2.18",
43
+ "@plumeria/collection": "0.5.1"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
package/types/css.d.ts CHANGED
@@ -27,49 +27,98 @@ 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 host: (str: string) => ":host()";
104
+ readonly hostContext: (str: string) => ":host-context()";
105
+ readonly is: (str: string) => ":is()";
106
+ readonly lang: (str: string) => ":lang()";
107
+ readonly nthChild: (str: string) => ":nth-child()";
108
+ readonly nthLastChild: (str: string) => ":nth-last-child()";
109
+ readonly nthLastOfType: (str: string) => ":nth-last-of-type()";
110
+ readonly nthOfType: (str: string) => ":nth-of-type()";
111
+ readonly not: (str: string) => ":not()";
112
+ readonly state: (str: string) => ":state()";
113
+ readonly where: (str: string) => ":where()";
114
+ readonly highlight: (str: string) => "::highlight()";
115
+ readonly part: (str: string) => "::part()";
116
+ readonly slotted: (str: string) => "::slotted()";
117
+ readonly viewTransitionImagePair: (str: string) => "::view-transition-image-pair()";
118
+ readonly viewTransitionGroup: (str: string) => "::view-transition-group()";
119
+ readonly viewTransitionOld: (str: string) => "::view-transition-old()";
120
+ readonly viewTransitionNew: (str: string) => "::view-transition-new()";
121
+ };
73
122
  };
74
123
  static colors: {
75
124
  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;