@etsoo/materialui 1.3.48 → 1.3.50

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 ETSOO
3
+ Copyright (c) 2004-2024 ETSOO® (亿速思维 ®), https://www.etsoo.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -10,8 +10,8 @@ export function PullToRefreshUI(props) {
10
10
  React.useEffect(() => {
11
11
  let pr;
12
12
  import("pulltorefreshjs").then((PullToRefresh) => {
13
- PullToRefresh.init(props);
14
- pr = PullToRefresh;
13
+ pr = PullToRefresh.default;
14
+ pr.init(props);
15
15
  });
16
16
  return () => {
17
17
  if (pr)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.3.48",
3
+ "version": "1.3.50",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,9 +50,9 @@
50
50
  "@emotion/css": "^11.11.2",
51
51
  "@emotion/react": "^11.11.4",
52
52
  "@emotion/styled": "^11.11.0",
53
- "@etsoo/appscript": "^1.4.82",
53
+ "@etsoo/appscript": "^1.4.83",
54
54
  "@etsoo/notificationbase": "^1.1.41",
55
- "@etsoo/react": "^1.7.32",
55
+ "@etsoo/react": "^1.7.33",
56
56
  "@etsoo/shared": "^1.2.34",
57
57
  "@mui/icons-material": "^5.15.11",
58
58
  "@mui/material": "^5.15.11",
@@ -82,7 +82,7 @@
82
82
  "@types/jest": "^29.5.12",
83
83
  "@types/pica": "^9.0.4",
84
84
  "@types/pulltorefreshjs": "^0.1.7",
85
- "@types/react": "^18.2.62",
85
+ "@types/react": "^18.2.63",
86
86
  "@types/react-avatar-editor": "^13.0.2",
87
87
  "@types/react-dom": "^18.2.19",
88
88
  "@types/react-input-mask": "^3.0.5",
@@ -15,8 +15,8 @@ export function PullToRefreshUI(props: Options) {
15
15
  React.useEffect(() => {
16
16
  let pr: p | null;
17
17
  import("pulltorefreshjs").then((PullToRefresh) => {
18
- PullToRefresh.init(props);
19
- pr = PullToRefresh;
18
+ pr = PullToRefresh.default;
19
+ pr.init(props);
20
20
  });
21
21
 
22
22
  return () => {