@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/dist/nutui.react.umd.js
CHANGED
|
@@ -9,7 +9,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9
9
|
return value;
|
|
10
10
|
};
|
|
11
11
|
/*!
|
|
12
|
-
* @nutui/nutui-react v1.5.
|
|
12
|
+
* @nutui/nutui-react v1.5.7 Wed May 31 2023 13:55:54 GMT+0800 (中国标准时间)
|
|
13
13
|
* (c) 2023 @jdf2e.
|
|
14
14
|
* Released under the MIT License.
|
|
15
15
|
*/
|
|
@@ -33,15 +33,10 @@ var __publicField = (obj, key, value) => {
|
|
|
33
33
|
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
34
34
|
const ReactDOM__namespace = /* @__PURE__ */ _interopNamespaceDefault(ReactDOM);
|
|
35
35
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
set exports(v) {
|
|
42
|
-
classnameExports = v;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
36
|
+
function getDefaultExportFromCjs(x) {
|
|
37
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
38
|
+
}
|
|
39
|
+
var classname = { exports: {} };
|
|
45
40
|
var classname_production_min = {};
|
|
46
41
|
var hasRequiredClassname_production_min;
|
|
47
42
|
function requireClassname_production_min() {
|
|
@@ -49,37 +44,37 @@ var __publicField = (obj, key, value) => {
|
|
|
49
44
|
return classname_production_min;
|
|
50
45
|
hasRequiredClassname_production_min = 1;
|
|
51
46
|
function r(r2) {
|
|
52
|
-
function
|
|
53
|
-
var f = i ?
|
|
47
|
+
function t2(t3, i, a, o) {
|
|
48
|
+
var f = i ? e + t3 + r2.e + i : e + t3, v = f;
|
|
54
49
|
if (a) {
|
|
55
|
-
var
|
|
56
|
-
for (var
|
|
57
|
-
if (a.hasOwnProperty(
|
|
58
|
-
var p = a[
|
|
59
|
-
true === p ? v +=
|
|
50
|
+
var s = " " + v + r2.m;
|
|
51
|
+
for (var u in a)
|
|
52
|
+
if (a.hasOwnProperty(u)) {
|
|
53
|
+
var p = a[u];
|
|
54
|
+
true === p ? v += s + u : p && (v += s + u + n + p);
|
|
60
55
|
}
|
|
61
56
|
}
|
|
62
57
|
if (void 0 !== o)
|
|
63
|
-
for (var
|
|
64
|
-
var
|
|
65
|
-
if (
|
|
66
|
-
for (var g =
|
|
58
|
+
for (var y = 0, c = (o = Array.isArray(o) ? o : [o]).length; y < c; y++) {
|
|
59
|
+
var l = o[y];
|
|
60
|
+
if (l && "string" == typeof l.valueOf())
|
|
61
|
+
for (var g = l.valueOf().split(" "), d = 0; d < g.length; d++) {
|
|
67
62
|
var h = g[d];
|
|
68
63
|
h !== f && (v += " " + h);
|
|
69
64
|
}
|
|
70
65
|
}
|
|
71
66
|
return v;
|
|
72
67
|
}
|
|
73
|
-
var
|
|
74
|
-
return function(r3,
|
|
68
|
+
var e = r2.n || "", n = r2.v || r2.m;
|
|
69
|
+
return function(r3, e2) {
|
|
75
70
|
return function(n2, i, a) {
|
|
76
|
-
return "string" == typeof n2 ? Array.isArray(i) ?
|
|
71
|
+
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);
|
|
77
72
|
};
|
|
78
73
|
};
|
|
79
74
|
}
|
|
80
75
|
Object.defineProperty(classname_production_min, "__esModule", { value: true });
|
|
81
|
-
var
|
|
82
|
-
classname_production_min.cn =
|
|
76
|
+
var t = r({ e: "-", m: "_" });
|
|
77
|
+
classname_production_min.cn = t, classname_production_min.withNaming = r;
|
|
83
78
|
return classname_production_min;
|
|
84
79
|
}
|
|
85
80
|
var classname_development = {};
|
|
@@ -109,6 +104,7 @@ var __publicField = (obj, key, value) => {
|
|
|
109
104
|
}
|
|
110
105
|
}
|
|
111
106
|
if (mix !== void 0) {
|
|
107
|
+
mix = Array.isArray(mix) ? mix : [mix];
|
|
112
108
|
for (var i = 0, len = mix.length; i < len; i++) {
|
|
113
109
|
var value = mix[i];
|
|
114
110
|
if (!value || typeof value.valueOf() !== "string")
|
|
@@ -127,7 +123,7 @@ var __publicField = (obj, key, value) => {
|
|
|
127
123
|
return function cnGenerator(b2, e) {
|
|
128
124
|
return function(elemOrMods, elemModsOrBlockMix, elemMix) {
|
|
129
125
|
if (typeof elemOrMods === "string") {
|
|
130
|
-
if (Array.isArray(elemModsOrBlockMix)) {
|
|
126
|
+
if (typeof elemModsOrBlockMix === "string" || Array.isArray(elemModsOrBlockMix)) {
|
|
131
127
|
return stringify(b2, elemOrMods, void 0, elemModsOrBlockMix);
|
|
132
128
|
}
|
|
133
129
|
return stringify(b2, elemOrMods, elemModsOrBlockMix, elemMix);
|
|
@@ -144,13 +140,12 @@ var __publicField = (obj, key, value) => {
|
|
|
144
140
|
classname_development.withNaming = withNaming;
|
|
145
141
|
return classname_development;
|
|
146
142
|
}
|
|
147
|
-
(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
})(classname);
|
|
143
|
+
if (process.env.NODE_ENV === "production") {
|
|
144
|
+
classname.exports = requireClassname_production_min();
|
|
145
|
+
} else {
|
|
146
|
+
classname.exports = requireClassname_development();
|
|
147
|
+
}
|
|
148
|
+
var classnameExports = classname.exports;
|
|
154
149
|
const cn = classnameExports.withNaming({ n: "nut-", e: "__", m: "--", v: "-" });
|
|
155
150
|
const defaultProps$1s = {
|
|
156
151
|
name: "",
|
|
@@ -762,6 +757,7 @@ var __publicField = (obj, key, value) => {
|
|
|
762
757
|
return string2.match(pattern2) || [];
|
|
763
758
|
}
|
|
764
759
|
var lodash_kebabcase = kebabCase;
|
|
760
|
+
const kebabCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(lodash_kebabcase);
|
|
765
761
|
const zhCN = {
|
|
766
762
|
save: "保存",
|
|
767
763
|
confirm: "确认",
|
|
@@ -909,7 +905,7 @@ var __publicField = (obj, key, value) => {
|
|
|
909
905
|
function convertThemeVarsToCSSVars(themeVars) {
|
|
910
906
|
const cssVars = {};
|
|
911
907
|
Object.keys(themeVars).forEach((key) => {
|
|
912
|
-
cssVars[`--${
|
|
908
|
+
cssVars[`--${kebabCase$1(key)}`] = themeVars[key];
|
|
913
909
|
});
|
|
914
910
|
return cssVars;
|
|
915
911
|
}
|
|
@@ -1087,15 +1083,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1087
1083
|
};
|
|
1088
1084
|
Image$1.defaultProps = defaultProps$1n;
|
|
1089
1085
|
Image$1.displayName = "NutImage";
|
|
1090
|
-
var
|
|
1091
|
-
var classnames = {
|
|
1092
|
-
get exports() {
|
|
1093
|
-
return classnamesExports;
|
|
1094
|
-
},
|
|
1095
|
-
set exports(v) {
|
|
1096
|
-
classnamesExports = v;
|
|
1097
|
-
}
|
|
1098
|
-
};
|
|
1086
|
+
var classnames = { exports: {} };
|
|
1099
1087
|
/*!
|
|
1100
1088
|
Copyright (c) 2018 Jed Watson.
|
|
1101
1089
|
Licensed under the MIT License (MIT), see
|
|
@@ -1142,7 +1130,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1142
1130
|
}
|
|
1143
1131
|
})();
|
|
1144
1132
|
})(classnames);
|
|
1145
|
-
|
|
1133
|
+
var classnamesExports = classnames.exports;
|
|
1134
|
+
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
1146
1135
|
const defaultOverlayProps = {
|
|
1147
1136
|
zIndex: 1e3,
|
|
1148
1137
|
duration: 0.3,
|
|
@@ -1257,24 +1246,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1257
1246
|
subClass.prototype.constructor = subClass;
|
|
1258
1247
|
_setPrototypeOf$1(subClass, superClass);
|
|
1259
1248
|
}
|
|
1260
|
-
var
|
|
1261
|
-
var
|
|
1262
|
-
get exports() {
|
|
1263
|
-
return propTypesExports;
|
|
1264
|
-
},
|
|
1265
|
-
set exports(v) {
|
|
1266
|
-
propTypesExports = v;
|
|
1267
|
-
}
|
|
1268
|
-
};
|
|
1269
|
-
var reactIsExports = {};
|
|
1270
|
-
var reactIs = {
|
|
1271
|
-
get exports() {
|
|
1272
|
-
return reactIsExports;
|
|
1273
|
-
},
|
|
1274
|
-
set exports(v) {
|
|
1275
|
-
reactIsExports = v;
|
|
1276
|
-
}
|
|
1277
|
-
};
|
|
1249
|
+
var propTypes = { exports: {} };
|
|
1250
|
+
var reactIs = { exports: {} };
|
|
1278
1251
|
var reactIs_production_min = {};
|
|
1279
1252
|
/** @license React v16.13.1
|
|
1280
1253
|
* react-is.production.min.js
|
|
@@ -1545,16 +1518,14 @@ var __publicField = (obj, key, value) => {
|
|
|
1545
1518
|
var hasRequiredReactIs;
|
|
1546
1519
|
function requireReactIs() {
|
|
1547
1520
|
if (hasRequiredReactIs)
|
|
1548
|
-
return
|
|
1521
|
+
return reactIs.exports;
|
|
1549
1522
|
hasRequiredReactIs = 1;
|
|
1550
|
-
(
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
})(reactIs);
|
|
1557
|
-
return reactIsExports;
|
|
1523
|
+
if (process.env.NODE_ENV === "production") {
|
|
1524
|
+
reactIs.exports = requireReactIs_production_min();
|
|
1525
|
+
} else {
|
|
1526
|
+
reactIs.exports = requireReactIs_development();
|
|
1527
|
+
}
|
|
1528
|
+
return reactIs.exports;
|
|
1558
1529
|
}
|
|
1559
1530
|
/*
|
|
1560
1531
|
object-assign
|
|
@@ -2221,6 +2192,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2221
2192
|
} else {
|
|
2222
2193
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
2223
2194
|
}
|
|
2195
|
+
var propTypesExports = propTypes.exports;
|
|
2196
|
+
const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
|
|
2224
2197
|
function hasClass(element, className) {
|
|
2225
2198
|
if (element.classList)
|
|
2226
2199
|
return !!className && element.classList.contains(className);
|
|
@@ -2250,22 +2223,22 @@ var __publicField = (obj, key, value) => {
|
|
|
2250
2223
|
const config$1 = {
|
|
2251
2224
|
disabled: false
|
|
2252
2225
|
};
|
|
2253
|
-
var timeoutsShape = process.env.NODE_ENV !== "production" ?
|
|
2254
|
-
enter:
|
|
2255
|
-
exit:
|
|
2256
|
-
appear:
|
|
2226
|
+
var timeoutsShape = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
2227
|
+
enter: PropTypes.number,
|
|
2228
|
+
exit: PropTypes.number,
|
|
2229
|
+
appear: PropTypes.number
|
|
2257
2230
|
}).isRequired]) : null;
|
|
2258
|
-
var classNamesShape = process.env.NODE_ENV !== "production" ?
|
|
2259
|
-
enter:
|
|
2260
|
-
exit:
|
|
2261
|
-
active:
|
|
2262
|
-
}),
|
|
2263
|
-
enter:
|
|
2264
|
-
enterDone:
|
|
2265
|
-
enterActive:
|
|
2266
|
-
exit:
|
|
2267
|
-
exitDone:
|
|
2268
|
-
exitActive:
|
|
2231
|
+
var classNamesShape = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
2232
|
+
enter: PropTypes.string,
|
|
2233
|
+
exit: PropTypes.string,
|
|
2234
|
+
active: PropTypes.string
|
|
2235
|
+
}), PropTypes.shape({
|
|
2236
|
+
enter: PropTypes.string,
|
|
2237
|
+
enterDone: PropTypes.string,
|
|
2238
|
+
enterActive: PropTypes.string,
|
|
2239
|
+
exit: PropTypes.string,
|
|
2240
|
+
exitDone: PropTypes.string,
|
|
2241
|
+
exitActive: PropTypes.string
|
|
2269
2242
|
})]) : null;
|
|
2270
2243
|
const TransitionGroupContext = React.createContext(null);
|
|
2271
2244
|
var forceReflow = function forceReflow2(node) {
|
|
@@ -2515,10 +2488,10 @@ var __publicField = (obj, key, value) => {
|
|
|
2515
2488
|
* (see
|
|
2516
2489
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
2517
2490
|
*/
|
|
2518
|
-
nodeRef:
|
|
2519
|
-
current: typeof Element === "undefined" ?
|
|
2491
|
+
nodeRef: PropTypes.shape({
|
|
2492
|
+
current: typeof Element === "undefined" ? PropTypes.any : function(propValue, key, componentName, location, propFullName, secret) {
|
|
2520
2493
|
var value = propValue[key];
|
|
2521
|
-
return
|
|
2494
|
+
return PropTypes.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
2522
2495
|
}
|
|
2523
2496
|
}),
|
|
2524
2497
|
/**
|
|
@@ -2535,23 +2508,23 @@ var __publicField = (obj, key, value) => {
|
|
|
2535
2508
|
* </Transition>
|
|
2536
2509
|
* ```
|
|
2537
2510
|
*/
|
|
2538
|
-
children:
|
|
2511
|
+
children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
|
|
2539
2512
|
/**
|
|
2540
2513
|
* Show the component; triggers the enter or exit states
|
|
2541
2514
|
*/
|
|
2542
|
-
in:
|
|
2515
|
+
in: PropTypes.bool,
|
|
2543
2516
|
/**
|
|
2544
2517
|
* By default the child component is mounted immediately along with
|
|
2545
2518
|
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
2546
2519
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
2547
2520
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
2548
2521
|
*/
|
|
2549
|
-
mountOnEnter:
|
|
2522
|
+
mountOnEnter: PropTypes.bool,
|
|
2550
2523
|
/**
|
|
2551
2524
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
2552
2525
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
2553
2526
|
*/
|
|
2554
|
-
unmountOnExit:
|
|
2527
|
+
unmountOnExit: PropTypes.bool,
|
|
2555
2528
|
/**
|
|
2556
2529
|
* By default the child component does not perform the enter transition when
|
|
2557
2530
|
* it first mounts, regardless of the value of `in`. If you want this
|
|
@@ -2563,15 +2536,15 @@ var __publicField = (obj, key, value) => {
|
|
|
2563
2536
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
2564
2537
|
* > differently.
|
|
2565
2538
|
*/
|
|
2566
|
-
appear:
|
|
2539
|
+
appear: PropTypes.bool,
|
|
2567
2540
|
/**
|
|
2568
2541
|
* Enable or disable enter transitions.
|
|
2569
2542
|
*/
|
|
2570
|
-
enter:
|
|
2543
|
+
enter: PropTypes.bool,
|
|
2571
2544
|
/**
|
|
2572
2545
|
* Enable or disable exit transitions.
|
|
2573
2546
|
*/
|
|
2574
|
-
exit:
|
|
2547
|
+
exit: PropTypes.bool,
|
|
2575
2548
|
/**
|
|
2576
2549
|
* The duration of the transition, in milliseconds.
|
|
2577
2550
|
* Required unless `addEndListener` is provided.
|
|
@@ -2621,7 +2594,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2621
2594
|
* }}
|
|
2622
2595
|
* ```
|
|
2623
2596
|
*/
|
|
2624
|
-
addEndListener:
|
|
2597
|
+
addEndListener: PropTypes.func,
|
|
2625
2598
|
/**
|
|
2626
2599
|
* Callback fired before the "entering" 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 @@ var __publicField = (obj, key, value) => {
|
|
|
2630
2603
|
*
|
|
2631
2604
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2632
2605
|
*/
|
|
2633
|
-
onEnter:
|
|
2606
|
+
onEnter: PropTypes.func,
|
|
2634
2607
|
/**
|
|
2635
2608
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
2636
2609
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2639,7 +2612,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2639
2612
|
*
|
|
2640
2613
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2641
2614
|
*/
|
|
2642
|
-
onEntering:
|
|
2615
|
+
onEntering: PropTypes.func,
|
|
2643
2616
|
/**
|
|
2644
2617
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
2645
2618
|
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
@@ -2648,7 +2621,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2648
2621
|
*
|
|
2649
2622
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2650
2623
|
*/
|
|
2651
|
-
onEntered:
|
|
2624
|
+
onEntered: PropTypes.func,
|
|
2652
2625
|
/**
|
|
2653
2626
|
* Callback fired before the "exiting" status is applied.
|
|
2654
2627
|
*
|
|
@@ -2656,7 +2629,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2656
2629
|
*
|
|
2657
2630
|
* @type Function(node: HtmlElement) -> void
|
|
2658
2631
|
*/
|
|
2659
|
-
onExit:
|
|
2632
|
+
onExit: PropTypes.func,
|
|
2660
2633
|
/**
|
|
2661
2634
|
* Callback fired after the "exiting" status is applied.
|
|
2662
2635
|
*
|
|
@@ -2664,7 +2637,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2664
2637
|
*
|
|
2665
2638
|
* @type Function(node: HtmlElement) -> void
|
|
2666
2639
|
*/
|
|
2667
|
-
onExiting:
|
|
2640
|
+
onExiting: PropTypes.func,
|
|
2668
2641
|
/**
|
|
2669
2642
|
* Callback fired after the "exited" status is applied.
|
|
2670
2643
|
*
|
|
@@ -2672,7 +2645,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2672
2645
|
*
|
|
2673
2646
|
* @type Function(node: HtmlElement) -> void
|
|
2674
2647
|
*/
|
|
2675
|
-
onExited:
|
|
2648
|
+
onExited: PropTypes.func
|
|
2676
2649
|
} : {};
|
|
2677
2650
|
function noop$2() {
|
|
2678
2651
|
}
|
|
@@ -2911,7 +2884,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2911
2884
|
*
|
|
2912
2885
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2913
2886
|
*/
|
|
2914
|
-
onEnter:
|
|
2887
|
+
onEnter: PropTypes.func,
|
|
2915
2888
|
/**
|
|
2916
2889
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
2917
2890
|
* 'appear-active' class is applied.
|
|
@@ -2920,7 +2893,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2920
2893
|
*
|
|
2921
2894
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2922
2895
|
*/
|
|
2923
|
-
onEntering:
|
|
2896
|
+
onEntering: PropTypes.func,
|
|
2924
2897
|
/**
|
|
2925
2898
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
2926
2899
|
* 'appear' classes are **removed** and the `done` class is added to the DOM node.
|
|
@@ -2929,7 +2902,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2929
2902
|
*
|
|
2930
2903
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2931
2904
|
*/
|
|
2932
|
-
onEntered:
|
|
2905
|
+
onEntered: PropTypes.func,
|
|
2933
2906
|
/**
|
|
2934
2907
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
2935
2908
|
* applied.
|
|
@@ -2938,7 +2911,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2938
2911
|
*
|
|
2939
2912
|
* @type Function(node: HtmlElement)
|
|
2940
2913
|
*/
|
|
2941
|
-
onExit:
|
|
2914
|
+
onExit: PropTypes.func,
|
|
2942
2915
|
/**
|
|
2943
2916
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
2944
2917
|
*
|
|
@@ -2946,7 +2919,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2946
2919
|
*
|
|
2947
2920
|
* @type Function(node: HtmlElement)
|
|
2948
2921
|
*/
|
|
2949
|
-
onExiting:
|
|
2922
|
+
onExiting: PropTypes.func,
|
|
2950
2923
|
/**
|
|
2951
2924
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
2952
2925
|
* are **removed** and the `exit-done` class is added to the DOM node.
|
|
@@ -2955,7 +2928,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2955
2928
|
*
|
|
2956
2929
|
* @type Function(node: HtmlElement)
|
|
2957
2930
|
*/
|
|
2958
|
-
onExited:
|
|
2931
|
+
onExited: PropTypes.func
|
|
2959
2932
|
}) : {};
|
|
2960
2933
|
const CSSTransition$1 = CSSTransition;
|
|
2961
2934
|
const defaultProps$1m = {
|