@hybridcore/ui 1.5.29 → 1.5.30

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.
@@ -1,12 +1,20 @@
1
- import { styled as o, Box as t } from "@mui/material";
2
- const r = o(t, {
1
+ import { styled as t, Box as o } from "@mui/material";
2
+ const e = t(o, {
3
3
  name: "SNTabs",
4
4
  // The component name
5
5
  slot: "root"
6
6
  // The slot name
7
7
  })(() => ({
8
8
  width: "100%"
9
+ })), s = t(o, {
10
+ name: "SNTabs",
11
+ // The component name
12
+ slot: "tabContantContainer"
13
+ // The slot name
14
+ })(({ bottomoffset: a = 0 }) => ({
15
+ maxHeight: `calc(100vh - ${a}px)`
9
16
  }));
10
17
  export {
11
- r as TabsRoot
18
+ s as TabContentContainer,
19
+ e as TabsRoot
12
20
  };
package/dist/main.d.ts CHANGED
@@ -897,6 +897,7 @@ export declare interface TabsProps extends TabsProps_2 {
897
897
  tabContents: TabContent[];
898
898
  styleVariant?: "DEFAULT" | "APPLE";
899
899
  tabPanelStyle?: React.CSSProperties;
900
+ bottomOffset?: number;
900
901
  onChange?(value: any): void;
901
902
  }
902
903
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.5.29",
4
+ "version": "1.5.30",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -42,6 +42,7 @@
42
42
  "mapbox-gl": "^2.15.0",
43
43
  "ol": "^7.3.0",
44
44
  "react-confirm": "^0.3.0-2",
45
+ "react-custom-scroll": "^7.0.0",
45
46
  "react-drag-drop-files": "^2.4.0",
46
47
  "react-dropdown-tree-select": "^2.8.0",
47
48
  "react-hook-form": "^7.43.9",