siam-ui-utils 3.1.2 → 3.1.4

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.
Files changed (75) hide show
  1. package/dist/_virtual/index.js +2 -2
  2. package/dist/custom-input/CustomInputCheckbox.js +1 -2
  3. package/dist/custom-input/CustomInputCheckbox.js.map +1 -1
  4. package/dist/node_modules/@neolution-ch/reactstrap/esm/Badge.js +2 -2
  5. package/dist/node_modules/@neolution-ch/reactstrap/esm/Badge.js.map +1 -1
  6. package/dist/node_modules/@neolution-ch/reactstrap/esm/Button.js +2 -2
  7. package/dist/node_modules/@neolution-ch/reactstrap/esm/Button.js.map +1 -1
  8. package/dist/node_modules/@neolution-ch/reactstrap/esm/CloseButton.js +2 -2
  9. package/dist/node_modules/@neolution-ch/reactstrap/esm/CloseButton.js.map +1 -1
  10. package/dist/node_modules/@neolution-ch/reactstrap/esm/Col.js +3 -3
  11. package/dist/node_modules/@neolution-ch/reactstrap/esm/Col.js.map +1 -1
  12. package/dist/node_modules/@neolution-ch/reactstrap/esm/FormGroup.js +2 -2
  13. package/dist/node_modules/@neolution-ch/reactstrap/esm/FormGroup.js.map +1 -1
  14. package/dist/node_modules/@neolution-ch/reactstrap/esm/Input.js +2 -2
  15. package/dist/node_modules/@neolution-ch/reactstrap/esm/Input.js.map +1 -1
  16. package/dist/node_modules/@neolution-ch/reactstrap/esm/Label.js +3 -3
  17. package/dist/node_modules/@neolution-ch/reactstrap/esm/Label.js.map +1 -1
  18. package/dist/node_modules/@neolution-ch/reactstrap/esm/Row.js +2 -2
  19. package/dist/node_modules/@neolution-ch/reactstrap/esm/Row.js.map +1 -1
  20. package/dist/react-notifications/index.js +3 -8
  21. package/dist/react-notifications/index.js.map +1 -1
  22. package/dist/select/custom-select/index.js +3 -85
  23. package/dist/select/custom-select/index.js.map +1 -1
  24. package/package.json +5 -1
  25. package/dist/_virtual/events.js +0 -6
  26. package/dist/_virtual/events.js.map +0 -1
  27. package/dist/_virtual/events2.js +0 -5
  28. package/dist/_virtual/events2.js.map +0 -1
  29. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -8
  30. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
  31. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -13
  32. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  33. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -8
  34. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  35. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -13
  36. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  37. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -9
  38. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  39. package/dist/node_modules/dom-helpers/esm/addClass.js +0 -10
  40. package/dist/node_modules/dom-helpers/esm/addClass.js.map +0 -1
  41. package/dist/node_modules/dom-helpers/esm/hasClass.js +0 -8
  42. package/dist/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
  43. package/dist/node_modules/dom-helpers/esm/removeClass.js +0 -16
  44. package/dist/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
  45. package/dist/node_modules/events/events.js +0 -372
  46. package/dist/node_modules/events/events.js.map +0 -1
  47. package/dist/node_modules/react-transition-group/esm/CSSTransition.js +0 -275
  48. package/dist/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
  49. package/dist/node_modules/react-transition-group/esm/Transition.js +0 -441
  50. package/dist/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  51. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +0 -146
  52. package/dist/node_modules/react-transition-group/esm/TransitionGroup.js.map +0 -1
  53. package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -6
  54. package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  55. package/dist/node_modules/react-transition-group/esm/config.js +0 -7
  56. package/dist/node_modules/react-transition-group/esm/config.js.map +0 -1
  57. package/dist/node_modules/react-transition-group/esm/utils/ChildMapping.js +0 -100
  58. package/dist/node_modules/react-transition-group/esm/utils/ChildMapping.js.map +0 -1
  59. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -24
  60. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  61. package/dist/node_modules/react-transition-group/esm/utils/reflow.js +0 -7
  62. package/dist/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  63. package/dist/react-notifications/Notification.js +0 -73
  64. package/dist/react-notifications/Notification.js.map +0 -1
  65. package/dist/react-notifications/NotificationContainer.js +0 -59
  66. package/dist/react-notifications/NotificationContainer.js.map +0 -1
  67. package/dist/react-notifications/NotificationManager.js +0 -174
  68. package/dist/react-notifications/NotificationManager.js.map +0 -1
  69. package/dist/react-notifications/Notifications.js +0 -72
  70. package/dist/react-notifications/Notifications.js.map +0 -1
  71. package/dist/react-notifications/constants.js +0 -26
  72. package/dist/react-notifications/constants.js.map +0 -1
  73. package/dist/react-notifications/notifications.css +0 -213
  74. package/dist/select/custom-select/constants.js +0 -8
  75. package/dist/select/custom-select/constants.js.map +0 -1
