@jtlan/csstype 0.0.3 → 0.0.5
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
|
@@ -617,7 +617,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
617
617
|
*
|
|
618
618
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-color
|
|
619
619
|
*/
|
|
620
|
-
borderBottomColor
|
|
620
|
+
borderBottomColor/*;框下颜色*/?: Property.BorderBottomColor | undefined;
|
|
621
621
|
/**
|
|
622
622
|
* The **`border-bottom-left-radius`** CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
623
623
|
*
|
|
@@ -632,7 +632,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
632
632
|
*
|
|
633
633
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius
|
|
634
634
|
*/
|
|
635
|
-
borderBottomLeftRadius
|
|
635
|
+
borderBottomLeftRadius/*;框下左圆角*/?: Property.BorderBottomLeftRadius<TLength> | undefined;
|
|
636
636
|
/**
|
|
637
637
|
* The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
638
638
|
*
|
|
@@ -647,7 +647,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
647
647
|
*
|
|
648
648
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius
|
|
649
649
|
*/
|
|
650
|
-
borderBottomRightRadius
|
|
650
|
+
borderBottomRightRadius/*;框下右圆角*/?: Property.BorderBottomRightRadius<TLength> | undefined;
|
|
651
651
|
/**
|
|
652
652
|
* The **`border-bottom-style`** CSS property sets the line style of an element's bottom `border`.
|
|
653
653
|
*
|
|
@@ -661,7 +661,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
661
661
|
*
|
|
662
662
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-style
|
|
663
663
|
*/
|
|
664
|
-
borderBottomStyle
|
|
664
|
+
borderBottomStyle/*;框下样式*/?: Property.BorderBottomStyle | undefined;
|
|
665
665
|
/**
|
|
666
666
|
* The **`border-bottom-width`** CSS property sets the width of the bottom border of an element.
|
|
667
667
|
*
|
|
@@ -675,7 +675,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
675
675
|
*
|
|
676
676
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-width
|
|
677
677
|
*/
|
|
678
|
-
borderBottomWidth
|
|
678
|
+
borderBottomWidth/*;框下宽*/?: Property.BorderBottomWidth<TLength> | undefined;
|
|
679
679
|
/**
|
|
680
680
|
* The **`border-collapse`** CSS property sets whether cells inside a `<table>` have shared or separate borders.
|
|
681
681
|
*
|
|
@@ -4860,7 +4860,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
4860
4860
|
*
|
|
4861
4861
|
* @see https://developer.mozilla.org/docs/Web/CSS/top
|
|
4862
4862
|
*/
|
|
4863
|
-
top
|
|
4863
|
+
top/*;上*/?: Property.Top<TLength> | undefined;
|
|
4864
4864
|
/**
|
|
4865
4865
|
* The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
|
|
4866
4866
|
*
|
|
@@ -5065,7 +5065,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
|
|
|
5065
5065
|
*
|
|
5066
5066
|
* @see https://developer.mozilla.org/docs/Web/CSS/visibility
|
|
5067
5067
|
*/
|
|
5068
|
-
visibility
|
|
5068
|
+
visibility/*;可见*/?: Property.Visibility | undefined;
|
|
5069
5069
|
/**
|
|
5070
5070
|
* The **`white-space`** CSS property sets how white space inside an element is handled.
|
|
5071
5071
|
*
|
|
@@ -18507,9 +18507,9 @@ export namespace Property {
|
|
|
18507
18507
|
|
|
18508
18508
|
export type BackgroundPosition<TLength = (string & {}) | 0> = Globals | DataType.BgPosition<TLength> | (string & {});
|
|
18509
18509
|
|
|
18510
|
-
export type BackgroundPositionX<TLength = (string & {}) | 0> = Globals | TLength | "center" | "left" | "right" | "x-end" | "x-start" | (string & {});
|
|
18510
|
+
export type BackgroundPositionX<TLength = (string & {}) | 0> = Globals | TLength | "center"/*;中*/ | "left" | "right" | "x-end" | "x-start" | (string & {});
|
|
18511
18511
|
|
|
18512
|
-
export type BackgroundPositionY<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center" | "top" | "y-end" | "y-start" | (string & {});
|
|
18512
|
+
export type BackgroundPositionY<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center"/*;中*/ | "top" | "y-end" | "y-start" | (string & {});
|
|
18513
18513
|
|
|
18514
18514
|
export type BackgroundRepeat = Globals | DataType.RepeatStyle | (string & {});
|
|
18515
18515
|
|
|
@@ -18654,7 +18654,7 @@ export namespace Property {
|
|
|
18654
18654
|
|
|
18655
18655
|
export type Bottom<TLength = (string & {}) | 0> = Globals | TLength | "auto" | (string & {});
|
|
18656
18656
|
|
|
18657
|
-
export type BoxAlign = Globals | "baseline" | "center" | "end" | "start" | "stretch";
|
|
18657
|
+
export type BoxAlign = Globals | "baseline" | "center"/*;中*/ | "end" | "start" | "stretch";
|
|
18658
18658
|
|
|
18659
18659
|
export type BoxDecorationBreak = Globals | "clone" | "slice";
|
|
18660
18660
|
|
|
@@ -18670,7 +18670,7 @@ export namespace Property {
|
|
|
18670
18670
|
|
|
18671
18671
|
export type BoxOrient = Globals | "block-axis" | "horizontal" | "inherit" | "inline-axis" | "vertical";
|
|
18672
18672
|
|
|
18673
|
-
export type BoxPack = Globals | "center" | "end" | "justify" | "start";
|
|
18673
|
+
export type BoxPack = Globals | "center"/*;中*/ | "end" | "justify" | "start";
|
|
18674
18674
|
|
|
18675
18675
|
export type BoxShadow = Globals | "none" | (string & {});
|
|
18676
18676
|
|
|
@@ -19360,7 +19360,7 @@ export namespace Property {
|
|
|
19360
19360
|
|
|
19361
19361
|
export type RowGap<TLength = (string & {}) | 0> = Globals | TLength | "normal" | (string & {});
|
|
19362
19362
|
|
|
19363
|
-
export type RubyAlign = Globals | "center" | "space-around" | "space-between" | "start";
|
|
19363
|
+
export type RubyAlign = Globals | "center"/*;中*/ | "space-around" | "space-between" | "start";
|
|
19364
19364
|
|
|
19365
19365
|
export type RubyMerge = Globals | "auto" | "collapse" | "separate";
|
|
19366
19366
|
|
|
@@ -19414,7 +19414,7 @@ export namespace Property {
|
|
|
19414
19414
|
|
|
19415
19415
|
export type ScrollPaddingTop<TLength = (string & {}) | 0> = Globals | TLength | "auto" | (string & {});
|
|
19416
19416
|
|
|
19417
|
-
export type ScrollSnapAlign = Globals | "center" | "end" | "none" | "start" | (string & {});
|
|
19417
|
+
export type ScrollSnapAlign = Globals | "center"/*;中*/ | "end" | "none" | "start" | (string & {});
|
|
19418
19418
|
|
|
19419
19419
|
export type ScrollSnapCoordinate<TLength = (string & {}) | 0> = Globals | DataType.Position<TLength> | "none" | (string & {});
|
|
19420
19420
|
|
|
@@ -19452,7 +19452,7 @@ export namespace Property {
|
|
|
19452
19452
|
|
|
19453
19453
|
export type TextAlign = Globals | "center"/*;中*/ | "end" | "justify" | "left" | "match-parent" | "right" | "start";
|
|
19454
19454
|
|
|
19455
|
-
export type TextAlignLast = Globals | "auto" | "center" | "end" | "justify" | "left" | "right" | "start";
|
|
19455
|
+
export type TextAlignLast = Globals | "auto" | "center"/*;中*/ | "end" | "justify" | "left" | "right" | "start";
|
|
19456
19456
|
|
|
19457
19457
|
export type TextCombineUpright = Globals | "all" | "none" | (string & {});
|
|
19458
19458
|
|
|
@@ -19539,7 +19539,7 @@ export namespace Property {
|
|
|
19539
19539
|
|
|
19540
19540
|
export type TransformBox = Globals | "border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box";
|
|
19541
19541
|
|
|
19542
|
-
export type TransformOrigin<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center" | "left" | "right" | "top" | (string & {});
|
|
19542
|
+
export type TransformOrigin<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center"/*;中*/ | "left" | "right" | "top" | (string & {});
|
|
19543
19543
|
|
|
19544
19544
|
export type TransformStyle = Globals | "flat" | "preserve-3d";
|
|
19545
19545
|
|
|
@@ -19585,7 +19585,7 @@ export namespace Property {
|
|
|
19585
19585
|
| "top"
|
|
19586
19586
|
| (string & {});
|
|
19587
19587
|
|
|
19588
|
-
export type Visibility = Globals | "collapse" | "hidden" | "visible"
|
|
19588
|
+
export type Visibility = Globals | "collapse" | "hidden"/*;隐藏*/ | "visible"/*;可见*/;
|
|
19589
19589
|
|
|
19590
19590
|
export type WhiteSpace = Globals | "-moz-pre-wrap" | "break-spaces" | "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
|
|
19591
19591
|
|
|
@@ -19960,9 +19960,9 @@ export namespace Property {
|
|
|
19960
19960
|
|
|
19961
19961
|
export type WebkitMaskPosition<TLength = (string & {}) | 0> = Globals | DataType.Position<TLength> | (string & {});
|
|
19962
19962
|
|
|
19963
|
-
export type WebkitMaskPositionX<TLength = (string & {}) | 0> = Globals | TLength | "center" | "left" | "right" | (string & {});
|
|
19963
|
+
export type WebkitMaskPositionX<TLength = (string & {}) | 0> = Globals | TLength | "center"/*;中*/ | "left" | "right" | (string & {});
|
|
19964
19964
|
|
|
19965
|
-
export type WebkitMaskPositionY<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center" | "top" | (string & {});
|
|
19965
|
+
export type WebkitMaskPositionY<TLength = (string & {}) | 0> = Globals | TLength | "bottom" | "center"/*;中*/ | "top" | (string & {});
|
|
19966
19966
|
|
|
19967
19967
|
export type WebkitMaskRepeat = Globals | DataType.RepeatStyle | (string & {});
|
|
19968
19968
|
|
|
@@ -20314,7 +20314,7 @@ export namespace DataType {
|
|
|
20314
20314
|
|
|
20315
20315
|
type Attachment = "fixed" | "local" | "scroll";
|
|
20316
20316
|
|
|
20317
|
-
type BgPosition<TLength> = TLength | "bottom" | "center" | "left" | "right" | "top" | (string & {});
|
|
20317
|
+
type BgPosition<TLength> = TLength | "bottom" | "center"/*;中*/ | "left" | "right" | "top" | (string & {});
|
|
20318
20318
|
|
|
20319
20319
|
type BgSize<TLength> = TLength | "auto" | "contain" | "cover" | (string & {});
|
|
20320
20320
|
|
|
@@ -20373,7 +20373,7 @@ export namespace DataType {
|
|
|
20373
20373
|
|
|
20374
20374
|
type ContentList = Quote | "contents" | (string & {});
|
|
20375
20375
|
|
|
20376
|
-
type ContentPosition = "center" | "end" | "flex-end" | "flex-start" | "start";
|
|
20376
|
+
type ContentPosition = "center"/*;中*/ | "end" | "flex-end" | "flex-start" | "start";
|
|
20377
20377
|
|
|
20378
20378
|
type CubicBezierTimingFunction = "ease" | "ease-in" | "ease-in-out" | "ease-out" | (string & {});
|
|
20379
20379
|
|
|
@@ -20409,7 +20409,7 @@ export namespace DataType {
|
|
|
20409
20409
|
| "WindowFrame"
|
|
20410
20410
|
| "WindowText";
|
|
20411
20411
|
|
|
20412
|
-
type DisplayInside = "-ms-flexbox" | "-ms-grid" | "-webkit-flex" | "flex" | "flow" | "flow-root" | "grid" | "ruby" | "table";
|
|
20412
|
+
type DisplayInside = "-ms-flexbox" | "-ms-grid" | "-webkit-flex" | "flex"/*;弹性*/ | "flow" | "flow-root" | "grid" | "ruby" | "table";
|
|
20413
20413
|
|
|
20414
20414
|
type DisplayInternal =
|
|
20415
20415
|
| "ruby-base"
|
|
@@ -20618,13 +20618,13 @@ export namespace DataType {
|
|
|
20618
20618
|
|
|
20619
20619
|
type Paint = Color | "child" | "context-fill" | "context-stroke" | "none" | (string & {});
|
|
20620
20620
|
|
|
20621
|
-
type Position<TLength> = TLength | "bottom" | "center" | "left" | "right" | "top" | (string & {});
|
|
20621
|
+
type Position<TLength> = TLength | "bottom" | "center"/*;中*/ | "left" | "right" | "top" | (string & {});
|
|
20622
20622
|
|
|
20623
20623
|
type Quote = "close-quote" | "no-close-quote" | "no-open-quote" | "open-quote";
|
|
20624
20624
|
|
|
20625
20625
|
type RepeatStyle = "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space" | (string & {});
|
|
20626
20626
|
|
|
20627
|
-
type SelfPosition = "center" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start";
|
|
20627
|
+
type SelfPosition = "center"/*;中*/ | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "start";
|
|
20628
20628
|
|
|
20629
20629
|
type SingleAnimation<TTime> =
|
|
20630
20630
|
| EasingFunction
|