intergalactic 15.112.0 → 15.113.0-prerelease.0

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 (54) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/components.json +1 -1
  3. package/d3-chart/Hover.d.ts +2 -0
  4. package/d3-chart/lib/cjs/Area.js +11 -11
  5. package/d3-chart/lib/cjs/Axis.js +14 -14
  6. package/d3-chart/lib/cjs/Bar.js +16 -16
  7. package/d3-chart/lib/cjs/Bubble.js +12 -12
  8. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  9. package/d3-chart/lib/cjs/Donut.js +9 -9
  10. package/d3-chart/lib/cjs/Dots.js +8 -8
  11. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  12. package/d3-chart/lib/cjs/Hover.js +5 -4
  13. package/d3-chart/lib/cjs/Hover.js.map +1 -1
  14. package/d3-chart/lib/cjs/Line.js +9 -9
  15. package/d3-chart/lib/cjs/Plot.js +3 -3
  16. package/d3-chart/lib/cjs/Radar.js +19 -19
  17. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  18. package/d3-chart/lib/cjs/Reference.js +12 -12
  19. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  20. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  21. package/d3-chart/lib/cjs/Venn.js +9 -9
  22. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  23. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  24. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  25. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  26. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  27. package/d3-chart/lib/cjs/types/Hover.d.js.map +1 -1
  28. package/d3-chart/lib/es6/Area.js +11 -11
  29. package/d3-chart/lib/es6/Axis.js +14 -14
  30. package/d3-chart/lib/es6/Bar.js +16 -16
  31. package/d3-chart/lib/es6/Bubble.js +12 -12
  32. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  33. package/d3-chart/lib/es6/Donut.js +9 -9
  34. package/d3-chart/lib/es6/Dots.js +8 -8
  35. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  36. package/d3-chart/lib/es6/Hover.js +5 -4
  37. package/d3-chart/lib/es6/Hover.js.map +1 -1
  38. package/d3-chart/lib/es6/Line.js +9 -9
  39. package/d3-chart/lib/es6/Plot.js +3 -3
  40. package/d3-chart/lib/es6/Radar.js +19 -19
  41. package/d3-chart/lib/es6/RadialTree.js +12 -12
  42. package/d3-chart/lib/es6/Reference.js +12 -12
  43. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  44. package/d3-chart/lib/es6/Tooltip.js +9 -9
  45. package/d3-chart/lib/es6/Venn.js +9 -9
  46. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  47. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  48. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  49. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  50. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  51. package/d3-chart/lib/es6/types/Hover.d.js.map +1 -1
  52. package/d3-chart/lib/types/Hover.d.ts +2 -0
  53. package/d3-chart/package.json +1 -1
  54. package/package.json +1 -1
@@ -16,9 +16,9 @@ import trottle from 'intergalactic/utils/lib/rafTrottle';
16
16
  import createElement from './createElement';
17
17
  import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
