thread-ui 0.4.1 → 0.4.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.
- package/dist/components/media/info-card/index.d.ts +1 -1
- package/dist/styled-system/css/conditions.mjs +1 -1
- package/dist/styled-system/css/css.mjs +1 -1
- package/dist/styled-system/css/sva.mjs +9 -4
- package/dist/styled-system/helpers.mjs +11 -22
- package/dist/styled-system/patterns/divider.d.ts +1 -1
- package/dist/styled-system/patterns/float.d.ts +1 -1
- package/dist/styled-system/patterns/grid.mjs +1 -1
- package/dist/styled-system/patterns/hstack.mjs +1 -1
- package/dist/styled-system/patterns/stack.mjs +1 -1
- package/dist/styled-system/patterns/vstack.mjs +1 -1
- package/dist/styled-system/patterns/wrap.mjs +1 -1
- package/dist/styled-system/recipes/button.d.ts +3 -0
- package/dist/styled-system/styles.css +1 -2225
- package/dist/styled-system/tokens/index.mjs +43 -7
- package/dist/styled-system/tokens/tokens.d.ts +4 -4
- package/dist/styled-system/types/composition.d.ts +86 -23
- package/dist/styled-system/types/conditions.d.ts +8 -4
- package/dist/styled-system/types/csstype.d.ts +6405 -5133
- package/dist/styled-system/types/pattern.d.ts +4 -4
- package/dist/styled-system/types/prop-type.d.ts +11 -1
- package/dist/styled-system/types/style-props.d.ts +2763 -2165
- package/dist/styled-system/types/system-types.d.ts +38 -80
- package/dist/styles/panda.css +1 -1
- package/package.json +10 -8
|
@@ -6,10 +6,10 @@ type Primitive = string | number | boolean | null | undefined
|
|
|
6
6
|
type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
|
|
7
7
|
|
|
8
8
|
export type PatternProperty =
|
|
9
|
-
| { type: 'property'; value: CssProperty }
|
|
10
|
-
| { type: 'enum'; value: string[] }
|
|
11
|
-
| { type: 'token'; value: TokenCategory; property?: CssProperty }
|
|
12
|
-
| { type: 'string' | 'boolean' | 'number' }
|
|
9
|
+
| { type: 'property'; value: CssProperty; description?: string }
|
|
10
|
+
| { type: 'enum'; value: string[]; description?: string }
|
|
11
|
+
| { type: 'token'; value: TokenCategory; property?: CssProperty; description?: string }
|
|
12
|
+
| { type: 'string' | 'boolean' | 'number'; description?: string }
|
|
13
13
|
|
|
14
14
|
export interface PatternHelpers {
|
|
15
15
|
map: (value: any, fn: (value: string) => string | undefined) => any
|
|
@@ -57,6 +57,12 @@ export interface UtilityValues {
|
|
|
57
57
|
outlineColor: Tokens["colors"];
|
|
58
58
|
outline: Tokens["borders"];
|
|
59
59
|
outlineOffset: Tokens["spacing"];
|
|
60
|
+
focusRing: "outside" | "inside" | "mixed" | "none";
|
|
61
|
+
focusVisibleRing: "outside" | "inside" | "mixed" | "none";
|
|
62
|
+
focusRingColor: Tokens["colors"];
|
|
63
|
+
focusRingOffset: Tokens["spacing"];
|
|
64
|
+
focusRingWidth: Tokens["borderWidths"] | CssProperties["outlineWidth"];
|
|
65
|
+
focusRingStyle: CssProperties["outlineStyle"];
|
|
60
66
|
divideX: Tokens["borderWidths"];
|
|
61
67
|
divideY: Tokens["borderWidths"];
|
|
62
68
|
divideColor: Tokens["colors"];
|
|
@@ -73,6 +79,7 @@ export interface UtilityValues {
|
|
|
73
79
|
minBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
74
80
|
maxHeight: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
75
81
|
maxBlockSize: "auto" | Tokens["sizes"] | "svh" | "lvh" | "dvh" | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6";
|
|
82
|
+
boxSize: "auto" | Tokens["sizes"] | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "screen";
|
|
76
83
|
color: Tokens["colors"];
|
|
77
84
|
fontFamily: Tokens["fonts"];
|
|
78
85
|
fontSize: Tokens["fontSizes"];
|
|
@@ -85,11 +92,13 @@ export interface UtilityValues {
|
|
|
85
92
|
textIndent: Tokens["spacing"];
|
|
86
93
|
textShadow: Tokens["shadows"];
|
|
87
94
|
textShadowColor: Tokens["colors"];
|
|
95
|
+
WebkitTextFillColor: Tokens["colors"];
|
|
88
96
|
textWrap: "wrap" | "balance" | "nowrap";
|
|
89
97
|
truncate: boolean;
|
|
90
98
|
background: Tokens["colors"];
|
|
91
99
|
backgroundColor: Tokens["colors"];
|
|
92
100
|
backgroundGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
101
|
+
backgroundLinear: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
93
102
|
textGradient: "to-t" | "to-tr" | "to-r" | "to-br" | "to-b" | "to-bl" | "to-l" | "to-tl";
|
|
94
103
|
gradientFrom: Tokens["colors"];
|
|
95
104
|
gradientTo: Tokens["colors"];
|
|
@@ -154,7 +163,8 @@ export interface UtilityValues {
|
|
|
154
163
|
transitionTimingFunction: Tokens["easings"];
|
|
155
164
|
transitionDelay: Tokens["durations"];
|
|
156
165
|
transitionDuration: Tokens["durations"];
|
|
157
|
-
|
|
166
|
+
transitionProperty: "common" | "colors" | "size" | "position" | "background";
|
|
167
|
+
transition: "all" | "common" | "size" | "position" | "background" | "colors" | "opacity" | "shadow" | "transform";
|
|
158
168
|
animation: Tokens["animations"];
|
|
159
169
|
animationName: "spin" | "ping" | "pulse" | "bounce";
|
|
160
170
|
animationTimingFunction: Tokens["easings"];
|