@jtlan/csstype 3.1.1 → 3.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.
Files changed (2) hide show
  1. package/index.d.ts +13 -13
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1731,7 +1731,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
1731
1731
  *
1732
1732
  * @see https://developer.mozilla.org/docs/Web/CSS/flex-wrap
1733
1733
  */
1734
- flexWrap?: Property.FlexWrap | undefined;
1734
+ flexWrap/*;弹性换行*/?: Property.FlexWrap | undefined;
1735
1735
  /**
1736
1736
  * The **`float`** CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning).
1737
1737
  *
@@ -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?: Property.JustifyContent | undefined;
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?: Property.Left<TLength> | undefined;
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
  *
@@ -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?: Property.Position | undefined;
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
  *
@@ -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?: Property.TextOverflow | undefined;
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?: Property.WhiteSpace | undefined;
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?: Property.BorderRadius<TLength> | undefined;
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?: Property.Overflow | undefined;
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
  *
@@ -18843,7 +18843,7 @@ export namespace Property {
18843
18843
 
18844
18844
  export type FlexShrink = Globals | (number & {}) | (string & {});
18845
18845
 
18846
- export type FlexWrap = Globals | "nowrap" | "wrap" | "wrap-reverse";
18846
+ export type FlexWrap = Globals | "nowrap"/*;不换行*/ | "wrap"/*;换行*/ | "wrap-reverse"/*;反向换行*/;
18847
18847
 
18848
18848
  export type Float = Globals | "inline-end" | "inline-start" | "left" | "none" | "right";
18849
18849
 
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtlan/csstype",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "oName": "csstype",
5
5
  "oVersion": "3.1.0",
6
6
  "description": "君土: Strict TypeScript and Flow types for style based on MDN data",