sea-chart 1.1.129 → 1.1.130-beta.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.
@@ -35,19 +35,6 @@
35
35
  cursor: pointer;
36
36
  }
37
37
 
38
- .dtable-header-setting-submenu .dtable-dropdown-menu {
39
- top: -12px !important;
40
- left: -10px !important;
41
- }
42
-
43
- .dtable-dropdown-menu .dtable-header-setting-submenu:hover .dtable-dropdown-menu .item-icon {
44
- color: #8c8c8c;
45
- }
46
-
47
- .dtable-dropdown-menu .dtable-header-setting-submenu:hover .dropdown-item:hover .item-icon {
48
- color: #fff;
49
- }
50
-
51
38
  .react-grid-HeaderCell {
52
39
  -webkit-user-select: none;
53
40
  -moz-user-select: none;
@@ -54,7 +54,7 @@ class HideColumnItem extends React.PureComponent {
54
54
  disabled: readonly,
55
55
  placeholder: placeholder,
56
56
  onChange: this.onUpdateFieldSetting,
57
- switchClassName: "dropdown-item"
57
+ switchClassName: "column-item"
58
58
  });
59
59
  }
60
60
  }
@@ -6,8 +6,12 @@
6
6
  margin: 0;
7
7
  }
8
8
 
9
- .hidden-column-popover .field-settings-body .dtable-switch.dropdown-item {
10
- padding: 0 10px;
9
+ .hidden-column-popover .field-settings-body .dtable-switch.column-item {
10
+ padding: 0 20px;
11
+ }
12
+
13
+ .hidden-column-popover .field-settings-body .dtable-switch.column-item .custom-switch-indicator {
14
+ margin-right: 0;
11
15
  }
12
16
 
13
17
  .hidden-column-popover .custom-switch .dtable-font {
@@ -39,4 +43,4 @@
39
43
  border-radius: 50%;
40
44
  transition: .3s left;
41
45
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .4);
42
- }
46
+ }
@@ -102,10 +102,6 @@
102
102
  color: #666666;
103
103
  }
104
104
 
105
- .dtable-dropdown-menu .dropdown-item:hover .item-icon {
106
- color: #fff;
107
- }
108
-
109
105
  .setting-item .filters-setting-btn,
110
106
  .setting-item .groupbys-setting-btn {
111
107
  cursor: pointer;
@@ -3,7 +3,7 @@
3
3
  display: flex;
4
4
  align-items: center;
5
5
  }
6
-
6
+
7
7
  .sea-chart-color-type-selector .selected-specific-color-wrapper {
8
8
  position: relative;
9
9
  width: 100%;
@@ -1,6 +1,6 @@
1
1
  import _DTableRadioGroup from "dtable-ui-component/lib/DTableRadioGroup";
2
2
  import React, { useCallback } from 'react';
3
- import { Row, Label } from 'reactstrap';
3
+ import { Label } from 'reactstrap';
4
4
  import classnames from 'classnames';
5
5
  import { HORIZONTAL_ALIGNS, HORIZONTAL_ALIGN_SHOW } from '../../constants';
6
6
  import intl from '../../intl';
@@ -23,8 +23,8 @@ const TextHorizontalSettings = _ref => {
23
23
  };
24
24
  }, {});
25
25
  };
26
- return /*#__PURE__*/React.createElement(Row, {
27
- className: classnames('mt-0 mb-4 ml-0 mr-0 settings-text-horizontal-align sea-chart-select-group', className)
26
+ return /*#__PURE__*/React.createElement("div", {
27
+ className: classnames('mt-0 mb-4 settings-text-horizontal-align sea-chart-select-group', className)
28
28
  }, /*#__PURE__*/React.createElement(Label, null, intl.get('Text_horizontal_alignment')), /*#__PURE__*/React.createElement(_DTableRadioGroup, {
29
29
  activeOption: validValue,
30
30
  options: HORIZONTAL_ALIGNS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.129",
3
+ "version": "1.1.130-beta.2",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",