@pisell/materials 1.0.388 → 1.0.390

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.
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
35
35
  var import_icons = require("@ant-design/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var MyIcon = (0, import_icons.createFromIconfontCN)({
38
- scriptUrl: "https://at.alicdn.com/t/c/font_4075221_cy8sszjz7t7.js"
38
+ scriptUrl: "https://unpkg.com/@pisell/materials@3.0.37/iconfont/iconfont.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {
@@ -94,20 +94,12 @@ var Edit = (props, ref) => {
94
94
  value: [(0, import_dayjs.default)().add(-90, "d").startOf("day"), (0, import_dayjs.default)().endOf("day")]
95
95
  }
96
96
  ];
97
- const _showTime = (0, import_react.useMemo)(() => {
98
- if ((0, import_utils.isBoolean)(showTime)) {
99
- return showTime;
100
- } else if (typeof showTime === "object") {
101
- return showTime;
102
- }
103
- return true;
104
- }, [showTime]);
105
97
  return /* @__PURE__ */ import_react.default.createElement(
106
98
  RangePicker,
107
99
  {
108
100
  ...others,
109
101
  format,
110
- showTime: _showTime,
102
+ showTime,
111
103
  presets: presets || rangePresets,
112
104
  ref,
113
105
  value: dayjsVal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.388",
3
+ "version": "1.0.390",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -43,7 +43,8 @@
43
43
  "build",
44
44
  "lowcode",
45
45
  "dist",
46
- "antd"
46
+ "antd",
47
+ "iconfont"
47
48
  ],
48
49
  "dependencies": {
49
50
  "antd": "^5.6.3",
@@ -64,8 +65,8 @@
64
65
  "crypto-js": "^4.2.0",
65
66
  "@zxing/library": "0.21.2",
66
67
  "@pisell/utils": "1.0.33",
67
- "@pisell/icon": "0.0.10",
68
- "@pisell/date-picker": "1.0.99"
68
+ "@pisell/date-picker": "1.0.100",
69
+ "@pisell/icon": "0.0.10"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "react": "^18.0.0",