@nutui/nutui-react-taro 1.5.12 → 1.5.13
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/dist/esm/CollapseItem.js +1 -1
- package/dist/esm/Radio.js +1 -1
- package/dist/esm/RadioGroup.js +1 -1
- package/dist/esm/ShortPassword.js +1 -1
- package/dist/esm/{collapseitem-4d0bc55d.js → collapseitem-0a32285f.js} +1 -1
- package/dist/esm/nutui-react.es.js +3 -3
- package/dist/esm/{radio.taro-a6eff96c.js → radio.taro-7dec56b8.js} +6 -2
- package/dist/esm/{shortpassword.taro-9ee034f7.js → shortpassword.taro-d80bafd0.js} +1 -1
- 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.mjs +97 -68
- package/dist/nutui.react.umd.js +97 -68
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/package.json +1 -1
package/dist/esm/CollapseItem.js
CHANGED
package/dist/esm/Radio.js
CHANGED
package/dist/esm/RadioGroup.js
CHANGED
|
@@ -41,7 +41,7 @@ const CollapseItem = (props) => {
|
|
|
41
41
|
// 一开始content都有高度,在这里根据isOpen,改变其高度
|
|
42
42
|
setTimeout(() => {
|
|
43
43
|
if (domHeight !== -1) {
|
|
44
|
-
isOpen ? setCurrHeight(
|
|
44
|
+
isOpen ? setCurrHeight(`auto`) : setCurrHeight('0px');
|
|
45
45
|
}
|
|
46
46
|
const newIconStyle = isOpen
|
|
47
47
|
? { transform: `translateY(-50%) rotate(${rotate}deg)` }
|
|
@@ -38,11 +38,11 @@ export { I as Input } from './input.taro-4c33409b.js';
|
|
|
38
38
|
export { I as InputNumber } from './inputnumber.taro-91f65d17.js';
|
|
39
39
|
export { N as NumberKeyboard } from './numberkeyboard.taro-1bc24744.js';
|
|
40
40
|
export { P as Picker } from './picker.taro-6bb0a2a4.js';
|
|
41
|
-
export { R as Radio, a as RadioGroup } from './radio.taro-
|
|
41
|
+
export { R as Radio, a as RadioGroup } from './radio.taro-7dec56b8.js';
|
|
42
42
|
export { R as Range } from './range.taro-5ab0e79e.js';
|
|
43
43
|
export { R as Rate } from './rate.taro-6cdf03bd.js';
|
|
44
44
|
export { S as SearchBar } from './searchbar.taro-4b892018.js';
|
|
45
|
-
export { S as ShortPassword } from './shortpassword.taro-
|
|
45
|
+
export { S as ShortPassword } from './shortpassword.taro-d80bafd0.js';
|
|
46
46
|
export { T as TextArea } from './textarea.taro-442e7350.js';
|
|
47
47
|
export { U as Uploader } from './uploader.taro-587e6bf3.js';
|
|
48
48
|
export { A as ActionSheet } from './actionsheet.taro-e6a51446.js';
|
|
@@ -63,7 +63,7 @@ export { A as AvatarGroup } from './avatargroup-f3574510.js';
|
|
|
63
63
|
export { B as Badge } from './badge.taro-a4e59c11.js';
|
|
64
64
|
export { C as CircleProgress } from './circleprogress.taro-79854448.js';
|
|
65
65
|
export { C as Collapse } from './collapse.taro-1a9e4ba2.js';
|
|
66
|
-
export { C as CollapseItem } from './collapseitem-
|
|
66
|
+
export { C as CollapseItem } from './collapseitem-0a32285f.js';
|
|
67
67
|
export { C as CountDown } from './countdown.taro-9d970dbe.js';
|
|
68
68
|
export { E as Ellipsis } from './ellipsis.taro-f15f26da.js';
|
|
69
69
|
export { E as Empty } from './empty.taro-04ae4389.js';
|
|
@@ -148,9 +148,13 @@ const Radio = (props) => {
|
|
|
148
148
|
return renderButton();
|
|
149
149
|
}
|
|
150
150
|
if (reverseState) {
|
|
151
|
-
return
|
|
151
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
152
|
+
renderLabel(),
|
|
153
|
+
renderIcon()));
|
|
152
154
|
}
|
|
153
|
-
return
|
|
155
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
156
|
+
renderIcon(),
|
|
157
|
+
renderLabel()));
|
|
154
158
|
};
|
|
155
159
|
const handleClick = (e) => {
|
|
156
160
|
if (disabledStatement || checkedStatement)
|
|
@@ -91,7 +91,7 @@ const ShortPassword = (props) => {
|
|
|
91
91
|
React__default.createElement("div", { className: b('title') }, title || locale.shortpassword.title),
|
|
92
92
|
React__default.createElement("div", { className: b('subtitle') }, desc || locale.shortpassword.desc),
|
|
93
93
|
React__default.createElement("div", { className: b('input') },
|
|
94
|
-
React__default.createElement("input", { ref: textInput, className: b('input-real'), type: "number", style: systemStyle(), maxLength: 6, value: inputValue, autoFocus: autoFocus, onChange: (e) => changeValue(e) }),
|
|
94
|
+
React__default.createElement("input", { ref: textInput, className: b('input-real'), type: "number", style: systemStyle(), maxLength: 6, pattern: "[0-9]*", value: inputValue, autoFocus: autoFocus, onChange: (e) => changeValue(e) }),
|
|
95
95
|
React__default.createElement("div", { className: b('input-site') }),
|
|
96
96
|
React__default.createElement("div", { className: b('input-fake'), onClick: () => focus() }, [...new Array(comLen).keys()].map((item, index) => {
|
|
97
97
|
return (React__default.createElement("div", { className: b('input-fake__li'), key: index }, String(inputValue).length > index ? (React__default.createElement("div", { className: b('input-fake__li__icon') })) : null));
|
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/id-ID.js
CHANGED
package/dist/locales/zh-CN.js
CHANGED
package/dist/locales/zh-TW.js
CHANGED
package/dist/locales/zh-UG.js
CHANGED
package/dist/nutui.react.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
/*!
|
|
8
|
-
* @nutui/nutui-react-taro v1.5.
|
|
8
|
+
* @nutui/nutui-react-taro v1.5.13 Mon Dec 11 2023 14:53:27 GMT+0800 (China Standard Time)
|
|
9
9
|
* (c) 2023 @jdf2e.
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
@@ -15,10 +15,15 @@ import Taro, { redirectTo, navigateTo, getEnv, usePageScroll, getSystemInfoSync,
|
|
|
15
15
|
import { View, ScrollView, PickerView, PickerViewColumn, Image as Image$2 } from "@tarojs/components";
|
|
16
16
|
import ReactDOM, { createPortal, unstable_batchedUpdates } from "react-dom";
|
|
17
17
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
var classnameExports = {};
|
|
19
|
+
var classname = {
|
|
20
|
+
get exports() {
|
|
21
|
+
return classnameExports;
|
|
22
|
+
},
|
|
23
|
+
set exports(v) {
|
|
24
|
+
classnameExports = v;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
22
27
|
var classname_production_min = {};
|
|
23
28
|
var hasRequiredClassname_production_min;
|
|
24
29
|
function requireClassname_production_min() {
|
|
@@ -122,12 +127,13 @@ function requireClassname_development() {
|
|
|
122
127
|
classname_development.withNaming = withNaming;
|
|
123
128
|
return classname_development;
|
|
124
129
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
(function(module) {
|
|
131
|
+
if (process.env.NODE_ENV === "production") {
|
|
132
|
+
module.exports = requireClassname_production_min();
|
|
133
|
+
} else {
|
|
134
|
+
module.exports = requireClassname_development();
|
|
135
|
+
}
|
|
136
|
+
})(classname);
|
|
131
137
|
const cn = classnameExports.withNaming({ n: "nut-", e: "__", m: "--", v: "-" });
|
|
132
138
|
const defaultProps$1v = {
|
|
133
139
|
name: "",
|
|
@@ -743,7 +749,6 @@ function words(string, pattern, guard) {
|
|
|
743
749
|
return string.match(pattern) || [];
|
|
744
750
|
}
|
|
745
751
|
var lodash_kebabcase = kebabCase;
|
|
746
|
-
const kebabCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(lodash_kebabcase);
|
|
747
752
|
const zhCN = {
|
|
748
753
|
save: "保存",
|
|
749
754
|
confirm: "确认",
|
|
@@ -891,7 +896,7 @@ const useConfig$1 = () => {
|
|
|
891
896
|
function convertThemeVarsToCSSVars(themeVars) {
|
|
892
897
|
const cssVars = {};
|
|
893
898
|
Object.keys(themeVars).forEach((key) => {
|
|
894
|
-
cssVars[`--${
|
|
899
|
+
cssVars[`--${lodash_kebabcase(key)}`] = themeVars[key];
|
|
895
900
|
});
|
|
896
901
|
return cssVars;
|
|
897
902
|
}
|
|
@@ -1008,7 +1013,15 @@ const Image$1 = (props) => {
|
|
|
1008
1013
|
};
|
|
1009
1014
|
Image$1.defaultProps = defaultProps$1q;
|
|
1010
1015
|
Image$1.displayName = "NutImage";
|
|
1011
|
-
var
|
|
1016
|
+
var classnamesExports = {};
|
|
1017
|
+
var classnames = {
|
|
1018
|
+
get exports() {
|
|
1019
|
+
return classnamesExports;
|
|
1020
|
+
},
|
|
1021
|
+
set exports(v) {
|
|
1022
|
+
classnamesExports = v;
|
|
1023
|
+
}
|
|
1024
|
+
};
|
|
1012
1025
|
/*!
|
|
1013
1026
|
Copyright (c) 2018 Jed Watson.
|
|
1014
1027
|
Licensed under the MIT License (MIT), see
|
|
@@ -1055,8 +1068,7 @@ var classnames = { exports: {} };
|
|
|
1055
1068
|
}
|
|
1056
1069
|
})();
|
|
1057
1070
|
})(classnames);
|
|
1058
|
-
|
|
1059
|
-
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
1071
|
+
const classNames = classnamesExports;
|
|
1060
1072
|
const defaultOverlayProps = {
|
|
1061
1073
|
zIndex: 2e3,
|
|
1062
1074
|
duration: 0.3,
|
|
@@ -1182,8 +1194,24 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
1182
1194
|
subClass.prototype.constructor = subClass;
|
|
1183
1195
|
_setPrototypeOf(subClass, superClass);
|
|
1184
1196
|
}
|
|
1185
|
-
var
|
|
1186
|
-
var
|
|
1197
|
+
var propTypesExports = {};
|
|
1198
|
+
var propTypes = {
|
|
1199
|
+
get exports() {
|
|
1200
|
+
return propTypesExports;
|
|
1201
|
+
},
|
|
1202
|
+
set exports(v) {
|
|
1203
|
+
propTypesExports = v;
|
|
1204
|
+
}
|
|
1205
|
+
};
|
|
1206
|
+
var reactIsExports = {};
|
|
1207
|
+
var reactIs = {
|
|
1208
|
+
get exports() {
|
|
1209
|
+
return reactIsExports;
|
|
1210
|
+
},
|
|
1211
|
+
set exports(v) {
|
|
1212
|
+
reactIsExports = v;
|
|
1213
|
+
}
|
|
1214
|
+
};
|
|
1187
1215
|
var reactIs_production_min = {};
|
|
1188
1216
|
/** @license React v16.13.1
|
|
1189
1217
|
* react-is.production.min.js
|
|
@@ -1454,14 +1482,16 @@ function requireReactIs_development() {
|
|
|
1454
1482
|
var hasRequiredReactIs;
|
|
1455
1483
|
function requireReactIs() {
|
|
1456
1484
|
if (hasRequiredReactIs)
|
|
1457
|
-
return
|
|
1485
|
+
return reactIsExports;
|
|
1458
1486
|
hasRequiredReactIs = 1;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1487
|
+
(function(module) {
|
|
1488
|
+
if (process.env.NODE_ENV === "production") {
|
|
1489
|
+
module.exports = requireReactIs_production_min();
|
|
1490
|
+
} else {
|
|
1491
|
+
module.exports = requireReactIs_development();
|
|
1492
|
+
}
|
|
1493
|
+
})(reactIs);
|
|
1494
|
+
return reactIsExports;
|
|
1465
1495
|
}
|
|
1466
1496
|
/*
|
|
1467
1497
|
object-assign
|
|
@@ -2128,8 +2158,6 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2128
2158
|
} else {
|
|
2129
2159
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
2130
2160
|
}
|
|
2131
|
-
var propTypesExports = propTypes.exports;
|
|
2132
|
-
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2133
2161
|
function hasClass(element, className) {
|
|
2134
2162
|
if (element.classList)
|
|
2135
2163
|
return !!className && element.classList.contains(className);
|
|
@@ -2159,22 +2187,22 @@ function removeClass$1(element, className) {
|
|
|
2159
2187
|
const config$1 = {
|
|
2160
2188
|
disabled: false
|
|
2161
2189
|
};
|
|
2162
|
-
var timeoutsShape = process.env.NODE_ENV !== "production" ?
|
|
2163
|
-
enter:
|
|
2164
|
-
exit:
|
|
2165
|
-
appear:
|
|
2190
|
+
var timeoutsShape = process.env.NODE_ENV !== "production" ? propTypesExports.oneOfType([propTypesExports.number, propTypesExports.shape({
|
|
2191
|
+
enter: propTypesExports.number,
|
|
2192
|
+
exit: propTypesExports.number,
|
|
2193
|
+
appear: propTypesExports.number
|
|
2166
2194
|
}).isRequired]) : null;
|
|
2167
|
-
var classNamesShape = process.env.NODE_ENV !== "production" ?
|
|
2168
|
-
enter:
|
|
2169
|
-
exit:
|
|
2170
|
-
active:
|
|
2171
|
-
}),
|
|
2172
|
-
enter:
|
|
2173
|
-
enterDone:
|
|
2174
|
-
enterActive:
|
|
2175
|
-
exit:
|
|
2176
|
-
exitDone:
|
|
2177
|
-
exitActive:
|
|
2195
|
+
var classNamesShape = process.env.NODE_ENV !== "production" ? propTypesExports.oneOfType([propTypesExports.string, propTypesExports.shape({
|
|
2196
|
+
enter: propTypesExports.string,
|
|
2197
|
+
exit: propTypesExports.string,
|
|
2198
|
+
active: propTypesExports.string
|
|
2199
|
+
}), propTypesExports.shape({
|
|
2200
|
+
enter: propTypesExports.string,
|
|
2201
|
+
enterDone: propTypesExports.string,
|
|
2202
|
+
enterActive: propTypesExports.string,
|
|
2203
|
+
exit: propTypesExports.string,
|
|
2204
|
+
exitDone: propTypesExports.string,
|
|
2205
|
+
exitActive: propTypesExports.string
|
|
2178
2206
|
})]) : null;
|
|
2179
2207
|
const TransitionGroupContext = React__default.createContext(null);
|
|
2180
2208
|
var forceReflow = function forceReflow2(node) {
|
|
@@ -2424,10 +2452,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2424
2452
|
* (see
|
|
2425
2453
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
2426
2454
|
*/
|
|
2427
|
-
nodeRef:
|
|
2428
|
-
current: typeof Element === "undefined" ?
|
|
2455
|
+
nodeRef: propTypesExports.shape({
|
|
2456
|
+
current: typeof Element === "undefined" ? propTypesExports.any : function(propValue, key, componentName, location, propFullName, secret) {
|
|
2429
2457
|
var value = propValue[key];
|
|
2430
|
-
return
|
|
2458
|
+
return propTypesExports.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
2431
2459
|
}
|
|
2432
2460
|
}),
|
|
2433
2461
|
/**
|
|
@@ -2444,23 +2472,23 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2444
2472
|
* </Transition>
|
|
2445
2473
|
* ```
|
|
2446
2474
|
*/
|
|
2447
|
-
children:
|
|
2475
|
+
children: propTypesExports.oneOfType([propTypesExports.func.isRequired, propTypesExports.element.isRequired]).isRequired,
|
|
2448
2476
|
/**
|
|
2449
2477
|
* Show the component; triggers the enter or exit states
|
|
2450
2478
|
*/
|
|
2451
|
-
in:
|
|
2479
|
+
in: propTypesExports.bool,
|
|
2452
2480
|
/**
|
|
2453
2481
|
* By default the child component is mounted immediately along with
|
|
2454
2482
|
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
2455
2483
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
2456
2484
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
2457
2485
|
*/
|
|
2458
|
-
mountOnEnter:
|
|
2486
|
+
mountOnEnter: propTypesExports.bool,
|
|
2459
2487
|
/**
|
|
2460
2488
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
2461
2489
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
2462
2490
|
*/
|
|
2463
|
-
unmountOnExit:
|
|
2491
|
+
unmountOnExit: propTypesExports.bool,
|
|
2464
2492
|
/**
|
|
2465
2493
|
* By default the child component does not perform the enter transition when
|
|
2466
2494
|
* it first mounts, regardless of the value of `in`. If you want this
|
|
@@ -2472,15 +2500,15 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2472
2500
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
2473
2501
|
* > differently.
|
|
2474
2502
|
*/
|
|
2475
|
-
appear:
|
|
2503
|
+
appear: propTypesExports.bool,
|
|
2476
2504
|
/**
|
|
2477
2505
|
* Enable or disable enter transitions.
|
|
2478
2506
|
*/
|
|
2479
|
-
enter:
|
|
2507
|
+
enter: propTypesExports.bool,
|
|
2480
2508
|
/**
|
|
2481
2509
|
* Enable or disable exit transitions.
|
|
2482
2510
|
*/
|
|
2483
|
-
exit:
|
|
2511
|
+
exit: propTypesExports.bool,
|
|
2484
2512
|
/**
|
|
2485
2513
|
* The duration of the transition, in milliseconds.
|
|
2486
2514
|
* Required unless `addEndListener` is provided.
|
|
@@ -2530,7 +2558,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2530
2558
|
* }}
|
|
2531
2559
|
* ```
|
|
2532
2560
|
*/
|
|
2533
|
-
addEndListener:
|
|
2561
|
+
addEndListener: propTypesExports.func,
|
|
2534
2562
|
/**
|
|
2535
2563
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
2536
2564
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2539,7 +2567,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2539
2567
|
*
|
|
2540
2568
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2541
2569
|
*/
|
|
2542
|
-
onEnter:
|
|
2570
|
+
onEnter: propTypesExports.func,
|
|
2543
2571
|
/**
|
|
2544
2572
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
2545
2573
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2548,7 +2576,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2548
2576
|
*
|
|
2549
2577
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2550
2578
|
*/
|
|
2551
|
-
onEntering:
|
|
2579
|
+
onEntering: propTypesExports.func,
|
|
2552
2580
|
/**
|
|
2553
2581
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
2554
2582
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2557,7 +2585,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2557
2585
|
*
|
|
2558
2586
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2559
2587
|
*/
|
|
2560
|
-
onEntered:
|
|
2588
|
+
onEntered: propTypesExports.func,
|
|
2561
2589
|
/**
|
|
2562
2590
|
* Callback fired before the "exiting" status is applied.
|
|
2563
2591
|
*
|
|
@@ -2565,7 +2593,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2565
2593
|
*
|
|
2566
2594
|
* @type Function(node: HtmlElement) -> void
|
|
2567
2595
|
*/
|
|
2568
|
-
onExit:
|
|
2596
|
+
onExit: propTypesExports.func,
|
|
2569
2597
|
/**
|
|
2570
2598
|
* Callback fired after the "exiting" status is applied.
|
|
2571
2599
|
*
|
|
@@ -2573,7 +2601,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2573
2601
|
*
|
|
2574
2602
|
* @type Function(node: HtmlElement) -> void
|
|
2575
2603
|
*/
|
|
2576
|
-
onExiting:
|
|
2604
|
+
onExiting: propTypesExports.func,
|
|
2577
2605
|
/**
|
|
2578
2606
|
* Callback fired after the "exited" status is applied.
|
|
2579
2607
|
*
|
|
@@ -2581,7 +2609,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2581
2609
|
*
|
|
2582
2610
|
* @type Function(node: HtmlElement) -> void
|
|
2583
2611
|
*/
|
|
2584
|
-
onExited:
|
|
2612
|
+
onExited: propTypesExports.func
|
|
2585
2613
|
} : {};
|
|
2586
2614
|
function noop$2() {
|
|
2587
2615
|
}
|
|
@@ -2820,7 +2848,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2820
2848
|
*
|
|
2821
2849
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2822
2850
|
*/
|
|
2823
|
-
onEnter:
|
|
2851
|
+
onEnter: propTypesExports.func,
|
|
2824
2852
|
/**
|
|
2825
2853
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
2826
2854
|
* 'appear-active' class is applied.
|
|
@@ -2829,7 +2857,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2829
2857
|
*
|
|
2830
2858
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2831
2859
|
*/
|
|
2832
|
-
onEntering:
|
|
2860
|
+
onEntering: propTypesExports.func,
|
|
2833
2861
|
/**
|
|
2834
2862
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
2835
2863
|
* 'appear' classes are **removed** and the `done` class is added to the DOM node.
|
|
@@ -2838,7 +2866,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2838
2866
|
*
|
|
2839
2867
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2840
2868
|
*/
|
|
2841
|
-
onEntered:
|
|
2869
|
+
onEntered: propTypesExports.func,
|
|
2842
2870
|
/**
|
|
2843
2871
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
2844
2872
|
* applied.
|
|
@@ -2847,7 +2875,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2847
2875
|
*
|
|
2848
2876
|
* @type Function(node: HtmlElement)
|
|
2849
2877
|
*/
|
|
2850
|
-
onExit:
|
|
2878
|
+
onExit: propTypesExports.func,
|
|
2851
2879
|
/**
|
|
2852
2880
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
2853
2881
|
*
|
|
@@ -2855,7 +2883,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2855
2883
|
*
|
|
2856
2884
|
* @type Function(node: HtmlElement)
|
|
2857
2885
|
*/
|
|
2858
|
-
onExiting:
|
|
2886
|
+
onExiting: propTypesExports.func,
|
|
2859
2887
|
/**
|
|
2860
2888
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
2861
2889
|
* are **removed** and the `exit-done` class is added to the DOM node.
|
|
@@ -2864,7 +2892,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$3({},
|
|
|
2864
2892
|
*
|
|
2865
2893
|
* @type Function(node: HtmlElement)
|
|
2866
2894
|
*/
|
|
2867
|
-
onExited:
|
|
2895
|
+
onExited: propTypesExports.func
|
|
2868
2896
|
}) : {};
|
|
2869
2897
|
const CSSTransition$1 = CSSTransition;
|
|
2870
2898
|
const defaultProps$1p = {
|
|
@@ -8793,9 +8821,9 @@ const Radio = (props) => {
|
|
|
8793
8821
|
return renderButton();
|
|
8794
8822
|
}
|
|
8795
8823
|
if (reverseState) {
|
|
8796
|
-
return
|
|
8824
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, renderLabel(), renderIcon());
|
|
8797
8825
|
}
|
|
8798
|
-
return
|
|
8826
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, renderIcon(), renderLabel());
|
|
8799
8827
|
};
|
|
8800
8828
|
const handleClick = (e) => {
|
|
8801
8829
|
if (disabledStatement || checkedStatement)
|
|
@@ -9908,6 +9936,7 @@ const ShortPassword = (props) => {
|
|
|
9908
9936
|
type: "number",
|
|
9909
9937
|
style: systemStyle(),
|
|
9910
9938
|
maxLength: 6,
|
|
9939
|
+
pattern: "[0-9]*",
|
|
9911
9940
|
value: inputValue,
|
|
9912
9941
|
autoFocus,
|
|
9913
9942
|
onChange: (e) => changeValue(e)
|
|
@@ -17287,7 +17316,7 @@ const CollapseItem = (props) => {
|
|
|
17287
17316
|
useEffect(() => {
|
|
17288
17317
|
setTimeout(() => {
|
|
17289
17318
|
if (domHeight !== -1) {
|
|
17290
|
-
isOpen ? setCurrHeight(
|
|
17319
|
+
isOpen ? setCurrHeight(`auto`) : setCurrHeight("0px");
|
|
17291
17320
|
}
|
|
17292
17321
|
const newIconStyle = isOpen ? { transform: `translateY(-50%) rotate(${rotate}deg)` } : { transform: "translateY(-50%)" };
|
|
17293
17322
|
setIconStyle(newIconStyle);
|