@spider-analyzer/timeline 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -6,9 +6,9 @@ import { select, pointer } from 'd3-selection';
6
6
  import { drag } from 'd3-drag';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
  import clsx3 from 'clsx';
9
- import './timeline-EX2XZ6IP.css';
9
+ import './timeline.css';
10
10
  import ToolTipBase from 'rc-tooltip';
11
- import './tipDark-BQEJ43KY.css';
11
+ import './tipDark.css';
12
12
  import { timeDay } from 'd3-time';
13
13
 
14
14
  var __defProp = Object.defineProperty;
@@ -416,8 +416,8 @@ var defaultLabels = {
416
416
  var defaultQualityScale = scaleLinear().domain([0, 0.9, 1]).range(["#ff3724", "rgba(255,0,0,0.09)", "rgba(155,249,135,0.94)"]).clamp(true);
417
417
  function ToolTip({ overlay, placement = "top", mouseEnterDelay = 0.5, prefixCls, align, visible, hidden, children }) {
418
418
  const extraProps = {};
419
- if (visible) extraProps.open = true;
420
- if (hidden) extraProps.open = false;
419
+ if (visible) extraProps.visible = true;
420
+ if (hidden) extraProps.visible = false;
421
421
  return /* @__PURE__ */ jsx(
422
422
  ToolTipBase,
423
423
  {