ingred-ui 33.16.0 → 33.17.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.
@@ -1,6 +1,6 @@
1
1
  export { ThemeProvider } from "./ThemeProvider";
2
2
  export { palette } from "./palette";
3
- export type { Palette, PaletteChart, PaletteChartAxis, PaletteChartLayout, PaletteChartMotion, PaletteChartLegend, PaletteChartSeriesColors, PaletteChartTooltip, PaletteColor, PaletteBackground, PaletteIcon, PaletteText, } from "./palette";
3
+ export type { Palette, PaletteChart, PaletteChartArea, PaletteChartAxis, PaletteChartLayout, PaletteChartMotion, PaletteChartLegend, PaletteChartPie, PaletteChartReferenceLine, PaletteChartSeriesColors, PaletteChartTooltip, PaletteColor, PaletteBackground, PaletteIcon, PaletteText, } from "./palette";
4
4
  export { createTheme } from "./createTheme";
5
5
  export type { Theme } from "./createTheme";
6
6
  export { defaultTheme } from "./defaultTheme";
@@ -55,6 +55,8 @@ export type PaletteChartLegend = {
55
55
  export type PaletteChartLine = {
56
56
  strokeWidth: number;
57
57
  pointRadius: number;
58
+ /** データ点の枠線色(ラインとの境界) */
59
+ pointBorderColor: string;
58
60
  /** ホバー時の縦 crosshair 線の色 */
59
61
  crosshairColor: string;
60
62
  };
@@ -62,6 +64,20 @@ export type PaletteChartTooltip = {
62
64
  background: string;
63
65
  text: string;
64
66
  fontSize: number;
67
+ shadow: string;
68
+ };
69
+ export type PaletteChartReferenceLine = {
70
+ color: string;
71
+ strokeWidth: number;
72
+ dasharray: string;
73
+ fontSize: number;
74
+ };
75
+ export type PaletteChartArea = {
76
+ fillOpacity: number;
77
+ };
78
+ export type PaletteChartPie = {
79
+ /** donut の内半径 / 外半径。pie では使わない */
80
+ innerRadiusRatio: number;
65
81
  };
66
82
  export type PaletteChartLayout = {
67
83
  /** カテゴリ1スロットの最小幅(px)。合計幅がコンテナを超えると横スクロール */
@@ -92,6 +108,9 @@ export type PaletteChart = {
92
108
  line: PaletteChartLine;
93
109
  legend: PaletteChartLegend;
94
110
  tooltip: PaletteChartTooltip;
111
+ referenceLine: PaletteChartReferenceLine;
112
+ area: PaletteChartArea;
113
+ pie: PaletteChartPie;
95
114
  };
96
115
  export type Palette = {
97
116
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingred-ui",
3
- "version": "33.16.0",
3
+ "version": "33.17.0",
4
4
  "description": "",
5
5
  "author": "CARTA HOLDINGS, Inc.",
6
6
  "license": "MIT",