csstype-extra 0.1.26 → 0.1.28

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/package.json +1 -1
  2. package/src/index.d.ts +86 -55
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "csstype-extra",
3
3
  "type": "module",
4
- "version": "0.1.26",
4
+ "version": "0.1.28",
5
5
  "description": "Strict TypeScript types for style based on MDN data",
6
6
  "repository": "https://github.com/dev-five-git/csstypes",
7
7
  "author": "devfive",
package/src/index.d.ts CHANGED
@@ -45,15 +45,12 @@ export interface StandardLonghandProperties {
45
45
  baselineShift?: Property.BaselineShift | undefined
46
46
  baselineSource?: Property.BaselineSource | undefined
47
47
  blockSize?: Property.BlockSize | undefined
48
- borderBlockColor?: Property.BorderBlockColor | undefined
49
48
  borderBlockEndColor?: Property.BorderBlockEndColor | undefined
50
49
  borderBlockEndStyle?: Property.BorderBlockEndStyle | undefined
51
50
  borderBlockEndWidth?: Property.BorderBlockEndWidth | undefined
52
51
  borderBlockStartColor?: Property.BorderBlockStartColor | undefined
53
52
  borderBlockStartStyle?: Property.BorderBlockStartStyle | undefined
54
53
  borderBlockStartWidth?: Property.BorderBlockStartWidth | undefined
55
- borderBlockStyle?: Property.BorderBlockStyle | undefined
56
- borderBlockWidth?: Property.BorderBlockWidth | undefined
57
54
  borderBottomColor?: Property.BorderBottomColor | undefined
58
55
  borderBottomLeftRadius?: Property.BorderBottomLeftRadius | undefined
59
56
  borderBottomRightRadius?: Property.BorderBottomRightRadius | undefined
@@ -67,15 +64,12 @@ export interface StandardLonghandProperties {
67
64
  borderImageSlice?: Property.BorderImageSlice | undefined
68
65
  borderImageSource?: Property.BorderImageSource | undefined
69
66
  borderImageWidth?: Property.BorderImageWidth | undefined
70
- borderInlineColor?: Property.BorderInlineColor | undefined
71
67
  borderInlineEndColor?: Property.BorderInlineEndColor | undefined
72
68
  borderInlineEndStyle?: Property.BorderInlineEndStyle | undefined
73
69
  borderInlineEndWidth?: Property.BorderInlineEndWidth | undefined
74
70
  borderInlineStartColor?: Property.BorderInlineStartColor | undefined
75
71
  borderInlineStartStyle?: Property.BorderInlineStartStyle | undefined
76
72
  borderInlineStartWidth?: Property.BorderInlineStartWidth | undefined
77
- borderInlineStyle?: Property.BorderInlineStyle | undefined
78
- borderInlineWidth?: Property.BorderInlineWidth | undefined
79
73
  borderLeftColor?: Property.BorderLeftColor | undefined
80
74
  borderLeftStyle?: Property.BorderLeftStyle | undefined
81
75
  borderLeftWidth?: Property.BorderLeftWidth | undefined
@@ -510,14 +504,20 @@ export interface StandardShorthandProperties {
510
504
  backgroundPosition?: Property.BackgroundPosition | undefined
511
505
  border?: Property.Border | undefined
512
506
  borderBlock?: Property.BorderBlock | undefined
507
+ borderBlockColor?: Property.BorderBlockColor | undefined
513
508
  borderBlockEnd?: Property.BorderBlockEnd | undefined
514
509
  borderBlockStart?: Property.BorderBlockStart | undefined
510
+ borderBlockStyle?: Property.BorderBlockStyle | undefined
511
+ borderBlockWidth?: Property.BorderBlockWidth | undefined
515
512
  borderBottom?: Property.BorderBottom | undefined
516
513
  borderColor?: Property.BorderColor | undefined
517
514
  borderImage?: Property.BorderImage | undefined
518
515
  borderInline?: Property.BorderInline | undefined
516
+ borderInlineColor?: Property.BorderInlineColor | undefined
519
517
  borderInlineEnd?: Property.BorderInlineEnd | undefined
520
518
  borderInlineStart?: Property.BorderInlineStart | undefined
519
+ borderInlineStyle?: Property.BorderInlineStyle | undefined
520
+ borderInlineWidth?: Property.BorderInlineWidth | undefined
521
521
  borderLeft?: Property.BorderLeft | undefined
522
522
  borderRadius?: Property.BorderRadius | undefined
523
523
  borderRight?: Property.BorderRight | undefined
@@ -653,9 +653,18 @@ export interface VendorLonghandProperties {
653
653
  MozWindowDragging?: Property.MozWindowDragging | undefined
654
654
  MozWindowShadow?: Property.MozWindowShadow | undefined
655
655
  WebkitAppearance?: Property.WebkitAppearance | undefined
656
+ WebkitBorderAfterColor?: Property.WebkitBorderAfterColor | undefined
657
+ WebkitBorderAfterStyle?: Property.WebkitBorderAfterStyle | undefined
658
+ WebkitBorderAfterWidth?: Property.WebkitBorderAfterWidth | undefined
656
659
  WebkitBorderBeforeColor?: Property.WebkitBorderBeforeColor | undefined
657
660
  WebkitBorderBeforeStyle?: Property.WebkitBorderBeforeStyle | undefined
658
661
  WebkitBorderBeforeWidth?: Property.WebkitBorderBeforeWidth | undefined
662
+ WebkitBorderEndColor?: Property.WebkitBorderEndColor | undefined
663
+ WebkitBorderEndStyle?: Property.WebkitBorderEndStyle | undefined
664
+ WebkitBorderEndWidth?: Property.WebkitBorderEndWidth | undefined
665
+ WebkitBorderStartColor?: Property.WebkitBorderStartColor | undefined
666
+ WebkitBorderStartStyle?: Property.WebkitBorderStartStyle | undefined
667
+ WebkitBorderStartWidth?: Property.WebkitBorderStartWidth | undefined
659
668
  WebkitBoxReflect?: Property.WebkitBoxReflect | undefined
660
669
  WebkitLineClamp?: Property.WebkitLineClamp | undefined
661
670
  WebkitMaskAttachment?: Property.WebkitMaskAttachment | undefined
@@ -686,7 +695,10 @@ export interface VendorShorthandProperties {
686
695
  msScrollSnapX?: Property.MsScrollSnapX | undefined
687
696
  msScrollSnapY?: Property.MsScrollSnapY | undefined
688
697
  MozOutlineRadius?: Property.MozOutlineRadius | undefined
698
+ WebkitBorderAfter?: Property.WebkitBorderAfter | undefined
689
699
  WebkitBorderBefore?: Property.WebkitBorderBefore | undefined
700
+ WebkitBorderEnd?: Property.WebkitBorderEnd | undefined
701
+ WebkitBorderStart?: Property.WebkitBorderStart | undefined
690
702
  WebkitMask?: Property.WebkitMask | undefined
691
703
  WebkitTextStroke?: Property.WebkitTextStroke | undefined
692
704
  }
@@ -1037,10 +1049,6 @@ export namespace Property {
1037
1049
  | Globals
1038
1050
  | (string & {})
1039
1051
  export type BlockSize = Property.Width | Globals | (string & {})
1040
- export type BorderBlockColor =
1041
- | Property.BorderTopColor
1042
- | Globals
1043
- | (string & {})
1044
1052
  export type BorderBlockEndColor =
1045
1053
  | Property.BorderTopColor
1046
1054
  | Globals
@@ -1065,14 +1073,6 @@ export namespace Property {
1065
1073
  | Property.BorderTopWidth
1066
1074
  | Globals
1067
1075
  | (string & {})
1068
- export type BorderBlockStyle =
1069
- | Property.BorderTopStyle
1070
- | Globals
1071
- | (string & {})
1072
- export type BorderBlockWidth =
1073
- | Property.BorderTopWidth
1074
- | Globals
1075
- | (string & {})
1076
1076
  export type BorderBottomColor =
1077
1077
  | Property.BorderTopColor
1078
1078
  | Globals
@@ -1112,10 +1112,6 @@ export namespace Property {
1112
1112
  | 'auto'
1113
1113
  | Globals
1114
1114
  | (string & {})
1115
- export type BorderInlineColor =
1116
- | Property.BorderTopColor
1117
- | Globals
1118
- | (string & {})
1119
1115
  export type BorderInlineEndColor =
1120
1116
  | Property.BorderTopColor
1121
1117
  | Globals
@@ -1140,14 +1136,6 @@ export namespace Property {
1140
1136
  | Property.BorderTopWidth
1141
1137
  | Globals
1142
1138
  | (string & {})
1143
- export type BorderInlineStyle =
1144
- | Property.BorderTopStyle
1145
- | Globals
1146
- | (string & {})
1147
- export type BorderInlineWidth =
1148
- | Property.BorderTopWidth
1149
- | Globals
1150
- | (string & {})
1151
1139
  export type BorderLeftColor = TColor | Globals | (string & {})
1152
1140
  export type BorderLeftStyle = TLineStyle | Globals | (string & {})
1153
1141
  export type BorderLeftWidth = TLineWidth | Globals | (string & {})
@@ -1360,8 +1348,8 @@ export namespace Property {
1360
1348
  export type ColumnGap = 'normal' | TLengthPercentage | Globals | (string & {})
1361
1349
  export type ColumnHeight = 'auto' | number | Globals | (string & {})
1362
1350
  export type ColumnRuleColor = TColor | Globals | (string & {})
1363
- export type ColumnRuleStyle = Property.BorderStyle | Globals | (string & {})
1364
- export type ColumnRuleWidth = Property.BorderWidth | Globals | (string & {})
1351
+ export type ColumnRuleStyle = TLineStyle | Globals | (string & {})
1352
+ export type ColumnRuleWidth = TLineWidth | Globals | (string & {})
1365
1353
  export type ColumnSpan = 'none' | 'all' | Globals | (string & {})
1366
1354
  export type ColumnWidth = 'auto' | number | Globals | (string & {})
1367
1355
  export type ColumnWrap = 'auto' | 'nowrap' | 'wrap' | Globals | (string & {})
@@ -2141,9 +2129,11 @@ export namespace Property {
2141
2129
  | Globals
2142
2130
  | (string & {})
2143
2131
  export type PositionAnchor =
2132
+ | 'normal'
2144
2133
  | 'auto'
2145
2134
  | 'none'
2146
2135
  | TAnchorName
2136
+ | 'match-parent'
2147
2137
  | Globals
2148
2138
  | (string & {})
2149
2139
  export type PositionArea = 'none' | TPositionArea | Globals | (string & {})
@@ -2804,17 +2794,19 @@ export namespace Property {
2804
2794
  | TColor
2805
2795
  | Globals
2806
2796
  | (string & {})
2807
- export type BorderBlock = Property.BorderBlockStart | Globals | (string & {})
2808
- export type BorderBlockEnd =
2809
- | Property.BorderTopWidth
2797
+ export type BorderBlock = Property.BorderTop | Globals | (string & {})
2798
+ export type BorderBlockColor =
2799
+ | Property.BorderTopColor
2800
+ | Globals
2801
+ | (string & {})
2802
+ export type BorderBlockEnd = Property.BorderTop | Globals | (string & {})
2803
+ export type BorderBlockStart = Property.BorderTop | Globals | (string & {})
2804
+ export type BorderBlockStyle =
2810
2805
  | Property.BorderTopStyle
2811
- | TColor
2812
2806
  | Globals
2813
2807
  | (string & {})
2814
- export type BorderBlockStart =
2808
+ export type BorderBlockWidth =
2815
2809
  | Property.BorderTopWidth
2816
- | Property.BorderTopStyle
2817
- | TColor
2818
2810
  | Globals
2819
2811
  | (string & {})
2820
2812
  export type BorderBottom =
@@ -2833,17 +2825,19 @@ export namespace Property {
2833
2825
  | Property.BorderImageRepeat
2834
2826
  | Globals
2835
2827
  | (string & {})
2836
- export type BorderInline = Property.BorderBlockStart | Globals | (string & {})
2837
- export type BorderInlineEnd =
2838
- | Property.BorderTopWidth
2828
+ export type BorderInline = Property.BorderTop | Globals | (string & {})
2829
+ export type BorderInlineColor =
2830
+ | Property.BorderTopColor
2831
+ | Globals
2832
+ | (string & {})
2833
+ export type BorderInlineEnd = Property.BorderTop | Globals | (string & {})
2834
+ export type BorderInlineStart = Property.BorderTop | Globals | (string & {})
2835
+ export type BorderInlineStyle =
2839
2836
  | Property.BorderTopStyle
2840
- | TColor
2841
2837
  | Globals
2842
2838
  | (string & {})
2843
- export type BorderInlineStart =
2839
+ export type BorderInlineWidth =
2844
2840
  | Property.BorderTopWidth
2845
- | Property.BorderTopStyle
2846
- | TColor
2847
2841
  | Globals
2848
2842
  | (string & {})
2849
2843
  export type BorderLeft =
@@ -3464,13 +3458,52 @@ export namespace Property {
3464
3458
  | '-apple-pay-button'
3465
3459
  | Globals
3466
3460
  | (string & {})
3467
- export type WebkitBorderBeforeColor = TColor | Globals | (string & {})
3461
+ export type WebkitBorderAfterColor =
3462
+ | Property.BorderTopColor
3463
+ | Globals
3464
+ | (string & {})
3465
+ export type WebkitBorderAfterStyle =
3466
+ | Property.BorderTopStyle
3467
+ | Globals
3468
+ | (string & {})
3469
+ export type WebkitBorderAfterWidth =
3470
+ | Property.BorderTopWidth
3471
+ | Globals
3472
+ | (string & {})
3473
+ export type WebkitBorderBeforeColor =
3474
+ | Property.BorderTopColor
3475
+ | Globals
3476
+ | (string & {})
3468
3477
  export type WebkitBorderBeforeStyle =
3469
- | Property.BorderStyle
3478
+ | Property.BorderTopStyle
3470
3479
  | Globals
3471
3480
  | (string & {})
3472
3481
  export type WebkitBorderBeforeWidth =
3473
- | Property.BorderWidth
3482
+ | Property.BorderTopWidth
3483
+ | Globals
3484
+ | (string & {})
3485
+ export type WebkitBorderEndColor =
3486
+ | Property.BorderTopColor
3487
+ | Globals
3488
+ | (string & {})
3489
+ export type WebkitBorderEndStyle =
3490
+ | Property.BorderTopStyle
3491
+ | Globals
3492
+ | (string & {})
3493
+ export type WebkitBorderEndWidth =
3494
+ | Property.BorderTopWidth
3495
+ | Globals
3496
+ | (string & {})
3497
+ export type WebkitBorderStartColor =
3498
+ | Property.BorderTopColor
3499
+ | Globals
3500
+ | (string & {})
3501
+ export type WebkitBorderStartStyle =
3502
+ | Property.BorderTopStyle
3503
+ | Globals
3504
+ | (string & {})
3505
+ export type WebkitBorderStartWidth =
3506
+ | Property.BorderTopWidth
3474
3507
  | Globals
3475
3508
  | (string & {})
3476
3509
  export type WebkitBoxReflect =
@@ -3584,12 +3617,10 @@ export namespace Property {
3584
3617
  | Globals
3585
3618
  | (string & {})
3586
3619
  export type MozOutlineRadius = TOutlineRadius | Globals | (string & {})
3587
- export type WebkitBorderBefore =
3588
- | Property.BorderWidth
3589
- | Property.BorderStyle
3590
- | TColor
3591
- | Globals
3592
- | (string & {})
3620
+ export type WebkitBorderAfter = Property.BorderTop | Globals | (string & {})
3621
+ export type WebkitBorderBefore = Property.BorderTop | Globals | (string & {})
3622
+ export type WebkitBorderEnd = Property.BorderTop | Globals | (string & {})
3623
+ export type WebkitBorderStart = Property.BorderTop | Globals | (string & {})
3593
3624
  export type WebkitMask =
3594
3625
  | TMaskReference
3595
3626
  | TPosition