18
18
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_ktdwh_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_ktdwh_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "ktdwh_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_ktdwh_gg_",
21
- "__SHoverRect": "___SHoverRect_ktdwh_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1vn8c_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1vn8c_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1vn8c_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_1vn8c_gg_",
21
+ "__SHoverRect": "___SHoverRect_1vn8c_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {
@@ -135,7 +135,8 @@ var HoverLineRoot = /*#__PURE__*/function (_Hover) {
135
135
  var yRange = yScale.range();
136
136
  var x1 = xIndex !== null ? scaleOfBandwidth(xScale, data[xIndex][x]) : undefined;
137
137
  var y1 = yIndex !== null ? scaleOfBandwidth(yScale, data[yIndex][y]) : undefined;
138
- if (hideHoverLine) {
138
+ var isHide = typeof hideHoverLine === 'function' ? hideHoverLine(xIndex, yIndex) : hideHoverLine;
139
+ if (isHide) {
139
140
  return null;
140
141
  }
141
142
  return _ref3 = sstyled(styles), /*#__PURE__*/React.createElement(React.Fragment, null, xIndex !== null ? /*#__PURE__*/React.createElement(SHoverLine, _ref3.cn("SHoverLine", {
@@ -1 +1 @@
1
- {"version":3,"file":"Hover.js","names":["React","Component","sstyled","Root","canUseDOM","trottle","createElement","scaleOfBandwidth","getIndexFromData","eventToPoint","invert","scaleToBand","style","_sstyled","insert","Tooltip","Hover","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","xIndex","yIndex","document","e","_this$asProps","asProps","eventEmitter","data","scale","x","y","rootRef","patterns","clientX","clientY","_scale","_slicedToArray","xScale","yScale","_eventToPoint","current","_eventToPoint2","pX","pY","vX","vY","undefined","state","setState","emit","_createClass","key","value","componentDidMount","_this2","unsubscribeMouseMoveRoot","subscribe","persist","handlerMouseMoveRoot","unsubscribeMouseLeaveRoot","handlerMouseLeaveRoot","componentWillUnmount","HoverLineRoot","_Hover","_super2","render","_ref3","SHoverLine","Element","_this$asProps2","styles","hideHoverLine","_this$state","_scale2","xRange","range","yRange","x1","y1","Fragment","cn","HoverRectRoot","_Hover2","_super3","_ref4","SHoverRect","_this$asProps3","_this$state2","_scale3","xBand","yBand","step","paddingInner","HoverLineTooltip","props","_ref","arguments[0]","_ref5","SHoverLineTooltip","_objectSpread","_assignProps","HoverLine","HoverRectTooltip","_ref2","_ref6","SHoverRectTooltip","_assignProps2","HoverRect","_______childrenComponents"],"sources":["../../src/Hover.jsx"],"sourcesContent":["import React from 'react';\nimport { Component, sstyled, Root } from '@semcore/core';\nimport canUseDOM from '@semcore/utils/lib/canUseDOM';\nimport trottle from '@semcore/utils/lib/rafTrottle';\nimport createElement from './createElement';\nimport { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';\n\nimport style from './style/hover.shadow.css';\nimport Tooltip from './Tooltip';\n\nclass Hover extends Component {\n static style = style;\n\n state = {\n xIndex: null,\n yIndex: null,\n };\n\n virtualElement = canUseDOM() ? document.createElement('div') : {};\n\n handlerMouseMoveRoot = trottle((e) => {\n const { eventEmitter, data, scale, x, y, rootRef, patterns } = this.asProps;\n const { clientX, clientY } = e;\n const [xScale, yScale] = scale;\n const [pX, pY] = eventToPoint(e, rootRef.current);\n const vX = invert(xScale, pX);\n const vY = invert(yScale, pY);\n const xIndex =\n x === undefined || vX === undefined ? null : getIndexFromData(data, xScale, x, vX);\n const yIndex =\n y === undefined || vY === undefined ? null : getIndexFromData(data, yScale, y, vY);\n const state = { xIndex, yIndex, patterns };\n\n this.setState(state, () => {\n eventEmitter.emit('setTooltipPosition', clientX, clientY);\n eventEmitter.emit('setTooltipRenderingProps', {}, state);\n eventEmitter.emit('setTooltipVisible', xIndex !== null || yIndex !== null);\n });\n });\n\n handlerMouseLeaveRoot = trottle(() => {\n const state = {\n xIndex: null,\n yIndex: null,\n patterns: this.asProps.patterns,\n };\n this.setState(state, () => {\n this.asProps.eventEmitter.emit('setTooltipVisible', false);\n });\n });\n\n componentDidMount() {\n const { eventEmitter } = this.asProps;\n this.unsubscribeMouseMoveRoot = eventEmitter.subscribe('onMouseMoveChart', (e) => {\n e.persist();\n this.handlerMouseMoveRoot(e);\n });\n this.unsubscribeMouseLeaveRoot = eventEmitter.subscribe(\n 'onMouseLeaveChart',\n this.handlerMouseLeaveRoot,\n );\n }\n\n componentWillUnmount() {\n if (this.unsubscribeMouseMoveRoot) {\n this.unsubscribeMouseMoveRoot();\n }\n if (this.unsubscribeMouseLeaveRoot) {\n this.unsubscribeMouseLeaveRoot();\n }\n }\n}\n\nclass HoverLineRoot extends Hover {\n static displayName = 'HoverLine';\n\n render() {\n const SHoverLine = this.Element;\n const { styles, x, y, data, scale, hideHoverLine } = this.asProps;\n const { xIndex, yIndex } = this.state;\n const [xScale, yScale] = scale;\n\n const xRange = xScale.range();\n const yRange = yScale.range();\n const x1 = xIndex !== null ? scaleOfBandwidth(xScale, data[xIndex][x]) : undefined;\n const y1 = yIndex !== null ? scaleOfBandwidth(yScale, data[yIndex][y]) : undefined;\n\n if (hideHoverLine) {\n return null;\n }\n\n return sstyled(styles)(\n <>\n {xIndex !== null ? (\n <SHoverLine\n aria-hidden\n render='line'\n index={xIndex}\n x1={x1}\n y1={yRange[0]}\n x2={x1}\n y2={yRange[1]}\n />\n ) : null}\n {yIndex !== null ? (\n <SHoverLine\n aria-hidden\n render='line'\n index={yIndex}\n x1={xRange[0]}\n y1={y1}\n x2={xRange[1]}\n y2={y1}\n />\n ) : null}\n </>,\n );\n }\n}\n\nclass HoverRectRoot extends Hover {\n static displayName = 'HoverRect';\n\n render() {\n const SHoverRect = this.Element;\n const { styles, x, y, data, scale, hideHoverLine } = this.asProps;\n const { xIndex, yIndex } = this.state;\n const [xScale, yScale] = scale;\n\n const xRange = xScale.range();\n const yRange = yScale.range();\n const xBand = scaleToBand(xScale);\n const yBand = scaleToBand(yScale);\n\n if (hideHoverLine) {\n return null;\n }\n\n return sstyled(styles)(\n <>\n {xIndex !== null ? (\n <SHoverRect\n aria-hidden\n render='rect'\n index={xIndex}\n width={xBand.step() - xBand.paddingInner() / 2}\n height={yRange[0] - yRange[1]}\n x={xScale(data[xIndex][x]) - (xBand.step() * xBand.paddingInner()) / 2}\n y={yRange[1]}\n />\n ) : null}\n {yIndex !== null ? (\n <SHoverRect\n aria-hidden\n render='rect'\n index={yIndex}\n width={xRange[1] - xRange[0]}\n height={yBand.step() - yBand.paddingInner() / 2}\n x={xRange[0]}\n y={yScale(data[yIndex][y]) - (yBand.step() * yBand.paddingInner()) / 2}\n />\n ) : null}\n </>,\n );\n }\n}\n\nconst HoverLineTooltip = (props) => {\n const SHoverLineTooltip = Root;\n return sstyled(props.styles)(\n <SHoverLineTooltip render={Tooltip} tag={HoverLine} excludeAnchorProps />,\n );\n};\nconst HoverRectTooltip = (props) => {\n const SHoverRectTooltip = Root;\n return sstyled(props.styles)(\n <SHoverRectTooltip render={Tooltip} tag={HoverRect} excludeAnchorProps />,\n );\n};\n\nconst HoverLine = createElement(HoverLineRoot, {\n Tooltip: [HoverLineTooltip, Tooltip._______childrenComponents],\n});\nconst HoverRect = createElement(HoverRectRoot, {\n Tooltip: [HoverRectTooltip, Tooltip._______childrenComponents],\n});\n\nexport { HoverLine, HoverRect };\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACxD,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,OAAO,MAAM,+BAA+B;AACn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AAA,GAAAN,IAAA,IAAuB;AAE7E,CAAC;AACD,IAAMO,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIR,KAAK,EAAK;EAAA,IAAAS,KAAA,GAAAP,YAAA;IAAAQ,KAAA;EAClC,IAAMC,iBAAiB,GAEMxG,OAAO;EADpC,OAAAuG,KAAA,GAAOpH,OAAO,CAAC0G,KAAK,CAACxB,MAAM,CAAC,eAC1BpF,KAAA,CAAAM,aAAA,CAACiH,iBAAiB,EAAAD,KAAA,CAAAxB,EAAA,sBAAAmB,aAAA,KAAAO,aAAA;IAAA,OAAuBC,SAAS;IAAA;EAAA,GAAAJ,KAAA,IAAuB;AAE7E,CAAC;AAED,IAAMF,SAAS,GAAG7G,aAAa,CAACsE,aAAa,EAAE;EAC7C7D,OAAO,EAAE,CAAC4F,gBAAgB,EAAE5F,OAAO,CAAC2G,yBAAyB;AAC/D,CAAC,CAAC;AACF,IAAMD,SAAS,GAAGnH,aAAa,CAACyF,aAAa,EAAE;EAC7ChF,OAAO,EAAE,CAACqG,gBAAgB,EAAErG,OAAO,CAAC2G,yBAAyB;AAC/D,CAAC,CAAC;AAEF,SAASP,SAAS,EAAEM,SAAS"}
1
+ {"version":3,"file":"Hover.js","names":["React","Component","sstyled","Root","canUseDOM","trottle","createElement","scaleOfBandwidth","getIndexFromData","eventToPoint","invert","scaleToBand","style","_sstyled","insert","Tooltip","Hover","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","xIndex","yIndex","document","e","_this$asProps","asProps","eventEmitter","data","scale","x","y","rootRef","patterns","clientX","clientY","_scale","_slicedToArray","xScale","yScale","_eventToPoint","current","_eventToPoint2","pX","pY","vX","vY","undefined","state","setState","emit","_createClass","key","value","componentDidMount","_this2","unsubscribeMouseMoveRoot","subscribe","persist","handlerMouseMoveRoot","unsubscribeMouseLeaveRoot","handlerMouseLeaveRoot","componentWillUnmount","HoverLineRoot","_Hover","_super2","render","_ref3","SHoverLine","Element","_this$asProps2","styles","hideHoverLine","_this$state","_scale2","xRange","range","yRange","x1","y1","isHide","Fragment","cn","HoverRectRoot","_Hover2","_super3","_ref4","SHoverRect","_this$asProps3","_this$state2","_scale3","xBand","yBand","step","paddingInner","HoverLineTooltip","props","_ref","arguments[0]","_ref5","SHoverLineTooltip","_objectSpread","_assignProps","HoverLine","HoverRectTooltip","_ref2","_ref6","SHoverRectTooltip","_assignProps2","HoverRect","_______childrenComponents"],"sources":["../../src/Hover.jsx"],"sourcesContent":["import React from 'react';\nimport { Component, sstyled, Root } from '@semcore/core';\nimport canUseDOM from '@semcore/utils/lib/canUseDOM';\nimport trottle from '@semcore/utils/lib/rafTrottle';\nimport createElement from './createElement';\nimport { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';\n\nimport style from './style/hover.shadow.css';\nimport Tooltip from './Tooltip';\n\nclass Hover extends Component {\n static style = style;\n\n state = {\n xIndex: null,\n yIndex: null,\n };\n\n virtualElement = canUseDOM() ? document.createElement('div') : {};\n\n handlerMouseMoveRoot = trottle((e) => {\n const { eventEmitter, data, scale, x, y, rootRef, patterns } = this.asProps;\n const { clientX, clientY } = e;\n const [xScale, yScale] = scale;\n const [pX, pY] = eventToPoint(e, rootRef.current);\n const vX = invert(xScale, pX);\n const vY = invert(yScale, pY);\n const xIndex =\n x === undefined || vX === undefined ? null : getIndexFromData(data, xScale, x, vX);\n const yIndex =\n y === undefined || vY === undefined ? null : getIndexFromData(data, yScale, y, vY);\n const state = { xIndex, yIndex, patterns };\n\n this.setState(state, () => {\n eventEmitter.emit('setTooltipPosition', clientX, clientY);\n eventEmitter.emit('setTooltipRenderingProps', {}, state);\n eventEmitter.emit('setTooltipVisible', xIndex !== null || yIndex !== null);\n });\n });\n\n handlerMouseLeaveRoot = trottle(() => {\n const state = {\n xIndex: null,\n yIndex: null,\n patterns: this.asProps.patterns,\n };\n this.setState(state, () => {\n this.asProps.eventEmitter.emit('setTooltipVisible', false);\n });\n });\n\n componentDidMount() {\n const { eventEmitter } = this.asProps;\n this.unsubscribeMouseMoveRoot = eventEmitter.subscribe('onMouseMoveChart', (e) => {\n e.persist();\n this.handlerMouseMoveRoot(e);\n });\n this.unsubscribeMouseLeaveRoot = eventEmitter.subscribe(\n 'onMouseLeaveChart',\n this.handlerMouseLeaveRoot,\n );\n }\n\n componentWillUnmount() {\n if (this.unsubscribeMouseMoveRoot) {\n this.unsubscribeMouseMoveRoot();\n }\n if (this.unsubscribeMouseLeaveRoot) {\n this.unsubscribeMouseLeaveRoot();\n }\n }\n}\n\nclass HoverLineRoot extends Hover {\n static displayName = 'HoverLine';\n\n render() {\n const SHoverLine = this.Element;\n const { styles, x, y, data, scale, hideHoverLine } = this.asProps;\n const { xIndex, yIndex } = this.state;\n const [xScale, yScale] = scale;\n\n const xRange = xScale.range();\n const yRange = yScale.range();\n const x1 = xIndex !== null ? scaleOfBandwidth(xScale, data[xIndex][x]) : undefined;\n const y1 = yIndex !== null ? scaleOfBandwidth(yScale, data[yIndex][y]) : undefined;\n\n const isHide =\n typeof hideHoverLine === 'function' ? hideHoverLine(xIndex, yIndex) : hideHoverLine;\n\n if (isHide) {\n return null;\n }\n\n return sstyled(styles)(\n <>\n {xIndex !== null ? (\n <SHoverLine\n aria-hidden\n render='line'\n index={xIndex}\n x1={x1}\n y1={yRange[0]}\n x2={x1}\n y2={yRange[1]}\n />\n ) : null}\n {yIndex !== null ? (\n <SHoverLine\n aria-hidden\n render='line'\n index={yIndex}\n x1={xRange[0]}\n y1={y1}\n x2={xRange[1]}\n y2={y1}\n />\n ) : null}\n </>,\n );\n }\n}\n\nclass HoverRectRoot extends Hover {\n static displayName = 'HoverRect';\n\n render() {\n const SHoverRect = this.Element;\n const { styles, x, y, data, scale, hideHoverLine } = this.asProps;\n const { xIndex, yIndex } = this.state;\n const [xScale, yScale] = scale;\n\n const xRange = xScale.range();\n const yRange = yScale.range();\n const xBand = scaleToBand(xScale);\n const yBand = scaleToBand(yScale);\n\n if (hideHoverLine) {\n return null;\n }\n\n return sstyled(styles)(\n <>\n {xIndex !== null ? (\n <SHoverRect\n aria-hidden\n render='rect'\n index={xIndex}\n width={xBand.step() - xBand.paddingInner() / 2}\n height={yRange[0] - yRange[1]}\n x={xScale(data[xIndex][x]) - (xBand.step() * xBand.paddingInner()) / 2}\n y={yRange[1]}\n />\n ) : null}\n {yIndex !== null ? (\n <SHoverRect\n aria-hidden\n render='rect'\n index={yIndex}\n width={xRange[1] - xRange[0]}\n height={yBand.step() - yBand.paddingInner() / 2}\n x={xRange[0]}\n y={yScale(data[yIndex][y]) - (yBand.step() * yBand.paddingInner()) / 2}\n />\n ) : null}\n </>,\n );\n }\n}\n\nconst HoverLineTooltip = (props) => {\n const SHoverLineTooltip = Root;\n return sstyled(props.styles)(\n <SHoverLineTooltip render={Tooltip} tag={HoverLine} excludeAnchorProps />,\n );\n};\nconst HoverRectTooltip = (props) => {\n const SHoverRectTooltip = Root;\n return sstyled(props.styles)(\n <SHoverRectTooltip render={Tooltip} tag={HoverRect} excludeAnchorProps />,\n );\n};\n\nconst HoverLine = createElement(HoverLineRoot, {\n Tooltip: [HoverLineTooltip, Tooltip._______childrenComponents],\n});\nconst HoverRect = createElement(HoverRectRoot, {\n Tooltip: [HoverRectTooltip, Tooltip._______childrenComponents],\n});\n\nexport { HoverLine, HoverRect };\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACxD,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,OAAO,MAAM,+BAA+B;AACnD,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,gBAAgB,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,MAAM,EAAEC,WAAW,QAAQ,SAAS;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;AAAA;AAGhG,OAAO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,KAAK,EAAK;EAAA,IAAAS,KAAA,GAAAP,YAAA;IAAAQ,KAAA;EAClC,IAAMC,iBAAiB,GAEMzG,OAAO;EADpC,OAAAwG,KAAA,GAAOrH,OAAO,CAAC2G,KAAK,CAACzB,MAAM,CAAC,eAC1BpF,KAAA,CAAAM,aAAA,CAACkH,iBAAiB,EAAAD,KAAA,CAAAxB,EAAA,sBAAAmB,aAAA,KAAAO,aAAA;IAAA,OAAuBC,SAAS;IAAA;EAAA,GAAAJ,KAAA,IAAuB;AAE7E,CAAC;AAED,IAAMF,SAAS,GAAG9G,aAAa,CAACsE,aAAa,EAAE;EAC7C7D,OAAO,EAAE,CAAC6F,gBAAgB,EAAE7F,OAAO,CAAC4G,yBAAyB;AAC/D,CAAC,CAAC;AACF,IAAMD,SAAS,GAAGpH,aAAa,CAAC0F,aAAa,EAAE;EAC7CjF,OAAO,EAAE,CAACsG,gBAAgB,EAAEtG,OAAO,CAAC4G,yBAAyB;AAC/D,CAAC,CAAC;AAEF,SAASP,SAAS,EAAEM,SAAS"}
@@ -15,15 +15,15 @@ import Dots from './Dots';
15
15
  import AnimatedClipPath from './AnimatedClipPath';
16
16
  import { resolvePatternDasharray } from './Pattern';
17
17
  /*__reshadow-styles__:"./style/line.shadow.css"*/
18
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_a8hw2_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_a8hw2);transition-timing-function:ease-in-out}.___SLine_a8hw2_gg_.__color_a8hw2_gg_{stroke:var(--color_a8hw2)}.___SLine_a8hw2_gg_.__hide_a8hw2_gg_{display:none}.___SLine_a8hw2_gg_.__transparent_a8hw2_gg_{opacity:.3}.___SNull_a8hw2_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_a8hw2_gg_.__hide_a8hw2_gg_{display:none}.___SLineArea_a8hw2_gg_{transition-property:d;transition-duration:var(--duration_a8hw2);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_a8hw2_gg_.__color_a8hw2_gg_{fill:var(--color_a8hw2)}" /*__inner_css_end__*/, "a8hw2_gg_") /*__reshadow_css_end__*/, {
19
- "__SLine": "___SLine_a8hw2_gg_",
20
- "--duration": "--duration_a8hw2",
21
- "_color": "__color_a8hw2_gg_",
22
- "--color": "--color_a8hw2",
23
- "_hide": "__hide_a8hw2_gg_",
24
- "_transparent": "__transparent_a8hw2_gg_",
25
- "__SNull": "___SNull_a8hw2_gg_",
26
- "__SLineArea": "___SLineArea_a8hw2_gg_"
18
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_324d0_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_324d0);transition-timing-function:ease-in-out}.___SLine_324d0_gg_.__color_324d0_gg_{stroke:var(--color_324d0)}.___SLine_324d0_gg_.__hide_324d0_gg_{display:none}.___SLine_324d0_gg_.__transparent_324d0_gg_{opacity:.3}.___SNull_324d0_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_324d0_gg_.__hide_324d0_gg_{display:none}.___SLineArea_324d0_gg_{transition-property:d;transition-duration:var(--duration_324d0);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLineArea_324d0_gg_.__color_324d0_gg_{fill:var(--color_324d0)}" /*__inner_css_end__*/, "324d0_gg_") /*__reshadow_css_end__*/, {
19
+ "__SLine": "___SLine_324d0_gg_",
20
+ "--duration": "--duration_324d0",
21
+ "_color": "__color_324d0_gg_",
22
+ "--color": "--color_324d0",
23
+ "_hide": "__hide_324d0_gg_",
24
+ "_transparent": "__transparent_324d0_gg_",
25
+ "__SNull": "___SNull_324d0_gg_",
26
+ "__SLineArea": "___SLineArea_324d0_gg_"
27
27
  });
28
28
  var LineRoot = /*#__PURE__*/function (_Component) {
29
29
  _inherits(LineRoot, _Component);
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
18
18
  import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
19
19
  import colorResolverEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
20
20
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_axwzv_gg_{overflow:hidden}.___SPlot_axwzv_gg_:active,.___SPlot_axwzv_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_axwzv_gg_.__keyboardFocused_axwzv_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "axwzv_gg_") /*__reshadow_css_end__*/, {
22
- "__SPlot": "___SPlot_axwzv_gg_",
23
- "_keyboardFocused": "__keyboardFocused_axwzv_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_q7ryh_gg_{overflow:hidden}.___SPlot_q7ryh_gg_:active,.___SPlot_q7ryh_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_q7ryh_gg_.__keyboardFocused_q7ryh_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "q7ryh_gg_") /*__reshadow_css_end__*/, {
22
+ "__SPlot": "___SPlot_q7ryh_gg_",
23
+ "_keyboardFocused": "__keyboardFocused_q7ryh_gg_"
24
24
  });
25
25
  var PlotRoot = /*#__PURE__*/function (_Component) {
26
26
  _inherits(PlotRoot, _Component);
@@ -22,25 +22,25 @@ import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
22
22
  import Tooltip from './Tooltip';
23
23
  import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
24
24
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_u5a31_gg_,.___SAxisTick_u5a31_gg_,.___SAxis_u5a31_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_u5a31_gg_,.___SAxisTick_u5a31_gg_{stroke-dasharray:2}.___SAxisLine_u5a31_gg_.__active_u5a31_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_u5a31_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_u5a31_gg_.__xDirection_u5a31_gg_{text-anchor:var(--xDirection_u5a31)}.___SAxisLabel_u5a31_gg_.__yDirection_u5a31_gg_{dominant-baseline:var(--yDirection_u5a31)}.___SPolygonDot_u5a31_gg_,.___SPolygon_u5a31_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_u5a31_gg_{opacity:.2}.___SPolygon_u5a31_gg_.__color_u5a31_gg_{fill:var(--color_u5a31)}.___SPolygon_u5a31_gg_.__pattern_u5a31_gg_.__color_u5a31_gg_{fill:var(--pattern_u5a31);stroke:var(--color_u5a31);stroke-width:1px}.___SPolygonDot_u5a31_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_u5a31_gg_.__transparent_u5a31_gg_{opacity:.3}.___SPolygonDot_u5a31_gg_.__color_u5a31_gg_{fill:var(--color_u5a31)}.___SPolygonLine_u5a31_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_u5a31_gg_.__transparent_u5a31_gg_{opacity:.3}.___SPolygonLine_u5a31_gg_.__color_u5a31_gg_{stroke:var(--color_u5a31)}.___SPieRect_u5a31_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "u5a31_gg_") /*__reshadow_css_end__*/, {
26
- "__SAxis": "___SAxis_u5a31_gg_",
27
- "__SAxisLine": "___SAxisLine_u5a31_gg_",
28
- "__SAxisTick": "___SAxisTick_u5a31_gg_",
29
- "_active": "__active_u5a31_gg_",
30
- "__SAxisLabel": "___SAxisLabel_u5a31_gg_",
31
- "_xDirection": "__xDirection_u5a31_gg_",
32
- "--xDirection": "--xDirection_u5a31",
33
- "_yDirection": "__yDirection_u5a31_gg_",
34
- "--yDirection": "--yDirection_u5a31",
35
- "__SPolygon": "___SPolygon_u5a31_gg_",
36
- "_color": "__color_u5a31_gg_",
37
- "--color": "--color_u5a31",
38
- "_pattern": "__pattern_u5a31_gg_",
39
- "--pattern": "--pattern_u5a31",
40
- "__SPolygonDot": "___SPolygonDot_u5a31_gg_",
41
- "_transparent": "__transparent_u5a31_gg_",
42
- "__SPolygonLine": "___SPolygonLine_u5a31_gg_",
43
- "__SPieRect": "___SPieRect_u5a31_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1bwsq_gg_,.___SAxisTick_1bwsq_gg_,.___SAxis_1bwsq_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1bwsq_gg_,.___SAxisTick_1bwsq_gg_{stroke-dasharray:2}.___SAxisLine_1bwsq_gg_.__active_1bwsq_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1bwsq_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1bwsq_gg_.__xDirection_1bwsq_gg_{text-anchor:var(--xDirection_1bwsq)}.___SAxisLabel_1bwsq_gg_.__yDirection_1bwsq_gg_{dominant-baseline:var(--yDirection_1bwsq)}.___SPolygonDot_1bwsq_gg_,.___SPolygon_1bwsq_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1bwsq_gg_{opacity:.2}.___SPolygon_1bwsq_gg_.__color_1bwsq_gg_{fill:var(--color_1bwsq)}.___SPolygon_1bwsq_gg_.__pattern_1bwsq_gg_.__color_1bwsq_gg_{fill:var(--pattern_1bwsq);stroke:var(--color_1bwsq);stroke-width:1px}.___SPolygonDot_1bwsq_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1bwsq_gg_.__transparent_1bwsq_gg_{opacity:.3}.___SPolygonDot_1bwsq_gg_.__color_1bwsq_gg_{fill:var(--color_1bwsq)}.___SPolygonLine_1bwsq_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1bwsq_gg_.__transparent_1bwsq_gg_{opacity:.3}.___SPolygonLine_1bwsq_gg_.__color_1bwsq_gg_{stroke:var(--color_1bwsq)}.___SPieRect_1bwsq_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1bwsq_gg_") /*__reshadow_css_end__*/, {
26
+ "__SAxis": "___SAxis_1bwsq_gg_",
27
+ "__SAxisLine": "___SAxisLine_1bwsq_gg_",
28
+ "__SAxisTick": "___SAxisTick_1bwsq_gg_",
29
+ "_active": "__active_1bwsq_gg_",
30
+ "__SAxisLabel": "___SAxisLabel_1bwsq_gg_",
31
+ "_xDirection": "__xDirection_1bwsq_gg_",
32
+ "--xDirection": "--xDirection_1bwsq",
33
+ "_yDirection": "__yDirection_1bwsq_gg_",
34
+ "--yDirection": "--yDirection_1bwsq",
35
+ "__SPolygon": "___SPolygon_1bwsq_gg_",
36
+ "_color": "__color_1bwsq_gg_",
37
+ "--color": "--color_1bwsq",
38
+ "_pattern": "__pattern_1bwsq_gg_",
39
+ "--pattern": "--pattern_1bwsq",
40
+ "__SPolygonDot": "___SPolygonDot_1bwsq_gg_",
41
+ "_transparent": "__transparent_1bwsq_gg_",
42
+ "__SPolygonLine": "___SPolygonLine_1bwsq_gg_",
43
+ "__SPieRect": "___SPieRect_1bwsq_gg_"
44
44
  });
45
45
  var clampAngle = function clampAngle(angle) {
46
46
  angle = angle % (2 * Math.PI);
@@ -21,18 +21,18 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName, measureText } from './utils';
22
22
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
23
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_rwe3h_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_rwe3h_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_rwe3h_gg_.__stroke_rwe3h_gg_{stroke:var(--stroke_rwe3h)}.___SLine_rwe3h_gg_.__transparent_rwe3h_gg_{opacity:.3}.___SCap_rwe3h_gg_{transition:r .1s}.___SCap_rwe3h_gg_.__pattern_rwe3h_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_rwe3h_gg_.__transparent_rwe3h_gg_,.___SIcon_rwe3h_gg_.__transparent_rwe3h_gg_,.___SLabel_rwe3h_gg_.__transparent_rwe3h_gg_{opacity:.3}.___SLabel_rwe3h_gg_{fill:var(--color_rwe3h)}@media (hover:hover){.___SRadian_rwe3h_gg_:hover .___SLabel_rwe3h_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_rwe3h_gg_{transition:none}}" /*__inner_css_end__*/, "rwe3h_gg_") /*__reshadow_css_end__*/, {
25
- "__SRadian": "___SRadian_rwe3h_gg_",
26
- "__SLine": "___SLine_rwe3h_gg_",
27
- "_stroke": "__stroke_rwe3h_gg_",
28
- "--stroke": "--stroke_rwe3h",
29
- "_transparent": "__transparent_rwe3h_gg_",
30
- "__SCap": "___SCap_rwe3h_gg_",
31
- "_pattern": "__pattern_rwe3h_gg_",
32
- "__SIcon": "___SIcon_rwe3h_gg_",
33
- "__SLabel": "___SLabel_rwe3h_gg_",
34
- "--color": "--color_rwe3h",
35
- "__SLineCap": "___SLineCap_rwe3h_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_xeup7_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_xeup7_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_xeup7_gg_.__stroke_xeup7_gg_{stroke:var(--stroke_xeup7)}.___SLine_xeup7_gg_.__transparent_xeup7_gg_{opacity:.3}.___SCap_xeup7_gg_{transition:r .1s}.___SCap_xeup7_gg_.__pattern_xeup7_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_xeup7_gg_.__transparent_xeup7_gg_,.___SIcon_xeup7_gg_.__transparent_xeup7_gg_,.___SLabel_xeup7_gg_.__transparent_xeup7_gg_{opacity:.3}.___SLabel_xeup7_gg_{fill:var(--color_xeup7)}@media (hover:hover){.___SRadian_xeup7_gg_:hover .___SLabel_xeup7_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_xeup7_gg_{transition:none}}" /*__inner_css_end__*/, "xeup7_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_xeup7_gg_",
26
+ "__SLine": "___SLine_xeup7_gg_",
27
+ "_stroke": "__stroke_xeup7_gg_",
28
+ "--stroke": "--stroke_xeup7",
29
+ "_transparent": "__transparent_xeup7_gg_",
30
+ "__SCap": "___SCap_xeup7_gg_",
31
+ "_pattern": "__pattern_xeup7_gg_",
32
+ "__SIcon": "___SIcon_xeup7_gg_",
33
+ "__SLabel": "___SLabel_xeup7_gg_",
34
+ "--color": "--color_xeup7",
35
+ "__SLineCap": "___SLineCap_xeup7_gg_"
36
36
  });
