@semcore/d3-chart 17.3.0 → 17.3.1-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.
- package/CHANGELOG.md +7 -0
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +16 -16
- package/lib/cjs/Bar.js +16 -16
- package/lib/cjs/Bubble.js +14 -14
- package/lib/cjs/CompactHorizontalBar.js +16 -16
- package/lib/cjs/Donut.js +9 -9
- package/lib/cjs/Dots.js +8 -8
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +3 -3
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +2 -2
- package/lib/cjs/Radar.js +19 -19
- package/lib/cjs/RadialTree.js +12 -12
- package/lib/cjs/Reference.js +12 -12
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +9 -9
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +5 -5
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/cjs/types/CompactHorizontalBar.d.js.map +1 -1
- package/lib/cjs/types/Hover.d.js.map +1 -1
- package/lib/cjs/types/Line.d.js.map +1 -1
- package/lib/cjs/types/Plot.d.js.map +1 -1
- package/lib/cjs/types/Radar.d.js.map +1 -1
- package/lib/cjs/types/ResponsiveContainer.d.js.map +1 -1
- package/lib/cjs/types/Tooltip.d.js.map +1 -1
- package/lib/cjs/types/Venn.d.js.map +1 -1
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +16 -16
- package/lib/es6/Bar.js +16 -16
- package/lib/es6/Bubble.js +14 -14
- package/lib/es6/CompactHorizontalBar.js +16 -16
- package/lib/es6/Donut.js +9 -9
- package/lib/es6/Dots.js +8 -8
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +3 -3
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +2 -2
- package/lib/es6/Radar.js +19 -19
- package/lib/es6/RadialTree.js +12 -12
- package/lib/es6/Reference.js +12 -12
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +9 -9
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +5 -5
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/lib/es6/types/CompactHorizontalBar.d.js.map +1 -1
- package/lib/es6/types/Hover.d.js.map +1 -1
- package/lib/es6/types/Line.d.js.map +1 -1
- package/lib/es6/types/Plot.d.js.map +1 -1
- package/lib/es6/types/Radar.d.js.map +1 -1
- package/lib/es6/types/ResponsiveContainer.d.js.map +1 -1
- package/lib/es6/types/Tooltip.d.js.map +1 -1
- package/lib/es6/types/Venn.d.js.map +1 -1
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +17 -17
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- package/lib/esm/CompactHorizontalBar.mjs +17 -17
- package/lib/esm/Donut.mjs +10 -10
- package/lib/esm/Dots.mjs +9 -9
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +4 -4
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Plot.mjs +3 -3
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +13 -13
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +10 -10
- package/lib/esm/Venn.mjs +10 -10
- package/lib/esm/a11y/PlotA11yModule.mjs +3 -3
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +6 -6
- package/lib/esm/component/Chart/CigaretteChart.mjs +1 -1
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +18 -18
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +7 -7
- package/lib/types/CompactHorizontalBar.d.ts +8 -8
- package/lib/types/Hover.d.ts +2 -2
- package/lib/types/Line.d.ts +2 -2
- package/lib/types/Pattern.d.ts +1 -0
- package/lib/types/Pattern.d.ts.map +1 -0
- package/lib/types/Plot.d.ts +2 -2
- package/lib/types/Radar.d.ts +2 -2
- package/lib/types/RadialTree.d.ts +1 -0
- package/lib/types/RadialTree.d.ts.map +1 -0
- package/lib/types/ResponsiveContainer.d.ts +2 -2
- package/lib/types/Tooltip.d.ts +9 -9
- package/lib/types/Venn.d.ts +3 -3
- package/lib/types/a11y/DataAccessibilityTable.d.ts +1 -0
- package/lib/types/a11y/DataAccessibilityTable.d.ts.map +1 -0
- package/lib/types/a11y/PlotA11yModule.d.ts +1 -0
- package/lib/types/a11y/PlotA11yModule.d.ts.map +1 -0
- package/lib/types/a11y/PlotA11yView.d.ts +1 -0
- package/lib/types/a11y/PlotA11yView.d.ts.map +1 -0
- package/lib/types/a11y/bezier.d.ts +1 -0
- package/lib/types/a11y/bezier.d.ts.map +1 -0
- package/lib/types/a11y/focus.d.ts +1 -0
- package/lib/types/a11y/focus.d.ts.map +1 -0
- package/lib/types/a11y/hints.d.ts +1 -0
- package/lib/types/a11y/hints.d.ts.map +1 -0
- package/lib/types/a11y/insights.d.ts +1 -0
- package/lib/types/a11y/insights.d.ts.map +1 -0
- package/lib/types/a11y/intl.d.ts +1 -0
- package/lib/types/a11y/intl.d.ts.map +1 -0
- package/lib/types/a11y/locale.d.ts +1 -0
- package/lib/types/a11y/locale.d.ts.map +1 -0
- package/lib/types/a11y/serialize.d.ts +1 -0
- package/lib/types/a11y/serialize.d.ts.map +1 -0
- package/lib/types/a11y/summarize.d.ts +1 -0
- package/lib/types/a11y/summarize.d.ts.map +1 -0
- package/lib/types/a11y/translations/module/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/a11y/translations/module/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/a11y/translations/view/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/a11y/translations/view/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/component/Chart/AbstractChart.d.ts +1 -0
- package/lib/types/component/Chart/AbstractChart.d.ts.map +1 -0
- package/lib/types/component/Chart/AbstractChart.type.d.ts +3 -2
- package/lib/types/component/Chart/AbstractChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/AreaChart.d.ts +1 -0
- package/lib/types/component/Chart/AreaChart.d.ts.map +1 -0
- package/lib/types/component/Chart/AreaChart.type.d.ts +1 -0
- package/lib/types/component/Chart/AreaChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/BarChart.d.ts +1 -0
- package/lib/types/component/Chart/BarChart.d.ts.map +1 -0
- package/lib/types/component/Chart/BarChart.type.d.ts +1 -0
- package/lib/types/component/Chart/BarChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/BubbleChart.d.ts +1 -0
- package/lib/types/component/Chart/BubbleChart.d.ts.map +1 -0
- package/lib/types/component/Chart/BubbleChart.type.d.ts +1 -0
- package/lib/types/component/Chart/BubbleChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/CigaretteChart.d.ts +1 -0
- package/lib/types/component/Chart/CigaretteChart.d.ts.map +1 -0
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +1 -0
- package/lib/types/component/Chart/CigaretteChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/CompactHorizontalBarChart.d.ts +1 -0
- package/lib/types/component/Chart/CompactHorizontalBarChart.d.ts.map +1 -0
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -0
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/DonutChart.d.ts +1 -0
- package/lib/types/component/Chart/DonutChart.d.ts.map +1 -0
- package/lib/types/component/Chart/DonutChart.type.d.ts +1 -0
- package/lib/types/component/Chart/DonutChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/HistogramChart.d.ts +1 -0
- package/lib/types/component/Chart/HistogramChart.d.ts.map +1 -0
- package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -0
- package/lib/types/component/Chart/HistogramChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/LineChart.d.ts +1 -0
- package/lib/types/component/Chart/LineChart.d.ts.map +1 -0
- package/lib/types/component/Chart/LineChart.type.d.ts +1 -0
- package/lib/types/component/Chart/LineChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/RadarChart.d.ts +1 -0
- package/lib/types/component/Chart/RadarChart.d.ts.map +1 -0
- package/lib/types/component/Chart/RadarChart.type.d.ts +1 -0
- package/lib/types/component/Chart/RadarChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/ScatterPlotChart.d.ts +1 -0
- package/lib/types/component/Chart/ScatterPlotChart.d.ts.map +1 -0
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -0
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/VennChart.d.ts +1 -0
- package/lib/types/component/Chart/VennChart.d.ts.map +1 -0
- package/lib/types/component/Chart/VennChart.type.d.ts +1 -0
- package/lib/types/component/Chart/VennChart.type.d.ts.map +1 -0
- package/lib/types/component/Chart/index.d.ts +1 -0
- package/lib/types/component/Chart/index.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/BaseLegend.d.ts +1 -0
- package/lib/types/component/ChartLegend/BaseLegend.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +4 -3
- package/lib/types/component/ChartLegend/BaseLegend.type.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts +1 -0
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts +4 -3
- package/lib/types/component/ChartLegend/LegendFlex/LegendFlex.type.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts +1 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +1 -0
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts +1 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +1 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts.map +1 -0
- package/lib/types/component/ChartLegend/index.d.ts +1 -0
- package/lib/types/component/ChartLegend/index.d.ts.map +1 -0
- package/lib/types/component/Cigarette/Cigarette.d.ts +1 -0
- package/lib/types/component/Cigarette/Cigarette.d.ts.map +1 -0
- package/lib/types/component/StackGroupBar/StackGroupBar.d.ts +1 -0
- package/lib/types/component/StackGroupBar/StackGroupBar.d.ts.map +1 -0
- package/lib/types/component/StackGroupBar/StackGroupBar.type.d.ts +1 -0
- package/lib/types/component/StackGroupBar/StackGroupBar.type.d.ts.map +1 -0
- package/lib/types/component/SvgElement.d.ts +1 -0
- package/lib/types/component/SvgElement.d.ts.map +1 -0
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/utils.d.ts +1 -0
- package/lib/types/utils.d.ts.map +1 -0
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveContainer.d.js","names":[],"sources":["../../../src/types/ResponsiveContainer.d.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"ResponsiveContainer.d.js","names":[],"sources":["../../../src/types/ResponsiveContainer.d.ts"],"sourcesContent":["import type { NSBox } from '@semcore/base-components';\nimport type { UnknownProperties } from '@semcore/core';\n\nimport type { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface IResponsiveContainerProps extends ResponsiveContainerProps, UnknownProperties {}\nexport type ResponsiveContainerProps = NSBox.Props & {\n /** Relation between height and width dimensions block */\n aspect?: number;\n /** Callback which will be called after changing the block size */\n onResize?: (size: [number, number], entries: ResizeObserverEntry[]) => void;\n};\n\n/** @deprecated */\nexport interface IResponsiveContainerContext\n extends ResponsiveContainerContext,\n UnknownProperties {}\nexport type ResponsiveContainerContext = {\n width?: number;\n height?: number;\n};\n\ndeclare const ResponsiveContainer: IntergalacticD3Component<\n 'div',\n ResponsiveContainerProps,\n ResponsiveContainerContext\n>;\n\nexport default ResponsiveContainer;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.js","names":[],"sources":["../../../src/types/Tooltip.d.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Tooltip.d.js","names":[],"sources":["../../../src/types/Tooltip.d.ts"],"sourcesContent":["import type { NSBox, NSPopper } from '@semcore/base-components';\nimport type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type React from 'react';\n\nimport type { Context } from './context';\nimport type { IntergalacticD3Component } from './Plot';\n\n/** @deprecated */\nexport interface ITooltipChartProps extends TooltipChartProps, UnknownProperties {}\nexport type TooltipChartProps = NSPopper.Props &\n NSPopper.Trigger.Props &\n 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 /** Handle click by trigger has an index - it is an index of the data array. */\n onClick?: (index: number, e: React.SyntheticEvent) => void;\n };\n\n/** @deprecated */\nexport interface ITooltipChartContext extends TooltipChartContext, UnknownProperties {\n /** Index active value for Axis x */\n xIndex: number | null;\n /** Index active value for Axis y */\n yIndex: number | null;\n}\nexport type TooltipChartContext = {\n getTriggerProps: PropGetterFn;\n getPopperProps: PropGetterFn;\n};\n\nexport type TooltipTypeBase = {\n Trigger: NSPopper.Trigger.Component;\n Popper: NSPopper.Popper.Component;\n Title: NSBox.Component;\n Dot: IntergalacticD3Component<'div', NSBox.Props & { color?: string }, TooltipChartContext>;\n Footer: NSBox.Component;\n};\n\nexport type TooltipType<ChildrenRenderProps = {}, TooltipProps = {}> = (<\n Tag extends Intergalactic.Tag = NSBox.Component,\n>(\n props: Intergalactic.InternalTypings.PropsRenderingResultComponentProps<\n Tag,\n TooltipProps,\n ChildrenRenderProps & TooltipChartContext\n >,\n) => Intergalactic.InternalTypings.ComponentRenderingResults) &\nIntergalactic.InternalTypings.ComponentAdditive<\n Intergalactic.Tag,\n Intergalactic.Tag,\n TooltipProps\n> &\nTooltipTypeBase;\n\n/**\n * @deprecated Consider migration to better typed Bubble.Tooltip, HoverLine.Tooltip,\n * HoverRect.Tooltip, Donut.Tooltip, Radar.Tooltip,\n * ScatterPlot.Tooltip or Venn.Tooltip.\n *\n * Migration examples:\n * 1. `<Tooltip tag={HoverLine}>...</Tooltip>` => `<HoverLine.Tooltip>...</HoverLine.Tooltip>`\n * 2. `<Tooltip tag={HoverRect}>...</Tooltip>` => `<HoverRect.Tooltip>...</HoverRect.Tooltip>`\n * 3. `<Tooltip tag={Radar.Hover}>...</Tooltip>` => `<Radar.Tooltip>...</Radar.Tooltip>`\n * 4. `<Tooltip>...</Tooltip>` => `<Bubble.Tooltip>...</Bubble.Tooltip>`\n * 5. `<Tooltip>...</Tooltip>` => `<Donut.Tooltip>...</Donut.Tooltip>`\n * 6. `<Tooltip>...</Tooltip>` => `<ScatterPlot.Tooltip>...</ScatterPlot.Tooltip>`\n * 7. `<Tooltip>...</Tooltip>` => `<Venn.Tooltip>...</Venn.Tooltip>`\n */\ndeclare const Tooltip: TooltipType;\n\nexport default Tooltip;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Venn.d.js","names":[],"sources":["../../../src/types/Venn.d.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Venn.d.js","names":[],"sources":["../../../src/types/Venn.d.ts"],"sourcesContent":["import type { NSAnimation } from '@semcore/base-components';\nimport type { UnknownProperties } from '@semcore/core';\n\nimport type { Context } from './context';\nimport type { PatternsConfig } from './Pattern';\nimport type { IntergalacticD3Component } from './Plot';\nimport type { TooltipType } from './Tooltip';\n\n/** @deprecated */\nexport interface IVennProps extends VennProps, UnknownProperties {}\nexport type VennProps = Context &\n NSAnimation.FadeInOut.Props & {\n /**\n * Rotate sets in the chart\n * @default Math.PI / 2\n */\n orientation?: number;\n /**\n * The function for sorting sets inside the chart\n * @default (circle1, circle2) => circle2.radius - circle1.radius\n */\n orientationOrder?: (c1: number, c2: number) => number;\n /** Enables charts patterns that enhances charts accessibility */\n patterns?: PatternsConfig;\n /**\n * Fallback for minimum value radius\n * @default 6\n * */\n minRadius?: number;\n };\n\n/** @deprecated */\nexport interface ICircleProps extends CircleProps, UnknownProperties {}\nexport type CircleProps = Context & {\n /**\n * Name of the field in the data\n * */\n dataKey: string;\n /**\n * Human readable name of the circle\n * */\n name: string;\n /** Color circle\n @default #3AB011\n **/\n color?: string;\n /** Animation duration in ms\n * @default 500\n */\n duration?: number;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\n/** @deprecated */\nexport interface IIntersectionProps extends IntersectionProps, UnknownProperties {}\nexport type IntersectionProps = Context &\n NSAnimation.FadeInOut.Props & {\n /**\n * Name of the field in the data\n * */\n dataKey: string;\n /**\n * Human readable name of the intersection\n * */\n name: string;\n /** Enables element transparency */\n transparent?: boolean;\n };\n\ndeclare const Venn: IntergalacticD3Component<'g', VennProps, Context> & {\n Circle: IntergalacticD3Component<'circle', CircleProps, Context>;\n Intersection: IntergalacticD3Component<'path', IntersectionProps, Context>;\n Tooltip: TooltipType<CircleProps>;\n};\n\nexport default Venn;\n"],"mappings":"","ignoreList":[]}
|
package/lib/es6/Area.js
CHANGED
|
@@ -12,19 +12,19 @@ import createElement from './createElement';
|
|
|
12
12
|
import Dots from './Dots';
|
|
13
13
|
import { PatternFill } from './Pattern';
|
|
14
14
|
/*!__reshadow-styles__:"./style/area.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SArea_1kjuz_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));fill-opacity:.2}.___SArea_1kjuz_gg_.__color_1kjuz_gg_{fill:var(--color_1kjuz)}.___SArea_1kjuz_gg_.__pattern_1kjuz_gg_{fill:var(--pattern_1kjuz);fill-opacity:.7}.___SArea_1kjuz_gg_.__transparent_1kjuz_gg_{opacity:.3}.___SAreaLine_1kjuz_gg_{stroke:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));stroke-width:3;fill:#0000}.___SAreaLine_1kjuz_gg_.__color_1kjuz_gg_{stroke:var(--color_1kjuz)}.___SAreaLine_1kjuz_gg_.__transparent_1kjuz_gg_{opacity:.3}.___SAreaLine_1kjuz_gg_,.___SArea_1kjuz_gg_{transition-property:d;transition-duration:var(--duration_1kjuz);transition-timing-function:ease-in-out}.___SNull_1kjuz_gg_{fill:#0000;stroke:var(--intergalactic-chart-grid-x-axis,oklch(.88 .002 175.6));stroke-dasharray:4}.___SNull_1kjuz_gg_.__hide_1kjuz_gg_{display:none}", /*__inner_css_end__*/"1kjuz_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SArea": "
|
|
19
|
-
"_color": "
|
|
20
|
-
"--color": "--
|
|
21
|
-
"_pattern": "
|
|
22
|
-
"--pattern": "--
|
|
23
|
-
"_transparent": "
|
|
24
|
-
"__SAreaLine": "
|
|
25
|
-
"--duration": "--
|
|
26
|
-
"__SNull": "
|
|
27
|
-
"_hide": "
|
|
18
|
+
"__SArea": "___SArea_1kjuz_gg_",
|
|
19
|
+
"_color": "__color_1kjuz_gg_",
|
|
20
|
+
"--color": "--color_1kjuz",
|
|
21
|
+
"_pattern": "__pattern_1kjuz_gg_",
|
|
22
|
+
"--pattern": "--pattern_1kjuz",
|
|
23
|
+
"_transparent": "__transparent_1kjuz_gg_",
|
|
24
|
+
"__SAreaLine": "___SAreaLine_1kjuz_gg_",
|
|
25
|
+
"--duration": "--duration_1kjuz",
|
|
26
|
+
"__SNull": "___SNull_1kjuz_gg_",
|
|
27
|
+
"_hide": "__hide_1kjuz_gg_"
|
|
28
28
|
});
|
|
29
29
|
import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolateValue, eventToPoint, invert } from './utils';
|
|
30
30
|
class AreaRoot extends Component {
|
package/lib/es6/Axis.js
CHANGED
|
@@ -5,24 +5,24 @@ import { Component, sstyled } from '@semcore/core';
|
|
|
5
5
|
import React, { useState, useEffect } from 'react';
|
|
6
6
|
import createElement from './createElement';
|
|
7
7
|
/*!__reshadow-styles__:"./style/axis.shadow.css"*/
|
|
8
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
8
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxis_1d6qr_gg_{stroke:var(--intergalactic-chart-grid-x-axis,oklch(.88 .002 175.6))}.___SAxis_1d6qr_gg_.__hide_1d6qr_gg_{display:none}.___STick_1d6qr_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#00030095)}@media (color-gamut:p3){.___STick_1d6qr_gg_{fill:var(--intergalactic-chart-grid-text-label,oklch(.088 .026 147.7/.583))}}.___STick_1d6qr_gg_.__primaryText_1d6qr_gg_{fill:var(--intergalactic-text-primary,oklch(.1 .03 137/.899))}.___STick_1d6qr_gg_.__hide_1d6qr_gg_{display:none}.___SGrid_1d6qr_gg_{fill:#0000;stroke:var(--intergalactic-border-secondary,#00151012)}@media (color-gamut:p3){.___SGrid_1d6qr_gg_{stroke:var(--intergalactic-border-secondary,oklch(.176 .033 175.7/.07))}}.___STitle_1d6qr_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-text-hint,#00030095);transform-origin:var(--transform-origin_1d6qr)}@media (color-gamut:p3){.___STitle_1d6qr_gg_{fill:var(--intergalactic-text-hint,oklch(.088 .026 147.7/.583))}}.___STitle_1d6qr_gg_._position_top_1d6qr_gg_{text-anchor:middle}.___STitle_1d6qr_gg_._position_bottom_1d6qr_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1d6qr_gg_._position_left_1d6qr_gg_,.___STitle_1d6qr_gg_._position_right_1d6qr_gg_{transform:rotate(-90deg);dominant-baseline:middle;text-anchor:middle}.___STitle_1d6qr_gg_._position_left_1d6qr_gg_.__verticalWritingMode_1d6qr_gg_,.___STitle_1d6qr_gg_._position_right_1d6qr_gg_.__verticalWritingMode_1d6qr_gg_{writing-mode:vertical-rl;transform:none}.___STick_1d6qr_gg_._position_top_1d6qr_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_1d6qr_gg_._position_bottom_1d6qr_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1d6qr_gg_._position_bottom_1d6qr_gg_ tspan{dominant-baseline:hanging}.___STick_1d6qr_gg_._position_right_1d6qr_gg_{transform:translateX(16px);dominant-baseline:middle}.___STick_1d6qr_gg_._position_right_1d6qr_gg_ tspan{dominant-baseline:middle}.___STick_1d6qr_gg_._position_right_1d6qr_gg_.__multiline_1d6qr_gg_,.___STick_1d6qr_gg_._position_right_1d6qr_gg_.__multiline_1d6qr_gg_ tspan{dominant-baseline:auto}.___STick_1d6qr_gg_._position_left_1d6qr_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1d6qr_gg_._position_left_1d6qr_gg_ tspan{dominant-baseline:middle}.___STick_1d6qr_gg_._position_left_1d6qr_gg_.__multiline_1d6qr_gg_,.___STick_1d6qr_gg_._position_left_1d6qr_gg_.__multiline_1d6qr_gg_ tspan{dominant-baseline:auto}.___STick_1d6qr_gg_._position_custom_0_1d6qr_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_1d6qr_gg_._position_custom_0_1d6qr_gg_ tspan{dominant-baseline:hanging}.___STick_1d6qr_gg_._position_custom_1_1d6qr_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_1d6qr_gg_._position_custom_1_1d6qr_gg_ tspan{dominant-baseline:middle}", /*__inner_css_end__*/"1d6qr_gg_"),
|
|
9
9
|
/*__reshadow_css_end__*/
|
|
10
10
|
{
|
|
11
|
-
"__SAxis": "
|
|
12
|
-
"_hide": "
|
|
13
|
-
"__STick": "
|
|
14
|
-
"_primaryText": "
|
|
15
|
-
"__SGrid": "
|
|
16
|
-
"__STitle": "
|
|
17
|
-
"--transform-origin": "--transform-
|
|
18
|
-
"_position_top": "
|
|
19
|
-
"_position_bottom": "
|
|
20
|
-
"_position_right": "
|
|
21
|
-
"_position_left": "
|
|
22
|
-
"_verticalWritingMode": "
|
|
23
|
-
"_multiline": "
|
|
24
|
-
"_position_custom_0": "
|
|
25
|
-
"_position_custom_1": "
|
|
11
|
+
"__SAxis": "___SAxis_1d6qr_gg_",
|
|
12
|
+
"_hide": "__hide_1d6qr_gg_",
|
|
13
|
+
"__STick": "___STick_1d6qr_gg_",
|
|
14
|
+
"_primaryText": "__primaryText_1d6qr_gg_",
|
|
15
|
+
"__SGrid": "___SGrid_1d6qr_gg_",
|
|
16
|
+
"__STitle": "___STitle_1d6qr_gg_",
|
|
17
|
+
"--transform-origin": "--transform-origin_1d6qr",
|
|
18
|
+
"_position_top": "_position_top_1d6qr_gg_",
|
|
19
|
+
"_position_bottom": "_position_bottom_1d6qr_gg_",
|
|
20
|
+
"_position_right": "_position_right_1d6qr_gg_",
|
|
21
|
+
"_position_left": "_position_left_1d6qr_gg_",
|
|
22
|
+
"_verticalWritingMode": "__verticalWritingMode_1d6qr_gg_",
|
|
23
|
+
"_multiline": "__multiline_1d6qr_gg_",
|
|
24
|
+
"_position_custom_0": "_position_custom_0_1d6qr_gg_",
|
|
25
|
+
"_position_custom_1": "_position_custom_1_1d6qr_gg_"
|
|
26
26
|
});
|
|
27
27
|
import { scaleOfBandwidth } from './utils';
|
|
28
28
|
const CUSTOM_0 = Symbol('custom_0');
|
package/lib/es6/Bar.js
CHANGED
|
@@ -8,24 +8,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
8
8
|
import createElement from './createElement';
|
|
9
9
|
import { PatternFill } from './Pattern';
|
|
10
10
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
11
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
11
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1mf6z_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));transition-property:height,width,y;transition-duration:var(--duration_1mf6z);transition-timing-function:ease-in-out}.___SBar_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--color_1mf6z)}.___SBar_1mf6z_gg_.__pattern_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--pattern_1mf6z);stroke:var(--color_1mf6z);stroke-width:1px}.___SBar_1mf6z_gg_.__hide_1mf6z_gg_{display:none}.___SBar_1mf6z_gg_.__transparent_1mf6z_gg_{opacity:.3}.___SBar_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBackground_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg,oklch(.96 .001 180))}.___SBackground_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBarAnnotation_1mf6z_gg_{display:flex;justify-content:space-between}.___SBarLabel_1mf6z_gg_{color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));margin-right:auto}.___SBarLabel_1mf6z_gg_,.___SBarPercent_1mf6z_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%)}.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,#00030095);margin-right:var(--intergalactic-spacing-2x,8px)}@media (color-gamut:p3){.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SBarValue_1mf6z_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);text-align:right}.___SCompactHorizontalBarHoverRect_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.028))}", /*__inner_css_end__*/"1mf6z_gg_"),
|
|
12
12
|
/*__reshadow_css_end__*/
|
|
13
13
|
{
|
|
14
|
-
"__SBar": "
|
|
15
|
-
"--duration": "--
|
|
16
|
-
"_color": "
|
|
17
|
-
"--color": "--
|
|
18
|
-
"_pattern": "
|
|
19
|
-
"--pattern": "--
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_transparent": "
|
|
22
|
-
"_onClick": "
|
|
23
|
-
"__SBackground": "
|
|
24
|
-
"__SBarAnnotation": "
|
|
25
|
-
"__SBarLabel": "
|
|
26
|
-
"__SBarPercent": "
|
|
27
|
-
"__SBarValue": "
|
|
28
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
14
|
+
"__SBar": "___SBar_1mf6z_gg_",
|
|
15
|
+
"--duration": "--duration_1mf6z",
|
|
16
|
+
"_color": "__color_1mf6z_gg_",
|
|
17
|
+
"--color": "--color_1mf6z",
|
|
18
|
+
"_pattern": "__pattern_1mf6z_gg_",
|
|
19
|
+
"--pattern": "--pattern_1mf6z",
|
|
20
|
+
"_hide": "__hide_1mf6z_gg_",
|
|
21
|
+
"_transparent": "__transparent_1mf6z_gg_",
|
|
22
|
+
"_onClick": "__onClick_1mf6z_gg_",
|
|
23
|
+
"__SBackground": "___SBackground_1mf6z_gg_",
|
|
24
|
+
"__SBarAnnotation": "___SBarAnnotation_1mf6z_gg_",
|
|
25
|
+
"__SBarLabel": "___SBarLabel_1mf6z_gg_",
|
|
26
|
+
"__SBarPercent": "___SBarPercent_1mf6z_gg_",
|
|
27
|
+
"__SBarValue": "___SBarValue_1mf6z_gg_",
|
|
28
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1mf6z_gg_"
|
|
29
29
|
});
|
|
30
30
|
import { scaleToBand, roundedPath } from './utils';
|
|
31
31
|
export const MIN_HEIGHT = 2;
|
package/lib/es6/Bubble.js
CHANGED
|
@@ -11,22 +11,22 @@ import { SvgElement } from './component/SvgElement';
|
|
|
11
11
|
import createElement from './createElement';
|
|
12
12
|
import { PatternFill } from './Pattern';
|
|
13
13
|
/*!__reshadow-styles__:"./style/bubble.shadow.css"*/
|
|
14
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
14
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBubble_1ium8_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_1ium8);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1ium8_gg_:hover{opacity:.8}}g._visible_false_1ium8_gg_{display:none}.___SBubble_1ium8_gg_.__clickable_1ium8_gg_{cursor:pointer}.___SBubble_1ium8_gg_.__color_1ium8_gg_{fill:var(--color_1ium8)}.___SBubble_1ium8_gg_.__pattern_1ium8_gg_.__color_1ium8_gg_{fill:var(--pattern_1ium8);stroke:var(--color_1ium8);stroke-width:1px}.___SBubble_1ium8_gg_.__transparent_1ium8_gg_{opacity:.3}.___SCenter_1ium8_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2))}.___SCenter_1ium8_gg_.__color_1ium8_gg_{stroke:var(--color_1ium8)}.___SCenter_1ium8_gg_.__transparent_1ium8_gg_{opacity:.3}.___SLabel_1ium8_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2))}.___SLabel_1ium8_gg_._position_right_1ium8_gg_{text-anchor:end}.___SLabel_1ium8_gg_._position_left_1ium8_gg_{text-anchor:start}.___SLabel_1ium8_gg_.__color_1ium8_gg_{fill:var(--color_1ium8)}.___SLabel_1ium8_gg_.__transparent_1ium8_gg_{opacity:.3}", /*__inner_css_end__*/"1ium8_gg_"),
|
|
15
15
|
/*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"_visible_false": "
|
|
18
|
-
"__SBubble": "
|
|
19
|
-
"_clickable": "
|
|
20
|
-
"_color": "
|
|
21
|
-
"--color": "--
|
|
22
|
-
"_pattern": "
|
|
23
|
-
"--pattern": "--
|
|
24
|
-
"_transparent": "
|
|
25
|
-
"__SCenter": "
|
|
26
|
-
"__SLabel": "
|
|
27
|
-
"_position_right": "
|
|
28
|
-
"_position_left": "
|
|
29
|
-
"--duration": "--
|
|
17
|
+
"_visible_false": "_visible_false_1ium8_gg_",
|
|
18
|
+
"__SBubble": "___SBubble_1ium8_gg_",
|
|
19
|
+
"_clickable": "__clickable_1ium8_gg_",
|
|
20
|
+
"_color": "__color_1ium8_gg_",
|
|
21
|
+
"--color": "--color_1ium8",
|
|
22
|
+
"_pattern": "__pattern_1ium8_gg_",
|
|
23
|
+
"--pattern": "--pattern_1ium8",
|
|
24
|
+
"_transparent": "__transparent_1ium8_gg_",
|
|
25
|
+
"__SCenter": "___SCenter_1ium8_gg_",
|
|
26
|
+
"__SLabel": "___SLabel_1ium8_gg_",
|
|
27
|
+
"_position_right": "_position_right_1ium8_gg_",
|
|
28
|
+
"_position_left": "_position_left_1ium8_gg_",
|
|
29
|
+
"--duration": "--duration_1ium8"
|
|
30
30
|
});
|
|
31
31
|
import Tooltip from './Tooltip';
|
|
32
32
|
import { getBubbleChartValueScale, measureText } from './utils';
|
|
@@ -15,24 +15,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
15
15
|
import createElement from './createElement';
|
|
16
16
|
import { PatternFill } from './Pattern';
|
|
17
17
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
18
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
18
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1mf6z_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));transition-property:height,width,y;transition-duration:var(--duration_1mf6z);transition-timing-function:ease-in-out}.___SBar_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--color_1mf6z)}.___SBar_1mf6z_gg_.__pattern_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--pattern_1mf6z);stroke:var(--color_1mf6z);stroke-width:1px}.___SBar_1mf6z_gg_.__hide_1mf6z_gg_{display:none}.___SBar_1mf6z_gg_.__transparent_1mf6z_gg_{opacity:.3}.___SBar_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBackground_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg,oklch(.96 .001 180))}.___SBackground_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBarAnnotation_1mf6z_gg_{display:flex;justify-content:space-between}.___SBarLabel_1mf6z_gg_{color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));margin-right:auto}.___SBarLabel_1mf6z_gg_,.___SBarPercent_1mf6z_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%)}.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,#00030095);margin-right:var(--intergalactic-spacing-2x,8px)}@media (color-gamut:p3){.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SBarValue_1mf6z_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);text-align:right}.___SCompactHorizontalBarHoverRect_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.028))}", /*__inner_css_end__*/"1mf6z_gg_"),
|
|
19
19
|
/*__reshadow_css_end__*/
|
|
20
20
|
{
|
|
21
|
-
"__SBar": "
|
|
22
|
-
"--duration": "--
|
|
23
|
-
"_color": "
|
|
24
|
-
"--color": "--
|
|
25
|
-
"_pattern": "
|
|
26
|
-
"--pattern": "--
|
|
27
|
-
"_hide": "
|
|
28
|
-
"_transparent": "
|
|
29
|
-
"_onClick": "
|
|
30
|
-
"__SBackground": "
|
|
31
|
-
"__SBarAnnotation": "
|
|
32
|
-
"__SBarLabel": "
|
|
33
|
-
"__SBarPercent": "
|
|
34
|
-
"__SBarValue": "
|
|
35
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
21
|
+
"__SBar": "___SBar_1mf6z_gg_",
|
|
22
|
+
"--duration": "--duration_1mf6z",
|
|
23
|
+
"_color": "__color_1mf6z_gg_",
|
|
24
|
+
"--color": "--color_1mf6z",
|
|
25
|
+
"_pattern": "__pattern_1mf6z_gg_",
|
|
26
|
+
"--pattern": "--pattern_1mf6z",
|
|
27
|
+
"_hide": "__hide_1mf6z_gg_",
|
|
28
|
+
"_transparent": "__transparent_1mf6z_gg_",
|
|
29
|
+
"_onClick": "__onClick_1mf6z_gg_",
|
|
30
|
+
"__SBackground": "___SBackground_1mf6z_gg_",
|
|
31
|
+
"__SBarAnnotation": "___SBarAnnotation_1mf6z_gg_",
|
|
32
|
+
"__SBarLabel": "___SBarLabel_1mf6z_gg_",
|
|
33
|
+
"__SBarPercent": "___SBarPercent_1mf6z_gg_",
|
|
34
|
+
"__SBarValue": "___SBarValue_1mf6z_gg_",
|
|
35
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1mf6z_gg_"
|
|
36
36
|
});
|
|
37
37
|
import Tooltip from './Tooltip';
|
|
38
38
|
import { roundedPath, scaleToBand, eventToPoint } from './utils';
|
package/lib/es6/Donut.js
CHANGED
|
@@ -13,17 +13,17 @@ import React from 'react';
|
|
|
13
13
|
import createElement from './createElement';
|
|
14
14
|
import { PatternFill } from './Pattern';
|
|
15
15
|
/*!__reshadow-styles__:"./style/donut.shadow.css"*/
|
|
16
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
16
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPie_njxua_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2))}.___SPie_njxua_gg_.__color_njxua_gg_{fill:var(--color_njxua)}.___SPie_njxua_gg_.__pattern_njxua_gg_.__color_njxua_gg_{fill:var(--pattern_njxua);stroke:var(--color_njxua);stroke-width:1px}.___SPie_njxua_gg_.__transparent_njxua_gg_{opacity:.3}.___SEmptyData_njxua_gg_{fill:var(--intergalactic-chart-palette-order-null,oklch(.9 .002 177))}.___SEmptyData_njxua_gg_.__color_njxua_gg_{fill:var(--color_njxua)}.___SLabel_njxua_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%)}", /*__inner_css_end__*/"njxua_gg_"),
|
|
17
17
|
/*__reshadow_css_end__*/
|
|
18
18
|
{
|
|
19
|
-
"__SPie": "
|
|
20
|
-
"_color": "
|
|
21
|
-
"--color": "--
|
|
22
|
-
"_pattern": "
|
|
23
|
-
"--pattern": "--
|
|
24
|
-
"_transparent": "
|
|
25
|
-
"__SEmptyData": "
|
|
26
|
-
"__SLabel": "
|
|
19
|
+
"__SPie": "___SPie_njxua_gg_",
|
|
20
|
+
"_color": "__color_njxua_gg_",
|
|
21
|
+
"--color": "--color_njxua",
|
|
22
|
+
"_pattern": "__pattern_njxua_gg_",
|
|
23
|
+
"--pattern": "--pattern_njxua",
|
|
24
|
+
"_transparent": "__transparent_njxua_gg_",
|
|
25
|
+
"__SEmptyData": "___SEmptyData_njxua_gg_",
|
|
26
|
+
"__SLabel": "___SLabel_njxua_gg_"
|
|
27
27
|
});
|
|
28
28
|
import Tooltip from './Tooltip';
|
|
29
29
|
import { getChartDefaultColorName } from './utils';
|
package/lib/es6/Dots.js
CHANGED
|
@@ -6,16 +6,16 @@ import React from 'react';
|
|
|
6
6
|
import createElement from './createElement';
|
|
7
7
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
8
8
|
/*!__reshadow-styles__:"./style/dot.shadow.css"*/
|
|
9
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
9
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDots_uehjh_gg_ .___SDot_uehjh_gg_{transition-duration:var(--duration_uehjh)}.___SDot_uehjh_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border,#fff);fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_uehjh_gg_.__hide_uehjh_gg_{display:none}.___SDot_uehjh_gg_.__color_uehjh_gg_{fill:var(--color_uehjh)}.___SDot_uehjh_gg_.__transparent_uehjh_gg_{opacity:.3}", /*__inner_css_end__*/"uehjh_gg_"),
|
|
10
10
|
/*__reshadow_css_end__*/
|
|
11
11
|
{
|
|
12
|
-
"__SDot": "
|
|
13
|
-
"_hide": "
|
|
14
|
-
"_color": "
|
|
15
|
-
"--color": "--
|
|
16
|
-
"_transparent": "
|
|
17
|
-
"__SDots": "
|
|
18
|
-
"--duration": "--
|
|
12
|
+
"__SDot": "___SDot_uehjh_gg_",
|
|
13
|
+
"_hide": "__hide_uehjh_gg_",
|
|
14
|
+
"_color": "__color_uehjh_gg_",
|
|
15
|
+
"--color": "--color_uehjh",
|
|
16
|
+
"_transparent": "__transparent_uehjh_gg_",
|
|
17
|
+
"__SDots": "___SDots_uehjh_gg_",
|
|
18
|
+
"--duration": "--duration_uehjh"
|
|
19
19
|
});
|
|
20
20
|
import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
|
|
21
21
|
function Dots(props) {
|
package/lib/es6/HorizontalBar.js
CHANGED
|
@@ -7,24 +7,24 @@ import AnimatedClipPath from './AnimatedClipPath';
|
|
|
7
7
|
import createElement from './createElement';
|
|
8
8
|
import { PatternFill } from './Pattern';
|
|
9
9
|
/*!__reshadow-styles__:"./style/bar.shadow.css"*/
|
|
10
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
10
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBar_1mf6z_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));transition-property:height,width,y;transition-duration:var(--duration_1mf6z);transition-timing-function:ease-in-out}.___SBar_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--color_1mf6z)}.___SBar_1mf6z_gg_.__pattern_1mf6z_gg_.__color_1mf6z_gg_{fill:var(--pattern_1mf6z);stroke:var(--color_1mf6z);stroke-width:1px}.___SBar_1mf6z_gg_.__hide_1mf6z_gg_{display:none}.___SBar_1mf6z_gg_.__transparent_1mf6z_gg_{opacity:.3}.___SBar_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBackground_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-base-bg,oklch(.96 .001 180))}.___SBackground_1mf6z_gg_.__onClick_1mf6z_gg_{cursor:pointer}.___SBarAnnotation_1mf6z_gg_{display:flex;justify-content:space-between}.___SBarLabel_1mf6z_gg_{color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));margin-right:auto}.___SBarLabel_1mf6z_gg_,.___SBarPercent_1mf6z_gg_{font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%)}.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,#00030095);margin-right:var(--intergalactic-spacing-2x,8px)}@media (color-gamut:p3){.___SBarPercent_1mf6z_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SBarValue_1mf6z_gg_{min-width:52px;display:flex;justify-content:flex-end;color:var(--intergalactic-text-primary,oklch(.1 .03 137/.899));font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);text-align:right}.___SCompactHorizontalBarHoverRect_1mf6z_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.028))}", /*__inner_css_end__*/"1mf6z_gg_"),
|
|
11
11
|
/*__reshadow_css_end__*/
|
|
12
12
|
{
|
|
13
|
-
"__SBar": "
|
|
14
|
-
"--duration": "--
|
|
15
|
-
"_color": "
|
|
16
|
-
"--color": "--
|
|
17
|
-
"_pattern": "
|
|
18
|
-
"--pattern": "--
|
|
19
|
-
"_hide": "
|
|
20
|
-
"_transparent": "
|
|
21
|
-
"_onClick": "
|
|
22
|
-
"__SBackground": "
|
|
23
|
-
"__SBarAnnotation": "
|
|
24
|
-
"__SBarLabel": "
|
|
25
|
-
"__SBarPercent": "
|
|
26
|
-
"__SBarValue": "
|
|
27
|
-
"__SCompactHorizontalBarHoverRect": "
|
|
13
|
+
"__SBar": "___SBar_1mf6z_gg_",
|
|
14
|
+
"--duration": "--duration_1mf6z",
|
|
15
|
+
"_color": "__color_1mf6z_gg_",
|
|
16
|
+
"--color": "--color_1mf6z",
|
|
17
|
+
"_pattern": "__pattern_1mf6z_gg_",
|
|
18
|
+
"--pattern": "--pattern_1mf6z",
|
|
19
|
+
"_hide": "__hide_1mf6z_gg_",
|
|
20
|
+
"_transparent": "__transparent_1mf6z_gg_",
|
|
21
|
+
"_onClick": "__onClick_1mf6z_gg_",
|
|
22
|
+
"__SBackground": "___SBackground_1mf6z_gg_",
|
|
23
|
+
"__SBarAnnotation": "___SBarAnnotation_1mf6z_gg_",
|
|
24
|
+
"__SBarLabel": "___SBarLabel_1mf6z_gg_",
|
|
25
|
+
"__SBarPercent": "___SBarPercent_1mf6z_gg_",
|
|
26
|
+
"__SBarValue": "___SBarValue_1mf6z_gg_",
|
|
27
|
+
"__SCompactHorizontalBarHoverRect": "___SCompactHorizontalBarHoverRect_1mf6z_gg_"
|
|
28
28
|
});
|
|
29
29
|
import { scaleToBand, roundedPath } from './utils';
|
|
30
30
|
export const MIN_WIDTH = 2;
|
package/lib/es6/Hover.js
CHANGED
|
@@ -9,11 +9,11 @@ import trottle from '@semcore/core/lib/utils/rafTrottle';
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import createElement from './createElement';
|
|
11
11
|
/*!__reshadow-styles__:"./style/hover.shadow.css"*/
|
|
12
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
12
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SHoverLine_zlluo_gg_,.___SHoverLine_zlluo_gg_:focus-visible{outline:none;stroke:var(--intergalactic-chart-grid-x-axis,oklch(.88 .002 175.6))}.___SHoverRect_zlluo_gg_,.___SHoverRect_zlluo_gg_:focus-visible{outline:none;fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.028))}", /*__inner_css_end__*/"zlluo_gg_"),
|
|
13
13
|
/*__reshadow_css_end__*/
|
|
14
14
|
{
|
|
15
|
-
"__SHoverLine": "
|
|
16
|
-
"__SHoverRect": "
|
|
15
|
+
"__SHoverLine": "___SHoverLine_zlluo_gg_",
|
|
16
|
+
"__SHoverRect": "___SHoverRect_zlluo_gg_"
|
|
17
17
|
});
|
|
18
18
|
import Tooltip from './Tooltip';
|
|
19
19
|
import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, scaleToBand } from './utils';
|
package/lib/es6/Line.js
CHANGED
|
@@ -10,17 +10,17 @@ import createElement from './createElement';
|
|
|
10
10
|
import Dots from './Dots';
|
|
11
11
|
import { resolvePatternDasharray } from './Pattern';
|
|
12
12
|
/*!__reshadow-styles__:"./style/line.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SLine_5v4ak_gg_{fill:#0000;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));transition-property:d;transition-duration:var(--duration_5v4ak);transition-timing-function:ease-in-out}.___SLine_5v4ak_gg_.__color_5v4ak_gg_{stroke:var(--color_5v4ak)}.___SLine_5v4ak_gg_.__hide_5v4ak_gg_{display:none}.___SLine_5v4ak_gg_.__transparent_5v4ak_gg_{opacity:.3}.___SNull_5v4ak_gg_{fill:#0000;stroke:var(--intergalactic-border-primary,#000c0829);stroke-dasharray:4}@media (color-gamut:p3){.___SNull_5v4ak_gg_{stroke:var(--intergalactic-border-primary,oklch(.137 .026 175.7/.161))}}.___SNull_5v4ak_gg_.__hide_5v4ak_gg_{display:none}.___SLineArea_5v4ak_gg_{transition-property:d;transition-duration:var(--duration_5v4ak);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2))}.___SLineArea_5v4ak_gg_.__color_5v4ak_gg_{fill:var(--color_5v4ak)}", /*__inner_css_end__*/"5v4ak_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SLine": "
|
|
17
|
-
"--duration": "--
|
|
18
|
-
"_color": "
|
|
19
|
-
"--color": "--
|
|
20
|
-
"_hide": "
|
|
21
|
-
"_transparent": "
|
|
22
|
-
"__SNull": "
|
|
23
|
-
"__SLineArea": "
|
|
16
|
+
"__SLine": "___SLine_5v4ak_gg_",
|
|
17
|
+
"--duration": "--duration_5v4ak",
|
|
18
|
+
"_color": "__color_5v4ak_gg_",
|
|
19
|
+
"--color": "--color_5v4ak",
|
|
20
|
+
"_hide": "__hide_5v4ak_gg_",
|
|
21
|
+
"_transparent": "__transparent_5v4ak_gg_",
|
|
22
|
+
"__SNull": "___SNull_5v4ak_gg_",
|
|
23
|
+
"__SLineArea": "___SLineArea_5v4ak_gg_"
|
|
24
24
|
});
|
|
25
25
|
import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolateValue, getChartDefaultColorName, eventToPoint, invert } from './utils';
|
|
26
26
|
class LineRoot extends Component {
|
package/lib/es6/Plot.js
CHANGED
|
@@ -10,10 +10,10 @@ import React from 'react';
|
|
|
10
10
|
import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
|
|
11
11
|
import { PlotA11yModule } from './a11y/PlotA11yModule';
|
|
12
12
|
/*!__reshadow-styles__:"./style/plot.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPlot_1yukr_gg_{overflow:hidden}.___SPlot_1yukr_gg_:focus{outline:none}.___SPlot_1yukr_gg_:active{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_1yukr_gg_:has(foreignObject[data-aria-only]:focus-within){outline-color:var(--intergalactic-keyboard-focus-outline,#0020dd78);outline-style:solid;outline-width:2px;outline-offset:2px;transition-duration:calc(var(--intergalactic-duration-extra-fast, 100)*1ms);transition-timing-function:ease-in-out;transition-property:outline-color,outline-width,outline-offset;border-radius:var(--intergalactic-surface-rounded,8px)}@media (color-gamut:p3){.___SPlot_1yukr_gg_:has(foreignObject[data-aria-only]:focus-within){outline-color:var(--intergalactic-keyboard-focus-outline,oklch(.424 .269 264.2/.469))}}", /*__inner_css_end__*/"1yukr_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SPlot": "
|
|
16
|
+
"__SPlot": "___SPlot_1yukr_gg_"
|
|
17
17
|
});
|
|
18
18
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
19
19
|
import { eventToPoint, uniqueId } from './utils';
|
package/lib/es6/Radar.js
CHANGED
|
@@ -12,27 +12,27 @@ import React, { cloneElement } from 'react';
|
|
|
12
12
|
import createElement from './createElement';
|
|
13
13
|
import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
14
14
|
/*!__reshadow-styles__:"./style/radar.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAxisLine_glazl_gg_,.___SAxisTick_glazl_gg_,.___SAxis_glazl_gg_{stroke:var(--intergalactic-chart-grid-line,oklch(.95 .002 180));stroke-width:1;fill:#0000}.___SAxisLine_glazl_gg_,.___SAxisTick_glazl_gg_{stroke-dasharray:2}.___SAxisLine_glazl_gg_.__active_glazl_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .002 175.6))}.___SAxisLabel_glazl_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_glazl_gg_.__xDirection_glazl_gg_{text-anchor:var(--xDirection_glazl)}.___SAxisLabel_glazl_gg_.__yDirection_glazl_gg_{dominant-baseline:var(--yDirection_glazl)}.___SPolygon_glazl_gg_{fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));opacity:.2}.___SPolygon_glazl_gg_.__color_glazl_gg_{fill:var(--color_glazl)}.___SPolygon_glazl_gg_.__pattern_glazl_gg_.__color_glazl_gg_{fill:var(--pattern_glazl);stroke:var(--color_glazl);stroke-width:1px}.___SPolygonDot_glazl_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border,#fff);r:6px;fill:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2))}.___SPolygonDot_glazl_gg_.__transparent_glazl_gg_{opacity:.3}.___SPolygonDot_glazl_gg_.__color_glazl_gg_{fill:var(--color_glazl)}.___SPolygonLine_glazl_gg_{stroke:var(--intergalactic-chart-palette-order-1,oklch(.58 .168 278.2));stroke-width:3;fill:#0000}.___SPolygonLine_glazl_gg_.__transparent_glazl_gg_{opacity:.3}.___SPolygonLine_glazl_gg_.__color_glazl_gg_{stroke:var(--color_glazl)}.___SPieRect_glazl_gg_{outline:none;fill:var(--intergalactic-chart-grid-bar-chart-hover,oklch(.177 .033 175.6/.028))}", /*__inner_css_end__*/"glazl_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SAxis": "
|
|
19
|
-
"__SAxisLine": "
|
|
20
|
-
"__SAxisTick": "
|
|
21
|
-
"_active": "
|
|
22
|
-
"__SAxisLabel": "
|
|
23
|
-
"_xDirection": "
|
|
24
|
-
"--xDirection": "--
|
|
25
|
-
"_yDirection": "
|
|
26
|
-
"--yDirection": "--
|
|
27
|
-
"__SPolygon": "
|
|
28
|
-
"_color": "
|
|
29
|
-
"--color": "--
|
|
30
|
-
"_pattern": "
|
|
31
|
-
"--pattern": "--
|
|
32
|
-
"__SPolygonDot": "
|
|
33
|
-
"_transparent": "
|
|
34
|
-
"__SPolygonLine": "
|
|
35
|
-
"__SPieRect": "
|
|
18
|
+
"__SAxis": "___SAxis_glazl_gg_",
|
|
19
|
+
"__SAxisLine": "___SAxisLine_glazl_gg_",
|
|
20
|
+
"__SAxisTick": "___SAxisTick_glazl_gg_",
|
|
21
|
+
"_active": "__active_glazl_gg_",
|
|
22
|
+
"__SAxisLabel": "___SAxisLabel_glazl_gg_",
|
|
23
|
+
"_xDirection": "__xDirection_glazl_gg_",
|
|
24
|
+
"--xDirection": "--xDirection_glazl",
|
|
25
|
+
"_yDirection": "__yDirection_glazl_gg_",
|
|
26
|
+
"--yDirection": "--yDirection_glazl",
|
|
27
|
+
"__SPolygon": "___SPolygon_glazl_gg_",
|
|
28
|
+
"_color": "__color_glazl_gg_",
|
|
29
|
+
"--color": "--color_glazl",
|
|
30
|
+
"_pattern": "__pattern_glazl_gg_",
|
|
31
|
+
"--pattern": "--pattern_glazl",
|
|
32
|
+
"__SPolygonDot": "___SPolygonDot_glazl_gg_",
|
|
33
|
+
"_transparent": "__transparent_glazl_gg_",
|
|
34
|
+
"__SPolygonLine": "___SPolygonLine_glazl_gg_",
|
|
35
|
+
"__SPieRect": "___SPieRect_glazl_gg_"
|
|
36
36
|
});
|
|
37
37
|
import Tooltip from './Tooltip';
|
|
38
38
|
import { eventToPoint, getChartDefaultColorName, measureText } from './utils';
|
package/lib/es6/RadialTree.js
CHANGED
|
@@ -10,20 +10,20 @@ import React from 'react';
|
|
|
10
10
|
import createElement from './createElement';
|
|
11
11
|
import { PatternSymbol, getPatternSymbolSize } from './Pattern';
|
|
12
12
|
/*!__reshadow-styles__:"./style/radial-tree.shadow.css"*/
|
|
13
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
13
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SRadian_1cg1e_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info,oklch(.53 .157 279.2))}.___SLine_1cg1e_gg_{stroke:var(--intergalactic-text-large-info,oklch(.53 .157 279.2))}.___SLine_1cg1e_gg_.__stroke_1cg1e_gg_{stroke:var(--stroke_1cg1e)}.___SLine_1cg1e_gg_.__transparent_1cg1e_gg_{opacity:.3}.___SCap_1cg1e_gg_{transition:r .1s}.___SCap_1cg1e_gg_.__pattern_1cg1e_gg_{stroke:var(--intergalactic-chart-grid-border,#fff);stroke-width:1px}.___SCap_1cg1e_gg_.__transparent_1cg1e_gg_,.___SIcon_1cg1e_gg_.__transparent_1cg1e_gg_{opacity:.3}.___SLabel_1cg1e_gg_{fill:var(--color_1cg1e)}.___SLabel_1cg1e_gg_.__transparent_1cg1e_gg_{opacity:.3}@media (hover:hover){.___SRadian_1cg1e_gg_:hover .___SLabel_1cg1e_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1cg1e_gg_{transition:none}}", /*__inner_css_end__*/"1cg1e_gg_"),
|
|
14
14
|
/*__reshadow_css_end__*/
|
|
15
15
|
{
|
|
16
|
-
"__SRadian": "
|
|
17
|
-
"__SLine": "
|
|
18
|
-
"_stroke": "
|
|
19
|
-
"--stroke": "--
|
|
20
|
-
"_transparent": "
|
|
21
|
-
"__SCap": "
|
|
22
|
-
"_pattern": "
|
|
23
|
-
"__SIcon": "
|
|
24
|
-
"__SLabel": "
|
|
25
|
-
"--color": "--
|
|
26
|
-
"__SLineCap": "
|
|
16
|
+
"__SRadian": "___SRadian_1cg1e_gg_",
|
|
17
|
+
"__SLine": "___SLine_1cg1e_gg_",
|
|
18
|
+
"_stroke": "__stroke_1cg1e_gg_",
|
|
19
|
+
"--stroke": "--stroke_1cg1e",
|
|
20
|
+
"_transparent": "__transparent_1cg1e_gg_",
|
|
21
|
+
"__SCap": "___SCap_1cg1e_gg_",
|
|
22
|
+
"_pattern": "__pattern_1cg1e_gg_",
|
|
23
|
+
"__SIcon": "___SIcon_1cg1e_gg_",
|
|
24
|
+
"__SLabel": "___SLabel_1cg1e_gg_",
|
|
25
|
+
"--color": "--color_1cg1e",
|
|
26
|
+
"__SLineCap": "___SLineCap_1cg1e_gg_"
|
|
27
27
|
});
|
|
28
28
|
import { getChartDefaultColorName, measureText } from './utils';
|
|
29
29
|
const baseAngle = -Math.PI / 2; // The top vertical line
|
package/lib/es6/Reference.js
CHANGED
|
@@ -5,20 +5,20 @@ import uniqueIDEnhancement from '@semcore/core/lib/utils/uniqueID';
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import createElement from './createElement';
|
|
7
7
|
/*!__reshadow-styles__:"./style/reference.shadow.css"*/
|
|
8
|
-
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
8
|
+
const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SReferenceLine_1xddn_gg_{fill:none;stroke:var(--intergalactic-chart-grid-y-accent-hover-line,oklch(.88 .002 175.6))}.___STitle_1xddn_gg_{font-size:var(--intergalactic-fs-100,12px);fill:var(--intergalactic-chart-grid-text-label,#00030095);transform-origin:var(--transform-origin_1xddn)}@media (color-gamut:p3){.___STitle_1xddn_gg_{fill:var(--intergalactic-chart-grid-text-label,oklch(.088 .026 147.7/.583))}}.___STitle_1xddn_gg_._position_top_1xddn_gg_{text-anchor:middle}.___STitle_1xddn_gg_._position_bottom_1xddn_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_1xddn_gg_._position_left_1xddn_gg_,.___STitle_1xddn_gg_._position_right_1xddn_gg_{transform:rotate(-90deg);dominant-baseline:middle;text-anchor:middle}.___SBackground_1xddn_gg_{fill:var(--intergalactic-chart-grid-period-bg,oklch(.96 .001 180))}.___SStripes_1xddn_gg_{fill:var(--fill_1xddn)}.___SStripesPatternPath_1xddn_gg_{stroke:var(--intergalactic-chart-grid-period-pattern,oklch(.95 .002 180));stroke-width:1px}", /*__inner_css_end__*/"1xddn_gg_"),
|
|
9
9
|
/*__reshadow_css_end__*/
|
|
10
10
|
{
|
|
11
|
-
"__SReferenceLine": "
|
|
12
|
-
"__STitle": "
|
|
13
|
-
"--transform-origin": "--transform-
|
|
14
|
-
"_position_top": "
|
|
15
|
-
"_position_bottom": "
|
|
16
|
-
"_position_right": "
|
|
17
|
-
"_position_left": "
|
|
18
|
-
"__SBackground": "
|
|
19
|
-
"__SStripes": "
|
|
20
|
-
"--fill": "--
|
|
21
|
-
"__SStripesPatternPath": "
|
|
11
|
+
"__SReferenceLine": "___SReferenceLine_1xddn_gg_",
|
|
12
|
+
"__STitle": "___STitle_1xddn_gg_",
|
|
13
|
+
"--transform-origin": "--transform-origin_1xddn",
|
|
14
|
+
"_position_top": "_position_top_1xddn_gg_",
|
|
15
|
+
"_position_bottom": "_position_bottom_1xddn_gg_",
|
|
16
|
+
"_position_right": "_position_right_1xddn_gg_",
|
|
17
|
+
"_position_left": "_position_left_1xddn_gg_",
|
|
18
|
+
"__SBackground": "___SBackground_1xddn_gg_",
|
|
19
|
+
"__SStripes": "___SStripes_1xddn_gg_",
|
|
20
|
+
"--fill": "--fill_1xddn",
|
|
21
|
+
"__SStripesPatternPath": "___SStripesPatternPath_1xddn_gg_"
|
|
22
22
|
});
|
|
23
23
|
import { scaleOfBandwidth } from './utils';
|
|
24
24
|
const side2direction = {
|