@stokelp/styled-system 2.36.0 → 2.37.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.
package/package.json
CHANGED
package/panda.buildinfo.json
CHANGED
|
@@ -56,12 +56,22 @@
|
|
|
56
56
|
"background]___[value:primary.200]___[cond:_hover",
|
|
57
57
|
"background]___[value:primary.100]___[cond:_hover",
|
|
58
58
|
"paddingBottom]___[value:space-24",
|
|
59
|
+
"background]___[value:success.500",
|
|
60
|
+
"borderRadius]___[value:full",
|
|
61
|
+
"background]___[value:black/10",
|
|
62
|
+
"color]___[value:secondary.500",
|
|
63
|
+
"background]___[value:decorative.yellow.mid",
|
|
64
|
+
"pointerEvents]___[value:none",
|
|
65
|
+
"background]___[value:decorative.blue.mid",
|
|
66
|
+
"background]___[value:decorative.green.mid",
|
|
67
|
+
"background]___[value:secondary.100",
|
|
68
|
+
"alignItems]___[value:flex-start",
|
|
69
|
+
"gap]___[value:space-0",
|
|
70
|
+
"flexDirection]___[value:column",
|
|
59
71
|
"display]___[value:grid",
|
|
60
72
|
"gridTemplateColumns]___[value:repeat(auto-fit, minmax(300px, 1fr))",
|
|
61
73
|
"gap]___[value:10px",
|
|
62
|
-
"alignItems]___[value:flex-start",
|
|
63
74
|
"gap]___[value:0",
|
|
64
|
-
"flexDirection]___[value:column",
|
|
65
75
|
"alignItems]___[value:stretch",
|
|
66
76
|
"gap]___[value:space-16",
|
|
67
77
|
"borderColor]___[value:primary.100",
|
|
@@ -76,7 +86,6 @@
|
|
|
76
86
|
"padding]___[value:space-16",
|
|
77
87
|
"marginTop]___[value:100",
|
|
78
88
|
"color]___[value:primary.500",
|
|
79
|
-
"color]___[value:secondary.500",
|
|
80
89
|
"color]___[value:success.500",
|
|
81
90
|
"color]___[value:warning.500",
|
|
82
91
|
"borderRadius]___[value:radius-24",
|
|
@@ -119,7 +128,8 @@
|
|
|
119
128
|
"size]___[value:lg]___[recipe:iconButton"
|
|
120
129
|
],
|
|
121
130
|
"avatar": [
|
|
122
|
-
"size]___[value:md]___[recipe:avatar"
|
|
131
|
+
"size]___[value:md]___[recipe:avatar",
|
|
132
|
+
"size]___[value:sm]___[recipe:avatar"
|
|
123
133
|
],
|
|
124
134
|
"checkbox": [
|
|
125
135
|
"size]___[value:md]___[recipe:checkbox"
|
|
@@ -129,9 +139,9 @@
|
|
|
129
139
|
],
|
|
130
140
|
"text": [
|
|
131
141
|
"size]___[value:md]___[recipe:text",
|
|
142
|
+
"bold]___[value:true]___[recipe:text",
|
|
132
143
|
"size]___[value:lg]___[recipe:text",
|
|
133
|
-
"size]___[value:sm]___[recipe:text"
|
|
134
|
-
"bold]___[value:true]___[recipe:text"
|
|
144
|
+
"size]___[value:sm]___[recipe:text"
|
|
135
145
|
],
|
|
136
146
|
"input": [
|
|
137
147
|
"size]___[value:md]___[recipe:input"
|
|
@@ -174,6 +184,9 @@
|
|
|
174
184
|
],
|
|
175
185
|
"collapsible": [],
|
|
176
186
|
"productCardCatalog": [],
|
|
187
|
+
"icon": [
|
|
188
|
+
"size]___[value:md]___[recipe:icon"
|
|
189
|
+
],
|
|
177
190
|
"accordion": [
|
|
178
191
|
"size]___[value:md]___[recipe:accordion"
|
|
179
192
|
],
|
|
@@ -197,9 +210,6 @@
|
|
|
197
210
|
"flag": [
|
|
198
211
|
"shape]___[value:rounded]___[recipe:flag"
|
|
199
212
|
],
|
|
200
|
-
"icon": [
|
|
201
|
-
"size]___[value:md]___[recipe:icon"
|
|
202
|
-
],
|
|
203
213
|
"illustration": [
|
|
204
214
|
"pattern]___[value:neutral]___[recipe:illustration"
|
|
205
215
|
],
|
|
@@ -16,7 +16,7 @@ export type ProductCardCatalogVariantProps = {
|
|
|
16
16
|
|
|
17
17
|
export interface ProductCardCatalogRecipe {
|
|
18
18
|
__type: ProductCardCatalogVariantProps
|
|
19
|
-
(props?: ProductCardCatalogVariantProps): Pretty<Record<"root" | "title" | "image" | "content" | "description" | "highlight", string>>
|
|
19
|
+
(props?: ProductCardCatalogVariantProps): Pretty<Record<"root" | "title" | "image" | "imageContainer" | "content" | "description" | "highlight" | "tag" | "badgeList" | "badge" | "shortLivedTag", string>>
|
|
20
20
|
raw: (props?: ProductCardCatalogVariantProps) => ProductCardCatalogVariantProps
|
|
21
21
|
variantMap: ProductCardCatalogVariantMap
|
|
22
22
|
variantKeys: Array<keyof ProductCardCatalogVariant>
|
|
@@ -17,6 +17,10 @@ const productCardCatalogSlotNames = [
|
|
|
17
17
|
"image",
|
|
18
18
|
"product-card-catalog__image"
|
|
19
19
|
],
|
|
20
|
+
[
|
|
21
|
+
"imageContainer",
|
|
22
|
+
"product-card-catalog__imageContainer"
|
|
23
|
+
],
|
|
20
24
|
[
|
|
21
25
|
"content",
|
|
22
26
|
"product-card-catalog__content"
|
|
@@ -28,6 +32,22 @@ const productCardCatalogSlotNames = [
|
|
|
28
32
|
[
|
|
29
33
|
"highlight",
|
|
30
34
|
"product-card-catalog__highlight"
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
"tag",
|
|
38
|
+
"product-card-catalog__tag"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"badgeList",
|
|
42
|
+
"product-card-catalog__badgeList"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"badge",
|
|
46
|
+
"product-card-catalog__badge"
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"shortLivedTag",
|
|
50
|
+
"product-card-catalog__shortLivedTag"
|
|
31
51
|
]
|
|
32
52
|
]
|
|
33
53
|
const productCardCatalogSlotFns = /* @__PURE__ */ productCardCatalogSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, productCardCatalogDefaultVariants, getSlotCompoundVariant(productCardCatalogCompoundVariants, slotName))])
|
package/types/prop-type.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export interface UtilityValues {
|
|
|
146
146
|
transitionDuration: Tokens["durations"];
|
|
147
147
|
transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
|
|
148
148
|
animation: Tokens["animations"];
|
|
149
|
-
animationName: "blob" | "bounce" | "fade-in" | "fade-out" | "fadeIn" | "fadeInFromRight" | "fadeInSkew" | "fadeOut" | "fadeOutFromRight" | "fadeOutSkew" | "ping" | "pulse" | "skeleton-pulse" | "slide-in" | "slide-in-left" | "slide-in-modal" | "slide-in-top-modal" | "slide-in-right" | "slide-out" | "slide-out-left" | "slide-out-modal" | "slide-out-top-modal" | "slide-out-right" | "slideInFromBottom" | "slideOutToBottom" | "collapse-in" | "collapse-out" | "spin";
|
|
149
|
+
animationName: "blob" | "bounce" | "fade-in" | "fade-out" | "slide-from-top" | "slide-from-bottom" | "slide-from-left" | "slide-from-right" | "slide-to-top" | "slide-to-bottom" | "slide-to-left" | "slide-to-right" | "fadeIn" | "fadeInFromRight" | "fadeInSkew" | "fadeOut" | "fadeOutFromRight" | "fadeOutSkew" | "ping" | "pulse" | "skeleton-pulse" | "slide-in" | "slide-in-left" | "slide-in-modal" | "slide-in-top-modal" | "slide-in-right" | "slide-out" | "slide-out-left" | "slide-out-modal" | "slide-out-top-modal" | "slide-out-right" | "slideInFromBottom" | "slideOutToBottom" | "collapse-in" | "collapse-out" | "spin";
|
|
150
150
|
animationTimingFunction: Tokens["easings"];
|
|
151
151
|
animationDuration: Tokens["durations"];
|
|
152
152
|
animationDelay: Tokens["durations"];
|