37
37
  var baseAngle = -Math.PI / 2; // The top vertical line
38
38
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -12,18 +12,18 @@ import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
12
12
  import createElement from './createElement';
13
13
  import { scaleOfBandwidth } from './utils';
14
14
  /*__reshadow-styles__:"./style/reference.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_pndv3_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_pndv3_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_pndv3)}.___STitle_pndv3_gg_._position_top_pndv3_gg_{text-anchor:middle}.___STitle_pndv3_gg_._position_bottom_pndv3_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_pndv3_gg_._position_left_pndv3_gg_,.___STitle_pndv3_gg_._position_right_pndv3_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_pndv3_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_pndv3_gg_{fill:var(--fill_pndv3)}.___SStripesPatternPath_pndv3_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "pndv3_gg_") /*__reshadow_css_end__*/, {
16
- "__SReferenceLine": "___SReferenceLine_pndv3_gg_",
17
- "__STitle": "___STitle_pndv3_gg_",
18
- "--transform-origin": "--transform-origin_pndv3",
19
- "_position_top": "_position_top_pndv3_gg_",
20
- "_position_bottom": "_position_bottom_pndv3_gg_",
21
- "_position_right": "_position_right_pndv3_gg_",
22
- "_position_left": "_position_left_pndv3_gg_",
23
- "__SBackground": "___SBackground_pndv3_gg_",
24
- "__SStripes": "___SStripes_pndv3_gg_",
25
- "--fill": "--fill_pndv3",
26
- "__SStripesPatternPath": "___SStripesPatternPath_pndv3_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_xaslb_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___STitle_xaslb_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_xaslb)}.___STitle_xaslb_gg_._position_top_xaslb_gg_{text-anchor:middle}.___STitle_xaslb_gg_._position_bottom_xaslb_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_xaslb_gg_._position_left_xaslb_gg_,.___STitle_xaslb_gg_._position_right_xaslb_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___SBackground_xaslb_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}.___SStripes_xaslb_gg_{fill:var(--fill_xaslb)}.___SStripesPatternPath_xaslb_gg_{stroke:var(--intergalactic-chart-grid-period-pattern, rgba(25, 27, 35, 0.15));stroke-width:1px}" /*__inner_css_end__*/, "xaslb_gg_") /*__reshadow_css_end__*/, {
16
+ "__SReferenceLine": "___SReferenceLine_xaslb_gg_",
17
+ "__STitle": "___STitle_xaslb_gg_",
18
+ "--transform-origin": "--transform-origin_xaslb",
19
+ "_position_top": "_position_top_xaslb_gg_",
20
+ "_position_bottom": "_position_bottom_xaslb_gg_",
21
+ "_position_right": "_position_right_xaslb_gg_",
22
+ "_position_left": "_position_left_xaslb_gg_",
23
+ "__SBackground": "___SBackground_xaslb_gg_",
24
+ "__SStripes": "___SStripes_xaslb_gg_",
25
+ "--fill": "--fill_xaslb",
26
+ "__SStripesPatternPath": "___SStripesPatternPath_xaslb_gg_"
27
27
  });
