@ttoss/components 2.2.0 → 2.2.1

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.
@@ -5,6 +5,10 @@ import { Box } from "@ttoss/ui";
5
5
  import { Tab, TabList, TabPanel, Tabs as ReactTabs } from "react-tabs";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  var Tabs = props => {
8
+ const {
9
+ sx: customSx,
10
+ ...restProps
11
+ } = props;
8
12
  return /* @__PURE__ */jsx(Box, {
9
13
  sx: ({
10
14
  colors
@@ -54,10 +58,11 @@ var Tabs = props => {
54
58
  },
55
59
  ".react-tabs__tab-panel--selected": {
56
60
  display: "block"
57
- }
61
+ },
62
+ ...customSx
58
63
  };
59
64
  },
60
- ...props,
65
+ ...restProps,
61
66
  children: /* @__PURE__ */jsx(ReactTabs, {
62
67
  ...props,
63
68
  children: props.children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -103,11 +103,11 @@
103
103
  "react": "^19.0.0",
104
104
  "tsup": "^8.3.5",
105
105
  "tsx": "^4.19.2",
106
- "@ttoss/config": "^1.35.2",
106
+ "@ttoss/react-hooks": "^2.0.10",
107
107
  "@ttoss/react-icons": "^0.4.9",
108
+ "@ttoss/config": "^1.35.2",
108
109
  "@ttoss/test-utils": "^2.1.22",
109
- "@ttoss/ui": "^5.4.0",
110
- "@ttoss/react-hooks": "^2.0.10"
110
+ "@ttoss/ui": "^5.4.0"
111
111
  },
112
112
  "keywords": [
113
113
  "React",