@luminati-io/uikit 3.0.9 → 3.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -20267,7 +20267,7 @@ __webpack_require__.r(__webpack_exports__);
20267
20267
 
20268
20268
  /*jslint react:true*/
20269
20269
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
20270
- var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "stacked", "showTooltip", "tooltipContent"];
20270
+ var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "stacked", "showTooltip", "tooltipContent", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
20271
20271
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20272
20272
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20273
20273
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -20313,7 +20313,12 @@ var AreaChart = function AreaChart(props) {
20313
20313
  stacked = props.stacked,
20314
20314
  showTooltip = props.showTooltip,
20315
20315
  _props$tooltipContent = props.tooltipContent,
20316
- tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_6__["default"] : _props$tooltipContent;
20316
+ tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_6__["default"] : _props$tooltipContent,
20317
+ onPointerMove = props.onPointerMove,
20318
+ onPointerOut = props.onPointerOut,
20319
+ onPointerUp = props.onPointerUp,
20320
+ onPointerDown = props.onPointerDown,
20321
+ pointerEventsDataKey = props.pointerEventsDataKey;
20317
20322
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_3__.getAnimatedOrUnanimatedComponents)(animated),
20318
20323
  XYChart = _getAnimatedOrUnanima.XYChart,
20319
20324
  Grid = _getAnimatedOrUnanima.Grid,
@@ -20329,7 +20334,12 @@ var AreaChart = function AreaChart(props) {
20329
20334
  yScale: config.y,
20330
20335
  width: width,
20331
20336
  height: height,
20332
- margin: margin
20337
+ margin: margin,
20338
+ onPointerMove: onPointerMove,
20339
+ onPointerOut: onPointerOut,
20340
+ onPointerUp: onPointerUp,
20341
+ onPointerDown: onPointerDown,
20342
+ pointerEventsDataKey: pointerEventsDataKey
20333
20343
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
20334
20344
  key: "grid-".concat(animationTrajectory) // force animate on update
20335
20345
  ,
@@ -20399,6 +20409,11 @@ var Area = function Area(props) {
20399
20409
  stacked = props.stacked,
20400
20410
  showTooltip = props.showTooltip,
20401
20411
  tooltipContent = props.tooltipContent,
20412
+ onPointerMove = props.onPointerMove,
20413
+ onPointerOut = props.onPointerOut,
20414
+ onPointerUp = props.onPointerUp,
20415
+ onPointerDown = props.onPointerDown,
20416
+ pointerEventsDataKey = props.pointerEventsDataKey,
20402
20417
  rest = _objectWithoutProperties(props, _excluded);
20403
20418
  var chartProps = {
20404
20419
  animated: animated,
@@ -20411,7 +20426,12 @@ var Area = function Area(props) {
20411
20426
  margin: margin,
20412
20427
  stacked: stacked,
20413
20428
  showTooltip: showTooltip,
20414
- tooltipContent: tooltipContent
20429
+ tooltipContent: tooltipContent,
20430
+ onPointerMove: onPointerMove,
20431
+ onPointerOut: onPointerOut,
20432
+ onPointerUp: onPointerUp,
20433
+ onPointerDown: onPointerDown,
20434
+ pointerEventsDataKey: pointerEventsDataKey
20415
20435
  };
20416
20436
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, rest, {
20417
20437
  Chart: AreaChart,
@@ -20461,7 +20481,12 @@ Area.propTypes = {
20461
20481
  }),
20462
20482
  stacked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20463
20483
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20464
- tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)])
20484
+ tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
20485
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20486
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20487
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20488
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20489
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
20465
20490
  };
20466
20491
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Area);
20467
20492
 
@@ -20494,7 +20519,7 @@ __webpack_require__.r(__webpack_exports__);
20494
20519
 
20495
20520
  /*jslint react:true*/