28
28
  var side2direction = {
29
29
  left: 'vertical',
@@ -18,15 +18,15 @@ import { getScatterPlotRadius } from './utils';
18
18
  import Tooltip from './Tooltip';
19
19
  import { PatternFill } from './Pattern';
20
20
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1fbca_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1fbca);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1fbca_gg_:hover{opacity:.8}}.___SScatterPlot_1fbca_gg_.__color_1fbca_gg_{fill:var(--color_1fbca)}.___SScatterPlot_1fbca_gg_.__pattern_1fbca_gg_.__color_1fbca_gg_{fill:var(--pattern_1fbca);stroke:var(--color_1fbca);stroke-width:1px}.___SScatterPlot_1fbca_gg_.__transparent_1fbca_gg_{opacity:.3}.___SValue_1fbca_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1fbca_gg_.__color_1fbca_gg_{stroke:var(--color_1fbca)}.___SValue_1fbca_gg_.__transparent_1fbca_gg_{opacity:.3}" /*__inner_css_end__*/, "1fbca_gg_") /*__reshadow_css_end__*/, {
22
- "__SScatterPlot": "___SScatterPlot_1fbca_gg_",
23
- "_color": "__color_1fbca_gg_",
24
- "--color": "--color_1fbca",
25
- "_pattern": "__pattern_1fbca_gg_",
26
- "--pattern": "--pattern_1fbca",
27
- "_transparent": "__transparent_1fbca_gg_",
28
- "__SValue": "___SValue_1fbca_gg_",
29
- "--duration": "--duration_1fbca"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1ghuq_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1ghuq);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1ghuq_gg_:hover{opacity:.8}}.___SScatterPlot_1ghuq_gg_.__color_1ghuq_gg_{fill:var(--color_1ghuq)}.___SScatterPlot_1ghuq_gg_.__pattern_1ghuq_gg_.__color_1ghuq_gg_{fill:var(--pattern_1ghuq);stroke:var(--color_1ghuq);stroke-width:1px}.___SScatterPlot_1ghuq_gg_.__transparent_1ghuq_gg_{opacity:.3}.___SValue_1ghuq_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1ghuq_gg_.__color_1ghuq_gg_{stroke:var(--color_1ghuq)}.___SValue_1ghuq_gg_.__transparent_1ghuq_gg_{opacity:.3}" /*__inner_css_end__*/, "1ghuq_gg_") /*__reshadow_css_end__*/, {
22
+ "__SScatterPlot": "___SScatterPlot_1ghuq_gg_",
23
+ "_color": "__color_1ghuq_gg_",
24
+ "--color": "--color_1ghuq",
25
+ "_pattern": "__pattern_1ghuq_gg_",
26
+ "--pattern": "--pattern_1ghuq",
27
+ "_transparent": "__transparent_1ghuq_gg_",
28
+ "__SValue": "___SValue_1ghuq_gg_",
29
+ "--duration": "--duration_1ghuq"
30
30
  });
