dtable-ui-component 0.3.6-beta.1 → 0.3.6-beta.3

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,9 +1,9 @@
1
+ import _DatePicker from "antd-mobile/lib/date-picker";
1
2
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
3
4
  import _inherits from "@babel/runtime/helpers/esm/inherits";
4
5
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
6
  import React from 'react';
6
- import { DatePicker } from 'antd-mobile';
7
7
  import dayjs from 'dayjs';
8
8
  import Calendar from '@seafile/seafile-calendar';
9
9
  import * as SeaDatePicker from '@seafile/seafile-calendar/lib/Picker';
@@ -212,7 +212,7 @@ var DateEditorPopover = /*#__PURE__*/function (_React$PureComponent) {
212
212
  className: "mb-date-editor-input"
213
213
  }, /*#__PURE__*/React.createElement("div", {
214
214
  className: "date-input"
215
- }, /*#__PURE__*/React.createElement(DatePicker, {
215
+ }, /*#__PURE__*/React.createElement(_DatePicker, {
216
216
  mode: "date",
217
217
  locale: initDateEditorLanguage(lang),
218
218
  value: this.state.value,
@@ -221,7 +221,7 @@ var DateEditorPopover = /*#__PURE__*/function (_React$PureComponent) {
221
221
  className: "date-input-day"
222
222
  }, datePickerValue && datePickerValue.format(leftFormat)))), showHourAndMinute && /*#__PURE__*/React.createElement("div", {
223
223
  className: "date-input"
224
- }, /*#__PURE__*/React.createElement(DatePicker, {
224
+ }, /*#__PURE__*/React.createElement(_DatePicker, {
225
225
  mode: "time",
226
226
  locale: initDateEditorLanguage(lang),
227
227
  value: this.state.value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "0.3.6-beta.1",
3
+ "version": "0.3.6-beta.3",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/dtable-utils": "0.0.5",
@@ -15,7 +15,7 @@
15
15
  "glamor": "^2.20.40",
16
16
  "hast-util-sanitize": "^1.1.2",
17
17
  "hast-util-to-html": "3.1.0",
18
- "is-hotkey": "^0.1.6",
18
+ "is-hotkey": "0.2.0",
19
19
  "react": "16.14.0",
20
20
  "react-app-polyfill": "^1.0.6",
21
21
  "react-dom": "16.14.0",
@@ -98,6 +98,7 @@
98
98
  "babel-eslint": "10.0.3",
99
99
  "babel-jest": "^24.9.0",
100
100
  "babel-loader": "8.0.6",
101
+ "babel-plugin-import": "^1.13.6",
101
102
  "babel-plugin-named-asset-import": "^0.3.6",
102
103
  "babel-preset-react-app": "^9.1.1",
103
104
  "camelcase": "^5.3.1",