@spaziodati/atoka-design-system 2.0.72-beta

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 (294) hide show
  1. package/AddableItems/AddableItems.d.ts +72 -0
  2. package/AddableItems/ClickableExcludableItem.d.ts +23 -0
  3. package/AddableItems/ClickableItemList.d.ts +32 -0
  4. package/AddableItems/index.d.ts +1 -0
  5. package/AddableItems/index.js +1046 -0
  6. package/AddableItems/index.js.map +1 -0
  7. package/Alert/Alert.d.ts +37 -0
  8. package/Alert/index.d.ts +1 -0
  9. package/Alert/index.js +319 -0
  10. package/Alert/index.js.map +1 -0
  11. package/Badge/Badge.d.ts +38 -0
  12. package/Badge/index.d.ts +1 -0
  13. package/Badge/index.js +285 -0
  14. package/Badge/index.js.map +1 -0
  15. package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
  16. package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
  17. package/Bs4V3Wrapper/index.d.ts +1 -0
  18. package/Bs4V3Wrapper/index.js +251 -0
  19. package/Bs4V3Wrapper/index.js.map +1 -0
  20. package/BubbleChart/BubbleChart.d.ts +33 -0
  21. package/BubbleChart/BubbleChartUI.d.ts +31 -0
  22. package/BubbleChart/index.d.ts +1 -0
  23. package/BubbleChart/index.js +3793 -0
  24. package/BubbleChart/index.js.map +1 -0
  25. package/Button/Button.d.ts +29 -0
  26. package/Button/Button.storiesConfig.d.ts +68 -0
  27. package/Button/index.d.ts +1 -0
  28. package/Button/index.js +323 -0
  29. package/Button/index.js.map +1 -0
  30. package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
  31. package/ButtonDropdown/index.d.ts +2 -0
  32. package/ButtonDropdown/index.js +603 -0
  33. package/ButtonDropdown/index.js.map +1 -0
  34. package/CardsPage/CardsPage.d.ts +12 -0
  35. package/CardsPage/CardsPageActions.d.ts +2 -0
  36. package/CardsPage/CardsPageCards.d.ts +5 -0
  37. package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
  38. package/CardsPage/CardsPageFilters.d.ts +3 -0
  39. package/CardsPage/CardsPageHeader.d.ts +11 -0
  40. package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
  41. package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
  42. package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
  43. package/CardsPage/CardsPageSorting.d.ts +15 -0
  44. package/CardsPage/CardsPageSubtitle.d.ts +2 -0
  45. package/CardsPage/CardsPageTabContent.d.ts +19 -0
  46. package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
  47. package/CardsPage/CardsPageTitle.d.ts +2 -0
  48. package/CardsPage/index.d.ts +2 -0
  49. package/CardsPage/index.js +2511 -0
  50. package/CardsPage/index.js.map +1 -0
  51. package/CursorPagination/CursorPagination.d.ts +21 -0
  52. package/CursorPagination/index.d.ts +1 -0
  53. package/CursorPagination/index.js +952 -0
  54. package/CursorPagination/index.js.map +1 -0
  55. package/DatePicker/DatePicker.d.ts +27 -0
  56. package/DatePicker/index.d.ts +1 -0
  57. package/DatePicker/index.js +452 -0
  58. package/DatePicker/index.js.map +1 -0
  59. package/DetailPage/DetailPage.d.ts +18 -0
  60. package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
  61. package/DetailPage/DetailPageBodySection.d.ts +3 -0
  62. package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
  63. package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
  64. package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
  65. package/DetailPage/DetailPageMenuUI.d.ts +4 -0
  66. package/DetailPage/index.d.ts +1 -0
  67. package/DetailPage/index.js +2066 -0
  68. package/DetailPage/index.js.map +1 -0
  69. package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
  70. package/Dropdown/Dropdown.d.ts +12 -0
  71. package/Dropdown/DropdownMenu.d.ts +7 -0
  72. package/Dropdown/index.d.ts +3 -0
  73. package/Dropdown/index.js +723 -0
  74. package/Dropdown/index.js.map +1 -0
  75. package/EditableString/EditableString.d.ts +42 -0
  76. package/EditableString/index.d.ts +1 -0
  77. package/EditableString/index.js +3321 -0
  78. package/EditableString/index.js.map +1 -0
  79. package/EllipsableContent/EllipsableContent.d.ts +18 -0
  80. package/EllipsableContent/index.d.ts +1 -0
  81. package/EllipsableContent/index.js +784 -0
  82. package/EllipsableContent/index.js.map +1 -0
  83. package/EmptyState/EmptyState.d.ts +12 -0
  84. package/EmptyState/index.d.ts +1 -0
  85. package/EmptyState/index.js +278 -0
  86. package/EmptyState/index.js.map +1 -0
  87. package/Facet/Facet.d.ts +21 -0
  88. package/Facet/FacetHelp.d.ts +28 -0
  89. package/Facet/FacetItemCount.d.ts +7 -0
  90. package/Facet/FacetSubtitle.d.ts +2 -0
  91. package/Facet/index.d.ts +1 -0
  92. package/Facet/index.js +914 -0
  93. package/Facet/index.js.map +1 -0
  94. package/FacetSection/FacetSection.d.ts +21 -0
  95. package/FacetSection/index.d.ts +1 -0
  96. package/FacetSection/index.js +443 -0
  97. package/FacetSection/index.js.map +1 -0
  98. package/FadeAnimation/FadeAnimation.d.ts +14 -0
  99. package/FadeAnimation/index.d.ts +1 -0
  100. package/FadeAnimation/index.js +1228 -0
  101. package/FadeAnimation/index.js.map +1 -0
  102. package/FeedbackButton/FeedbackButton.d.ts +19 -0
  103. package/FeedbackButton/index.d.ts +1 -0
  104. package/FeedbackButton/index.js +398 -0
  105. package/FeedbackButton/index.js.map +1 -0
  106. package/Form/Form.d.ts +23 -0
  107. package/Form/FormCheckbox.d.ts +10 -0
  108. package/Form/FormControl.d.ts +23 -0
  109. package/Form/FormControlFeedBack.d.ts +6 -0
  110. package/Form/FormHelp.d.ts +7 -0
  111. package/Form/FormLabel.d.ts +4 -0
  112. package/Form/FormRadio.d.ts +10 -0
  113. package/Form/index.d.ts +1 -0
  114. package/Form/index.js +450 -0
  115. package/Form/index.js.map +1 -0
  116. package/Funnel/Funnel.d.ts +54 -0
  117. package/Funnel/SVGDataLabel.d.ts +11 -0
  118. package/Funnel/index.d.ts +1 -0
  119. package/Funnel/index.js +3997 -0
  120. package/Funnel/index.js.map +1 -0
  121. package/GridCard/Fixtures.d.ts +3 -0
  122. package/GridCard/GridCard.d.ts +20 -0
  123. package/GridCard/GridCardContent.d.ts +2 -0
  124. package/GridCard/GridCardFooter.d.ts +2 -0
  125. package/GridCard/GridCardHeader.d.ts +14 -0
  126. package/GridCard/GridCardMenu.d.ts +2 -0
  127. package/GridCard/GridCardTags.d.ts +2 -0
  128. package/GridCard/GridCardTitle.d.ts +6 -0
  129. package/GridCard/index.d.ts +1 -0
  130. package/GridCard/index.js +1618 -0
  131. package/GridCard/index.js.map +1 -0
  132. package/HighlightableText/HighlightableText.d.ts +21 -0
  133. package/HighlightableText/index.d.ts +1 -0
  134. package/HighlightableText/index.js +624 -0
  135. package/HighlightableText/index.js.map +1 -0
  136. package/Histogram/Histogram.d.ts +126 -0
  137. package/Histogram/Types.d.ts +19 -0
  138. package/Histogram/index.d.ts +1 -0
  139. package/Histogram/index.js +2359 -0
  140. package/Histogram/index.js.map +1 -0
  141. package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
  142. package/InlineStringEditor/index.d.ts +1 -0
  143. package/InlineStringEditor/index.js +1882 -0
  144. package/InlineStringEditor/index.js.map +1 -0
  145. package/InputGroup/InputGroup.d.ts +16 -0
  146. package/InputGroup/InputGroupText.d.ts +2 -0
  147. package/InputGroup/index.d.ts +1 -0
  148. package/InputGroup/index.js +279 -0
  149. package/InputGroup/index.js.map +1 -0
  150. package/Jumbotron/Jumbotron.d.ts +16 -0
  151. package/Jumbotron/index.d.ts +1 -0
  152. package/Jumbotron/index.js +270 -0
  153. package/Jumbotron/index.js.map +1 -0
  154. package/Map/Map.d.ts +27 -0
  155. package/Map/MapChoropleth.d.ts +31 -0
  156. package/Map/MapControl.d.ts +13 -0
  157. package/Map/MapLegendContent.d.ts +27 -0
  158. package/Map/MapPopup.d.ts +5 -0
  159. package/Map/MapUtils.d.ts +2 -0
  160. package/Map/Types.d.ts +38 -0
  161. package/Map/index.d.ts +2 -0
  162. package/Map/index.js +4810 -0
  163. package/Map/index.js.map +1 -0
  164. package/Modal/Modal.d.ts +32 -0
  165. package/Modal/index.d.ts +1 -0
  166. package/Modal/index.js +743 -0
  167. package/Modal/index.js.map +1 -0
  168. package/Navbar/Navbar.d.ts +42 -0
  169. package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
  170. package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
  171. package/Navbar/NavbarNavigationMenu.d.ts +9 -0
  172. package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
  173. package/Navbar/NavbarNinjaMenu.d.ts +6 -0
  174. package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
  175. package/Navbar/NavbarNotificationMenu.d.ts +12 -0
  176. package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
  177. package/Navbar/NavbarOverlaySearch.d.ts +28 -0
  178. package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
  179. package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
  180. package/Navbar/NavbarUserMenu.d.ts +9 -0
  181. package/Navbar/NavbarUserMenuItem.d.ts +6 -0
  182. package/Navbar/index.d.ts +1 -0
  183. package/Navbar/index.js +3521 -0
  184. package/Navbar/index.js.map +1 -0
  185. package/Pagination/Pagination.d.ts +27 -0
  186. package/Pagination/PaginationNext.d.ts +7 -0
  187. package/Pagination/PaginationPrev.d.ts +7 -0
  188. package/Pagination/index.d.ts +1 -0
  189. package/Pagination/index.js +994 -0
  190. package/Pagination/index.js.map +1 -0
  191. package/PieChart/PieChart.d.ts +71 -0
  192. package/PieChart/index.d.ts +1 -0
  193. package/PieChart/index.js +1986 -0
  194. package/PieChart/index.js.map +1 -0
  195. package/PublicFooter/PublicFooter.d.ts +6 -0
  196. package/PublicFooter/index.d.ts +1 -0
  197. package/PublicFooter/index.js +454 -0
  198. package/PublicFooter/index.js.map +1 -0
  199. package/PublicNavbar/PublicNavbar.d.ts +6 -0
  200. package/PublicNavbar/index.d.ts +1 -0
  201. package/PublicNavbar/index.js +255 -0
  202. package/PublicNavbar/index.js.map +1 -0
  203. package/RecordBit/RecordBit.d.ts +14 -0
  204. package/RecordBit/index.d.ts +1 -0
  205. package/RecordBit/index.js +482 -0
  206. package/RecordBit/index.js.map +1 -0
  207. package/ResultItemCard/ResultItemCard.d.ts +19 -0
  208. package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
  209. package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
  210. package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
  211. package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
  212. package/ResultItemCard/ResultItemCardText.d.ts +7 -0
  213. package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
  214. package/ResultItemCard/index.d.ts +1 -0
  215. package/ResultItemCard/index.js +1067 -0
  216. package/ResultItemCard/index.js.map +1 -0
  217. package/SelectDropdown/SelectDropdown.d.ts +29 -0
  218. package/SelectDropdown/index.d.ts +1 -0
  219. package/SelectDropdown/index.js +1520 -0
  220. package/SelectDropdown/index.js.map +1 -0
  221. package/Spinner/Spinner.d.ts +32 -0
  222. package/Spinner/index.d.ts +1 -0
  223. package/Spinner/index.js +325 -0
  224. package/Spinner/index.js.map +1 -0
  225. package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
  226. package/StatisticsItemCard/index.d.ts +1 -0
  227. package/StatisticsItemCard/index.js +1786 -0
  228. package/StatisticsItemCard/index.js.map +1 -0
  229. package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
  230. package/StatisticsItemNumeric/index.d.ts +1 -0
  231. package/StatisticsItemNumeric/index.js +283 -0
  232. package/StatisticsItemNumeric/index.js.map +1 -0
  233. package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
  234. package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
  235. package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
  236. package/StatisticsLegend/helpers.d.ts +19 -0
  237. package/StatisticsLegend/index.d.ts +3 -0
  238. package/StatisticsLegend/index.js +1571 -0
  239. package/StatisticsLegend/index.js.map +1 -0
  240. package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
  241. package/StatisticsTooltip/helpers.d.ts +19 -0
  242. package/StatisticsTooltip/index.d.ts +2 -0
  243. package/StatisticsTooltip/index.js +796 -0
  244. package/StatisticsTooltip/index.js.map +1 -0
  245. package/Suggester/CustomOption.d.ts +29 -0
  246. package/Suggester/InputValueContainer.d.ts +11 -0
  247. package/Suggester/Suggester.d.ts +80 -0
  248. package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
  249. package/Suggester/index.d.ts +3 -0
  250. package/Suggester/index.js +1126 -0
  251. package/Suggester/index.js.map +1 -0
  252. package/SunBurst/SunBurst.d.ts +61 -0
  253. package/SunBurst/index.d.ts +2 -0
  254. package/SunBurst/index.js +1170 -0
  255. package/SunBurst/index.js.map +1 -0
  256. package/TabSwitcher/TabSwitcher.d.ts +35 -0
  257. package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
  258. package/TabSwitcher/index.d.ts +1 -0
  259. package/TabSwitcher/index.js +1135 -0
  260. package/TabSwitcher/index.js.map +1 -0
  261. package/Title/Title.d.ts +16 -0
  262. package/Title/index.d.ts +1 -0
  263. package/Title/index.js +302 -0
  264. package/Title/index.js.map +1 -0
  265. package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
  266. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
  267. package/ToggleButtonGroup/index.d.ts +1 -0
  268. package/ToggleButtonGroup/index.js +609 -0
  269. package/ToggleButtonGroup/index.js.map +1 -0
  270. package/Tooltip/Tooltip.d.ts +20 -0
  271. package/Tooltip/index.d.ts +1 -0
  272. package/Tooltip/index.js +291 -0
  273. package/Tooltip/index.js.map +1 -0
  274. package/Utils/CommonTypes.d.ts +29 -0
  275. package/Utils/Statistics.d.ts +3 -0
  276. package/Utils/Style.d.ts +5 -0
  277. package/Utils/Text.d.ts +12 -0
  278. package/Utils/Utils.d.ts +12 -0
  279. package/Utils/index.d.ts +5 -0
  280. package/Utils/index.js +3379 -0
  281. package/Utils/index.js.map +1 -0
  282. package/atoka-design-system-2.0.72-beta.min.css +1 -0
  283. package/commonFixtures.d.ts +1 -0
  284. package/index.d.ts +51 -0
  285. package/index.js +15343 -0
  286. package/index.js.map +1 -0
  287. package/package.json +157 -0
  288. package/styles/animations-mixin.less +28 -0
  289. package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
  290. package/styles/atoka-bootstrap-variables.less +70 -0
  291. package/styles/atoka-bs.less +99 -0
  292. package/styles/atoka-namespaced-bs.less +28 -0
  293. package/styles/variables.less +106 -0
  294. package/styles/variant-mixins.less +96 -0
