@etsoo/smarterp-core 1.0.41 → 1.0.43

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.
@@ -14,7 +14,7 @@ export declare namespace DefaultUI {
14
14
  * @param isMobile Whether is mobile
15
15
  * @returns Result
16
16
  */
17
- function tabsProps(isMobile: boolean): Partial<TabBoxProps>;
17
+ function tabsProps(isMobile?: boolean): Partial<TabBoxProps>;
18
18
  /**
19
19
  * Widths of icon columns
20
20
  */
@@ -33,8 +33,7 @@ var DefaultUI;
33
33
  sx: { maxWidth: { xs: 320, sm: 480 } },
34
34
  variant: "scrollable",
35
35
  scrollButtons: "auto",
36
- allowScrollButtonsMobile: true,
37
- centered: true
36
+ allowScrollButtonsMobile: true
38
37
  }
39
38
  : {};
40
39
  return props;
@@ -14,7 +14,7 @@ export declare namespace DefaultUI {
14
14
  * @param isMobile Whether is mobile
15
15
  * @returns Result
16
16
  */
17
- function tabsProps(isMobile: boolean): Partial<TabBoxProps>;
17
+ function tabsProps(isMobile?: boolean): Partial<TabBoxProps>;
18
18
  /**
19
19
  * Widths of icon columns
20
20
  */
@@ -30,8 +30,7 @@ export var DefaultUI;
30
30
  sx: { maxWidth: { xs: 320, sm: 480 } },
31
31
  variant: "scrollable",
32
32
  scrollButtons: "auto",
33
- allowScrollButtonsMobile: true,
34
- centered: true
33
+ allowScrollButtonsMobile: true
35
34
  }
36
35
  : {};
37
36
  return props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -34,14 +34,13 @@ export namespace DefaultUI {
34
34
  * @param isMobile Whether is mobile
35
35
  * @returns Result
36
36
  */
37
- export function tabsProps(isMobile: boolean) {
37
+ export function tabsProps(isMobile?: boolean) {
38
38
  const props: Partial<TabBoxProps> = isMobile
39
39
  ? {
40
40
  sx: { maxWidth: { xs: 320, sm: 480 } },
41
41
  variant: "scrollable",
42
42
  scrollButtons: "auto",
43
- allowScrollButtonsMobile: true,
44
- centered: true
43
+ allowScrollButtonsMobile: true
45
44
  }
46
45
  : {};
47
46