@stokelp/styled-system 2.37.6 → 2.38.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/styled-system",
3
- "version": "2.37.6",
3
+ "version": "2.38.1",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -36,8 +36,6 @@
36
36
  "width]___[value:24",
37
37
  "height]___[value:24",
38
38
  "truncate]___[value:true",
39
- "cursor]___[value:pointer",
40
- "marginRight]___[value:space-4",
41
39
  "width]___[value:16",
42
40
  "height]___[value:16",
43
41
  "paddingInline]___[value:space-8",
@@ -105,8 +103,8 @@
105
103
  "size]___[value:sm]___[recipe:iconButton",
106
104
  "variant]___[value:tertiary]___[recipe:iconButton",
107
105
  "severity]___[value:none]___[recipe:iconButton",
108
- "variant]___[value:secondary]___[recipe:iconButton",
109
106
  "size]___[value:md]___[recipe:iconButton",
107
+ "variant]___[value:secondary]___[recipe:iconButton",
110
108
  "variant]___[value:primary]___[recipe:iconButton",
111
109
  "size]___[value:lg]___[recipe:iconButton"
112
110
  ],
@@ -131,14 +129,6 @@
131
129
  ],
132
130
  "inputGroup": [],
133
131
  "inputAddon": [],
134
- "button": [
135
- "size]___[value:sm]___[recipe:button",
136
- "variant]___[value:secondary]___[recipe:button",
137
- "severity]___[value:none]___[recipe:button",
138
- "size]___[value:lg]___[recipe:button",
139
- "variant]___[value:tertiary]___[recipe:button",
140
- "variant]___[value:primary]___[recipe:button"
141
- ],
142
132
  "formControl": [],
143
133
  "formLabel": [
144
134
  "variant]___[value:absolute]___[recipe:formLabel"
@@ -186,6 +176,13 @@
186
176
  "colorScheme]___[value:secondary]___[recipe:chip"
187
177
  ],
188
178
  "breadcrumb": [],
179
+ "button": [
180
+ "size]___[value:lg]___[recipe:button",
181
+ "variant]___[value:tertiary]___[recipe:button",
182
+ "severity]___[value:none]___[recipe:button",
183
+ "variant]___[value:primary]___[recipe:button",
184
+ "variant]___[value:secondary]___[recipe:button"
185
+ ],
189
186
  "combobox": [
190
187
  "size]___[value:md]___[recipe:combobox"
191
188
  ],
package/recipes/chip.d.ts CHANGED
@@ -10,7 +10,7 @@ size: "lg" | "md" | "sm"
10
10
  /**
11
11
  * @default "secondary"
12
12
  */
13
- colorScheme: "secondary" | "grey" | "red" | "yellow" | "green" | "blue" | "purple" | "brown"
13
+ colorScheme: "secondary" | "grey" | "red" | "yellow" | "green" | "blue" | "purple" | "brown" | "error" | "warning"
14
14
  }
15
15
 
16
16
  type ChipVariantMap = {
package/recipes/chip.mjs CHANGED
@@ -56,7 +56,9 @@ export const chip = /* @__PURE__ */ Object.assign(chipFn, {
56
56
  "green",
57
57
  "blue",
58
58
  "purple",
59
- "brown"
59
+ "brown",
60
+ "error",
61
+ "warning"
60
62
  ]
61
63
  },
62
64
  splitVariantProps(props) {