@jtlan/csstype 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/index.d.ts +36 -36
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -51,7 +51,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
51
51
  *
52
52
  * @see https://developer.mozilla.org/docs/Web/CSS/align-content
53
53
  */
54
- alignContent?: Property.AlignContent | undefined;
54
+ alignContent/*;纵向内容排列*/?: Property.AlignContent | undefined;
55
55
  /**
56
56
  * The CSS **`align-items`** property sets the `align-self` value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
57
57
  *
@@ -80,7 +80,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
80
80
  *
81
81
  * @see https://developer.mozilla.org/docs/Web/CSS/align-items
82
82
  */
83
- alignItems?: Property.AlignItems | undefined;
83
+ alignItems/*;纵向项目排列*/?: Property.AlignItems | undefined;
84
84
  /**
85
85
  * The **`align-self`** CSS property overrides a grid or flex item's `align-items` value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.
86
86
  *
@@ -109,7 +109,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
109
109
  *
110
110
  * @see https://developer.mozilla.org/docs/Web/CSS/align-self
111
111
  */
112
- alignSelf?: Property.AlignSelf | undefined;
112
+ alignSelf/*;纵向自己排列*/?: Property.AlignSelf | undefined;
113
113
  /**
114
114
  * The **`align-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.
115
115
  *
@@ -138,7 +138,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
138
138
  *
139
139
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-delay
140
140
  */
141
- animationDelay?: Property.AnimationDelay<TTime> | undefined;
141
+ animationDelay/*;动画延迟*/?: Property.AnimationDelay<TTime> | undefined;
142
142
  /**
143
143
  * The **`animation-direction`** CSS property sets whether an animation should play forward, backward, or alternate back and forth between playing the sequence forward and backward.
144
144
  *
@@ -153,7 +153,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
153
153
  *
154
154
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-direction
155
155
  */
156
- animationDirection?: Property.AnimationDirection | undefined;
156
+ animationDirection/*;动画方向*/?: Property.AnimationDirection | undefined;
157
157
  /**
158
158
  * The **`animation-duration`** CSS property sets the length of time that an animation takes to complete one cycle.
159
159
  *
@@ -168,7 +168,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
168
168
  *
169
169
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-duration
170
170
  */
171
- animationDuration?: Property.AnimationDuration<TTime> | undefined;
171
+ animationDuration/*;动画时长*/?: Property.AnimationDuration<TTime> | undefined;
172
172
  /**
173
173
  * The **`animation-fill-mode`** CSS property sets how a CSS animation applies styles to its target before and after its execution.
174
174
  *
@@ -183,7 +183,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
183
183
  *
184
184
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode
185
185
  */
186
- animationFillMode?: Property.AnimationFillMode | undefined;
186
+ animationFillMode/*;动画填充模式*/?: Property.AnimationFillMode | undefined;
187
187
  /**
188
188
  * The **`animation-iteration-count`** CSS property sets the number of times an animation sequence should be played before stopping.
189
189
  *
@@ -198,7 +198,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
198
198
  *
199
199
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count
200
200
  */
201
- animationIterationCount?: Property.AnimationIterationCount | undefined;
201
+ animationIterationCount/*;动画播放次数*/?: Property.AnimationIterationCount | undefined;
202
202
  /**
203
203
  * The **`animation-name`** CSS property specifies the names of one or more `@keyframes` at-rules describing the animation or animations to apply to the element.
204
204
  *
@@ -213,7 +213,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
213
213
  *
214
214
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-name
215
215
  */
216
- animationName?: Property.AnimationName | undefined;
216
+ animationName/*;动画名称*/?: Property.AnimationName | undefined;
217
217
  /**
218
218
  * The **`animation-play-state`** CSS property sets whether an animation is running or paused.
219
219
  *
@@ -228,7 +228,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
228
228
  *
229
229
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-play-state
230
230
  */
231
- animationPlayState?: Property.AnimationPlayState | undefined;
231
+ animationPlayState/*;动画播放状态*/?: Property.AnimationPlayState | undefined;
232
232
  /**
233
233
  * The **`animation-timeline`** CSS property specifies the names of one or more `@scroll-timeline` at-rules describing the scroll animations to apply to the element.
234
234
  *
@@ -257,7 +257,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
257
257
  *
258
258
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-timing-function
259
259
  */
260
- animationTimingFunction?: Property.AnimationTimingFunction | undefined;
260
+ animationTimingFunction/*;动画时间函数*/?: Property.AnimationTimingFunction | undefined;
261
261
  /**
262
262
  * The **`appearance`** CSS property is used to display an element using platform-native styling, based on the operating system's theme. The **`-moz-appearance`** and **`-webkit-appearance`** properties are non-standard versions of this property, used (respectively) by Gecko (Firefox) and by WebKit-based (e.g., Safari) and Blink-based (e.g., Chrome, Opera) browsers to achieve the same thing. Note that Firefox and Edge also support **`-webkit-appearance`**, for compatibility reasons.
263
263
  *
@@ -272,7 +272,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
272
272
  *
273
273
  * @see https://developer.mozilla.org/docs/Web/CSS/appearance
274
274
  */
