dtable-ui-component 6.0.124-beta.p3 → 6.0.124-beta.p4

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.
@@ -12,10 +12,10 @@
12
12
  .dtable-ui-user-select-popover .popover {
13
13
  width: 385px;
14
14
  max-width: 385px;
15
- background: #fff;
16
- border: 1px solid #eee;
15
+ background: var(--bs-popover-bg);
16
+ border: 1px solid var(--bs-border-secondary-color);
17
17
  border-radius: 4px;
18
- box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
18
+ box-shadow: var(--bs-border-secondary-shadow);
19
19
  margin-top: -4px;
20
20
  }
21
21
 
@@ -82,8 +82,7 @@ function ColorPickerPortal(_ref) {
82
82
  height: '370px',
83
83
  visibility: position.visibility,
84
84
  opacity: isPositioned ? 1 : 0,
85
- transition: 'opacity 0.15s ease-in-out',
86
- marginTop: '8px'
85
+ transition: 'opacity 0.15s ease-in-out'
87
86
  },
88
87
  ref: containerRef,
89
88
  children: children
@@ -6,7 +6,6 @@
6
6
  padding: 0.75rem;
7
7
  line-height: 16px;
8
8
  position: absolute;
9
- margin-top: 8px;
10
9
  }
11
10
 
12
11
  .dtable-color-picker .chrome-picker {
@@ -4,7 +4,7 @@
4
4
  height: 40px;
5
5
  font-size: 14px;
6
6
  font-weight: 500;
7
- border-top: 1px solid #eee;
7
+ border-top: 1px solid var(--bs-border-secondary-color);
8
8
  background: #fff;
9
9
  padding: 0 1rem;
10
10
  position: relative;
@@ -4,7 +4,7 @@
4
4
  align-items: center;
5
5
  justify-content: flex-end;
6
6
  padding: 0.75rem;
7
- border-top: 1px solid #eee !important;
7
+ border-top: 1px solid var(--bs-border-secondary-color) !important;
8
8
  }
9
9
 
10
10
  .dtable-custom-footer>* {
@@ -15,6 +15,7 @@
15
15
  align-items: center;
16
16
  justify-content: center;
17
17
  height: 50px;
18
+ border-bottom: 1px solid var(--bs-border-secondary-color);
18
19
  font-size: 16px;
19
20
  font-weight: 600;
20
21
  position: relative;
@@ -158,7 +159,11 @@
158
159
 
159
160
  .notification-body .notification-footer {
160
161
  height: 40px;
162
+ display: flex;
163
+ align-items: center;
164
+ justify-content: center;
161
165
  background: #f9f9f9;
166
+ cursor: pointer;
162
167
  }
163
168
 
164
169
  .notification-body .notification-footer:hover {
@@ -7,13 +7,11 @@
7
7
  min-width: 100%;
8
8
  max-width: 15rem;
9
9
  padding: 0.5rem 0;
10
- box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
10
+ box-shadow: var(--bs-border-secondary-shadow);
11
11
  background: #fff;
12
- border: 1px solid #eee !important;
13
- border-radius: 4px !important;
12
+ border: 1px solid var(--bs-border-secondary-color);
13
+ border-radius: 4px;
14
14
  z-index: 10001;
15
- width: 100%;
16
- margin-top: 4px !important;
17
15
  }
18
16
 
19
17
  .option-group .option-group-search {
@@ -220,6 +220,7 @@ class SelectOptionGroup extends _react.Component {
220
220
  opacity: 0
221
221
  };
222
222
  }
223
+ style.top = style.top + 4;
223
224
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ClickOutside.default, {
224
225
  ref: ref => this.clickOutsideRef = ref,
225
226
  onClickOutside: this.props.onClickOutside,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.124-beta.p3",
3
+ "version": "6.0.124-beta.p4",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "5.0.9",