@antv/gpt-vis 0.5.1 → 0.5.2

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.
@@ -46,6 +46,7 @@ var import_styled_components = __toESM(require("styled-components"));
46
46
  var StyledGPTVis = import_styled_components.default.div`
47
47
  min-width: 300px;
48
48
  max-width: 100%;
49
+ height: 300px;
49
50
  overflow: hidden;
50
51
  position: relative;
51
52
  padding: 16px;
@@ -100,6 +101,7 @@ var CopyButton = import_styled_components.default.button`
100
101
  `;
101
102
  var ChartWrapper = import_styled_components.default.div`
102
103
  width: 100%;
104
+ height: 100%;
103
105
 
104
106
  h5 {
105
107
  font-size: 12px;
@@ -1,2 +1,2 @@
1
- declare const _default: "0.5.1";
1
+ declare const _default: "0.5.2";
2
2
  export default _default;
@@ -22,4 +22,4 @@ __export(version_exports, {
22
22
  default: () => version_default
23
23
  });
24
24
  module.exports = __toCommonJS(version_exports);
25
- var version_default = "0.5.1";
25
+ var version_default = "0.5.2";
@@ -2,7 +2,7 @@ import styled, { createGlobalStyle } from 'styled-components';
2
2
  export var StyledGPTVis = styled.div.withConfig({
3
3
  displayName: "StyledGPTVis",
4
4
  componentId: "gpt-vis-c7ef__sc-2dc7ka-0"
5
- })(["min-width:300px;max-width:100%;overflow:hidden;position:relative;padding:16px;"]);
5
+ })(["min-width:300px;max-width:100%;height:300px;overflow:hidden;position:relative;padding:16px;"]);
6
6
  export var CopyButton = styled.button.withConfig({
7
7
  displayName: "CopyButton",
8
8
  componentId: "gpt-vis-c7ef__sc-2dc7ka-1"
@@ -10,7 +10,7 @@ export var CopyButton = styled.button.withConfig({
10
10
  export var ChartWrapper = styled.div.withConfig({
11
11
  displayName: "ChartWrapper",
12
12
  componentId: "gpt-vis-c7ef__sc-2dc7ka-2"
13
- })(["width:100%;h5{font-size:12px;font-weight:400;color:#666;height:150px;display:flex;align-items:center;justify-content:center;}& > *{max-width:100%;max-height:100%;}"]);
13
+ })(["width:100%;height:100%;h5{font-size:12px;font-weight:400;color:#666;height:150px;display:flex;align-items:center;justify-content:center;}& > *{max-width:100%;max-height:100%;}"]);
14
14
  export var TabContainer = styled.div.withConfig({
15
15
  displayName: "TabContainer",
16
16
  componentId: "gpt-vis-c7ef__sc-2dc7ka-3"
@@ -1,2 +1,2 @@
1
- declare const _default: "0.5.1";
1
+ declare const _default: "0.5.2";
2
2
  export default _default;
@@ -1 +1 @@
1
- export default '0.5.1';
1
+ export default '0.5.2';