@spaziodati/atoka-design-system 2.1.6 → 2.1.7

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 (109) hide show
  1. package/AddableItems/index.js +1 -1050
  2. package/Alert/index.js +1 -321
  3. package/Badge/index.js +1 -285
  4. package/Bs4V3Wrapper/index.js +1 -253
  5. package/BubbleChart/index.js +2 -3424
  6. package/BubbleChart/index.js.LICENSE.txt +1 -0
  7. package/Button/index.js +1 -325
  8. package/ButtonDropdown/index.js +1 -601
  9. package/CardsPage/index.js +1 -2505
  10. package/CursorPagination/index.js +1 -948
  11. package/DatePicker/index.js +1 -449
  12. package/DetailPage/index.js +1 -1990
  13. package/Dropdown/index.js +1 -723
  14. package/EditableString/index.js +1 -3238
  15. package/EllipsableContent/index.js +1 -786
  16. package/EmptyState/index.js +1 -280
  17. package/Facet/index.js +1 -919
  18. package/FacetSection/index.js +1 -447
  19. package/FadeAnimation/index.js +1 -1157
  20. package/FeedbackButton/index.js +1 -400
  21. package/Form/index.js +1 -450
  22. package/Funnel/index.js +2 -3624
  23. package/Funnel/index.js.LICENSE.txt +1 -0
  24. package/GridCard/index.js +1 -1626
  25. package/HighlightableText/index.js +1 -625
  26. package/Histogram/index.js +1 -2346
  27. package/InlineStringEditor/index.js +1 -1862
  28. package/InputGroup/index.js +1 -279
  29. package/Jumbotron/index.js +1 -272
  30. package/Map/index.js +2 -5187
  31. package/Map/index.js.LICENSE.txt +10 -0
  32. package/Modal/index.js +1 -745
  33. package/Navbar/index.js +1 -3430
  34. package/Pagination/index.js +1 -990
  35. package/PieChart/index.js +1 -1971
  36. package/PublicFooter/index.js +1 -458
  37. package/PublicNavbar/index.js +1 -257
  38. package/RecordBit/index.js +1 -486
  39. package/ResultItemCard/index.js +1 -1073
  40. package/SelectDropdown/index.js +1 -1506
  41. package/Spinner/index.js +1 -327
  42. package/StatisticsItemCard/index.js +1 -1796
  43. package/StatisticsItemNumeric/index.js +1 -285
  44. package/StatisticsLegend/index.js +1 -1555
  45. package/StatisticsTooltip/index.js +1 -796
  46. package/Suggester/index.js +1 -1126
  47. package/SunBurst/index.js +1 -1166
  48. package/TabSwitcher/index.js +1 -1135
  49. package/Title/index.js +1 -304
  50. package/Toasts/index.js +1 -2285
  51. package/ToggleButtonGroup/index.js +1 -607
  52. package/Tooltip/index.js +1 -291
  53. package/Utils/index.js +2 -3002
  54. package/Utils/index.js.LICENSE.txt +1 -0
  55. package/{atoka-design-system-2.1.6.min.css → atoka-design-system-2.1.7.min.css} +0 -0
  56. package/index.js +2 -16819
  57. package/index.js.LICENSE.txt +10 -0
  58. package/package.json +1 -1
  59. package/AddableItems/index.js.map +0 -1
  60. package/Alert/index.js.map +0 -1
  61. package/Badge/index.js.map +0 -1
  62. package/Bs4V3Wrapper/index.js.map +0 -1
  63. package/BubbleChart/index.js.map +0 -1
  64. package/Button/index.js.map +0 -1
  65. package/ButtonDropdown/index.js.map +0 -1
  66. package/CardsPage/index.js.map +0 -1
  67. package/CursorPagination/index.js.map +0 -1
  68. package/DatePicker/index.js.map +0 -1
  69. package/DetailPage/index.js.map +0 -1
  70. package/Dropdown/index.js.map +0 -1
  71. package/EditableString/index.js.map +0 -1
  72. package/EllipsableContent/index.js.map +0 -1
  73. package/EmptyState/index.js.map +0 -1
  74. package/Facet/index.js.map +0 -1
  75. package/FacetSection/index.js.map +0 -1
  76. package/FadeAnimation/index.js.map +0 -1
  77. package/FeedbackButton/index.js.map +0 -1
  78. package/Form/index.js.map +0 -1
  79. package/Funnel/index.js.map +0 -1
  80. package/GridCard/index.js.map +0 -1
  81. package/HighlightableText/index.js.map +0 -1
  82. package/Histogram/index.js.map +0 -1
  83. package/InlineStringEditor/index.js.map +0 -1
  84. package/InputGroup/index.js.map +0 -1
  85. package/Jumbotron/index.js.map +0 -1
  86. package/Map/index.js.map +0 -1
  87. package/Modal/index.js.map +0 -1
  88. package/Navbar/index.js.map +0 -1
  89. package/Pagination/index.js.map +0 -1
  90. package/PieChart/index.js.map +0 -1
  91. package/PublicFooter/index.js.map +0 -1
  92. package/PublicNavbar/index.js.map +0 -1
  93. package/RecordBit/index.js.map +0 -1
  94. package/ResultItemCard/index.js.map +0 -1
  95. package/SelectDropdown/index.js.map +0 -1
  96. package/Spinner/index.js.map +0 -1
  97. package/StatisticsItemCard/index.js.map +0 -1
  98. package/StatisticsItemNumeric/index.js.map +0 -1
  99. package/StatisticsLegend/index.js.map +0 -1
  100. package/StatisticsTooltip/index.js.map +0 -1
  101. package/Suggester/index.js.map +0 -1
  102. package/SunBurst/index.js.map +0 -1
  103. package/TabSwitcher/index.js.map +0 -1
  104. package/Title/index.js.map +0 -1
  105. package/Toasts/index.js.map +0 -1
  106. package/ToggleButtonGroup/index.js.map +0 -1
  107. package/Tooltip/index.js.map +0 -1
  108. package/Utils/index.js.map +0 -1
  109. package/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
