mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(viz): bump superset-ui 0.17.30 (#14045)
* fix(viz): bump superset-ui 0.17.30 * fix test * bump react-table to match the version in superset-ui
This commit is contained in:
896
superset-frontend/package-lock.json
generated
896
superset-frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -65,34 +65,34 @@
|
||||
"@babel/runtime-corejs3": "^7.12.5",
|
||||
"@data-ui/sparkline": "^0.0.84",
|
||||
"@emotion/core": "^10.0.35",
|
||||
"@superset-ui/chart-controls": "^0.17.27",
|
||||
"@superset-ui/core": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-calendar": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-chord": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-country-map": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-event-flow": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-force-directed": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-heatmap": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-histogram": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-horizon": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-map-box": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-partition": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-rose": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-sankey": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-sunburst": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-treemap": "^0.17.27",
|
||||
"@superset-ui/legacy-plugin-chart-world-map": "^0.17.27",
|
||||
"@superset-ui/legacy-preset-chart-big-number": "^0.17.27",
|
||||
"@superset-ui/chart-controls": "^0.17.30",
|
||||
"@superset-ui/core": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-calendar": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-chord": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-country-map": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-event-flow": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-force-directed": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-heatmap": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-histogram": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-horizon": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-map-box": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-partition": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-rose": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-sankey": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-sunburst": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-treemap": "^0.17.30",
|
||||
"@superset-ui/legacy-plugin-chart-world-map": "^0.17.30",
|
||||
"@superset-ui/legacy-preset-chart-big-number": "^0.17.30",
|
||||
"@superset-ui/legacy-preset-chart-deckgl": "^0.4.6",
|
||||
"@superset-ui/legacy-preset-chart-nvd3": "^0.17.27",
|
||||
"@superset-ui/plugin-chart-echarts": "^0.17.27",
|
||||
"@superset-ui/plugin-chart-table": "^0.17.28",
|
||||
"@superset-ui/plugin-chart-word-cloud": "^0.17.27",
|
||||
"@superset-ui/preset-chart-xy": "^0.17.27",
|
||||
"@superset-ui/legacy-preset-chart-nvd3": "^0.17.30",
|
||||
"@superset-ui/plugin-chart-echarts": "^0.17.30",
|
||||
"@superset-ui/plugin-chart-table": "^0.17.30",
|
||||
"@superset-ui/plugin-chart-word-cloud": "^0.17.30",
|
||||
"@superset-ui/preset-chart-xy": "^0.17.30",
|
||||
"@vx/responsive": "^0.0.195",
|
||||
"abortcontroller-polyfill": "^1.1.9",
|
||||
"antd": "^4.9.4",
|
||||
@@ -160,7 +160,7 @@
|
||||
"react-split": "^2.0.9",
|
||||
"react-sticky": "^6.0.3",
|
||||
"react-syntax-highlighter": "^15.3.0",
|
||||
"react-table": "^7.2.1",
|
||||
"react-table": "^7.6.3",
|
||||
"react-transition-group": "^2.5.3",
|
||||
"react-ultimate-pagination": "^1.2.0",
|
||||
"react-virtualized": "9.19.1",
|
||||
|
||||
@@ -148,7 +148,7 @@ describe('AlteredSliceTag', () => {
|
||||
const td = getTableWrapperFromModalBody(modalBody).find('td');
|
||||
expect(td).toHaveLength(21);
|
||||
['control', 'before', 'after'].forEach((v, i) => {
|
||||
expect(td.find('Cell').get(0).props.columns[i].id).toBe(v);
|
||||
expect(td.find('defaultRenderer').get(0).props.columns[i].id).toBe(v);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
* under the License.
|
||||
*/
|
||||
import {
|
||||
createMultiFormatter,
|
||||
Behavior,
|
||||
DataMask,
|
||||
ensureIsArray,
|
||||
GenericDataType,
|
||||
smartDateDetailedFormatter,
|
||||
t,
|
||||
tn,
|
||||
} from '@superset-ui/core';
|
||||
@@ -33,21 +33,6 @@ import { getDataRecordFormatter, getSelectExtraFormData } from '../../utils';
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
const timeFormatter = createMultiFormatter({
|
||||
id: 'smart_date_verbose',
|
||||
label: 'Adaptive temporal formatter',
|
||||
formats: {
|
||||
millisecond: '%Y-%m-%d %H:%M:%S.%L',
|
||||
second: '%Y-%m-%d %H:%M:%S',
|
||||
minute: '%Y-%m-%d %H:%M',
|
||||
hour: '%Y-%m-%d %H:%M:%M',
|
||||
day: '%Y-%m-%d',
|
||||
week: '%Y-%m-%d',
|
||||
month: '%Y-%m-%d',
|
||||
year: '%Y-%m-%d',
|
||||
},
|
||||
});
|
||||
|
||||
export default function PluginFilterSelect(props: PluginFilterSelectProps) {
|
||||
const {
|
||||
coltypeMap,
|
||||
@@ -76,7 +61,7 @@ export default function PluginFilterSelect(props: PluginFilterSelectProps) {
|
||||
const [col] = groupby;
|
||||
const datatype: GenericDataType = coltypeMap[col];
|
||||
const labelFormatter = getDataRecordFormatter({
|
||||
timeFormatter,
|
||||
timeFormatter: smartDateDetailedFormatter,
|
||||
});
|
||||
|
||||
const handleChange = (
|
||||
|
||||
Reference in New Issue
Block a user