csstype-extra 0.1.27 → 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 +28 -46
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "csstype-extra",
3
3
  "type": "module",
4
- "version": "0.1.27",
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
@@ -1049,10 +1049,6 @@ export namespace Property {
1049
1049
  | Globals
1050
1050
  | (string & {})
1051
1051
  export type BlockSize = Property.Width | Globals | (string & {})
1052
- export type BorderBlockColor =
1053
- | Property.BorderTopColor
1054
- | Globals
1055
- | (string & {})
1056
1052
  export type BorderBlockEndColor =
1057
1053
  | Property.BorderTopColor
1058
1054
  | Globals
@@ -1077,14 +1073,6 @@ export namespace Property {
1077
1073
  | Property.BorderTopWidth
1078
1074
  | Globals
1079
1075
  | (string & {})
1080
- export type BorderBlockStyle =
1081
- | Property.BorderTopStyle
1082
- | Globals
1083
- | (string & {})
1084
- export type BorderBlockWidth =
1085
- | Property.BorderTopWidth
1086
- | Globals
1087
- | (string & {})
1088
1076
  export type BorderBottomColor =
1089
1077
  | Property.BorderTopColor
1090
1078
  | Globals
@@ -1124,10 +1112,6 @@ export namespace Property {
1124
1112
  | 'auto'
1125
1113
  | Globals
1126
1114
  | (string & {})
1127
- export type BorderInlineColor =
1128
- | Property.BorderTopColor
1129
- | Globals
1130
- | (string & {})
1131
1115
  export type BorderInlineEndColor =
1132
1116
  | Property.BorderTopColor
1133
1117
  | Globals
@@ -1152,14 +1136,6 @@ export namespace Property {
1152
1136
  | Property.BorderTopWidth
1153
1137
  | Globals
1154
1138
  | (string & {})
1155
- export type BorderInlineStyle =
1156
- | Property.BorderTopStyle
1157
- | Globals
1158
- | (string & {})
1159
- export type BorderInlineWidth =
1160
- | Property.BorderTopWidth
1161
- | Globals
1162
- | (string & {})
1163
1139
  export type BorderLeftColor = TColor | Globals | (string & {})
1164
1140
  export type BorderLeftStyle = TLineStyle | Globals | (string & {})
1165
1141
  export type BorderLeftWidth = TLineWidth | Globals | (string & {})
@@ -1372,8 +1348,8 @@ export namespace Property {
1372
1348
  export type ColumnGap = 'normal' | TLengthPercentage | Globals | (string & {})
1373
1349
  export type ColumnHeight = 'auto' | number | Globals | (string & {})
1374
1350
  export type ColumnRuleColor = TColor | Globals | (string & {})
1375
- export type ColumnRuleStyle = Property.BorderStyle | Globals | (string & {})
1376
- export type ColumnRuleWidth = Property.BorderWidth | Globals | (string & {})
1351
+ export type ColumnRuleStyle = TLineStyle | Globals | (string & {})
1352
+ export type ColumnRuleWidth = TLineWidth | Globals | (string & {})
1377
1353
  export type ColumnSpan = 'none' | 'all' | Globals | (string & {})
1378
1354
  export type ColumnWidth = 'auto' | number | Globals | (string & {})
1379
1355
  export type ColumnWrap = 'auto' | 'nowrap' | 'wrap' | Globals | (string & {})
@@ -2153,9 +2129,11 @@ export namespace Property {
2153
2129
  | Globals
2154
2130
  | (string & {})
2155
2131
  export type PositionAnchor =
2132
+ | 'normal'
2156
2133
  | 'auto'
2157
2134
  | 'none'
2158
2135
  | TAnchorName
2136
+ | 'match-parent'
2159
2137
  | Globals
2160
2138
  | (string & {})
2161
2139
  export type PositionArea = 'none' | TPositionArea | Globals | (string & {})
@@ -2816,17 +2794,19 @@ export namespace Property {
2816
2794
  | TColor
2817
2795
  | Globals
2818
2796
  | (string & {})
2819
- export type BorderBlock = Property.BorderBlockStart | Globals | (string & {})
2820
- export type BorderBlockEnd =
2821
- | 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 =
2822
2805
  | Property.BorderTopStyle
2823
- | TColor
2824
2806
  | Globals
2825
2807
  | (string & {})
2826
- export type BorderBlockStart =
2808
+ export type BorderBlockWidth =
2827
2809
  | Property.BorderTopWidth
2828
- | Property.BorderTopStyle
2829
- | TColor
2830
2810
  | Globals
2831
2811
  | (string & {})
2832
2812
  export type BorderBottom =
@@ -2845,17 +2825,19 @@ export namespace Property {
2845
2825
  | Property.BorderImageRepeat
2846
2826
  | Globals
2847
2827
  | (string & {})
2848
- export type BorderInline = Property.BorderBlockStart | Globals | (string & {})
2849
- export type BorderInlineEnd =
2850
- | 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 =
2851
2836
  | Property.BorderTopStyle
2852
- | TColor
2853
2837
  | Globals
2854
2838
  | (string & {})
2855
- export type BorderInlineStart =
2839
+ export type BorderInlineWidth =
2856
2840
  | Property.BorderTopWidth
2857
- | Property.BorderTopStyle
2858
- | TColor
2859
2841
  | Globals
2860
2842
  | (string & {})
2861
2843
  export type BorderLeft =