package/Button/index.js CHANGED
@@ -1,325 +1 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"));
4
- else if(typeof define === 'function' && define.amd)
5
- define("atoka-design-system", ["@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Button"], factory);
6
- else if(typeof exports === 'object')
7
- exports["atoka-design-system"] = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"));
8
- else
9
- root["atoka-design-system"] = factory(root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Button"]);
10
- })(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8926__) {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 4397:
16
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
-
18
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ "z": () => (/* binding */ Button)
20
- /* harmony export */ });
21
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
22
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
23
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8310);
24
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
25
- /* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8926);
26
- /* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__);
27
- /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5692);
28
- /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__);
29
- var __extends = (undefined && undefined.__extends) || (function () {
30
- var extendStatics = function (d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
- return function (d, b) {
37
- if (typeof b !== "function" && b !== null)
38
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
39
- extendStatics(d, b);
40
- function __() { this.constructor = d; }
41
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42
- };
43
- })();
44
-
45
-
46
-
47
-
48
-
49
- var Button = /** @class */ (function (_super) {
50
- __extends(Button, _super);
51
- function Button() {
52
- return _super !== null && _super.apply(this, arguments) || this;
53
- }
54
- Button.prototype.renderIcon = function () {
55
- if (this.props.icon == null) {
56
- return null;
57
- }
58
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.icon });
59
- };
60
- Button.prototype.renderChildren = function () {
61
- if (this.props.children == null) {
62
- return null;
63
- }
64
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: 'btn-children' }, this.props.children);
65
- };
66
- Button.prototype.renderLeftSide = function () {
67
- if (this.props.iconLeft == null) {
68
- if (this.props.iconRight == null) {
69
- return null;
70
- }
71
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight, className: 'invisible' });
72
- }
73
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft });
74
- };
75
- Button.prototype.renderRightSide = function () {
76
- if (this.props.iconRight == null) {
77
- if (this.props.iconLeft == null) {
78
- return null;
79
- }
80
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft, className: 'invisible' });
81
- }
82
- return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight });
83
- };
84
- Button.prototype.renderContent = function () {
85
- if (this.props.icon != null && this.props.children == null) {
86
- return this.renderIcon();
87
- }
88
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'button-content-center-container' },
89
- this.renderIcon(),
90
- this.renderChildren()));
91
- };
92
- Button.prototype.render = function () {
93
- var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-".concat(this.props.size), this.props.className, {
94
- 'btn-icon-only': this.props.icon != null && this.props.children == null,
95
- });
96
- return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default()), { className: className, variant: this.props.variant, disabled: this.props.disabled, block: this.props.block, onClick: this.props.onClick, href: this.props.href, target: this.props.target },
97
- this.renderLeftSide(),
98
- this.renderContent(),
99
- this.renderRightSide()));
100
- };
101
- Button.displayName = 'Button';
102
- Button.defaultProps = {
103
- variant: 'primary',
104
- size: 'md',
105
- disabled: false,
106
- block: false,
107
- };
108
- return Button;
109
- }((react__WEBPACK_IMPORTED_MODULE_0___default().PureComponent)));
110
-
111
-
112
-
113
- /***/ }),
114
-
115
- /***/ 7325:
116
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
117
-
118
- __webpack_require__.r(__webpack_exports__);
119
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
120
- /* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__.z)
121
- /* harmony export */ });
122
- /* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4397);
123
- // use the star because of this issue: https://github.com/babel/babel-loader/issues/603
124
-
125
-
126
-
127
- /***/ }),
128
-
129
- /***/ 5692:
130
- /***/ ((module) => {
131
-
132
- module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
133
-
134
- /***/ }),
135
-
136
- /***/ 8310:
137
- /***/ ((module) => {
138
-
139
- module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
140
-
141
- /***/ }),
142
-
143
- /***/ 8156:
144
- /***/ ((module) => {
145
-
146
- module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
147
-
148
- /***/ }),
149
-
150
- /***/ 8926:
151
- /***/ ((module) => {
152
-
153
- module.exports = __WEBPACK_EXTERNAL_MODULE__8926__;
154
-
155
- /***/ })
156
-
157
- /******/ });
158
- /************************************************************************/
159
- /******/ // The module cache
160
- /******/ var __webpack_module_cache__ = {};
161
- /******/
162
- /******/ // The require function
163
- /******/ function __webpack_require__(moduleId) {
164
- /******/ // Check if module is in cache
165
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
166
- /******/ if (cachedModule !== undefined) {
167
- /******/ return cachedModule.exports;
168
- /******/ }
169
- /******/ // Create a new module (and put it into the cache)
170
- /******/ var module = __webpack_module_cache__[moduleId] = {
171
- /******/ // no module.id needed
172
- /******/ // no module.loaded needed
173
- /******/ exports: {}
174
- /******/ };
175
- /******/
176
- /******/ // Execute the module function
177
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
178
- /******/
179
- /******/ // Return the exports of the module
180
- /******/ return module.exports;
181
- /******/ }
182
- /******/
183
- /******/ // expose the modules object (__webpack_modules__)
184
- /******/ __webpack_require__.m = __webpack_modules__;
185
- /******/
186
- /************************************************************************/
187
- /******/ /* webpack/runtime/chunk loaded */
188
- /******/ (() => {
189
- /******/ var deferred = [];
190
- /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
191
- /******/ if(chunkIds) {
192
- /******/ priority = priority || 0;
193
- /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
194
- /******/ deferred[i] = [chunkIds, fn, priority];
195
- /******/ return;
196
- /******/ }
197
- /******/ var notFulfilled = Infinity;
198
- /******/ for (var i = 0; i < deferred.length; i++) {
199
- /******/ var [chunkIds, fn, priority] = deferred[i];
200
- /******/ var fulfilled = true;
201
- /******/ for (var j = 0; j < chunkIds.length; j++) {
202
- /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
203
- /******/ chunkIds.splice(j--, 1);
204
- /******/ } else {
205
- /******/ fulfilled = false;
206
- /******/ if(priority < notFulfilled) notFulfilled = priority;
207
- /******/ }
208
- /******/ }
209
- /******/ if(fulfilled) {
210
- /******/ deferred.splice(i--, 1)
211
- /******/ var r = fn();
212
- /******/ if (r !== undefined) result = r;
213
- /******/ }
214
- /******/ }
215
- /******/ return result;
216
- /******/ };
217
- /******/ })();
218
- /******/
219
- /******/ /* webpack/runtime/compat get default export */
220
- /******/ (() => {
221
- /******/ // getDefaultExport function for compatibility with non-harmony modules
222
- /******/ __webpack_require__.n = (module) => {
223
- /******/ var getter = module && module.__esModule ?
224
- /******/ () => (module['default']) :
225
- /******/ () => (module);
226
- /******/ __webpack_require__.d(getter, { a: getter });
227
- /******/ return getter;
228
- /******/ };
229
- /******/ })();
230
- /******/
231
- /******/ /* webpack/runtime/define property getters */
232
- /******/ (() => {
233
- /******/ // define getter functions for harmony exports
234
- /******/ __webpack_require__.d = (exports, definition) => {
235
- /******/ for(var key in definition) {
236
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
237
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
238
- /******/ }
239
- /******/ }
240
- /******/ };
241
- /******/ })();
242
- /******/
243
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
244
- /******/ (() => {
245
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
246
- /******/ })();
247
- /******/
248
- /******/ /* webpack/runtime/make namespace object */
249
- /******/ (() => {
250
- /******/ // define __esModule on exports
251
- /******/ __webpack_require__.r = (exports) => {
252
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
253
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
254
- /******/ }
255
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
256
- /******/ };
257
- /******/ })();
258
- /******/
259
- /******/ /* webpack/runtime/jsonp chunk loading */
260
- /******/ (() => {
261
- /******/ // no baseURI
262
- /******/
263
- /******/ // object to store loaded and loading chunks
264
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
265
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
266
- /******/ var installedChunks = {
267
- /******/ 6615: 0,
268
- /******/ 5785: 0
269
- /******/ };
270
- /******/
271
- /******/ // no chunk on demand loading
272
- /******/
273
- /******/ // no prefetching
274
- /******/
275
- /******/ // no preloaded
276
- /******/
277
- /******/ // no HMR
278
- /******/
279
- /******/ // no HMR manifest
280
- /******/
281
- /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
282
- /******/
283
- /******/ // install a JSONP callback for chunk loading
284
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
285
- /******/ var [chunkIds, moreModules, runtime] = data;
286
- /******/ // add "moreModules" to the modules object,
287
- /******/ // then flag all "chunkIds" as loaded and fire callback
288
- /******/ var moduleId, chunkId, i = 0;
289
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
290
- /******/ for(moduleId in moreModules) {
291
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
292
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
293
- /******/ }
294
- /******/ }
295
- /******/ if(runtime) var result = runtime(__webpack_require__);
296
- /******/ }
297
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
298
- /******/ for(;i < chunkIds.length; i++) {
299
- /******/ chunkId = chunkIds[i];
300
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
301
- /******/ installedChunks[chunkId][0]();
302
- /******/ }
303
- /******/ installedChunks[chunkIds[i]] = 0;
304
- /******/ }
305
- /******/ return __webpack_require__.O(result);
306
- /******/ }
307
- /******/
308
- /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
309
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
310
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
311
- /******/ })();
312
- /******/
313
- /************************************************************************/
314
- /******/
315
- /******/ // startup
316
- /******/ // Load entry module and return exports
317
- /******/ // This entry module depends on other loaded chunks and execution need to be delayed
318
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [5785], () => (__webpack_require__(7325)))
319
- /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
320
- /******/
321
- /******/ return __webpack_exports__;
322
- /******/ })()
323
- ;
324
- });
325
- //# sourceMappingURL=index.js.map
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Button")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react","react-bootstrap/Button"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react"),require("react-bootstrap/Button")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react,e["react-bootstrap/Button"])}(self,(function(e,t,r,o){return(()=>{"use strict";var n,s={4397:(e,t,r)=>{r.d(t,{z:()=>f});var o,n=r(8156),s=r.n(n),i=r(8310),a=r.n(i),c=r(8926),p=r.n(c),l=r(5692),u=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(){return null==this.props.icon?null:s().createElement(l.FontAwesomeIcon,{icon:this.props.icon})},t.prototype.renderChildren=function(){return null==this.props.children?null:s().createElement("span",{className:"btn-children"},this.props.children)},t.prototype.renderLeftSide=function(){return null==this.props.iconLeft?null==this.props.iconRight?null:s().createElement(l.FontAwesomeIcon,{icon:this.props.iconRight,className:"invisible"}):s().createElement(l.FontAwesomeIcon,{icon:this.props.iconLeft})},t.prototype.renderRightSide=function(){return null==this.props.iconRight?null==this.props.iconLeft?null:s().createElement(l.FontAwesomeIcon,{icon:this.props.iconLeft,className:"invisible"}):s().createElement(l.FontAwesomeIcon,{icon:this.props.iconRight})},t.prototype.renderContent=function(){return null!=this.props.icon&&null==this.props.children?this.renderIcon():s().createElement("div",{className:"button-content-center-container"},this.renderIcon(),this.renderChildren())},t.prototype.render=function(){var e=a()("atoka-btn","btn-".concat(this.props.size),this.props.className,{"btn-icon-only":null!=this.props.icon&&null==this.props.children});return s().createElement(p(),{className:e,variant:this.props.variant,disabled:this.props.disabled,block:this.props.block,onClick:this.props.onClick,href:this.props.href,target:this.props.target},this.renderLeftSide(),this.renderContent(),this.renderRightSide())},t.displayName="Button",t.defaultProps={variant:"primary",size:"md",disabled:!1,block:!1},t}(s().PureComponent)},7325:(e,t,r)=>{r.r(t),r.d(t,{Button:()=>o.z});var o=r(4397)},5692:t=>{t.exports=e},8310:e=>{e.exports=t},8156:e=>{e.exports=r},8926:e=>{e.exports=o}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return s[e](r,r.exports,a),r.exports}a.m=s,n=[],a.O=(e,t,r,o)=>{if(!t){var s=1/0;for(l=0;l<n.length;l++){for(var[t,r,o]=n[l],i=!0,c=0;c<t.length;c++)(!1&o||s>=o)&&Object.keys(a.O).every((e=>a.O[e](t[c])))?t.splice(c--,1):(i=!1,o<s&&(s=o));if(i){n.splice(l--,1);var p=r();void 0!==p&&(e=p)}}return e}o=o||0;for(var l=n.length;l>0&&n[l-1][2]>o;l--)n[l]=n[l-1];n[l]=[t,r,o]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={6615:0,8699:0};a.O.j=t=>0===e[t];var t=(t,r)=>{var o,n,[s,i,c]=r,p=0;if(s.some((t=>0!==e[t]))){for(o in i)a.o(i,o)&&(a.m[o]=i[o]);if(c)var l=c(a)}for(t&&t(r);p<s.length;p++)n=s[p],a.o(e,n)&&e[n]&&e[n][0](),e[s[p]]=0;return a.O(l)},r=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var c=a.O(void 0,[8699],(()=>a(7325)));return c=a.O(c)})()}));