31
31
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
32
32
  _inherits(ScatterPlotRoot, _Component);
@@ -21,15 +21,15 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName } from './utils';
22
22
  import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
23
23
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_6mzzo_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_6mzzo_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_6mzzo_gg_{display:flex;align-items:center}.___SDot_6mzzo_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_6mzzo_gg_.__color_6mzzo_gg_{background-color:var(--color_6mzzo);width:8px;height:8px;border-radius:50%}.___SFooter_6mzzo_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "6mzzo_gg_") /*__reshadow_css_end__*/, {
25
- "__STooltip": "___STooltip_6mzzo_gg_",
26
- "__STitle": "___STitle_6mzzo_gg_",
27
- "__SDotGroup": "___SDotGroup_6mzzo_gg_",
28
- "__SDot": "___SDot_6mzzo_gg_",
29
- "__SDotCircle": "___SDotCircle_6mzzo_gg_",
30
- "_color": "__color_6mzzo_gg_",
31
- "--color": "--color_6mzzo",
32
- "__SFooter": "___SFooter_6mzzo_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_cog2p_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_cog2p_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_cog2p_gg_{display:flex;align-items:center}.___SDot_cog2p_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDotCircle_cog2p_gg_.__color_cog2p_gg_{background-color:var(--color_cog2p);width:8px;height:8px;border-radius:50%}.___SFooter_cog2p_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "cog2p_gg_") /*__reshadow_css_end__*/, {
25
+ "__STooltip": "___STooltip_cog2p_gg_",
26
+ "__STitle": "___STitle_cog2p_gg_",
27
+ "__SDotGroup": "___SDotGroup_cog2p_gg_",
28
+ "__SDot": "___SDot_cog2p_gg_",
29
+ "__SDotCircle": "___SDotCircle_cog2p_gg_",
30
+ "_color": "__color_cog2p_gg_",
31
+ "--color": "--color_cog2p",
32
+ "__SFooter": "___SFooter_cog2p_gg_"
33
33
  });
