@hybridcore/ui 1.5.28 → 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.
- package/dist/components/tabs/index.js +2118 -51
- package/dist/components/tabs/styled.js +11 -3
- package/dist/main.d.ts +2 -0
- package/package.json +2 -1
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
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
|
-
|
|
18
|
+
s as TabContentContainer,
|
|
19
|
+
e as TabsRoot
|
|
12
20
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -892,10 +892,12 @@ declare interface TabItem {
|
|
|
892
892
|
export declare const Tabs: FC<TabsProps>;
|
|
893
893
|
|
|
894
894
|
export declare interface TabsProps extends TabsProps_2 {
|
|
895
|
+
id?: string;
|
|
895
896
|
defaultActive?: number;
|
|
896
897
|
tabContents: TabContent[];
|
|
897
898
|
styleVariant?: "DEFAULT" | "APPLE";
|
|
898
899
|
tabPanelStyle?: React.CSSProperties;
|
|
900
|
+
bottomOffset?: number;
|
|
899
901
|
onChange?(value: any): void;
|
|
900
902
|
}
|
|
901
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.
|
|
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",
|