@tipp/ui 1.0.31 → 1.0.32

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,179 +1,11 @@
1
1
  import React__default from 'react';
2
- import { EChartsOption } from 'echarts';
3
- import ReactEChartsCore from 'echarts-for-react/lib/core';
2
+ import ReactECharts from 'echarts-for-react';
3
+ import { EChartOption } from 'echarts';
4
+ export { c as chartTheme } from '../chart-theme-BLAIiQPs.js';
4
5
 
5
- var version = 1;
6
- var themeName = "customed";
7
- var theme = {
8
- seriesCnt: "5",
9
- backgroundColor: "rgba(0,0,0,0)",
10
- titleColor: "#1c2024",
11
- subtitleColor: "#8d8d8d",
12
- textColorShow: false,
13
- textColor: "#333",
14
- markTextColor: "#ffffff",
15
- color: [
16
- "#ffe629",
17
- "#3e63dd",
18
- "#ec9455",
19
- "#5bb98b",
20
- "#cb1d63",
21
- "#3ba272",
22
- "#fc8452",
23
- "#9a60b4",
24
- "#ea7ccc"
25
- ],
26
- borderColor: "#8d8d8d",
27
- borderWidth: 0,
28
- visualMapColor: [
29
- "#bf444c",
30
- "#d88273",
31
- "#f6efa6"
32
- ],
33
- legendTextColor: "#1c2024",
34
- kColor: "#eb5454",
35
- kColor0: "#47b262",
36
- kBorderColor: "#eb5454",
37
- kBorderColor0: "#47b262",
38
- kBorderWidth: 1,
39
- lineWidth: 2,
40
- symbolSize: 4,
41
- symbol: "emptyCircle",
42
- symbolBorderWidth: 1,
43
- lineSmooth: false,
44
- graphLineWidth: 1,
45
- graphLineColor: "#aaa",
46
- mapLabelColor: "#000",
47
- mapLabelColorE: "rgb(100,0,0)",
48
- mapBorderColor: "#444",
49
- mapBorderColorE: "#444",
50
- mapBorderWidth: 0.5,
51
- mapBorderWidthE: 1,
52
- mapAreaColor: "#eee",
53
- mapAreaColorE: "rgba(255,215,0,0.8)",
54
- axes: [
55
- {
56
- type: "all",
57
- name: "通用坐标轴",
58
- axisLineShow: true,
59
- axisLineColor: "#6E7079",
60
- axisTickShow: true,
61
- axisTickColor: "#6E7079",
62
- axisLabelShow: true,
63
- axisLabelColor: "#6E7079",
64
- splitLineShow: true,
65
- splitLineColor: [
66
- "#E0E6F1"
67
- ],
68
- splitAreaShow: false,
69
- splitAreaColor: [
70
- "rgba(250,250,250,0.2)",
71
- "rgba(210,219,238,0.2)"
72
- ]
73
- },
74
- {
75
- type: "category",
76
- name: "类目坐标轴",
77
- axisLineShow: true,
78
- axisLineColor: "#6E7079",
79
- axisTickShow: true,
80
- axisTickColor: "#6E7079",
81
- axisLabelShow: true,
82
- axisLabelColor: "#6E7079",
83
- splitLineShow: false,
84
- splitLineColor: [
85
- "#E0E6F1"
86
- ],
87
- splitAreaShow: false,
88
- splitAreaColor: [
89
- "rgba(250,250,250,0.2)",
90
- "rgba(210,219,238,0.2)"
91
- ]
92
- },
93
- {
94
- type: "value",
95
- name: "数值坐标轴",
96
- axisLineShow: false,
97
- axisLineColor: "#6E7079",
98
- axisTickShow: false,
99
- axisTickColor: "#6E7079",
100
- axisLabelShow: true,
101
- axisLabelColor: "#6E7079",
102
- splitLineShow: true,
103
- splitLineColor: [
104
- "#E0E6F1"
105
- ],
106
- splitAreaShow: false,
107
- splitAreaColor: [
108
- "rgba(250,250,250,0.2)",
109
- "rgba(210,219,238,0.2)"
110
- ]
111
- },
112
- {
113
- type: "log",
114
- name: "对数坐标轴",
115
- axisLineShow: false,
116
- axisLineColor: "#6E7079",
117
- axisTickShow: false,
118
- axisTickColor: "#6E7079",
119
- axisLabelShow: true,
120
- axisLabelColor: "#6E7079",
121
- splitLineShow: true,
122
- splitLineColor: [
123
- "#E0E6F1"
124
- ],
125
- splitAreaShow: false,
126
- splitAreaColor: [
127
- "rgba(250,250,250,0.2)",
128
- "rgba(210,219,238,0.2)"
129
- ]
130
- },
131
- {
132
- type: "time",
133
- name: "时间坐标轴",
134
- axisLineShow: true,
135
- axisLineColor: "#6E7079",
136
- axisTickShow: true,
137
- axisTickColor: "#6E7079",
138
- axisLabelShow: true,
139
- axisLabelColor: "#6E7079",
140
- splitLineShow: false,
141
- splitLineColor: [
142
- "#E0E6F1"
143
- ],
144
- splitAreaShow: false,
145
- splitAreaColor: [
146
- "rgba(250,250,250,0.2)",
147
- "rgba(210,219,238,0.2)"
148
- ]
149
- }
150
- ],
151
- axisSeperateSetting: true,
152
- toolboxColor: "#8d8d8d",
153
- toolboxEmphasisColor: "#1c2024",
154
- tooltipAxisColor: "#cccccc",
155
- tooltipAxisWidth: 1,
156
- timelineLineColor: "#dae1f5",
157
- timelineLineWidth: 2,
158
- timelineItemColor: "#a4b1d7",
159
- timelineItemColorE: "#ffffff",
160
- timelineCheckColor: "#316bf3",
161
- timelineCheckBorderColor: "#ffffff",
162
- timelineItemBorderWidth: 1,
163
- timelineControlColor: "#a4b1d7",
164
- timelineControlBorderColor: "#a4b1d7",
165
- timelineControlBorderWidth: 1,
166
- timelineLabelColor: "#a4b1d7"
167
- };
168
- var chartTheme = {
169
- version: version,
170
- themeName: themeName,
171
- theme: theme
172
- };
173
-
174
- type ChartProps = Omit<React__default.ComponentProps<typeof ReactEChartsCore>, 'option'> & {
175
- option: EChartsOption;
6
+ type ChartProps = Omit<React__default.ComponentProps<typeof ReactECharts>, 'option'> & {
7
+ option: EChartOption;
176
8
  };
177
9
  declare function Chart(props: ChartProps): JSX.Element;
178
10
 
179
- export { Chart, type ChartProps, chartTheme };
11
+ export { Chart, type ChartProps };
@@ -1,5 +1,6 @@
1
- export { Chart, ChartProps, chartTheme } from './chart.cjs';
1
+ export { Chart, ChartProps } from './chart.cjs';
2
2
  export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.cjs';
3
+ export { c as chartTheme } from '../chart-theme-BLAIiQPs.cjs';
3
4
  import 'react';
5
+ import 'echarts-for-react';
4
6
  import 'echarts';
5
- import 'echarts-for-react/lib/core';
@@ -1,5 +1,6 @@
1
- export { Chart, ChartProps, chartTheme } from './chart.js';
1
+ export { Chart, ChartProps } from './chart.js';
2
2
  export { HorizontalBarChart, HorizontalBarChartProps } from './horizontal-bar-chart.js';
3
+ export { c as chartTheme } from '../chart-theme-BLAIiQPs.js';
3
4
  import 'react';
5
+ import 'echarts-for-react';
4
6
  import 'echarts';
5
- import 'echarts-for-react/lib/core';
package/dist/index.css CHANGED
@@ -28593,7 +28593,7 @@ h2.react-datepicker__current-month{
28593
28593
  background-color: var(--accent-4);
28594
28594
  }
28595
28595
  .tipp_datePicker_calendar.react-datepicker{
28596
- background-color: var(--color-panel);
28596
+ background-color: var(--color-panel-solid);
28597
28597
  color: var(--gray-12);
28598
28598
  box-shadow: var(--shadow-3);
28599
28599
  border-color: var(--gray-5);