275
- appearance?: Property.Appearance | undefined;
275
+ appearance/*;外观*/?: Property.Appearance | undefined;
276
276
  /**
277
277
  * The **`aspect-ratio`** CSS property sets a **preferred aspect ratio** for the box, which will be used in the calculation of auto sizes and some other layout functions.
278
278
  *
@@ -315,7 +315,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
315
315
  *
316
316
  * @see https://developer.mozilla.org/docs/Web/CSS/backface-visibility
317
317
  */
318
- backfaceVisibility?: Property.BackfaceVisibility | undefined;
318
+ backfaceVisibility/*;背面可见*/?: Property.BackfaceVisibility | undefined;
319
319
  /**
320
320
  * The **`background-attachment`** CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block.
321
321
  *
@@ -329,7 +329,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
329
329
  *
330
330
  * @see https://developer.mozilla.org/docs/Web/CSS/background-attachment
331
331
  */
332
- backgroundAttachment?: Property.BackgroundAttachment | undefined;
332
+ backgroundAttachment/*;背景附件*/?: Property.BackgroundAttachment | undefined;
333
333
  /**
334
334
  * The **`background-blend-mode`** CSS property sets how an element's background images should blend with each other and with the element's background color.
335
335
  *
@@ -343,7 +343,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
343
343
  *
344
344
  * @see https://developer.mozilla.org/docs/Web/CSS/background-blend-mode
345
345
  */
346
- backgroundBlendMode?: Property.BackgroundBlendMode | undefined;
346
+ backgroundBlendMode/*;背景混合模式*/?: Property.BackgroundBlendMode | undefined;
347
347
  /**
348
348
  * The **`background-clip`** CSS property sets whether an element's background extends underneath its border box, padding box, or content box.
349
349
  *
@@ -358,7 +358,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
358
358
  *
359
359
  * @see https://developer.mozilla.org/docs/Web/CSS/background-clip
360
360
  */
361
- backgroundClip?: Property.BackgroundClip | undefined;
361
+ backgroundClip/*;背景裁剪*/?: Property.BackgroundClip | undefined;
362
362
  /**
363
363
  * The **`background-color`** CSS property sets the background color of an element.
364
364
  *
@@ -372,7 +372,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
372
372
  *
373
373
  * @see https://developer.mozilla.org/docs/Web/CSS/background-color
374
374
  */
375
- backgroundColor?: Property.BackgroundColor | undefined;
375
+ backgroundColor/*;背景色*/?: Property.BackgroundColor | undefined;
376
376
  /**
377
377
  * The **`background-image`** CSS property sets one or more background images on an element.
378
378
  *
@@ -386,7 +386,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
386
386
  *
387
387
  * @see https://developer.mozilla.org/docs/Web/CSS/background-image
388
388
  */
389
- backgroundImage?: Property.BackgroundImage | undefined;
389
+ backgroundImage/*;背景图*/?: Property.BackgroundImage | undefined;
390
390
  /**
391
391
  * The **`background-origin`** CSS property sets the background's origin: from the border start, inside the border, or inside the padding.
392
392
  *
@@ -400,7 +400,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
400
400
  *
401
401
  * @see https://developer.mozilla.org/docs/Web/CSS/background-origin
402
402
  */
403
- backgroundOrigin?: Property.BackgroundOrigin | undefined;
403
+ backgroundOrigin/*;背景原点*/?: Property.BackgroundOrigin | undefined;
404
404
  /**
405
405
  * The **`background-position-x`** CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by `background-origin`.
406
406
  *
@@ -442,7 +442,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
442
442
  *
443
443
  * @see https://developer.mozilla.org/docs/Web/CSS/background-repeat
444
444
  */
445
- backgroundRepeat?: Property.BackgroundRepeat | undefined;
445
+ backgroundRepeat/*;背景重复*/?: Property.BackgroundRepeat | undefined;
446
446
  /**
447
447
  * The **`background-size`** CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
448
448
  *
@@ -457,7 +457,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
457
457
  *
458
458
  * @see https://developer.mozilla.org/docs/Web/CSS/background-size
459
459
  */
460
- backgroundSize?: Property.BackgroundSize<TLength> | undefined;
460
+ backgroundSize/*;背景尺寸*/?: Property.BackgroundSize<TLength> | undefined;
461
461
  /**
462
462
  * **Syntax**: `clip | ellipsis | <string>`
463
463
  *
@@ -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?: Property.BorderBottomColor | undefined;
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?: Property.BorderBottomLeftRadius<TLength> | undefined;
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?: Property.BorderBottomRightRadius<TLength> | undefined;
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?: Property.BorderBottomStyle | undefined;
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?: Property.BorderBottomWidth<TLength> | undefined;
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
  *
@@ -689,7 +689,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
689
689
  *
690
690
  * @see https://developer.mozilla.org/docs/Web/CSS/border-collapse
691
691
  */