20496
20521
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
20497
- var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "horizontal", "stacked", "showAnnotations", "showTooltip", "tooltipContent"];
20522
+ var _excluded = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "horizontal", "stacked", "showAnnotations", "showTooltip", "tooltipContent", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
20498
20523
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
20499
20524
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
20500
20525
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -20541,7 +20566,12 @@ var BarChart = function BarChart(props) {
20541
20566
  showAnnotations = props.showAnnotations,
20542
20567
  showTooltip = props.showTooltip,
20543
20568
  _props$tooltipContent = props.tooltipContent,
20544
- tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent;
20569
+ tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent,
20570
+ onPointerMove = props.onPointerMove,
20571
+ onPointerOut = props.onPointerOut,
20572
+ onPointerUp = props.onPointerUp,
20573
+ onPointerDown = props.onPointerDown,
20574
+ pointerEventsDataKey = props.pointerEventsDataKey;
20545
20575
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_4__.getAnimatedOrUnanimatedComponents)(animated),
20546
20576
  XYChart = _getAnimatedOrUnanima.XYChart,
20547
20577
  Grid = _getAnimatedOrUnanima.Grid,
@@ -20565,7 +20595,12 @@ var BarChart = function BarChart(props) {
20565
20595
  yScale: config.y,
20566
20596
  width: width,
20567
20597
  height: height,
20568
- margin: margin
20598
+ margin: margin,
20599
+ onPointerMove: onPointerMove,
20600
+ onPointerOut: onPointerOut,
20601
+ onPointerUp: onPointerUp,
20602
+ onPointerDown: onPointerDown,
20603
+ pointerEventsDataKey: pointerEventsDataKey
20569
20604
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
20570
20605
  key: "grid-".concat(animationTrajectory) // force animate on update
20571
20606
  ,
@@ -20581,7 +20616,14 @@ var BarChart = function BarChart(props) {
20581
20616
  xAccessor: lineData.accessors[horizontal ? 'yAccessor' : 'xAccessor'],
20582
20617
  yAccessor: lineData.accessors[horizontal ? 'xAccessor' : 'yAccessor'],
20583
20618
  colorAccessor: lineData.accessors.colorAccessor
20584
- }, lineData.barProps));
20619
+ }, lineData.barProps, {
20620
+ onFocus: function onFocus() {
20621
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
20622
+ args[_key] = arguments[_key];
20623
+ }
20624
+ return console.log(args);
20625
+ }
20626
+ }));
20585
20627
  })), !!showAnnotations && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_bar_annotation__WEBPACK_IMPORTED_MODULE_2__.AnnotationGroup, null, data.map(function (lineData) {
20586
20628
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_bar_annotation__WEBPACK_IMPORTED_MODULE_2__.Annotation, {
20587
20629
  key: lineData.name,
@@ -20640,6 +20682,11 @@ var Bar = function Bar(props) {
20640
20682
  showAnnotations = props.showAnnotations,
20641
20683
  showTooltip = props.showTooltip,
20642
20684
  tooltipContent = props.tooltipContent,
20685
+ onPointerMove = props.onPointerMove,
20686
+ onPointerOut = props.onPointerOut,
20687
+ onPointerUp = props.onPointerUp,
20688
+ onPointerDown = props.onPointerDown,
20689
+ pointerEventsDataKey = props.pointerEventsDataKey,
20643
20690
  rest = _objectWithoutProperties(props, _excluded);
20644
20691
  var chartProps = {
20645
20692
  animated: animated,
@@ -20654,7 +20701,12 @@ var Bar = function Bar(props) {
20654
20701
  stacked: stacked,
20655
20702
  showAnnotations: showAnnotations,
20656
20703
  showTooltip: showTooltip,
20657
- tooltipContent: tooltipContent
20704
+ tooltipContent: tooltipContent,
20705
+ onPointerMove: onPointerMove,
20706
+ onPointerOut: onPointerOut,
20707
+ onPointerUp: onPointerUp,
20708
+ onPointerDown: onPointerDown,
20709
+ pointerEventsDataKey: pointerEventsDataKey
20658
20710
  };
20659
20711
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({}, rest, {
20660
20712
  Chart: BarChart,
@@ -20706,7 +20758,12 @@ Bar.propTypes = {
20706
20758
  stacked: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20707
20759
  showAnnotations: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20708
20760
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
20709
- tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)])
20761
+ tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
20762
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20763
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20764
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20765
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
20766
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
20710
20767
  };
20711
20768
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Bar);
20712
20769
 
@@ -21529,7 +21586,7 @@ __webpack_require__.r(__webpack_exports__);
21529
21586
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
21530
21587
  var _excluded = ["label", "numTicks", "formatTick", "labelOffset"],
21531
21588
  _excluded2 = ["label", "numTicks", "formatTick", "labelOffset"],
21532
- _excluded3 = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "showTooltip", "tooltipContent", "curveType"];
21589
+ _excluded3 = ["animated", "showGridRows", "showGridColumns", "numTicks", "xAxis", "yAxis", "formatValue", "margin", "showTooltip", "tooltipContent", "curveType", "onPointerMove", "onPointerOut", "onPointerUp", "onPointerDown", "pointerEventsDataKey"];
21533
21590
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21534
21591
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21535
21592
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -21575,7 +21632,12 @@ var LineChart = function LineChart(props) {
21575
21632
  _props$tooltipContent = props.tooltipContent,
21576
21633
  tooltipContent = _props$tooltipContent === void 0 ? _tooltip__WEBPACK_IMPORTED_MODULE_5__["default"] : _props$tooltipContent,
21577
21634
  _props$curveType = props.curveType,
21578
- curveType = _props$curveType === void 0 ? '' : _props$curveType;
21635
+ curveType = _props$curveType === void 0 ? '' : _props$curveType,
21636
+ onPointerMove = props.onPointerMove,
21637
+ onPointerOut = props.onPointerOut,
21638
+ onPointerUp = props.onPointerUp,
21639
+ onPointerDown = props.onPointerDown,
21640
+ pointerEventsDataKey = props.pointerEventsDataKey;
21579
21641
  var _getAnimatedOrUnanima = (0,_get_components__WEBPACK_IMPORTED_MODULE_4__.getAnimatedOrUnanimatedComponents)(animated),
21580
21642
  XYChart = _getAnimatedOrUnanima.XYChart,
21581
21643
  Grid = _getAnimatedOrUnanima.Grid,
@@ -21605,7 +21667,12 @@ var LineChart = function LineChart(props) {
21605
21667
  yScale: yScale,
21606
21668
  width: width,
21607
21669
  height: height,
21608
- margin: margin
21670
+ margin: margin,
21671
+ onPointerMove: onPointerMove,
21672
+ onPointerOut: onPointerOut,
21673
+ onPointerUp: onPointerUp,
21674
+ onPointerDown: onPointerDown,
21675
+ pointerEventsDataKey: pointerEventsDataKey
21609
21676
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Grid, {
21610
21677
  key: "grid-".concat(animationTrajectory) // force animate on update
21611
21678
  ,
@@ -21667,6 +21734,11 @@ var Line = function Line(props) {
21667
21734
  showTooltip = props.showTooltip,
21668
21735
  tooltipContent = props.tooltipContent,
21669
21736
  curveType = props.curveType,
21737
+ onPointerMove = props.onPointerMove,
21738
+ onPointerOut = props.onPointerOut,
21739
+ onPointerUp = props.onPointerUp,
21740
+ onPointerDown = props.onPointerDown,
21741
+ pointerEventsDataKey = props.pointerEventsDataKey,
21670
21742
  rest = _objectWithoutProperties(props, _excluded3);
21671
21743
  var chartProps = {
21672
21744
  animated: animated,
@@ -21679,7 +21751,12 @@ var Line = function Line(props) {
21679
21751
  margin: margin,
21680
21752
  showTooltip: showTooltip,
21681
21753
  tooltipContent: tooltipContent,
21682
- curveType: curveType
21754
+ curveType: curveType,
21755
+ onPointerMove: onPointerMove,
21756
+ onPointerOut: onPointerOut,
21757
+ onPointerUp: onPointerUp,
21758
+ onPointerDown: onPointerDown,
21759
+ pointerEventsDataKey: pointerEventsDataKey
21683
21760
  };
21684
21761
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_chart_container__WEBPACK_IMPORTED_MODULE_2__["default"], _extends({}, rest, {
21685
21762
  Chart: LineChart,
@@ -21729,7 +21806,12 @@ Line.propTypes = {
21729
21806
  }),
21730
21807
  showTooltip: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
21731
21808
  tooltipContent: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().element), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
21732
- curveType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['basis', 'basisClosed', 'basisOpen', 'step', 'stepAfter', 'stepBefore', 'bundle', 'linear', 'linearClosed', 'cardinal', 'cardinalClosed', 'cardinalOpen', 'catmullRom', 'catmullRomClosed', 'catmullRomOpen', 'monotoneX', 'monotoneY', 'natural'])
21809
+ curveType: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['basis', 'basisClosed', 'basisOpen', 'step', 'stepAfter', 'stepBefore', 'bundle', 'linear', 'linearClosed', 'cardinal', 'cardinalClosed', 'cardinalOpen', 'catmullRom', 'catmullRomClosed', 'catmullRomOpen', 'monotoneX', 'monotoneY', 'natural']),
21810
+ onPointerMove: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21811
+ onPointerOut: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21812
+ onPointerUp: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21813
+ onPointerDown: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
21814
+ pointerEventsDataKey: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['all', 'nearest'])
21733
21815
  };
21734
21816
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Line);
21735
21817
 
@@ -22340,15 +22422,13 @@ var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(_la
22340
22422
  }).withConfig({
22341
22423
  displayName: "CodeBlockBody",
22342
22424
  componentId: "sc-13u859f-0"
22343
- })(["background-color:", ";overflow-y:auto;::-webkit-scrollbar{height:10px;width:10px;}::-webkit-scrollbar-thumb{background-color:", ";border-radius:10px;border:0 solid transparent;background-clip:content-box;}::-webkit-scrollbar-track-piece{background:", ";}position:relative;", ""], function (props) {
22425
+ })(["background-color:", ";overflow-y:auto;::-webkit-scrollbar{height:10px;width:10px;}::-webkit-scrollbar-thumb{background-color:", ";border-radius:10px;border:0 solid transparent;background-clip:content-box;}::-webkit-scrollbar-track-piece{background:", ";}position:relative;"], function (props) {
22344
22426
  return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_2' : 'gray_12'];
22345
- }, _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color.gray_11, function (props) {
22346
- return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_8' : 'gray_11_50'];
22347
- }, '' /* ${CodeBlockCopyBtn} {
22348
- position: sticky;
22349
- top: 0;
22350
- } */);
22351
-
22427
+ }, function (props) {
22428
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_3' : 'gray_11_50'];
22429
+ }, function (props) {
22430
+ return _theme__WEBPACK_IMPORTED_MODULE_3__["default"].color[props.$theme == 'white' ? 'gray_8' : 'gray_10'];
22431
+ });
22352
22432
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CodeSnippet);
22353
22433
 
