@ttoss/components 2.23.2 → 2.23.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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -1
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -3725,6 +3725,7 @@ Table.Footer = TableFooter;
3725
3725
 
3726
3726
  //#endregion
3727
3727
  //#region src/components/Tabs/Tabs.tsx
3728
+ var REACT_TABS_ONLY_PROPS = new Set(["defaultFocus", "defaultIndex", "direction", "disabledTabClassName", "disableUpDownKeys", "disableLeftRightKeys", "domRef", "environment", "focusTabOnClick", "forceRenderTabPanel", "onSelect", "selectedIndex", "selectedTabClassName", "selectedTabPanelClassName"]);
3728
3729
  var Tabs = props => {
3729
3730
  const {
3730
3731
  sx: customSx,
@@ -3789,7 +3790,9 @@ var Tabs = props => {
3789
3790
  ...customSx
3790
3791
  };
3791
3792
  },
3792
- ...restProps,
3793
+ ...Object.fromEntries(Object.entries(restProps).filter(([key]) => {
3794
+ return !REACT_TABS_ONLY_PROPS.has(key);
3795
+ })),
3793
3796
  children: /* @__PURE__ */jsx(Tabs$1, {
3794
3797
  ...restProps,
3795
3798
  children: props.children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "2.23.2",
3
+ "version": "2.23.4",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "keywords": [
6
6
  "React",
@@ -54,20 +54,20 @@
54
54
  "react": "^19.2.6",
55
55
  "tsdown": "^0.22.2",
56
56
  "tsx": "^4.21.0",
57
- "@ttoss/i18n-cli": "^0.13.0",
58
57
  "@ttoss/config": "^1.41.0",
59
- "@ttoss/react-i18n": "^2.7.0",
58
+ "@ttoss/i18n-cli": "^0.13.0",
59
+ "@ttoss/react-i18n": "^2.7.1",
60
60
  "@ttoss/react-hooks": "^2.5.0",
61
61
  "@ttoss/react-icons": "^0.11.1",
62
62
  "@ttoss/test-utils": "^4.4.0",
63
- "@ttoss/ui": "^6.11.0"
63
+ "@ttoss/ui": "^6.11.1"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": ">=16.8.0",
67
67
  "@ttoss/react-hooks": "^2.5.0",
68
- "@ttoss/react-i18n": "^2.7.0",
69
- "@ttoss/react-icons": "^0.11.1",
70
- "@ttoss/ui": "^6.11.0"
68
+ "@ttoss/react-i18n": "^2.7.1",
69
+ "@ttoss/ui": "^6.11.1",
70
+ "@ttoss/react-icons": "^0.11.1"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public",