692
- borderCollapse?: Property.BorderCollapse | undefined;
692
+ borderCollapse/*;框合并*/?: Property.BorderCollapse | undefined;
693
693
  /**
694
694
  * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
695
695
  *
@@ -731,7 +731,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
731
731
  *
732
732
  * @see https://developer.mozilla.org/docs/Web/CSS/border-image-outset
733
733
  */
734
- borderImageOutset?: Property.BorderImageOutset<TLength> | undefined;
734
+ borderImageOutset/*;框图突出*/?: Property.BorderImageOutset<TLength> | undefined;
735
735
  /**
736
736
  * The **`border-image-repeat`** CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's border image.
737
737
  *
@@ -745,7 +745,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
745
745
  *
746
746
  * @see https://developer.mozilla.org/docs/Web/CSS/border-image-repeat
747
747
  */
748
- borderImageRepeat?: Property.BorderImageRepeat | undefined;
748
+ borderImageRepeat/*;框图重复*/?: Property.BorderImageRepeat | undefined;
749
749
  /**
750
750
  * The **`border-image-slice`** CSS property divides the image specified by `border-image-source` into regions. These regions form the components of an element's border image.
751
751
  *
@@ -759,7 +759,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
759
759
  *
760
760
  * @see https://developer.mozilla.org/docs/Web/CSS/border-image-slice
761
761
  */
762
- borderImageSlice?: Property.BorderImageSlice | undefined;
762
+ borderImageSlice/*;框图内移*/?: Property.BorderImageSlice | undefined;
763
763
  /**
764
764
  * The **`border-image-source`** CSS property sets the source image used to create an element's border image.
765
765
  *
@@ -773,7 +773,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
773
773
  *
774
774
  * @see https://developer.mozilla.org/docs/Web/CSS/border-image-source
775
775
  */
776
- borderImageSource?: Property.BorderImageSource | undefined;
776
+ borderImageSource/*;框图源*/?: Property.BorderImageSource | undefined;
777
777
  /**
778
778
  * The **`border-image-width`** CSS property sets the width of an element's border image.
779
779
  *
@@ -787,7 +787,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
787
787
  *
788
788
  * @see https://developer.mozilla.org/docs/Web/CSS/border-image-width
789
789
  */
790
- borderImageWidth?: Property.BorderImageWidth<TLength> | undefined;
790
+ borderImageWidth/*;框图宽*/?: Property.BorderImageWidth<TLength> | undefined;
791
791
  /**
792
792
  * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`.
793
793
  *
@@ -932,7 +932,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
932
932
  *
933
933
  * @see https://developer.mozilla.org/docs/Web/CSS/border-left-color
934
934
  */
935
- borderLeftColor?: Property.BorderLeftColor | undefined;
935
+ borderLeftColor/*;框左颜色*/?: Property.BorderLeftColor | undefined;
936
936
  /**
937
937
  * The **`border-left-style`** CSS property sets the line style of an element's left `border`.
938
938
  *
@@ -946,7 +946,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
946
946
  *
947
947
  * @see https://developer.mozilla.org/docs/Web/CSS/border-left-style
948
948
  */
949
- borderLeftStyle?: Property.BorderLeftStyle | undefined;
949
+ borderLeftStyle/*;框左样式*/?: Property.BorderLeftStyle | undefined;
950
950
  /**
951
951
  * The **`border-left-width`** CSS property sets the width of the left border of an element.
952
952
  *
@@ -960,7 +960,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
960
960
  *
961
961
  * @see https://developer.mozilla.org/docs/Web/CSS/border-left-width
962
962
  */
963
- borderLeftWidth?: Property.BorderLeftWidth<TLength> | undefined;
963
+ borderLeftWidth/*;框左宽*/?: Property.BorderLeftWidth<TLength> | undefined;
964
964
  /**
965
965
  * The **`border-right-color`** CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`.
966
966
  *
@@ -3679,7 +3679,7 @@ export interface StandardLonghandProperties<TLength = (string & {}) | 0, TTime =
3679
3679
  *
3680
3680
  * @see https://developer.mozilla.org/docs/Web/CSS/padding-top
3681
3681
  */
3682
- paddingTop?: Property.PaddingTop<TLength> | undefined;
3682
+ paddingTop/*;内衬上*/?: Property.PaddingTop<TLength> | undefined;
3683
3683
  /**
3684
3684
  * The **`page-break-after`** CSS property adjusts page breaks _after_ the current element.
3685
3685
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtlan/csstype",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "oName": "csstype",
5
5
  "oVersion": "3.1.0",
6
6
  "description": "君土: Strict TypeScript and Flow types for style based on MDN data",