@stokelp/styled-system 2.30.2 → 2.32.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": "2.30.2",
3
+ "version": "2.32.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/recipes/tabs.d.ts CHANGED
@@ -19,7 +19,7 @@ export type TabsVariantProps = {
19
19
 
20
20
  export interface TabsRecipe {
21
21
  __type: TabsVariantProps
22
- (props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator", string>>
22
+ (props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator" | "chip", string>>
23
23
  raw: (props?: TabsVariantProps) => TabsVariantProps
24
24
  variantMap: TabsVariantMap
25
25
  variantKeys: Array<keyof TabsVariant>
package/recipes/tabs.mjs CHANGED
@@ -26,6 +26,10 @@ const tabsSlotNames = [
26
26
  [
27
27
  "indicator",
28
28
  "tabs__indicator"
29
+ ],
30
+ [
31
+ "chip",
32
+ "tabs__chip"
29
33
  ]
30
34
  ]
31
35
  const tabsSlotFns = /* @__PURE__ */ tabsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tabsDefaultVariants, getSlotCompoundVariant(tabsCompoundVariants, slotName))])