@@ -0,0 +1,1228 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("react"), require("react-dom"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["react", "react-dom"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("react"), require("react-dom"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["react"], root["react-dom"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__7111__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 1018:
15
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16
+
17
+ "use strict";
18
+ // ESM COMPAT FLAG
19
+ __webpack_require__.r(__webpack_exports__);
20
+
21
+ // EXPORTS
22
+ __webpack_require__.d(__webpack_exports__, {
23
+ "FadeAnimation": () => (/* reexport */ FadeAnimation)
24
+ });
25
+
26
+ // EXTERNAL MODULE: external "react"
27
+ var external_react_ = __webpack_require__(8156);
28
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
29
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js + 5 modules
30
+ var CSSTransition = __webpack_require__(1750);
31
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/FadeAnimation.tsx
32
+ var __extends = (undefined && undefined.__extends) || (function () {
33
+ var extendStatics = function (d, b) {
34
+ extendStatics = Object.setPrototypeOf ||
35
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
36
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
37
+ return extendStatics(d, b);
38
+ };
39
+ return function (d, b) {
40
+ extendStatics(d, b);
41
+ function __() { this.constructor = d; }
42
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
43
+ };
44
+ })();
45
+
46
+
47
+
48
+ var FadeAnimation = /** @class */ (function (_super) {
49
+ __extends(FadeAnimation, _super);
50
+ function FadeAnimation() {
51
+ return _super !== null && _super.apply(this, arguments) || this;
52
+ }
53
+ FadeAnimation.prototype.render = function () {
54
+ var _a = this.props, duration = _a.duration, appearDelay = _a.appearDelay, name = "atoka-fadein-" + duration + "-" + appearDelay;
55
+ return (external_react_default().createElement(CSSTransition/* default */.Z, { timeout: duration + appearDelay, classNames: name, in: this.props.in, appear: true }, this.props.children));
56
+ };
57
+ FadeAnimation.displayName = 'FadeAnimation';
58
+ FadeAnimation.defaultProps = {
59
+ duration: 600,
60
+ appearDelay: 0,
61
+ in: true,
62
+ };
63
+ return FadeAnimation;
64
+ }((external_react_default()).PureComponent));
65
+
66
+
67
+ ;// CONCATENATED MODULE: ./src/components/FadeAnimation/index.ts
68
+
69
+
70
+
71
+ /***/ }),
72
+
73
+ /***/ 9112:
74
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
75
+
76
+ "use strict";
77
+ /**
78
+ * Copyright (c) 2013-present, Facebook, Inc.
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */
83
+
84
+
85
+ var ReactPropTypesSecret = __webpack_require__(5073);
86
+
87
+ function emptyFunction() {}
88
+
89
+ function emptyFunctionWithReset() {}
90
+
91
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
92
+
93
+ module.exports = function () {
94
+ function shim(props, propName, componentName, location, propFullName, secret) {
95
+ if (secret === ReactPropTypesSecret) {
96
+ // It is still safe when called from React.
97
+ return;
98
+ }
99
+
100
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
101
+ err.name = 'Invariant Violation';
102
+ throw err;
103
+ }
104
+
105
+ ;
106
+ shim.isRequired = shim;
107
+
108
+ function getShim() {
109
+ return shim;
110
+ }
111
+
112
+ ; // Important!
113
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
114
+
115
+ var ReactPropTypes = {
116
+ array: shim,
117
+ bool: shim,
118
+ func: shim,
119
+ number: shim,
120
+ object: shim,
121
+ string: shim,
122
+ symbol: shim,
123
+ any: shim,
124
+ arrayOf: getShim,
125
+ element: shim,
126
+ elementType: shim,
127
+ instanceOf: getShim,
128
+ node: shim,
129
+ objectOf: getShim,
130
+ oneOf: getShim,
131
+ oneOfType: getShim,
132
+ shape: getShim,
133
+ exact: getShim,
134
+ checkPropTypes: emptyFunctionWithReset,
135
+ resetWarningCache: emptyFunction
136
+ };
137
+ ReactPropTypes.PropTypes = ReactPropTypes;
138
+ return ReactPropTypes;
139
+ };
140
+
141
+ /***/ }),
142
+
143
+ /***/ 8691:
144
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
145
+
146
+ /**
147
+ * Copyright (c) 2013-present, Facebook, Inc.
148
+ *
149
+ * This source code is licensed under the MIT license found in the
150
+ * LICENSE file in the root directory of this source tree.
151
+ */
152
+ if (false) { var throwOnDirectAccess, ReactIs; } else {
153
+ // By explicitly using `prop-types` you are opting into new production behavior.
154
+ // http://fb.me/prop-types-in-prod
155
+ module.exports = __webpack_require__(9112)();
156
+ }
157
+
158
+ /***/ }),
159
+
160
+ /***/ 5073:
161
+ /***/ ((module) => {
162
+
163
+ "use strict";
164
+ /**
165
+ * Copyright (c) 2013-present, Facebook, Inc.
166
+ *
167
+ * This source code is licensed under the MIT license found in the
168
+ * LICENSE file in the root directory of this source tree.
169
+ */
170
+
171
+
172
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
173
+ module.exports = ReactPropTypesSecret;
174
+
175
+ /***/ }),
176
+
177
+ /***/ 1750:
178
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
179
+
180
+ "use strict";
181
+
182
+ // EXPORTS
183
+ __webpack_require__.d(__webpack_exports__, {
184
+ "Z": () => (/* binding */ esm_CSSTransition)
185
+ });
186
+
187
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
188
+ var esm_extends = __webpack_require__(32);
189
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
190
+ var objectWithoutPropertiesLoose = __webpack_require__(7038);
191
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules
192
+ var inheritsLoose = __webpack_require__(7581);
193
+ // EXTERNAL MODULE: ./node_modules/prop-types/index.js
194
+ var prop_types = __webpack_require__(8691);
195
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/hasClass.js
196
+ function hasClass(element, className) {
197
+ if (element.classList) return !!className && element.classList.contains(className);
198
+ return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
199
+ }
200
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/addClass.js
201
+
202
+ function addClass_addClass(element, className) {
203
+ if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
204
+ }
205
+ ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/removeClass.js
206
+ function replaceClassName(origClass, classToRemove) {
207
+ return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
208
+ }
209
+
210
+ function removeClass_removeClass(element, className) {
211
+ if (element.classList) {
212
+ element.classList.remove(className);
213
+ } else if (typeof element.className === 'string') {
214
+ ;
215
+ element.className = replaceClassName(element.className, className);
216
+ } else {
217
+ element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));
218
+ }
219
+ }
220
+ // EXTERNAL MODULE: external "react"
221
+ var external_react_ = __webpack_require__(8156);
222
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
223
+ // EXTERNAL MODULE: external "react-dom"
224
+ var external_react_dom_ = __webpack_require__(7111);
225
+ var external_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_react_dom_);
226
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/config.js
227
+ /* harmony default export */ const config = ({
228
+ disabled: false
229
+ });
230
+ // EXTERNAL MODULE: ./node_modules/react-transition-group/esm/TransitionGroupContext.js
231
+ var TransitionGroupContext = __webpack_require__(3493);
232
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/Transition.js
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ var UNMOUNTED = 'unmounted';
242
+ var EXITED = 'exited';
243
+ var ENTERING = 'entering';
244
+ var ENTERED = 'entered';
245
+ var EXITING = 'exiting';
246
+ /**
247
+ * The Transition component lets you describe a transition from one component
248
+ * state to another _over time_ with a simple declarative API. Most commonly
249
+ * it's used to animate the mounting and unmounting of a component, but can also
250
+ * be used to describe in-place transition states as well.
251
+ *
252
+ * ---
253
+ *
254
+ * **Note**: `Transition` is a platform-agnostic base component. If you're using
255
+ * transitions in CSS, you'll probably want to use
256
+ * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
257
+ * instead. It inherits all the features of `Transition`, but contains
258
+ * additional features necessary to play nice with CSS transitions (hence the
259
+ * name of the component).
260
+ *
261
+ * ---
262
+ *
263
+ * By default the `Transition` component does not alter the behavior of the
264
+ * component it renders, it only tracks "enter" and "exit" states for the
265
+ * components. It's up to you to give meaning and effect to those states. For
266
+ * example we can add styles to a component when it enters or exits:
267
+ *
268
+ * ```jsx
269
+ * import { Transition } from 'react-transition-group';
270
+ *
271
+ * const duration = 300;
272
+ *
273
+ * const defaultStyle = {
274
+ * transition: `opacity ${duration}ms ease-in-out`,
275
+ * opacity: 0,
276
+ * }
277
+ *
278
+ * const transitionStyles = {
279
+ * entering: { opacity: 1 },
280
+ * entered: { opacity: 1 },
281
+ * exiting: { opacity: 0 },
282
+ * exited: { opacity: 0 },
283
+ * };
284
+ *
285
+ * const Fade = ({ in: inProp }) => (
286
+ * <Transition in={inProp} timeout={duration}>
287
+ * {state => (
288
+ * <div style={{
289
+ * ...defaultStyle,
290
+ * ...transitionStyles[state]
291
+ * }}>
292
+ * I'm a fade Transition!
293
+ * </div>
294
+ * )}
295
+ * </Transition>
296
+ * );
297
+ * ```
298
+ *
299
+ * There are 4 main states a Transition can be in:
300
+ * - `'entering'`
301
+ * - `'entered'`
302
+ * - `'exiting'`
303
+ * - `'exited'`
304
+ *
305
+ * Transition state is toggled via the `in` prop. When `true` the component
306
+ * begins the "Enter" stage. During this stage, the component will shift from
307
+ * its current transition state, to `'entering'` for the duration of the
308
+ * transition and then to the `'entered'` stage once it's complete. Let's take
309
+ * the following example (we'll use the
310
+ * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
311
+ *
312
+ * ```jsx
313
+ * function App() {
314
+ * const [inProp, setInProp] = useState(false);
315
+ * return (
316
+ * <div>
317
+ * <Transition in={inProp} timeout={500}>
318
+ * {state => (
319
+ * // ...
320
+ * )}
321
+ * </Transition>
322
+ * <button onClick={() => setInProp(true)}>
323
+ * Click to Enter
324
+ * </button>
325
+ * </div>
326
+ * );
327
+ * }
328
+ * ```
329
+ *
330
+ * When the button is clicked the component will shift to the `'entering'` state
331
+ * and stay there for 500ms (the value of `timeout`) before it finally switches
332
+ * to `'entered'`.
333
+ *
334
+ * When `in` is `false` the same thing happens except the state moves from
335
+ * `'exiting'` to `'exited'`.
336
+ */
337
+
338
+ var Transition = /*#__PURE__*/function (_React$Component) {
339
+ (0,inheritsLoose/* default */.Z)(Transition, _React$Component);
340
+
341
+ function Transition(props, context) {
342
+ var _this;
343
+
344
+ _this = _React$Component.call(this, props, context) || this;
345
+ var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
346
+
347
+ var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
348
+ var initialStatus;
349
+ _this.appearStatus = null;
350
+
351
+ if (props["in"]) {
352
+ if (appear) {
353
+ initialStatus = EXITED;
354
+ _this.appearStatus = ENTERING;
355
+ } else {
356
+ initialStatus = ENTERED;
357
+ }
358
+ } else {
359
+ if (props.unmountOnExit || props.mountOnEnter) {
360
+ initialStatus = UNMOUNTED;
361
+ } else {
362
+ initialStatus = EXITED;
363
+ }
364
+ }
365
+
366
+ _this.state = {
367
+ status: initialStatus
368
+ };
369
+ _this.nextCallback = null;
370
+ return _this;
371
+ }
372
+
373
+ Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
374
+ var nextIn = _ref["in"];
375
+
376
+ if (nextIn && prevState.status === UNMOUNTED) {
377
+ return {
378
+ status: EXITED
379
+ };
380
+ }
381
+
382
+ return null;
383
+ } // getSnapshotBeforeUpdate(prevProps) {
384
+ // let nextStatus = null
385
+ // if (prevProps !== this.props) {
386
+ // const { status } = this.state
387
+ // if (this.props.in) {
388
+ // if (status !== ENTERING && status !== ENTERED) {
389
+ // nextStatus = ENTERING
390
+ // }
391
+ // } else {
392
+ // if (status === ENTERING || status === ENTERED) {
393
+ // nextStatus = EXITING
394
+ // }
395
+ // }
396
+ // }
397
+ // return { nextStatus }
398
+ // }
399
+ ;
400
+
401
+ var _proto = Transition.prototype;
402
+
403
+ _proto.componentDidMount = function componentDidMount() {
404
+ this.updateStatus(true, this.appearStatus);
405
+ };
406
+
407
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
408
+ var nextStatus = null;
409
+
410
+ if (prevProps !== this.props) {
411
+ var status = this.state.status;
412
+
413
+ if (this.props["in"]) {
414
+ if (status !== ENTERING && status !== ENTERED) {
415
+ nextStatus = ENTERING;
416
+ }
417
+ } else {
418
+ if (status === ENTERING || status === ENTERED) {
419
+ nextStatus = EXITING;
420
+ }
421
+ }
422
+ }
423
+
424
+ this.updateStatus(false, nextStatus);
425
+ };
426
+
427
+ _proto.componentWillUnmount = function componentWillUnmount() {
428
+ this.cancelNextCallback();
429
+ };
430
+
431
+ _proto.getTimeouts = function getTimeouts() {
432
+ var timeout = this.props.timeout;
433
+ var exit, enter, appear;
434
+ exit = enter = appear = timeout;
435
+
436
+ if (timeout != null && typeof timeout !== 'number') {
437
+ exit = timeout.exit;
438
+ enter = timeout.enter; // TODO: remove fallback for next major
439
+
440
+ appear = timeout.appear !== undefined ? timeout.appear : enter;
441
+ }
442
+
443
+ return {
444
+ exit: exit,
445
+ enter: enter,
446
+ appear: appear
447
+ };
448
+ };
449
+
450
+ _proto.updateStatus = function updateStatus(mounting, nextStatus) {
451
+ if (mounting === void 0) {
452
+ mounting = false;
453
+ }
454
+
455
+ if (nextStatus !== null) {
456
+ // nextStatus will always be ENTERING or EXITING.
457
+ this.cancelNextCallback();
458
+
459
+ if (nextStatus === ENTERING) {
460
+ this.performEnter(mounting);
461
+ } else {
462
+ this.performExit();
463
+ }
464
+ } else if (this.props.unmountOnExit && this.state.status === EXITED) {
465
+ this.setState({
466
+ status: UNMOUNTED
467
+ });
468
+ }
469
+ };
470
+
471
+ _proto.performEnter = function performEnter(mounting) {
472
+ var _this2 = this;
473
+
474
+ var enter = this.props.enter;
475
+ var appearing = this.context ? this.context.isMounting : mounting;
476
+
477
+ var _ref2 = this.props.nodeRef ? [appearing] : [external_react_dom_default().findDOMNode(this), appearing],
478
+ maybeNode = _ref2[0],
479
+ maybeAppearing = _ref2[1];
480
+
481
+ var timeouts = this.getTimeouts();
482
+ var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
483
+ // if we are mounting and running this it means appear _must_ be set
484
+
485
+ if (!mounting && !enter || config.disabled) {
486
+ this.safeSetState({
487
+ status: ENTERED
488
+ }, function () {
489
+ _this2.props.onEntered(maybeNode);
490
+ });
491
+ return;
492
+ }
493
+
494
+ this.props.onEnter(maybeNode, maybeAppearing);
495
+ this.safeSetState({
496
+ status: ENTERING
497
+ }, function () {
498
+ _this2.props.onEntering(maybeNode, maybeAppearing);
499
+
500
+ _this2.onTransitionEnd(enterTimeout, function () {
501
+ _this2.safeSetState({
502
+ status: ENTERED
503
+ }, function () {
504
+ _this2.props.onEntered(maybeNode, maybeAppearing);
505
+ });
506
+ });
507
+ });
508
+ };
509
+
510
+ _proto.performExit = function performExit() {
511
+ var _this3 = this;
512
+
513
+ var exit = this.props.exit;
514
+ var timeouts = this.getTimeouts();
515
+ var maybeNode = this.props.nodeRef ? undefined : external_react_dom_default().findDOMNode(this); // no exit animation skip right to EXITED
516
+
517
+ if (!exit || config.disabled) {
518
+ this.safeSetState({
519
+ status: EXITED
520
+ }, function () {
521
+ _this3.props.onExited(maybeNode);
522
+ });
523
+ return;
524
+ }
525
+
526
+ this.props.onExit(maybeNode);
527
+ this.safeSetState({
528
+ status: EXITING
529
+ }, function () {
530
+ _this3.props.onExiting(maybeNode);
531
+
532
+ _this3.onTransitionEnd(timeouts.exit, function () {
533
+ _this3.safeSetState({
534
+ status: EXITED
535
+ }, function () {
536
+ _this3.props.onExited(maybeNode);
537
+ });
538
+ });
539
+ });
540
+ };
541
+
542
+ _proto.cancelNextCallback = function cancelNextCallback() {
543
+ if (this.nextCallback !== null) {
544
+ this.nextCallback.cancel();
545
+ this.nextCallback = null;
546
+ }
547
+ };
548
+
549
+ _proto.safeSetState = function safeSetState(nextState, callback) {
550
+ // This shouldn't be necessary, but there are weird race conditions with
551
+ // setState callbacks and unmounting in testing, so always make sure that
552
+ // we can cancel any pending setState callbacks after we unmount.
553
+ callback = this.setNextCallback(callback);
554
+ this.setState(nextState, callback);
555
+ };
556
+
557
+ _proto.setNextCallback = function setNextCallback(callback) {
558
+ var _this4 = this;
559
+
560
+ var active = true;
561
+
562
+ this.nextCallback = function (event) {
563
+ if (active) {
564
+ active = false;
565
+ _this4.nextCallback = null;
566
+ callback(event);
567
+ }
568
+ };
569
+
570
+ this.nextCallback.cancel = function () {
571
+ active = false;
572
+ };
573
+
574
+ return this.nextCallback;
575
+ };
576
+
577
+ _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
578
+ this.setNextCallback(handler);
579
+ var node = this.props.nodeRef ? this.props.nodeRef.current : external_react_dom_default().findDOMNode(this);
580
+ var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
581
+
582
+ if (!node || doesNotHaveTimeoutOrListener) {
583
+ setTimeout(this.nextCallback, 0);
584
+ return;
585
+ }
586
+
587
+ if (this.props.addEndListener) {
588
+ var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
589
+ maybeNode = _ref3[0],
590
+ maybeNextCallback = _ref3[1];
591
+
592
+ this.props.addEndListener(maybeNode, maybeNextCallback);
593
+ }
594
+
595
+ if (timeout != null) {
596
+ setTimeout(this.nextCallback, timeout);
597
+ }
598
+ };
599
+
600
+ _proto.render = function render() {
601
+ var status = this.state.status;
602
+
603
+ if (status === UNMOUNTED) {
604
+ return null;
605
+ }
606
+
607
+ var _this$props = this.props,
608
+ children = _this$props.children,
609
+ _in = _this$props["in"],
610
+ _mountOnEnter = _this$props.mountOnEnter,
611
+ _unmountOnExit = _this$props.unmountOnExit,
612
+ _appear = _this$props.appear,
613
+ _enter = _this$props.enter,
614
+ _exit = _this$props.exit,
615
+ _timeout = _this$props.timeout,
616
+ _addEndListener = _this$props.addEndListener,
617
+ _onEnter = _this$props.onEnter,
618
+ _onEntering = _this$props.onEntering,
619
+ _onEntered = _this$props.onEntered,
620
+ _onExit = _this$props.onExit,
621
+ _onExiting = _this$props.onExiting,
622
+ _onExited = _this$props.onExited,
623
+ _nodeRef = _this$props.nodeRef,
624
+ childProps = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
625
+
626
+ return (
627
+ /*#__PURE__*/
628
+ // allows for nested Transitions
629
+ external_react_default().createElement(TransitionGroupContext/* default.Provider */.Z.Provider, {
630
+ value: null
631
+ }, typeof children === 'function' ? children(status, childProps) : external_react_default().cloneElement(external_react_default().Children.only(children), childProps))
632
+ );
633
+ };
634
+
635
+ return Transition;
636
+ }((external_react_default()).Component);
637
+
638
+ Transition.contextType = TransitionGroupContext/* default */.Z;
639
+ Transition.propTypes = false ? 0 : {}; // Name the function so it is clearer in the documentation
640
+
641
+ function noop() {}
642
+
643
+ Transition.defaultProps = {
644
+ "in": false,
645
+ mountOnEnter: false,
646
+ unmountOnExit: false,
647
+ appear: false,
648
+ enter: true,
649
+ exit: true,
650
+ onEnter: noop,
651
+ onEntering: noop,
652
+ onEntered: noop,
653
+ onExit: noop,
654
+ onExiting: noop,
655
+ onExited: noop
656
+ };
657
+ Transition.UNMOUNTED = UNMOUNTED;
658
+ Transition.EXITED = EXITED;
659
+ Transition.ENTERING = ENTERING;
660
+ Transition.ENTERED = ENTERED;
661
+ Transition.EXITING = EXITING;
662
+ /* harmony default export */ const esm_Transition = (Transition);
663
+ ;// CONCATENATED MODULE: ./node_modules/react-transition-group/esm/CSSTransition.js
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+ var _addClass = function addClass(node, classes) {
675
+ return node && classes && classes.split(' ').forEach(function (c) {
676
+ return addClass_addClass(node, c);
677
+ });
678
+ };
679
+
680
+ var removeClass = function removeClass(node, classes) {
681
+ return node && classes && classes.split(' ').forEach(function (c) {
682
+ return removeClass_removeClass(node, c);
683
+ });
684
+ };
685
+ /**
686
+ * A transition component inspired by the excellent
687
+ * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should
688
+ * use it if you're using CSS transitions or animations. It's built upon the
689
+ * [`Transition`](https://reactcommunity.org/react-transition-group/transition)
690
+ * component, so it inherits all of its props.
691
+ *
692
+ * `CSSTransition` applies a pair of class names during the `appear`, `enter`,
693
+ * and `exit` states of the transition. The first class is applied and then a
694
+ * second `*-active` class in order to activate the CSS transition. After the
695
+ * transition, matching `*-done` class names are applied to persist the
696
+ * transition state.
697
+ *
698
+ * ```jsx
699
+ * function App() {
700
+ * const [inProp, setInProp] = useState(false);
701
+ * return (
702
+ * <div>
703
+ * <CSSTransition in={inProp} timeout={200} classNames="my-node">
704
+ * <div>
705
+ * {"I'll receive my-node-* classes"}
706
+ * </div>
707
+ * </CSSTransition>
708
+ * <button type="button" onClick={() => setInProp(true)}>
709
+ * Click to Enter
710
+ * </button>
711
+ * </div>
712
+ * );
713
+ * }
714
+ * ```
715
+ *
716
+ * When the `in` prop is set to `true`, the child component will first receive
717
+ * the class `example-enter`, then the `example-enter-active` will be added in
718
+ * the next tick. `CSSTransition` [forces a
719
+ * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)
720
+ * between before adding the `example-enter-active`. This is an important trick
721
+ * because it allows us to transition between `example-enter` and
722
+ * `example-enter-active` even though they were added immediately one after
723
+ * another. Most notably, this is what makes it possible for us to animate
724
+ * _appearance_.
725
+ *
726
+ * ```css
727
+ * .my-node-enter {
728
+ * opacity: 0;
729
+ * }
730
+ * .my-node-enter-active {
731
+ * opacity: 1;
732
+ * transition: opacity 200ms;
733
+ * }
734
+ * .my-node-exit {
735
+ * opacity: 1;
736
+ * }
737
+ * .my-node-exit-active {
738
+ * opacity: 0;
739
+ * transition: opacity 200ms;
740
+ * }
741
+ * ```
742
+ *
743
+ * `*-active` classes represent which styles you want to animate **to**, so it's
744
+ * important to add `transition` declaration only to them, otherwise transitions
745
+ * might not behave as intended! This might not be obvious when the transitions
746
+ * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in
747
+ * the example above (minus `transition`), but it becomes apparent in more
748
+ * complex transitions.
749
+ *
750
+ * **Note**: If you're using the
751
+ * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)
752
+ * prop, make sure to define styles for `.appear-*` classes as well.
753
+ */
754
+
755
+
756
+ var CSSTransition = /*#__PURE__*/function (_React$Component) {
757
+ (0,inheritsLoose/* default */.Z)(CSSTransition, _React$Component);
758
+
759
+ function CSSTransition() {
760
+ var _this;
761
+
762
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
763
+ args[_key] = arguments[_key];
764
+ }
765
+
766
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
767
+ _this.appliedClasses = {
768
+ appear: {},
769
+ enter: {},
770
+ exit: {}
771
+ };
772
+
773
+ _this.onEnter = function (maybeNode, maybeAppearing) {
774
+ var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing),
775
+ node = _this$resolveArgument[0],
776
+ appearing = _this$resolveArgument[1];
777
+
778
+ _this.removeClasses(node, 'exit');
779
+
780
+ _this.addClass(node, appearing ? 'appear' : 'enter', 'base');
781
+
782
+ if (_this.props.onEnter) {
783
+ _this.props.onEnter(maybeNode, maybeAppearing);
784
+ }
785
+ };
786
+
787
+ _this.onEntering = function (maybeNode, maybeAppearing) {
788
+ var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing),
789
+ node = _this$resolveArgument2[0],
790
+ appearing = _this$resolveArgument2[1];
791
+
792
+ var type = appearing ? 'appear' : 'enter';
793
+
794
+ _this.addClass(node, type, 'active');
795
+
796
+ if (_this.props.onEntering) {
797
+ _this.props.onEntering(maybeNode, maybeAppearing);
798
+ }
799
+ };
800
+
801
+ _this.onEntered = function (maybeNode, maybeAppearing) {
802
+ var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing),
803
+ node = _this$resolveArgument3[0],
804
+ appearing = _this$resolveArgument3[1];
805
+
806
+ var type = appearing ? 'appear' : 'enter';
807
+
808
+ _this.removeClasses(node, type);
809
+
810
+ _this.addClass(node, type, 'done');
811
+
812
+ if (_this.props.onEntered) {
813
+ _this.props.onEntered(maybeNode, maybeAppearing);
814
+ }
815
+ };
816
+
817
+ _this.onExit = function (maybeNode) {
818
+ var _this$resolveArgument4 = _this.resolveArguments(maybeNode),
819
+ node = _this$resolveArgument4[0];
820
+
821
+ _this.removeClasses(node, 'appear');
822
+
823
+ _this.removeClasses(node, 'enter');
824
+
825
+ _this.addClass(node, 'exit', 'base');
826
+
827
+ if (_this.props.onExit) {
828
+ _this.props.onExit(maybeNode);
829
+ }
830
+ };
831
+
832
+ _this.onExiting = function (maybeNode) {
833
+ var _this$resolveArgument5 = _this.resolveArguments(maybeNode),
834
+ node = _this$resolveArgument5[0];
835
+
836
+ _this.addClass(node, 'exit', 'active');
837
+
838
+ if (_this.props.onExiting) {
839
+ _this.props.onExiting(maybeNode);
840
+ }
841
+ };
842
+
843
+ _this.onExited = function (maybeNode) {
844
+ var _this$resolveArgument6 = _this.resolveArguments(maybeNode),
845
+ node = _this$resolveArgument6[0];
846
+
847
+ _this.removeClasses(node, 'exit');
848
+
849
+ _this.addClass(node, 'exit', 'done');
850
+
851
+ if (_this.props.onExited) {
852
+ _this.props.onExited(maybeNode);
853
+ }
854
+ };
855
+
856
+ _this.resolveArguments = function (maybeNode, maybeAppearing) {
857
+ return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing`
858
+ : [maybeNode, maybeAppearing];
859
+ };
860
+
861
+ _this.getClassNames = function (type) {
862
+ var classNames = _this.props.classNames;
863
+ var isStringClassNames = typeof classNames === 'string';
864
+ var prefix = isStringClassNames && classNames ? classNames + "-" : '';
865
+ var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type];
866
+ var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"];
867
+ var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"];
868
+ return {
869
+ baseClassName: baseClassName,
870
+ activeClassName: activeClassName,
871
+ doneClassName: doneClassName
872
+ };
873
+ };
874
+
875
+ return _this;
876
+ }
877
+
878
+ var _proto = CSSTransition.prototype;
879
+
880
+ _proto.addClass = function addClass(node, type, phase) {
881
+ var className = this.getClassNames(type)[phase + "ClassName"];
882
+
883
+ var _this$getClassNames = this.getClassNames('enter'),
884
+ doneClassName = _this$getClassNames.doneClassName;
885
+
886
+ if (type === 'appear' && phase === 'done' && doneClassName) {
887
+ className += " " + doneClassName;
888
+ } // This is for to force a repaint,
889
+ // which is necessary in order to transition styles when adding a class name.
890
+
891
+
892
+ if (phase === 'active') {
893
+ /* eslint-disable no-unused-expressions */
894
+ node && node.scrollTop;
895
+ }
896
+
897
+ if (className) {
898
+ this.appliedClasses[type][phase] = className;
899
+
900
+ _addClass(node, className);
901
+ }
902
+ };
903
+
904
+ _proto.removeClasses = function removeClasses(node, type) {
905
+ var _this$appliedClasses$ = this.appliedClasses[type],
906
+ baseClassName = _this$appliedClasses$.base,
907
+ activeClassName = _this$appliedClasses$.active,
908
+ doneClassName = _this$appliedClasses$.done;
909
+ this.appliedClasses[type] = {};
910
+
911
+ if (baseClassName) {
912
+ removeClass(node, baseClassName);
913
+ }
914
+
915
+ if (activeClassName) {
916
+ removeClass(node, activeClassName);
917
+ }
918
+
919
+ if (doneClassName) {
920
+ removeClass(node, doneClassName);
921
+ }
922
+ };
923
+
924
+ _proto.render = function render() {
925
+ var _this$props = this.props,
926
+ _ = _this$props.classNames,
927
+ props = (0,objectWithoutPropertiesLoose/* default */.Z)(_this$props, ["classNames"]);
928
+
929
+ return /*#__PURE__*/external_react_default().createElement(esm_Transition, (0,esm_extends/* default */.Z)({}, props, {
930
+ onEnter: this.onEnter,
931
+ onEntered: this.onEntered,
932
+ onEntering: this.onEntering,
933
+ onExit: this.onExit,
934
+ onExiting: this.onExiting,
935
+ onExited: this.onExited
936
+ }));
937
+ };
938
+
939
+ return CSSTransition;
940
+ }((external_react_default()).Component);
941
+
942
+ CSSTransition.defaultProps = {
943
+ classNames: ''
944
+ };
945
+ CSSTransition.propTypes = false ? 0 : {};
946
+ /* harmony default export */ const esm_CSSTransition = (CSSTransition);
947
+
948
+ /***/ }),
949
+
950
+ /***/ 3493:
951
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
952
+
953
+ "use strict";
954
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
955
+ /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
956
+ /* harmony export */ });
957
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
958
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
959
+
960
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null));
961
+
962
+ /***/ }),
963
+
964
+ /***/ 8156:
965
+ /***/ ((module) => {
966
+
967
+ "use strict";
968
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
969
+
970
+ /***/ }),
971
+
972
+ /***/ 7111:
973
+ /***/ ((module) => {
974
+
975
+ "use strict";
976
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7111__;
977
+
978
+ /***/ }),
979
+
980
+ /***/ 32:
981
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
982
+
983
+ "use strict";
984
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
985
+ /* harmony export */ "Z": () => (/* binding */ _extends)
986
+ /* harmony export */ });
987
+ function _extends() {
988
+ _extends = Object.assign || function (target) {
989
+ for (var i = 1; i < arguments.length; i++) {
990
+ var source = arguments[i];
991
+
992
+ for (var key in source) {
993
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
994
+ target[key] = source[key];
995
+ }
996
+ }
997
+ }
998
+
999
+ return target;
1000
+ };
1001
+
1002
+ return _extends.apply(this, arguments);
1003
+ }
1004
+
1005
+ /***/ }),
1006
+
1007
+ /***/ 7581:
1008
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1009
+
1010
+ "use strict";
1011
+
1012
+ // EXPORTS
1013
+ __webpack_require__.d(__webpack_exports__, {
1014
+ "Z": () => (/* binding */ _inheritsLoose)
1015
+ });
1016
+
1017
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1018
+ function _setPrototypeOf(o, p) {
1019
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
1020
+ o.__proto__ = p;
1021
+ return o;
1022
+ };
1023
+
1024
+ return _setPrototypeOf(o, p);
1025
+ }
1026
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
1027
+
1028
+ function _inheritsLoose(subClass, superClass) {
1029
+ subClass.prototype = Object.create(superClass.prototype);
1030
+ subClass.prototype.constructor = subClass;
1031
+ _setPrototypeOf(subClass, superClass);
1032
+ }
1033
+
1034
+ /***/ }),
1035
+
1036
+ /***/ 7038:
1037
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1038
+
1039
+ "use strict";
1040
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1041
+ /* harmony export */ "Z": () => (/* binding */ _objectWithoutPropertiesLoose)
1042
+ /* harmony export */ });
1043
+ function _objectWithoutPropertiesLoose(source, excluded) {
1044
+ if (source == null) return {};
1045
+ var target = {};
1046
+ var sourceKeys = Object.keys(source);
1047
+ var key, i;
1048
+
1049
+ for (i = 0; i < sourceKeys.length; i++) {
1050
+ key = sourceKeys[i];
1051
+ if (excluded.indexOf(key) >= 0) continue;
1052
+ target[key] = source[key];
1053
+ }
1054
+
1055
+ return target;
1056
+ }
1057
+
1058
+ /***/ })
1059
+
1060
+ /******/ });
1061
+ /************************************************************************/
1062
+ /******/ // The module cache
1063
+ /******/ var __webpack_module_cache__ = {};
1064
+ /******/
1065
+ /******/ // The require function
1066
+ /******/ function __webpack_require__(moduleId) {
1067
+ /******/ // Check if module is in cache
1068
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
1069
+ /******/ if (cachedModule !== undefined) {
1070
+ /******/ return cachedModule.exports;
1071
+ /******/ }
1072
+ /******/ // Create a new module (and put it into the cache)
1073
+ /******/ var module = __webpack_module_cache__[moduleId] = {
1074
+ /******/ // no module.id needed
1075
+ /******/ // no module.loaded needed
1076
+ /******/ exports: {}
1077
+ /******/ };
1078
+ /******/
1079
+ /******/ // Execute the module function
1080
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1081
+ /******/
1082
+ /******/ // Return the exports of the module
1083
+ /******/ return module.exports;
1084
+ /******/ }
1085
+ /******/
1086
+ /******/ // expose the modules object (__webpack_modules__)
1087
+ /******/ __webpack_require__.m = __webpack_modules__;
1088
+ /******/
1089
+ /************************************************************************/
1090
+ /******/ /* webpack/runtime/chunk loaded */
1091
+ /******/ (() => {
1092
+ /******/ var deferred = [];
1093
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
1094
+ /******/ if(chunkIds) {
1095
+ /******/ priority = priority || 0;
1096
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
1097
+ /******/ deferred[i] = [chunkIds, fn, priority];
1098
+ /******/ return;
1099
+ /******/ }
1100
+ /******/ var notFulfilled = Infinity;
1101
+ /******/ for (var i = 0; i < deferred.length; i++) {
1102
+ /******/ var [chunkIds, fn, priority] = deferred[i];
1103
+ /******/ var fulfilled = true;
1104
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
1105
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
1106
+ /******/ chunkIds.splice(j--, 1);
1107
+ /******/ } else {
1108
+ /******/ fulfilled = false;
1109
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
1110
+ /******/ }
1111
+ /******/ }
1112
+ /******/ if(fulfilled) {
1113
+ /******/ deferred.splice(i--, 1)
1114
+ /******/ var r = fn();
1115
+ /******/ if (r !== undefined) result = r;
1116
+ /******/ }
1117
+ /******/ }
1118
+ /******/ return result;
1119
+ /******/ };
1120
+ /******/ })();
1121
+ /******/
1122
+ /******/ /* webpack/runtime/compat get default export */
1123
+ /******/ (() => {
1124
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1125
+ /******/ __webpack_require__.n = (module) => {
1126
+ /******/ var getter = module && module.__esModule ?
1127
+ /******/ () => (module['default']) :
1128
+ /******/ () => (module);
1129
+ /******/ __webpack_require__.d(getter, { a: getter });
1130
+ /******/ return getter;
1131
+ /******/ };
1132
+ /******/ })();
1133
+ /******/
1134
+ /******/ /* webpack/runtime/define property getters */
1135
+ /******/ (() => {
1136
+ /******/ // define getter functions for harmony exports
1137
+ /******/ __webpack_require__.d = (exports, definition) => {
1138
+ /******/ for(var key in definition) {
1139
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1140
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1141
+ /******/ }
1142
+ /******/ }
1143
+ /******/ };
1144
+ /******/ })();
1145
+ /******/
1146
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
1147
+ /******/ (() => {
1148
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1149
+ /******/ })();
1150
+ /******/
1151
+ /******/ /* webpack/runtime/make namespace object */
1152
+ /******/ (() => {
1153
+ /******/ // define __esModule on exports
1154
+ /******/ __webpack_require__.r = (exports) => {
1155
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1156
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1157
+ /******/ }
1158
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
1159
+ /******/ };
1160
+ /******/ })();
1161
+ /******/
1162
+ /******/ /* webpack/runtime/jsonp chunk loading */
1163
+ /******/ (() => {
1164
+ /******/ // no baseURI
1165
+ /******/
1166
+ /******/ // object to store loaded and loading chunks
1167
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
1168
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
1169
+ /******/ var installedChunks = {
1170
+ /******/ 5853: 0,
1171
+ /******/ 1981: 0
1172
+ /******/ };
1173
+ /******/
1174
+ /******/ // no chunk on demand loading
1175
+ /******/
1176
+ /******/ // no prefetching
1177
+ /******/
1178
+ /******/ // no preloaded
1179
+ /******/
1180
+ /******/ // no HMR
1181
+ /******/
1182
+ /******/ // no HMR manifest
1183
+ /******/
1184
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
1185
+ /******/
1186
+ /******/ // install a JSONP callback for chunk loading
1187
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
1188
+ /******/ var [chunkIds, moreModules, runtime] = data;
1189
+ /******/ // add "moreModules" to the modules object,
1190
+ /******/ // then flag all "chunkIds" as loaded and fire callback
1191
+ /******/ var moduleId, chunkId, i = 0;
1192
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
1193
+ /******/ for(moduleId in moreModules) {
1194
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
1195
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
1196
+ /******/ }
1197
+ /******/ }
1198
+ /******/ if(runtime) var result = runtime(__webpack_require__);
1199
+ /******/ }
1200
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
1201
+ /******/ for(;i < chunkIds.length; i++) {
1202
+ /******/ chunkId = chunkIds[i];
1203
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
1204
+ /******/ installedChunks[chunkId][0]();
1205
+ /******/ }
1206
+ /******/ installedChunks[chunkIds[i]] = 0;
1207
+ /******/ }
1208
+ /******/ return __webpack_require__.O(result);
1209
+ /******/ }
1210
+ /******/
1211
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
1212
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
1213
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
1214
+ /******/ })();
1215
+ /******/
1216
+ /************************************************************************/
1217
+ /******/
1218
+ /******/ // startup
1219
+ /******/ // Load entry module and return exports
1220
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
1221
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(1018)))
1222
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
1223
+ /******/
1224
+ /******/ return __webpack_exports__;
1225
+ /******/ })()
1226
+ ;
1227
+ });
1228
+ //# sourceMappingURL=index.js.map