34
34
  import { PatternSymbol } from './Pattern';
35
35
 
@@ -20,15 +20,15 @@ import Tooltip from './Tooltip';
20
20
  import { PatternFill } from './Pattern';
21
21
  import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
22
22
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_9ke4h_gg_,.___SIntersection_9ke4h_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_9ke4h_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_9ke4h);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_9ke4h_gg_:hover{fill-opacity:.7}}.___SCircle_9ke4h_gg_.__color_9ke4h_gg_{fill:var(--color_9ke4h)}.___SCircle_9ke4h_gg_.__pattern_9ke4h_gg_.__color_9ke4h_gg_{fill:var(--pattern_9ke4h);fill-opacity:.7;stroke:var(--color_9ke4h);stroke-width:1px}@media (hover:hover){.___SCircle_9ke4h_gg_.__pattern_9ke4h_gg_.__color_9ke4h_gg_:hover{fill-opacity:.85}}.___SCircle_9ke4h_gg_.__transparent_9ke4h_gg_{opacity:.3}.___SIntersection_9ke4h_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_9ke4h_gg_:hover{fill-opacity:.1}}.___SIntersection_9ke4h_gg_.__transparent_9ke4h_gg_{opacity:.3}" /*__inner_css_end__*/, "9ke4h_gg_") /*__reshadow_css_end__*/, {
24
- "__SCircle": "___SCircle_9ke4h_gg_",
25
- "_color": "__color_9ke4h_gg_",
26
- "--color": "--color_9ke4h",
27
- "_transparent": "__transparent_9ke4h_gg_",
28
- "__SIntersection": "___SIntersection_9ke4h_gg_",
29
- "--duration": "--duration_9ke4h",
30
- "_pattern": "__pattern_9ke4h_gg_",
31
- "--pattern": "--pattern_9ke4h"
23
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_195t9_gg_,.___SIntersection_195t9_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_195t9_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_195t9);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_195t9_gg_:hover{fill-opacity:.7}}.___SCircle_195t9_gg_.__color_195t9_gg_{fill:var(--color_195t9)}.___SCircle_195t9_gg_.__pattern_195t9_gg_.__color_195t9_gg_{fill:var(--pattern_195t9);fill-opacity:.7;stroke:var(--color_195t9);stroke-width:1px}@media (hover:hover){.___SCircle_195t9_gg_.__pattern_195t9_gg_.__color_195t9_gg_:hover{fill-opacity:.85}}.___SCircle_195t9_gg_.__transparent_195t9_gg_{opacity:.3}.___SIntersection_195t9_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_195t9_gg_:hover{fill-opacity:.1}}.___SIntersection_195t9_gg_.__transparent_195t9_gg_{opacity:.3}" /*__inner_css_end__*/, "195t9_gg_") /*__reshadow_css_end__*/, {
24
+ "__SCircle": "___SCircle_195t9_gg_",
25
+ "_color": "__color_195t9_gg_",
26
+ "--color": "--color_195t9",
27
+ "_transparent": "__transparent_195t9_gg_",
28
+ "__SIntersection": "___SIntersection_195t9_gg_",
29
+ "--duration": "--duration_195t9",
30
+ "_pattern": "__pattern_195t9_gg_",
31
+ "--pattern": "--pattern_195t9"
32
32
  });
33
33
  var VennRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(VennRoot, _Component);
@@ -10,8 +10,8 @@ import { normalizeLocale } from './locale';
10
10
  import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
11
11
  import { Root, sstyled } from 'intergalactic/core';
12
12
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
13
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1rqzh_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1rqzh_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1rqzh_gg_") /*__reshadow_css_end__*/, {
14
- "__SPlotA11yModule": "___SPlotA11yModule_1rqzh_gg_"
13
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_ca97u_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_ca97u_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "ca97u_gg_") /*__reshadow_css_end__*/, {
14
+ "__SPlotA11yModule": "___SPlotA11yModule_ca97u_gg_"
15
15
  });
16
16
  import { Context as I18nContext, useI18n } from 'intergalactic/utils/lib/enhances/WithI18n';
17
17
  import { Box } from 'intergalactic/flex-box';
@@ -9,8 +9,8 @@ import { getIntl } from './intl';
9
9
  import { summarize } from './summarize';
10
10
  import { Root, sstyled } from 'intergalactic/core';
11
11
  /*__reshadow-styles__:"../style/plotA11yView.shadow.css"*/
12
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1spbs_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_1spbs_gg_:focus,.___SPlotA11yView_1spbs_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_1spbs_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1spbs_gg_ table,.___SPlotA11yView_1spbs_gg_ td,.___SPlotA11yView_1spbs_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1spbs_gg_") /*__reshadow_css_end__*/, {
13
- "__SPlotA11yView": "___SPlotA11yView_1spbs_gg_"
12
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yView_1tqb7_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);color:var(--intergalactic-text-primary, #191b23);border:3px solid var(--intergalactic-border-primary, #c4c7cf);font-size:var(--intergalactic-fs-50, 10px);padding:2px;width:200px;height:200px;max-width:80%;max-height:80%;overflow:auto}.___SPlotA11yView_1tqb7_gg_:focus,.___SPlotA11yView_1tqb7_gg_:focus-within{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1;z-index:var(--intergalactic-z-index-overlay, 500);position:relative;display:block}.___SPlotA11yView_1tqb7_gg_ a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline;margin-bottom:var(--intergalactic-spacing-2x, 8px);display:block}.___SPlotA11yView_1tqb7_gg_ table,.___SPlotA11yView_1tqb7_gg_ td,.___SPlotA11yView_1tqb7_gg_ th{border:1px solid var(--intergalactic-border-primary, #c4c7cf)}" /*__inner_css_end__*/, "1tqb7_gg_") /*__reshadow_css_end__*/, {
13
+ "__SPlotA11yView": "___SPlotA11yView_1tqb7_gg_"
14
14
  });
15
15
  import { Box } from 'intergalactic/flex-box';
16
16
  import { useAsyncI18nMessages } from 'intergalactic/utils/lib/enhances/i18nEnhance';
@@ -10,10 +10,10 @@ import React from 'react';
10
10
  import createComponent, { sstyled, Root } from 'intergalactic/core';