22354
22434
  /***/ }),
@@ -23452,7 +23532,7 @@ __webpack_require__.r(__webpack_exports__);
23452
23532
 
23453
23533
 
23454
23534
  /*jslint react:true*/
23455
- var _excluded = ["variant", "disabled", "active", "icon", "tooltip", "tooltipPlacement"];
23535
+ var _excluded = ["variant", "disabled", "active", "icon", "tooltip", "tooltipPlacement", "size", "noBackColor"];
23456
23536
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23457
23537
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23458
23538
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -23470,10 +23550,14 @@ var IconButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwa
23470
23550
  icon = props.icon,
23471
23551
  tooltip = props.tooltip,
23472
23552
  tooltipPlacement = props.tooltipPlacement,
23553
+ size = props.size,
23554
+ noBackColor = props.noBackColor,
23473
23555
  rest = _objectWithoutProperties(props, _excluded);
23556
+ size = calcSize(variant, size);
23557
+ noBackColor = variant == 'ghost' || noBackColor;
23474
23558
  var ic = _icons__WEBPACK_IMPORTED_MODULE_3__["default"][icon];
23475
23559
  if (!ic) return null;
23476
- var iconSize = variant == 'icon-button' ? 18 : 16;
23560
+ var iconSize = size == 'lg' || size == 'md' ? 18 : 16;
23477
23561
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__["default"], {
23478
23562
  tooltip: tooltip,
23479
23563
  placement: tooltipPlacement
@@ -23481,7 +23565,8 @@ var IconButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwa
23481
23565
  ref: ref
23482
23566
  }, rest, {
23483
23567
  disabled: disabled,
23484
- $variant: variant,
23568
+ $size: size,
23569
+ $noBackColor: noBackColor,
23485
23570
  $active: active
23486
23571
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledSvg, {
23487
23572
  viewBox: ic.viewBox,
@@ -23493,21 +23578,28 @@ var IconButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwa
23493
23578
  });
