From cf545ff5b4b649bffcbcd91ac4a6f30d1be4e14b Mon Sep 17 00:00:00 2001 From: Krist Wongsuphasawat Date: Fri, 24 May 2019 17:56:32 -0700 Subject: [PATCH] style: reduce gap between axis label and border (#113) * build: bump version * style: reduce gap between axis label and border --- .../plugins/superset-ui-plugins/package.json | 18 +++++++++--------- .../superset-ui-plugins-demo/package.json | 2 +- .../src/encodeable/AxisAgent.ts | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json index 01701625eb478..9b3829106389a 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/package.json @@ -41,15 +41,15 @@ "devDependencies": { "@superset-ui/build-config": "^0.0.9", "@superset-ui/commit-config": "^0.0.9", - "@superset-ui/chart": "^0.11.6", - "@superset-ui/chart-composition": "^0.11.5", - "@superset-ui/color": "^0.11.3", - "@superset-ui/connection": "^0.11.0", - "@superset-ui/core": "^0.11.0", - "@superset-ui/dimension": "^0.11.0", - "@superset-ui/number-format": "^0.11.3", - "@superset-ui/time-format": "^0.11.3", - "@superset-ui/translation": "^0.11.4", + "@superset-ui/chart": "^0.11.8", + "@superset-ui/chart-composition": "^0.11.9", + "@superset-ui/color": "^0.11.9", + "@superset-ui/connection": "^0.11.5", + "@superset-ui/core": "^0.11.9", + "@superset-ui/dimension": "^0.11.7", + "@superset-ui/number-format": "^0.11.5", + "@superset-ui/time-format": "^0.11.5", + "@superset-ui/translation": "^0.11.9", "@types/react": "^16.8.8", "core-js": "^3.0.1", "csstype": "^2.6.3", diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/package.json b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/package.json index 41f74bc28e85c..cb11f02fc2714 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugins-demo/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/apache-superset/superset-ui-plugins#readme", "dependencies": { "@babel/polyfill": "^7.4.3", - "@data-ui/event-flow": "^0.0.54", + "@data-ui/event-flow": "^0.0.78", "@storybook/addon-actions": "^5.0.9", "@storybook/addon-knobs": "^5.0.9", "@storybook/addon-links": "^5.0.9", diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-preset-chart-xy/src/encodeable/AxisAgent.ts b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-preset-chart-xy/src/encodeable/AxisAgent.ts index d06967724833e..d29edc4a5250e 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-preset-chart-xy/src/encodeable/AxisAgent.ts +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-preset-chart-xy/src/encodeable/AxisAgent.ts @@ -95,7 +95,7 @@ export default class AxisAgent, Output extends Va computeLayout({ axisTitleHeight = 20, axisWidth, - gapBetweenAxisLabelAndBorder = 8, + gapBetweenAxisLabelAndBorder = 4, gapBetweenTickAndTickLabel = 4, labelAngle = this.config.labelAngle, tickLength = 8,