@semcore/d3-chart 17.3.1-prerelease.9 → 18.0.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.
- package/CHANGELOG.md +7 -1
- package/lib/cjs/Area.js +11 -11
- package/lib/cjs/Axis.js +55 -58
- package/lib/cjs/Axis.js.map +1 -1
- 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 +14 -11
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +158 -39
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +9 -9
- package/lib/cjs/Plot.js +6 -4
- package/lib/cjs/Plot.js.map +1 -1
- 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 +20 -11
- package/lib/cjs/Tooltip.js.map +1 -1
- 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 +139 -50
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.js +12 -10
- package/lib/cjs/component/Chart/AreaChart.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/BarChart.js +9 -7
- package/lib/cjs/component/Chart/BarChart.js.map +1 -1
- package/lib/cjs/component/Chart/BarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/BubbleChart.js +21 -8
- package/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
- package/lib/cjs/component/Chart/BubbleChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.js +33 -30
- package/lib/cjs/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.js +2 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.js.map +1 -1
- package/lib/cjs/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.js +5 -4
- package/lib/cjs/component/Chart/DonutChart.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/HistogramChart.js +6 -4
- package/lib/cjs/component/Chart/HistogramChart.js.map +1 -1
- package/lib/cjs/component/Chart/HistogramChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/LineChart.js +9 -7
- package/lib/cjs/component/Chart/LineChart.js.map +1 -1
- package/lib/cjs/component/Chart/LineChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/RadarChart.js +3 -2
- package/lib/cjs/component/Chart/RadarChart.js.map +1 -1
- package/lib/cjs/component/Chart/RadarChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.js +19 -7
- package/lib/cjs/component/Chart/ScatterPlotChart.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.js +6 -5
- package/lib/cjs/component/Chart/VennChart.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.js +4 -2
- package/lib/cjs/component/ChartLegend/BaseLegend.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/legend-flex.shadow.css +2 -2
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +23 -18
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +16 -40
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +12 -8
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendTable/legend-table.shadow.css +6 -2
- package/lib/cjs/style/abstract-chart.shadow.css +31 -1
- package/lib/cjs/style/area.shadow.css +6 -5
- package/lib/cjs/style/axis.shadow.css +2 -2
- package/lib/cjs/style/bar.shadow.css +7 -7
- package/lib/cjs/style/bubble.shadow.css +4 -4
- package/lib/cjs/style/donut.shadow.css +3 -3
- package/lib/cjs/style/dot.shadow.css +9 -3
- package/lib/cjs/style/hover.shadow.css +19 -1
- package/lib/cjs/style/line.shadow.css +4 -4
- package/lib/cjs/style/radar.shadow.css +5 -5
- package/lib/cjs/style/radial-tree.shadow.css +3 -3
- package/lib/cjs/style/reference.shadow.css +1 -1
- package/lib/cjs/style/scatterplot.shadow.css +1 -1
- package/lib/cjs/style/tooltip.shadow.css +23 -14
- package/lib/cjs/style/venn.shadow.css +3 -3
- package/lib/cjs/types/Hover.d.js.map +1 -1
- package/lib/cjs/utils/TextMeasurer.js +33 -0
- package/lib/cjs/utils/TextMeasurer.js.map +1 -0
- package/lib/es6/Area.js +11 -11
- package/lib/es6/Axis.js +55 -57
- package/lib/es6/Axis.js.map +1 -1
- 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 +14 -11
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +158 -39
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +9 -9
- package/lib/es6/Plot.js +6 -4
- package/lib/es6/Plot.js.map +1 -1
- 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 +20 -11
- package/lib/es6/Tooltip.js.map +1 -1
- 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 +136 -48
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.js +12 -10
- package/lib/es6/component/Chart/AreaChart.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.type.js.map +1 -1
- package/lib/es6/component/Chart/BarChart.js +9 -7
- package/lib/es6/component/Chart/BarChart.js.map +1 -1
- package/lib/es6/component/Chart/BarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/BubbleChart.js +22 -9
- package/lib/es6/component/Chart/BubbleChart.js.map +1 -1
- package/lib/es6/component/Chart/BubbleChart.type.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.js +33 -30
- package/lib/es6/component/Chart/CigaretteChart.js.map +1 -1
- package/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.js +2 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.js.map +1 -1
- package/lib/es6/component/Chart/CompactHorizontalBarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.js +5 -4
- package/lib/es6/component/Chart/DonutChart.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.type.js.map +1 -1
- package/lib/es6/component/Chart/HistogramChart.js +6 -4
- package/lib/es6/component/Chart/HistogramChart.js.map +1 -1
- package/lib/es6/component/Chart/HistogramChart.type.js.map +1 -1
- package/lib/es6/component/Chart/LineChart.js +9 -7
- package/lib/es6/component/Chart/LineChart.js.map +1 -1
- package/lib/es6/component/Chart/LineChart.type.js.map +1 -1
- package/lib/es6/component/Chart/RadarChart.js +3 -2
- package/lib/es6/component/Chart/RadarChart.js.map +1 -1
- package/lib/es6/component/Chart/RadarChart.type.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.js +20 -8
- package/lib/es6/component/Chart/ScatterPlotChart.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.js +6 -5
- package/lib/es6/component/Chart/VennChart.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.js +4 -2
- package/lib/es6/component/ChartLegend/BaseLegend.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/legend-flex.shadow.css +2 -2
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +23 -18
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +16 -40
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +12 -8
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.type.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendTable/legend-table.shadow.css +6 -2
- package/lib/es6/style/abstract-chart.shadow.css +31 -1
- package/lib/es6/style/area.shadow.css +6 -5
- package/lib/es6/style/axis.shadow.css +2 -2
- package/lib/es6/style/bar.shadow.css +7 -7
- package/lib/es6/style/bubble.shadow.css +4 -4
- package/lib/es6/style/donut.shadow.css +3 -3
- package/lib/es6/style/dot.shadow.css +9 -3
- package/lib/es6/style/hover.shadow.css +19 -1
- package/lib/es6/style/line.shadow.css +4 -4
- package/lib/es6/style/radar.shadow.css +5 -5
- package/lib/es6/style/radial-tree.shadow.css +3 -3
- package/lib/es6/style/reference.shadow.css +1 -1
- package/lib/es6/style/scatterplot.shadow.css +1 -1
- package/lib/es6/style/tooltip.shadow.css +23 -14
- package/lib/es6/style/venn.shadow.css +3 -3
- package/lib/es6/types/Hover.d.js.map +1 -1
- package/lib/es6/utils/TextMeasurer.js +25 -0
- package/lib/es6/utils/TextMeasurer.js.map +1 -0
- package/lib/esm/Area.mjs +12 -12
- package/lib/esm/Axis.mjs +56 -58
- 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 +15 -12
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +157 -40
- package/lib/esm/Line.mjs +10 -10
- package/lib/esm/Plot.mjs +7 -5
- 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 +21 -12
- 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 +150 -54
- package/lib/esm/component/Chart/AreaChart.mjs +12 -10
- package/lib/esm/component/Chart/BarChart.mjs +9 -7
- package/lib/esm/component/Chart/BubbleChart.mjs +29 -9
- package/lib/esm/component/Chart/CigaretteChart.mjs +33 -30
- package/lib/esm/component/Chart/CompactHorizontalBarChart.mjs +2 -1
- package/lib/esm/component/Chart/DonutChart.mjs +5 -4
- package/lib/esm/component/Chart/HistogramChart.mjs +6 -4
- package/lib/esm/component/Chart/LineChart.mjs +9 -7
- package/lib/esm/component/Chart/RadarChart.mjs +3 -2
- package/lib/esm/component/Chart/ScatterPlotChart.mjs +25 -8
- package/lib/esm/component/Chart/VennChart.mjs +6 -5
- package/lib/esm/component/ChartLegend/BaseLegend.mjs +4 -2
- package/lib/esm/component/ChartLegend/LegendFlex/LegendFlex.mjs +5 -5
- package/lib/esm/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -2
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.mjs +24 -19
- package/lib/esm/component/ChartLegend/LegendItem/LegendItem.type.mjs +1 -1
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +16 -40
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +13 -9
- package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +6 -2
- package/lib/esm/style/abstract-chart.shadow.css +31 -1
- package/lib/esm/style/area.shadow.css +6 -5
- package/lib/esm/style/axis.shadow.css +2 -2
- package/lib/esm/style/bar.shadow.css +7 -7
- package/lib/esm/style/bubble.shadow.css +4 -4
- package/lib/esm/style/donut.shadow.css +3 -3
- package/lib/esm/style/dot.shadow.css +9 -3
- package/lib/esm/style/hover.shadow.css +19 -1
- package/lib/esm/style/line.shadow.css +4 -4
- package/lib/esm/style/radar.shadow.css +5 -5
- package/lib/esm/style/radial-tree.shadow.css +3 -3
- package/lib/esm/style/reference.shadow.css +1 -1
- package/lib/esm/style/scatterplot.shadow.css +1 -1
- package/lib/esm/style/tooltip.shadow.css +23 -14
- package/lib/esm/style/venn.shadow.css +3 -3
- package/lib/esm/utils/TextMeasurer.mjs +27 -0
- package/lib/types/Hover.d.ts +2 -0
- package/lib/types/component/Chart/AbstractChart.d.ts +11 -6
- package/lib/types/component/Chart/AbstractChart.d.ts.map +1 -1
- package/lib/types/component/Chart/AbstractChart.type.d.ts +20 -2
- package/lib/types/component/Chart/AbstractChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/AreaChart.d.ts.map +1 -1
- package/lib/types/component/Chart/AreaChart.type.d.ts +1 -0
- package/lib/types/component/Chart/AreaChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/BarChart.d.ts.map +1 -1
- package/lib/types/component/Chart/BarChart.type.d.ts +1 -0
- package/lib/types/component/Chart/BarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/BubbleChart.d.ts.map +1 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts +2 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +2 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.d.ts.map +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +2 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/DonutChart.d.ts.map +1 -1
- package/lib/types/component/Chart/DonutChart.type.d.ts +2 -1
- package/lib/types/component/Chart/DonutChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/HistogramChart.d.ts.map +1 -1
- package/lib/types/component/Chart/HistogramChart.type.d.ts +1 -0
- package/lib/types/component/Chart/HistogramChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/LineChart.d.ts.map +1 -1
- package/lib/types/component/Chart/LineChart.type.d.ts +1 -0
- package/lib/types/component/Chart/LineChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/RadarChart.d.ts.map +1 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts +2 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.d.ts.map +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +2 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/VennChart.d.ts.map +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts +2 -1
- package/lib/types/component/Chart/VennChart.type.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/BaseLegend.d.ts +5 -1
- package/lib/types/component/ChartLegend/BaseLegend.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/BaseLegend.type.d.ts +1 -1
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +3 -1
- package/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts +2 -0
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts.map +1 -1
- package/lib/types/utils/TextMeasurer.d.ts +5 -0
- package/lib/types/utils/TextMeasurer.d.ts.map +1 -0
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendItem.type.js","names":["StaticShapes","exports"],"sources":["../../../../../src/component/ChartLegend/LegendItem/LegendItem.type.ts"],"sourcesContent":["import type { Box, Flex } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\nimport type Icon from '@semcore/icon';\nimport type { Text } from '@semcore/typography';\n\nimport type { PatternsConfig } from '../../../Pattern';\nimport type { LSize } from '../BaseLegend.type';\n\n/**\n * Key of chart data item\n */\nexport type LegendItemKey = string;\n\nexport type LegendItem = {\n /**\n * One of keys from data set\n */\n id: LegendItemKey;\n /**\n * Label for data item in Legend\n */\n label: string;\n /**\n * Flag for selected data item\n */\n checked: boolean;\n /**\n * Color of data item\n */\n color: string;\n /**\n * Icon before label\n */\n icon?: typeof Icon;\n /**\n * Additional info with sub-label or count\n */\n additionalInfo?: { label: string } | { count: number };\n\n patternKey?: string;\n\n /** Enables patterns symbols that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\nexport type LegendItemProps = LegendItem & {\n /**\n * Size for legend item\n */\n size: LSize;\n /**\n * Shape of data item on Legend panel\n */\n shape: ShapeType;\n /**\n * Handler for select/deselect legend item.\n * !Need to redefine onClick, because we don't have `event` in it.\n * @deprecated\n */\n onClick?: () => void;\n\n /** Enables patterns symbols that enhances charts accessibility */\n patterns?: PatternsConfig;\n\n /**\n * Handler for select/deselect legend item\n */\n onChangeLegendItem: (id: LegendItemKey, checked: boolean) => void;\n\n /**\n * Handler for focus legend item\n */\n onFocusLegendItem: (id: LegendItemKey) => void;\n\n /**\n * Handler for focus out legend item\n */\n onBlurLegendItem: (id: LegendItemKey) => void;\n};\n\nexport type LegendItemDefaultProps = {\n children: React.JSX.Element;\n};\n\nexport type ShapeProps = LegendItem &\n (\n | {\n size: LSize;\n shape: Exclude<ShapeType, 'Checkbox'>;\n }\n | {\n 'size': LSize;\n 'shape': Extract<ShapeType, 'Checkbox'>;\n 'onChange': (checked: boolean, e?: React.SyntheticEvent<HTMLInputElement>) => void;\n 'aria-labelledby'?: string;\n }\n );\n\nexport const StaticShapes = ['Circle', '
|
|
1
|
+
{"version":3,"file":"LegendItem.type.js","names":["StaticShapes","exports"],"sources":["../../../../../src/component/ChartLegend/LegendItem/LegendItem.type.ts"],"sourcesContent":["import type { Box, Flex } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\nimport type Icon from '@semcore/icon';\nimport type { Text } from '@semcore/typography';\n\nimport type { PatternsConfig } from '../../../Pattern';\nimport type { LSize } from '../BaseLegend.type';\n\n/**\n * Key of chart data item\n */\nexport type LegendItemKey = string;\n\nexport type LegendItem = {\n /**\n * One of keys from data set\n */\n id: LegendItemKey;\n /**\n * Label for data item in Legend\n */\n label: string;\n /**\n * Flag for selected data item\n */\n checked: boolean;\n /**\n * Color of data item\n */\n color: string;\n /**\n * Icon before label\n */\n icon?: typeof Icon;\n /**\n * Additional info with sub-label or count\n */\n additionalInfo?: { label: string } | { count: number };\n\n patternKey?: string;\n\n /** Enables patterns symbols that enhances charts accessibility */\n patterns?: PatternsConfig;\n};\n\nexport type LegendItemProps = LegendItem & {\n /**\n * Size for legend item\n */\n size: LSize;\n /**\n * Shape of data item on Legend panel\n */\n shape: ShapeType;\n /**\n * Handler for select/deselect legend item.\n * !Need to redefine onClick, because we don't have `event` in it.\n * @deprecated\n */\n onClick?: () => void;\n\n /** Enables patterns symbols that enhances charts accessibility */\n patterns?: PatternsConfig;\n\n /**\n * Handler for select/deselect legend item\n */\n onChangeLegendItem: (id: LegendItemKey, checked: boolean) => void;\n\n /**\n * Handler for focus legend item\n */\n onFocusLegendItem: (id: LegendItemKey) => void;\n\n /**\n * Handler for focus out legend item\n */\n onBlurLegendItem: (id: LegendItemKey) => void;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\nexport type LegendItemDefaultProps = {\n children: React.JSX.Element;\n};\n\nexport type ShapeProps = LegendItem &\n (\n | {\n size: LSize;\n shape: Exclude<ShapeType, 'Checkbox'>;\n }\n | {\n 'size': LSize;\n 'shape': Extract<ShapeType, 'Checkbox'>;\n 'onChange': (checked: boolean, e?: React.SyntheticEvent<HTMLInputElement>) => void;\n 'aria-labelledby'?: string;\n }\n );\n\nexport const StaticShapes = ['Circle', 'Pattern'] as const;\n\nexport type ShapeType = 'Checkbox' | typeof StaticShapes[number];\n\nexport type LegendItemShapeType = Intergalactic.Component<typeof Box, Partial<ShapeProps>>;\nexport type LegendItemIconType = Intergalactic.Component<typeof Icon, Partial<LegendItem>>; ;\nexport type LegendItemLabelType = Intergalactic.Component<typeof Text, Partial<Omit<LegendItem, 'theme'>>>; ;\nexport type LegendItemAdditionalLabelType = Intergalactic.Component<typeof Text, Partial<LegendItem>>; ;\nexport type LegendItemCountType = Intergalactic.Component<typeof Text, Partial<LegendItem>>; ;\n\nexport type LegendItemType = Intergalactic.Component<typeof Flex, Partial<LegendItemProps>> & {\n Shape: LegendItemShapeType;\n Icon: LegendItemIconType;\n Label: LegendItemLabelType;\n AdditionalLabel: LegendItemAdditionalLabelType;\n Count: LegendItemCountType;\n};\n"],"mappings":";;;;;;AAQA;AACA;AACA;;AA0FO,MAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAU;AAKkC;AACgB;AACL;AACV","ignoreList":[]}
|
|
@@ -11,9 +11,13 @@ SLegendItem[disabled]:hover {
|
|
|
11
11
|
cursor: default;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
SLegendItem[transparent] {
|
|
15
|
+
opacity: 0.3;
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
SPointShape[color] {
|
|
15
19
|
background-color: var(--color);
|
|
16
|
-
margin-right:
|
|
20
|
+
margin-right: var(--intergalactic-spacing-content-gap-medium, 6px);
|
|
17
21
|
flex-shrink: 0;
|
|
18
22
|
}
|
|
19
23
|
|
|
@@ -21,60 +25,32 @@ SPointShape[shape='Circle'][size='l'] {
|
|
|
21
25
|
width: 16px;
|
|
22
26
|
height: 16px;
|
|
23
27
|
border-radius: 8px;
|
|
24
|
-
margin-top: 4px;
|
|
28
|
+
margin-top: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
SPointShape[shape='Circle'][size='m'] {
|
|
28
32
|
width: 12px;
|
|
29
33
|
height: 12px;
|
|
30
34
|
border-radius: 6px;
|
|
31
|
-
margin-top: 4px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
SPointShape[shape='Line'][size='l'] {
|
|
35
|
-
width: 16px;
|
|
36
|
-
height: 4px;
|
|
37
|
-
border-radius: 3px;
|
|
38
|
-
margin-top: 9px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
SPointShape[shape='Line'][size='m'] {
|
|
42
|
-
width: 12px;
|
|
43
|
-
height: 4px;
|
|
44
|
-
border-radius: 3px;
|
|
45
|
-
margin-top: 8px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
SPointShape[shape='Square'][size='l'] {
|
|
49
|
-
width: 16px;
|
|
50
|
-
height: 16px;
|
|
51
|
-
border-radius: 2px;
|
|
52
|
-
margin-top: 4px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
SPointShape[shape='Square'][size='m'] {
|
|
56
|
-
width: 12px;
|
|
57
|
-
height: 12px;
|
|
58
|
-
border-radius: 2px;
|
|
59
|
-
margin-top: 4px;
|
|
35
|
+
margin-top: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
60
36
|
}
|
|
61
37
|
|
|
62
38
|
SPointShape[shape='Pattern'] {
|
|
63
39
|
background-color: transparent;
|
|
64
|
-
margin-right: 4px;
|
|
40
|
+
margin-right: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
65
41
|
}
|
|
66
42
|
|
|
67
43
|
SIcon {
|
|
68
44
|
line-height: 0;
|
|
69
|
-
margin-right: 4px;
|
|
45
|
+
margin-right: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
70
46
|
}
|
|
71
47
|
|
|
72
48
|
SIcon[size='l'] {
|
|
73
|
-
margin-top: 4px;
|
|
49
|
+
margin-top: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
74
50
|
}
|
|
75
51
|
|
|
76
52
|
SIcon[size='m'] {
|
|
77
|
-
margin-top: 2px;
|
|
53
|
+
margin-top: var(--intergalactic-spacing-content-gap-xsmall, 2px);
|
|
78
54
|
}
|
|
79
55
|
|
|
80
56
|
SLabel {
|
|
@@ -85,19 +61,19 @@ SLabel[size='l'],
|
|
|
85
61
|
SAdditionalLabel[size='l'],
|
|
86
62
|
SCount[size='l'] {
|
|
87
63
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
88
|
-
line-height: var(--intergalactic-lh-300,
|
|
64
|
+
line-height: var(--intergalactic-lh-300, 1.5);
|
|
89
65
|
}
|
|
90
66
|
|
|
91
67
|
SLabel[size='m'],
|
|
92
68
|
SAdditionalLabel[size='m'],
|
|
93
69
|
SCount[size='m'] {
|
|
94
70
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
95
|
-
line-height: var(--intergalactic-lh-200,
|
|
71
|
+
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
96
72
|
}
|
|
97
73
|
|
|
98
74
|
SAdditionalLabel,
|
|
99
75
|
SCount {
|
|
100
|
-
margin-left: 4px;
|
|
76
|
+
margin-left: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
101
77
|
}
|
|
102
78
|
|
|
103
79
|
SAdditionalLabel {
|
|
@@ -109,11 +85,11 @@ SAdditionalLabel {
|
|
|
109
85
|
SAdditionalLabel::before {
|
|
110
86
|
content: '';
|
|
111
87
|
display: inline-block;
|
|
112
|
-
background-color: var(--intergalactic-text-secondary, oklch(0.
|
|
88
|
+
background-color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
|
|
113
89
|
height: 4px;
|
|
114
90
|
width: 4px;
|
|
115
91
|
border-radius: 2px;
|
|
116
|
-
margin-right: 4px;
|
|
92
|
+
margin-right: var(--intergalactic-spacing-content-gap-small, 4px);
|
|
117
93
|
}
|
|
118
94
|
|
|
119
95
|
SAdditionalLabel[size='l']::before {
|
|
@@ -12,14 +12,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
12
12
|
var _BaseLegend = require("../BaseLegend");
|
|
13
13
|
var _LegendItem = require("../LegendItem/LegendItem");
|
|
14
14
|
/*!__reshadow-styles__:"./legend-table.shadow.css"*/
|
|
15
|
-
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
15
|
+
const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SLegendTable_whwqy_gg_.__columns-count_whwqy_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:var(--intergalactic-spacing-content-gap-large,8px);grid-row-gap:var(--intergalactic-spacing-content-gap-large,8px)}.___SColumnItem_whwqy_gg_._size_l_whwqy_gg_{font-size:var(--intergalactic-fs-300,16px);text-align:right}.___SColumnItem_whwqy_gg_._size_m_whwqy_gg_{font-size:var(--intergalactic-fs-200,14px);text-align:right}.___SColumnItem_whwqy_gg_.__transparent_whwqy_gg_{opacity:.3}", /*__inner_css_end__*/"whwqy_gg_"),
|
|
16
16
|
/*__reshadow_css_end__*/
|
|
17
17
|
{
|
|
18
|
-
"__SLegendTable": "
|
|
19
|
-
"_columns-count": "__columns-
|
|
20
|
-
"__SColumnItem": "
|
|
21
|
-
"_size_l": "
|
|
22
|
-
"_size_m": "
|
|
18
|
+
"__SLegendTable": "___SLegendTable_whwqy_gg_",
|
|
19
|
+
"_columns-count": "__columns-count_whwqy_gg_",
|
|
20
|
+
"__SColumnItem": "___SColumnItem_whwqy_gg_",
|
|
21
|
+
"_size_l": "_size_l_whwqy_gg_",
|
|
22
|
+
"_size_m": "_size_m_whwqy_gg_",
|
|
23
|
+
"_transparent": "__transparent_whwqy_gg_"
|
|
23
24
|
});
|
|
24
25
|
class LegendTableRoot extends _BaseLegend.BaseLegend {
|
|
25
26
|
render() {
|
|
@@ -30,7 +31,8 @@ class LegendTableRoot extends _BaseLegend.BaseLegend {
|
|
|
30
31
|
styles,
|
|
31
32
|
Children,
|
|
32
33
|
size = 'm',
|
|
33
|
-
items
|
|
34
|
+
items,
|
|
35
|
+
highlightedItem
|
|
34
36
|
} = this.asProps;
|
|
35
37
|
const columnsCount = items[0]?.columns.length;
|
|
36
38
|
return _ref3 = (0, _core.sstyled)(styles), /*#__PURE__*/_react.default.createElement(SLegendTable, _ref3.cn("SLegendTable", {
|
|
@@ -42,6 +44,7 @@ class LegendTableRoot extends _BaseLegend.BaseLegend {
|
|
|
42
44
|
id,
|
|
43
45
|
columns = []
|
|
44
46
|
}, _index) => {
|
|
47
|
+
const isTransparent = highlightedItem !== undefined && highlightedItem !== -1 && highlightedItem !== _index;
|
|
45
48
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
46
49
|
key: id
|
|
47
50
|
}, /*#__PURE__*/_react.default.createElement(Children, null), columns.map((item, index) => {
|
|
@@ -50,7 +53,8 @@ class LegendTableRoot extends _BaseLegend.BaseLegend {
|
|
|
50
53
|
}, /*#__PURE__*/_react.default.createElement(LegendTable.Column, {
|
|
51
54
|
index: index,
|
|
52
55
|
size: size,
|
|
53
|
-
styles: styles
|
|
56
|
+
styles: styles,
|
|
57
|
+
transparent: isTransparent
|
|
54
58
|
}, item));
|
|
55
59
|
}));
|
|
56
60
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendTable.js","names":["_core","require","_baseComponents","_react","_interopRequireDefault","_BaseLegend","_LegendItem","style","sstyled","insert","LegendTableRoot","BaseLegend","render","_ref","asProps","_ref3","SLegendTable","Box","styles","Children","size","items","columnsCount","columns","length","default","createElement","cn","assignProps","map","id","_index","Fragment","key","item","index","LegendTable","Column","_defineProperty2","children","LegendItem","ColumnComponent","props","_ref2","arguments[0]","_ref4","SColumnItem","gridColumnStart","gridColumnEnd","exports","createComponent","LegendItemComponent"],"sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.tsx"],"sourcesContent":["import { Box } from '@semcore/base-components';\nimport { createComponent, sstyled, Root, type IRootComponentProps } from '@semcore/core';\nimport React from 'react';\n\nimport style from './legend-table.shadow.css';\nimport type { LegendTableType, LegendTableProps, LegendColumnProps, LegendTableDefaultProps } from './LegendTable.type';\nimport { BaseLegend } from '../BaseLegend';\nimport { LegendItemComponent } from '../LegendItem/LegendItem';\n\nclass LegendTableRoot extends BaseLegend<LegendTableProps, [], LegendTableDefaultProps> {\n static displayName = 'LegendTable';\n static style = style;\n\n static defaultProps = () => ({\n children: <LegendTable.LegendItem />,\n });\n\n render() {\n const SLegendTable = Root;\n const { styles, Children, size = 'm', items } = this.asProps;\n const columnsCount = items[0]?.columns.length;\n\n return sstyled(styles)(\n <SLegendTable render={Box} columns-count={columnsCount + 1} role='group'>\n {items.map(({ id, columns = [] }, _index) => {\n return (\n <React.Fragment key={id}>\n <Children />\n {columns.map((item, index) => {\n return (\n <React.Fragment key={`${id}__${index}`}>\n <LegendTable.Column index={index} size={size} styles={styles}>\n {item}\n </LegendTable.Column>\n </React.Fragment>\n );\n })}\n </React.Fragment>\n );\n })}\n </SLegendTable>,\n );\n }\n}\n\nfunction ColumnComponent(props: LegendColumnProps & IRootComponentProps) {\n const SColumnItem = Root;\n const { styles, index, size, Children } = props;\n\n return sstyled(styles)(\n <SColumnItem\n style={{ gridColumnStart: `${index + 2}`, gridColumnEnd: `${index + 3}` }}\n render={Box}\n size={size}\n >\n <Children />\n </SColumnItem>,\n );\n}\n\n/**\n * LegendTable\n *\n * {@link https://developer.semrush.com/intergalactic/data-display/chart-legend/chart-legend-api/|API} | {@link https://developer.semrush.com/intergalactic/data-display/chart-legend/chart-legend-code/|Examples}\n */\nexport const LegendTable = createComponent<\n LegendTableType,\n typeof LegendTableRoot\n>(LegendTableRoot, {\n LegendItem: LegendItemComponent,\n Column: ColumnComponent,\n});\n"],"mappings":";;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAIA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAA+D;AAAA,MAAAM,KAAA,8BAAAP,KAAA,CAAAQ,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAE/D,MAAMC,eAAe,SAASC,sBAAU,CAAgD;EAQtFC,MAAMA,CAAA,EAAG;IAAA,IAAAC,IAAA,QAAAC,OAAA;MAAAC,KAAA;IACP,MAAMC,YAAY,GAKMC,mBAAG;IAJ3B,MAAM;MAAEC,MAAM;MAAEC,QAAQ;MAAEC,IAAI,GAAG,GAAG;MAAEC;
|
|
1
|
+
{"version":3,"file":"LegendTable.js","names":["_core","require","_baseComponents","_react","_interopRequireDefault","_BaseLegend","_LegendItem","style","sstyled","insert","LegendTableRoot","BaseLegend","render","_ref","asProps","_ref3","SLegendTable","Box","styles","Children","size","items","highlightedItem","columnsCount","columns","length","default","createElement","cn","assignProps","map","id","_index","isTransparent","undefined","Fragment","key","item","index","LegendTable","Column","transparent","_defineProperty2","children","LegendItem","ColumnComponent","props","_ref2","arguments[0]","_ref4","SColumnItem","gridColumnStart","gridColumnEnd","exports","createComponent","LegendItemComponent"],"sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.tsx"],"sourcesContent":["import { Box } from '@semcore/base-components';\nimport { createComponent, sstyled, Root, type IRootComponentProps } from '@semcore/core';\nimport React from 'react';\n\nimport style from './legend-table.shadow.css';\nimport type { LegendTableType, LegendTableProps, LegendColumnProps, LegendTableDefaultProps } from './LegendTable.type';\nimport { BaseLegend } from '../BaseLegend';\nimport { LegendItemComponent } from '../LegendItem/LegendItem';\n\nclass LegendTableRoot extends BaseLegend<LegendTableProps, [], LegendTableDefaultProps> {\n static displayName = 'LegendTable';\n static style = style;\n\n static defaultProps = () => ({\n children: <LegendTable.LegendItem />,\n });\n\n render() {\n const SLegendTable = Root;\n const { styles, Children, size = 'm', items, highlightedItem } = this.asProps;\n const columnsCount = items[0]?.columns.length;\n\n return sstyled(styles)(\n <SLegendTable render={Box} columns-count={columnsCount + 1} role='group'>\n {items.map(({ id, columns = [] }, _index) => {\n const isTransparent = highlightedItem !== undefined && (highlightedItem !== -1 && highlightedItem !== _index);\n\n return (\n <React.Fragment key={id}>\n <Children />\n {columns.map((item, index) => {\n return (\n <React.Fragment key={`${id}__${index}`}>\n <LegendTable.Column index={index} size={size} styles={styles} transparent={isTransparent}>\n {item}\n </LegendTable.Column>\n </React.Fragment>\n );\n })}\n </React.Fragment>\n );\n })}\n </SLegendTable>,\n );\n }\n}\n\nfunction ColumnComponent(props: LegendColumnProps & IRootComponentProps) {\n const SColumnItem = Root;\n const { styles, index, size, Children } = props;\n\n return sstyled(styles)(\n <SColumnItem\n style={{ gridColumnStart: `${index + 2}`, gridColumnEnd: `${index + 3}` }}\n render={Box}\n size={size}\n >\n <Children />\n </SColumnItem>,\n );\n}\n\n/**\n * LegendTable\n *\n * {@link https://developer.semrush.com/intergalactic/data-display/chart-legend/chart-legend-api/|API} | {@link https://developer.semrush.com/intergalactic/data-display/chart-legend/chart-legend-code/|Examples}\n */\nexport const LegendTable = createComponent<\n LegendTableType,\n typeof LegendTableRoot\n>(LegendTableRoot, {\n LegendItem: LegendItemComponent,\n Column: ColumnComponent,\n});\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendTable.type.js","names":[],"sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.type.ts"],"sourcesContent":["import type { Box } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\nimport type React from 'react';\n\nimport type { LegendProps, LSize } from '../BaseLegend.type';\nimport type { LegendItem, LegendItemType } from '../LegendItem/LegendItem.type';\n\nexport type LegendTableProps = Intergalactic.InternalTypings.EfficientOmit<LegendProps, 'items'> & {\n /**\n * Legend items\n */\n items: Array<LegendItem & { columns: Array<React.ReactNode> }>;\n};\n\nexport type LegendTableDefaultProps = {\n children: React.JSX.Element;\n};\n\nexport type LegendColumnProps = {\n index: number;\n size: LSize;\n};\n\nexport type LegendTableType = Intergalactic.Component<typeof Box, LegendTableProps> & {\n LegendItem: LegendItemType;\n Column: Intergalactic.Component<typeof Box, Partial<LegendColumnProps>>;\n};\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"LegendTable.type.js","names":[],"sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.type.ts"],"sourcesContent":["import type { Box } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\nimport type React from 'react';\n\nimport type { LegendProps, LSize } from '../BaseLegend.type';\nimport type { LegendItem, LegendItemType } from '../LegendItem/LegendItem.type';\n\nexport type LegendTableProps = Intergalactic.InternalTypings.EfficientOmit<LegendProps, 'items'> & {\n /**\n * Legend items\n */\n items: Array<LegendItem & { columns: Array<React.ReactNode> }>;\n};\n\nexport type LegendTableDefaultProps = {\n children: React.JSX.Element;\n};\n\nexport type LegendColumnProps = {\n index: number;\n size: LSize;\n /** Enables element transparency */\n transparent?: boolean;\n};\n\nexport type LegendTableType = Intergalactic.Component<typeof Box, LegendTableProps> & {\n LegendItem: LegendItemType;\n Column: Intergalactic.Component<typeof Box, Partial<LegendColumnProps>>;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -4,8 +4,8 @@ SLegendTable[columns-count] {
|
|
|
4
4
|
grid-template-columns: auto 0.2fr;
|
|
5
5
|
align-items: center;
|
|
6
6
|
height: fit-content;
|
|
7
|
-
grid-column-gap:
|
|
8
|
-
grid-row-gap: 8px;
|
|
7
|
+
grid-column-gap: var(--intergalactic-spacing-content-gap-large, 8px);
|
|
8
|
+
grid-row-gap: var(--intergalactic-spacing-content-gap-large, 8px);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
SColumnItem[size='l'] {
|
|
@@ -17,3 +17,7 @@ SColumnItem[size='m'] {
|
|
|
17
17
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
18
18
|
text-align: right;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
SColumnItem[transparent] {
|
|
22
|
+
opacity: 0.3;
|
|
23
|
+
}
|
|
@@ -7,13 +7,43 @@ SChart {
|
|
|
7
7
|
|
|
8
8
|
STooltipChildrenWrapper {
|
|
9
9
|
display: grid;
|
|
10
|
-
|
|
10
|
+
gap: var(--intergalactic-spacing-content-gap-large, 8px);
|
|
11
|
+
align-items: center;
|
|
11
12
|
|
|
12
13
|
&[columnsCount='2'] {
|
|
13
14
|
grid-template-columns: auto minmax(28px, max-content);
|
|
15
|
+
|
|
16
|
+
STooltipDivider {
|
|
17
|
+
grid-column: span 2;
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
&[columnsCount='3'] {
|
|
17
22
|
grid-template-columns: auto minmax(28px, max-content) minmax(28px, max-content);
|
|
23
|
+
|
|
24
|
+
STooltipDivider {
|
|
25
|
+
grid-column: span 3;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
STooltipDeltaWrapper {
|
|
31
|
+
gap: var(--intergalactic-spacing-content-gap-xsmall, 2px);
|
|
32
|
+
justify-content: flex-end;
|
|
33
|
+
|
|
34
|
+
&[trend='upward'] {
|
|
35
|
+
color: var(--intergalactic-chart-data-success, oklch(0.82 0.19 143));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[trend='downward'] {
|
|
39
|
+
color: var(--intergalactic-chart-data-critical, oklch(0.74 0.19 22));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[trend='stable'] {
|
|
43
|
+
color: var(--intergalactic-text-secondary-invert, oklch(0.997 0.004 165.9 / 0.684));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
STooltipDeltaIcon {
|
|
47
|
+
align-self: center;
|
|
18
48
|
}
|
|
19
49
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SArea {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
5
|
-
fill-opacity: 0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
5
|
+
fill-opacity: 0.1;
|
|
6
|
+
mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.48) 60%, transparent 100%);
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
SArea[color] {
|
|
@@ -19,8 +20,8 @@ SArea[transparent] {
|
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
SAreaLine {
|
|
22
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
23
|
-
stroke-width:
|
|
23
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
24
|
+
stroke-width: 2;
|
|
24
25
|
fill: transparent;
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -41,7 +42,7 @@ SAreaLine {
|
|
|
41
42
|
|
|
42
43
|
SNull {
|
|
43
44
|
fill: transparent;
|
|
44
|
-
stroke: var(--intergalactic-chart-
|
|
45
|
+
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.002 177));
|
|
45
46
|
stroke-dasharray: 4;
|
|
46
47
|
}
|
|
47
48
|
|
|
@@ -8,7 +8,7 @@ SAxis[hide] {
|
|
|
8
8
|
|
|
9
9
|
STick {
|
|
10
10
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
11
|
-
fill: var(--intergalactic-chart-grid-text-label, oklch(0.
|
|
11
|
+
fill: var(--intergalactic-chart-grid-text-label, oklch(0.097 0.023 156.5 / 0.468));
|
|
12
12
|
}
|
|
13
13
|
STick[primaryText] {
|
|
14
14
|
fill: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
@@ -25,7 +25,7 @@ SGrid {
|
|
|
25
25
|
|
|
26
26
|
STitle {
|
|
27
27
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
28
|
-
fill: var(--intergalactic-text-hint, oklch(0.
|
|
28
|
+
fill: var(--intergalactic-text-hint, oklch(0.097 0.023 156.5 / 0.468));
|
|
29
29
|
transform-origin: var(--transform-origin);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBar {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
5
5
|
transition-property: height, width, y;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|
|
@@ -30,7 +30,7 @@ SBar[onClick] {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
SBackground {
|
|
33
|
-
fill: var(--intergalactic-chart-grid-bar-chart-base-bg, oklch(0.
|
|
33
|
+
fill: var(--intergalactic-chart-grid-bar-chart-base-bg, oklch(0.96 0.001 180));
|
|
34
34
|
opacity: 0.4;
|
|
35
35
|
}
|
|
36
36
|
SBackground[onClick] {
|
|
@@ -45,13 +45,13 @@ SBarLabel {
|
|
|
45
45
|
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
46
46
|
margin-right: auto;
|
|
47
47
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
48
|
-
line-height: var(--intergalactic-lh-200,
|
|
48
|
+
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
49
49
|
}
|
|
50
50
|
SBarPercent {
|
|
51
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
51
|
+
color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
|
|
52
52
|
margin-right: var(--intergalactic-spacing-2x, 8px);
|
|
53
53
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
54
|
-
line-height: var(--intergalactic-lh-200,
|
|
54
|
+
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
55
55
|
}
|
|
56
56
|
SBarValue {
|
|
57
57
|
min-width: 52px;
|
|
@@ -59,9 +59,9 @@ SBarValue {
|
|
|
59
59
|
justify-content: flex-end;
|
|
60
60
|
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
61
61
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
62
|
-
line-height: var(--intergalactic-lh-200,
|
|
62
|
+
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
63
63
|
text-align: right;
|
|
64
64
|
}
|
|
65
65
|
SCompactHorizontalBarHoverRect {
|
|
66
|
-
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.
|
|
66
|
+
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.042));
|
|
67
67
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SBubble {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
5
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
5
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
6
6
|
stroke-width: 2px;
|
|
7
7
|
transition-property: cx, cy;
|
|
8
8
|
transition-duration: var(--duration);
|
|
@@ -40,7 +40,7 @@ SCenter {
|
|
|
40
40
|
text-anchor: middle;
|
|
41
41
|
/* disable-tokens-validator */
|
|
42
42
|
font-size: calc(var(--intergalactic-fs-100, 12px) - 1px);
|
|
43
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
43
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
SCenter[color] {
|
|
@@ -52,7 +52,7 @@ SCenter[transparent] {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
SLabel {
|
|
55
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
55
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
SLabel[position='right'] {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SPie {
|
|
4
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
5
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
4
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
5
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SPie[color] {
|
|
@@ -31,6 +31,6 @@ SLabel {
|
|
|
31
31
|
text-anchor: middle;
|
|
32
32
|
vertical-anchor: middle;
|
|
33
33
|
font-size: var(--intergalactic-fs-200, 14px);
|
|
34
|
-
line-height: var(--intergalactic-lh-200,
|
|
34
|
+
line-height: var(--intergalactic-lh-200, 1.4286);
|
|
35
35
|
|
|
36
36
|
}
|
|
@@ -8,12 +8,18 @@ SDots {
|
|
|
8
8
|
|
|
9
9
|
SDot {
|
|
10
10
|
stroke-width: 1px;
|
|
11
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
12
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
13
|
-
transition-property: cx, cy, x, y;
|
|
11
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
12
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
13
|
+
transition-property: cx, cy, x, y, filter;
|
|
14
14
|
transition-timing-function: ease-in-out;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
SDot[active] {
|
|
18
|
+
filter:
|
|
19
|
+
drop-shadow(0 0 1px oklch(0.137 0.026 175.7 / 0.161))
|
|
20
|
+
drop-shadow(0 1px 1px oklch(0.137 0.026 175.7 / 0.161));
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
SDot[hide] {
|
|
18
24
|
display: none;
|
|
19
25
|
}
|
|
@@ -5,5 +5,23 @@ SHoverLine, SHoverLine:focus-visible {
|
|
|
5
5
|
|
|
6
6
|
SHoverRect, SHoverRect:focus-visible {
|
|
7
7
|
outline: none;
|
|
8
|
-
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.
|
|
8
|
+
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.042));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
STick {
|
|
12
|
+
font-size: var(--intergalactic-fs-100, 12px);
|
|
13
|
+
fill: var(--intergalactic-chart-grid-text-label, oklch(0.097 0.023 156.5 / 0.468));
|
|
14
|
+
transform: translateY(12px);
|
|
15
|
+
text-anchor: middle;
|
|
16
|
+
dominant-baseline: hanging;
|
|
17
|
+
|
|
18
|
+
tspan {
|
|
19
|
+
dominant-baseline: hanging;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
cursor: default;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
STickHover {
|
|
26
|
+
fill: var(--intergalactic-chart-x-axis-accent-tick, oklch(0.96 0.001 180));
|
|
9
27
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
SLine {
|
|
4
4
|
fill: transparent;
|
|
5
|
-
stroke-width:
|
|
6
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
5
|
+
stroke-width: 2;
|
|
6
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
7
7
|
transition-property: d;
|
|
8
8
|
transition-duration: var(--duration);
|
|
9
9
|
transition-timing-function: ease-in-out;
|
|
@@ -23,7 +23,7 @@ SLine[transparent] {
|
|
|
23
23
|
|
|
24
24
|
SNull {
|
|
25
25
|
fill: transparent;
|
|
26
|
-
stroke: var(--intergalactic-
|
|
26
|
+
stroke: var(--intergalactic-chart-palette-order-null, oklch(0.9 0.002 177));
|
|
27
27
|
stroke-dasharray: 4;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -36,7 +36,7 @@ SLineArea {
|
|
|
36
36
|
transition-duration: var(--duration);
|
|
37
37
|
transition-timing-function: ease-in-out;
|
|
38
38
|
opacity: 0.3;
|
|
39
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
39
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
40
40
|
}
|
|
41
41
|
SLineArea[color] {
|
|
42
42
|
fill: var(--color);
|
|
@@ -31,7 +31,7 @@ SAxisLabel[yDirection] {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
SPolygon {
|
|
34
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
34
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
35
35
|
opacity: 0.2;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -47,9 +47,9 @@ SPolygon[pattern][color] {
|
|
|
47
47
|
|
|
48
48
|
SPolygonDot {
|
|
49
49
|
stroke-width: 2px;
|
|
50
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
50
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
51
51
|
r: 6px;
|
|
52
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
52
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
SPolygonDot[transparent] {
|
|
@@ -61,7 +61,7 @@ SPolygonDot[color] {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
SPolygonLine {
|
|
64
|
-
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
64
|
+
stroke: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
65
65
|
stroke-width: 3;
|
|
66
66
|
fill: transparent;
|
|
67
67
|
}
|
|
@@ -76,5 +76,5 @@ SPolygonLine[color] {
|
|
|
76
76
|
|
|
77
77
|
SPieRect {
|
|
78
78
|
outline: none;
|
|
79
|
-
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.
|
|
79
|
+
fill: var(--intergalactic-chart-grid-bar-chart-hover, oklch(0.177 0.033 175.6 / 0.042));
|
|
80
80
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
SRadian {
|
|
4
4
|
cursor: pointer;
|
|
5
|
-
fill: var(--intergalactic-text-large-info, oklch(0.
|
|
5
|
+
fill: var(--intergalactic-text-large-info, oklch(0.6 0.166 277.7));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
SLine {
|
|
9
|
-
stroke: var(--intergalactic-text-large-info, oklch(0.
|
|
9
|
+
stroke: var(--intergalactic-text-large-info, oklch(0.6 0.166 277.7));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
SLine[stroke] {
|
|
@@ -22,7 +22,7 @@ SCap {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
SCap[pattern] {
|
|
25
|
-
stroke: var(--intergalactic-chart-grid-border, #
|
|
25
|
+
stroke: var(--intergalactic-chart-grid-border, #ffffff);
|
|
26
26
|
stroke-width: 1px;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -5,7 +5,7 @@ SReferenceLine {
|
|
|
5
5
|
|
|
6
6
|
STitle {
|
|
7
7
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
8
|
-
fill: var(--intergalactic-chart-grid-text-label, oklch(0.
|
|
8
|
+
fill: var(--intergalactic-chart-grid-text-label, oklch(0.097 0.023 156.5 / 0.468));
|
|
9
9
|
transform-origin: var(--transform-origin);
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import './var.css';
|
|
2
2
|
|
|
3
3
|
SScatterPlot {
|
|
4
|
-
fill: var(--intergalactic-chart-palette-order-1, oklch(0.
|
|
4
|
+
fill: var(--intergalactic-chart-palette-order-1, oklch(0.23 0.01 140));
|
|
5
5
|
transition-property: cx, cy;
|
|
6
6
|
transition-duration: var(--duration);
|
|
7
7
|
transition-timing-function: ease-in-out;
|