23494
23579
  IconButton.displayName = 'IconButton';
23495
23580
  IconButton.defaultProps = {
23496
- variant: 'icon-button'
23581
+ size: 'md'
23497
23582
  };
23498
23583
  IconButton.propTypes = {
23499
- variant: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['icon', 'icon-button', 'ghost']),
23584
+ // variant: PT.oneOf(['icon', 'icon-button', 'ghost']),
23500
23585
  icon: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_4__.iconNames).isRequired,
23501
23586
  disabled: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
23502
23587
  active: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
23503
23588
  tooltip: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().node),
23504
- tooltipPlacement: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_4__.tooltipPlacements)
23589
+ tooltipPlacement: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_4__.tooltipPlacements),
23590
+ size: prop_types__WEBPACK_IMPORTED_MODULE_2___default().oneOf(['xs', 'sm', 'md', 'lg']),
23591
+ noBackColor: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
23505
23592
  };
23506
23593
  var StyledIconButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().button.withConfig({
23507
23594
  displayName: "StyledIconButton",
23508
23595
  componentId: "sc-114c1w5-0"
23509
23596
  })(["display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0;box-sizing:border-box;", " cursor:pointer;", ""], function (props) {
23510
- return (0,_utils__WEBPACK_IMPORTED_MODULE_4__.toSize)(props.$variant == 'icon-button' ? 36 : 24);
23597
+ return (0,_utils__WEBPACK_IMPORTED_MODULE_4__.toSize)({
23598
+ lg: 40,
23599
+ md: 36,
23600
+ sm: 28,
23601
+ xs: 24
23602
+ }[props.$size] || 36);
23511
23603
  }, function (props) {
23512
23604
  var backColor = 'transparent';
23513
23605
  var border = "1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_6);
@@ -23520,12 +23612,12 @@ var StyledIconButton = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
23520
23612
  backColor = _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.blue_4;
23521
23613
  border = "1px solid ".concat(_theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.blue_4);
23522
23614
  }
23523
- if (props.$variant == 'ghost') {
23615
+ if (props.$noBackColor) {
23524
23616
  backColor = 'transparent';
23525
23617
  hoverBackColor = 'transparent';
23526
23618
  activeBackColor = 'transparent';
23527
23619
  }
23528
- if (props.$variant == 'icon' || props.$variant == 'ghost') {
23620
+ if (props.$size == 'xs') {
23529
23621
  hoverBorder = '0 none';
23530
23622
  activeBorder = '0 none';
23531
23623
  disabledBorder = '0 none';
@@ -23541,6 +23633,10 @@ var StyledSvg = styled_components__WEBPACK_IMPORTED_MODULE_1___default().svg.wit
23541
23633
  }, function (props) {
23542
23634
  return (0,_utils__WEBPACK_IMPORTED_MODULE_4__.toSize)(props.$size);
23543
23635
  }, StyledIconButton, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_11_25, StyledIconButton, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.blue_11, StyledIconButton, _theme__WEBPACK_IMPORTED_MODULE_6__["default"].color.gray_7);
23636
+ var calcSize = function calcSize(variant, size) {
23637
+ if (!variant) return size;
23638
+ return variant == 'icon-button' ? 'md' : 'xs';
23639
+ };
23544
23640
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IconButton);
23545
23641
 
23546
23642
  /***/ }),
