@trionesdev/antd-taro-react 0.0.2-beta.25 → 0.0.2-beta.27

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.
@@ -20,7 +20,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
20
20
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
21
21
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
22
22
  import Popup from "../Popup";
23
- import { Button, DotLoading, SafeArea, SpinLoading } from "../index";
23
+ import { DotLoading, SafeArea, SpinLoading } from "../index";
24
24
  import { CheckOutline, SearchOutline } from "@trionesdev/antd-mobile-icons-react";
25
25
  import { ScrollView } from "@tarojs/components";
26
26
  import Input from "../Input";
@@ -299,12 +299,5 @@ export var FetchPicker = function FetchPicker(_ref) {
299
299
  }, /*#__PURE__*/React.createElement(CheckOutline, null)));
300
300
  }), !isEmpty(options) && loading && /*#__PURE__*/React.createElement("div", {
301
301
  className: "".concat(cls, "-loading-more")
302
- }, "\u52A0\u8F7D\u66F4\u591A", /*#__PURE__*/React.createElement(DotLoading, null))), fullScreen && multiple && /*#__PURE__*/React.createElement("div", {
303
- className: "".concat(cls, "-footer")
304
- }, /*#__PURE__*/React.createElement(Button, {
305
- type: 'primary',
306
- block: true,
307
- size: 'large',
308
- onClick: handleOnOk
309
- }, okText)))));
302
+ }, "\u52A0\u8F7D\u66F4\u591A", /*#__PURE__*/React.createElement(DotLoading, null))))));
310
303
  };
@@ -16,6 +16,7 @@ export type PickerProps = {
16
16
  onOk?: (value: any[]) => void;
17
17
  onCancel?: () => void;
18
18
  afterClose?: () => void;
19
+ zIndex?: number;
19
20
  styles?: {
20
21
  overlay?: React.CSSProperties;
21
22
  container?: React.CSSProperties;
@@ -26,6 +26,7 @@ export var Picker = /*#__PURE__*/React.memo(function (_ref) {
26
26
  onOk = _ref.onOk,
27
27
  onCancel = _ref.onCancel,
28
28
  afterClose = _ref.afterClose,
29
+ zIndex = _ref.zIndex,
29
30
  styles = _ref.styles;
30
31
  var _ConfigProvider$useCo = ConfigProvider.useConfig(),
31
32
  locale = _ConfigProvider$useCo.locale;
@@ -70,6 +71,7 @@ export var Picker = /*#__PURE__*/React.memo(function (_ref) {
70
71
  }, [columns]);
71
72
  return /*#__PURE__*/React.createElement(Popup, {
72
73
  open: open,
74
+ zIndex: zIndex,
73
75
  onClose: function onClose() {
74
76
  handelCancel();
75
77
  handleAfterClose();
package/package.json CHANGED
@@ -1,17 +1,9 @@
1
1
  {
2
2
  "name": "@trionesdev/antd-taro-react",
3
- "version": "0.0.2-beta.25",
3
+ "version": "0.0.2-beta.27",
4
4
  "description": "antd taro react",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "scripts": {
8
- "dev": "father dev",
9
- "build": "father build",
10
- "build:deps": "father prebundle",
11
- "prepublishOnly": "father doctor && npm run build",
12
- "publish": "npm publish --tag latest --registry=https://registry.npmjs.org/",
13
- "publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
14
- },
15
7
  "keywords": [],
16
8
  "authors": [
17
9
  "fengxiaotx@163.com"
@@ -44,24 +36,30 @@
44
36
  "@tarojs/plugin-platform-weapp": "4.2.0",
45
37
  "@tarojs/react": "4.2.0",
46
38
  "@tarojs/taro": "4.2.0",
47
- "@trionesdev/antd-mobile-base-react": "workspace:*",
48
- "@trionesdev/antd-mobile-icons-react": "workspace:*",
49
39
  "@types/crypto-js": "^4.2.2",
50
40
  "@types/lodash-es": "^4.17.12",
51
41
  "@types/node": "^18.19.123",
52
42
  "@types/react": "^18.0.0",
53
43
  "classnames": "^2.5.1",
54
44
  "father": "^4.6.19",
55
- "lodash-es": "^4.17.23"
45
+ "lodash-es": "^4.17.23",
46
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.27",
47
+ "@trionesdev/antd-mobile-base-react": "0.0.2-beta.27"
56
48
  },
57
49
  "dependencies": {
58
50
  "@tarojs/components": "4.2.0",
59
- "@trionesdev/antd-mobile-base-react": "0.0.2-beta.25",
60
- "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.25",
61
51
  "crypto-js": "^4.2.0",
62
52
  "dayjs": "^1.11.19",
63
53
  "rc-field-form": "^2.7.0",
64
- "react": "^18.0.0"
54
+ "react": "^18.0.0",
55
+ "@trionesdev/antd-mobile-base-react": "0.0.2-beta.27",
56
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.27"
65
57
  },
66
- "gitHead": "21c0b5deaf9878fe78a4dfe4b2427ca78ecc1a6d"
67
- }
58
+ "gitHead": "6826587141b29a1e9eda58f95d92210671cbd31c",
59
+ "scripts": {
60
+ "dev": "father dev",
61
+ "build": "father build",
62
+ "build:deps": "father prebundle",
63
+ "publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
64
+ }
65
+ }