@stokelp/styled-system 1.20.0 → 1.21.0

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": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -31,6 +31,8 @@
31
31
  "cursor]___[value:pointer",
32
32
  "marginRight]___[value:space-4",
33
33
  "padding]___[value:space-8",
34
+ "width]___[value:16",
35
+ "height]___[value:16",
34
36
  "truncate]___[value:true",
35
37
  "width]___[value:24",
36
38
  "height]___[value:24",
@@ -106,6 +108,7 @@
106
108
  "formLabel": [
107
109
  "variant]___[value:absolute]___[recipe:formLabel"
108
110
  ],
111
+ "tooltip": [],
109
112
  "text": [
110
113
  "size]___[value:md]___[recipe:text",
111
114
  "size]___[value:lg]___[recipe:text",
@@ -138,7 +141,6 @@
138
141
  "tabs": [
139
142
  "variant]___[value:line]___[recipe:tabs"
140
143
  ],
141
- "tooltip": [],
142
144
  "datepicker": [],
143
145
  "formHelperText": [],
144
146
  "select": [
@@ -19,7 +19,7 @@ export type FormLabelVariantProps = {
19
19
 
20
20
  export interface FormLabelRecipe {
21
21
  __type: FormLabelVariantProps
22
- (props?: FormLabelVariantProps): Pretty<Record<"root" | "addon", string>>
22
+ (props?: FormLabelVariantProps): Pretty<Record<"root" | "addon" | "icon", string>>
23
23
  raw: (props?: FormLabelVariantProps) => FormLabelVariantProps
24
24
  variantMap: FormLabelVariantMap
25
25
  variantKeys: Array<keyof FormLabelVariant>
@@ -14,6 +14,10 @@ const formLabelSlotNames = [
14
14
  [
15
15
  "addon",
16
16
  "form-label__addon"
17
+ ],
18
+ [
19
+ "icon",
20
+ "form-label__icon"
17
21
  ]
18
22
  ]
19
23
  const formLabelSlotFns = /* @__PURE__ */ formLabelSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, formLabelDefaultVariants, getSlotCompoundVariant(formLabelCompoundVariants, slotName))])