@@ -1,441 +0,0 @@
1
- import _objectWithoutPropertiesLoose from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
2
- import _inheritsLoose from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
3
- import PropTypes from "prop-types";
4
- import React from "react";
5
- import ReactDOM from "react-dom";
6
- import config from "./config.js";
7
- import { timeoutsShape } from "./utils/PropTypes.js";
8
- import TransitionGroupContext from "./TransitionGroupContext.js";
9
- import { forceReflow } from "./utils/reflow.js";
10
- var define_process_env_default = {};
11
- var UNMOUNTED = "unmounted";
12
- var EXITED = "exited";
13
- var ENTERING = "entering";
14
- var ENTERED = "entered";
15
- var EXITING = "exiting";
16
- var Transition = /* @__PURE__ */ (function(_React$Component) {
17
- _inheritsLoose(Transition2, _React$Component);
18
- function Transition2(props, context) {
19
- var _this;
20
- _this = _React$Component.call(this, props, context) || this;
21
- var parentGroup = context;
22
- var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
23
- var initialStatus;
24
- _this.appearStatus = null;
25
- if (props.in) {
26
- if (appear) {
27
- initialStatus = EXITED;
28
- _this.appearStatus = ENTERING;
29
- } else {
30
- initialStatus = ENTERED;
31
- }
32
- } else {
33
- if (props.unmountOnExit || props.mountOnEnter) {
34
- initialStatus = UNMOUNTED;
35
- } else {
36
- initialStatus = EXITED;
37
- }
38
- }
39
- _this.state = {
40
- status: initialStatus
41
- };
42
- _this.nextCallback = null;
43
- return _this;
44
- }
45
- Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
46
- var nextIn = _ref.in;
47
- if (nextIn && prevState.status === UNMOUNTED) {
48
- return {
49
- status: EXITED
50
- };
51
- }
52
- return null;
53
- };
54
- var _proto = Transition2.prototype;
55
- _proto.componentDidMount = function componentDidMount() {
56
- this.updateStatus(true, this.appearStatus);
57
- };
58
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
59
- var nextStatus = null;
60
- if (prevProps !== this.props) {
61
- var status = this.state.status;
62
- if (this.props.in) {
63
- if (status !== ENTERING && status !== ENTERED) {
64
- nextStatus = ENTERING;
65
- }
66
- } else {
67
- if (status === ENTERING || status === ENTERED) {
68
- nextStatus = EXITING;
69
- }
70
- }
71
- }
72
- this.updateStatus(false, nextStatus);
73
- };
74
- _proto.componentWillUnmount = function componentWillUnmount() {
75
- this.cancelNextCallback();
76
- };
77
- _proto.getTimeouts = function getTimeouts() {
78
- var timeout2 = this.props.timeout;
79
- var exit, enter, appear;
80
- exit = enter = appear = timeout2;
81
- if (timeout2 != null && typeof timeout2 !== "number") {
82
- exit = timeout2.exit;
83
- enter = timeout2.enter;
84
- appear = timeout2.appear !== void 0 ? timeout2.appear : enter;
85
- }
86
- return {
87
- exit,
88
- enter,
89
- appear
90
- };
91
- };
92
- _proto.updateStatus = function updateStatus(mounting, nextStatus) {
93
- if (mounting === void 0) {
94
- mounting = false;
95
- }
96
- if (nextStatus !== null) {
97
- this.cancelNextCallback();
98
- if (nextStatus === ENTERING) {
99
- if (this.props.unmountOnExit || this.props.mountOnEnter) {
100
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
101
- if (node) forceReflow(node);
102
- }
103
- this.performEnter(mounting);
104
- } else {
105
- this.performExit();
106
- }
107
- } else if (this.props.unmountOnExit && this.state.status === EXITED) {
108
- this.setState({
109
- status: UNMOUNTED
110
- });
111
- }
112
- };
113
- _proto.performEnter = function performEnter(mounting) {
114
- var _this2 = this;
115
- var enter = this.props.enter;
116
- var appearing = this.context ? this.context.isMounting : mounting;
117
- var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing], maybeNode = _ref2[0], maybeAppearing = _ref2[1];
118
- var timeouts = this.getTimeouts();
119
- var enterTimeout = appearing ? timeouts.appear : timeouts.enter;
120
- if (!mounting && !enter || config.disabled) {
121
- this.safeSetState({
122
- status: ENTERED
123
- }, function() {
124
- _this2.props.onEntered(maybeNode);
125
- });
126
- return;
127
- }
128
- this.props.onEnter(maybeNode, maybeAppearing);
129
- this.safeSetState({
130
- status: ENTERING
131
- }, function() {
132
- _this2.props.onEntering(maybeNode, maybeAppearing);
133
- _this2.onTransitionEnd(enterTimeout, function() {
134
- _this2.safeSetState({
135
- status: ENTERED
136
- }, function() {
137
- _this2.props.onEntered(maybeNode, maybeAppearing);
138
- });
139
- });
140
- });
141
- };
142
- _proto.performExit = function performExit() {
143
- var _this3 = this;
144
- var exit = this.props.exit;
145
- var timeouts = this.getTimeouts();
146
- var maybeNode = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
147
- if (!exit || config.disabled) {
148
- this.safeSetState({
149
- status: EXITED
150
- }, function() {
151
- _this3.props.onExited(maybeNode);
152
- });
153
- return;
154
- }
155
- this.props.onExit(maybeNode);
156
- this.safeSetState({
157
- status: EXITING
158
- }, function() {
159
- _this3.props.onExiting(maybeNode);
160
- _this3.onTransitionEnd(timeouts.exit, function() {
161
- _this3.safeSetState({
162
- status: EXITED
163
- }, function() {
164
- _this3.props.onExited(maybeNode);
165
- });
166
- });
167
- });
168
- };
169
- _proto.cancelNextCallback = function cancelNextCallback() {
170
- if (this.nextCallback !== null) {
171
- this.nextCallback.cancel();
172
- this.nextCallback = null;
173
- }
174
- };
175
- _proto.safeSetState = function safeSetState(nextState, callback) {
176
- callback = this.setNextCallback(callback);
177
- this.setState(nextState, callback);
178
- };
179
- _proto.setNextCallback = function setNextCallback(callback) {
180
- var _this4 = this;
181
- var active = true;
182
- this.nextCallback = function(event) {
183
- if (active) {
184
- active = false;
185
- _this4.nextCallback = null;
186
- callback(event);
187
- }
188
- };
189
- this.nextCallback.cancel = function() {
190
- active = false;
191
- };
192
- return this.nextCallback;
193
- };
194
- _proto.onTransitionEnd = function onTransitionEnd(timeout2, handler) {
195
- this.setNextCallback(handler);
196
- var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);
197
- var doesNotHaveTimeoutOrListener = timeout2 == null && !this.props.addEndListener;
198
- if (!node || doesNotHaveTimeoutOrListener) {
199
- setTimeout(this.nextCallback, 0);
200
- return;
201
- }
202
- if (this.props.addEndListener) {
203
- var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
204
- this.props.addEndListener(maybeNode, maybeNextCallback);
205
- }
206
- if (timeout2 != null) {
207
- setTimeout(this.nextCallback, timeout2);
208
- }
209
- };
210
- _proto.render = function render() {
211
- var status = this.state.status;
212
- if (status === UNMOUNTED) {
213
- return null;
214
- }
215
- var _this$props = this.props, children = _this$props.children;
216
- _this$props.in;
217
- _this$props.mountOnEnter;
218
- _this$props.unmountOnExit;
219
- _this$props.appear;
220
- _this$props.enter;
221
- _this$props.exit;
222
- _this$props.timeout;
223
- _this$props.addEndListener;
224
- _this$props.onEnter;
225
- _this$props.onEntering;
226
- _this$props.onEntered;
227
- _this$props.onExit;
228
- _this$props.onExiting;
229
- _this$props.onExited;
230
- _this$props.nodeRef;
231
- var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
232
- return (
233
- // allows for nested Transitions
234
- /* @__PURE__ */ React.createElement(TransitionGroupContext.Provider, {
235
- value: null
236
- }, typeof children === "function" ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))
237
- );
238
- };
239
- return Transition2;
240
- })(React.Component);
241
- Transition.contextType = TransitionGroupContext;
242
- Transition.propTypes = define_process_env_default.NODE_ENV !== "production" ? {
243
- /**
244
- * A React reference to DOM element that need to transition:
245
- * https://stackoverflow.com/a/51127130/4671932
246
- *
247
- * - When `nodeRef` prop is used, `node` is not passed to callback functions
248
- * (e.g. `onEnter`) because user already has direct access to the node.
249
- * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
250
- * `nodeRef` need to be provided to `Transition` with changed `key` prop
251
- * (see
252
- * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
253
- */
254
- nodeRef: PropTypes.shape({
255
- current: typeof Element === "undefined" ? PropTypes.any : function(propValue, key, componentName, location, propFullName, secret) {
256
- var value = propValue[key];
257
- return PropTypes.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
258
- }
259
- }),
260
- /**
261
- * A `function` child can be used instead of a React element. This function is
262
- * called with the current transition status (`'entering'`, `'entered'`,
263
- * `'exiting'`, `'exited'`), which can be used to apply context
264
- * specific props to a component.
265
- *
266
- * ```jsx
267
- * <Transition in={this.state.in} timeout={150}>
268
- * {state => (
269
- * <MyComponent className={`fade fade-${state}`} />
270
- * )}
271
- * </Transition>
272
- * ```
273
- */
274
- children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
275
- /**
276
- * Show the component; triggers the enter or exit states
277
- */
278
- in: PropTypes.bool,
279
- /**
280
- * By default the child component is mounted immediately along with
281
- * the parent `Transition` component. If you want to "lazy mount" the component on the
282
- * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
283
- * mounted, even on "exited", unless you also specify `unmountOnExit`.
284
- */
285
- mountOnEnter: PropTypes.bool,
286
- /**
287
- * By default the child component stays mounted after it reaches the `'exited'` state.
288
- * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
289
- */
290
- unmountOnExit: PropTypes.bool,
291
- /**
292
- * By default the child component does not perform the enter transition when
293
- * it first mounts, regardless of the value of `in`. If you want this
294
- * behavior, set both `appear` and `in` to `true`.
295
- *
296
- * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
297
- * > only adds an additional enter transition. However, in the
298
- * > `<CSSTransition>` component that first enter transition does result in
299
- * > additional `.appear-*` classes, that way you can choose to style it
300
- * > differently.
301
- */
302
- appear: PropTypes.bool,
303
- /**
304
- * Enable or disable enter transitions.
305
- */
306
- enter: PropTypes.bool,
307
- /**
308
- * Enable or disable exit transitions.
309
- */
310
- exit: PropTypes.bool,
311
- /**
312
- * The duration of the transition, in milliseconds.
313
- * Required unless `addEndListener` is provided.
314
- *
315
- * You may specify a single timeout for all transitions:
316
- *
317
- * ```jsx
318
- * timeout={500}
319
- * ```
320
- *
321
- * or individually:
322
- *
323
- * ```jsx
324
- * timeout={{
325
- * appear: 500,
326
- * enter: 300,
327
- * exit: 500,
328
- * }}
329
- * ```
330
- *
331
- * - `appear` defaults to the value of `enter`
332
- * - `enter` defaults to `0`
333
- * - `exit` defaults to `0`
334
- *
335
- * @type {number | { enter?: number, exit?: number, appear?: number }}
336
- */
337
- timeout: function timeout(props) {
338
- var pt = timeoutsShape;
339
- if (!props.addEndListener) pt = pt.isRequired;
340
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
341
- args[_key - 1] = arguments[_key];
342
- }
343
- return pt.apply(void 0, [props].concat(args));
344
- },
345
- /**
346
- * Add a custom transition end trigger. Called with the transitioning
347
- * DOM node and a `done` callback. Allows for more fine grained transition end
348
- * logic. Timeouts are still used as a fallback if provided.
349
- *
350
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
351
- *
352
- * ```jsx
353
- * addEndListener={(node, done) => {
354
- * // use the css transitionend event to mark the finish of a transition
355
- * node.addEventListener('transitionend', done, false);
356
- * }}
357
- * ```
358
- */
359
- addEndListener: PropTypes.func,
360
- /**
361
- * Callback fired before the "entering" status is applied. An extra parameter
362
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
363
- *
364
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
365
- *
366
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
367
- */
368
- onEnter: PropTypes.func,
369
- /**
370
- * Callback fired after the "entering" status is applied. An extra parameter
371
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
372
- *
373
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
374
- *
375
- * @type Function(node: HtmlElement, isAppearing: bool)
376
- */
377
- onEntering: PropTypes.func,
378
- /**
379
- * Callback fired after the "entered" status is applied. An extra parameter
380
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
381
- *
382
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
383
- *
384
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
385
- */
386
- onEntered: PropTypes.func,
387
- /**
388
- * Callback fired before the "exiting" status is applied.
389
- *
390
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
391
- *
392
- * @type Function(node: HtmlElement) -> void
393
- */
394
- onExit: PropTypes.func,
395
- /**
396
- * Callback fired after the "exiting" status is applied.
397
- *
398
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
399
- *
400
- * @type Function(node: HtmlElement) -> void
401
- */
402
- onExiting: PropTypes.func,
403
- /**
404
- * Callback fired after the "exited" status is applied.
405
- *
406
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
407
- *
408
- * @type Function(node: HtmlElement) -> void
409
- */
410
- onExited: PropTypes.func
411
- } : {};
412
- function noop() {
413
- }
414
- Transition.defaultProps = {
415
- in: false,
416
- mountOnEnter: false,
417
- unmountOnExit: false,
418
- appear: false,
419
- enter: true,
420
- exit: true,
421
- onEnter: noop,
422
- onEntering: noop,
423
- onEntered: noop,
424
- onExit: noop,
425
- onExiting: noop,
426
- onExited: noop
427
- };
428
- Transition.UNMOUNTED = UNMOUNTED;
429
- Transition.EXITED = EXITED;
430
- Transition.ENTERING = ENTERING;
431
- Transition.ENTERED = ENTERED;
432
- Transition.EXITING = EXITING;
433
- export {
434
- ENTERED,
435
- ENTERING,
436
- EXITED,
437
- EXITING,
438
- UNMOUNTED,
439
- Transition as default
440
- };
441
- //# sourceMappingURL=Transition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Transition.js","sources":["../../../../node_modules/react-transition-group/esm/Transition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;"],"names":["Transition","timeout"],"mappings":";;;;;;;;;;AASO,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,UAAU;AA6FrB,IAAI,uCAAoC,kBAAkB;AACxD,iBAAeA,aAAY,gBAAgB;AAE3C,WAASA,YAAW,OAAO,SAAS;AAClC,QAAI;AAEJ,YAAQ,iBAAiB,KAAK,MAAM,OAAO,OAAO,KAAK;AACvD,QAAI,cAAc;AAElB,QAAI,SAAS,eAAe,CAAC,YAAY,aAAa,MAAM,QAAQ,MAAM;AAC1E,QAAI;AACJ,UAAM,eAAe;AAErB,QAAI,MAAM,IAAI;AACZ,UAAI,QAAQ;AACV,wBAAgB;AAChB,cAAM,eAAe;AAAA,MACvB,OAAO;AACL,wBAAgB;AAAA,MAClB;AAAA,IACF,OAAO;AACL,UAAI,MAAM,iBAAiB,MAAM,cAAc;AAC7C,wBAAgB;AAAA,MAClB,OAAO;AACL,wBAAgB;AAAA,MAClB;AAAA,IACF;AAEA,UAAM,QAAQ;AAAA,MACZ,QAAQ;AAAA,IAAA;AAEV,UAAM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ropertiesLoose.js";
2
- import _extends from "../../@babel/runtime/helpers/esm/extends.js";
3
- import _assertThisInitialized from "../../@babel/runtime/helpers/esm/assertThisInitialized.js";
4
- import _inheritsLoose from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
5
- import PropTypes from "prop-types";
6
- import React from "react";
7
- import TransitionGroupContext from "./TransitionGroupContext.js";
8
- import { getInitialChildMapping, getNextChildMapping, getChildMapping } from "./utils/ChildMapping.js";
9
- var define_process_env_default = {};
10
- var values = Object.values || function(obj) {
11
- return Object.keys(obj).map(function(k) {
12
- return obj[k];
13
- });
14
- };
15
- var defaultProps = {
16
- component: "div",
17
- childFactory: function childFactory(child) {
18
- return child;
19
- }
20
- };
21
- var TransitionGroup = /* @__PURE__ */ (function(_React$Component) {
22
- _inheritsLoose(TransitionGroup2, _React$Component);
23
- function TransitionGroup2(props, context) {
24
- var _this;
25
- _this = _React$Component.call(this, props, context) || this;
26
- var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
27
- _this.state = {
28
- contextValue: {
29
- isMounting: true
30
- },
31
- handleExited,
32
- firstRender: true
33
- };
34
- return _this;
35
- }
36
- var _proto = TransitionGroup2.prototype;
37
- _proto.componentDidMount = function componentDidMount() {
38
- this.mounted = true;
39
- this.setState({
40
- contextValue: {
41
- isMounting: false
42
- }
43
- });
44
- };
45
- _proto.componentWillUnmount = function componentWillUnmount() {
46
- this.mounted = false;
47
- };
48
- TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
49
- var prevChildMapping = _ref.children, handleExited = _ref.handleExited, firstRender = _ref.firstRender;
50
- return {
51
- children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
52
- firstRender: false
53
- };
54
- };
55
- _proto.handleExited = function handleExited(child, node) {
56
- var currentChildMapping = getChildMapping(this.props.children);
57
- if (child.key in currentChildMapping) return;
58
- if (child.props.onExited) {
59
- child.props.onExited(node);
60
- }
61
- if (this.mounted) {
62
- this.setState(function(state) {
63
- var children = _extends({}, state.children);
64
- delete children[child.key];
65
- return {
66
- children
67
- };
68
- });
69
- }
70
- };
71
- _proto.render = function render() {
72
- var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
73
- var contextValue = this.state.contextValue;
74
- var children = values(this.state.children).map(childFactory2);
75
- delete props.appear;
76
- delete props.enter;
77
- delete props.exit;
78
- if (Component === null) {
79
- return /* @__PURE__ */ React.createElement(TransitionGroupContext.Provider, {
80
- value: contextValue
81
- }, children);
82
- }
83
- return /* @__PURE__ */ React.createElement(TransitionGroupContext.Provider, {
84
- value: contextValue
85
- }, /* @__PURE__ */ React.createElement(Component, props, children));
86
- };
87
- return TransitionGroup2;
88
- })(React.Component);
89
- TransitionGroup.propTypes = define_process_env_default.NODE_ENV !== "production" ? {
90
- /**
91
- * `<TransitionGroup>` renders a `<div>` by default. You can change this
92
- * behavior by providing a `component` prop.
93
- * If you use React v16+ and would like to avoid a wrapping `<div>` element
94
- * you can pass in `component={null}`. This is useful if the wrapping div
95
- * borks your css styles.
96
- */
97
- component: PropTypes.any,
98
- /**
99
- * A set of `<Transition>` components, that are toggled `in` and out as they
100
- * leave. the `<TransitionGroup>` will inject specific transition props, so
101
- * remember to spread them through if you are wrapping the `<Transition>` as
102
- * with our `<Fade>` example.
103
- *
104
- * While this component is meant for multiple `Transition` or `CSSTransition`
105
- * children, sometimes you may want to have a single transition child with
106
- * content that you want to be transitioned out and in when you change it
107
- * (e.g. routes, images etc.) In that case you can change the `key` prop of
108
- * the transition child as you change its content, this will cause
109
- * `TransitionGroup` to transition the child out and back in.
110
- */
111
- children: PropTypes.node,
112
- /**
113
- * A convenience prop that enables or disables appear animations
114
- * for all children. Note that specifying this will override any defaults set
115
- * on individual children Transitions.
116
- */
117
- appear: PropTypes.bool,
118
- /**
119
- * A convenience prop that enables or disables enter animations
120
- * for all children. Note that specifying this will override any defaults set
121
- * on individual children Transitions.
122
- */
123
- enter: PropTypes.bool,
124
- /**
125
- * A convenience prop that enables or disables exit animations
126
- * for all children. Note that specifying this will override any defaults set
127
- * on individual children Transitions.
128
- */
129
- exit: PropTypes.bool,
130
- /**
131
- * You may need to apply reactive updates to a child as it is exiting.
132
- * This is generally done by using `cloneElement` however in the case of an exiting
133
- * child the element has already been removed and not accessible to the consumer.
134
- *
135
- * If you do need to update a child as it leaves you can provide a `childFactory`
136
- * to wrap every child, even the ones that are leaving.
137
- *
138
- * @type Function(child: ReactElement) -> ReactElement
139
- */
140
- childFactory: PropTypes.func
141
- } : {};
142
- TransitionGroup.defaultProps = defaultProps;
143
- export {
144
- TransitionGroup as default
145
- };
146
- //# sourceMappingURL=TransitionGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TransitionGroup.js","sources":["../../../../node_modules/react-transition-group/esm/TransitionGroup.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `<TransitionGroup>` renders a `<div>` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `<div>` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `<Transition>` components, that are toggled `in` and out as they\n * leave. the `<TransitionGroup>` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `<Transition>` as\n * with our `<Fade>` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;"],"names":["TransitionGroup","childFactory"],"mappings":";;;;;;;;;AASA,IAAI,SAAS,OAAO,UAAU,SAAU,KAAK;AAC3C,SAAO,OAAO,KAAK,GAAG,EAAE,IAAI,SAAU,GAAG;AACv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_ignoreList":[0]}
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- const TransitionGroupContext = React.createContext(null);
3
- export {
4
- TransitionGroupContext as default
5
- };
6
- //# sourceMappingURL=TransitionGroupContext.js.map