@jtlan/csstype 3.1.0 → 3.1.2
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 +23 -23
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2450,7 +2450,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2450
2450
|
*
|
|
2451
2451
|
* @see https://developer.mozilla.org/docs/Web/CSS/justify-content
|
|
2452
2452
|
*/
|
|
2453
|
-
justifyContent
|
|
2453
|
+
justifyContent/*;横向内容排列*/?: Property.JustifyContent | undefined;
|
|
2454
2454
|
/**
|
|
2455
2455
|
* The CSS **`justify-items`** property defines the default `justify-self` for all items of the box, giving them all a default way of justifying each box along the appropriate axis.
|
|
2456
2456
|
*
|
|
@@ -2534,7 +2534,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2534
2534
|
*
|
|
2535
2535
|
* @see https://developer.mozilla.org/docs/Web/CSS/left
|
|
2536
2536
|
*/
|
|
2537
|
-
left
|
|
2537
|
+
left/*;左*/?: Property.Left<TLength> | undefined;
|
|
2538
2538
|
/**
|
|
2539
2539
|
* The **`letter-spacing`** CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` causes characters to spread farther apart, while negative values of `letter-spacing` bring characters closer together.
|
|
2540
2540
|
*
|
|
@@ -2689,7 +2689,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2689
2689
|
*
|
|
2690
2690
|
* @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom
|
|
2691
2691
|
*/
|
|
2692
|
-
marginBottom
|
|
2692
|
+
marginBottom/*;边缘下*/?: Property.MarginBottom<TLength> | undefined;
|
|
2693
2693
|
/**
|
|
2694
2694
|
* The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
2695
2695
|
*
|
|
@@ -2747,7 +2747,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2747
2747
|
*
|
|
2748
2748
|
* @see https://developer.mozilla.org/docs/Web/CSS/margin-left
|
|
2749
2749
|
*/
|
|
2750
|
-
marginLeft
|
|
2750
|
+
marginLeft/*;边缘左*/?: Property.MarginLeft<TLength> | undefined;
|
|
2751
2751
|
/**
|
|
2752
2752
|
* The **`margin-right`** CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2753
2753
|
*
|
|
@@ -2761,7 +2761,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2761
2761
|
*
|
|
2762
2762
|
* @see https://developer.mozilla.org/docs/Web/CSS/margin-right
|
|
2763
2763
|
*/
|
|
2764
|
-
marginRight
|
|
2764
|
+
marginRight/*;边缘右*/?: Property.MarginRight<TLength> | undefined;
|
|
2765
2765
|
/**
|
|
2766
2766
|
* The **`margin-top`** CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2767
2767
|
*
|
|
@@ -2775,7 +2775,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
2775
2775
|
*
|
|
2776
2776
|
* @see https://developer.mozilla.org/docs/Web/CSS/margin-top
|
|
2777
2777
|
*/
|
|
2778
|
-
marginTop
|
|
2778
|
+
marginTop/*;边缘上*/?: Property.MarginTop<TLength> | undefined;
|
|
2779
2779
|
/**
|
|
2780
2780
|
* The **`mask-border-mode`** CSS property specifies the blending mode used in a mask border.
|
|
2781
2781
|
*
|
|
@@ -3062,7 +3062,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3062
3062
|
*
|
|
3063
3063
|
* @see https://developer.mozilla.org/docs/Web/CSS/max-width
|
|
3064
3064
|
*/
|
|
3065
|
-
maxWidth
|
|
3065
|
+
maxWidth/*;最大宽*/?: Property.MaxWidth<TLength> | undefined;
|
|
3066
3066
|
/**
|
|
3067
3067
|
* The **`min-block-size`** CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`.
|
|
3068
3068
|
*
|
|
@@ -3090,7 +3090,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3090
3090
|
*
|
|
3091
3091
|
* @see https://developer.mozilla.org/docs/Web/CSS/min-height
|
|
3092
3092
|
*/
|
|
3093
|
-
minHeight
|
|
3093
|
+
minHeight/*;最小高*/?: Property.MinHeight<TLength> | undefined;
|
|
3094
3094
|
/**
|
|
3095
3095
|
* The **`min-inline-size`** CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`.
|
|
3096
3096
|
*
|
|
@@ -3118,7 +3118,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3118
3118
|
*
|
|
3119
3119
|
* @see https://developer.mozilla.org/docs/Web/CSS/min-width
|
|
3120
3120
|
*/
|
|
3121
|
-
minWidth
|
|
3121
|
+
minWidth/*;最小宽*/?: Property.MinWidth<TLength> | undefined;
|
|
3122
3122
|
/**
|
|
3123
3123
|
* The **`mix-blend-mode`** CSS property sets how an element's content should blend with the content of the element's parent and the element's background.
|
|
3124
3124
|
*
|
|
@@ -3593,7 +3593,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3593
3593
|
*
|
|
3594
3594
|
* @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom
|
|
3595
3595
|
*/
|
|
3596
|
-
paddingBottom
|
|
3596
|
+
paddingBottom/*;内衬下*/?: Property.PaddingBottom<TLength> | undefined;
|
|
3597
3597
|
/**
|
|
3598
3598
|
* The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
|
|
3599
3599
|
*
|
|
@@ -3651,7 +3651,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3651
3651
|
*
|
|
3652
3652
|
* @see https://developer.mozilla.org/docs/Web/CSS/padding-left
|
|
3653
3653
|
*/
|
|
3654
|
-
paddingLeft
|
|
3654
|
+
paddingLeft/*;内衬左*/?: Property.PaddingLeft<TLength> | undefined;
|
|
3655
3655
|
/**
|
|
3656
3656
|
* The **`padding-right`** CSS property sets the width of the padding area on the right of an element.
|
|
3657
3657
|
*
|
|
@@ -3665,7 +3665,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3665
3665
|
*
|
|
3666
3666
|
* @see https://developer.mozilla.org/docs/Web/CSS/padding-right
|
|
3667
3667
|
*/
|
|
3668
|
-
paddingRight
|
|
3668
|
+
paddingRight/*;内衬右*/?: Property.PaddingRight<TLength> | undefined;
|
|
3669
3669
|
/**
|
|
3670
3670
|
* The **`padding-top`** CSS property sets the height of the padding area on the top of an element.
|
|
3671
3671
|
*
|
|
@@ -3807,7 +3807,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3807
3807
|
*
|
|
3808
3808
|
* @see https://developer.mozilla.org/docs/Web/CSS/position
|
|
3809
3809
|
*/
|
|
3810
|
-
position
|
|
3810
|
+
position/*;定位*/?: Property.Position | undefined;
|
|
3811
3811
|
/**
|
|
3812
3812
|
* 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.
|
|
3813
3813
|
*
|
|
@@ -3864,7 +3864,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
3864
3864
|
*
|
|
3865
3865
|
* @see https://developer.mozilla.org/docs/Web/CSS/right
|
|
3866
3866
|
*/
|
|
3867
|
-
right
|
|
3867
|
+
right/*;右*/?: Property.Right<TLength> | undefined;
|
|
3868
3868
|
/**
|
|
3869
3869
|
* The **`rotate`** CSS property allows you to specify rotation transforms individually and independently of the `transform` property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the `transform` property.
|
|
3870
3870
|
*
|
|
@@ -4761,7 +4761,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
4761
4761
|
*
|
|
4762
4762
|
* @see https://developer.mozilla.org/docs/Web/CSS/text-overflow
|
|
4763
4763
|
*/
|
|
4764
|
-
textOverflow
|
|
4764
|
+
textOverflow/*;文溢出*/?: Property.TextOverflow | undefined;
|
|
4765
4765
|
/**
|
|
4766
4766
|
* The **`text-rendering`** CSS property provides information to the rendering engine about what to optimize for when rendering text.
|
|
4767
4767
|
*
|
|
@@ -5079,7 +5079,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
5079
5079
|
*
|
|
5080
5080
|
* @see https://developer.mozilla.org/docs/Web/CSS/white-space
|
|
5081
5081
|
*/
|
|
5082
|
-
whiteSpace
|
|
5082
|
+
whiteSpace/*;空白*/?: Property.WhiteSpace | undefined;
|
|
5083
5083
|
/**
|
|
5084
5084
|
* The **`widows`** CSS property sets the minimum number of lines in a block container that must be shown at the _top_ of a page, region, or column.
|
|
5085
5085
|
*
|
|
@@ -5402,7 +5402,7 @@ export interface StandardShorthandProperties<TLength = (string & {}) | 0, TTime
|
|
|
5402
5402
|
*
|
|
5403
5403
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-radius
|
|
5404
5404
|
*/
|
|
5405
|
-
borderRadius
|
|
5405
|
+
borderRadius/*;框圆角*/?: Property.BorderRadius<TLength> | undefined;
|
|
5406
5406
|
/**
|
|
5407
5407
|
* The **`border-right`** shorthand CSS property sets all the properties of an element's right border.
|
|
5408
5408
|
*
|
|
@@ -5715,7 +5715,7 @@ export interface StandardShorthandProperties<TLength = (string & {}) | 0, TTime
|
|
|
5715
5715
|
*
|
|
5716
5716
|
* @see https://developer.mozilla.org/docs/Web/CSS/overflow
|
|
5717
5717
|
*/
|
|
5718
|
-
overflow
|
|
5718
|
+
overflow/*;溢出*/?: Property.Overflow | undefined;
|
|
5719
5719
|
/**
|
|
5720
5720
|
* The **`overscroll-behavior`** CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for `overscroll-behavior-x` and `overscroll-behavior-y`.
|
|
5721
5721
|
*
|
|
@@ -5741,7 +5741,7 @@ export interface StandardShorthandProperties<TLength = (string & {}) | 0, TTime
|
|
|
5741
5741
|
*
|
|
5742
5742
|
* @see https://developer.mozilla.org/docs/Web/CSS/padding
|
|
5743
5743
|
*/
|
|
5744
|
-
padding
|
|
5744
|
+
padding/*;内衬*/?: Property.Padding<TLength> | undefined;
|
|
5745
5745
|
/**
|
|
5746
5746
|
* The CSS **`place-items`** shorthand property allows you to align items along both the block and inline directions at once (i.e. the `align-items` and `justify-items` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not set, the first value is also used for it.
|
|
5747
5747
|
*
|
|
@@ -19278,7 +19278,7 @@ export namespace Property {
|
|
|
19278
19278
|
|
|
19279
19279
|
export type OutlineWidth<TLength = (string & {}) | 0> = Globals | DataType.LineWidth<TLength>;
|
|
19280
19280
|
|
|
19281
|
-
export type Overflow = Globals | "-moz-hidden-unscrollable" | "auto" | "clip" | "hidden" | "scroll" | "visible" | (string & {});
|
|
19281
|
+
export type Overflow = Globals | "-moz-hidden-unscrollable" | "auto" | "clip"/*;剪切*/ | "hidden"/*;隐藏*/ | "scroll"/*;滚动*/ | "visible"/*;可见*/ | (string & {});
|
|
19282
19282
|
|
|
19283
19283
|
export type OverflowAnchor = Globals | "auto" | "none";
|
|
19284
19284
|
|
|
@@ -19348,7 +19348,7 @@ export namespace Property {
|
|
|
19348
19348
|
|
|
19349
19349
|
export type PointerEvents = Globals | "all" | "auto" | "fill" | "inherit" | "none" | "painted" | "stroke" | "visible" | "visibleFill" | "visiblePainted" | "visibleStroke";
|
|
19350
19350
|
|
|
19351
|
-
export type Position = Globals | "-webkit-sticky" | "absolute" | "fixed" | "relative" | "static" | "sticky"
|
|
19351
|
+
export type Position = Globals | "-webkit-sticky" | "absolute"/*;绝对*/ | "fixed"/*;固定*/ | "relative"/*;相对*/ | "static"/*;静*/ | "sticky"/*;粘*/;
|
|
19352
19352
|
|
|
19353
19353
|
export type Quotes = Globals | "auto" | "none" | (string & {});
|
|
19354
19354
|
|
|
@@ -19502,7 +19502,7 @@ export namespace Property {
|
|
|
19502
19502
|
|
|
19503
19503
|
export type TextOrientation = Globals | "mixed" | "sideways" | "upright";
|
|
19504
19504
|
|
|
19505
|
-
export type TextOverflow = Globals | "clip" | "ellipsis" | (string & {});
|
|
19505
|
+
export type TextOverflow = Globals | "clip"/*;剪切*/ | "ellipsis"/*;省略号*/ | (string & {});
|
|
19506
19506
|
|
|
19507
19507
|
export type TextRendering = Globals | "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
|
|
19508
19508
|
|
|
@@ -19587,7 +19587,7 @@ export namespace Property {
|
|
|
19587
19587
|
|
|
19588
19588
|
export type Visibility = Globals | "collapse" | "hidden"/*;隐藏*/ | "visible"/*;可见*/;
|
|
19589
19589
|
|
|
19590
|
-
export type WhiteSpace = Globals | "-moz-pre-wrap" | "break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap"
|
|
19590
|
+
export type WhiteSpace = Globals | "-moz-pre-wrap" | "break-spaces" | "normal" | "nowrap"/*;不换行*/ | "pre"/*;保留*/ | "pre-line"/*;保留-行内*/ | "pre-wrap"/*;保留-换行*/;
|
|
19591
19591
|
|
|
19592
19592
|
export type Widows = Globals | (number & {}) | (string & {});
|
|
19593
19593
|
|