@etsoo/smarterp-core 1.0.41 → 1.0.42

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
  */
@@ -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
  */
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.42",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -34,7 +34,7 @@ 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 } },