@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
package/Badge/index.js ADDED
@@ -0,0 +1,285 @@
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/Badge"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Badge"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Badge"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Badge"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6997__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 1702:
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
+ "Badge": () => (/* reexport */ Badge)
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 "react-bootstrap/Badge"
33
+ var Badge_ = __webpack_require__(6997);
34
+ var Badge_default = /*#__PURE__*/__webpack_require__.n(Badge_);
35
+ // EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
36
+ var react_fontawesome_ = __webpack_require__(5692);
37
+ ;// CONCATENATED MODULE: ./src/components/Badge/Badge.tsx
38
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+
50
+
51
+
52
+
53
+
54
+ /**
55
+ * ### Overview
56
+ *
57
+ * A `Badge` is a component which represents an attribute of a specific element. There are three types of badges:
58
+ *
59
+ * - **Primary** is used for:
60
+ * - Sales funnel states
61
+ * - Indication of customer divisions
62
+ * - Variant with icon: used to show user state in settings page
63
+ *
64
+ * - **Secondary** is used for:
65
+ * - specific company types e.g. startup
66
+ * - Indication of customer divisions
67
+ * - Variant with icon: used to show division permissions
68
+ *
69
+ * - **Tertiary** is used to display a company’s state
70
+ */
71
+ var Badge = external_react_default().memo(function (_a) {
72
+ var _b = _a.size, size = _b === void 0 ? 'sm' : _b, props = __rest(_a, ["size"]);
73
+ var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-badge', "variant-" + props.variant + "-" + props.color, size), iconClassName = external_classnames_default()({
74
+ 'mr-2': props.children != null,
75
+ }), icon = props.icon == null ? null : external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: props.icon, className: iconClassName });
76
+ return (external_react_default().createElement((Badge_default()), { className: className },
77
+ icon,
78
+ props.children));
79
+ });
80
+ Badge.displayName = 'Badge';
81
+
82
+
83
+ ;// CONCATENATED MODULE: ./src/components/Badge/index.ts
84
+
85
+
86
+
87
+ /***/ }),
88
+
89
+ /***/ 5692:
90
+ /***/ ((module) => {
91
+
92
+ module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
93
+
94
+ /***/ }),
95
+
96
+ /***/ 8310:
97
+ /***/ ((module) => {
98
+
99
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
100
+
101
+ /***/ }),
102
+
103
+ /***/ 8156:
104
+ /***/ ((module) => {
105
+
106
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
107
+
108
+ /***/ }),
109
+
110
+ /***/ 6997:
111
+ /***/ ((module) => {
112
+
113
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6997__;
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
+ /******/ 54: 0,
228
+ /******/ 1981: 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, [1981], () => (__webpack_require__(1702)))
279
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
280
+ /******/
281
+ /******/ return __webpack_exports__;
282
+ /******/ })()
283
+ ;
284
+ });
285
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AACsC;AAEpD;AACyC;AAgC/D;;;;;;;;;;;;;;;;GAgBG;AACH,IAAM,KAAK,GAAkD,6BAAU,CAAC,UAAC,EAAuB;IAAtB,gBAAW,EAAX,IAAI,mBAAG,IAAI,OAAK,KAAK,cAAtB,QAAuB,CAAD;IAC3F,IAAM,SAAS,GAAW,6BAAU,CAC5B,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,EAChB,aAAa,EACb,aAAW,KAAK,CAAC,OAAO,SAAI,KAAK,CAAC,KAAO,EACzC,IAAI,CACP,EACD,aAAa,GAAW,6BAAU,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,IAAI;KACjC,CAAC,EACF,IAAI,GACA,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAC,kCAAe,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,GAAI,CAAC;IAEpG,OAAO,CACH,uCAAC,iBAAO,IAAC,SAAS,EAAE,SAAS;QACxB,IAAI;QACJ,KAAK,CAAC,QAAQ,CACT,CACb,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAEb;;;AC7ES;;;;;;;;ACAxB;;;;;;;ACAA;;;;;;;ACAA;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Badge/Badge.tsx","webpack://atoka-design-system/./src/components/Badge/index.ts","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Badge\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Badge\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Badge\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Badge\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6997__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport BsBadge, {BadgeProps as BsBadgeProps} from 'react-bootstrap/Badge';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport './Badge.less';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nexport type BadgeColor =\n | 'bluekeywords'\n | 'bluestartup'\n | 'bluepa'\n | 'red'\n | 'yellow'\n | 'green'\n | 'bluedivision'\n | 'blue300'\n | 'gray'\n | 'black'\n | 'orange'\n | 'pinkbaby'\n | 'gray300';\nexport type BadgeVariant = 'primary' | 'secondary' | 'tertiary';\nexport type BadgeSizes = 'sm' | 'md';\n\nexport interface BadgeProps extends BsBadgeProps {\n icon?: IconDefinition;\n size?: BadgeSizes;\n /**\n * Variant defines the form of the badge.\n */\n variant: BadgeVariant;\n /**\n * note: `bluepa` stands for blue public administration.\n */\n color: BadgeColor;\n}\n\n/**\n * ### Overview\n *\n * A `Badge` is a component which represents an attribute of a specific element. There are three types of badges:\n *\n * - **Primary** is used for:\n * - Sales funnel states\n * - Indication of customer divisions\n * - Variant with icon: used to show user state in settings page\n *\n * - **Secondary** is used for:\n * - specific company types e.g. startup\n * - Indication of customer divisions\n * - Variant with icon: used to show division permissions\n *\n * - **Tertiary** is used to display a company’s state\n */\nconst Badge: React.FC<React.PropsWithChildren<BadgeProps>> = React.memo(({size = 'sm', ...props}) => {\n const className: string = classnames(\n props?.className,\n 'atoka-badge',\n `variant-${props.variant}-${props.color}`,\n size,\n ),\n iconClassName: string = classnames({\n 'mr-2': props.children != null,\n }),\n icon: React.ReactNode =\n props.icon == null ? null : <FontAwesomeIcon icon={props.icon} className={iconClassName} />;\n\n return (\n <BsBadge className={className}>\n {icon}\n {props.children}\n </BsBadge>\n );\n});\n\nBadge.displayName = 'Badge';\n\nexport {Badge};\n","export * from './Badge';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6997__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t54: 0,\n\t1981: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(1702)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import './Bs4V3Wrapper.less';
3
+ import { PropsWithClassName } from '../Utils';
4
+ export declare class Bs4V3Wrapper extends React.PureComponent<PropsWithClassName> {
5
+ static displayName: string;
6
+ render(): React.ReactNode;
7
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface StoryWrapperProps {
3
+ span?: number;
4
+ offset?: number;
5
+ style?: React.CSSProperties;
6
+ fluid?: boolean;
7
+ }
8
+ export declare const StoryWrapper: React.FC<StoryWrapperProps>;
@@ -0,0 +1 @@
1
+ export { Bs4V3Wrapper } from './Bs4V3Wrapper';
@@ -0,0 +1,251 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("classnames"), require("react"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["classnames", "react"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("classnames"), require("react"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["classnames"], root["react"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 4882:
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
+ "Bs4V3Wrapper": () => (/* reexport */ Bs4V3Wrapper)
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
+ ;// CONCATENATED MODULE: ./src/components/Bs4V3Wrapper/Bs4V3Wrapper.tsx
33
+ var __extends = (undefined && undefined.__extends) || (function () {
34
+ var extendStatics = function (d, b) {
35
+ extendStatics = Object.setPrototypeOf ||
36
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
37
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
38
+ return extendStatics(d, b);
39
+ };
40
+ return function (d, b) {
41
+ extendStatics(d, b);
42
+ function __() { this.constructor = d; }
43
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
44
+ };
45
+ })();
46
+
47
+
48
+
49
+ var Bs4V3Wrapper = /** @class */ (function (_super) {
50
+ __extends(Bs4V3Wrapper, _super);
51
+ function Bs4V3Wrapper() {
52
+ return _super !== null && _super.apply(this, arguments) || this;
53
+ }
54
+ Bs4V3Wrapper.prototype.render = function () {
55
+ var className = external_classnames_default()('bs4-v3', this.props.className);
56
+ return external_react_default().createElement("div", { className: className }, this.props.children);
57
+ };
58
+ Bs4V3Wrapper.displayName = 'Bs4V3Wrapper';
59
+ return Bs4V3Wrapper;
60
+ }((external_react_default()).PureComponent));
61
+
62
+
63
+ ;// CONCATENATED MODULE: ./src/components/Bs4V3Wrapper/index.ts
64
+
65
+
66
+
67
+ /***/ }),
68
+
69
+ /***/ 8310:
70
+ /***/ ((module) => {
71
+
72
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
73
+
74
+ /***/ }),
75
+
76
+ /***/ 8156:
77
+ /***/ ((module) => {
78
+
79
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
80
+
81
+ /***/ })
82
+
83
+ /******/ });
84
+ /************************************************************************/
85
+ /******/ // The module cache
86
+ /******/ var __webpack_module_cache__ = {};
87
+ /******/
88
+ /******/ // The require function
89
+ /******/ function __webpack_require__(moduleId) {
90
+ /******/ // Check if module is in cache
91
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
92
+ /******/ if (cachedModule !== undefined) {
93
+ /******/ return cachedModule.exports;
94
+ /******/ }
95
+ /******/ // Create a new module (and put it into the cache)
96
+ /******/ var module = __webpack_module_cache__[moduleId] = {
97
+ /******/ // no module.id needed
98
+ /******/ // no module.loaded needed
99
+ /******/ exports: {}
100
+ /******/ };
101
+ /******/
102
+ /******/ // Execute the module function
103
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
104
+ /******/
105
+ /******/ // Return the exports of the module
106
+ /******/ return module.exports;
107
+ /******/ }
108
+ /******/
109
+ /******/ // expose the modules object (__webpack_modules__)
110
+ /******/ __webpack_require__.m = __webpack_modules__;
111
+ /******/
112
+ /************************************************************************/
113
+ /******/ /* webpack/runtime/chunk loaded */
114
+ /******/ (() => {
115
+ /******/ var deferred = [];
116
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
117
+ /******/ if(chunkIds) {
118
+ /******/ priority = priority || 0;
119
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
120
+ /******/ deferred[i] = [chunkIds, fn, priority];
121
+ /******/ return;
122
+ /******/ }
123
+ /******/ var notFulfilled = Infinity;
124
+ /******/ for (var i = 0; i < deferred.length; i++) {
125
+ /******/ var [chunkIds, fn, priority] = deferred[i];
126
+ /******/ var fulfilled = true;
127
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
128
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
129
+ /******/ chunkIds.splice(j--, 1);
130
+ /******/ } else {
131
+ /******/ fulfilled = false;
132
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
133
+ /******/ }
134
+ /******/ }
135
+ /******/ if(fulfilled) {
136
+ /******/ deferred.splice(i--, 1)
137
+ /******/ var r = fn();
138
+ /******/ if (r !== undefined) result = r;
139
+ /******/ }
140
+ /******/ }
141
+ /******/ return result;
142
+ /******/ };
143
+ /******/ })();
144
+ /******/
145
+ /******/ /* webpack/runtime/compat get default export */
146
+ /******/ (() => {
147
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
148
+ /******/ __webpack_require__.n = (module) => {
149
+ /******/ var getter = module && module.__esModule ?
150
+ /******/ () => (module['default']) :
151
+ /******/ () => (module);
152
+ /******/ __webpack_require__.d(getter, { a: getter });
153
+ /******/ return getter;
154
+ /******/ };
155
+ /******/ })();
156
+ /******/
157
+ /******/ /* webpack/runtime/define property getters */
158
+ /******/ (() => {
159
+ /******/ // define getter functions for harmony exports
160
+ /******/ __webpack_require__.d = (exports, definition) => {
161
+ /******/ for(var key in definition) {
162
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
163
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
164
+ /******/ }
165
+ /******/ }
166
+ /******/ };
167
+ /******/ })();
168
+ /******/
169
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
170
+ /******/ (() => {
171
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
172
+ /******/ })();
173
+ /******/
174
+ /******/ /* webpack/runtime/make namespace object */
175
+ /******/ (() => {
176
+ /******/ // define __esModule on exports
177
+ /******/ __webpack_require__.r = (exports) => {
178
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
179
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
180
+ /******/ }
181
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
182
+ /******/ };
183
+ /******/ })();
184
+ /******/
185
+ /******/ /* webpack/runtime/jsonp chunk loading */
186
+ /******/ (() => {
187
+ /******/ // no baseURI
188
+ /******/
189
+ /******/ // object to store loaded and loading chunks
190
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
191
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
192
+ /******/ var installedChunks = {
193
+ /******/ 4548: 0,
194
+ /******/ 1981: 0
195
+ /******/ };
196
+ /******/
197
+ /******/ // no chunk on demand loading
198
+ /******/
199
+ /******/ // no prefetching
200
+ /******/
201
+ /******/ // no preloaded
202
+ /******/
203
+ /******/ // no HMR
204
+ /******/
205
+ /******/ // no HMR manifest
206
+ /******/
207
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
208
+ /******/
209
+ /******/ // install a JSONP callback for chunk loading
210
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
211
+ /******/ var [chunkIds, moreModules, runtime] = data;
212
+ /******/ // add "moreModules" to the modules object,
213
+ /******/ // then flag all "chunkIds" as loaded and fire callback
214
+ /******/ var moduleId, chunkId, i = 0;
215
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
216
+ /******/ for(moduleId in moreModules) {
217
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
218
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
219
+ /******/ }
220
+ /******/ }
221
+ /******/ if(runtime) var result = runtime(__webpack_require__);
222
+ /******/ }
223
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
224
+ /******/ for(;i < chunkIds.length; i++) {
225
+ /******/ chunkId = chunkIds[i];
226
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
227
+ /******/ installedChunks[chunkId][0]();
228
+ /******/ }
229
+ /******/ installedChunks[chunkIds[i]] = 0;
230
+ /******/ }
231
+ /******/ return __webpack_require__.O(result);
232
+ /******/ }
233
+ /******/
234
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
235
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
236
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
237
+ /******/ })();
238
+ /******/
239
+ /************************************************************************/
240
+ /******/
241
+ /******/ // startup
242
+ /******/ // Load entry module and return exports
243
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
244
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(4882)))
245
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
246
+ /******/
247
+ /******/ return __webpack_exports__;
248
+ /******/ })()
249
+ ;
250
+ });
251
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bs4V3Wrapper/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AAEG;AACO;AAGpC;IAAkC,gCAAuC;IAAzE;;IAQA,CAAC;IALU,6BAAM,GAAb;QACI,IAAI,SAAS,GAAG,6BAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAE3D,OAAO,gDAAK,SAAS,EAAE,SAAS,IAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAO,CAAC;IAClE,CAAC;IANM,wBAAW,GAAW,cAAc,CAAC;IAOhD,mBAAC;CAAA,CARiC,wCAAmB,GAQpD;AARwB;;;ACNmB;;;;;;;;ACA5C;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Bs4V3Wrapper/Bs4V3Wrapper.tsx","webpack://atoka-design-system/./src/components/Bs4V3Wrapper/index.ts","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"classnames\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"classnames\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"classnames\"), require(\"react\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"classnames\"], root[\"react\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {\nreturn ","import React from 'react';\n\nimport './Bs4V3Wrapper.less';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nexport class Bs4V3Wrapper extends React.PureComponent<PropsWithClassName> {\n static displayName: string = 'Bs4V3Wrapper';\n\n public render(): React.ReactNode {\n let className = classnames('bs4-v3', this.props.className);\n\n return <div className={className}>{this.props.children}</div>;\n }\n}\n","export {Bs4V3Wrapper} from './Bs4V3Wrapper';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t4548: 0,\n\t1981: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(4882)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import { ComputedDatum } from '@nivo/circle-packing';
3
+ import { DataPoint, PropsWithClassName } from '../Utils/CommonTypes';
4
+ import { BubbleChartCommonProps } from './BubbleChartUI';
5
+ export declare type BubbleChartTooltip = (props: ComputedDatum<BubbleChartDataPoint>) => JSX.Element;
6
+ export interface BubbleChartDataPoint extends Record<string, unknown>, DataPoint {
7
+ significance?: number;
8
+ children?: BubbleChartDataPoint[];
9
+ }
10
+ export declare type BubbleChartProps = PropsWithClassName & BubbleChartCommonProps & {
11
+ data: BubbleChartDataPoint[];
12
+ colors?: string[];
13
+ labelSkipRadius?: number;
14
+ otherId: string;
15
+ maxBubbleNumber?: number;
16
+ };
17
+ /**
18
+ * ### Overview
19
+ *
20
+ * The `BubbleChart` is most useful to display large sets of data.
21
+ * Please note this chart is not suited for tree data structures.
22
+ * Circle colors and size by default derive from the `significance`
23
+ * prop of a given `datapoint`.
24
+ * */
25
+ export declare class BubbleChart extends React.Component<BubbleChartProps> {
26
+ static defaultDataValueKey: string;
27
+ static displayName: string;
28
+ shouldComponentUpdate(nextProps: BubbleChartProps): boolean;
29
+ static defaultProps: Partial<BubbleChartProps>;
30
+ private getComponentSetup;
31
+ private computeColors;
32
+ render(): React.ReactNode;
33
+ }