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

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
  };
@@ -165,6 +165,12 @@ wx-input {
165
165
  border-bottom: 1Px solid variable.$trionesBorderColor;
166
166
  padding-block: variable.$trionesInputPaddingBlock;
167
167
  }
168
+
169
+ &-borderless{
170
+ border-radius: variable.$trionesBorderRadius;
171
+ padding-block: variable.$trionesInputPaddingBlock;
172
+ padding-inline: variable.$trionesInputPaddingBlock;
173
+ }
168
174
  }
169
175
 
170
176
  .#{$inputGroupWrapperCls} {}
@@ -1,11 +1,11 @@
1
1
  import React, { FC, PropsWithChildren } from 'react';
2
- import { variantType } from "./types";
2
+ import { VariantType } from "./types";
3
3
  export type InputAffixWrapperProps = {
4
4
  style?: React.CSSProperties;
5
5
  className?: string;
6
6
  prefix?: React.ReactNode;
7
7
  suffix?: React.ReactNode;
8
- variant?: variantType;
8
+ variant?: VariantType;
9
9
  allowClear?: boolean;
10
10
  value?: any;
11
11
  onClear?: () => void;
@@ -1,9 +1,9 @@
1
1
  import React, { FC } from 'react';
2
- import { variantType } from './types';
2
+ import { VariantType } from './types';
3
3
  export type InputTextareaProps = {
4
4
  className?: string;
5
5
  style?: React.CSSProperties;
6
- variant?: variantType;
6
+ variant?: VariantType;
7
7
  placeholder?: string;
8
8
  disabled?: boolean;
9
9
  allowClear?: boolean;
@@ -12,9 +12,9 @@ export type InputProps = {
12
12
  allowClear?: boolean;
13
13
  prefix?: React.ReactNode;
14
14
  suffix?: React.ReactNode;
15
- variant?: variantType;
15
+ variant?: VariantType;
16
16
  defaultValue?: any;
17
17
  value?: any;
18
18
  onChange?: (e: any) => void;
19
19
  };
20
- export type variantType = 'outlined' | 'borderless' | 'filled' | 'underlined' | undefined;
20
+ export type VariantType = 'outlined' | 'borderless' | 'filled' | 'underlined' | undefined;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@trionesdev/antd-taro-react",
3
- "version": "0.0.2-beta.25",
3
+ "version": "0.0.2-beta.28",
4
4
  "description": "antd taro react",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "@tarojs/react": "4.2.0",
46
46
  "@tarojs/taro": "4.2.0",
47
47
  "@trionesdev/antd-mobile-base-react": "workspace:*",
48
- "@trionesdev/antd-mobile-icons-react": "workspace:*",
48
+ "@trionesdev/antd-mobile-icons-react": "0.0.2-beta.28",
49
49
  "@types/crypto-js": "^4.2.2",
50
50
  "@types/lodash-es": "^4.17.12",
51
51
  "@types/node": "^18.19.123",
@@ -56,12 +56,11 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@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",
59
+ "@trionesdev/antd-mobile-base-react": "0.0.2-beta.28",
61
60
  "crypto-js": "^4.2.0",
62
61
  "dayjs": "^1.11.19",
63
62
  "rc-field-form": "^2.7.0",
64
63
  "react": "^18.0.0"
65
64
  },
66
- "gitHead": "21c0b5deaf9878fe78a4dfe4b2427ca78ecc1a6d"
65
+ "gitHead": "f91f9c94e8f56bab1a3ce61712cc8787e0125a9f"
67
66
  }