@semcore/d3-chart 18.0.0-prerelease.1 → 18.0.0-prerelease.5
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 +52 -1
- package/README.md +0 -1
- package/lib/cjs/Area.js +123 -23
- package/lib/cjs/Area.js.map +1 -1
- package/lib/cjs/Axis.js +109 -97
- 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/ChartMetaData.js +44 -0
- package/lib/cjs/ChartMetaData.js.map +1 -0
- package/lib/cjs/CompactHorizontalBar.js +17 -17
- package/lib/cjs/CompactHorizontalBar.js.map +1 -1
- package/lib/cjs/Donut.js +18 -19
- package/lib/cjs/Donut.js.map +1 -1
- package/lib/cjs/Dots.js +67 -13
- package/lib/cjs/Dots.js.map +1 -1
- package/lib/cjs/GroupBar.js +5 -2
- package/lib/cjs/GroupBar.js.map +1 -1
- package/lib/cjs/HorizontalBar.js +16 -16
- package/lib/cjs/Hover.js +55 -52
- package/lib/cjs/Hover.js.map +1 -1
- package/lib/cjs/Line.js +82 -17
- package/lib/cjs/Line.js.map +1 -1
- package/lib/cjs/Pattern.js +113 -2
- package/lib/cjs/Pattern.js.map +1 -1
- package/lib/cjs/Plot.js +5 -2
- 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 +55 -18
- package/lib/cjs/Reference.js.map +1 -1
- package/lib/cjs/ScatterPlot.js +9 -9
- package/lib/cjs/Tooltip.js +16 -14
- package/lib/cjs/Tooltip.js.map +1 -1
- package/lib/cjs/Venn.js +9 -9
- package/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/lib/cjs/component/Chart/AbstractChart.js +29 -23
- package/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/lib/cjs/component/Chart/AbstractChart.type.js +19 -0
- package/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/AreaChart.js +21 -7
- 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 +17 -8
- 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 +4 -0
- 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 +5 -1
- 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.type.js.map +1 -1
- package/lib/cjs/component/Chart/DonutChart.js +0 -1
- 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 -3
- 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 +16 -6
- 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.type.js.map +1 -1
- package/lib/cjs/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/VennChart.type.js.map +1 -1
- package/lib/cjs/component/Chart/index.js +43 -0
- package/lib/cjs/component/Chart/index.js.map +1 -1
- package/lib/cjs/component/ChartLegend/BaseLegend.js +0 -4
- package/lib/cjs/component/ChartLegend/BaseLegend.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 +19 -17
- package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +28 -21
- 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 +31 -15
- package/lib/cjs/component/Cigarette/Cigarette.js +0 -1
- package/lib/cjs/component/Cigarette/Cigarette.js.map +1 -1
- package/lib/cjs/component/Metric/Metric.js +78 -0
- package/lib/cjs/component/Metric/Metric.js.map +1 -0
- package/lib/cjs/component/Metric/Metric.type.js +2 -0
- package/lib/cjs/component/Metric/Metric.type.js.map +1 -0
- package/lib/cjs/index.js +62 -8
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/style/abstract-chart.shadow.css +13 -3
- package/lib/cjs/style/area.shadow.css +8 -7
- package/lib/cjs/style/axis.shadow.css +51 -60
- package/lib/cjs/style/bar.shadow.css +7 -9
- package/lib/cjs/style/bubble.shadow.css +4 -6
- package/lib/cjs/style/donut.shadow.css +3 -5
- package/lib/cjs/style/dot.shadow.css +37 -4
- package/lib/cjs/style/hover.shadow.css +30 -13
- package/lib/cjs/style/line.shadow.css +3 -5
- package/lib/cjs/style/pattern.shadow.css +10 -0
- package/lib/cjs/style/plotA11yView.shadow.css +3 -3
- package/lib/cjs/style/radar.shadow.css +7 -7
- package/lib/cjs/style/radial-tree.shadow.css +3 -5
- package/lib/cjs/style/reference.shadow.css +5 -5
- package/lib/cjs/style/scatterplot.shadow.css +2 -4
- package/lib/cjs/style/tooltip.shadow.css +12 -14
- package/lib/cjs/style/venn.shadow.css +0 -2
- package/lib/cjs/types/Axis.d.js.map +1 -1
- package/lib/cjs/types/Donut.d.js.map +1 -1
- package/lib/cjs/types/Hover.d.js.map +1 -1
- package/lib/cjs/types/index.d.js +20 -0
- package/lib/cjs/types/index.d.js.map +1 -1
- package/lib/cjs/utils.js +21 -1
- package/lib/cjs/utils.js.map +1 -1
- package/lib/es6/Area.js +125 -25
- package/lib/es6/Area.js.map +1 -1
- package/lib/es6/Axis.js +109 -97
- 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/ChartMetaData.js +36 -0
- package/lib/es6/ChartMetaData.js.map +1 -0
- package/lib/es6/CompactHorizontalBar.js +17 -17
- package/lib/es6/CompactHorizontalBar.js.map +1 -1
- package/lib/es6/Donut.js +18 -19
- package/lib/es6/Donut.js.map +1 -1
- package/lib/es6/Dots.js +68 -14
- package/lib/es6/Dots.js.map +1 -1
- package/lib/es6/GroupBar.js +5 -2
- package/lib/es6/GroupBar.js.map +1 -1
- package/lib/es6/HorizontalBar.js +16 -16
- package/lib/es6/Hover.js +55 -52
- package/lib/es6/Hover.js.map +1 -1
- package/lib/es6/Line.js +84 -19
- package/lib/es6/Line.js.map +1 -1
- package/lib/es6/Pattern.js +108 -2
- package/lib/es6/Pattern.js.map +1 -1
- package/lib/es6/Plot.js +5 -2
- 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 +55 -18
- package/lib/es6/Reference.js.map +1 -1
- package/lib/es6/ScatterPlot.js +9 -9
- package/lib/es6/Tooltip.js +16 -14
- package/lib/es6/Tooltip.js.map +1 -1
- package/lib/es6/Venn.js +9 -9
- package/lib/es6/a11y/PlotA11yView.js +2 -2
- package/lib/es6/component/Chart/AbstractChart.js +29 -23
- package/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/lib/es6/component/Chart/AbstractChart.type.js +14 -1
- package/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/lib/es6/component/Chart/AreaChart.js +21 -7
- 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 +17 -8
- 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 +4 -0
- 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 +5 -1
- 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.type.js.map +1 -1
- package/lib/es6/component/Chart/DonutChart.js +0 -1
- 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 -3
- 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 +14 -4
- 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.type.js.map +1 -1
- package/lib/es6/component/Chart/ScatterPlotChart.type.js.map +1 -1
- package/lib/es6/component/Chart/VennChart.type.js.map +1 -1
- package/lib/es6/component/Chart/index.js +2 -0
- package/lib/es6/component/Chart/index.js.map +1 -1
- package/lib/es6/component/ChartLegend/BaseLegend.js +0 -4
- package/lib/es6/component/ChartLegend/BaseLegend.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 +19 -17
- package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
- package/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +28 -21
- 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 +31 -15
- package/lib/es6/component/Cigarette/Cigarette.js +0 -1
- package/lib/es6/component/Cigarette/Cigarette.js.map +1 -1
- package/lib/es6/component/Metric/Metric.js +72 -0
- package/lib/es6/component/Metric/Metric.js.map +1 -0
- package/lib/es6/component/Metric/Metric.type.js +2 -0
- package/lib/es6/component/Metric/Metric.type.js.map +1 -0
- package/lib/es6/index.js +2 -1
- package/lib/es6/index.js.map +1 -1
- package/lib/es6/style/abstract-chart.shadow.css +13 -3
- package/lib/es6/style/area.shadow.css +8 -7
- package/lib/es6/style/axis.shadow.css +51 -60
- package/lib/es6/style/bar.shadow.css +7 -9
- package/lib/es6/style/bubble.shadow.css +4 -6
- package/lib/es6/style/donut.shadow.css +3 -5
- package/lib/es6/style/dot.shadow.css +37 -4
- package/lib/es6/style/hover.shadow.css +30 -13
- package/lib/es6/style/line.shadow.css +3 -5
- package/lib/es6/style/pattern.shadow.css +10 -0
- package/lib/es6/style/plotA11yView.shadow.css +3 -3
- package/lib/es6/style/radar.shadow.css +7 -7
- package/lib/es6/style/radial-tree.shadow.css +3 -5
- package/lib/es6/style/reference.shadow.css +5 -5
- package/lib/es6/style/scatterplot.shadow.css +2 -4
- package/lib/es6/style/tooltip.shadow.css +12 -14
- package/lib/es6/style/venn.shadow.css +0 -2
- package/lib/es6/types/Axis.d.js.map +1 -1
- package/lib/es6/types/Donut.d.js.map +1 -1
- package/lib/es6/types/Hover.d.js.map +1 -1
- package/lib/es6/types/index.d.js +5 -7
- package/lib/es6/types/index.d.js.map +1 -1
- package/lib/es6/utils.js +18 -0
- package/lib/es6/utils.js.map +1 -1
- package/lib/esm/Area.mjs +127 -26
- package/lib/esm/Axis.mjs +110 -98
- package/lib/esm/Bar.mjs +17 -17
- package/lib/esm/Bubble.mjs +15 -15
- package/lib/esm/ChartMetaData.mjs +38 -0
- package/lib/esm/CompactHorizontalBar.mjs +18 -18
- package/lib/esm/Donut.mjs +19 -20
- package/lib/esm/Dots.mjs +66 -15
- package/lib/esm/GroupBar.mjs +5 -2
- package/lib/esm/HorizontalBar.mjs +17 -17
- package/lib/esm/Hover.mjs +56 -53
- package/lib/esm/Line.mjs +86 -20
- package/lib/esm/Pattern.mjs +119 -0
- package/lib/esm/Plot.mjs +6 -3
- package/lib/esm/Radar.mjs +20 -20
- package/lib/esm/RadialTree.mjs +13 -13
- package/lib/esm/Reference.mjs +56 -19
- package/lib/esm/ScatterPlot.mjs +10 -10
- package/lib/esm/Tooltip.mjs +17 -15
- package/lib/esm/Venn.mjs +10 -10
- package/lib/esm/a11y/PlotA11yView.mjs +3 -3
- package/lib/esm/component/Chart/AbstractChart.mjs +28 -24
- package/lib/esm/component/Chart/AbstractChart.type.mjs +16 -0
- package/lib/esm/component/Chart/AreaChart.mjs +21 -7
- package/lib/esm/component/Chart/BarChart.mjs +17 -8
- package/lib/esm/component/Chart/BubbleChart.mjs +4 -0
- package/lib/esm/component/Chart/CigaretteChart.mjs +5 -1
- package/lib/esm/component/Chart/DonutChart.mjs +0 -1
- package/lib/esm/component/Chart/HistogramChart.mjs +6 -3
- package/lib/esm/component/Chart/LineChart.mjs +14 -4
- package/lib/esm/component/Chart/index.mjs +8 -0
- package/lib/esm/component/ChartLegend/BaseLegend.mjs +0 -4
- 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 +20 -18
- package/lib/esm/component/ChartLegend/LegendItem/legend-item.shadow.css +11 -11
- package/lib/esm/component/ChartLegend/LegendTable/LegendTable.mjs +29 -22
- package/lib/esm/component/ChartLegend/LegendTable/legend-table.shadow.css +31 -15
- package/lib/esm/component/Cigarette/Cigarette.mjs +0 -1
- package/lib/esm/component/Metric/Metric.mjs +62 -0
- package/lib/esm/index.mjs +42 -34
- package/lib/esm/style/abstract-chart.shadow.css +13 -3
- package/lib/esm/style/area.shadow.css +8 -7
- package/lib/esm/style/axis.shadow.css +51 -60
- package/lib/esm/style/bar.shadow.css +7 -9
- package/lib/esm/style/bubble.shadow.css +4 -6
- package/lib/esm/style/donut.shadow.css +3 -5
- package/lib/esm/style/dot.shadow.css +37 -4
- package/lib/esm/style/hover.shadow.css +30 -13
- package/lib/esm/style/line.shadow.css +3 -5
- package/lib/esm/style/pattern.shadow.css +10 -0
- package/lib/esm/style/plotA11yView.shadow.css +3 -3
- package/lib/esm/style/radar.shadow.css +7 -7
- package/lib/esm/style/radial-tree.shadow.css +3 -5
- package/lib/esm/style/reference.shadow.css +5 -5
- package/lib/esm/style/scatterplot.shadow.css +2 -4
- package/lib/esm/style/tooltip.shadow.css +12 -14
- package/lib/esm/style/venn.shadow.css +0 -2
- package/lib/esm/utils.mjs +20 -0
- package/lib/types/Axis.d.ts +3 -2
- package/lib/types/ChartMetaData.d.ts +17 -0
- package/lib/types/ChartMetaData.d.ts.map +1 -0
- package/lib/types/Donut.d.ts +1 -1
- package/lib/types/Hover.d.ts +2 -0
- package/lib/types/Pattern.d.ts +18 -0
- package/lib/types/Pattern.d.ts.map +1 -1
- package/lib/types/component/Chart/AbstractChart.d.ts +8 -4
- package/lib/types/component/Chart/AbstractChart.d.ts.map +1 -1
- package/lib/types/component/Chart/AbstractChart.type.d.ts +28 -8
- 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 +8 -4
- 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 +3 -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 +1 -1
- package/lib/types/component/Chart/BubbleChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CigaretteChart.d.ts.map +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts +1 -1
- package/lib/types/component/Chart/CigaretteChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/CompactHorizontalBarChart.type.d.ts +1 -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 +1 -2
- 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.type.d.ts +1 -1
- package/lib/types/component/Chart/RadarChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts +1 -1
- package/lib/types/component/Chart/ScatterPlotChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts +1 -1
- package/lib/types/component/Chart/VennChart.type.d.ts.map +1 -1
- package/lib/types/component/Chart/index.d.ts +2 -0
- package/lib/types/component/Chart/index.d.ts.map +1 -1
- package/lib/types/component/ChartLegend/BaseLegend.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 +5 -3
- package/lib/types/component/ChartLegend/LegendTable/LegendTable.type.d.ts.map +1 -1
- package/lib/types/component/Metric/Metric.d.ts +9 -0
- package/lib/types/component/Metric/Metric.d.ts.map +1 -0
- package/lib/types/component/Metric/Metric.type.d.ts +33 -0
- package/lib/types/component/Metric/Metric.type.d.ts.map +1 -0
- package/lib/types/index.d.ts +5 -7
- package/lib/types/utils.d.ts +4 -1
- package/lib/types/utils.d.ts.map +1 -1
- package/package.json +16 -15
- package/lib/cjs/color.js +0 -132
- package/lib/cjs/color.js.map +0 -1
- package/lib/cjs/style/var.css +0 -125
- package/lib/es6/color.js +0 -127
- package/lib/es6/color.js.map +0 -1
- package/lib/es6/style/var.css +0 -125
- package/lib/esm/color.mjs +0 -127
- package/lib/esm/utils/TextMeasurer.mjs +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendTable.type.d.ts","sourceRoot":"","sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEhF,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,eAAe,CAAC,aAAa,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG;IACjG;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG;QAAE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;KAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendTable.type.d.ts","sourceRoot":"","sources":["../../../../../src/component/ChartLegend/LegendTable/LegendTable.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK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.com/intergalactic/data-display/chart-legend/chart-legend-code}
|
|
6
|
+
*/
|
|
7
|
+
declare const Metric: NSMetric.Component;
|
|
8
|
+
export default Metric;
|
|
9
|
+
//# sourceMappingURL=Metric.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metric.d.ts","sourceRoot":"","sources":["../../../../src/component/Metric/Metric.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAyC9C;;;;GAIG;AACH,QAAA,MAAM,MAAM,oBAGC,CAAC;AAEd,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { NSBox } from '@semcore/base-components';
|
|
2
|
+
import type { Intergalactic } from '@semcore/core';
|
|
3
|
+
import type { IconComponent } from '@semcore/icon';
|
|
4
|
+
declare namespace NSMetric {
|
|
5
|
+
type DiffUse = 'good' | 'bad' | 'neutral';
|
|
6
|
+
type DiffIcon = IconComponent;
|
|
7
|
+
type Props = NSBox.Props & {
|
|
8
|
+
/**
|
|
9
|
+
* Value to render in the Metric
|
|
10
|
+
*/
|
|
11
|
+
value: string;
|
|
12
|
+
/**
|
|
13
|
+
* Value to render in diff
|
|
14
|
+
*/
|
|
15
|
+
diffValue: string;
|
|
16
|
+
/**
|
|
17
|
+
* Diff color
|
|
18
|
+
*/
|
|
19
|
+
diffUse: DiffUse;
|
|
20
|
+
/**
|
|
21
|
+
* Link to another tool or whatever
|
|
22
|
+
*/
|
|
23
|
+
href?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Diff arrow direction
|
|
26
|
+
* @default no icon
|
|
27
|
+
*/
|
|
28
|
+
diffIcon?: DiffIcon;
|
|
29
|
+
};
|
|
30
|
+
type Component = Intergalactic.Component<'span', Props>;
|
|
31
|
+
}
|
|
32
|
+
export { type NSMetric, };
|
|
33
|
+
//# sourceMappingURL=Metric.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Metric.type.d.ts","sourceRoot":"","sources":["../../../../src/component/Metric/Metric.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,WAAW,QAAQ,CAAC;IACzB,KAAK,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;IAC1C,KAAK,QAAQ,GAAG,aAAa,CAAC;IAE9B,KAAK,KAAK,GAAG,KAAK,CAAC,KAAK,GAAG;QACzB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;WAGG;QACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;KACrB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CACzD;AAED,OAAO,EACL,KAAK,QAAQ,GACd,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,13 +14,6 @@ export { PlotEventEmitter };
|
|
|
14
14
|
|
|
15
15
|
export { makeDataHintsContainer } from './a11y/hints';
|
|
16
16
|
|
|
17
|
-
// Color
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated
|
|
20
|
-
* This export will be removed in the next major release.
|
|
21
|
-
*/
|
|
22
|
-
export declare const colors: { [key: string]: string };
|
|
23
|
-
|
|
24
17
|
export { default as Plot } from './Plot';
|
|
25
18
|
export * from './Plot';
|
|
26
19
|
|
|
@@ -92,6 +85,11 @@ export * from './component/ChartLegend/LegendTable/LegendTable.type';
|
|
|
92
85
|
// @ts-ignore
|
|
93
86
|
export * from './component/ChartLegend/LegendItem/LegendItem.type';
|
|
94
87
|
|
|
88
|
+
// @ts-ignore
|
|
89
|
+
export * from './component/Metric/Metric.type';
|
|
90
|
+
// @ts-ignore
|
|
91
|
+
export { default as Metric } from './component/Metric/Metric';
|
|
92
|
+
|
|
95
93
|
// @ts-ignore
|
|
96
94
|
export * from './Pattern';
|
|
97
95
|
|
package/lib/types/utils.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import EventEmitter from '@semcore/core/lib/utils/eventEmitter';
|
|
|
2
2
|
import { type Numeric } from 'd3-array';
|
|
3
3
|
import { type ScaleIdentity, type ScaleTime, type ScaleContinuousNumeric, type ScaleBand, type ScalePoint } from 'd3-scale';
|
|
4
4
|
import type React from 'react';
|
|
5
|
+
import type { FORECAST, POTENTIAL } from './component/Chart';
|
|
6
|
+
import type { ObjectData, ObjectDataKey } from './component/Chart/AbstractChart.type';
|
|
5
7
|
export declare const eventToPoint: (event: React.MouseEvent<HTMLElement>, svgRoot: SVGElement) => number[];
|
|
6
8
|
type InvertableScale = ScaleIdentity | ScaleBand<{}> | ScaleTime<unknown, unknown> | ScaleContinuousNumeric<unknown, unknown>;
|
|
7
9
|
export declare const invert: <Scale extends InvertableScale = InvertableScale>(scale: Scale, value: number) => number | Date;
|
|
@@ -21,7 +23,7 @@ export declare const getNullData: <Name extends string = string, Data extends {
|
|
|
21
23
|
type IndexFromDataScale = ScaleIdentity | ScaleTime<unknown, unknown> | ScaleContinuousNumeric<unknown, unknown> | ScaleBand<{}> | ScalePoint<{}>;
|
|
22
24
|
export declare const getIndexFromData: <Key extends string, Data extends { [key in Key]: number; } = { [key in Key]: number; }, Scale extends IndexFromDataScale = IndexFromDataScale>(data: Data[], scale: Scale, key: Key, value: number) => string | number | null;
|
|
23
25
|
export declare const roundedPath: (x: number, y: number, w: number, h: number, r: number, tl?: boolean, tr?: boolean, bl?: boolean, br?: boolean) => string;
|
|
24
|
-
export declare const scaleToBand: (scale: ScaleBand<{}>) => ScaleBand<
|
|
26
|
+
export declare const scaleToBand: (scale: ScaleBand<{}>) => ScaleBand<string> | ScaleBand<{}>;
|
|
25
27
|
export declare const memoize: <Func extends (...args: any[]) => any>(func: Func) => Func;
|
|
26
28
|
export declare const measureText: (text: string, fontSize?: number) => number;
|
|
27
29
|
export declare const uniqueId: (prefix?: string) => string;
|
|
@@ -45,5 +47,6 @@ type Events = {
|
|
|
45
47
|
export declare const PlotEventEmitter: {
|
|
46
48
|
new (): EventEmitter<Events, `setTooltipVisible_${string}` | `setTooltipPosition_${string}`, ((visible: boolean) => void) | ((x: number, y: number) => void)>;
|
|
47
49
|
};
|
|
50
|
+
export declare function getDataOfType(data: ObjectData[], type: typeof FORECAST | typeof POTENTIAL, y: ObjectDataKey): ObjectData[];
|
|
48
51
|
export {};
|
|
49
52
|
//# sourceMappingURL=utils.d.ts.map
|
package/lib/types/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sCAAsC,CAAC;AAChE,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACd,KAAK,UAAU,EAIhB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,SAAS,UAAU,aAIrF,CAAC;AAEF,KAAK,eAAe,GAChB,aAAa,GACb,SAAS,CAAC,EAAE,CAAC,GACb,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,GAC3B,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC7C,eAAO,MAAM,MAAM,GAAI,KAAK,SAAS,eAAe,GAAG,eAAe,EACpE,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CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,WAAW,MAAM,KAAG,MAExD,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,MAAM,KAAK,CAAC,mBAAmB,CAAC,EAChC,KAAK,GAAG,GAAG,GAAG,EACd,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,KACtB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAgC3B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,iBAAiB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD,CAAC;AAEF,KAAK,MAAM,GAAG;KACX,CAAC,IAAI,MAAM,YAAY,IAAI,GAAG,CAAC,IAAI,MAAM,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,gBAAgB;4GARE,OAAO,KAAK,IAAI,SACrB,MAAM,KAAK,MAAM,KAAK,IAAI;CAOA,CAAC;AAErD,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,QAAQ,GAAG,OAAO,SAAS,EAAE,CAAC,EAAE,aAAa,gBAsB3G"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/d3-chart",
|
|
3
3
|
"description": "Semrush D3 Chart Component",
|
|
4
|
-
"version": "18.0.0-prerelease.
|
|
4
|
+
"version": "18.0.0-prerelease.5",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/esm/index.mjs",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@formatjs/intl": "4.1.13",
|
|
18
|
-
"@semcore/checkbox": "^18.0.0-prerelease.
|
|
19
|
-
"@semcore/divider": "^18.0.0-prerelease.
|
|
20
|
-
"@semcore/typography": "^18.0.0-prerelease.
|
|
18
|
+
"@semcore/checkbox": "^18.0.0-prerelease.5",
|
|
19
|
+
"@semcore/divider": "^18.0.0-prerelease.5",
|
|
20
|
+
"@semcore/typography": "^18.0.0-prerelease.5",
|
|
21
|
+
"@semcore/link": "^18.0.0-prerelease.5",
|
|
21
22
|
"@types/d3-shape": "3.1.7",
|
|
22
23
|
"@upsetjs/venn.js": "2.0.0",
|
|
23
24
|
"d3-array": "3.1.6",
|
|
@@ -31,8 +32,8 @@
|
|
|
31
32
|
"hoist-non-react-statics": "3.3.2"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
|
-
"@semcore/base-components": "^18.0.0-prerelease.
|
|
35
|
-
"@semcore/icon": "^18.0.0-prerelease.
|
|
35
|
+
"@semcore/base-components": "^18.0.0-prerelease.5",
|
|
36
|
+
"@semcore/icon": "^18.0.0-prerelease.5"
|
|
36
37
|
},
|
|
37
38
|
"repository": {
|
|
38
39
|
"type": "git",
|
|
@@ -44,16 +45,16 @@
|
|
|
44
45
|
"@types/d3-array": "^3.2.1",
|
|
45
46
|
"@types/d3-scale": "^4.0.9",
|
|
46
47
|
"@types/d3-transition": "^3.0.9",
|
|
47
|
-
"@semcore/core": "18.0.0-prerelease.
|
|
48
|
-
"@semcore/
|
|
49
|
-
"@semcore/
|
|
50
|
-
"@semcore/
|
|
51
|
-
"@semcore/
|
|
52
|
-
"@semcore/dropdown-menu": "18.0.0-prerelease.
|
|
53
|
-
"@semcore/ellipsis": "18.0.0-prerelease.1",
|
|
48
|
+
"@semcore/core": "18.0.0-prerelease.5",
|
|
49
|
+
"@semcore/checkbox": "18.0.0-prerelease.5",
|
|
50
|
+
"@semcore/base-components": "18.0.0-prerelease.5",
|
|
51
|
+
"@semcore/button": "18.0.0-prerelease.5",
|
|
52
|
+
"@semcore/ellipsis": "18.0.0-prerelease.5",
|
|
53
|
+
"@semcore/dropdown-menu": "18.0.0-prerelease.5",
|
|
54
54
|
"@semcore/testing-utils": "1.0.0",
|
|
55
|
-
"@semcore/typography": "18.0.0-prerelease.
|
|
56
|
-
"@semcore/
|
|
55
|
+
"@semcore/typography": "18.0.0-prerelease.5",
|
|
56
|
+
"@semcore/divider": "18.0.0-prerelease.5",
|
|
57
|
+
"@semcore/icon": "18.0.0-prerelease.5"
|
|
57
58
|
},
|
|
58
59
|
"scripts": {
|
|
59
60
|
"build": "pnpm semcore-builder --source=js,ts && pnpm vite build"
|
package/lib/cjs/color.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.colors = void 0;
|
|
7
|
-
/* __semcore-vars__:"./style/var.css" */
|
|
8
|
-
const colors = exports.colors = {
|
|
9
|
-
"blue-01": "#c4e5fe",
|
|
10
|
-
"blue-02": "#8ecdff",
|
|
11
|
-
"blue-03": "#2bb3ff",
|
|
12
|
-
"blue-04": "#008ff8",
|
|
13
|
-
"blue-05": "#006dca",
|
|
14
|
-
"green-01": "#9ef2c9",
|
|
15
|
-
"green-02": "#59ddaa",
|
|
16
|
-
"green-03": "#00c192",
|
|
17
|
-
"green-04": "#009f81",
|
|
18
|
-
"green-05": "#007c65",
|
|
19
|
-
"orange-01": "#ffdca2",
|
|
20
|
-
"orange-02": "#ffb26e",
|
|
21
|
-
"orange-03": "#ff8c43",
|
|
22
|
-
"orange-04": "#ff622d",
|
|
23
|
-
"orange-05": "#c33909",
|
|
24
|
-
"pink-01": "#ffd3ff",
|
|
25
|
-
"pink-02": "#ffa9fa",
|
|
26
|
-
"pink-03": "#f67cf2",
|
|
27
|
-
"pink-04": "#e14adf",
|
|
28
|
-
"pink-05": "#b229b9",
|
|
29
|
-
"violet-01": "#edd9ff",
|
|
30
|
-
"violet-02": "#dcb8ff",
|
|
31
|
-
"violet-03": "#c695ff",
|
|
32
|
-
"violet-04": "#ab6cfe",
|
|
33
|
-
"violet-05": "#8649e1",
|
|
34
|
-
"red-01": "#ffd7df",
|
|
35
|
-
"red-02": "#ffaeb5",
|
|
36
|
-
"red-03": "#ff8786",
|
|
37
|
-
"red-04": "#ff4953",
|
|
38
|
-
"red-05": "#d1002f",
|
|
39
|
-
"yellow-01": "#fce081",
|
|
40
|
-
"yellow-02": "#fdc23c",
|
|
41
|
-
"yellow-03": "#ef9800",
|
|
42
|
-
"yellow-04": "#d87900",
|
|
43
|
-
"yellow-05": "#a75800",
|
|
44
|
-
"salad-01": "#c7ee96",
|
|
45
|
-
"salad-02": "#9bd85d",
|
|
46
|
-
"salad-03": "#66c030",
|
|
47
|
-
"salad-04": "#35a21e",
|
|
48
|
-
"salad-05": "#0a7e22",
|
|
49
|
-
"gray-01": "#c4c7cf",
|
|
50
|
-
"gray-50": "#f4f5f9",
|
|
51
|
-
"gray-100": "#e0e1e9",
|
|
52
|
-
"gray-200": "#c4c7cf",
|
|
53
|
-
"gray-300": "#a9abb6",
|
|
54
|
-
"gray-400": "#8a8e9b",
|
|
55
|
-
"gray-500": "#6c6e79",
|
|
56
|
-
"gray-600": "#484a54",
|
|
57
|
-
"gray-700": "#2b2e38",
|
|
58
|
-
"gray-800": "#191b23",
|
|
59
|
-
"blue-50": "#e9f7ff",
|
|
60
|
-
"blue-100": "#c4e5fe",
|
|
61
|
-
"blue-200": "#8ecdff",
|
|
62
|
-
"blue-300": "#2bb3ff",
|
|
63
|
-
"blue-400": "#008ff8",
|
|
64
|
-
"blue-500": "#006dca",
|
|
65
|
-
"blue-600": "#044792",
|
|
66
|
-
"blue-700": "#002b5f",
|
|
67
|
-
"blue-800": "#001b3d",
|
|
68
|
-
"green-100": "#9ef2c9",
|
|
69
|
-
"green-200": "#59ddaa",
|
|
70
|
-
"green-300": "#00c192",
|
|
71
|
-
"green-400": "#009f81",
|
|
72
|
-
"green-50": "#dbfee8",
|
|
73
|
-
"green-500": "#007c65",
|
|
74
|
-
"green-600": "#055345",
|
|
75
|
-
"green-700": "#00342d",
|
|
76
|
-
"green-800": "#00201e",
|
|
77
|
-
"salad-100": "#c7ee96",
|
|
78
|
-
"salad-200": "#9bd85d",
|
|
79
|
-
"salad-300": "#66c030",
|
|
80
|
-
"salad-400": "#35a21e",
|
|
81
|
-
"salad-50": "#ecfbcd",
|
|
82
|
-
"salad-500": "#0a7e22",
|
|
83
|
-
"salad-600": "#005613",
|
|
84
|
-
"salad-700": "#003509",
|
|
85
|
-
"salad-800": "#002203",
|
|
86
|
-
"orange-50": "#fff3d9",
|
|
87
|
-
"orange-100": "#ffdca2",
|
|
88
|
-
"orange-200": "#ffb26e",
|
|
89
|
-
"orange-300": "#ff8c43",
|
|
90
|
-
"orange-400": "#ff622d",
|
|
91
|
-
"orange-500": "#c33909",
|
|
92
|
-
"orange-600": "#8b1500",
|
|
93
|
-
"orange-700": "#551200",
|
|
94
|
-
"orange-800": "#351000",
|
|
95
|
-
"yellow-100": "#fce081",
|
|
96
|
-
"yellow-200": "#fdc23c",
|
|
97
|
-
"yellow-300": "#ef9800",
|
|
98
|
-
"yellow-400": "#d87900",
|
|
99
|
-
"yellow-50": "#fdf7c8",
|
|
100
|
-
"yellow-500": "#a75800",
|
|
101
|
-
"yellow-600": "#743a00",
|
|
102
|
-
"yellow-700": "#462500",
|
|
103
|
-
"yellow-800": "#2c1600",
|
|
104
|
-
"red-100": "#ffd7df",
|
|
105
|
-
"red-200": "#ffaeb5",
|
|
106
|
-
"red-300": "#ff8786",
|
|
107
|
-
"red-400": "#ff4953",
|
|
108
|
-
"red-50": "#fff0f7",
|
|
109
|
-
"red-500": "#d1002f",
|
|
110
|
-
"red-600": "#8e0016",
|
|
111
|
-
"red-700": "#58000a",
|
|
112
|
-
"red-800": "#410101",
|
|
113
|
-
"pink-100": "#ffd3ff",
|
|
114
|
-
"pink-200": "#ffa9fa",
|
|
115
|
-
"pink-300": "#f67cf2",
|
|
116
|
-
"pink-400": "#e14adf",
|
|
117
|
-
"pink-50": "#fff0ff",
|
|
118
|
-
"pink-500": "#b229b9",
|
|
119
|
-
"pink-600": "#7d0480",
|
|
120
|
-
"pink-700": "#4d0050",
|
|
121
|
-
"pink-800": "#340439",
|
|
122
|
-
"violet-100": "#edd9ff",
|
|
123
|
-
"violet-200": "#dcb8ff",
|
|
124
|
-
"violet-300": "#c695ff",
|
|
125
|
-
"violet-400": "#ab6cfe",
|
|
126
|
-
"violet-50": "#f9f2ff",
|
|
127
|
-
"violet-500": "#8649e1",
|
|
128
|
-
"violet-600": "#5925ab",
|
|
129
|
-
"violet-700": "#421984",
|
|
130
|
-
"violet-800": "#220358"
|
|
131
|
-
};
|
|
132
|
-
//# sourceMappingURL=color.js.map
|
package/lib/cjs/color.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.js","names":["colors","exports"],"sources":["../../src/color.js"],"sourcesContent":["/* __semcore-vars__:\"./style/var.css\" */\nconst colors = preval`\n const path = require('path');\n module.exports = require('@semcore/babel-plugin-react-semcore').getColorVars(path.resolve(__dirname, './style/var.css'));\n`;\n\nexport { colors };\n"],"mappings":";;;;;;AAAA;AACA,MAAMA,MAAM,GAAAC,OAAA,CAAAD,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,CAGX","ignoreList":[]}
|
package/lib/cjs/style/var.css
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--blue-01: #c4e5fe;
|
|
3
|
-
--blue-02: #8ecdff;
|
|
4
|
-
--blue-03: #2bb3ff;
|
|
5
|
-
--blue-04: #008ff8;
|
|
6
|
-
--blue-05: #006dca;
|
|
7
|
-
--green-01: #9ef2c9;
|
|
8
|
-
--green-02: #59ddaa;
|
|
9
|
-
--green-03: #00c192;
|
|
10
|
-
--green-04: #009f81;
|
|
11
|
-
--green-05: #007c65;
|
|
12
|
-
--orange-01: #ffdca2;
|
|
13
|
-
--orange-02: #ffb26e;
|
|
14
|
-
--orange-03: #ff8c43;
|
|
15
|
-
--orange-04: #ff622d;
|
|
16
|
-
--orange-05: #c33909;
|
|
17
|
-
--pink-01: #ffd3ff;
|
|
18
|
-
--pink-02: #ffa9fa;
|
|
19
|
-
--pink-03: #f67cf2;
|
|
20
|
-
--pink-04: #e14adf;
|
|
21
|
-
--pink-05: #b229b9;
|
|
22
|
-
--violet-01: #edd9ff;
|
|
23
|
-
--violet-02: #dcb8ff;
|
|
24
|
-
--violet-03: #c695ff;
|
|
25
|
-
--violet-04: #ab6cfe;
|
|
26
|
-
--violet-05: #8649e1;
|
|
27
|
-
--red-01: #ffd7df;
|
|
28
|
-
--red-02: #ffaeb5;
|
|
29
|
-
--red-03: #ff8786;
|
|
30
|
-
--red-04: #ff4953;
|
|
31
|
-
--red-05: #d1002f;
|
|
32
|
-
--yellow-01: #fce081;
|
|
33
|
-
--yellow-02: #fdc23c;
|
|
34
|
-
--yellow-03: #ef9800;
|
|
35
|
-
--yellow-04: #d87900;
|
|
36
|
-
--yellow-05: #a75800;
|
|
37
|
-
--salad-01: #c7ee96;
|
|
38
|
-
--salad-02: #9bd85d;
|
|
39
|
-
--salad-03: #66c030;
|
|
40
|
-
--salad-04: #35a21e;
|
|
41
|
-
--salad-05: #0a7e22;
|
|
42
|
-
--gray-01: #c4c7cf;
|
|
43
|
-
|
|
44
|
-
--gray-50: #f4f5f9;
|
|
45
|
-
--gray-100: #e0e1e9;
|
|
46
|
-
--gray-200: #c4c7cf;
|
|
47
|
-
--gray-300: #a9abb6;
|
|
48
|
-
--gray-400: #8a8e9b;
|
|
49
|
-
--gray-500: #6c6e79;
|
|
50
|
-
--gray-600: #484a54;
|
|
51
|
-
--gray-700: #2b2e38;
|
|
52
|
-
--gray-800: #191b23;
|
|
53
|
-
--blue-50: #e9f7ff;
|
|
54
|
-
--blue-100: #c4e5fe;
|
|
55
|
-
--blue-200: #8ecdff;
|
|
56
|
-
--blue-300: #2bb3ff;
|
|
57
|
-
--blue-400: #008ff8;
|
|
58
|
-
--blue-500: #006dca;
|
|
59
|
-
--blue-600: #044792;
|
|
60
|
-
--blue-700: #002b5f;
|
|
61
|
-
--blue-800: #001b3d;
|
|
62
|
-
--green-100: #9ef2c9;
|
|
63
|
-
--green-200: #59ddaa;
|
|
64
|
-
--green-300: #00c192;
|
|
65
|
-
--green-400: #009f81;
|
|
66
|
-
--green-50: #dbfee8;
|
|
67
|
-
--green-500: #007c65;
|
|
68
|
-
--green-600: #055345;
|
|
69
|
-
--green-700: #00342d;
|
|
70
|
-
--green-800: #00201e;
|
|
71
|
-
--salad-100: #c7ee96;
|
|
72
|
-
--salad-200: #9bd85d;
|
|
73
|
-
--salad-300: #66c030;
|
|
74
|
-
--salad-400: #35a21e;
|
|
75
|
-
--salad-50: #ecfbcd;
|
|
76
|
-
--salad-500: #0a7e22;
|
|
77
|
-
--salad-600: #005613;
|
|
78
|
-
--salad-700: #003509;
|
|
79
|
-
--salad-800: #002203;
|
|
80
|
-
--orange-50: #fff3d9;
|
|
81
|
-
--orange-100: #ffdca2;
|
|
82
|
-
--orange-200: #ffb26e;
|
|
83
|
-
--orange-300: #ff8c43;
|
|
84
|
-
--orange-400: #ff622d;
|
|
85
|
-
--orange-500: #c33909;
|
|
86
|
-
--orange-600: #8b1500;
|
|
87
|
-
--orange-700: #551200;
|
|
88
|
-
--orange-800: #351000;
|
|
89
|
-
--yellow-100: #fce081;
|
|
90
|
-
--yellow-200: #fdc23c;
|
|
91
|
-
--yellow-300: #ef9800;
|
|
92
|
-
--yellow-400: #d87900;
|
|
93
|
-
--yellow-50: #fdf7c8;
|
|
94
|
-
--yellow-500: #a75800;
|
|
95
|
-
--yellow-600: #743a00;
|
|
96
|
-
--yellow-700: #462500;
|
|
97
|
-
--yellow-800: #2c1600;
|
|
98
|
-
--red-100: #ffd7df;
|
|
99
|
-
--red-200: #ffaeb5;
|
|
100
|
-
--red-300: #ff8786;
|
|
101
|
-
--red-400: #ff4953;
|
|
102
|
-
--red-50: #fff0f7;
|
|
103
|
-
--red-500: #d1002f;
|
|
104
|
-
--red-600: #8e0016;
|
|
105
|
-
--red-700: #58000a;
|
|
106
|
-
--red-800: #410101;
|
|
107
|
-
--pink-100: #ffd3ff;
|
|
108
|
-
--pink-200: #ffa9fa;
|
|
109
|
-
--pink-300: #f67cf2;
|
|
110
|
-
--pink-400: #e14adf;
|
|
111
|
-
--pink-50: #fff0ff;
|
|
112
|
-
--pink-500: #b229b9;
|
|
113
|
-
--pink-600: #7d0480;
|
|
114
|
-
--pink-700: #4d0050;
|
|
115
|
-
--pink-800: #340439;
|
|
116
|
-
--violet-100: #edd9ff;
|
|
117
|
-
--violet-200: #dcb8ff;
|
|
118
|
-
--violet-300: #c695ff;
|
|
119
|
-
--violet-400: #ab6cfe;
|
|
120
|
-
--violet-50: #f9f2ff;
|
|
121
|
-
--violet-500: #8649e1;
|
|
122
|
-
--violet-600: #5925ab;
|
|
123
|
-
--violet-700: #421984;
|
|
124
|
-
--violet-800: #220358;
|
|
125
|
-
}
|
package/lib/es6/color.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* __semcore-vars__:"./style/var.css" */
|
|
2
|
-
const colors = {
|
|
3
|
-
"blue-01": "#c4e5fe",
|
|
4
|
-
"blue-02": "#8ecdff",
|
|
5
|
-
"blue-03": "#2bb3ff",
|
|
6
|
-
"blue-04": "#008ff8",
|
|
7
|
-
"blue-05": "#006dca",
|
|
8
|
-
"green-01": "#9ef2c9",
|
|
9
|
-
"green-02": "#59ddaa",
|
|
10
|
-
"green-03": "#00c192",
|
|
11
|
-
"green-04": "#009f81",
|
|
12
|
-
"green-05": "#007c65",
|
|
13
|
-
"orange-01": "#ffdca2",
|
|
14
|
-
"orange-02": "#ffb26e",
|
|
15
|
-
"orange-03": "#ff8c43",
|
|
16
|
-
"orange-04": "#ff622d",
|
|
17
|
-
"orange-05": "#c33909",
|
|
18
|
-
"pink-01": "#ffd3ff",
|
|
19
|
-
"pink-02": "#ffa9fa",
|
|
20
|
-
"pink-03": "#f67cf2",
|
|
21
|
-
"pink-04": "#e14adf",
|
|
22
|
-
"pink-05": "#b229b9",
|
|
23
|
-
"violet-01": "#edd9ff",
|
|
24
|
-
"violet-02": "#dcb8ff",
|
|
25
|
-
"violet-03": "#c695ff",
|
|
26
|
-
"violet-04": "#ab6cfe",
|
|
27
|
-
"violet-05": "#8649e1",
|
|
28
|
-
"red-01": "#ffd7df",
|
|
29
|
-
"red-02": "#ffaeb5",
|
|
30
|
-
"red-03": "#ff8786",
|
|
31
|
-
"red-04": "#ff4953",
|
|
32
|
-
"red-05": "#d1002f",
|
|
33
|
-
"yellow-01": "#fce081",
|
|
34
|
-
"yellow-02": "#fdc23c",
|
|
35
|
-
"yellow-03": "#ef9800",
|
|
36
|
-
"yellow-04": "#d87900",
|
|
37
|
-
"yellow-05": "#a75800",
|
|
38
|
-
"salad-01": "#c7ee96",
|
|
39
|
-
"salad-02": "#9bd85d",
|
|
40
|
-
"salad-03": "#66c030",
|
|
41
|
-
"salad-04": "#35a21e",
|
|
42
|
-
"salad-05": "#0a7e22",
|
|
43
|
-
"gray-01": "#c4c7cf",
|
|
44
|
-
"gray-50": "#f4f5f9",
|
|
45
|
-
"gray-100": "#e0e1e9",
|
|
46
|
-
"gray-200": "#c4c7cf",
|
|
47
|
-
"gray-300": "#a9abb6",
|
|
48
|
-
"gray-400": "#8a8e9b",
|
|
49
|
-
"gray-500": "#6c6e79",
|
|
50
|
-
"gray-600": "#484a54",
|
|
51
|
-
"gray-700": "#2b2e38",
|
|
52
|
-
"gray-800": "#191b23",
|
|
53
|
-
"blue-50": "#e9f7ff",
|
|
54
|
-
"blue-100": "#c4e5fe",
|
|
55
|
-
"blue-200": "#8ecdff",
|
|
56
|
-
"blue-300": "#2bb3ff",
|
|
57
|
-
"blue-400": "#008ff8",
|
|
58
|
-
"blue-500": "#006dca",
|
|
59
|
-
"blue-600": "#044792",
|
|
60
|
-
"blue-700": "#002b5f",
|
|
61
|
-
"blue-800": "#001b3d",
|
|
62
|
-
"green-100": "#9ef2c9",
|
|
63
|
-
"green-200": "#59ddaa",
|
|
64
|
-
"green-300": "#00c192",
|
|
65
|
-
"green-400": "#009f81",
|
|
66
|
-
"green-50": "#dbfee8",
|
|
67
|
-
"green-500": "#007c65",
|
|
68
|
-
"green-600": "#055345",
|
|
69
|
-
"green-700": "#00342d",
|
|
70
|
-
"green-800": "#00201e",
|
|
71
|
-
"salad-100": "#c7ee96",
|
|
72
|
-
"salad-200": "#9bd85d",
|
|
73
|
-
"salad-300": "#66c030",
|
|
74
|
-
"salad-400": "#35a21e",
|
|
75
|
-
"salad-50": "#ecfbcd",
|
|
76
|
-
"salad-500": "#0a7e22",
|
|
77
|
-
"salad-600": "#005613",
|
|
78
|
-
"salad-700": "#003509",
|
|
79
|
-
"salad-800": "#002203",
|
|
80
|
-
"orange-50": "#fff3d9",
|
|
81
|
-
"orange-100": "#ffdca2",
|
|
82
|
-
"orange-200": "#ffb26e",
|
|
83
|
-
"orange-300": "#ff8c43",
|
|
84
|
-
"orange-400": "#ff622d",
|
|
85
|
-
"orange-500": "#c33909",
|
|
86
|
-
"orange-600": "#8b1500",
|
|
87
|
-
"orange-700": "#551200",
|
|
88
|
-
"orange-800": "#351000",
|
|
89
|
-
"yellow-100": "#fce081",
|
|
90
|
-
"yellow-200": "#fdc23c",
|
|
91
|
-
"yellow-300": "#ef9800",
|
|
92
|
-
"yellow-400": "#d87900",
|
|
93
|
-
"yellow-50": "#fdf7c8",
|
|
94
|
-
"yellow-500": "#a75800",
|
|
95
|
-
"yellow-600": "#743a00",
|
|
96
|
-
"yellow-700": "#462500",
|
|
97
|
-
"yellow-800": "#2c1600",
|
|
98
|
-
"red-100": "#ffd7df",
|
|
99
|
-
"red-200": "#ffaeb5",
|
|
100
|
-
"red-300": "#ff8786",
|
|
101
|
-
"red-400": "#ff4953",
|
|
102
|
-
"red-50": "#fff0f7",
|
|
103
|
-
"red-500": "#d1002f",
|
|
104
|
-
"red-600": "#8e0016",
|
|
105
|
-
"red-700": "#58000a",
|
|
106
|
-
"red-800": "#410101",
|
|
107
|
-
"pink-100": "#ffd3ff",
|
|
108
|
-
"pink-200": "#ffa9fa",
|
|
109
|
-
"pink-300": "#f67cf2",
|
|
110
|
-
"pink-400": "#e14adf",
|
|
111
|
-
"pink-50": "#fff0ff",
|
|
112
|
-
"pink-500": "#b229b9",
|
|
113
|
-
"pink-600": "#7d0480",
|
|
114
|
-
"pink-700": "#4d0050",
|
|
115
|
-
"pink-800": "#340439",
|
|
116
|
-
"violet-100": "#edd9ff",
|
|
117
|
-
"violet-200": "#dcb8ff",
|
|
118
|
-
"violet-300": "#c695ff",
|
|
119
|
-
"violet-400": "#ab6cfe",
|
|
120
|
-
"violet-50": "#f9f2ff",
|
|
121
|
-
"violet-500": "#8649e1",
|
|
122
|
-
"violet-600": "#5925ab",
|
|
123
|
-
"violet-700": "#421984",
|
|
124
|
-
"violet-800": "#220358"
|
|
125
|
-
};
|
|
126
|
-
export { colors };
|
|
127
|
-
//# sourceMappingURL=color.js.map
|
package/lib/es6/color.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.js","names":["colors"],"sources":["../../src/color.js"],"sourcesContent":["/* __semcore-vars__:\"./style/var.css\" */\nconst colors = preval`\n const path = require('path');\n module.exports = require('@semcore/babel-plugin-react-semcore').getColorVars(path.resolve(__dirname, './style/var.css'));\n`;\n\nexport { colors };\n"],"mappings":"AAAA;AACA,MAAMA,MAAM;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA,CAGX;AAED,SAASA,MAAM","ignoreList":[]}
|