11
11
  import { Flex } from 'intergalactic/flex-box';
12
12
  /*__reshadow-styles__:"./legend-flex.shadow.css"*/
13
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_6u5v9_gg_._direction_row_6u5v9_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_6u5v9_gg_._direction_column_6u5v9_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "6u5v9_gg_") /*__reshadow_css_end__*/, {
14
- "__SLegendFlex": "___SLegendFlex_6u5v9_gg_",
15
- "_direction_row": "_direction_row_6u5v9_gg_",
16
- "_direction_column": "_direction_column_6u5v9_gg_"
13
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_1ufa7_gg_._direction_row_1ufa7_gg_{align-items:flex-start;align-content:flex-start;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1ufa7_gg_._direction_column_1ufa7_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "1ufa7_gg_") /*__reshadow_css_end__*/, {
14
+ "__SLegendFlex": "___SLegendFlex_1ufa7_gg_",
15
+ "_direction_row": "_direction_row_1ufa7_gg_",
16
+ "_direction_column": "_direction_column_1ufa7_gg_"
17
17
  });
18
18
  import { LegendItemComponent } from '../LegendItem/LegendItem';
19
19
  import Divider from 'intergalactic/divider';
@@ -19,23 +19,23 @@ import { Flex, Box } from 'intergalactic/flex-box';
19
19
  import Checkbox from 'intergalactic/checkbox';
20
20
  import { Text as TypographyText } from 'intergalactic/typography';
21
21
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendItem_asnfj_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_asnfj_gg_:hover{cursor:pointer}.___SLegendItem_asnfj_gg_.__disabled_asnfj_gg_:hover{cursor:default}}.___SPointShape_asnfj_gg_.__color_asnfj_gg_{background-color:var(--color_asnfj);margin-right:8px;flex-shrink:0}.___SPointShape_asnfj_gg_._shape_Circle_asnfj_gg_._size_l_asnfj_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_asnfj_gg_._shape_Circle_asnfj_gg_._size_m_asnfj_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_asnfj_gg_._shape_Line_asnfj_gg_._size_l_asnfj_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_asnfj_gg_._shape_Line_asnfj_gg_._size_m_asnfj_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_asnfj_gg_._shape_Square_asnfj_gg_._size_l_asnfj_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_asnfj_gg_._shape_Square_asnfj_gg_._size_m_asnfj_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_asnfj_gg_._shape_Pattern_asnfj_gg_{background-color:transparent;margin-right:4px}.___SIcon_asnfj_gg_{line-height:0;margin-right:4px}.___SIcon_asnfj_gg_._size_l_asnfj_gg_{margin-top:4px}.___SIcon_asnfj_gg_._size_m_asnfj_gg_{margin-top:2px}.___SLabel_asnfj_gg_{min-width:0}.___SAdditionalLabel_asnfj_gg_._size_l_asnfj_gg_,.___SCount_asnfj_gg_._size_l_asnfj_gg_,.___SLabel_asnfj_gg_._size_l_asnfj_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_asnfj_gg_._size_m_asnfj_gg_,.___SCount_asnfj_gg_._size_m_asnfj_gg_,.___SLabel_asnfj_gg_._size_m_asnfj_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_asnfj_gg_,.___SCount_asnfj_gg_{margin-left:4px}.___SAdditionalLabel_asnfj_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_asnfj_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_asnfj_gg_._size_l_asnfj_gg_::before{margin-top:10px}.___SAdditionalLabel_asnfj_gg_._size_m_asnfj_gg_::before{margin-top:8px}.___SPatternSymbol_asnfj_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "asnfj_gg_") /*__reshadow_css_end__*/, {
23
- "__SLegendItem": "___SLegendItem_asnfj_gg_",
24
- "_disabled": "__disabled_asnfj_gg_",
25
- "__SPointShape": "___SPointShape_asnfj_gg_",
26
- "_color": "__color_asnfj_gg_",
27
- "--color": "--color_asnfj",
28
- "_shape_Circle": "_shape_Circle_asnfj_gg_",
29
- "_size_l": "_size_l_asnfj_gg_",
30
- "_size_m": "_size_m_asnfj_gg_",
31
- "_shape_Line": "_shape_Line_asnfj_gg_",
32
- "_shape_Square": "_shape_Square_asnfj_gg_",
33
- "_shape_Pattern": "_shape_Pattern_asnfj_gg_",
34
- "__SIcon": "___SIcon_asnfj_gg_",
35
- "__SLabel": "___SLabel_asnfj_gg_",
36
- "__SAdditionalLabel": "___SAdditionalLabel_asnfj_gg_",
37
- "__SCount": "___SCount_asnfj_gg_",
38
- "__SPatternSymbol": "___SPatternSymbol_asnfj_gg_"
22
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendItem_scuxa_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_scuxa_gg_:hover{cursor:pointer}.___SLegendItem_scuxa_gg_.__disabled_scuxa_gg_:hover{cursor:default}}.___SPointShape_scuxa_gg_.__color_scuxa_gg_{background-color:var(--color_scuxa);margin-right:8px;flex-shrink:0}.___SPointShape_scuxa_gg_._shape_Circle_scuxa_gg_._size_l_scuxa_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_scuxa_gg_._shape_Circle_scuxa_gg_._size_m_scuxa_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_scuxa_gg_._shape_Line_scuxa_gg_._size_l_scuxa_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_scuxa_gg_._shape_Line_scuxa_gg_._size_m_scuxa_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_scuxa_gg_._shape_Square_scuxa_gg_._size_l_scuxa_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_scuxa_gg_._shape_Square_scuxa_gg_._size_m_scuxa_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_scuxa_gg_._shape_Pattern_scuxa_gg_{background-color:transparent;margin-right:4px}.___SIcon_scuxa_gg_{line-height:0;margin-right:4px}.___SIcon_scuxa_gg_._size_l_scuxa_gg_{margin-top:4px}.___SIcon_scuxa_gg_._size_m_scuxa_gg_{margin-top:2px}.___SLabel_scuxa_gg_{min-width:0}.___SAdditionalLabel_scuxa_gg_._size_l_scuxa_gg_,.___SCount_scuxa_gg_._size_l_scuxa_gg_,.___SLabel_scuxa_gg_._size_l_scuxa_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_scuxa_gg_._size_m_scuxa_gg_,.___SCount_scuxa_gg_._size_m_scuxa_gg_,.___SLabel_scuxa_gg_._size_m_scuxa_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_scuxa_gg_,.___SCount_scuxa_gg_{margin-left:4px}.___SAdditionalLabel_scuxa_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_scuxa_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_scuxa_gg_._size_l_scuxa_gg_::before{margin-top:10px}.___SAdditionalLabel_scuxa_gg_._size_m_scuxa_gg_::before{margin-top:8px}.___SPatternSymbol_scuxa_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "scuxa_gg_") /*__reshadow_css_end__*/, {
23
+ "__SLegendItem": "___SLegendItem_scuxa_gg_",
24
+ "_disabled": "__disabled_scuxa_gg_",
25
+ "__SPointShape": "___SPointShape_scuxa_gg_",
26
+ "_color": "__color_scuxa_gg_",
27
+ "--color": "--color_scuxa",
28
+ "_shape_Circle": "_shape_Circle_scuxa_gg_",
29
+ "_size_l": "_size_l_scuxa_gg_",
30
+ "_size_m": "_size_m_scuxa_gg_",
31
+ "_shape_Line": "_shape_Line_scuxa_gg_",
32
+ "_shape_Square": "_shape_Square_scuxa_gg_",
33
+ "_shape_Pattern": "_shape_Pattern_scuxa_gg_",
34
+ "__SIcon": "___SIcon_scuxa_gg_",
35
+ "__SLabel": "___SLabel_scuxa_gg_",
36
+ "__SAdditionalLabel": "___SAdditionalLabel_scuxa_gg_",
37
+ "__SCount": "___SCount_scuxa_gg_",
38
+ "__SPatternSymbol": "___SPatternSymbol_scuxa_gg_"
39
39
  });
40
40
  import { StaticShapes } from './LegendItem.type';
41
41
  import resolveColorEnhance from 'intergalactic/utils/lib/enhances/resolveColorEnhance';
