@spaziodati/atoka-design-system 2.1.2 → 2.1.3

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 (102) hide show
  1. package/AddableItems/index.js +2 -2
  2. package/AddableItems/index.js.map +1 -1
  3. package/Alert/index.js +2 -2
  4. package/Alert/index.js.map +1 -1
  5. package/Badge/index.js +2 -2
  6. package/Badge/index.js.map +1 -1
  7. package/Bs4V3Wrapper/index.js +2 -2
  8. package/Bs4V3Wrapper/index.js.map +1 -1
  9. package/BubbleChart/index.js +2 -2
  10. package/BubbleChart/index.js.map +1 -1
  11. package/Button/index.js +2 -2
  12. package/Button/index.js.map +1 -1
  13. package/ButtonDropdown/index.js +2 -2
  14. package/ButtonDropdown/index.js.map +1 -1
  15. package/CardsPage/index.js +2 -2
  16. package/CardsPage/index.js.map +1 -1
  17. package/CursorPagination/index.js +2 -2
  18. package/CursorPagination/index.js.map +1 -1
  19. package/DatePicker/index.js +2 -2
  20. package/DatePicker/index.js.map +1 -1
  21. package/DetailPage/index.js +2 -2
  22. package/DetailPage/index.js.map +1 -1
  23. package/Dropdown/index.js +2 -2
  24. package/Dropdown/index.js.map +1 -1
  25. package/EditableString/index.js +2 -2
  26. package/EditableString/index.js.map +1 -1
  27. package/EllipsableContent/index.js +2 -2
  28. package/EllipsableContent/index.js.map +1 -1
  29. package/EmptyState/index.js +2 -2
  30. package/EmptyState/index.js.map +1 -1
  31. package/Facet/index.js +2 -2
  32. package/Facet/index.js.map +1 -1
  33. package/FacetSection/index.js +2 -2
  34. package/FacetSection/index.js.map +1 -1
  35. package/FadeAnimation/index.js +2 -2
  36. package/FadeAnimation/index.js.map +1 -1
  37. package/FeedbackButton/index.js +2 -2
  38. package/FeedbackButton/index.js.map +1 -1
  39. package/Form/index.js +2 -2
  40. package/Form/index.js.map +1 -1
  41. package/Funnel/index.js +2 -2
  42. package/Funnel/index.js.map +1 -1
  43. package/GridCard/index.js +2 -2
  44. package/GridCard/index.js.map +1 -1
  45. package/HighlightableText/index.js +2 -2
  46. package/HighlightableText/index.js.map +1 -1
  47. package/Histogram/index.js +3 -3
  48. package/Histogram/index.js.map +1 -1
  49. package/InlineStringEditor/index.js +2 -2
  50. package/InlineStringEditor/index.js.map +1 -1
  51. package/InputGroup/index.js +2 -2
  52. package/InputGroup/index.js.map +1 -1
  53. package/Jumbotron/index.js +2 -2
  54. package/Jumbotron/index.js.map +1 -1
  55. package/Map/index.js +2 -2
  56. package/Map/index.js.map +1 -1
  57. package/Modal/index.js +2 -2
  58. package/Modal/index.js.map +1 -1
  59. package/Navbar/index.js +2 -2
  60. package/Navbar/index.js.map +1 -1
  61. package/Pagination/index.js +2 -2
  62. package/Pagination/index.js.map +1 -1
  63. package/PieChart/index.js +2 -2
  64. package/PieChart/index.js.map +1 -1
  65. package/PublicFooter/index.js +2 -2
  66. package/PublicFooter/index.js.map +1 -1
  67. package/PublicNavbar/index.js +2 -2
  68. package/PublicNavbar/index.js.map +1 -1
  69. package/RecordBit/index.js +2 -2
  70. package/RecordBit/index.js.map +1 -1
  71. package/ResultItemCard/index.js +2 -2
  72. package/ResultItemCard/index.js.map +1 -1
  73. package/SelectDropdown/index.js +2 -2
  74. package/SelectDropdown/index.js.map +1 -1
  75. package/Spinner/index.js +2 -2
  76. package/Spinner/index.js.map +1 -1
  77. package/StatisticsItemCard/index.js +2 -2
  78. package/StatisticsItemCard/index.js.map +1 -1
  79. package/StatisticsItemNumeric/index.js +2 -2
  80. package/StatisticsItemNumeric/index.js.map +1 -1
  81. package/StatisticsLegend/index.js +2 -2
  82. package/StatisticsLegend/index.js.map +1 -1
  83. package/StatisticsTooltip/index.js +2 -2
  84. package/StatisticsTooltip/index.js.map +1 -1
  85. package/Suggester/index.js +2 -2
  86. package/Suggester/index.js.map +1 -1
  87. package/SunBurst/index.js +2 -2
  88. package/SunBurst/index.js.map +1 -1
  89. package/TabSwitcher/index.js +2 -2
  90. package/TabSwitcher/index.js.map +1 -1
  91. package/Title/index.js +2 -2
  92. package/Title/index.js.map +1 -1
  93. package/ToggleButtonGroup/index.js +2 -2
  94. package/ToggleButtonGroup/index.js.map +1 -1
  95. package/Tooltip/index.js +2 -2
  96. package/Tooltip/index.js.map +1 -1
  97. package/Utils/index.js +2 -2
  98. package/Utils/index.js.map +1 -1
  99. package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.3.min.css} +0 -0
  100. package/index.js +3 -3
  101. package/index.js.map +1 -1
  102. package/package.json +1 -1
@@ -1 +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;QAC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A;;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/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\t2210: 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, [2210], () => (__webpack_require__(1512)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
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,KAA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A;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/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\t563: 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, [563], () => (__webpack_require__(1512)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
package/Utils/index.js CHANGED
@@ -3319,7 +3319,7 @@ function _typeof(obj) {
3319
3319
  /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
3320
3320
  /******/ var installedChunks = {
3321
3321
  /******/ 496: 0,
3322
- /******/ 2210: 0
3322
+ /******/ 563: 0
3323
3323
  /******/ };
3324
3324
  /******/
3325
3325
  /******/ // no chunk on demand loading
@@ -3369,7 +3369,7 @@ function _typeof(obj) {
3369
3369
  /******/ // startup
3370
3370
  /******/ // Load entry module and return exports
3371
3371
  /******/ // This entry module depends on other loaded chunks and execution need to be delayed
3372
- /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [2210], () => (__webpack_require__(6350)))
3372
+ /******/ var __webpack_exports__ = __webpack_require__.O(undefined, [563], () => (__webpack_require__(6350)))
3373
3373
  /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
3374
3374
  /******/
3375
3375
  /******/ return __webpack_exports__;