@pisell/date-picker 3.0.5 → 3.0.7

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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Toolbar: (props: any) => JSX.Element | null;
3
4
  export default Toolbar;
@@ -2,7 +2,7 @@ import { PresetType } from "../Shortcuts";
2
2
  import { Dayjs } from "dayjs";
3
3
  export declare const getCurrentLocale: () => string;
4
4
  export declare const isBrowser: boolean;
5
- export declare const isMobile: () => boolean;
5
+ export declare const isMobile: () => any;
6
6
  /**
7
7
  * 格式化预设
8
8
  * @param presets
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Toolbar: (props: any) => JSX.Element | null;
3
4
  export default Toolbar;
@@ -2,7 +2,7 @@ import { PresetType } from "../Shortcuts";
2
2
  import { Dayjs } from "dayjs";
3
3
  export declare const getCurrentLocale: () => string;
4
4
  export declare const isBrowser: boolean;
5
- export declare const isMobile: () => boolean;
5
+ export declare const isMobile: () => any;
6
6
  /**
7
7
  * 格式化预设
8
8
  * @param presets
package/package.json CHANGED
@@ -1,10 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/date-picker",
3
- "version": "3.0.5",
4
- "scripts": {
5
- "build": "father build",
6
- "dev": "father dev"
7
- },
3
+ "version": "3.0.7",
8
4
  "sideEffects": [
9
5
  "*.less"
10
6
  ],
@@ -17,7 +13,6 @@
17
13
  "dayjs": "^1.11.9"
18
14
  },
19
15
  "dependencies": {
20
- "@pisell/utils": "workspace:*",
21
16
  "@mui/x-date-pickers": "6.10.1",
22
17
  "@emotion/react": "^11.11.1",
23
18
  "@emotion/styled": "^11.11.0",
@@ -30,7 +25,8 @@
30
25
  "@mui/system": "^5.14.1",
31
26
  "antd": "^5.5.0",
32
27
  "react": "^18.0.0",
33
- "react-dom": "^18.0.0"
28
+ "react-dom": "^18.0.0",
29
+ "@pisell/utils": "3.0.2"
34
30
  },
35
31
  "files": [
36
32
  "es",
@@ -40,5 +36,9 @@
40
36
  ],
41
37
  "publishConfig": {
42
38
  "access": "public"
39
+ },
40
+ "scripts": {
41
+ "build": "father build",
42
+ "dev": "father dev"
43
43
  }
44
44
  }