@nutui/nutui-react-taro 1.4.3 → 1.4.4-beta.0
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/CHANGELOG.md +10 -0
- package/README.md +34 -0
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/Input.js +2 -2
- package/dist/esm/{griditem.taro-d3864d8f.js → griditem.taro-892153cd.js} +13 -3
- package/dist/esm/{input.taro-8b3f8381.js → input.taro-104130c1.js} +6 -10
- package/dist/esm/nutui-react.es.js +52 -52
- package/dist/esm/types/src/packages/griditem/griditem.d.ts +2 -0
- package/dist/esm/types/src/packages/griditem/griditem.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +48 -48
- package/dist/esm/types/src/packages/nutui.react.d.ts +95 -95
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +47 -47
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +95 -95
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +47 -47
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +48 -48
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +20898 -20894
- package/dist/nutui.react.umd.js +20897 -20893
- package/dist/packages/button/button.scss +3 -0
- package/dist/packages/input/input.scss +6 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/types/index.d.ts +960 -958
- package/dist/types/nutui.taro.react.build.ts +95 -95
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# v1.4.4
|
|
2
|
+
`2023-01-17`
|
|
3
|
+
|
|
4
|
+
* :sparkles: feat: GridItem 支持自定义图标颜色、大小 (#588) @cuicuiworld
|
|
5
|
+
* :bug: fix: 修复 inputnumber 无法清空输入框 (#587) @junjun666
|
|
6
|
+
* :bug: fix: 修复input组件onChange事件循环问题;修复错误提示样式问题; (#593) @vickyYe
|
|
7
|
+
* :bug: fix: 修复 button 组件在 taro 中被破坏的边框 (#589) @oasis-cloud
|
|
8
|
+
* 📖 docs: watermark 文档更新 (#590) @oasis-cloud
|
|
9
|
+
* 🔨 chore: 添加组件时,增加排序功能;已有组件已完成排序 (#586) @xiaoyatong
|
|
10
|
+
|
|
1
11
|
# v1.4.3
|
|
2
12
|
`2023-01-11`
|
|
3
13
|
|
package/README.md
CHANGED
|
@@ -53,6 +53,40 @@
|
|
|
53
53
|
* 📖 Provide Sketch Design Resources
|
|
54
54
|
|
|
55
55
|
|
|
56
|
+
|
|
57
|
+
## Local Run
|
|
58
|
+
|
|
59
|
+
### local H5
|
|
60
|
+
```
|
|
61
|
+
git clone https://github.com/jdf2e/nutui-react.git
|
|
62
|
+
|
|
63
|
+
cd nutui-react
|
|
64
|
+
|
|
65
|
+
npm install
|
|
66
|
+
|
|
67
|
+
npm run dev
|
|
68
|
+
|
|
69
|
+
url:http://localhost:3000
|
|
70
|
+
```
|
|
71
|
+
### local mp
|
|
72
|
+
```
|
|
73
|
+
git clone https://github.com/jdf2e/nutui-react.git
|
|
74
|
+
|
|
75
|
+
cd nutui-react
|
|
76
|
+
|
|
77
|
+
npm install
|
|
78
|
+
|
|
79
|
+
npm run dev:taro:weapp
|
|
80
|
+
|
|
81
|
+
dir:src/sites/mobile-taro/dist/weapp
|
|
82
|
+
|
|
83
|
+
OR jd
|
|
84
|
+
|
|
85
|
+
npm run dev:taro:jd
|
|
86
|
+
|
|
87
|
+
dir:src/sites/mobile-taro/dist/jd
|
|
88
|
+
```
|
|
89
|
+
|
|
56
90
|
## Build Versions
|
|
57
91
|
|
|
58
92
|
> If you are using AMD environment or build tools such as Webpack, Vite, etc., we recommend using the `es` version. If it is a non-module environment (such as direct reference through the `<script>` tag), it is recommended to use the `umd` compressed version.
|
package/dist/esm/GridItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GridItem } from './griditem.taro-
|
|
2
|
-
export { G as default } from './griditem.taro-
|
|
1
|
+
import { G as GridItem } from './griditem.taro-892153cd.js';
|
|
2
|
+
export { G as default } from './griditem.taro-892153cd.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './configprovider.taro-8bdb3a28.js';
|
|
5
5
|
import 'lodash';
|
package/dist/esm/Input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as Input } from './input.taro-
|
|
2
|
-
export { I as default } from './input.taro-
|
|
1
|
+
import { I as Input } from './input.taro-104130c1.js';
|
|
2
|
+
export { I as default } from './input.taro-104130c1.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './icon.taro-1d0d4fb7.js';
|
|
5
5
|
import './bem-893ad28d.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
var _excluded = ["children", "columnNum", "index", "gutter", "square", "text", "icon", "iconColor", "iconSize", "parentIconSize", "parentIconColor", "border", "center", "reverse", "direction", "iconClassPrefix", "iconFontClassName", "onClick"];
|
|
3
|
+
var _excluded = ["children", "columnNum", "index", "gutter", "square", "text", "fontSize", "color", "icon", "iconColor", "iconSize", "parentIconSize", "parentIconColor", "border", "center", "reverse", "direction", "iconClassPrefix", "iconFontClassName", "onClick"];
|
|
4
4
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
import React__default, { useContext } from 'react';
|
|
@@ -11,6 +11,8 @@ import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
|
11
11
|
import { G as GridContext } from './grid.taro.context-39636af9.js';
|
|
12
12
|
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
13
13
|
text: '',
|
|
14
|
+
fontSize: '',
|
|
15
|
+
color: '',
|
|
14
16
|
icon: '',
|
|
15
17
|
iconSize: '',
|
|
16
18
|
iconColor: '',
|
|
@@ -33,6 +35,8 @@ var GridItem = function GridItem(props) {
|
|
|
33
35
|
gutter = _defaultProps$props.gutter,
|
|
34
36
|
square = _defaultProps$props.square,
|
|
35
37
|
text = _defaultProps$props.text,
|
|
38
|
+
fontSize = _defaultProps$props.fontSize,
|
|
39
|
+
color = _defaultProps$props.color,
|
|
36
40
|
icon = _defaultProps$props.icon,
|
|
37
41
|
iconColor = _defaultProps$props.iconColor,
|
|
38
42
|
iconSize = _defaultProps$props.iconSize,
|
|
@@ -87,7 +91,9 @@ var GridItem = function GridItem(props) {
|
|
|
87
91
|
center: center,
|
|
88
92
|
square: square,
|
|
89
93
|
reverse: reverse,
|
|
90
|
-
direction: direction
|
|
94
|
+
direction: direction,
|
|
95
|
+
fontSize: fontSize,
|
|
96
|
+
color: color
|
|
91
97
|
}, index);
|
|
92
98
|
};
|
|
93
99
|
return React__default.createElement("div", _objectSpread(_objectSpread({
|
|
@@ -104,7 +110,11 @@ var GridItem = function GridItem(props) {
|
|
|
104
110
|
size: iconSize || parentIconSize,
|
|
105
111
|
color: iconColor || parentIconColor
|
|
106
112
|
}) : React__default.createElement(React__default.Fragment, null, icon), text && React__default.createElement("div", {
|
|
107
|
-
className: "nut-grid-item__text"
|
|
113
|
+
className: "nut-grid-item__text",
|
|
114
|
+
style: {
|
|
115
|
+
fontSize: fontSize,
|
|
116
|
+
color: color
|
|
117
|
+
}
|
|
108
118
|
}, text), children && React__default.createElement(React__default.Fragment, null, children)));
|
|
109
119
|
};
|
|
110
120
|
GridItem.defaultProps = defaultProps;
|
|
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
var _excluded = ["children", "type", "name", "defaultValue", "placeholder", "label", "labelClass", "labelWidth", "labelAlign", "colon", "inputAlign", "center", "required", "disabled", "readonly", "error", "maxlength", "leftIcon", "leftIconSize", "rightIcon", "rightIconSize", "clearable", "clearIcon", "clearSize", "border", "formatTrigger", "rules", "errorMessage", "errorMessageAlign", "showWordLimit", "autofocus", "style", "className", "rows", "slotButton", "slotInput", "onChange", "onBlur", "onFocus", "onClear", "formatter", "keypress", "onClickInput", "onClickLeftIcon", "onClickRightIcon", "onClick", "iconClassPrefix", "iconFontClassName"];
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
|
-
import React__default, { forwardRef, useState, useRef,
|
|
7
|
+
import React__default, { forwardRef, useState, useRef, useEffect, useImperativeHandle, useCallback } from 'react';
|
|
8
8
|
import { I as Icon } from './icon.taro-1d0d4fb7.js';
|
|
9
9
|
import { u as useConfig } from './configprovider.taro-8bdb3a28.js';
|
|
10
10
|
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
@@ -139,11 +139,6 @@ var Input = forwardRef(function (props, ref) {
|
|
|
139
139
|
return String(inputValue !== null && inputValue !== void 0 ? inputValue : '');
|
|
140
140
|
};
|
|
141
141
|
var inputRef = useRef(null);
|
|
142
|
-
useLayoutEffect(function () {
|
|
143
|
-
if (defaultValue) {
|
|
144
|
-
updateValue(getModelValue(), formatTrigger);
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
142
|
useEffect(function () {
|
|
148
143
|
setClasses(inputClass);
|
|
149
144
|
SetInputValue(defaultValue);
|
|
@@ -168,7 +163,6 @@ var Input = forwardRef(function (props, ref) {
|
|
|
168
163
|
var updateValue = function updateValue(value) {
|
|
169
164
|
var _inputRef$current;
|
|
170
165
|
var trigger = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'onChange';
|
|
171
|
-
var event = arguments.length > 2 ? arguments[2] : undefined;
|
|
172
166
|
var val = value;
|
|
173
167
|
if (type === 'digit' || type === 'tel') {
|
|
174
168
|
val = formatNumber(val, false, false);
|
|
@@ -188,7 +182,6 @@ var Input = forwardRef(function (props, ref) {
|
|
|
188
182
|
inputRef.current.value = val;
|
|
189
183
|
}
|
|
190
184
|
SetInputValue(val);
|
|
191
|
-
onChange && onChange(val, event);
|
|
192
185
|
};
|
|
193
186
|
var handleFocus = function handleFocus(event) {
|
|
194
187
|
var val = event.target.value;
|
|
@@ -200,7 +193,8 @@ var Input = forwardRef(function (props, ref) {
|
|
|
200
193
|
if (maxlength && val.length > Number(maxlength)) {
|
|
201
194
|
val = val.slice(0, Number(maxlength));
|
|
202
195
|
}
|
|
203
|
-
updateValue(val, 'onChange'
|
|
196
|
+
updateValue(val, 'onChange');
|
|
197
|
+
onChange && onChange(val, event);
|
|
204
198
|
};
|
|
205
199
|
var handleBlur = function handleBlur(event) {
|
|
206
200
|
setTimeout(function () {
|
|
@@ -277,6 +271,8 @@ var Input = forwardRef(function (props, ref) {
|
|
|
277
271
|
className: "label-string"
|
|
278
272
|
}, label, colon ? ':' : '')) : null, React__default.createElement("div", {
|
|
279
273
|
className: "nut-input-value"
|
|
274
|
+
}, React__default.createElement("div", {
|
|
275
|
+
className: "nut-input-main-con"
|
|
280
276
|
}, React__default.createElement("div", {
|
|
281
277
|
className: "nut-input-inner",
|
|
282
278
|
onClick: function onClick(e) {
|
|
@@ -353,7 +349,7 @@ var Input = forwardRef(function (props, ref) {
|
|
|
353
349
|
className: "nut-input-word-limit"
|
|
354
350
|
}, React__default.createElement("span", {
|
|
355
351
|
className: "nut-input-word-num"
|
|
356
|
-
}, inputValue ? inputValue.length : 0), "/", maxlength) : null, errorMessage ? React__default.createElement("div", {
|
|
352
|
+
}, inputValue ? inputValue.length : 0), "/", maxlength) : null), errorMessage ? React__default.createElement("div", {
|
|
357
353
|
className: "nut-input-error-message",
|
|
358
354
|
style: {
|
|
359
355
|
textAlign: errorMessageAlign
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
export { B as Button } from './button.taro-4ce133b9.js';
|
|
2
2
|
export { C as Cell } from './cell.taro-cf50c4f2.js';
|
|
3
3
|
export { C as CellGroup } from './cellgroup.taro-e094471c.js';
|
|
4
|
+
export { C as ConfigProvider } from './configprovider.taro-8bdb3a28.js';
|
|
4
5
|
export { I as Icon } from './icon.taro-1d0d4fb7.js';
|
|
6
|
+
export { I as Image } from './image.taro-c30973d5.js';
|
|
5
7
|
export { O as Overlay } from './overlay.taro-98367bc1.js';
|
|
6
8
|
export { P as Popup } from './popup.taro-cb777e09.js';
|
|
7
|
-
export { C as ConfigProvider } from './configprovider.taro-8bdb3a28.js';
|
|
8
|
-
export { I as Image } from './image.taro-c30973d5.js';
|
|
9
|
-
export { L as Layout } from './layout.taro-358f014f.js';
|
|
10
9
|
export { C as Col } from './col.taro-b61c7cba.js';
|
|
11
|
-
export { R as Row } from './row.taro-37a895de.js';
|
|
12
10
|
export { D as Divider } from './divider.taro-5236fe6a.js';
|
|
13
11
|
export { G as Grid } from './grid.taro-c2cc12d6.js';
|
|
14
|
-
export { G as GridItem } from './griditem.taro-
|
|
12
|
+
export { G as GridItem } from './griditem.taro-892153cd.js';
|
|
13
|
+
export { L as Layout } from './layout.taro-358f014f.js';
|
|
14
|
+
export { R as Row } from './row.taro-37a895de.js';
|
|
15
15
|
export { S as Sticky } from './sticky.taro-36013e97.js';
|
|
16
|
-
export { N as NavBar } from './navbar.taro-c931c078.js';
|
|
17
|
-
export { F as FixedNav } from './fixednav.taro-9e759320.js';
|
|
18
|
-
export { T as Tabbar } from './tabbar.taro-86cece39.js';
|
|
19
|
-
export { T as TabbarItem } from './tabbaritem.taro-8dfb8055.js';
|
|
20
16
|
export { E as Elevator } from './elevator.taro-d7d65470.js';
|
|
21
|
-
export {
|
|
22
|
-
export { T as Tabs } from './tabs.taro-e71875fa.js';
|
|
23
|
-
export { T as TabPane } from './tabpane.taro-91cd6cf4.js';
|
|
17
|
+
export { F as FixedNav } from './fixednav.taro-9e759320.js';
|
|
24
18
|
export { I as Indicator } from './indicator.taro-183ea169.js';
|
|
25
|
-
export { S as SideNavBar } from './sidenavbar.taro-06026f31.js';
|
|
26
|
-
export { S as SubSideNavBar } from './subsidenavbar.taro-f46b4c73.js';
|
|
27
|
-
export { S as SideNavBarItem } from './sidenavbaritem.taro-fee11d26.js';
|
|
28
19
|
export { M as Menu } from './menu.taro-4abed328.js';
|
|
29
20
|
export { M as MenuItem } from './menuitem.taro-216e9f7d.js';
|
|
30
|
-
export {
|
|
21
|
+
export { N as NavBar } from './navbar.taro-c931c078.js';
|
|
22
|
+
export { P as Pagination } from './pagination.taro-9925ffab.js';
|
|
23
|
+
export { S as SideNavBar } from './sidenavbar.taro-06026f31.js';
|
|
24
|
+
export { S as SideNavBarItem } from './sidenavbaritem.taro-fee11d26.js';
|
|
25
|
+
export { S as SubSideNavBar } from './subsidenavbar.taro-f46b4c73.js';
|
|
26
|
+
export { T as Tabbar } from './tabbar.taro-86cece39.js';
|
|
27
|
+
export { T as TabbarItem } from './tabbaritem.taro-8dfb8055.js';
|
|
28
|
+
export { T as TabPane } from './tabpane.taro-91cd6cf4.js';
|
|
29
|
+
export { T as Tabs } from './tabs.taro-e71875fa.js';
|
|
31
30
|
export { C as Calendar } from './calendar.taro-72974415.js';
|
|
31
|
+
export { C as CalendarItem } from './calendaritem.taro-84e889eb.js';
|
|
32
|
+
export { C as Cascader } from './cascader.taro-d8cb1c3e.js';
|
|
32
33
|
export { C as Checkbox, a as CheckboxGroup } from './checkbox.taro-0bda9796.js';
|
|
33
34
|
export { D as DatePicker } from './datepicker.taro-7199f521.js';
|
|
35
|
+
export { F as Form } from './form.taro-880014b1.js';
|
|
36
|
+
export { F as FormItem } from './formitem.taro-3695f4a7.js';
|
|
37
|
+
export { I as Input } from './input.taro-104130c1.js';
|
|
34
38
|
export { I as InputNumber } from './inputnumber.taro-dc39b853.js';
|
|
35
|
-
export {
|
|
39
|
+
export { N as NumberKeyboard } from './numberkeyboard.taro-5e8f0ddf.js';
|
|
40
|
+
export { P as Picker } from './picker.taro-3b5cc054.js';
|
|
36
41
|
export { R as Radio, a as RadioGroup } from './index.taro-a36f96fb.js';
|
|
42
|
+
export { R as Range } from './range.taro-c41e9b90.js';
|
|
37
43
|
export { R as Rate } from './rate.taro-10197384.js';
|
|
38
|
-
export {
|
|
39
|
-
export { P as Picker } from './picker.taro-3b5cc054.js';
|
|
44
|
+
export { S as SearchBar } from './searchbar.taro-01ed4ea4.js';
|
|
40
45
|
export { S as ShortPassword } from './shortpassword.taro-3a3bf412.js';
|
|
41
46
|
export { T as TextArea } from './textarea.taro-83d5fe73.js';
|
|
42
47
|
export { U as Uploader } from './uploader.taro-a1edf38f.js';
|
|
43
|
-
export { C as Cascader } from './cascader.taro-d8cb1c3e.js';
|
|
44
|
-
export { S as SearchBar } from './searchbar.taro-01ed4ea4.js';
|
|
45
|
-
export { N as NumberKeyboard } from './numberkeyboard.taro-5e8f0ddf.js';
|
|
46
|
-
export { F as Form } from './form.taro-880014b1.js';
|
|
47
|
-
export { F as FormItem } from './formitem.taro-3695f4a7.js';
|
|
48
48
|
export { A as ActionSheet } from './actionsheet.taro-a58d3d12.js';
|
|
49
49
|
export { B as BackTop } from './backtop.taro-99107c30.js';
|
|
50
|
-
export { D as Drag } from './drag.taro-82b6b27a.js';
|
|
51
50
|
export { D as Dialog } from './dialog.taro-f54cfbf0.js';
|
|
51
|
+
export { D as Drag } from './drag.taro-82b6b27a.js';
|
|
52
52
|
export { I as Infiniteloading } from './infiniteloading.taro-b5ddf3cc.js';
|
|
53
53
|
export { N as Notify } from './notify.taro-308e5892.js';
|
|
54
|
+
export { P as PullToRefresh } from './pulltorefresh.taro-f26a20dd.js';
|
|
55
|
+
export { S as Swipe } from './swipe.taro-83bc248f.js';
|
|
54
56
|
export { S as Switch } from './switch.taro-bae2dca0.js';
|
|
55
57
|
export { T as Toast } from './toast.taro-0804b6b4.js';
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export { N as NoticeBar } from './noticebar.taro-94002898.js';
|
|
60
|
-
export { S as Steps } from './steps.taro-acf205a0.js';
|
|
61
|
-
export { S as Step } from './step.taro-1c94e067.js';
|
|
62
|
-
export { S as Swiper } from './swiper.taro-852f6615.js';
|
|
63
|
-
export { S as SwiperItem } from './swiperitem-86a3578a.js';
|
|
58
|
+
export { A as Animate } from './animate.taro-b0e83dd5.js';
|
|
59
|
+
export { A as AnimatingNumbers } from './animatingnumbers.taro-6f40a2e9.js';
|
|
60
|
+
export { A as Audio } from './audio.taro-fddcdfc0.js';
|
|
64
61
|
export { A as Avatar } from './avatar.taro-85ced995.js';
|
|
65
62
|
export { A as AvatarGroup } from './avatargroup-f7f600ff.js';
|
|
66
|
-
export { P as Price } from './price.taro-8801462e.js';
|
|
67
63
|
export { B as Badge } from './badge.taro-fe9171ec.js';
|
|
68
|
-
export {
|
|
69
|
-
export { P as Popover } from './popover.taro-46d813e8.js';
|
|
70
|
-
export { S as Skeleton } from './skeleton.taro-853ce460.js';
|
|
71
|
-
export { C as CountDown } from './countdown.taro-d7dc8681.js';
|
|
64
|
+
export { C as CircleProgress } from './circleprogress.taro-47db537c.js';
|
|
72
65
|
export { C as Collapse } from './collapse.taro-af58206c.js';
|
|
73
66
|
export { C as CollapseItem } from './collapseitem-ce1849d2.js';
|
|
74
|
-
export {
|
|
67
|
+
export { C as CountDown } from './countdown.taro-d7dc8681.js';
|
|
68
|
+
export { E as Ellipsis } from './ellipsis.taro-c0de6ff4.js';
|
|
75
69
|
export { E as Empty } from './empty.taro-dbc66496.js';
|
|
76
|
-
export { V as VirtualList } from './virtuallist.taro-4add61c3.js';
|
|
77
|
-
export { T as Table } from './table.taro-adda6622.js';
|
|
78
|
-
export { V as Video } from './video-8a3518c5.js';
|
|
79
|
-
export { P as Progress } from './progress.taro-623bc807.js';
|
|
80
|
-
export { A as Audio } from './audio.taro-fddcdfc0.js';
|
|
81
70
|
export { I as ImagePreview } from './imagepreview.taro-3400ea03.js';
|
|
71
|
+
export { N as NoticeBar } from './noticebar.taro-94002898.js';
|
|
72
|
+
export { P as Popover } from './popover.taro-46d813e8.js';
|
|
73
|
+
export { P as Price } from './price.taro-8801462e.js';
|
|
74
|
+
export { P as Progress } from './progress.taro-623bc807.js';
|
|
75
|
+
export { S as Skeleton } from './skeleton.taro-853ce460.js';
|
|
76
|
+
export { S as Step } from './step.taro-1c94e067.js';
|
|
77
|
+
export { S as Steps } from './steps.taro-acf205a0.js';
|
|
78
|
+
export { S as Swiper } from './swiper.taro-852f6615.js';
|
|
79
|
+
export { S as SwiperItem } from './swiperitem-86a3578a.js';
|
|
80
|
+
export { T as Table } from './table.taro-adda6622.js';
|
|
81
|
+
export { T as Tag } from './tag.taro-bd900990.js';
|
|
82
82
|
export { T as TrendArrow } from './trendarrow.taro-5a7153e4.js';
|
|
83
|
+
export { V as Video } from './video-8a3518c5.js';
|
|
84
|
+
export { V as VirtualList } from './virtuallist.taro-4add61c3.js';
|
|
83
85
|
export { W as WaterMark } from './watermark.taro-323d1cf3.js';
|
|
84
|
-
export { A as Animate } from './animate.taro-b0e83dd5.js';
|
|
85
|
-
export { E as Ellipsis } from './ellipsis.taro-c0de6ff4.js';
|
|
86
86
|
export { A as Address } from './address.taro-1e2aea24.js';
|
|
87
87
|
export { B as Barrage } from './barrage.taro-0e157b5e.js';
|
|
88
|
-
export { S as Signature } from './signature.taro-17648cac.js';
|
|
89
88
|
export { C as Card } from './card.taro-a530dfb3.js';
|
|
90
|
-
export {
|
|
89
|
+
export { S as Signature } from './signature.taro-17648cac.js';
|
|
91
90
|
export { T as TimeDetail } from './timedetail.taro-105f5380.js';
|
|
91
|
+
export { T as TimePannel } from './timepannel.taro-c66c63dd.js';
|
|
92
92
|
export { T as TimeSelect } from './timeselect.taro-fc7ec6ee.js';
|
|
93
93
|
import 'react';
|
|
94
94
|
import './typings-1c5f2628.js';
|
|
95
95
|
import '@tarojs/taro';
|
|
96
96
|
import './bem-893ad28d.js';
|
|
97
97
|
import '@bem-react/classname';
|
|
98
|
+
import 'lodash';
|
|
99
|
+
import './zh-CN-dfc384d0.js';
|
|
98
100
|
import 'classnames';
|
|
99
101
|
import 'react-dom';
|
|
100
102
|
import 'react-transition-group';
|
|
101
|
-
import 'lodash';
|
|
102
|
-
import './zh-CN-dfc384d0.js';
|
|
103
103
|
import './UserContext-be8097d2.js';
|
|
104
104
|
import './grid.taro.context-39636af9.js';
|
|
105
105
|
import './configprovider-c7d60e20.js';
|
|
106
106
|
import '@tarojs/components';
|
|
107
107
|
import './offsetContext-bfb02c25.js';
|
|
108
|
-
import './useTouch-a2ea68c6.js';
|
|
109
108
|
import './useClientRect-bf69d7b3.js';
|
|
109
|
+
import './useTouch-a2ea68c6.js';
|
|
110
110
|
import './icon-8dc4de10.js';
|
|
111
111
|
import '@use-gesture/react';
|
|
112
112
|
import '@react-spring/web';
|
|
113
|
+
import './AvatarContext-7153ad2b.js';
|
|
113
114
|
import './UserContext-68f62e66.js';
|
|
114
115
|
import './UserContext-b4181162.js';
|
|
115
|
-
import './AvatarContext-7153ad2b.js';
|
|
@@ -3,6 +3,8 @@ import { BasicComponent } from '@/utils/typings';
|
|
|
3
3
|
type GridDirection = 'horizontal' | 'vertical';
|
|
4
4
|
export interface GridItemProps extends BasicComponent {
|
|
5
5
|
text: string | ReactNode;
|
|
6
|
+
fontSize: string | number;
|
|
7
|
+
color: string;
|
|
6
8
|
icon: string | ReactNode;
|
|
7
9
|
iconSize?: string | number;
|
|
8
10
|
iconColor?: string;
|
|
@@ -3,6 +3,8 @@ import { BasicComponent } from '@/utils/typings';
|
|
|
3
3
|
type GridDirection = 'horizontal' | 'vertical';
|
|
4
4
|
export interface GridItemProps extends BasicComponent {
|
|
5
5
|
text: string | ReactNode;
|
|
6
|
+
fontSize: string | number;
|
|
7
|
+
color: string;
|
|
6
8
|
icon: string | ReactNode;
|
|
7
9
|
iconSize?: string | number;
|
|
8
10
|
iconColor?: string;
|
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
import Button from '@/packages/button';
|
|
2
2
|
import Cell from '@/packages/cell';
|
|
3
3
|
import CellGroup from '@/packages/cellgroup';
|
|
4
|
+
import ConfigProvider from '@/packages/configprovider';
|
|
4
5
|
import Icon from '@/packages/icon';
|
|
6
|
+
import Image from '@/packages/image';
|
|
5
7
|
import Overlay from '@/packages/overlay';
|
|
6
8
|
import Popup from '@/packages/popup';
|
|
7
|
-
import ConfigProvider from '@/packages/configprovider';
|
|
8
|
-
import Image from '@/packages/image';
|
|
9
|
-
import Layout from '@/packages/layout';
|
|
10
9
|
import Col from '@/packages/col';
|
|
11
|
-
import Row from '@/packages/row';
|
|
12
10
|
import Divider from '@/packages/divider';
|
|
13
11
|
import Grid from '@/packages/grid';
|
|
14
12
|
import GridItem from '@/packages/griditem';
|
|
13
|
+
import Layout from '@/packages/layout';
|
|
14
|
+
import Row from '@/packages/row';
|
|
15
15
|
import Sticky from '@/packages/sticky';
|
|
16
|
-
import NavBar from '@/packages/navbar';
|
|
17
|
-
import FixedNav from '@/packages/fixednav';
|
|
18
|
-
import Tabbar from '@/packages/tabbar';
|
|
19
|
-
import TabbarItem from '@/packages/tabbaritem';
|
|
20
16
|
import Elevator from '@/packages/elevator';
|
|
21
|
-
import
|
|
22
|
-
import Tabs from '@/packages/tabs';
|
|
23
|
-
import TabPane from '@/packages/tabpane';
|
|
17
|
+
import FixedNav from '@/packages/fixednav';
|
|
24
18
|
import Indicator from '@/packages/indicator';
|
|
25
|
-
import SideNavBar from '@/packages/sidenavbar';
|
|
26
|
-
import SubSideNavBar from '@/packages/subsidenavbar';
|
|
27
|
-
import SideNavBarItem from '@/packages/sidenavbaritem';
|
|
28
19
|
import Menu from '@/packages/menu';
|
|
29
20
|
import MenuItem from '@/packages/menuitem';
|
|
30
|
-
import
|
|
21
|
+
import NavBar from '@/packages/navbar';
|
|
22
|
+
import Pagination from '@/packages/pagination';
|
|
23
|
+
import SideNavBar from '@/packages/sidenavbar';
|
|
24
|
+
import SideNavBarItem from '@/packages/sidenavbaritem';
|
|
25
|
+
import SubSideNavBar from '@/packages/subsidenavbar';
|
|
26
|
+
import Tabbar from '@/packages/tabbar';
|
|
27
|
+
import TabbarItem from '@/packages/tabbaritem';
|
|
28
|
+
import TabPane from '@/packages/tabpane';
|
|
29
|
+
import Tabs from '@/packages/tabs';
|
|
31
30
|
import Calendar from '@/packages/calendar';
|
|
31
|
+
import CalendarItem from '@/packages/calendaritem';
|
|
32
|
+
import Cascader from '@/packages/cascader';
|
|
32
33
|
import Checkbox from '@/packages/checkbox';
|
|
33
34
|
import CheckboxGroup from '@/packages/checkboxgroup';
|
|
34
35
|
import DatePicker from '@/packages/datepicker';
|
|
35
|
-
import
|
|
36
|
+
import Form from '@/packages/form';
|
|
37
|
+
import FormItem from '@/packages/formitem';
|
|
36
38
|
import Input from '@/packages/input';
|
|
39
|
+
import InputNumber from '@/packages/inputnumber';
|
|
40
|
+
import NumberKeyboard from '@/packages/numberkeyboard';
|
|
41
|
+
import Picker from '@/packages/picker';
|
|
37
42
|
import Radio from '@/packages/radio';
|
|
38
43
|
import RadioGroup from '@/packages/radiogroup';
|
|
44
|
+
import Range from '@/packages/range';
|
|
39
45
|
import Rate from '@/packages/rate';
|
|
40
|
-
import
|
|
41
|
-
import Picker from '@/packages/picker';
|
|
46
|
+
import SearchBar from '@/packages/searchbar';
|
|
42
47
|
import ShortPassword from '@/packages/shortpassword';
|
|
43
48
|
import TextArea from '@/packages/textarea';
|
|
44
49
|
import Uploader from '@/packages/uploader';
|
|
45
|
-
import Cascader from '@/packages/cascader';
|
|
46
|
-
import SearchBar from '@/packages/searchbar';
|
|
47
|
-
import NumberKeyboard from '@/packages/numberkeyboard';
|
|
48
|
-
import Form from '@/packages/form';
|
|
49
|
-
import FormItem from '@/packages/formitem';
|
|
50
50
|
import ActionSheet from '@/packages/actionsheet';
|
|
51
51
|
import BackTop from '@/packages/backtop';
|
|
52
|
-
import Drag from '@/packages/drag';
|
|
53
52
|
import Dialog from '@/packages/dialog';
|
|
53
|
+
import Drag from '@/packages/drag';
|
|
54
54
|
import Infiniteloading from '@/packages/infiniteloading';
|
|
55
55
|
import Notify from '@/packages/notify';
|
|
56
|
+
import PullToRefresh from '@/packages/pulltorefresh';
|
|
57
|
+
import Swipe from '@/packages/swipe';
|
|
56
58
|
import Switch from '@/packages/switch';
|
|
57
59
|
import Toast from '@/packages/toast';
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import NoticeBar from '@/packages/noticebar';
|
|
62
|
-
import Steps from '@/packages/steps';
|
|
63
|
-
import Step from '@/packages/step';
|
|
64
|
-
import Swiper from '@/packages/swiper';
|
|
65
|
-
import SwiperItem from '@/packages/swiperitem';
|
|
60
|
+
import Animate from '@/packages/animate';
|
|
61
|
+
import AnimatingNumbers from '@/packages/animatingnumbers';
|
|
62
|
+
import Audio from '@/packages/audio';
|
|
66
63
|
import Avatar from '@/packages/avatar';
|
|
67
64
|
import AvatarGroup from '@/packages/avatargroup';
|
|
68
|
-
import Price from '@/packages/price';
|
|
69
65
|
import Badge from '@/packages/badge';
|
|
70
|
-
import
|
|
71
|
-
import Popover from '@/packages/popover';
|
|
72
|
-
import Skeleton from '@/packages/skeleton';
|
|
73
|
-
import CountDown from '@/packages/countdown';
|
|
66
|
+
import CircleProgress from '@/packages/circleprogress';
|
|
74
67
|
import Collapse from '@/packages/collapse';
|
|
75
68
|
import CollapseItem from '@/packages/collapseitem';
|
|
76
|
-
import
|
|
69
|
+
import CountDown from '@/packages/countdown';
|
|
70
|
+
import Ellipsis from '@/packages/ellipsis';
|
|
77
71
|
import Empty from '@/packages/empty';
|
|
78
|
-
import VirtualList from '@/packages/virtuallist';
|
|
79
|
-
import Table from '@/packages/table';
|
|
80
|
-
import Video from '@/packages/video';
|
|
81
|
-
import Progress from '@/packages/progress';
|
|
82
|
-
import Audio from '@/packages/audio';
|
|
83
72
|
import ImagePreview from '@/packages/imagepreview';
|
|
73
|
+
import NoticeBar from '@/packages/noticebar';
|
|
74
|
+
import Popover from '@/packages/popover';
|
|
75
|
+
import Price from '@/packages/price';
|
|
76
|
+
import Progress from '@/packages/progress';
|
|
77
|
+
import Skeleton from '@/packages/skeleton';
|
|
78
|
+
import Step from '@/packages/step';
|
|
79
|
+
import Steps from '@/packages/steps';
|
|
80
|
+
import Swiper from '@/packages/swiper';
|
|
81
|
+
import SwiperItem from '@/packages/swiperitem';
|
|
82
|
+
import Table from '@/packages/table';
|
|
83
|
+
import Tag from '@/packages/tag';
|
|
84
84
|
import TrendArrow from '@/packages/trendarrow';
|
|
85
|
+
import Video from '@/packages/video';
|
|
86
|
+
import VirtualList from '@/packages/virtuallist';
|
|
85
87
|
import WaterMark from '@/packages/watermark';
|
|
86
|
-
import Animate from '@/packages/animate';
|
|
87
|
-
import Ellipsis from '@/packages/ellipsis';
|
|
88
88
|
import Address from '@/packages/address';
|
|
89
89
|
import Barrage from '@/packages/barrage';
|
|
90
|
-
import Signature from '@/packages/signature';
|
|
91
90
|
import Card from '@/packages/card';
|
|
92
|
-
import
|
|
91
|
+
import Signature from '@/packages/signature';
|
|
93
92
|
import TimeDetail from '@/packages/timedetail';
|
|
93
|
+
import TimePannel from '@/packages/timepannel';
|
|
94
94
|
import TimeSelect from '@/packages/timeselect';
|
|
95
|
-
export { Button, Cell, CellGroup,
|
|
95
|
+
export { Button, Cell, CellGroup, ConfigProvider, Icon, Image, Overlay, Popup, Col, Divider, Grid, GridItem, Layout, Row, Sticky, Elevator, FixedNav, Indicator, Menu, MenuItem, NavBar, Pagination, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Calendar, CalendarItem, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, TextArea, Uploader, ActionSheet, BackTop, Dialog, Drag, Infiniteloading, Notify, PullToRefresh, Swipe, Switch, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, Badge, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, Empty, ImagePreview, NoticeBar, Popover, Price, Progress, Skeleton, Step, Steps, Swiper, SwiperItem, Table, Tag, TrendArrow, Video, VirtualList, WaterMark, Address, Barrage, Card, Signature, TimeDetail, TimePannel, TimeSelect };
|