@@ -11,12 +11,12 @@ import React from 'react';
11
11
  import createComponent, { sstyled, Root } from 'intergalactic/core';
12
12
  import { Box } from 'intergalactic/flex-box';
13
13
  /*__reshadow-styles__:"./legend-table.shadow.css"*/
14
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendTable_128ci_gg_.__columns-count_128ci_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_128ci_gg_._size_l_128ci_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_128ci_gg_._size_m_128ci_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "128ci_gg_") /*__reshadow_css_end__*/, {
15
- "__SLegendTable": "___SLegendTable_128ci_gg_",
16
- "_columns-count": "__columns-count_128ci_gg_",
17
- "__SColumnItem": "___SColumnItem_128ci_gg_",
18
- "_size_l": "_size_l_128ci_gg_",
19
- "_size_m": "_size_m_128ci_gg_"
14
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLegendTable_nkyd8_gg_.__columns-count_nkyd8_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_nkyd8_gg_._size_l_nkyd8_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_nkyd8_gg_._size_m_nkyd8_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "nkyd8_gg_") /*__reshadow_css_end__*/, {
15
+ "__SLegendTable": "___SLegendTable_nkyd8_gg_",
16
+ "_columns-count": "__columns-count_nkyd8_gg_",
17
+ "__SColumnItem": "___SColumnItem_nkyd8_gg_",
18
+ "_size_l": "_size_l_nkyd8_gg_",
19
+ "_size_m": "_size_m_nkyd8_gg_"
20
20
  });
21
21
  import { LegendItemComponent } from '../LegendItem/LegendItem';
22
22
  import { BaseLegend } from '../BaseLegend';
@@ -1 +1 @@
1
- {"version":3,"file":"Hover.d.js","names":[],"sources":["../../../src/types/Hover.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { ReturnEl } from '@semcore/core';\nimport { TooltipTypeBase } from './Tooltip';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IHoverProps extends HoverProps, UnknownProperties {}\nexport type HoverProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n};\n\ntype HoverTooltip = (<X, Y>(\n props: {\n /** Field name from `data` array item for the XAxis */\n x?: X;\n /** Field name from `data` array item for the YAxis */\n y?: Y;\n /** Handle click by trigger has an index - it is an index of the data array. */\n onClick?: (index: number, e: React.SyntheticEvent) => void;\n children: (props: {\n /** Index in `data` array of the current item */\n xIndex: X extends string ? number : never;\n /** Index in `data` array of the current item */\n yIndex: Y extends string ? number : never;\n }) => { children: ReturnEl };\n } & Omit<BoxProps, 'children'>,\n) => ReturnEl) &\n TooltipTypeBase;\n\ntype HoverContext = {\n /** Index in `data` array of the current item */\n index: number;\n};\n\ndeclare const HoverLine: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\n\ndeclare const HoverRect: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\nexport { HoverLine, HoverRect };\n"],"mappings":""}
1
+ {"version":3,"file":"Hover.d.js","names":[],"sources":["../../../src/types/Hover.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties } from '@semcore/core';\nimport { Context } from './context';\nimport { ReturnEl } from '@semcore/core';\nimport { TooltipTypeBase } from './Tooltip';\nimport { BoxProps } from '@semcore/flex-box';\nimport { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IHoverProps extends HoverProps, UnknownProperties {}\nexport type HoverProps = Context & {\n /** Field name from `data` array item for the XAxis */\n x?: string;\n /** Field name from `data` array item for the YAxis */\n y?: string;\n};\n\ntype HoverTooltip = (<X, Y>(\n props: {\n /** Field name from `data` array item for the XAxis */\n x?: X;\n /** Field name from `data` array item for the YAxis */\n y?: Y;\n /** Handle click by trigger has an index - it is an index of the data array. */\n onClick?: (index: number, e: React.SyntheticEvent) => void;\n children: (props: {\n /** Index in `data` array of the current item */\n xIndex: X extends string ? number : never;\n /** Index in `data` array of the current item */\n yIndex: Y extends string ? number : never;\n }) => { children: ReturnEl };\n /** Flag for hide line on hovered value */\n hideHoverLine?: boolean | ((xIndex: number | null, yIndex: number | null) => boolean);\n } & Omit<BoxProps, 'children'>,\n) => ReturnEl) &\n TooltipTypeBase;\n\ntype HoverContext = {\n /** Index in `data` array of the current item */\n index: number;\n};\n\ndeclare const HoverLine: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\n\ndeclare const HoverRect: IntergalacticD3Component<'g', HoverProps, HoverContext> & {\n Tooltip: HoverTooltip;\n};\nexport { HoverLine, HoverRect };\n"],"mappings":""}
@@ -29,6 +29,8 @@ type HoverTooltip = (<X, Y>(
29
29
  /** Index in `data` array of the current item */
30
30
  yIndex: Y extends string ? number : never;
31
31
  }) => { children: ReturnEl };
32
+ /** Flag for hide line on hovered value */
33
+ hideHoverLine?: boolean | ((xIndex: number | null, yIndex: number | null) => boolean);
32
34
  } & Omit<BoxProps, 'children'>,
33
35
  ) => ReturnEl) &
34
36
  TooltipTypeBase;
@@ -1 +1 @@
1
- {"name":"intergalactic/d3-chart","description":"Semrush D3 Chart Component","version":"3.55.2","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.js","types":"./lib/types/index.d.ts"},"scripts":{"build":"pnpm semcore-builder --source=js,ts"},"dependencies":{"@formatjs/intl":"2.3.0","@semcore/animation":"2.36.0","@semcore/divider":"4.35.0","@semcore/flex-box":"5.36.0","@semcore/popper":"5.43.0","@semcore/utils":"4.41.0","@types/d3-shape":"^3.1.0","@upsetjs/venn.js":"1.4.2","d3-array":"3.1.6","d3-interpolate":"3.0.1","d3-polygon":"^3.0.1","d3-scale":"4.0.2","d3-shape":"3.2.0","d3-time":"3.1.0","d3-time-format":"4.1.0","d3-transition":"3.0.1","hoist-non-react-statics":"3.3.2"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/d3-chart"},"devDependencies":{"@semcore/babel-plugin-react-semcore":"^4.2.1","@semcore/button":"*","@semcore/divider":"*","@semcore/checkbox":"*","@semcore/dropdown-menu":"*","@semcore/ellipsis":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/typography":"*","@semcore/utils":"*","@types/d3-array":"^3.0.2","@types/d3-scale":"^4.0.2","@types/d3-transition":"^3.0.1","@types/react":"18.0.21"}}
1
+ {"name":"intergalactic/d3-chart","description":"Semrush D3 Chart Component","version":"3.56.0-prerelease.0","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.js","types":"./lib/types/index.d.ts"},"scripts":{"build":"pnpm semcore-builder --source=js,ts"},"dependencies":{"@formatjs/intl":"2.3.0","@semcore/animation":"2.36.0","@semcore/divider":"4.35.0","@semcore/flex-box":"5.36.0","@semcore/popper":"5.43.0","@semcore/utils":"4.41.0","@types/d3-shape":"^3.1.0","@upsetjs/venn.js":"1.4.2","d3-array":"3.1.6","d3-interpolate":"3.0.1","d3-polygon":"^3.0.1","d3-scale":"4.0.2","d3-shape":"3.2.0","d3-time":"3.1.0","d3-time-format":"4.1.0","d3-transition":"3.0.1","hoist-non-react-statics":"3.3.2"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/d3-chart"},"devDependencies":{"@semcore/babel-plugin-react-semcore":"^4.2.1","@semcore/button":"*","@semcore/divider":"*","@semcore/checkbox":"*","@semcore/dropdown-menu":"*","@semcore/ellipsis":"*","@semcore/icon":"*","@semcore/testing-utils":"1.0.0","@semcore/typography":"*","@semcore/utils":"*","@types/d3-array":"^3.0.2","@types/d3-scale":"^4.0.2","@types/d3-transition":"^3.0.1","@types/react":"18.0.21"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intergalactic",
3
- "version": "15.112.0",
3
+ "version": "15.113.0-prerelease.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "intergalactic-migrate": "0.0.0",