@plumeria/core 10.1.1 → 10.1.3
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/README.md +1 -1
- package/lib/css.d.ts +2 -0
- package/lib/csstype.d.ts +42 -40
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/css.d.ts
CHANGED
package/lib/csstype.d.ts
CHANGED
|
@@ -1,49 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Based on Meta's StyleX CSS type definitions.
|
|
3
3
|
* Extended from src/types/StyleXCSSTypes.js (https://github.com/facebook/stylex)
|
|
4
|
+
*
|
|
4
5
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
5
7
|
* This source code is licensed under the MIT license found in the
|
|
6
8
|
* LICENSE file in the root directory of this source tree.
|
|
7
9
|
*/
|
|
8
10
|
|
|
9
|
-
type CSSCursor =
|
|
10
|
-
| 'auto'
|
|
11
|
-
| 'default'
|
|
12
|
-
| 'none'
|
|
13
|
-
| 'context-menu'
|
|
14
|
-
| 'help'
|
|
15
|
-
| 'pointer'
|
|
16
|
-
| 'progress'
|
|
17
|
-
| 'wait'
|
|
18
|
-
| 'cell'
|
|
19
|
-
| 'crosshair'
|
|
20
|
-
| 'text'
|
|
21
|
-
| 'vertical-text'
|
|
22
|
-
| 'alias'
|
|
23
|
-
| 'copy'
|
|
24
|
-
| 'move'
|
|
25
|
-
| 'no-drop'
|
|
26
|
-
| 'not-allowed'
|
|
27
|
-
| 'e-resize'
|
|
28
|
-
| 'n-resize'
|
|
29
|
-
| 'ne-resize'
|
|
30
|
-
| 'nw-resize'
|
|
31
|
-
| 's-resize'
|
|
32
|
-
| 'se-resize'
|
|
33
|
-
| 'sw-resize'
|
|
34
|
-
| 'w-resize'
|
|
35
|
-
| 'ew-resize'
|
|
36
|
-
| 'ns-resize'
|
|
37
|
-
| 'nesw-resize'
|
|
38
|
-
| 'nwse-resize'
|
|
39
|
-
| 'col-resize'
|
|
40
|
-
| 'row-resize'
|
|
41
|
-
| 'all-scroll'
|
|
42
|
-
| 'zoom-in'
|
|
43
|
-
| 'zoom-out'
|
|
44
|
-
| 'grab'
|
|
45
|
-
| 'grabbing';
|
|
46
|
-
|
|
47
11
|
type alignContent =
|
|
48
12
|
| 'center'
|
|
49
13
|
| 'start'
|
|
@@ -103,6 +67,7 @@ type animationTimingFunction = singleTimingFunction;
|
|
|
103
67
|
type appearance = 'auto' | 'none' | 'textfield' | string;
|
|
104
68
|
type backdropFilter = 'none' | string;
|
|
105
69
|
type backfaceVisibility = 'visible' | 'hidden';
|
|
70
|
+
type background = finalBgLayer;
|
|
106
71
|
type backgroundAttachment = attachment;
|
|
107
72
|
type backgroundBlendMode = blendMode;
|
|
108
73
|
type backgroundClip = box | 'text';
|
|
@@ -241,7 +206,43 @@ type contain = 'none' | 'strict' | 'content' | string;
|
|
|
241
206
|
type content = string;
|
|
242
207
|
type counterIncrement = string | 'none';
|
|
243
208
|
type counterReset = string | 'none';
|
|
244
|
-
type cursor =
|
|
209
|
+
type cursor =
|
|
210
|
+
| 'auto'
|
|
211
|
+
| 'default'
|
|
212
|
+
| 'none'
|
|
213
|
+
| 'context-menu'
|
|
214
|
+
| 'help'
|
|
215
|
+
| 'pointer'
|
|
216
|
+
| 'progress'
|
|
217
|
+
| 'wait'
|
|
218
|
+
| 'cell'
|
|
219
|
+
| 'crosshair'
|
|
220
|
+
| 'text'
|
|
221
|
+
| 'vertical-text'
|
|
222
|
+
| 'alias'
|
|
223
|
+
| 'copy'
|
|
224
|
+
| 'move'
|
|
225
|
+
| 'no-drop'
|
|
226
|
+
| 'not-allowed'
|
|
227
|
+
| 'e-resize'
|
|
228
|
+
| 'n-resize'
|
|
229
|
+
| 'ne-resize'
|
|
230
|
+
| 'nw-resize'
|
|
231
|
+
| 's-resize'
|
|
232
|
+
| 'se-resize'
|
|
233
|
+
| 'sw-resize'
|
|
234
|
+
| 'w-resize'
|
|
235
|
+
| 'ew-resize'
|
|
236
|
+
| 'ns-resize'
|
|
237
|
+
| 'nesw-resize'
|
|
238
|
+
| 'nwse-resize'
|
|
239
|
+
| 'col-resize'
|
|
240
|
+
| 'row-resize'
|
|
241
|
+
| 'all-scroll'
|
|
242
|
+
| 'zoom-in'
|
|
243
|
+
| 'zoom-out'
|
|
244
|
+
| 'grab'
|
|
245
|
+
| 'grabbing';
|
|
245
246
|
type direction = 'ltr' | 'rtl';
|
|
246
247
|
type display =
|
|
247
248
|
| 'none'
|
|
@@ -991,6 +992,7 @@ type NamedColor =
|
|
|
991
992
|
| 'yellowgreen';
|
|
992
993
|
type color = NamedColor | (string & {});
|
|
993
994
|
type compositeOperator = 'add' | 'subtract' | 'intersect' | 'exclude';
|
|
995
|
+
type finalBgLayer = attachment | box | backgroundColor;
|
|
994
996
|
type geometryBox = shapeBox | 'fill-box' | 'stroke-box' | 'view-box';
|
|
995
997
|
type gridLine = 'auto' | string;
|
|
996
998
|
type lengthPercentage = number | string;
|
|
@@ -1127,7 +1129,7 @@ export type CSSType = Readonly<{
|
|
|
1127
1129
|
|
|
1128
1130
|
backdropFilter?: all | backdropFilter;
|
|
1129
1131
|
backfaceVisibility?: all | backfaceVisibility;
|
|
1130
|
-
background?: all |
|
|
1132
|
+
background?: all | background;
|
|
1131
1133
|
backgroundAttachment?: all | OptionalArray<backgroundAttachment>;
|
|
1132
1134
|
backgroundBlendMode?: all | OptionalArray<backgroundBlendMode>;
|
|
1133
1135
|
backgroundClip?: all | OptionalArray<backgroundClip>;
|