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