@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleButtonGroup/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AAC4E;AACvC;AAE5B;AAQnC;IAAkC,gCAAsC;IAAxE;;IA+CA,CAAC;IA5CW,iCAAU,GAAlB;QACI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,EAAE;YACzB,OAAO,IAAI,CAAC;SACf;QAED,OAAO,uCAAC,kCAAe,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,CAAC;IACtD,CAAC;IAEO,yCAAkB,GAA1B;QACI,OAAO,CACH;YACI,gDAAK,SAAS,EAAC,uBAAuB,IAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAO;YACjE,IAAI,CAAC,UAAU,EAAE,CAChB,CACT,CAAC;IACN,CAAC;IAEO,mCAAY,GAApB;QACI,OAAO,CACH,uCAAC,wBAAc,IACX,SAAS,EAAC,8BAA8B,EACxC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,K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GAAzH;AACD,KAFD;AAGD;;AAED,SAAOD,OAAO,CAACC,GAAD,CAAd;AACD;;;;;;UCdD;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;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;;;;;UElDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/ToggleButtonGroup/ToggleButton.tsx","webpack://atoka-design-system/./src/components/ToggleButtonGroup/ToggleButtonGroup.tsx","webpack://atoka-design-system/./src/components/ToggleButtonGroup/index.ts","webpack://atoka-design-system/./src/components/Tooltip/Tooltip.tsx","webpack://atoka-design-system/./src/components/Tooltip/index.ts","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","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/ButtonGroup\"","webpack://atoka-design-system/external umd \"react-bootstrap/OverlayTrigger\"","webpack://atoka-design-system/external umd \"react-bootstrap/ToggleButton\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","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/ButtonGroup\"), require(\"react-bootstrap/OverlayTrigger\"), require(\"react-bootstrap/ToggleButton\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/ButtonGroup\", \"react-bootstrap/OverlayTrigger\", \"react-bootstrap/ToggleButton\"], 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/ButtonGroup\"), require(\"react-bootstrap/OverlayTrigger\"), require(\"react-bootstrap/ToggleButton\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/ButtonGroup\"], root[\"react-bootstrap/OverlayTrigger\"], root[\"react-bootstrap/ToggleButton\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__5901__, __WEBPACK_EXTERNAL_MODULE__6043__, __WEBPACK_EXTERNAL_MODULE__3778__) {\nreturn ","import React from 'react';\nimport BsToggleButton, {ToggleButtonProps as BsToggleButtonProps} from 'react-bootstrap/ToggleButton';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {Tooltip} from '../Tooltip';\n\nexport interface ToggleButtonProps extends BsToggleButtonProps {\n icon?: IconDefinition;\n tooltipMessage?: React.ReactNode;\n sameSize?: boolean;\n}\n\nexport class ToggleButton extends React.PureComponent<ToggleButtonProps> {\n static displayName: string = 'ToggleButton';\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n return <FontAwesomeIcon icon={this.props.icon} />;\n }\n\n private renderLabelAndIcon(): React.ReactNode {\n return (\n <div>\n <div className='btn-children d-inline'>{this.props.children}</div>\n {this.renderIcon()}\n </div>\n );\n }\n\n private renderButton(): JSX.Element {\n return (\n <BsToggleButton\n className='atoka-toggle-btn text-center'\n type={this.props.type}\n value={this.props.value}\n checked={this.props.checked}\n onChange={this.props.onChange}\n disabled={this.props.disabled}\n block={this.props.sameSize}\n >\n {this.renderLabelAndIcon()}\n </BsToggleButton>\n );\n }\n\n public render(): React.ReactNode {\n if (this.props.tooltipMessage == null) {\n return this.renderButton();\n }\n\n return (\n <Tooltip placement='top' content={this.props.tooltipMessage}>\n {this.renderButton()}\n </Tooltip>\n );\n }\n}\n","import React from 'react';\nimport autobind from 'autobind-decorator';\nimport classnames from 'classnames';\nimport ButtonGroup from 'react-bootstrap/ButtonGroup';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\n\nimport {OptionData, PropsWithClassName} from '../Utils/CommonTypes';\n\nimport {ButtonSize} from '../Button';\nimport {ToggleButton} from './ToggleButton';\nimport './ToggleButtonGroup.less';\n\nexport interface ToggleOption extends OptionData {\n icon?: IconDefinition;\n tooltipMessage?: React.ReactNode;\n}\n\nexport interface ToggleButtonGroupProps extends PropsWithClassName {\n size: ButtonSize;\n sameSize?: boolean;\n value?: ToggleOption['value'];\n onChange?: (value: ToggleOption['value']) => void;\n options: ToggleOption[];\n}\n\nexport class ToggleButtonGroup extends React.PureComponent<ToggleButtonGroupProps> {\n static displayName: string = 'ToggleButtonGroup';\n public static defaultProps: ToggleButtonGroupProps = {\n size: 'md',\n options: [],\n };\n\n @autobind\n private onChange(value: ToggleOption['value']): void {\n if (this.props.onChange && value !== this.props.value) {\n this.props.onChange(value);\n }\n }\n\n @autobind\n private renderItem(option: ToggleOption, index: number): React.ReactNode {\n return (\n <ToggleButton\n key={index}\n type='radio'\n value={option.value}\n icon={option.icon}\n onChange={() => this.onChange(option.value)}\n checked={this.props.value === option.value}\n disabled={option.disabled}\n tooltipMessage={option.tooltipMessage}\n sameSize={this.props.sameSize}\n >\n {option.label}\n </ToggleButton>\n );\n }\n\n @autobind\n private renderButtons(): React.ReactNode {\n return this.props.options.map(this.renderItem);\n }\n\n public render(): React.ReactNode {\n const className: string = classnames(\n this.props.className,\n 'atoka-toggle-btn-group',\n 'btn-group-primary',\n `btn-group-${this.props.size}`,\n {\n 'd-flex': this.props.sameSize === true,\n },\n );\n return <ButtonGroup className={className}>{this.renderButtons()}</ButtonGroup>;\n }\n}\n","export {ToggleButtonGroup} from './ToggleButtonGroup';\n","import React from 'react';\nimport classnames from 'classnames';\nimport OverlayTrigger, {OverlayTriggerProps} from 'react-bootstrap/OverlayTrigger';\nimport {PropsWithClassName} from '../Utils';\nimport './Tooltip.less';\n\nexport type TooltipOverlayProps = Omit<OverlayTriggerProps, 'overlay'>;\nexport interface TooltipProps extends TooltipOverlayProps, PropsWithClassName {\n content: React.ReactNode;\n}\n/**\n * ### Overview\n *\n * A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.\n *\n * ### Best practices\n * - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task\n * - The text inside the tooltip should be brief but helpful\n * - Use tooltips to describe the action of icon-only buttons\n * - Make sure that the tooltip’s placement doesn’t hide its related content behind it\n */\nexport const Tooltip: React.FC<TooltipProps> = React.memo((props) => {\n let bs4v3Wrapper = document.querySelector('.bs4-v3-external-container') as HTMLElement,\n placement = props.placement ?? 'top',\n classNames = classnames('tooltip atoka-tooltip', props.className, {\n 'top bs-tooltip-top': placement.indexOf('top') === 0,\n 'right bs-tooltip-right': placement.indexOf('right') === 0,\n 'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,\n 'left bs-tooltip-left': placement.indexOf('left') === 0,\n });\n\n const {content, ...overlayProps} = props,\n renderTooltip: OverlayTriggerProps['overlay'] = ({arrowProps, ...tooltipProps}) => {\n // {vrut} do not pass show to the component, this will raise an error, see PANDA-439\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const {show, ...rest} = tooltipProps,\n component = (\n <div {...rest} className={classNames} role='tooltip'>\n <div className='tooltip-inner'>\n <div className='arrow arrow-back' {...arrowProps} />\n {content}\n <div className='arrow arrow-front' {...arrowProps} />\n </div>\n </div>\n );\n\n return component;\n };\n\n return (\n <OverlayTrigger {...overlayProps} container={bs4v3Wrapper} overlay={renderTooltip}>\n {props.children}\n </OverlayTrigger>\n );\n});\n\nTooltip.displayName = 'Tooltip';\n","export * from './Tooltip';\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5901__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3778__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","// 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\t1030: 0,\n\t2823: 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__(6237)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { OverlayTriggerProps } from 'react-bootstrap/OverlayTrigger';
3
+ import { PropsWithClassName } from '../Utils';
4
+ import './Tooltip.less';
5
+ export declare type TooltipOverlayProps = Omit<OverlayTriggerProps, 'overlay'>;
6
+ export interface TooltipProps extends TooltipOverlayProps, PropsWithClassName {
7
+ content: React.ReactNode;
8
+ }
9
+ /**
10
+ * ### Overview
11
+ *
12
+ * A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.
13
+ *
14
+ * ### Best practices
15
+ * - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task
16
+ * - The text inside the tooltip should be brief but helpful
17
+ * - Use tooltips to describe the action of icon-only buttons
18
+ * - Make sure that the tooltip’s placement doesn’t hide its related content behind it
19
+ */
20
+ export declare const Tooltip: React.FC<TooltipProps>;
@@ -0,0 +1 @@
1
+ export * from './Tooltip';
@@ -0,0 +1,291 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("classnames"), require("react"), require("react-bootstrap/OverlayTrigger"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define("atoka-design-system", ["classnames", "react", "react-bootstrap/OverlayTrigger"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["atoka-design-system"] = factory(require("classnames"), require("react"), require("react-bootstrap/OverlayTrigger"));
8
+ else
9
+ root["atoka-design-system"] = factory(root["classnames"], root["react"], root["react-bootstrap/OverlayTrigger"]);
10
+ })(self, function(__WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6043__) {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 1512:
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
+ "Tooltip": () => (/* reexport */ Tooltip)
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/OverlayTrigger"
33
+ var OverlayTrigger_ = __webpack_require__(6043);
34
+ var OverlayTrigger_default = /*#__PURE__*/__webpack_require__.n(OverlayTrigger_);
35
+ ;// CONCATENATED MODULE: ./src/components/Tooltip/Tooltip.tsx
36
+ var __assign = (undefined && undefined.__assign) || function () {
37
+ __assign = Object.assign || function(t) {
38
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
39
+ s = arguments[i];
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
41
+ t[p] = s[p];
42
+ }
43
+ return t;
44
+ };
45
+ return __assign.apply(this, arguments);
46
+ };
47
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
48
+ var t = {};
49
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
+ t[p] = s[p];
51
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
+ t[p[i]] = s[p[i]];
55
+ }
56
+ return t;
57
+ };
58
+
59
+
60
+
61
+
62
+ /**
63
+ * ### Overview
64
+ *
65
+ * A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.
66
+ *
67
+ * ### Best practices
68
+ * - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task
69
+ * - The text inside the tooltip should be brief but helpful
70
+ * - Use tooltips to describe the action of icon-only buttons
71
+ * - Make sure that the tooltip’s placement doesn’t hide its related content behind it
72
+ */
73
+ var Tooltip = external_react_default().memo(function (props) {
74
+ var _a;
75
+ var bs4v3Wrapper = document.querySelector('.bs4-v3-external-container'), placement = (_a = props.placement) !== null && _a !== void 0 ? _a : 'top', classNames = external_classnames_default()('tooltip atoka-tooltip', props.className, {
76
+ 'top bs-tooltip-top': placement.indexOf('top') === 0,
77
+ 'right bs-tooltip-right': placement.indexOf('right') === 0,
78
+ 'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,
79
+ 'left bs-tooltip-left': placement.indexOf('left') === 0,
80
+ });
81
+ var content = props.content, overlayProps = __rest(props, ["content"]), renderTooltip = function (_a) {
82
+ var arrowProps = _a.arrowProps, tooltipProps = __rest(_a, ["arrowProps"]);
83
+ // {vrut} do not pass show to the component, this will raise an error, see PANDA-439
84
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
85
+ var show = tooltipProps.show, rest = __rest(tooltipProps, ["show"]), component = (external_react_default().createElement("div", __assign({}, rest, { className: classNames, role: 'tooltip' }),
86
+ external_react_default().createElement("div", { className: 'tooltip-inner' },
87
+ external_react_default().createElement("div", __assign({ className: 'arrow arrow-back' }, arrowProps)),
88
+ content,
89
+ external_react_default().createElement("div", __assign({ className: 'arrow arrow-front' }, arrowProps)))));
90
+ return component;
91
+ };
92
+ return (external_react_default().createElement((OverlayTrigger_default()), __assign({}, overlayProps, { container: bs4v3Wrapper, overlay: renderTooltip }), props.children));
93
+ });
94
+ Tooltip.displayName = 'Tooltip';
95
+
96
+ ;// CONCATENATED MODULE: ./src/components/Tooltip/index.ts
97
+
98
+
99
+
100
+ /***/ }),
101
+
102
+ /***/ 8310:
103
+ /***/ ((module) => {
104
+
105
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
106
+
107
+ /***/ }),
108
+
109
+ /***/ 8156:
110
+ /***/ ((module) => {
111
+
112
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
113
+
114
+ /***/ }),
115
+
116
+ /***/ 6043:
117
+ /***/ ((module) => {
118
+
119
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;
120
+
121
+ /***/ })
122
+
123
+ /******/ });
124
+ /************************************************************************/
125
+ /******/ // The module cache
126
+ /******/ var __webpack_module_cache__ = {};
127
+ /******/
128
+ /******/ // The require function
129
+ /******/ function __webpack_require__(moduleId) {
130
+ /******/ // Check if module is in cache
131
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
132
+ /******/ if (cachedModule !== undefined) {
133
+ /******/ return cachedModule.exports;
134
+ /******/ }
135
+ /******/ // Create a new module (and put it into the cache)
136
+ /******/ var module = __webpack_module_cache__[moduleId] = {
137
+ /******/ // no module.id needed
138
+ /******/ // no module.loaded needed
139
+ /******/ exports: {}
140
+ /******/ };
141
+ /******/
142
+ /******/ // Execute the module function
143
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
144
+ /******/
145
+ /******/ // Return the exports of the module
146
+ /******/ return module.exports;
147
+ /******/ }
148
+ /******/
149
+ /******/ // expose the modules object (__webpack_modules__)
150
+ /******/ __webpack_require__.m = __webpack_modules__;
151
+ /******/
152
+ /************************************************************************/
153
+ /******/ /* webpack/runtime/chunk loaded */
154
+ /******/ (() => {
155
+ /******/ var deferred = [];
156
+ /******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
157
+ /******/ if(chunkIds) {
158
+ /******/ priority = priority || 0;
159
+ /******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
160
+ /******/ deferred[i] = [chunkIds, fn, priority];
161
+ /******/ return;
162
+ /******/ }
163
+ /******/ var notFulfilled = Infinity;
164
+ /******/ for (var i = 0; i < deferred.length; i++) {
165
+ /******/ var [chunkIds, fn, priority] = deferred[i];
166
+ /******/ var fulfilled = true;
167
+ /******/ for (var j = 0; j < chunkIds.length; j++) {
168
+ /******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
169
+ /******/ chunkIds.splice(j--, 1);
170
+ /******/ } else {
171
+ /******/ fulfilled = false;
172
+ /******/ if(priority < notFulfilled) notFulfilled = priority;
173
+ /******/ }
174
+ /******/ }
175
+ /******/ if(fulfilled) {
176
+ /******/ deferred.splice(i--, 1)
177
+ /******/ var r = fn();
178
+ /******/ if (r !== undefined) result = r;
179
+ /******/ }
180
+ /******/ }
181
+ /******/ return result;
182
+ /******/ };
183
+ /******/ })();
184
+ /******/
185
+ /******/ /* webpack/runtime/compat get default export */
186
+ /******/ (() => {
187
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
188
+ /******/ __webpack_require__.n = (module) => {
189
+ /******/ var getter = module && module.__esModule ?
190
+ /******/ () => (module['default']) :
191
+ /******/ () => (module);
192
+ /******/ __webpack_require__.d(getter, { a: getter });
193
+ /******/ return getter;
194
+ /******/ };
195
+ /******/ })();
196
+ /******/
197
+ /******/ /* webpack/runtime/define property getters */
198
+ /******/ (() => {
199
+ /******/ // define getter functions for harmony exports
200
+ /******/ __webpack_require__.d = (exports, definition) => {
201
+ /******/ for(var key in definition) {
202
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
203
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
204
+ /******/ }
205
+ /******/ }
206
+ /******/ };
207
+ /******/ })();
208
+ /******/
209
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
210
+ /******/ (() => {
211
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
212
+ /******/ })();
213
+ /******/
214
+ /******/ /* webpack/runtime/make namespace object */
215
+ /******/ (() => {
216
+ /******/ // define __esModule on exports
217
+ /******/ __webpack_require__.r = (exports) => {
218
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
219
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
220
+ /******/ }
221
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
222
+ /******/ };
223
+ /******/ })();
224
+ /******/
225
+ /******/ /* webpack/runtime/jsonp chunk loading */
226
+ /******/ (() => {
227
+ /******/ // no baseURI
228
+ /******/
229
+ /******/ // object to store loaded and loading chunks
230
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
231
+ /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
232
+ /******/ var installedChunks = {
233
+ /******/ 2823: 0,
234
+ /******/ 1981: 0
235
+ /******/ };
236
+ /******/
237
+ /******/ // no chunk on demand loading
238
+ /******/
239
+ /******/ // no prefetching
240
+ /******/
241
+ /******/ // no preloaded
242
+ /******/
243
+ /******/ // no HMR
244
+ /******/
245
+ /******/ // no HMR manifest
246
+ /******/
247
+ /******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
248
+ /******/
249
+ /******/ // install a JSONP callback for chunk loading
250
+ /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
251
+ /******/ var [chunkIds, moreModules, runtime] = data;
252
+ /******/ // add "moreModules" to the modules object,
253
+ /******/ // then flag all "chunkIds" as loaded and fire callback
254
+ /******/ var moduleId, chunkId, i = 0;
255
+ /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
256
+ /******/ for(moduleId in moreModules) {
257
+ /******/ if(__webpack_require__.o(moreModules, moduleId)) {
258
+ /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
259
+ /******/ }
260
+ /******/ }
261
+ /******/ if(runtime) var result = runtime(__webpack_require__);
262
+ /******/ }
263
+ /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
264
+ /******/ for(;i < chunkIds.length; i++) {
265
+ /******/ chunkId = chunkIds[i];
266
+ /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
267
+ /******/ installedChunks[chunkId][0]();
268
+ /******/ }
269
+ /******/ installedChunks[chunkIds[i]] = 0;
270
+ /******/ }
271
+ /******/ return __webpack_require__.O(result);
272
+ /******/ }
273
+ /******/
274
+ /******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
275
+ /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
276
+ /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
277
+ /******/ })();
278
+ /******/
279
+ /************************************************************************/
280
+ /******/
281
+ /******/ // startup
282
+ /******/ // Load entry module and return exports
283
+ /******/ // This entry module depends on other loaded chunks and execution need to be delayed
284
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(1512)))
285
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
286
+ /******/
287
+ /******/ return __webpack_exports__;
288
+ /******/ })()
289
+ ;
290
+ });
291
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AAC+C;AAE3D;AAMxB;;;;;;;;;;GAUG;AACI,IAAM,OAAO,GAA2B,6BAAU,CAAC,UAAC,KAAK;;IAC5D,IAAI,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,4BAA4B,CAAgB,EAClF,SAAS,SAAG,KAAK,CAAC,SAAS,mCAAI,KAAK,EACpC,UAAU,GAAG,6BAAU,CAAC,uBAAuB,EAAE,KAAK,CAAC,SAAS,EAAE;QAC9D,oBAAoB,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;QACpD,wBAAwB,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC;QAC1D,0BAA0B,EAAE,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC7D,sBAAsB,EAAE,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;KAC1D,CAAC,CAAC;IAEA,WAAO,GAAqB,KAAK,QAA1B,EAAK,YAAY,UAAI,KAAK,EAAlC,WAA0B,CAAD,EAC3B,aAAa,GAAmC,UAAC,EAA6B;QAA5B,cAAU,kBAAK,YAAY,cAA5B,cAA6B,CAAD;QACzE,oFAAoF;QACpF,6DAA6D;QACtD,QAAI,GAAa,YAAY,KAAzB,EAAK,IAAI,UAAI,Y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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/Tooltip/Tooltip.tsx","webpack://atoka-design-system/./src/components/Tooltip/index.ts","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/OverlayTrigger\"","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\"), require(\"react-bootstrap/OverlayTrigger\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"classnames\", \"react\", \"react-bootstrap/OverlayTrigger\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/OverlayTrigger\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/OverlayTrigger\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6043__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport OverlayTrigger, {OverlayTriggerProps} from 'react-bootstrap/OverlayTrigger';\nimport {PropsWithClassName} from '../Utils';\nimport './Tooltip.less';\n\nexport type TooltipOverlayProps = Omit<OverlayTriggerProps, 'overlay'>;\nexport interface TooltipProps extends TooltipOverlayProps, PropsWithClassName {\n content: React.ReactNode;\n}\n/**\n * ### Overview\n *\n * A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.\n *\n * ### Best practices\n * - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task\n * - The text inside the tooltip should be brief but helpful\n * - Use tooltips to describe the action of icon-only buttons\n * - Make sure that the tooltip’s placement doesn’t hide its related content behind it\n */\nexport const Tooltip: React.FC<TooltipProps> = React.memo((props) => {\n let bs4v3Wrapper = document.querySelector('.bs4-v3-external-container') as HTMLElement,\n placement = props.placement ?? 'top',\n classNames = classnames('tooltip atoka-tooltip', props.className, {\n 'top bs-tooltip-top': placement.indexOf('top') === 0,\n 'right bs-tooltip-right': placement.indexOf('right') === 0,\n 'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,\n 'left bs-tooltip-left': placement.indexOf('left') === 0,\n });\n\n const {content, ...overlayProps} = props,\n renderTooltip: OverlayTriggerProps['overlay'] = ({arrowProps, ...tooltipProps}) => {\n // {vrut} do not pass show to the component, this will raise an error, see PANDA-439\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const {show, ...rest} = tooltipProps,\n component = (\n <div {...rest} className={classNames} role='tooltip'>\n <div className='tooltip-inner'>\n <div className='arrow arrow-back' {...arrowProps} />\n {content}\n <div className='arrow arrow-front' {...arrowProps} />\n </div>\n </div>\n );\n\n return component;\n };\n\n return (\n <OverlayTrigger {...overlayProps} container={bs4v3Wrapper} overlay={renderTooltip}>\n {props.children}\n </OverlayTrigger>\n );\n});\n\nTooltip.displayName = 'Tooltip';\n","export * from './Tooltip';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;","// 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\t2823: 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__(1512)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ export interface PropsWithClassName {
3
+ className?: string;
4
+ }
5
+ export interface DataPoint {
6
+ id?: Value;
7
+ label: string;
8
+ value: number;
9
+ color?: string;
10
+ from?: string;
11
+ to?: string;
12
+ percentage?: number;
13
+ initialValue?: number;
14
+ }
15
+ export interface BasePieItemData extends Record<string, unknown> {
16
+ id: string;
17
+ label: string;
18
+ percentage?: number;
19
+ value?: number;
20
+ }
21
+ export declare type Value = string | number;
22
+ export declare type BarDatum = Record<string, Value>;
23
+ export interface OptionData {
24
+ value: string;
25
+ label?: React.ReactNode;
26
+ disabled?: boolean;
27
+ isDivider?: boolean;
28
+ }
29
+ export declare type NumberToStringFormatterType = (value: number) => string;
@@ -0,0 +1,3 @@
1
+ export declare function createDataWithOtherSlice<T extends Record<string, unknown>>(data: T[], otherId?: string, otherLabel?: string, maxSlicesNumber?: number, total?: number, dataValueKey?: string): T[];
2
+ export declare function createCleanTree<A extends Record<string, unknown>>(node: A): A;
3
+ export declare function normalizePercentage(value: number): string;
@@ -0,0 +1,5 @@
1
+ declare function generateRangeColor(len: number, rangeColors?: string[]): string[] | undefined;
2
+ export declare function calculateDomain(len: number, rangeColorsLength: number): number[];
3
+ declare let white: string, blue25: string, blue30: string, blue50: string, blue80: string, blue90: string, blue95: string, blue100: string, blue300: string, // #205871
4
+ blue400: string, gray100: string, gray200: string, gray300: string, gray400: string, yellow: string, orange: string, red: string, green: string, purple: string, viola: string, pink200: string, pink100: string, salmon: string, black: string;
5
+ export { generateRangeColor, white, blue25, blue30, blue50, blue80, blue90, blue95, blue100, blue300, gray200, blue400, yellow, orange, red, green, gray100, gray300, gray400, purple, viola, pink100, pink200, salmon, black, };
@@ -0,0 +1,12 @@
1
+ import { LabelFormatter } from '@nivo/bar';
2
+ import { DataPoint, Value } from './CommonTypes';
3
+ export declare function isStringEmpty(s: string | undefined | null): boolean;
4
+ export declare function slugify(text: string): string;
5
+ export declare function estimateWordSize(wordLength: number, letterPixels: number, constant: number): number;
6
+ export declare function ellipse(input: string | null, length: number): string;
7
+ export declare function matchAndFormatRangeLabel(formatter: LabelFormatter | undefined): (label: string) => string;
8
+ export declare function formatRange(item: Pick<DataPoint, 'from' | 'to'>, formatter: LabelFormatter): string;
9
+ export declare function ellipseAndFormat(formatter: LabelFormatter | undefined, maxLabelLength: number): (value: Value) => string;
10
+ export declare function escapeRegExp(input: string): string;
11
+ export declare function isMatching(text0: string, text1: string): boolean;
12
+ export declare function splitTextInParts(needles: string, text?: string): string[];
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export declare function findChildrenByComponent(children: React.ReactNode, component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>): React.ReactNode[];
3
+ export declare function findChildByComponent(children: React.ReactNode, component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>): React.ReactNode | null;
4
+ export declare function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean;
5
+ export declare function scrollToTop(): void;
6
+ export declare function zip<T>(arr1: T[], arr2: T[]): T[];
7
+ export declare function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number;
8
+ export declare function clone<T>(ob: T): T;
9
+ export declare type Debouncer = (f: () => void) => void;
10
+ export declare function getDebouncer(delay?: number): Debouncer;
11
+ export declare function deepEqual<T>(obj1: T, obj2: T): boolean;
12
+ export declare function rgbToHex(rgb: string): string;
@@ -0,0 +1,5 @@
1
+ export { DataPoint, BasePieItemData, PropsWithClassName, OptionData } from './CommonTypes';
2
+ export { createDataWithOtherSlice, normalizePercentage } from './Statistics';
3
+ export { deepEqual, sortObjDesc } from './Utils';
4
+ export * from './Text';
5
+ export * from './Style';