@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.
- package/AddableItems/AddableItems.d.ts +72 -0
- package/AddableItems/ClickableExcludableItem.d.ts +23 -0
- package/AddableItems/ClickableItemList.d.ts +32 -0
- package/AddableItems/index.d.ts +1 -0
- package/AddableItems/index.js +1046 -0
- package/AddableItems/index.js.map +1 -0
- package/Alert/Alert.d.ts +37 -0
- package/Alert/index.d.ts +1 -0
- package/Alert/index.js +319 -0
- package/Alert/index.js.map +1 -0
- package/Badge/Badge.d.ts +38 -0
- package/Badge/index.d.ts +1 -0
- package/Badge/index.js +285 -0
- package/Badge/index.js.map +1 -0
- package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
- package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
- package/Bs4V3Wrapper/index.d.ts +1 -0
- package/Bs4V3Wrapper/index.js +251 -0
- package/Bs4V3Wrapper/index.js.map +1 -0
- package/BubbleChart/BubbleChart.d.ts +33 -0
- package/BubbleChart/BubbleChartUI.d.ts +31 -0
- package/BubbleChart/index.d.ts +1 -0
- package/BubbleChart/index.js +3793 -0
- package/BubbleChart/index.js.map +1 -0
- package/Button/Button.d.ts +29 -0
- package/Button/Button.storiesConfig.d.ts +68 -0
- package/Button/index.d.ts +1 -0
- package/Button/index.js +323 -0
- package/Button/index.js.map +1 -0
- package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
- package/ButtonDropdown/index.d.ts +2 -0
- package/ButtonDropdown/index.js +603 -0
- package/ButtonDropdown/index.js.map +1 -0
- package/CardsPage/CardsPage.d.ts +12 -0
- package/CardsPage/CardsPageActions.d.ts +2 -0
- package/CardsPage/CardsPageCards.d.ts +5 -0
- package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
- package/CardsPage/CardsPageFilters.d.ts +3 -0
- package/CardsPage/CardsPageHeader.d.ts +11 -0
- package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
- package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
- package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
- package/CardsPage/CardsPageSorting.d.ts +15 -0
- package/CardsPage/CardsPageSubtitle.d.ts +2 -0
- package/CardsPage/CardsPageTabContent.d.ts +19 -0
- package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
- package/CardsPage/CardsPageTitle.d.ts +2 -0
- package/CardsPage/index.d.ts +2 -0
- package/CardsPage/index.js +2511 -0
- package/CardsPage/index.js.map +1 -0
- package/CursorPagination/CursorPagination.d.ts +21 -0
- package/CursorPagination/index.d.ts +1 -0
- package/CursorPagination/index.js +952 -0
- package/CursorPagination/index.js.map +1 -0
- package/DatePicker/DatePicker.d.ts +27 -0
- package/DatePicker/index.d.ts +1 -0
- package/DatePicker/index.js +452 -0
- package/DatePicker/index.js.map +1 -0
- package/DetailPage/DetailPage.d.ts +18 -0
- package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
- package/DetailPage/DetailPageBodySection.d.ts +3 -0
- package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
- package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
- package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
- package/DetailPage/DetailPageMenuUI.d.ts +4 -0
- package/DetailPage/index.d.ts +1 -0
- package/DetailPage/index.js +2066 -0
- package/DetailPage/index.js.map +1 -0
- package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
- package/Dropdown/Dropdown.d.ts +12 -0
- package/Dropdown/DropdownMenu.d.ts +7 -0
- package/Dropdown/index.d.ts +3 -0
- package/Dropdown/index.js +723 -0
- package/Dropdown/index.js.map +1 -0
- package/EditableString/EditableString.d.ts +42 -0
- package/EditableString/index.d.ts +1 -0
- package/EditableString/index.js +3321 -0
- package/EditableString/index.js.map +1 -0
- package/EllipsableContent/EllipsableContent.d.ts +18 -0
- package/EllipsableContent/index.d.ts +1 -0
- package/EllipsableContent/index.js +784 -0
- package/EllipsableContent/index.js.map +1 -0
- package/EmptyState/EmptyState.d.ts +12 -0
- package/EmptyState/index.d.ts +1 -0
- package/EmptyState/index.js +278 -0
- package/EmptyState/index.js.map +1 -0
- package/Facet/Facet.d.ts +21 -0
- package/Facet/FacetHelp.d.ts +28 -0
- package/Facet/FacetItemCount.d.ts +7 -0
- package/Facet/FacetSubtitle.d.ts +2 -0
- package/Facet/index.d.ts +1 -0
- package/Facet/index.js +914 -0
- package/Facet/index.js.map +1 -0
- package/FacetSection/FacetSection.d.ts +21 -0
- package/FacetSection/index.d.ts +1 -0
- package/FacetSection/index.js +443 -0
- package/FacetSection/index.js.map +1 -0
- package/FadeAnimation/FadeAnimation.d.ts +14 -0
- package/FadeAnimation/index.d.ts +1 -0
- package/FadeAnimation/index.js +1228 -0
- package/FadeAnimation/index.js.map +1 -0
- package/FeedbackButton/FeedbackButton.d.ts +19 -0
- package/FeedbackButton/index.d.ts +1 -0
- package/FeedbackButton/index.js +398 -0
- package/FeedbackButton/index.js.map +1 -0
- package/Form/Form.d.ts +23 -0
- package/Form/FormCheckbox.d.ts +10 -0
- package/Form/FormControl.d.ts +23 -0
- package/Form/FormControlFeedBack.d.ts +6 -0
- package/Form/FormHelp.d.ts +7 -0
- package/Form/FormLabel.d.ts +4 -0
- package/Form/FormRadio.d.ts +10 -0
- package/Form/index.d.ts +1 -0
- package/Form/index.js +450 -0
- package/Form/index.js.map +1 -0
- package/Funnel/Funnel.d.ts +54 -0
- package/Funnel/SVGDataLabel.d.ts +11 -0
- package/Funnel/index.d.ts +1 -0
- package/Funnel/index.js +3997 -0
- package/Funnel/index.js.map +1 -0
- package/GridCard/Fixtures.d.ts +3 -0
- package/GridCard/GridCard.d.ts +20 -0
- package/GridCard/GridCardContent.d.ts +2 -0
- package/GridCard/GridCardFooter.d.ts +2 -0
- package/GridCard/GridCardHeader.d.ts +14 -0
- package/GridCard/GridCardMenu.d.ts +2 -0
- package/GridCard/GridCardTags.d.ts +2 -0
- package/GridCard/GridCardTitle.d.ts +6 -0
- package/GridCard/index.d.ts +1 -0
- package/GridCard/index.js +1618 -0
- package/GridCard/index.js.map +1 -0
- package/HighlightableText/HighlightableText.d.ts +21 -0
- package/HighlightableText/index.d.ts +1 -0
- package/HighlightableText/index.js +624 -0
- package/HighlightableText/index.js.map +1 -0
- package/Histogram/Histogram.d.ts +126 -0
- package/Histogram/Types.d.ts +19 -0
- package/Histogram/index.d.ts +1 -0
- package/Histogram/index.js +2359 -0
- package/Histogram/index.js.map +1 -0
- package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
- package/InlineStringEditor/index.d.ts +1 -0
- package/InlineStringEditor/index.js +1882 -0
- package/InlineStringEditor/index.js.map +1 -0
- package/InputGroup/InputGroup.d.ts +16 -0
- package/InputGroup/InputGroupText.d.ts +2 -0
- package/InputGroup/index.d.ts +1 -0
- package/InputGroup/index.js +279 -0
- package/InputGroup/index.js.map +1 -0
- package/Jumbotron/Jumbotron.d.ts +16 -0
- package/Jumbotron/index.d.ts +1 -0
- package/Jumbotron/index.js +270 -0
- package/Jumbotron/index.js.map +1 -0
- package/Map/Map.d.ts +27 -0
- package/Map/MapChoropleth.d.ts +31 -0
- package/Map/MapControl.d.ts +13 -0
- package/Map/MapLegendContent.d.ts +27 -0
- package/Map/MapPopup.d.ts +5 -0
- package/Map/MapUtils.d.ts +2 -0
- package/Map/Types.d.ts +38 -0
- package/Map/index.d.ts +2 -0
- package/Map/index.js +4810 -0
- package/Map/index.js.map +1 -0
- package/Modal/Modal.d.ts +32 -0
- package/Modal/index.d.ts +1 -0
- package/Modal/index.js +743 -0
- package/Modal/index.js.map +1 -0
- package/Navbar/Navbar.d.ts +42 -0
- package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
- package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
- package/Navbar/NavbarNavigationMenu.d.ts +9 -0
- package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
- package/Navbar/NavbarNinjaMenu.d.ts +6 -0
- package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
- package/Navbar/NavbarNotificationMenu.d.ts +12 -0
- package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
- package/Navbar/NavbarOverlaySearch.d.ts +28 -0
- package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
- package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
- package/Navbar/NavbarUserMenu.d.ts +9 -0
- package/Navbar/NavbarUserMenuItem.d.ts +6 -0
- package/Navbar/index.d.ts +1 -0
- package/Navbar/index.js +3521 -0
- package/Navbar/index.js.map +1 -0
- package/Pagination/Pagination.d.ts +27 -0
- package/Pagination/PaginationNext.d.ts +7 -0
- package/Pagination/PaginationPrev.d.ts +7 -0
- package/Pagination/index.d.ts +1 -0
- package/Pagination/index.js +994 -0
- package/Pagination/index.js.map +1 -0
- package/PieChart/PieChart.d.ts +71 -0
- package/PieChart/index.d.ts +1 -0
- package/PieChart/index.js +1986 -0
- package/PieChart/index.js.map +1 -0
- package/PublicFooter/PublicFooter.d.ts +6 -0
- package/PublicFooter/index.d.ts +1 -0
- package/PublicFooter/index.js +454 -0
- package/PublicFooter/index.js.map +1 -0
- package/PublicNavbar/PublicNavbar.d.ts +6 -0
- package/PublicNavbar/index.d.ts +1 -0
- package/PublicNavbar/index.js +255 -0
- package/PublicNavbar/index.js.map +1 -0
- package/RecordBit/RecordBit.d.ts +14 -0
- package/RecordBit/index.d.ts +1 -0
- package/RecordBit/index.js +482 -0
- package/RecordBit/index.js.map +1 -0
- package/ResultItemCard/ResultItemCard.d.ts +19 -0
- package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
- package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
- package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
- package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
- package/ResultItemCard/ResultItemCardText.d.ts +7 -0
- package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
- package/ResultItemCard/index.d.ts +1 -0
- package/ResultItemCard/index.js +1067 -0
- package/ResultItemCard/index.js.map +1 -0
- package/SelectDropdown/SelectDropdown.d.ts +29 -0
- package/SelectDropdown/index.d.ts +1 -0
- package/SelectDropdown/index.js +1520 -0
- package/SelectDropdown/index.js.map +1 -0
- package/Spinner/Spinner.d.ts +32 -0
- package/Spinner/index.d.ts +1 -0
- package/Spinner/index.js +325 -0
- package/Spinner/index.js.map +1 -0
- package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
- package/StatisticsItemCard/index.d.ts +1 -0
- package/StatisticsItemCard/index.js +1786 -0
- package/StatisticsItemCard/index.js.map +1 -0
- package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
- package/StatisticsItemNumeric/index.d.ts +1 -0
- package/StatisticsItemNumeric/index.js +283 -0
- package/StatisticsItemNumeric/index.js.map +1 -0
- package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
- package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
- package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
- package/StatisticsLegend/helpers.d.ts +19 -0
- package/StatisticsLegend/index.d.ts +3 -0
- package/StatisticsLegend/index.js +1571 -0
- package/StatisticsLegend/index.js.map +1 -0
- package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
- package/StatisticsTooltip/helpers.d.ts +19 -0
- package/StatisticsTooltip/index.d.ts +2 -0
- package/StatisticsTooltip/index.js +796 -0
- package/StatisticsTooltip/index.js.map +1 -0
- package/Suggester/CustomOption.d.ts +29 -0
- package/Suggester/InputValueContainer.d.ts +11 -0
- package/Suggester/Suggester.d.ts +80 -0
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
- package/Suggester/index.d.ts +3 -0
- package/Suggester/index.js +1126 -0
- package/Suggester/index.js.map +1 -0
- package/SunBurst/SunBurst.d.ts +61 -0
- package/SunBurst/index.d.ts +2 -0
- package/SunBurst/index.js +1170 -0
- package/SunBurst/index.js.map +1 -0
- package/TabSwitcher/TabSwitcher.d.ts +35 -0
- package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
- package/TabSwitcher/index.d.ts +1 -0
- package/TabSwitcher/index.js +1135 -0
- package/TabSwitcher/index.js.map +1 -0
- package/Title/Title.d.ts +16 -0
- package/Title/index.d.ts +1 -0
- package/Title/index.js +302 -0
- package/Title/index.js.map +1 -0
- package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
- package/ToggleButtonGroup/index.d.ts +1 -0
- package/ToggleButtonGroup/index.js +609 -0
- package/ToggleButtonGroup/index.js.map +1 -0
- package/Tooltip/Tooltip.d.ts +20 -0
- package/Tooltip/index.d.ts +1 -0
- package/Tooltip/index.js +291 -0
- package/Tooltip/index.js.map +1 -0
- package/Utils/CommonTypes.d.ts +29 -0
- package/Utils/Statistics.d.ts +3 -0
- package/Utils/Style.d.ts +5 -0
- package/Utils/Text.d.ts +12 -0
- package/Utils/Utils.d.ts +12 -0
- package/Utils/index.d.ts +5 -0
- package/Utils/index.js +3379 -0
- package/Utils/index.js.map +1 -0
- package/atoka-design-system-2.0.72-beta.min.css +1 -0
- package/commonFixtures.d.ts +1 -0
- package/index.d.ts +51 -0
- package/index.js +15343 -0
- package/index.js.map +1 -0
- package/package.json +157 -0
- package/styles/animations-mixin.less +28 -0
- package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
- package/styles/atoka-bootstrap-variables.less +70 -0
- package/styles/atoka-bs.less +99 -0
- package/styles/atoka-namespaced-bs.less +28 -0
- package/styles/variables.less +106 -0
- 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 @@
|
|
|
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
|
+
}
|