@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 CHANGED
@@ -1,2 +1 @@
1
- import e from "./src/TabGroup.js";
2
- export { e as default };
1
+ export { default } from "./src/TabGroup.js";
@@ -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
- //#region src/TabGroup.tsx
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
- //#region src/TabGroupContent/TabGroupContent.tsx
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,7 +1,6 @@
1
1
  import e from "./TabGroupContent.js";
2
- //#region src/TabGroupContent/index.ts
2
+ // src/TabGroupContent/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
6
5
 
7
6
  //# sourceMappingURL=index.js.map
@@ -1,11 +1,10 @@
1
1
  "use client";
2
2
  import { createContext as e } from "react";
3
- //#region src/TabGroupContext.ts
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
- //#region src/TabGroupItem/TabGroupItem.tsx
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
- //#region src/TabGroupList/TabGroupList.tsx
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
@@ -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
- //#region src/TabGroupRoot.tsx
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
@@ -1,8 +1,7 @@
1
1
  import e from "./TabGroupContext.js";
2
2
  import { useContext as t } from "react";
3
- //#region src/useTabGroup.ts
3
+ // src/useTabGroup.ts
4
4
  var n = () => t(e);
5
- //#endregion
6
5
  export { n as default };
7
6
 
8
7
  //# sourceMappingURL=useTabGroup.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-tab-group",
3
- "version": "1.1.3",
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
- "@radix-ui/react-tabs": "1.1.21",
36
- "@bonprix-ds/internal-components": "0.2.5",
37
- "@bonprix-ds/utils": "0.5.0"
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.3",
42
- "@bonprix-ds/vite-config": "0.0.0"
42
+ "vite": "8.3.5"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^19",