@@ -23837,7 +23933,10 @@ CompareTo.defaultProps = {
23837
23933
  };
23838
23934
  CompareTo.propTypes = {
23839
23935
  value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().any),
23840
- options: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().any))
23936
+ options: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().any)),
23937
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
23938
+ format: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
23939
+ placeholder: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
23841
23940
  };
23842
23941
  var CompareToMenuList = function CompareToMenuList(props) {
23843
23942
  var className = props.className,
@@ -24014,7 +24113,7 @@ DatePicker.propTypes = {
24014
24113
  label: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
24015
24114
  labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
24016
24115
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
24017
- size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['sm', 'md', 'lg']),
24116
+ size: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['xs', 'sm', 'md', 'lg']),
24018
24117
  disabledDays: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().any),
24019
24118
  renderPopover: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
24020
24119
  isRange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
@@ -25253,6 +25352,7 @@ var Number = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRe
25253
25352
  }, [onChange, minValue, maxValue]);
25254
25353
  var heightCalculationCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
25255
25354
  var sizes = {
25355
+ 'xs': 28,
25256
25356
  'sm': 36,
25257
25357
  'md': 40,
25258
25358
  'lg': 48
@@ -25299,7 +25399,7 @@ Number.propTypes = {
25299
25399
  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
25300
25400
  labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
25301
25401
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
25302
- size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg'])
25402
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg'])
25303
25403
  };
25304
25404
  var NumberField = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.attrs({
25305
25405
  type: 'number'
@@ -25847,6 +25947,7 @@ HelperText.propTypes = {
25847
25947
  var useHeightCalculationCallback = function useHeightCalculationCallback(size) {
25848
25948
  return (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
25849
25949
  var height = {
25950
+ xs: 28,
25850
25951
  sm: 36,
25851
25952
  md: 40,
25852
25953
  lg: 48
@@ -26008,7 +26109,7 @@ Textbox.propTypes = {
26008
26109
  label: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
26009
26110
  labelIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
26010
26111
  helperText: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func)]),
26011
- size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md', 'lg']),
26112
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
26012
26113
  autofocus: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
26013
26114
  };
26014
26115
  Textbox.defaultProps = {
@@ -27945,7 +28046,7 @@ __webpack_require__.r(__webpack_exports__);
27945
28046
 
27946
28047
  /*jslint react:true*/
27947
28048
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
27948
- var _excluded = ["data", "columnsSort", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "isLoading", "onPageChange", "manualPagination", "totalCount", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps"];
28049
+ var _excluded = ["data", "columnsSort", "pageSize", "pageSizes", "children", "stateManager", "hooks", "NoDataComp", "LoadingComp", "noDataText", "loadingText", "isLoading", "onPageChange", "manualPagination", "totalCount", "getHeaderProps", "getColumnProps", "getRowProps", "getCellProps", "getFooterProps"];
27949
28050
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
27950
28051
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
27951
28052
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -28002,10 +28103,12 @@ var Provider = function Provider(props) {
28002
28103
  stateManager = props.stateManager,
28003
28104
  _props$hooks = props.hooks,
28004
28105
  hooks = _props$hooks === void 0 ? [] : _props$hooks,
28005
- _props$NoDataComp = props.NoDataComp,
28006
- NoDataComp = _props$NoDataComp === void 0 ? NoDataBody : _props$NoDataComp,
28007
- _props$LoadingComp = props.LoadingComp,
28008
- LoadingComp = _props$LoadingComp === void 0 ? LoadingBody : _props$LoadingComp,
28106
+ NoDataComp = props.NoDataComp,
28107
+ LoadingComp = props.LoadingComp,
28108
+ _props$noDataText = props.noDataText,
28109
+ noDataText = _props$noDataText === void 0 ? 'No data' : _props$noDataText,
28110
+ _props$loadingText = props.loadingText,
28111
+ loadingText = _props$loadingText === void 0 ? 'Loading...' : _props$loadingText,
28009
28112
  _props$isLoading = props.isLoading,
28010
28113
  isLoading = _props$isLoading === void 0 ? false : _props$isLoading,
28011
28114
  onPageChange = props.onPageChange,
@@ -28068,12 +28171,16 @@ var Provider = function Provider(props) {
28068
28171
  pageSize: _pageSize
28069
28172
  });
28070
28173
  }, [manualPagination, totalCount, pageIndex, _pageSize]);
28174
+ var _LoadingComp = useComp(loadingText, LoadingComp);
28175
+ var _NoDataComp = useComp(noDataText, NoDataComp);
28176
+ var value = _objectSpread(_objectSpread({
28177
+ columnsSort: columnsSort
28178
+ }, table), {}, {
28179
+ LoadingComp: _LoadingComp,
28180
+ NoDataComp: _NoDataComp
28181
+ });
28071
28182
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TableContext.Provider, {
28072
- value: _objectSpread({
28073
- columnsSort: columnsSort,
28074
- NoDataComp: NoDataComp,
28075
- LoadingComp: LoadingComp
28076
- }, table)
28183
+ value: value
28077
28184
  }, children);
28078
28185
  };
28079
28186
  Provider.displayName = 'Table.Provider';
@@ -28118,7 +28225,9 @@ Provider.propTypes = {
28118
28225
  getColumnProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
28119
28226
  getRowProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
28120
28227
  getCellProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
28121
- getFooterProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
28228
+ getFooterProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
28229
+ noDataText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)]),
28230
+ loadingText: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_0___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node), (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)])
28122
28231
  };
