Skip to content

Commit

Permalink
build(bump the verions): bump the verions
Browse files Browse the repository at this point in the history
  • Loading branch information
Conglei Shi authored and zhaoyongjie committed Nov 24, 2021
1 parent 9e448ea commit c5bf3f3
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"react": "^16.8.6"
},
"peerDependencies": {
"@superset-ui/chart": "^0.10.0",
"@superset-ui/number-format": "^0.10.0",
"@superset-ui/time-format": "^0.10.0",
"@superset-ui/translation": "^0.10.0"
"@superset-ui/chart": "^0.11.14",
"@superset-ui/number-format": "^0.11.14",
"@superset-ui/time-format": "^0.11.14",
"@superset-ui/translation": "^0.11.9"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,27 @@ export default [
renderStory: () => (
<SuperChart
chartType="table2-legacy"
chartProps={{
datasource: {
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
key="table1"
datasource={{
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
filters: {},
formData: {
alignPn: false,
colorPn: true,
includeSearch: false,
metrics: ['sum__num', 'trend'],
orderDesc: true,
pageLength: 0,
percentMetrics: ['sum__num'],
tableFilter: false,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: 'trend',
},
height: 400,
payload: { data: dataLegacy },
width: 400,
}}
formData={{
alignPn: false,
colorPn: true,
includeSearch: false,
metrics: ['sum__num', 'trend'],
orderDesc: true,
pageLength: 0,
percentMetrics: ['sum__num'],
tableFilter: false,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: 'trend',
}}
payload={{ data: dataLegacy }}
/>
),
storyName: 'Legacy',
Expand All @@ -43,31 +39,27 @@ export default [
renderStory: () => (
<SuperChart
chartType="table2-legacy"
chartProps={{
datasource: {
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
},
filters: {},
formData: {
alignPn: true,
colorPn: true,
includeSearch: true,
metrics: ['sum__num', 'trend'],
orderDesc: true,
pageLength: 0,
percentMetrics: [],
tableFilter: true,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: null,
key="table2"
datasource={{
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
height: 400,
payload: { data: dataLegacy },
width: 400,
}}
formData={{
alignPn: false,
colorPn: true,
includeSearch: true,
metrics: ['sum__num', 'trend'],
orderDesc: true,
pageLength: 0,
percentMetrics: [],
tableFilter: true,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: 'trend',
}}
payload={{ data: dataLegacy }}
/>
),
storyName: 'Legacy-TableFilter',
Expand All @@ -77,31 +69,27 @@ export default [
renderStory: () => (
<SuperChart
chartType="table2"
chartProps={{
datasource: {
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
},
filters: {},
formData: {
alignPn: false,
colorPn: true,
includeSearch: true,
metrics: ['sum__num', 'trend'],
orderDesc: true,
pageLength: 0,
percentMetrics: ['sum__num'],
tableFilter: true,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: null,
key="table3"
datasource={{
columnFormats: {},
verboseMap: {
name: 'name',
sum__num: 'sum__num',
},
height: 400,
payload: { data },
width: 400,
}}
formData={{
alignPn: true,
colorPn: true,
includeSearch: true,
metrics: ['sum__num'],
orderDesc: true,
pageLength: 0,
percentMetrics: ['sum__num'],
tableFilter: true,
tableTimestampFormat: '%Y-%m-%d %H:%M:%S',
timeseriesLimitMetric: null,
}}
payload={{ data }}
/>
),
storyName: 'TableFilter',
Expand Down

0 comments on commit c5bf3f3

Please sign in to comment.