@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
@@ -1,285 +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"));
4
- else if(typeof define === 'function' && define.amd)
5
- define("atoka-design-system", ["@fortawesome/react-fontawesome", "classnames", "react"], factory);
6
- else if(typeof exports === 'object')
7
- exports["atoka-design-system"] = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"));
8
- else
9
- root["atoka-design-system"] = factory(root["@fortawesome/react-fontawesome"], root["classnames"], root["react"]);
10
- })(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 7516:
16
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
-
18
- // ESM COMPAT FLAG
19
- __webpack_require__.r(__webpack_exports__);
20
-
21
- // EXPORTS
22
- __webpack_require__.d(__webpack_exports__, {
23
- "StatisticsItemNumeric": () => (/* reexport */ StatisticsItemNumeric)
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: external "classnames"
30
- var external_classnames_ = __webpack_require__(8310);
31
- var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
32
- // EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
33
- var react_fontawesome_ = __webpack_require__(5692);
34
- ;// CONCATENATED MODULE: ./src/components/StatisticsItemNumeric/StatisticsItemNumeric.tsx
35
- var __extends = (undefined && undefined.__extends) || (function () {
36
- var extendStatics = function (d, b) {
37
- extendStatics = Object.setPrototypeOf ||
38
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
39
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
40
- return extendStatics(d, b);
41
- };
42
- return function (d, b) {
43
- if (typeof b !== "function" && b !== null)
44
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
45
- extendStatics(d, b);
46
- function __() { this.constructor = d; }
47
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
48
- };
49
- })();
50
-
51
-
52
-
53
-
54
- var StatisticsItemNumeric = /** @class */ (function (_super) {
55
- __extends(StatisticsItemNumeric, _super);
56
- function StatisticsItemNumeric() {
57
- return _super !== null && _super.apply(this, arguments) || this;
58
- }
59
- StatisticsItemNumeric.prototype.renderIcon = function () {
60
- return (external_react_default().createElement("span", { className: 'stats-item-numeric-icon-wrap' },
61
- external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { className: 'fa-fw', icon: this.props.icon })));
62
- };
63
- StatisticsItemNumeric.prototype.renderValue = function () {
64
- if (this.props.value == null) {
65
- return null;
66
- }
67
- return external_react_default().createElement("div", { className: 'stats-item-numeric-value' }, this.props.value);
68
- };
69
- StatisticsItemNumeric.prototype.renderSubtitle = function () {
70
- if (this.props.subtitle == null) {
71
- return null;
72
- }
73
- return external_react_default().createElement("div", { className: 'stats-item-numeric-subtitle' }, this.props.subtitle);
74
- };
75
- StatisticsItemNumeric.prototype.renderContent = function () {
76
- return (external_react_default().createElement("div", { className: 'stats-item-numeric-content' },
77
- this.renderIcon(),
78
- this.renderValue(),
79
- this.renderSubtitle()));
80
- };
81
- StatisticsItemNumeric.prototype.render = function () {
82
- var className = external_classnames_default()('stats-item-numeric', this.props.className);
83
- return external_react_default().createElement("div", { className: className }, this.renderContent());
84
- };
85
- StatisticsItemNumeric.displayName = 'StatisticsItemNumeric';
86
- return StatisticsItemNumeric;
87
- }((external_react_default()).PureComponent));
88
-
89
-
90
- ;// CONCATENATED MODULE: ./src/components/StatisticsItemNumeric/index.ts
91
-
92
-
93
-
94
- /***/ }),
95
-
96
- /***/ 5692:
97
- /***/ ((module) => {
98
-
99
- module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
100
-
101
- /***/ }),
102
-
103
- /***/ 8310:
104
- /***/ ((module) => {
105
-
106
- module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
107
-
108
- /***/ }),
109
-
110
- /***/ 8156:
111
- /***/ ((module) => {
112
-
113
- module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
114
-
115
- /***/ })
116
-
117
- /******/ });
118
- /************************************************************************/
119
- /******/ // The module cache
120
- /******/ var __webpack_module_cache__ = {};
121
- /******/
122
- /******/ // The require function
123
- /******/ function __webpack_require__(moduleId) {
124
- /******/ // Check if module is in cache
125
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
126
- /******/ if (cachedModule !== undefined) {
127
- /******/ return cachedModule.exports;
128
- /******/ }
129
- /******/ // Create a new module (and put it into the cache)
130
- /******/ var module = __webpack_module_cache__[moduleId] = {
131
- /******/ // no module.id needed
132
- /******/ // no module.loaded needed
133
- /******/ exports: {}
134
- /******/ };
135
- /******/
136
- /******/ // Execute the module function
137
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
138
- /******/
139
- /******/ // Return the exports of the module
140
- /******/ return module.exports;
141
- /******/ }
142
- /******/
143
- /******/ // expose the modules object (__webpack_modules__)
144
- /******/ __webpack_require__.m = __webpack_modules__;
145
- /******/
146
- /************************************************************************/
147
- /******/ /* webpack/runtime/chunk loaded */
148
- /******/ (() => {
149
- /******/ var deferred = [];
150
- /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
151
- /******/ if(chunkIds) {
152
- /******/ priority = priority || 0;
153
- /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
154
- /******/ deferred[i] = [chunkIds, fn, priority];
155
- /******/ return;
156
- /******/ }
157
- /******/ var notFulfilled = Infinity;
158
- /******/ for (var i = 0; i < deferred.length; i++) {
159
- /******/ var [chunkIds, fn, priority] = deferred[i];
160
- /******/ var fulfilled = true;
161
- /******/ for (var j = 0; j < chunkIds.length; j++) {
162
- /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
163
- /******/ chunkIds.splice(j--, 1);
164
- /******/ } else {
165
- /******/ fulfilled = false;
166
- /******/ if(priority < notFulfilled) notFulfilled = priority;
167
- /******/ }
168
- /******/ }
169
- /******/ if(fulfilled) {
170
- /******/ deferred.splice(i--, 1)
171
- /******/ var r = fn();
172
- /******/ if (r !== undefined) result = r;
173
- /******/ }
174
- /******/ }
175
- /******/ return result;
176
- /******/ };
177
- /******/ })();
178
- /******/
179
- /******/ /* webpack/runtime/compat get default export */
180
- /******/ (() => {
181
- /******/ // getDefaultExport function for compatibility with non-harmony modules
182
- /******/ __webpack_require__.n = (module) => {
183
- /******/ var getter = module && module.__esModule ?
184
- /******/ () => (module['default']) :
185
- /******/ () => (module);
186
- /******/ __webpack_require__.d(getter, { a: getter });
187
- /******/ return getter;
188
- /******/ };
189
- /******/ })();
190
- /******/
191
- /******/ /* webpack/runtime/define property getters */
192
- /******/ (() => {
193
- /******/ // define getter functions for harmony exports
194
- /******/ __webpack_require__.d = (exports, definition) => {
195
- /******/ for(var key in definition) {
196
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
197
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
198
- /******/ }
199
- /******/ }
200
- /******/ };
201
- /******/ })();
202
- /******/
203
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
204
- /******/ (() => {
205
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
206
- /******/ })();
207
- /******/
208
- /******/ /* webpack/runtime/make namespace object */
209
- /******/ (() => {
210
- /******/ // define __esModule on exports
211
- /******/ __webpack_require__.r = (exports) => {
212
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
213
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
214
- /******/ }
215
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
216
- /******/ };
217
- /******/ })();
218
- /******/
219
- /******/ /* webpack/runtime/jsonp chunk loading */
220
- /******/ (() => {
221
- /******/ // no baseURI
222
- /******/
223
- /******/ // object to store loaded and loading chunks
224
- /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
225
- /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
226
- /******/ var installedChunks = {
227
- /******/ 4051: 0,
228
- /******/ 5785: 0
229
- /******/ };
230
- /******/
231
- /******/ // no chunk on demand loading
232
- /******/
233
- /******/ // no prefetching
234
- /******/
235
- /******/ // no preloaded
236
- /******/
237
- /******/ // no HMR
238
- /******/
239
- /******/ // no HMR manifest
240
- /******/
241
- /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
242
- /******/
243
- /******/ // install a JSONP callback for chunk loading
244
- /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
245
- /******/ var [chunkIds, moreModules, runtime] = data;
246
- /******/ // add "moreModules" to the modules object,
247
- /******/ // then flag all "chunkIds" as loaded and fire callback
248
- /******/ var moduleId, chunkId, i = 0;
249
- /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
250
- /******/ for(moduleId in moreModules) {
251
- /******/ if(__webpack_require__.o(moreModules, moduleId)) {
252
- /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
253
- /******/ }
254
- /******/ }
255
- /******/ if(runtime) var result = runtime(__webpack_require__);
256
- /******/ }
257
- /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
258
- /******/ for(;i < chunkIds.length; i++) {
259
- /******/ chunkId = chunkIds[i];
260
- /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
261
- /******/ installedChunks[chunkId][0]();
262
- /******/ }
263
- /******/ installedChunks[chunkIds[i]] = 0;
264
- /******/ }
265
- /******/ return __webpack_require__.O(result);
266
- /******/ }
267
- /******/
268
- /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
269
- /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
270
- /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
271
- /******/ })();
272
- /******/
273
- /************************************************************************/
274
- /******/
275
- /******/ // startup
276
- /******/ // Load entry module and return exports
277
- /******/ // This entry module depends on other loaded chunks and execution need to be delayed
278
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [5785], () => (__webpack_require__(7516)))
279
- /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
280
- /******/
281
- /******/ return __webpack_exports__;
282
- /******/ })()
283
- ;
284
- });
285
- //# 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")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/react-fontawesome","classnames","react"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/react-fontawesome"),require("classnames"),require("react")):e["atoka-design-system"]=t(e["@fortawesome/react-fontawesome"],e.classnames,e.react)}(self,(function(e,t,r){return(()=>{"use strict";var n,o={7516:(e,t,r)=>{r.r(t),r.d(t,{StatisticsItemNumeric:()=>l});var n,o=r(8156),s=r.n(o),a=r(8310),i=r.n(a),u=r(5692),c=(n=function(e,t){return n=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])},n(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}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){return s().createElement("span",{className:"stats-item-numeric-icon-wrap"},s().createElement(u.FontAwesomeIcon,{className:"fa-fw",icon:this.props.icon}))},t.prototype.renderValue=function(){return null==this.props.value?null:s().createElement("div",{className:"stats-item-numeric-value"},this.props.value)},t.prototype.renderSubtitle=function(){return null==this.props.subtitle?null:s().createElement("div",{className:"stats-item-numeric-subtitle"},this.props.subtitle)},t.prototype.renderContent=function(){return s().createElement("div",{className:"stats-item-numeric-content"},this.renderIcon(),this.renderValue(),this.renderSubtitle())},t.prototype.render=function(){var e=i()("stats-item-numeric",this.props.className);return s().createElement("div",{className:e},this.renderContent())},t.displayName="StatisticsItemNumeric",t}(s().PureComponent)},5692:t=>{t.exports=e},8310:e=>{e.exports=t},8156:e=>{e.exports=r}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return o[e](r,r.exports,a),r.exports}a.m=o,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,u=0;u<t.length;u++)(!1&o||s>=o)&&Object.keys(a.O).every((e=>a.O[e](t[u])))?t.splice(u--,1):(i=!1,o<s&&(s=o));if(i){n.splice(l--,1);var c=r();void 0!==c&&(e=c)}}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={4051:0,8699:0};a.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[s,i,u]=r,c=0;if(s.some((t=>0!==e[t]))){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);if(u)var l=u(a)}for(t&&t(r);c<s.length;c++)o=s[c],a.o(e,o)&&e[o]&&e[o][0](),e[s[c]]=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 i=a.O(void 0,[8699],(()=>a(7516)));return i=a.O(i)})()}));