@pandacss/types 1.2.0 → 1.3.1

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.
@@ -14,6 +14,8 @@ interface Recursive<T> {
14
14
  * -----------------------------------------------------------------------------*/
15
15
 
16
16
  type TextStyleProperty =
17
+ | 'color'
18
+ | 'direction'
17
19
  | 'font'
18
20
  | 'fontFamily'
19
21
  | 'fontFeatureSettings'
@@ -34,6 +36,7 @@ type TextStyleProperty =
34
36
  | 'fontVariantPosition'
35
37
  | 'fontVariationSettings'
36
38
  | 'fontWeight'
39
+ | 'hangingPunctuation'
37
40
  | 'hypens'
38
41
  | 'hyphenateCharacter'
39
42
  | 'hyphenateLimitChars'
@@ -42,11 +45,17 @@ type TextStyleProperty =
42
45
  | 'lineHeight'
43
46
  | 'quotes'
44
47
  | 'overflowWrap'
48
+ | 'tabSize'
49
+ | 'textAlign'
50
+ | 'textAlignLast'
45
51
  | 'textCombineUpright'
46
52
  | 'textDecoration'
47
53
  | 'textDecorationColor'
48
54
  | 'textDecorationLine'
55
+ | 'textDecorationSkip'
56
+ | 'textDecorationSkipBox'
49
57
  | 'textDecorationSkipInk'
58
+ | 'textDecorationSkipInset'
50
59
  | 'textDecorationStyle'
51
60
  | 'textDecorationThickness'
52
61
  | 'textEmphasis'
@@ -59,16 +68,21 @@ type TextStyleProperty =
59
68
  | 'textOverflow'
60
69
  | 'textRendering'
61
70
  | 'textShadow'
71
+ | 'textStroke'
72
+ | 'textStrokeColor'
73
+ | 'textStrokeWidth'
62
74
  | 'textTransform'
63
75
  | 'textUnderlineOffset'
64
76
  | 'textUnderlinePosition'
65
77
  | 'textWrap'
66
78
  | 'textWrapMode'
67
79
  | 'textWrapStyle'
80
+ | 'unicodeBidi'
68
81
  | 'verticalAlign'
69
82
  | 'whiteSpace'
70
83
  | 'wordBreak'
71
84
  | 'wordSpacing'
85
+ | 'writingMode'
72
86
 
73
87
  export type TextStyle = CompositionStyleObject<TextStyleProperty>
74
88
 
@@ -78,17 +92,11 @@ export type TextStyles = Recursive<Token<TextStyle>>
78
92
  * Layer styles
79
93
  * -----------------------------------------------------------------------------*/
80
94
 
81
- type Placement =
82
- | 'Top'
83
- | 'Right'
84
- | 'Bottom'
85
- | 'Left'
86
- | 'Inline'
87
- | 'Block'
88
- | 'InlineStart'
89
- | 'InlineEnd'
90
- | 'BlockStart'
91
- | 'BlockEnd'
95
+ type LogicalPlacement = 'Inline' | 'Block' | 'InlineStart' | 'InlineEnd' | 'BlockStart' | 'BlockEnd'
96
+
97
+ type PhysicalPlacement = 'Top' | 'Right' | 'Bottom' | 'Left'
98
+
99
+ type Placement = PhysicalPlacement | LogicalPlacement
92
100
 
93
101
  type Radius =
94
102
  | `Top${'Right' | 'Left'}`
@@ -97,20 +105,80 @@ type Radius =
97
105
  | `End${'Start' | 'End'}`
98
106
 
99
107
  type LayerStyleProperty =
108
+ | 'aspectRatio'
100
109
  | 'background'
101
110
  | 'backgroundColor'
102
111
  | 'backgroundImage'
103
- | 'borderRadius'
104
112
  | 'border'
105
- | 'borderWidth'
106
113
  | 'borderColor'
114
+ | 'borderImage'
115
+ | 'borderImageOutset'
116
+ | 'borderImageRepeat'
117
+ | 'borderImageSlice'
118
+ | 'borderImageSource'
119
+ | 'borderImageWidth'
120
+ | 'borderRadius'
107
121
  | 'borderStyle'
122
+ | 'borderWidth'
123
+ | `border${Placement}`
124
+ | `border${Placement}Color`
125
+ | `border${Placement}Style`
126
+ | `border${Placement}Width`
127
+ | 'borderRadius'
128
+ | `border${Radius}Radius`
108
129
  | 'boxShadow'
130
+ | 'boxShadowColor'
131
+ | 'clipPath'
132
+ | 'color'
133
+ | 'contain'
134
+ | 'content'
135
+ | 'contentVisibility'
136
+ | 'cursor'
137
+ | 'display'
109
138
  | 'filter'
110
139
  | 'backdropFilter'
111
- | 'transform'
112
- | 'color'
140
+ | 'height'
141
+ | 'width'
142
+ | 'minHeight'
143
+ | 'minWidth'
144
+ | 'maxHeight'
145
+ | 'maxWidth'
146
+ | `margin${Placement}`
147
+ | 'inset'
148
+ | `inset${LogicalPlacement}`
149
+ | Lowercase<PhysicalPlacement>
150
+ | 'isolation'
151
+ | 'mask'
152
+ | 'maskClip'
153
+ | 'maskComposite'
154
+ | 'maskImage'
155
+ | 'maskMode'
156
+ | 'maskOrigin'
157
+ | 'maskPosition'
158
+ | 'maskRepeat'
159
+ | 'maskSize'
160
+ | 'mixBlendMode'
161
+ | 'objectFit'
162
+ | 'objectPosition'
113
163
  | 'opacity'
164
+ | 'outline'
165
+ | 'outlineColor'
166
+ | 'outlineOffset'
167
+ | 'outlineStyle'
168
+ | 'outlineWidth'
169
+ | 'overflow'
170
+ | 'overflowX'
171
+ | 'overflowY'
172
+ | 'padding'
173
+ | `padding${Placement}`
174
+ | 'pointerEvents'
175
+ | 'position'
176
+ | 'resize'
177
+ | 'transform'
178
+ | 'transition'
179
+ | 'visibility'
180
+ | 'willChange'
181
+ | 'zIndex'
114
182
  | 'backgroundBlendMode'
115
183
  | 'backgroundAttachment'
116
184
  | 'backgroundClip'
@@ -118,14 +186,6 @@ type LayerStyleProperty =
118
186
  | 'backgroundPosition'
119
187
  | 'backgroundRepeat'
120
188
  | 'backgroundSize'
121
- | `border${Placement}`
122
- | `border${Placement}Width`
123
- | 'borderRadius'
124
- | `border${Radius}Radius`
125
- | `border${Placement}Color`
126
- | `border${Placement}Style`
127
- | 'padding'
128
- | `padding${Placement}`
129
189
 
130
190
  export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
131
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -31,7 +31,7 @@
31
31
  "ncp": "2.0.0",
32
32
  "pkg-types": "2.2.0",
33
33
  "ts-morph": "26.0.0",
34
- "@pandacss/extractor": "1.2.0"
34
+ "@pandacss/extractor": "1.3.1"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "tsx scripts/watch.ts",