@megha-ui/react 1.3.134 → 1.3.135

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.
@@ -40,9 +40,11 @@ export const Tab = ({ label, description, tabNumber }) => {
40
40
  }
41
41
  const { activeTab, setActiveTab, type, showTabNumber, showTabDescription } = context;
42
42
  const isActive = activeTab === label;
43
- return (_jsx("button", { onClick: () => setActiveTab(label), style: Object.assign({ padding: "0.65rem 0", cursor: "pointer", border: "none", textAlign: "left", width: type === "vertical" ? "100%" : "max-content", marginBottom: "0.25rem", borderRadius: "0.25rem", display: "flex", alignItems: "flex-start" }, (!showTabNumber && isActive
43
+ return (_jsx("button", { onClick: () => setActiveTab(label), style: Object.assign({ padding: "0.65rem 0", cursor: "pointer", border: "none", textAlign: "left", width: type === "vertical" ? "100%" : "max-content", marginBottom: "0.25rem", display: "flex", alignItems: "flex-start" }, (!showTabNumber && isActive
44
44
  ? { borderBottom: "3px solid var(--brand)" }
45
- : {})), children: _jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [showTabNumber && (_jsx("span", { style: {
45
+ : {
46
+ borderRadius: "0.25rem",
47
+ })), children: _jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [showTabNumber && (_jsx("span", { style: {
46
48
  fontWeight: 700,
47
49
  fontSize: "1rem",
48
50
  marginRight: "0.5rem",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.3.134",
3
+ "version": "1.3.135",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",