@bonprix-ds/react-tab-group 1.1.3 → 1.1.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/dist/index.js +1 -2
- package/dist/src/TabGroup.js +1 -2
- package/dist/src/TabGroupContent/TabGroupContent.js +1 -2
- package/dist/src/TabGroupContent/index.js +1 -2
- package/dist/src/TabGroupContext.js +1 -2
- package/dist/src/TabGroupItem/TabGroupItem.js +1 -2
- package/dist/src/TabGroupList/TabGroupList.js +1 -2
- package/dist/src/TabGroupRoot.js +1 -2
- package/dist/src/useTabGroup.js +1 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as default };
|
|
1
|
+
export { default } from "./src/TabGroup.js";
|
package/dist/src/TabGroup.js
CHANGED
|
@@ -4,10 +4,9 @@ import n from "./TabGroupList/TabGroupList.js";
|
|
|
4
4
|
import r from "./TabGroupRoot.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/TabGroup.tsx
|
|
8
8
|
var a = (e) => /* @__PURE__ */ i(r, { ...e });
|
|
9
9
|
a.displayName = "TabGroup", a.Item = t, a.Content = e, a.List = n;
|
|
10
|
-
//#endregion
|
|
11
10
|
export { a as default };
|
|
12
11
|
|
|
13
12
|
//# sourceMappingURL=TabGroup.js.map
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
import "react";
|
|
3
3
|
import * as e from "@radix-ui/react-tabs";
|
|
4
4
|
import { jsx as t } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/TabGroupContent/TabGroupContent.tsx
|
|
6
6
|
var n = ({ children: n, value: r }) => /* @__PURE__ */ t(e.Content, {
|
|
7
7
|
value: r,
|
|
8
8
|
children: n
|
|
9
9
|
});
|
|
10
10
|
n.displayName = "TabGroup.Content";
|
|
11
|
-
//#endregion
|
|
12
11
|
export { n as default };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=TabGroupContent.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { createContext as e } from "react";
|
|
3
|
-
|
|
3
|
+
// src/TabGroupContext.ts
|
|
4
4
|
var t = e({
|
|
5
5
|
fullWidth: !1,
|
|
6
6
|
variant: "tab"
|
|
7
7
|
});
|
|
8
|
-
//#endregion
|
|
9
8
|
export { t as default };
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=TabGroupContext.js.map
|
|
@@ -5,7 +5,7 @@ import * as t from "@radix-ui/react-tabs";
|
|
|
5
5
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
6
|
import { tv as i } from "tailwind-variants";
|
|
7
7
|
import { tabStyleContainerBase as a, tabStyleContainerVariant as o, tabStyleLabelClass as s, tabStyleLabelContainerBase as c, tabStyleLabelContainerVariant as l } from "@bonprix-ds/internal-components";
|
|
8
|
-
|
|
8
|
+
// src/TabGroupItem/TabGroupItem.tsx
|
|
9
9
|
var u = i({
|
|
10
10
|
slots: {
|
|
11
11
|
container: [
|
|
@@ -62,7 +62,6 @@ var u = i({
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
d.displayName = "TabGroup.Item";
|
|
65
|
-
//#endregion
|
|
66
65
|
export { d as default };
|
|
67
66
|
|
|
68
67
|
//# sourceMappingURL=TabGroupItem.js.map
|
|
@@ -5,7 +5,7 @@ import * as t from "@radix-ui/react-tabs";
|
|
|
5
5
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
6
|
import { tv as r } from "tailwind-variants";
|
|
7
7
|
import { tabStyleList as i } from "@bonprix-ds/internal-components";
|
|
8
|
-
|
|
8
|
+
// src/TabGroupList/TabGroupList.tsx
|
|
9
9
|
var a = (e, t = !1) => e === "tab-box" ? `repeat(${t ? "auto-fit" : "auto-fill"}, minmax(4.6875rem, 1fr))` : "", o = r({
|
|
10
10
|
base: ["[&:has(button_svg)_button:not(:has(svg))_p:first-child]:mt-7"],
|
|
11
11
|
variants: { variant: {
|
|
@@ -21,7 +21,6 @@ var a = (e, t = !1) => e === "tab-box" ? `repeat(${t ? "auto-fit" : "auto-fill"}
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
s.displayName = "TabGroup.List";
|
|
24
|
-
//#endregion
|
|
25
24
|
export { s as default };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=TabGroupList.js.map
|
package/dist/src/TabGroupRoot.js
CHANGED
|
@@ -4,7 +4,7 @@ import "react";
|
|
|
4
4
|
import * as t from "@radix-ui/react-tabs";
|
|
5
5
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
6
|
import { warnDeprecated as r } from "@bonprix-ds/utils/deprecation";
|
|
7
|
-
|
|
7
|
+
// src/TabGroupRoot.tsx
|
|
8
8
|
var i = ({ children: i, selected: a, activeTab: o, onChange: s, variant: c = "tab", fullWidth: l }) => {
|
|
9
9
|
o !== void 0 && r("tab-group-active-tab");
|
|
10
10
|
let u = a ?? o;
|
|
@@ -27,7 +27,6 @@ var i = ({ children: i, selected: a, activeTab: o, onChange: s, variant: c = "ta
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
i.displayName = "TabGroup";
|
|
30
|
-
//#endregion
|
|
31
30
|
export { i as default };
|
|
32
31
|
|
|
33
32
|
//# sourceMappingURL=TabGroupRoot.js.map
|
package/dist/src/useTabGroup.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonprix-ds/react-tab-group",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "TabGroup component, implemented in React, for the Bonprix Design System.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"provenance": true
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@
|
|
36
|
-
"@bonprix-ds/
|
|
37
|
-
"@
|
|
35
|
+
"@bonprix-ds/internal-components": "0.2.6",
|
|
36
|
+
"@bonprix-ds/utils": "0.6.0",
|
|
37
|
+
"@radix-ui/react-tabs": "1.2.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@bonprix-ds/vite-config": "0.0.0",
|
|
40
41
|
"@types/react": "19.3.0",
|
|
41
|
-
"vite": "8.3.
|
|
42
|
-
"@bonprix-ds/vite-config": "0.0.0"
|
|
42
|
+
"vite": "8.3.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^19",
|