28123
28232
  var calcPageCount = function calcPageCount(totalCount, pageSize) {
28124
28233
  return Math.ceil(totalCount / pageSize);
@@ -28139,6 +28248,13 @@ var useCanHideColumns = function useCanHideColumns(hooks) {
28139
28248
  });
28140
28249
  };
28141
28250
  useCanHideColumns.pluginName = 'useCanHideColumns';
28251
+ var useComp = function useComp(text, Comp) {
28252
+ return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
28253
+ if (Comp) return Comp;
28254
+ if (!text || typeof text != 'string' || text.trim() == '') return text;
28255
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(EmptyBody, null, text);
28256
+ }, [text, Comp]);
28257
+ };
28142
28258
  var EmptyBody = function EmptyBody(_ref) {
28143
28259
  var children = _ref.children;
28144
28260
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
@@ -28149,12 +28265,6 @@ var EmptyBody = function EmptyBody(_ref) {
28149
28265
  color: "gray_11_50"
28150
28266
  }, children));
28151
28267
  };
28152
- var NoDataBody = function NoDataBody() {
28153
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(EmptyBody, null, "No data");
28154
- };
28155
- var LoadingBody = function LoadingBody() {
28156
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(EmptyBody, null, "Loading...");
28157
- };
28158
28268
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Provider);
28159
28269
 
