@stokelp/styled-system 1.0.2 → 1.0.4
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 +12 -1
- package/panda.buildinfo.json +6 -1
- package/patterns/aspect-ratio.mjs +2 -2
- package/patterns/bleed.mjs +2 -2
- package/patterns/box.mjs +2 -2
- package/patterns/center.mjs +2 -2
- package/patterns/circle.mjs +2 -2
- package/patterns/container.mjs +2 -2
- package/patterns/cq.mjs +2 -2
- package/patterns/divider.mjs +2 -2
- package/patterns/flex.mjs +2 -2
- package/patterns/float.mjs +4 -4
- package/patterns/grid-item.mjs +2 -2
- package/patterns/grid.mjs +4 -4
- package/patterns/hstack.mjs +2 -2
- package/patterns/link-box.mjs +2 -2
- package/patterns/link-overlay.mjs +3 -3
- package/patterns/spacer.mjs +2 -2
- package/patterns/square.mjs +2 -2
- package/patterns/stack.mjs +2 -2
- package/patterns/visually-hidden.mjs +2 -2
- package/patterns/vstack.mjs +2 -2
- package/patterns/wrap.mjs +2 -2
- package/recipes/form-label.d.ts +1 -1
- package/recipes/form-label.mjs +12 -3
- package/recipes/index.d.ts +2 -1
- package/recipes/index.mjs +2 -1
- package/recipes/tabs.d.ts +28 -0
- package/recipes/tabs.mjs +56 -0
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stokelp/styled-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Stokelp UI styled-system",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"release": "semantic-release -e semantic-release-monorepo",
|
|
11
|
+
"release:dry": "semantic-release -e semantic-release-monorepo --dry-run"
|
|
12
|
+
},
|
|
9
13
|
"files": [
|
|
10
14
|
"css",
|
|
11
15
|
"jsx",
|
|
@@ -53,5 +57,12 @@
|
|
|
53
57
|
},
|
|
54
58
|
"devDependencies": {
|
|
55
59
|
"@pandacss/dev": "^0.37.2"
|
|
60
|
+
},
|
|
61
|
+
"release": {
|
|
62
|
+
"monorepo": {
|
|
63
|
+
"dependencies": [
|
|
64
|
+
"packages/ui"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
56
67
|
}
|
|
57
68
|
}
|
package/panda.buildinfo.json
CHANGED
|
@@ -44,7 +44,9 @@
|
|
|
44
44
|
"size]___[value:md]___[recipe:checkbox"
|
|
45
45
|
],
|
|
46
46
|
"formControl": [],
|
|
47
|
-
"formLabel": [
|
|
47
|
+
"formLabel": [
|
|
48
|
+
"variant]___[value:absolute]___[recipe:formLabel"
|
|
49
|
+
],
|
|
48
50
|
"switchRecipe": [
|
|
49
51
|
"size]___[value:md]___[recipe:switchRecipe"
|
|
50
52
|
],
|
|
@@ -68,6 +70,9 @@
|
|
|
68
70
|
"severity]___[value:none]___[recipe:button",
|
|
69
71
|
"variant]___[value:tertiary]___[recipe:button"
|
|
70
72
|
],
|
|
73
|
+
"tabs": [
|
|
74
|
+
"variant]___[value:line]___[recipe:tabs"
|
|
75
|
+
],
|
|
71
76
|
"textarea": [],
|
|
72
77
|
"formHelperText": []
|
|
73
78
|
}
|
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const aspectRatioConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { ratio = 4 / 3, ...rest } =
|
|
5
|
+
transform(props6, { map }) {
|
|
6
|
+
const { ratio = 4 / 3, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
position: "relative",
|
|
9
9
|
_before: {
|
package/patterns/bleed.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const bleedConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { inline, block, ...rest } =
|
|
5
|
+
transform(props6, { map, isCssUnit, isCssVar }) {
|
|
6
|
+
const { inline, block, ...rest } = props6;
|
|
7
7
|
const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
|
|
8
8
|
return {
|
|
9
9
|
"--bleed-x": map(inline, valueFn),
|
package/patterns/box.mjs
CHANGED
package/patterns/center.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const centerConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { inline, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { inline, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: inline ? "inline-flex" : "flex",
|
|
9
9
|
alignItems: "center",
|
package/patterns/circle.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const circleConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { size, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { size, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
package/patterns/container.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const containerConfig = {
|
|
5
|
-
transform(
|
|
5
|
+
transform(props6) {
|
|
6
6
|
return {
|
|
7
7
|
position: "relative",
|
|
8
8
|
maxWidth: "8xl",
|
|
9
9
|
mx: "auto",
|
|
10
10
|
px: { base: "4", md: "6", lg: "8" },
|
|
11
|
-
...
|
|
11
|
+
...props6
|
|
12
12
|
};
|
|
13
13
|
}}
|
|
14
14
|
|
package/patterns/cq.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const cqConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { name, type, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { name, type, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
containerType: type,
|
|
9
9
|
containerName: name,
|
package/patterns/divider.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const dividerConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { orientation, thickness, color, ...rest } =
|
|
5
|
+
transform(props6, { map }) {
|
|
6
|
+
const { orientation, thickness, color, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
"--thickness": thickness,
|
|
9
9
|
width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
|
package/patterns/flex.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const flexConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
flexDirection: direction,
|
package/patterns/float.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const floatConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { offset, offsetX, offsetY, placement, ...rest } =
|
|
5
|
+
transform(props6, { map }) {
|
|
6
|
+
const { offset, offsetX, offsetY, placement, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "inline-flex",
|
|
9
9
|
justifyContent: "center",
|
|
@@ -38,8 +38,8 @@ transform(props5, { map }) {
|
|
|
38
38
|
...rest
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
defaultValues(
|
|
42
|
-
const offset =
|
|
41
|
+
defaultValues(props6) {
|
|
42
|
+
const offset = props6.offset || "0";
|
|
43
43
|
return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
|
|
44
44
|
}}
|
|
45
45
|
|
package/patterns/grid-item.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const gridItemConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } =
|
|
5
|
+
transform(props6, { map }) {
|
|
6
|
+
const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props6;
|
|
7
7
|
const spanFn = (v) => v === "auto" ? v : `span ${v}`;
|
|
8
8
|
return {
|
|
9
9
|
gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
|
package/patterns/grid.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const gridConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } =
|
|
5
|
+
transform(props6, { map, isCssUnit }) {
|
|
6
|
+
const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props6;
|
|
7
7
|
const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
|
|
8
8
|
return {
|
|
9
9
|
display: "grid",
|
|
@@ -14,8 +14,8 @@ transform(props5, { map, isCssUnit }) {
|
|
|
14
14
|
...rest
|
|
15
15
|
};
|
|
16
16
|
},
|
|
17
|
-
defaultValues(
|
|
18
|
-
return { gap:
|
|
17
|
+
defaultValues(props6) {
|
|
18
|
+
return { gap: props6.columnGap || props6.rowGap ? void 0 : "10px" };
|
|
19
19
|
}}
|
|
20
20
|
|
|
21
21
|
export const getGridStyle = (styles = {}) => {
|
package/patterns/hstack.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const hstackConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { justify, gap, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { justify, gap, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
package/patterns/link-box.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const linkBoxConfig = {
|
|
5
|
-
transform(
|
|
5
|
+
transform(props6) {
|
|
6
6
|
return {
|
|
7
7
|
position: "relative",
|
|
8
8
|
"& :where(a, abbr)": {
|
|
9
9
|
position: "relative",
|
|
10
10
|
zIndex: "1"
|
|
11
11
|
},
|
|
12
|
-
...
|
|
12
|
+
...props6
|
|
13
13
|
};
|
|
14
14
|
}}
|
|
15
15
|
|
|
@@ -2,7 +2,7 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const linkOverlayConfig = {
|
|
5
|
-
transform(
|
|
5
|
+
transform(props6) {
|
|
6
6
|
return {
|
|
7
7
|
position: "static",
|
|
8
8
|
_before: {
|
|
@@ -12,9 +12,9 @@ transform(props5) {
|
|
|
12
12
|
cursor: "inherit",
|
|
13
13
|
inset: "0",
|
|
14
14
|
zIndex: "0",
|
|
15
|
-
...
|
|
15
|
+
...props6["_before"]
|
|
16
16
|
},
|
|
17
|
-
...
|
|
17
|
+
...props6
|
|
18
18
|
};
|
|
19
19
|
}}
|
|
20
20
|
|
package/patterns/spacer.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const spacerConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { size, ...rest } =
|
|
5
|
+
transform(props6, { map }) {
|
|
6
|
+
const { size, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
alignSelf: "stretch",
|
|
9
9
|
justifySelf: "stretch",
|
package/patterns/square.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const squareConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { size, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { size, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
package/patterns/stack.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const stackConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { align, justify, direction, gap, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { align, justify, direction, gap, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
flexDirection: direction,
|
package/patterns/vstack.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const vstackConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { justify, gap, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { justify, gap, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
package/patterns/wrap.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { getPatternStyles, patternFns } from '../helpers.mjs';
|
|
|
2
2
|
import { css } from '../css/index.mjs';
|
|
3
3
|
|
|
4
4
|
const wrapConfig = {
|
|
5
|
-
transform(
|
|
6
|
-
const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } =
|
|
5
|
+
transform(props6) {
|
|
6
|
+
const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props6;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
flexWrap: "wrap",
|
package/recipes/form-label.d.ts
CHANGED
package/recipes/form-label.mjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
|
-
const formLabelDefaultVariants = {
|
|
4
|
+
const formLabelDefaultVariants = {
|
|
5
|
+
"variant": "absolute"
|
|
6
|
+
}
|
|
5
7
|
const formLabelCompoundVariants = []
|
|
6
8
|
|
|
7
9
|
const formLabelSlotNames = [
|
|
@@ -20,7 +22,9 @@ const formLabelFn = memo((props = {}) => {
|
|
|
20
22
|
return Object.fromEntries(formLabelSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
21
23
|
})
|
|
22
24
|
|
|
23
|
-
const formLabelVariantKeys = [
|
|
25
|
+
const formLabelVariantKeys = [
|
|
26
|
+
"variant"
|
|
27
|
+
]
|
|
24
28
|
const getVariantProps = (variants) => ({ ...formLabelDefaultVariants, ...compact(variants) })
|
|
25
29
|
|
|
26
30
|
export const formLabel = /* @__PURE__ */ Object.assign(formLabelFn, {
|
|
@@ -28,7 +32,12 @@ export const formLabel = /* @__PURE__ */ Object.assign(formLabelFn, {
|
|
|
28
32
|
__name__: 'formLabel',
|
|
29
33
|
raw: (props) => props,
|
|
30
34
|
variantKeys: formLabelVariantKeys,
|
|
31
|
-
variantMap: {
|
|
35
|
+
variantMap: {
|
|
36
|
+
"variant": [
|
|
37
|
+
"static",
|
|
38
|
+
"absolute"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
32
41
|
splitVariantProps(props) {
|
|
33
42
|
return splitProps(props, formLabelVariantKeys)
|
|
34
43
|
},
|
package/recipes/index.d.ts
CHANGED
package/recipes/index.mjs
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface TabsVariant {
|
|
6
|
+
variant: "line"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type TabsVariantMap = {
|
|
10
|
+
[key in keyof TabsVariant]: Array<TabsVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type TabsVariantProps = {
|
|
14
|
+
[key in keyof TabsVariant]?: ConditionalValue<TabsVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface TabsRecipe {
|
|
18
|
+
__type: TabsVariantProps
|
|
19
|
+
(props?: TabsVariantProps): Pretty<Record<"root" | "list" | "trigger" | "content" | "indicator", string>>
|
|
20
|
+
raw: (props?: TabsVariantProps) => TabsVariantProps
|
|
21
|
+
variantMap: TabsVariantMap
|
|
22
|
+
variantKeys: Array<keyof TabsVariant>
|
|
23
|
+
splitVariantProps<Props extends TabsVariantProps>(props: Props): [TabsVariantProps, Pretty<DistributiveOmit<Props, keyof TabsVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: TabsVariantProps) => TabsVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export declare const tabs: TabsRecipe
|
package/recipes/tabs.mjs
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const tabsDefaultVariants = {
|
|
5
|
+
"variant": "line"
|
|
6
|
+
}
|
|
7
|
+
const tabsCompoundVariants = []
|
|
8
|
+
|
|
9
|
+
const tabsSlotNames = [
|
|
10
|
+
[
|
|
11
|
+
"root",
|
|
12
|
+
"tabs__root"
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"list",
|
|
16
|
+
"tabs__list"
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"trigger",
|
|
20
|
+
"tabs__trigger"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"content",
|
|
24
|
+
"tabs__content"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"indicator",
|
|
28
|
+
"tabs__indicator"
|
|
29
|
+
]
|
|
30
|
+
]
|
|
31
|
+
const tabsSlotFns = /* @__PURE__ */ tabsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tabsDefaultVariants, getSlotCompoundVariant(tabsCompoundVariants, slotName))])
|
|
32
|
+
|
|
33
|
+
const tabsFn = memo((props = {}) => {
|
|
34
|
+
return Object.fromEntries(tabsSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]))
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
const tabsVariantKeys = [
|
|
38
|
+
"variant"
|
|
39
|
+
]
|
|
40
|
+
const getVariantProps = (variants) => ({ ...tabsDefaultVariants, ...compact(variants) })
|
|
41
|
+
|
|
42
|
+
export const tabs = /* @__PURE__ */ Object.assign(tabsFn, {
|
|
43
|
+
__recipe__: false,
|
|
44
|
+
__name__: 'tabs',
|
|
45
|
+
raw: (props) => props,
|
|
46
|
+
variantKeys: tabsVariantKeys,
|
|
47
|
+
variantMap: {
|
|
48
|
+
"variant": [
|
|
49
|
+
"line"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
splitVariantProps(props) {
|
|
53
|
+
return splitProps(props, tabsVariantKeys)
|
|
54
|
+
},
|
|
55
|
+
getVariantProps
|
|
56
|
+
})
|