@nutui/nutui-react 1.5.6-beta.0 → 1.5.7-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 +6 -0
- package/dist/esm/Form.js +4 -6
- 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 +83 -110
- package/dist/nutui.react.umd.js +83 -110
- package/dist/packages/picker/picker.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/esm/Form.js
CHANGED
|
@@ -19,16 +19,14 @@ import './Cell.js';
|
|
|
19
19
|
/**
|
|
20
20
|
* 用于存储表单的数据
|
|
21
21
|
*/
|
|
22
|
-
var FormStore = /*#__PURE__*/_createClass(
|
|
23
|
-
// 存放表单中所有的数据 eg. {password: "ddd",username: "123"}
|
|
24
|
-
// 所有的组件实例
|
|
25
|
-
// 成功和失败的回调
|
|
26
|
-
|
|
27
|
-
function FormStore() {
|
|
22
|
+
var FormStore = /*#__PURE__*/_createClass(function FormStore() {
|
|
28
23
|
var _this = this;
|
|
29
24
|
_classCallCheck(this, FormStore);
|
|
30
25
|
_defineProperty(this, "store", {});
|
|
26
|
+
// 存放表单中所有的数据 eg. {password: "ddd",username: "123"}
|
|
31
27
|
_defineProperty(this, "fieldEntities", []);
|
|
28
|
+
// 所有的组件实例
|
|
29
|
+
// 成功和失败的回调
|
|
32
30
|
_defineProperty(this, "callbacks", {});
|
|
33
31
|
_defineProperty(this, "errList", []);
|
|
34
32
|
/**
|
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
|
@@ -6,7 +6,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6
6
|
};
|
|
7
7
|
var _a;
|
|
8
8
|
/*!
|
|
9
|
-
* @nutui/nutui-react v1.5.
|
|
9
|
+
* @nutui/nutui-react v1.5.7 Wed May 31 2023 13:55:54 GMT+0800 (中国标准时间)
|
|
10
10
|
* (c) 2023 @jdf2e.
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
@@ -15,15 +15,10 @@ import React__default, { useCallback, useState, useEffect, createContext, useMem
|
|
|
15
15
|
import * as ReactDOM from "react-dom";
|
|
16
16
|
import ReactDOM__default, { 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
|
-
|
|
22
|
-
},
|
|
23
|
-
set exports(v) {
|
|
24
|
-
classnameExports = v;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
18
|
+
function getDefaultExportFromCjs(x) {
|
|
19
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
20
|
+
}
|
|
21
|
+
var classname = { exports: {} };
|
|
27
22
|
var classname_production_min = {};
|
|
28
23
|
var hasRequiredClassname_production_min;
|
|
29
24
|
function requireClassname_production_min() {
|
|
@@ -31,37 +26,37 @@ function requireClassname_production_min() {
|
|
|
31
26
|
return classname_production_min;
|
|
32
27
|
hasRequiredClassname_production_min = 1;
|
|
33
28
|
function r(r2) {
|
|
34
|
-
function
|
|
35
|
-
var f = i ?
|
|
29
|
+
function t2(t3, i, a, o) {
|
|
30
|
+
var f = i ? e + t3 + r2.e + i : e + t3, v = f;
|
|
36
31
|
if (a) {
|
|
37
|
-
var
|
|
38
|
-
for (var
|
|
39
|
-
if (a.hasOwnProperty(
|
|
40
|
-
var p = a[
|
|
41
|
-
true === p ? v +=
|
|
32
|
+
var s = " " + v + r2.m;
|
|
33
|
+
for (var u in a)
|
|
34
|
+
if (a.hasOwnProperty(u)) {
|
|
35
|
+
var p = a[u];
|
|
36
|
+
true === p ? v += s + u : p && (v += s + u + n + p);
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
if (void 0 !== o)
|
|
45
|
-
for (var
|
|
46
|
-
var
|
|
47
|
-
if (
|
|
48
|
-
for (var g =
|
|
40
|
+
for (var y = 0, c = (o = Array.isArray(o) ? o : [o]).length; y < c; y++) {
|
|
41
|
+
var l = o[y];
|
|
42
|
+
if (l && "string" == typeof l.valueOf())
|
|
43
|
+
for (var g = l.valueOf().split(" "), d = 0; d < g.length; d++) {
|
|
49
44
|
var h = g[d];
|
|
50
45
|
h !== f && (v += " " + h);
|
|
51
46
|
}
|
|
52
47
|
}
|
|
53
48
|
return v;
|
|
54
49
|
}
|
|
55
|
-
var
|
|
56
|
-
return function(r3,
|
|
50
|
+
var e = r2.n || "", n = r2.v || r2.m;
|
|
51
|
+
return function(r3, e2) {
|
|
57
52
|
return function(n2, i, a) {
|
|
58
|
-
return "string" == typeof n2 ? Array.isArray(i) ?
|
|
53
|
+
return "string" == typeof n2 ? "string" == typeof i || Array.isArray(i) ? t2(r3, n2, void 0, i) : t2(r3, n2, i, a) : t2(r3, e2, n2, i);
|
|
59
54
|
};
|
|
60
55
|
};
|
|
61
56
|
}
|
|
62
57
|
Object.defineProperty(classname_production_min, "__esModule", { value: true });
|
|
63
|
-
var
|
|
64
|
-
classname_production_min.cn =
|
|
58
|
+
var t = r({ e: "-", m: "_" });
|
|
59
|
+
classname_production_min.cn = t, classname_production_min.withNaming = r;
|
|
65
60
|
return classname_production_min;
|
|
66
61
|
}
|
|
67
62
|
var classname_development = {};
|
|
@@ -91,6 +86,7 @@ function requireClassname_development() {
|
|
|
91
86
|
}
|
|
92
87
|
}
|
|
93
88
|
if (mix !== void 0) {
|
|
89
|
+
mix = Array.isArray(mix) ? mix : [mix];
|
|
94
90
|
for (var i = 0, len = mix.length; i < len; i++) {
|
|
95
91
|
var value = mix[i];
|
|
96
92
|
if (!value || typeof value.valueOf() !== "string")
|
|
@@ -109,7 +105,7 @@ function requireClassname_development() {
|
|
|
109
105
|
return function cnGenerator(b2, e) {
|
|
110
106
|
return function(elemOrMods, elemModsOrBlockMix, elemMix) {
|
|
111
107
|
if (typeof elemOrMods === "string") {
|
|
112
|
-
if (Array.isArray(elemModsOrBlockMix)) {
|
|
108
|
+
if (typeof elemModsOrBlockMix === "string" || Array.isArray(elemModsOrBlockMix)) {
|
|
113
109
|
return stringify(b2, elemOrMods, void 0, elemModsOrBlockMix);
|
|
114
110
|
}
|
|
115
111
|
return stringify(b2, elemOrMods, elemModsOrBlockMix, elemMix);
|
|
@@ -126,13 +122,12 @@ function requireClassname_development() {
|
|
|
126
122
|
classname_development.withNaming = withNaming;
|
|
127
123
|
return classname_development;
|
|
128
124
|
}
|
|
129
|
-
(
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
})(classname);
|
|
125
|
+
if (process.env.NODE_ENV === "production") {
|
|
126
|
+
classname.exports = requireClassname_production_min();
|
|
127
|
+
} else {
|
|
128
|
+
classname.exports = requireClassname_development();
|
|
129
|
+
}
|
|
130
|
+
var classnameExports = classname.exports;
|
|
136
131
|
const cn = classnameExports.withNaming({ n: "nut-", e: "__", m: "--", v: "-" });
|
|
137
132
|
const defaultProps$1s = {
|
|
138
133
|
name: "",
|
|
@@ -744,6 +739,7 @@ function words(string3, pattern4, guard) {
|
|
|
744
739
|
return string3.match(pattern4) || [];
|
|
745
740
|
}
|
|
746
741
|
var lodash_kebabcase = kebabCase;
|
|
742
|
+
const kebabCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(lodash_kebabcase);
|
|
747
743
|
const zhCN = {
|
|
748
744
|
save: "保存",
|
|
749
745
|
confirm: "确认",
|
|
@@ -891,7 +887,7 @@ const useConfig = () => {
|
|
|
891
887
|
function convertThemeVarsToCSSVars(themeVars) {
|
|
892
888
|
const cssVars = {};
|
|
893
889
|
Object.keys(themeVars).forEach((key) => {
|
|
894
|
-
cssVars[`--${
|
|
890
|
+
cssVars[`--${kebabCase$1(key)}`] = themeVars[key];
|
|
895
891
|
});
|
|
896
892
|
return cssVars;
|
|
897
893
|
}
|
|
@@ -1069,15 +1065,7 @@ const Image$1 = (props) => {
|
|
|
1069
1065
|
};
|
|
1070
1066
|
Image$1.defaultProps = defaultProps$1n;
|
|
1071
1067
|
Image$1.displayName = "NutImage";
|
|
1072
|
-
var
|
|
1073
|
-
var classnames = {
|
|
1074
|
-
get exports() {
|
|
1075
|
-
return classnamesExports;
|
|
1076
|
-
},
|
|
1077
|
-
set exports(v) {
|
|
1078
|
-
classnamesExports = v;
|
|
1079
|
-
}
|
|
1080
|
-
};
|
|
1068
|
+
var classnames = { exports: {} };
|
|
1081
1069
|
/*!
|
|
1082
1070
|
Copyright (c) 2018 Jed Watson.
|
|
1083
1071
|
Licensed under the MIT License (MIT), see
|
|
@@ -1124,7 +1112,8 @@ var classnames = {
|
|
|
1124
1112
|
}
|
|
1125
1113
|
})();
|
|
1126
1114
|
})(classnames);
|
|
1127
|
-
|
|
1115
|
+
var classnamesExports = classnames.exports;
|
|
1116
|
+
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
1128
1117
|
const defaultOverlayProps = {
|
|
1129
1118
|
zIndex: 1e3,
|
|
1130
1119
|
duration: 0.3,
|
|
@@ -1239,24 +1228,8 @@ function _inheritsLoose$1(subClass, superClass) {
|
|
|
1239
1228
|
subClass.prototype.constructor = subClass;
|
|
1240
1229
|
_setPrototypeOf$1(subClass, superClass);
|
|
1241
1230
|
}
|
|
1242
|
-
var
|
|
1243
|
-
var
|
|
1244
|
-
get exports() {
|
|
1245
|
-
return propTypesExports;
|
|
1246
|
-
},
|
|
1247
|
-
set exports(v) {
|
|
1248
|
-
propTypesExports = v;
|
|
1249
|
-
}
|
|
1250
|
-
};
|
|
1251
|
-
var reactIsExports = {};
|
|
1252
|
-
var reactIs = {
|
|
1253
|
-
get exports() {
|
|
1254
|
-
return reactIsExports;
|
|
1255
|
-
},
|
|
1256
|
-
set exports(v) {
|
|
1257
|
-
reactIsExports = v;
|
|
1258
|
-
}
|
|
1259
|
-
};
|
|
1231
|
+
var propTypes = { exports: {} };
|
|
1232
|
+
var reactIs = { exports: {} };
|
|
1260
1233
|
var reactIs_production_min = {};
|
|
1261
1234
|
/** @license React v16.13.1
|
|
1262
1235
|
* react-is.production.min.js
|
|
@@ -1527,16 +1500,14 @@ function requireReactIs_development() {
|
|
|
1527
1500
|
var hasRequiredReactIs;
|
|
1528
1501
|
function requireReactIs() {
|
|
1529
1502
|
if (hasRequiredReactIs)
|
|
1530
|
-
return
|
|
1503
|
+
return reactIs.exports;
|
|
1531
1504
|
hasRequiredReactIs = 1;
|
|
1532
|
-
(
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
})(reactIs);
|
|
1539
|
-
return reactIsExports;
|
|
1505
|
+
if (process.env.NODE_ENV === "production") {
|
|
1506
|
+
reactIs.exports = requireReactIs_production_min();
|
|
1507
|
+
} else {
|
|
1508
|
+
reactIs.exports = requireReactIs_development();
|
|
1509
|
+
}
|
|
1510
|
+
return reactIs.exports;
|
|
1540
1511
|
}
|
|
1541
1512
|
/*
|
|
1542
1513
|
object-assign
|
|
@@ -2203,6 +2174,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2203
2174
|
} else {
|
|
2204
2175
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
2205
2176
|
}
|
|
2177
|
+
var propTypesExports = propTypes.exports;
|
|
2178
|
+
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2206
2179
|
function hasClass(element, className) {
|
|
2207
2180
|
if (element.classList)
|
|
2208
2181
|
return !!className && element.classList.contains(className);
|
|
@@ -2232,22 +2205,22 @@ function removeClass$1(element, className) {
|
|
|
2232
2205
|
const config$1 = {
|
|
2233
2206
|
disabled: false
|
|
2234
2207
|
};
|
|
2235
|
-
var timeoutsShape = process.env.NODE_ENV !== "production" ?
|
|
2236
|
-
enter:
|
|
2237
|
-
exit:
|
|
2238
|
-
appear:
|
|
2208
|
+
var timeoutsShape = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
2209
|
+
enter: PropTypes.number,
|
|
2210
|
+
exit: PropTypes.number,
|
|
2211
|
+
appear: PropTypes.number
|
|
2239
2212
|
}).isRequired]) : null;
|
|
2240
|
-
var classNamesShape = process.env.NODE_ENV !== "production" ?
|
|
2241
|
-
enter:
|
|
2242
|
-
exit:
|
|
2243
|
-
active:
|
|
2244
|
-
}),
|
|
2245
|
-
enter:
|
|
2246
|
-
enterDone:
|
|
2247
|
-
enterActive:
|
|
2248
|
-
exit:
|
|
2249
|
-
exitDone:
|
|
2250
|
-
exitActive:
|
|
2213
|
+
var classNamesShape = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
2214
|
+
enter: PropTypes.string,
|
|
2215
|
+
exit: PropTypes.string,
|
|
2216
|
+
active: PropTypes.string
|
|
2217
|
+
}), PropTypes.shape({
|
|
2218
|
+
enter: PropTypes.string,
|
|
2219
|
+
enterDone: PropTypes.string,
|
|
2220
|
+
enterActive: PropTypes.string,
|
|
2221
|
+
exit: PropTypes.string,
|
|
2222
|
+
exitDone: PropTypes.string,
|
|
2223
|
+
exitActive: PropTypes.string
|
|
2251
2224
|
})]) : null;
|
|
2252
2225
|
const TransitionGroupContext = React__default.createContext(null);
|
|
2253
2226
|
var forceReflow = function forceReflow2(node) {
|
|
@@ -2497,10 +2470,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2497
2470
|
* (see
|
|
2498
2471
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
2499
2472
|
*/
|
|
2500
|
-
nodeRef:
|
|
2501
|
-
current: typeof Element === "undefined" ?
|
|
2473
|
+
nodeRef: PropTypes.shape({
|
|
2474
|
+
current: typeof Element === "undefined" ? PropTypes.any : function(propValue, key, componentName, location, propFullName, secret) {
|
|
2502
2475
|
var value = propValue[key];
|
|
2503
|
-
return
|
|
2476
|
+
return PropTypes.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
2504
2477
|
}
|
|
2505
2478
|
}),
|
|
2506
2479
|
/**
|
|
@@ -2517,23 +2490,23 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2517
2490
|
* </Transition>
|
|
2518
2491
|
* ```
|
|
2519
2492
|
*/
|
|
2520
|
-
children:
|
|
2493
|
+
children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
|
|
2521
2494
|
/**
|
|
2522
2495
|
* Show the component; triggers the enter or exit states
|
|
2523
2496
|
*/
|
|
2524
|
-
in:
|
|
2497
|
+
in: PropTypes.bool,
|
|
2525
2498
|
/**
|
|
2526
2499
|
* By default the child component is mounted immediately along with
|
|
2527
2500
|
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
2528
2501
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
2529
2502
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
2530
2503
|
*/
|
|
2531
|
-
mountOnEnter:
|
|
2504
|
+
mountOnEnter: PropTypes.bool,
|
|
2532
2505
|
/**
|
|
2533
2506
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
2534
2507
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
2535
2508
|
*/
|
|
2536
|
-
unmountOnExit:
|
|
2509
|
+
unmountOnExit: PropTypes.bool,
|
|
2537
2510
|
/**
|
|
2538
2511
|
* By default the child component does not perform the enter transition when
|
|
2539
2512
|
* it first mounts, regardless of the value of `in`. If you want this
|
|
@@ -2545,15 +2518,15 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2545
2518
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
2546
2519
|
* > differently.
|
|
2547
2520
|
*/
|
|
2548
|
-
appear:
|
|
2521
|
+
appear: PropTypes.bool,
|
|
2549
2522
|
/**
|
|
2550
2523
|
* Enable or disable enter transitions.
|
|
2551
2524
|
*/
|
|
2552
|
-
enter:
|
|
2525
|
+
enter: PropTypes.bool,
|
|
2553
2526
|
/**
|
|
2554
2527
|
* Enable or disable exit transitions.
|
|
2555
2528
|
*/
|
|
2556
|
-
exit:
|
|
2529
|
+
exit: PropTypes.bool,
|
|
2557
2530
|
/**
|
|
2558
2531
|
* The duration of the transition, in milliseconds.
|
|
2559
2532
|
* Required unless `addEndListener` is provided.
|
|
@@ -2603,7 +2576,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2603
2576
|
* }}
|
|
2604
2577
|
* ```
|
|
2605
2578
|
*/
|
|
2606
|
-
addEndListener:
|
|
2579
|
+
addEndListener: PropTypes.func,
|
|
2607
2580
|
/**
|
|
2608
2581
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
2609
2582
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2612,7 +2585,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2612
2585
|
*
|
|
2613
2586
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2614
2587
|
*/
|
|
2615
|
-
onEnter:
|
|
2588
|
+
onEnter: PropTypes.func,
|
|
2616
2589
|
/**
|
|
2617
2590
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
2618
2591
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2621,7 +2594,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2621
2594
|
*
|
|
2622
2595
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2623
2596
|
*/
|
|
2624
|
-
onEntering:
|
|
2597
|
+
onEntering: PropTypes.func,
|
|
2625
2598
|
/**
|
|
2626
2599
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
2627
2600
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2630,7 +2603,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2630
2603
|
*
|
|
2631
2604
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2632
2605
|
*/
|
|
2633
|
-
onEntered:
|
|
2606
|
+
onEntered: PropTypes.func,
|
|
2634
2607
|
/**
|
|
2635
2608
|
* Callback fired before the "exiting" status is applied.
|
|
2636
2609
|
*
|
|
@@ -2638,7 +2611,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2638
2611
|
*
|
|
2639
2612
|
* @type Function(node: HtmlElement) -> void
|
|
2640
2613
|
*/
|
|
2641
|
-
onExit:
|
|
2614
|
+
onExit: PropTypes.func,
|
|
2642
2615
|
/**
|
|
2643
2616
|
* Callback fired after the "exiting" status is applied.
|
|
2644
2617
|
*
|
|
@@ -2646,7 +2619,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2646
2619
|
*
|
|
2647
2620
|
* @type Function(node: HtmlElement) -> void
|
|
2648
2621
|
*/
|
|
2649
|
-
onExiting:
|
|
2622
|
+
onExiting: PropTypes.func,
|
|
2650
2623
|
/**
|
|
2651
2624
|
* Callback fired after the "exited" status is applied.
|
|
2652
2625
|
*
|
|
@@ -2654,7 +2627,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2654
2627
|
*
|
|
2655
2628
|
* @type Function(node: HtmlElement) -> void
|
|
2656
2629
|
*/
|
|
2657
|
-
onExited:
|
|
2630
|
+
onExited: PropTypes.func
|
|
2658
2631
|
} : {};
|
|
2659
2632
|
function noop$2() {
|
|
2660
2633
|
}
|
|
@@ -2893,7 +2866,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2893
2866
|
*
|
|
2894
2867
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2895
2868
|
*/
|
|
2896
|
-
onEnter:
|
|
2869
|
+
onEnter: PropTypes.func,
|
|
2897
2870
|
/**
|
|
2898
2871
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
2899
2872
|
* 'appear-active' class is applied.
|
|
@@ -2902,7 +2875,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2902
2875
|
*
|
|
2903
2876
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2904
2877
|
*/
|
|
2905
|
-
onEntering:
|
|
2878
|
+
onEntering: PropTypes.func,
|
|
2906
2879
|
/**
|
|
2907
2880
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
2908
2881
|
* 'appear' classes are **removed** and the `done` class is added to the DOM node.
|
|
@@ -2911,7 +2884,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2911
2884
|
*
|
|
2912
2885
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2913
2886
|
*/
|
|
2914
|
-
onEntered:
|
|
2887
|
+
onEntered: PropTypes.func,
|
|
2915
2888
|
/**
|
|
2916
2889
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
2917
2890
|
* applied.
|
|
@@ -2920,7 +2893,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2920
2893
|
*
|
|
2921
2894
|
* @type Function(node: HtmlElement)
|
|
2922
2895
|
*/
|
|
2923
|
-
onExit:
|
|
2896
|
+
onExit: PropTypes.func,
|
|
2924
2897
|
/**
|
|
2925
2898
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
2926
2899
|
*
|
|
@@ -2928,7 +2901,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2928
2901
|
*
|
|
2929
2902
|
* @type Function(node: HtmlElement)
|
|
2930
2903
|
*/
|
|
2931
|
-
onExiting:
|
|
2904
|
+
onExiting: PropTypes.func,
|
|
2932
2905
|
/**
|
|
2933
2906
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
2934
2907
|
* are **removed** and the `exit-done` class is added to the DOM node.
|
|
@@ -2937,7 +2910,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$4({},
|
|
|
2937
2910
|
*
|
|
2938
2911
|
* @type Function(node: HtmlElement)
|
|
2939
2912
|
*/
|
|
2940
|
-
onExited:
|
|
2913
|
+
onExited: PropTypes.func
|
|
2941
2914
|
}) : {};
|
|
2942
2915
|
const CSSTransition$1 = CSSTransition;
|
|
2943
2916
|
const defaultProps$1m = {
|