28160
28270
  /***/ }),
@@ -28479,6 +28589,45 @@ useEditableColumns.pluginName = 'useEditableColumns';
28479
28589
 
28480
28590
  /***/ }),
28481
28591
 
28592
+ /***/ "./src/table/flex_renderer.js":
28593
+ /*!************************************!*\
28594
+ !*** ./src/table/flex_renderer.js ***!
28595
+ \************************************/
28596
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
28597
+
28598
+ "use strict";
28599
+ __webpack_require__.r(__webpack_exports__);
28600
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
28601
+ /* harmony export */ flexRender: () => (/* binding */ flexRender)
28602
+ /* harmony export */ });
28603
+ // LICENSE_CODE ZON
28604
+
28605
+
28606
+ /*jslint react:true*/
28607
+
28608
+ /**
28609
+ * If rendering headers, cells, or footers with custom markup,
28610
+ * use flexRender instead of `cell.getValue()` or `cell.renderValue()`.
28611
+ */
28612
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
28613
+ var flexRender = function flexRender(Comp, props) {
28614
+ return !Comp ? null : isReactComponent(Comp) ? /*#__PURE__*/React.createElement(Comp, props) : Comp;
28615
+ };
28616
+ var isReactComponent = function isReactComponent(component) {
28617
+ return isClassComponent(component) || typeof component === 'function' || isExoticComponent(component);
28618
+ };
28619
+ var isClassComponent = function isClassComponent(component) {
28620
+ return typeof component === 'function' && function () {
28621
+ var proto = Object.getPrototypeOf(component);
28622
+ return proto.prototype && proto.prototype.isReactComponent;
28623
+ }();
28624
+ };
28625
+ var isExoticComponent = function isExoticComponent(component) {
28626
+ return _typeof(component) === 'object' && _typeof(component.$$typeof) === 'symbol' && ['react.memo', 'react.forward_ref'].includes(component.$$typeof.description);
28627
+ };
28628
+
28629
+ /***/ }),
28630
+
28482
28631
  /***/ "./src/table/footer.js":
