@jtlan/csstype 0.0.2 → 0.0.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/index.d.ts +29 -29
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
22
22
|
*
|
|
23
23
|
* @see https://developer.mozilla.org/docs/Web/CSS/accent-color
|
|
24
24
|
*/
|
|
25
|
-
accentColor
|
|
25
|
+
accentColor/*;强调颜色*/?: Property.AccentColor | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* The CSS **`align-content`** property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.
|
|
28
28
|
*
|
|
@@ -123,7 +123,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
123
123
|
*
|
|
124
124
|
* @see https://developer.mozilla.org/docs/Web/CSS/align-tracks
|
|
125
125
|
*/
|
|
126
|
-
alignTracks
|
|
126
|
+
alignTracks/*;对齐轨道*/?: Property.AlignTracks | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* The **`animation-delay`** CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.
|
|
129
129
|
*
|
|
@@ -242,7 +242,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
242
242
|
*
|
|
243
243
|
* @see https://developer.mozilla.org/docs/Web/CSS/animation-timeline
|
|
244
244
|
*/
|
|
245
|
-
animationTimeline
|
|
245
|
+
animationTimeline/*;动画时间线*/?: Property.AnimationTimeline | undefined;
|
|
246
246
|
/**
|
|
247
247
|
* The **`animation-timing-function`** CSS property sets how an animation progresses through the duration of each cycle.
|
|
248
248
|
*
|
|
@@ -286,7 +286,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
286
286
|
*
|
|
287
287
|
* @see https://developer.mozilla.org/docs/Web/CSS/aspect-ratio
|
|
288
288
|
*/
|
|
289
|
-
aspectRatio
|
|
289
|
+
aspectRatio/*;高宽比*/?: Property.AspectRatio | undefined;
|
|
290
290
|
/**
|
|
291
291
|
* The **`backdrop-filter`** CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything _behind_ the element, to see the effect you must make the element or its background at least partially transparent.
|
|
292
292
|
*
|
|
@@ -1329,7 +1329,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
1329
1329
|
*
|
|
1330
1330
|
* @see https://developer.mozilla.org/docs/Web/CSS/color
|
|
1331
1331
|
*/
|
|
1332
|
-
color
|
|
1332
|
+
color/*;颜色*/?: Property.Color | undefined;
|
|
1333
1333
|
/**
|
|
1334
1334
|
* The **`print-color-adjust`** CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
|
|
1335
1335
|
*
|
|
@@ -20268,7 +20268,7 @@ export namespace AtRule {
|
|
|
20268
20268
|
|
|
20269
20269
|
type LineGapOverride = "normal" | (string & {});
|
|
20270
20270
|
|
|
20271
|
-
type Bleed<TLength> = TLength | "auto"
|
|
20271
|
+
type Bleed<TLength> = TLength | "auto"/*;自动*/;
|
|
20272
20272
|
|
|
20273
20273
|
type Marks = "crop" | "cross" | "none" | (string & {});
|
|
20274
20274
|
|
|
@@ -20464,16 +20464,16 @@ export namespace DataType {
|
|
|
20464
20464
|
type MaskingMode = "alpha" | "luminance" | "match-source";
|
|
20465
20465
|
|
|
20466
20466
|
type NamedColor =
|
|
20467
|
-
| "aliceblue"
|
|
20468
|
-
| "antiquewhite"
|
|
20469
|
-
| "aqua"
|
|
20470
|
-
| "aquamarine"
|
|
20471
|
-
| "azure"
|
|
20472
|
-
| "beige"
|
|
20467
|
+
| "aliceblue"/*;艾丽丝蓝*/
|
|
20468
|
+
| "antiquewhite"/*;古白*/
|
|
20469
|
+
| "aqua"/*;浅绿*/
|
|
20470
|
+
| "aquamarine"/*;浅蓝色*/
|
|
20471
|
+
| "azure"/*;天青*/
|
|
20472
|
+
| "beige"/*;米黄*/
|
|
20473
20473
|
| "bisque"
|
|
20474
|
-
| "black"
|
|
20474
|
+
| "black"/*;黑*/
|
|
20475
20475
|
| "blanchedalmond"
|
|
20476
|
-
| "blue"
|
|
20476
|
+
| "blue"/*;蓝*/
|
|
20477
20477
|
| "blueviolet"
|
|
20478
20478
|
| "brown"
|
|
20479
20479
|
| "burlywood"
|
|
@@ -20512,13 +20512,13 @@ export namespace DataType {
|
|
|
20512
20512
|
| "firebrick"
|
|
20513
20513
|
| "floralwhite"
|
|
20514
20514
|
| "forestgreen"
|
|
20515
|
-
| "fuchsia"
|
|
20515
|
+
| "fuchsia"/*;樱红*/
|
|
20516
20516
|
| "gainsboro"
|
|
20517
20517
|
| "ghostwhite"
|
|
20518
20518
|
| "gold"
|
|
20519
20519
|
| "goldenrod"
|
|
20520
|
-
| "gray"
|
|
20521
|
-
| "green"
|
|
20520
|
+
| "gray"/*;灰*/
|
|
20521
|
+
| "green"/*;绿*/
|
|
20522
20522
|
| "greenyellow"
|
|
20523
20523
|
| "grey"
|
|
20524
20524
|
| "honeydew"
|
|
@@ -20546,11 +20546,11 @@ export namespace DataType {
|
|
|
20546
20546
|
| "lightslategrey"
|
|
20547
20547
|
| "lightsteelblue"
|
|
20548
20548
|
| "lightyellow"
|
|
20549
|
-
| "lime"
|
|
20549
|
+
| "lime"/*;青柠 */
|
|
20550
20550
|
| "limegreen"
|
|
20551
20551
|
| "linen"
|
|
20552
20552
|
| "magenta"
|
|
20553
|
-
| "maroon"
|
|
20553
|
+
| "maroon"/*;褐红*/
|
|
20554
20554
|
| "mediumaquamarine"
|
|
20555
20555
|
| "mediumblue"
|
|
20556
20556
|
| "mediumorchid"
|
|
@@ -20565,11 +20565,11 @@ export namespace DataType {
|
|
|
20565
20565
|
| "mistyrose"
|
|
20566
20566
|
| "moccasin"
|
|
20567
20567
|
| "navajowhite"
|
|
20568
|
-
| "navy"
|
|
20568
|
+
| "navy"/*;海军蓝*/
|
|
20569
20569
|
| "oldlace"
|
|
20570
|
-
| "olive"
|
|
20570
|
+
| "olive"/*;橄榄*/
|
|
20571
20571
|
| "olivedrab"
|
|
20572
|
-
| "orange"
|
|
20572
|
+
| "orange"/*;橙*/
|
|
20573
20573
|
| "orangered"
|
|
20574
20574
|
| "orchid"
|
|
20575
20575
|
| "palegoldenrod"
|
|
@@ -20582,9 +20582,9 @@ export namespace DataType {
|
|
|
20582
20582
|
| "pink"
|
|
20583
20583
|
| "plum"
|
|
20584
20584
|
| "powderblue"
|
|
20585
|
-
| "purple"
|
|
20585
|
+
| "purple"/*;紫*/
|
|
20586
20586
|
| "rebeccapurple"
|
|
20587
|
-
| "red"
|
|
20587
|
+
| "red"/*;红*/
|
|
20588
20588
|
| "rosybrown"
|
|
20589
20589
|
| "royalblue"
|
|
20590
20590
|
| "saddlebrown"
|
|
@@ -20593,7 +20593,7 @@ export namespace DataType {
|
|
|
20593
20593
|
| "seagreen"
|
|
20594
20594
|
| "seashell"
|
|
20595
20595
|
| "sienna"
|
|
20596
|
-
| "silver"
|
|
20596
|
+
| "silver"/*;银*/
|
|
20597
20597
|
| "skyblue"
|
|
20598
20598
|
| "slateblue"
|
|
20599
20599
|
| "slategray"
|
|
@@ -20602,16 +20602,16 @@ export namespace DataType {
|
|
|
20602
20602
|
| "springgreen"
|
|
20603
20603
|
| "steelblue"
|
|
20604
20604
|
| "tan"
|
|
20605
|
-
| "teal"
|
|
20605
|
+
| "teal"/*;蓝绿*/
|
|
20606
20606
|
| "thistle"
|
|
20607
20607
|
| "tomato"
|
|
20608
|
-
| "transparent"
|
|
20608
|
+
| "transparent"/*;透*/
|
|
20609
20609
|
| "turquoise"
|
|
20610
20610
|
| "violet"
|
|
20611
20611
|
| "wheat"
|
|
20612
|
-
| "white"
|
|
20612
|
+
| "white"/*;白*/
|
|
20613
20613
|
| "whitesmoke"
|
|
20614
|
-
| "yellow"
|
|
20614
|
+
| "yellow"/*;黄*/
|
|
20615
20615
|
| "yellowgreen";
|
|
20616
20616
|
|
|
20617
20617
|
type PageSize = "A3" | "A4" | "A5" | "B4" | "B5" | "JIS-B4" | "JIS-B5" | "ledger" | "legal" | "letter";
|