@symply.io/basic-components 1.2.10 → 1.2.11

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/TabGroup/index.js CHANGED
@@ -13,7 +13,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { useState, useEffect, forwardRef, useImperativeHandle } from "react";
14
14
  import Tab from "@mui/material/Tab";
15
15
  import Tabs from "@mui/material/Tabs";
16
- import Typography from "@mui/material/Typography";
17
16
  import useMediaQuery from "@mui/material/useMediaQuery";
18
17
  import ThemeProvider from "@mui/material/styles/ThemeProvider";
19
18
  import useCustomTheme from "../useCustomTheme";
@@ -39,7 +38,7 @@ var TabGroup = forwardRef(function (props, ref) {
39
38
  } }, { children: tabs.map(function (tab, index) {
40
39
  var text = tab.text, _a = tab.disabled, disabled = _a === void 0 ? false : _a;
41
40
  var active = currentTabIndex === index;
42
- return (_jsx(Tab, { disableFocusRipple: true, disableRipple: true, label: _jsx(Typography, __assign({ sx: { fontSize: 16, fontWeight: 500 } }, { children: text })), disabled: disabled, sx: {
41
+ return (_jsx(Tab, { disableFocusRipple: true, disableRipple: true, label: text, disabled: disabled, sx: {
43
42
  cursor: disabled ? "not-allowed" : "pointer",
44
43
  margin: theme.spacing(0.75, 0.25),
45
44
  background: active ? "#fff" : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",