28483
28632
  /*!*****************************!*\
28484
28633
  !*** ./src/table/footer.js ***!
@@ -29939,6 +30088,7 @@ __webpack_require__.r(__webpack_exports__);
29939
30088
  /* harmony import */ var _header__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./header */ "./src/table/header.js");
29940
30089
  /* harmony import */ var _render_row__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./render_row */ "./src/table/render_row.js");
29941
30090
  /* harmony import */ var _sticky_header__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./sticky_header */ "./src/table/sticky_header.js");
30091
+ /* harmony import */ var _flex_renderer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./flex_renderer */ "./src/table/flex_renderer.js");
29942
30092
  // LICENSE_CODE ZON
29943
30093
 
29944
30094
 
@@ -29955,6 +30105,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
29955
30105
 
29956
30106
 
29957
30107
 
30108
+
29958
30109
  var Table = function Table(props) {
29959
30110
  var className = props.className,
29960
30111
  rowDensity = props.rowDensity,
@@ -29977,8 +30128,8 @@ var Table = function Table(props) {
29977
30128
  var wrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
29978
30129
  var tableRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
29979
30130
  var body = function () {
29980
- if (isLoading) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(LoadingComp, null);
29981
- if (!page.length) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(NoDataComp, null);
30131
+ if (isLoading) return (0,_flex_renderer__WEBPACK_IMPORTED_MODULE_11__.flexRender)(LoadingComp);
30132
+ if (!page.length) return (0,_flex_renderer__WEBPACK_IMPORTED_MODULE_11__.flexRender)(NoDataComp);
29982
30133
  return page.map(function (row, i, arr) {
29983
30134
  prepareRow(row);
29984
30135
  if (row.isPinned) return null;
@@ -31201,14 +31352,16 @@ var Style = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef
31201
31352
  italic_sm: 'sm',
31202
31353
  italic_xs: 'xs',
31203
31354
  code: 'sm',
31355
+ code_sm: 'sm',
31204
31356
  code_xxs: 'xxs',
31205
31357
  capitals: 'xs',
31358
+ capitals_xs: 'xs',
31206
31359
  capitals_xxs: 'xxs'
31207
31360
  }[props.variant] || 'md',
31208
31361
  line_height: ['italic_lg', 'italic_sm'].includes(props.variant) ? 'snug' : 'none',
31209
- font_family: ['code', 'code_xxs'].includes(props.variant) ? 'mono' : 'sans',
31362
+ font_family: ['code', 'code_sm', 'code_xxs'].includes(props.variant) ? 'mono' : 'sans',
31210
31363
  italic: ['italic_lg', 'italic_sm', 'italic_xs'].includes(props.variant),
31211
- uppercase: ['capitals', 'capitals_xxs'].includes(props.variant)
31364
+ uppercase: ['capitals', 'capitals_xs', 'capitals_xxs'].includes(props.variant)
31212
31365
  });
31213
31366
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__["default"], _extends({
31214
31367
  ref: ref
@@ -31219,7 +31372,7 @@ Style.defaultProps = {
31219
31372
  variant: 'italic_lg'
31220
31373
  };
31221
31374
  Style.propTypes = {
31222
- variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['italic_lg', 'italic_sm', 'italic_xs', 'code', 'code_xxs', 'capitals', 'capitals_xxs']),
31375
+ variant: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['italic_lg', 'italic_sm', 'italic_xs', 'code_sm', 'code_xxs', 'capitals_xs', 'capitals_xxs']),
31223
31376
  whiteSpace: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_2__.whiteSpaces)
31224
31377
  };
31225
31378
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Style);