@stokelp/styled-system 2.55.0 → 2.57.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/panda.buildinfo.json +4 -1
- package/recipes/tabs-chip.d.ts +1 -1
- package/recipes/tabs-chip.mjs +1 -0
- package/recipes/tabs.d.ts +4 -0
- package/recipes/tabs.mjs +7 -1
package/package.json
CHANGED
package/panda.buildinfo.json
CHANGED
|
@@ -294,10 +294,13 @@
|
|
|
294
294
|
"tableEmptyRow": [],
|
|
295
295
|
"tableContainer": [],
|
|
296
296
|
"tabs": [
|
|
297
|
-
"variant]___[value:line]___[recipe:tabs"
|
|
297
|
+
"variant]___[value:line]___[recipe:tabs",
|
|
298
|
+
"lineVariant]___[value:primary]___[recipe:tabs",
|
|
299
|
+
"lineVariant]___[value:white]___[recipe:tabs"
|
|
298
300
|
],
|
|
299
301
|
"tabsChip": [
|
|
300
302
|
"colorScheme]___[value:neutral]___[recipe:tabsChip",
|
|
303
|
+
"colorScheme]___[value:info]___[recipe:tabsChip",
|
|
301
304
|
"colorScheme]___[value:success]___[recipe:tabsChip",
|
|
302
305
|
"colorScheme]___[value:warning]___[recipe:tabsChip",
|
|
303
306
|
"colorScheme]___[value:error]___[recipe:tabsChip",
|
package/recipes/tabs-chip.d.ts
CHANGED
package/recipes/tabs-chip.mjs
CHANGED
package/recipes/tabs.d.ts
CHANGED
package/recipes/tabs.mjs
CHANGED
|
@@ -2,7 +2,8 @@ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mj
|
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const tabsDefaultVariants = {
|
|
5
|
-
"variant": "line"
|
|
5
|
+
"variant": "line",
|
|
6
|
+
"lineVariant": "primary"
|
|
6
7
|
}
|
|
7
8
|
const tabsCompoundVariants = []
|
|
8
9
|
|
|
@@ -35,6 +36,7 @@ const tabsFn = memo((props = {}) => {
|
|
|
35
36
|
})
|
|
36
37
|
|
|
37
38
|
const tabsVariantKeys = [
|
|
39
|
+
"lineVariant",
|
|
38
40
|
"variant"
|
|
39
41
|
]
|
|
40
42
|
const getVariantProps = (variants) => ({ ...tabsDefaultVariants, ...compact(variants) })
|
|
@@ -45,6 +47,10 @@ export const tabs = /* @__PURE__ */ Object.assign(tabsFn, {
|
|
|
45
47
|
raw: (props) => props,
|
|
46
48
|
variantKeys: tabsVariantKeys,
|
|
47
49
|
variantMap: {
|
|
50
|
+
"lineVariant": [
|
|
51
|
+
"primary",
|
|
52
|
+
"white"
|
|
53
|
+
],
|
|
48
54
|
"variant": [
|
|
49
55
|
"line"
|
|
50
56
|
]
|