@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 +1 -1
- package/recipes/tabs.d.ts +1 -1
- package/recipes/tabs.mjs +4 -0
package/package.json
CHANGED
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))])
|