dtable-ui-component 7.0.0-ahn.1 → 7.0.0-iam.4

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.
Files changed (33) hide show
  1. package/lib/AsyncUserSelect/index.css +18 -36
  2. package/lib/AsyncUserSelect/index.js +18 -29
  3. package/lib/DTableCustomizeCollaboratorSelect/index.css +86 -0
  4. package/lib/DTableCustomizeCollaboratorSelect/index.js +158 -0
  5. package/lib/DTableCustomizeSelect/index.css +42 -120
  6. package/lib/DTableCustomizeSelect/index.js +4 -9
  7. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +19 -7
  8. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +9 -5
  9. package/lib/DTableFiltersPopover/widgets/filter-item.js +7 -15
  10. package/lib/DTableFiltersPopover/widgets/filter-list/index.css +3 -3
  11. package/lib/DTableGroupSelect/index.css +96 -0
  12. package/lib/DTableGroupSelect/index.js +131 -0
  13. package/lib/DTableGroupSelect/option.js +42 -0
  14. package/lib/DTableGroupSelect/select-option-group.css +54 -0
  15. package/lib/DTableGroupSelect/select-option-group.js +227 -0
  16. package/lib/DTableSelect/dtable-select-label.css +4 -4
  17. package/lib/DTableSelect/dtable-select-label.js +1 -1
  18. package/lib/DTableSelect/index.js +3 -3
  19. package/lib/DTableSelect/user-select.css +46 -7
  20. package/lib/DTableSelect/utils.js +79 -165
  21. package/lib/ImagePreviewerLightbox/index.js +10 -5
  22. package/lib/SelectOptionGroup/KeyCodes.js +4 -96
  23. package/lib/SelectOptionGroup/index.css +52 -74
  24. package/lib/SelectOptionGroup/index.js +26 -35
  25. package/lib/SelectOptionGroup/option.js +4 -16
  26. package/lib/index.js +10 -3
  27. package/package.json +1 -1
  28. package/lib/DTableCustomizeSearchInput/index.css +0 -81
  29. package/lib/DTableCustomizeSearchInput/index.js +0 -136
  30. package/lib/DTableSelect/select-dropdown-indicator/index.css +0 -16
  31. package/lib/DTableSelect/select-dropdown-indicator/index.js +0 -24
  32. package/lib/assets/icons/close.svg +0 -1
  33. package/lib/assets/icons/down.svg +0 -3
@@ -5,105 +5,13 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  const KeyCodes = {
8
- Backspace: 8,
9
- Tab: 9,
10
- Enter: 13,
11
- Shift: 16,
12
- Ctrl: 17,
13
- Alt: 18,
14
- PauseBreak: 19,
15
- CapsLock: 20,
16
- Escape: 27,
17
- Esc: 27,
18
- Space: 32,
19
- PageUp: 33,
20
- PageDown: 34,
21
- End: 35,
22
- Home: 36,
23
8
  LeftArrow: 37,
24
9
  UpArrow: 38,
25
10
  RightArrow: 39,
26
11
  DownArrow: 40,
27
- Insert: 45,
28
- Delete: 46,
29
- 0: 48,
30
- 1: 49,
31
- 2: 50,
32
- 3: 51,
33
- 4: 52,
34
- 5: 53,
35
- 6: 54,
36
- 7: 55,
37
- 8: 56,
38
- 9: 57,
39
- a: 65,
40
- b: 66,
41
- c: 67,
42
- d: 68,
43
- e: 69,
44
- f: 70,
45
- g: 71,
46
- h: 72,
47
- i: 73,
48
- j: 74,
49
- k: 75,
50
- l: 76,
51
- m: 77,
52
- n: 78,
53
- o: 79,
54
- p: 80,
55
- q: 81,
56
- r: 82,
57
- s: 83,
58
- t: 84,
59
- u: 85,
60
- v: 86,
61
- w: 87,
62
- x: 88,
63
- y: 89,
64
- z: 90,
65
- LeftWindowKey: 91,
66
- RightWindowKey: 92,
67
- SelectKey: 93,
68
- NumPad0: 96,
69
- NumPad1: 97,
70
- NumPad2: 98,
71
- NumPad3: 99,
72
- NumPad4: 100,
73
- NumPad5: 101,
74
- NumPad6: 102,
75
- NumPad7: 103,
76
- NumPad8: 104,
77
- NumPad9: 105,
78
- Multiply: 106,
79
- Add: 107,
80
- Subtract: 109,
81
- DecimalPoint: 110,
82
- Divide: 111,
83
- F1: 112,
84
- F2: 113,
85
- F3: 114,
86
- F4: 115,
87
- F5: 116,
88
- F6: 117,
89
- F7: 118,
90
- F8: 119,
91
- F9: 120,
92
- F10: 121,
93
- F12: 123,
94
- NumLock: 144,
95
- ScrollLock: 145,
96
- SemiColon: 186,
97
- EqualSign: 187,
98
- Comma: 188,
99
- Dash: 189,
100
- Period: 190,
101
- ForwardSlash: 191,
102
- GraveAccent: 192,
103
- OpenBracket: 219,
104
- BackSlash: 220,
105
- CloseBracket: 221,
106
- SingleQuote: 222,
107
- ChineseInputMethod: 229
12
+ Enter: 13,
13
+ Tab: 9,
14
+ Escape: 27,
15
+ Esc: 27
108
16
  };
109
17
  var _default = exports.default = KeyCodes;
@@ -1,10 +1,12 @@
1
- .seatable-option-group {
1
+ .option-group {
2
+ display: flex;
3
+ flex-direction: column;
2
4
  position: absolute;
3
5
  left: 0;
4
6
  min-height: 60px;
5
7
  min-width: 100%;
6
8
  max-width: 15rem;
7
- padding-top: 0;
9
+ padding: 0.5rem 0;
8
10
  box-shadow: var(--bs-border-secondary-shadow);
9
11
  background: #fff;
10
12
  border: 1px solid var(--bs-border-secondary-color);
@@ -12,65 +14,34 @@
12
14
  z-index: 10001;
13
15
  }
14
16
 
15
- .seatable-option-group-search {
16
- border-bottom: 1px solid var(--bs-border-color);
17
- height: 32px;
18
- }
19
-
20
- .seatable-option-group .seatable-option-group-search {
17
+ .option-group .option-group-search {
21
18
  width: 100%;
22
19
  min-width: 170px;
23
- position: relative;
24
- padding: 0;
25
- }
26
-
27
- .seatable-option-group .seatable-option-group-search .form-control {
28
- height: 100%;
29
- border: none;
30
- padding: .375rem 1rem;
31
- cursor: pointer;
20
+ padding: 0 10px 6px;
32
21
  }
33
22
 
34
- .seatable-option-group .seatable-option-group-search .form-control:focus {
35
- outline: none;
36
- box-shadow: none;
23
+ .option-group-search .form-control {
24
+ height: 31px;
37
25
  }
38
26
 
39
- .seatable-option-group-search .input-icon-addon,
40
- .seatable-option-group .seatable-option-group-search .input-icon-addon {
41
- z-index: 1;
42
- pointer-events: auto;
43
- min-width: 2.75rem !important;
44
- width: 40px;
45
- height: 32px;
46
- }
47
-
48
- .seatable-option-group .seatable-option-group-search .input-icon-addon svg {
49
- color: var(--bs-body-secondary-color);
50
- cursor: pointer;
51
- }
52
-
53
- .seatable-option-group .none-search-result {
27
+ .option-group .none-search-result {
54
28
  height: 100px;
55
29
  width: 100%;
56
- padding: 8px;
57
- color: var(--bs-body-secondary-color);
30
+ padding: 10px;
31
+ color: #666666;
58
32
  }
59
33
 
60
- .seatable-option-group .seatable-option-group-content {
34
+ .option-group .option-group-content {
35
+ flex: 1;
61
36
  max-height: 252px;
62
37
  overflow-y: auto;
63
- padding: 8px;
64
38
  }
65
39
 
66
- .seatable-select-option {
67
- position: relative;
68
- display: flex;
69
- justify-content: space-between;
70
- align-items: center;
40
+ .option {
41
+ display: block;
71
42
  width: 100%;
72
43
  line-height: 24px;
73
- padding: 0.25rem 8px;
44
+ padding: 0.25rem 10px;
74
45
  clear: both;
75
46
  font-weight: 400;
76
47
  text-align: inherit;
@@ -79,57 +50,64 @@
79
50
  overflow: hidden;
80
51
  text-overflow: ellipsis;
81
52
  white-space: nowrap;
82
- border-radius: 4px;
83
- height: 32px;
84
53
  }
85
54
 
86
- .seatable-select-option.seatable-select-option-active {
55
+ .option.option-active {
56
+ background-color: #20a0ff;
57
+ color: #fff;
87
58
  cursor: pointer;
88
- background-color: var(--bs-btn-background-hover);
89
59
  }
90
60
 
91
- .seatable-select-option .select-option-name .multiple-select-option {
92
- margin: 0;
61
+ .option:hover .header-icon .dtable-font,
62
+ .option:hover .header-icon .multicolor-icon,
63
+ .option.option-active .select-option-name {
64
+ color: #fff;
93
65
  }
94
66
 
95
- .seatable-option-group .dtable-icon-check {
96
- color: var(--bs-icon-color);
67
+ .option.option-active .header-icon .dtable-font,
68
+ .option.option-active .header-icon .multicolor-icon {
69
+ color: #fff;
97
70
  }
98
71
 
99
- .select-label {
100
- width: 100%;
72
+ .option:not(.option-active):hover .header-icon .dtable-font,
73
+ .option:not(.option-active):hover .header-icon .multicolor-icon {
74
+ color: #aaa;
101
75
  }
102
76
 
103
- .seatable-option-group-selector-multiple-select .select-label,
104
- .seatable-option-group-selector-single-select .select-option-name,
105
- .seatable-option-group-selector-multiple-select .multiple-option-name,
106
- .selector-group-select .group-option-name {
77
+ .option .select-option-name .single-select-option {
78
+ margin: 0 0 0 12px;
79
+ }
80
+
81
+ .option .select-option-name .multiple-select-option {
82
+ margin: 0;
83
+ }
84
+
85
+ .option-group-dtable-ui-single-select-selector .select-option-name,
86
+ .option-group-dtable-ui-multiple-select-selector .multiple-option-name {
107
87
  display: flex;
108
88
  align-items: center;
109
89
  justify-content: space-between;
110
- width: 100%;
111
90
  }
112
91
 
113
- .seatable-option-group-selector-multiple-select .multiple-check-icon,
114
- .selector-group-select .group-check-icon {
92
+ .option-group-dtable-ui-multiple-select-selector .multiple-check-icon {
115
93
  display: inline-flex;
94
+ width: 20px;
116
95
  text-align: center;
117
- color: var(--bs-icon-color);
118
96
  }
119
97
 
120
- .selector-group-select .multiple-check-icon .dtable-icon-check,
121
- .seatable-option-group-selector-multiple-select .multiple-check-icon .dtable-icon-check,
122
- .selector-group-select .group-check-icon .dtable-icon-check {
123
- font-size: 14px;
98
+ .option-group-dtable-ui-multiple-select-selector .multiple-check-icon .dtable-icon-check-mark {
99
+ font-size: 12px;
100
+ color: #798d99;
124
101
  }
125
102
 
126
- .selector-group-select .seatable-select-option:hover,
127
- .selector-group-select .seatable-select-option.seatable-select-option-active {
128
- background-color: var(--bs-btn-background-hover);
103
+ .option-group-dtable-ui-single-select-selector .option:hover,
104
+ .option-group-dtable-ui-single-select-selector .option.option-active,
105
+ .option-group-dtable-ui-multiple-select-selector .option:hover,
106
+ .option-group-dtable-ui-multiple-select-selector .option.option-active {
107
+ background-color: #f5f5f5;
129
108
  }
130
109
 
131
- .select-label .header-icon {
132
- display: inline-block;
133
- padding: 0 .5rem 0 0!important;
134
- margin-left: 0 !important;
110
+ .option-group-selector-single-select .option.option-active .select-option-name,
111
+ .option-group-selector-multiple-select .option.option-active .select-option-name {
112
+ color: #212529;
135
113
  }
@@ -8,10 +8,10 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.default = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
- var _ClickOutside = _interopRequireDefault(require("../ClickOutside"));
12
- var _DTableCustomizeSearchInput = _interopRequireDefault(require("../DTableCustomizeSearchInput"));
13
11
  var _option = _interopRequireDefault(require("./option"));
12
+ var _DTableSearchInput = _interopRequireDefault(require("../DTableSearchInput"));
14
13
  var _KeyCodes = _interopRequireDefault(require("./KeyCodes"));
14
+ var _ClickOutside = _interopRequireDefault(require("../ClickOutside"));
15
15
  require("./index.css");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
  const OPTION_HEIGHT = 32;
@@ -19,17 +19,23 @@ class SelectOptionGroup extends _react.Component {
19
19
  constructor(props) {
20
20
  super(props);
21
21
  this.resetMenuStyle = () => {
22
+ if (!this.optionGroupRef) return;
22
23
  const _this$props = this.props,
23
24
  isInModal = _this$props.isInModal,
24
25
  position = _this$props.position;
25
26
  const _this$optionGroupRef$ = this.optionGroupRef.getBoundingClientRect(),
26
27
  top = _this$optionGroupRef$.top,
27
- height = _this$optionGroupRef$.height;
28
+ height = _this$optionGroupRef$.height,
29
+ width = _this$optionGroupRef$.width;
28
30
  if (isInModal) {
29
31
  if (position.y + position.height + height > window.innerHeight) {
30
32
  this.optionGroupRef.style.top = position.y - height + 'px';
31
33
  }
34
+ if (position && position.x + width > window.innerWidth) {
35
+ this.optionGroupRef.style.left = window.innerWidth - width - 10 + 'px';
36
+ }
32
37
  this.optionGroupRef.style.opacity = 1;
38
+ this.searchInputRef.current && this.searchInputRef.current.inputRef.focus();
33
39
  } else {
34
40
  if (height + top > window.innerHeight) {
35
41
  const borderWidth = 2;
@@ -79,6 +85,10 @@ class SelectOptionGroup extends _react.Component {
79
85
  if (isInModal) {
80
86
  e.stopPropagation();
81
87
  e.nativeEvent.stopImmediatePropagation();
88
+
89
+ // ClickOutside set isClickedInside to true via mouse down capture first
90
+ // Set isClickedInside to false after mouse down
91
+ this.clickOutsideRef && this.clickOutsideRef.setClickedInsideStatus(false);
82
92
  }
83
93
  };
84
94
  this.scrollContent = () => {
@@ -117,17 +127,10 @@ class SelectOptionGroup extends _react.Component {
117
127
  });
118
128
  }
119
129
  };
120
- this.clearSearch = () => {
121
- this.setState({
122
- searchVal: '',
123
- activeIndex: -1
124
- });
125
- };
126
130
  this.renderOptGroup = searchVal => {
127
131
  let _this$props2 = this.props,
128
132
  noOptionsPlaceholder = _this$props2.noOptionsPlaceholder,
129
- onSelectOption = _this$props2.onSelectOption,
130
- value = _this$props2.value;
133
+ onSelectOption = _this$props2.onSelectOption;
131
134
  this.filterOptions = this.props.getFilterOptions(searchVal);
132
135
  if (this.filterOptions.length === 0) {
133
136
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -138,16 +141,7 @@ class SelectOptionGroup extends _react.Component {
138
141
  return this.filterOptions.map((opt, i) => {
139
142
  let key = opt.value.column ? opt.value.column.key : i;
140
143
  let isActive = this.state.activeIndex === i;
141
- let isSelected = false;
142
- if (value) {
143
- // Handle both single value and array of values
144
- if (Array.isArray(value.value)) {
145
- isSelected = value.value.includes(opt.value);
146
- } else {
147
- isSelected = opt.value === value.value || JSON.stringify(opt.value) === JSON.stringify(value.value);
148
- }
149
- }
150
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_option.default, {
144
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_option.default, {
151
145
  index: i,
152
146
  isActive: isActive,
153
147
  value: opt.value,
@@ -155,13 +149,8 @@ class SelectOptionGroup extends _react.Component {
155
149
  changeIndex: this.changeIndex,
156
150
  supportMultipleSelect: this.props.supportMultipleSelect,
157
151
  disableHover: this.state.disableHover,
158
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
159
- className: "select-label",
160
- children: opt.label
161
- }), isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
162
- className: "dtable-font dtable-icon-check seatable-check-color"
163
- })]
164
- }, key);
152
+ children: opt.label
153
+ }, "".concat(key, "-").concat(i));
165
154
  });
166
155
  };
167
156
  this.state = {
@@ -171,6 +160,7 @@ class SelectOptionGroup extends _react.Component {
171
160
  };
172
161
  this.filterOptions = null;
173
162
  this.timer = null;
163
+ this.searchInputRef = /*#__PURE__*/_react.default.createRef();
174
164
  }
175
165
  componentDidMount() {
176
166
  window.addEventListener('keydown', this.onHotKey);
@@ -222,10 +212,12 @@ class SelectOptionGroup extends _react.Component {
222
212
  }
223
213
  style.top = style.top + 4;
224
214
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ClickOutside.default, {
215
+ ref: ref => this.clickOutsideRef = ref,
225
216
  onClickOutside: this.props.onClickOutside,
226
217
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
227
- className: (0, _classnames.default)('seatable-option-group', className ? 'seatable-option-group-' + className : '', {
228
- 'pt-0': isShowSelected
218
+ className: (0, _classnames.default)('option-group', className ? 'option-group-' + className : '', {
219
+ 'pt-0': isShowSelected,
220
+ 'create-new-option-group': addOptionAble
229
221
  }),
230
222
  ref: ref => this.optionGroupRef = ref,
231
223
  style: style,
@@ -235,17 +227,16 @@ class SelectOptionGroup extends _react.Component {
235
227
  onClick: e => e.stopPropagation(),
236
228
  children: value.label || ''
237
229
  }), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
238
- className: "seatable-option-group-search",
239
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableCustomizeSearchInput.default, {
230
+ className: "option-group-search",
231
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTableSearchInput.default, {
240
232
  className: "option-search-control",
241
233
  placeholder: searchPlaceholder,
242
234
  onChange: this.onChangeSearch,
243
- clearValue: this.clearSearch,
244
235
  autoFocus: true,
245
- isClearable: true
236
+ ref: this.searchInputRef
246
237
  })
247
238
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
248
- className: "seatable-option-group-content",
239
+ className: "option-group-content",
249
240
  ref: ref => this.optionGroupContentRef = ref,
250
241
  children: this.renderOptGroup(searchVal)
251
242
  }), addOptionAble && AddOption]
@@ -1,22 +1,20 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
3
  var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.default = void 0;
9
8
  var _react = _interopRequireWildcard(require("react"));
10
- var _classnames = _interopRequireDefault(require("classnames"));
11
9
  var _jsxRuntime = require("react/jsx-runtime");
12
10
  class Option extends _react.Component {
13
11
  constructor() {
14
12
  super(...arguments);
15
- this.onSelectOption = event => {
13
+ this.onSelectOption = (value, event) => {
16
14
  if (this.props.supportMultipleSelect) {
17
15
  event.stopPropagation();
18
16
  }
19
- this.props.onSelectOption(this.props.value, event);
17
+ this.props.onSelectOption(value, event);
20
18
  };
21
19
  this.onMouseEnter = () => {
22
20
  if (!this.props.disableHover) {
@@ -28,21 +26,11 @@ class Option extends _react.Component {
28
26
  this.props.changeIndex(-1);
29
27
  }
30
28
  };
31
- this.onKeyDown = e => {
32
- if (e.key === 'Enter' || e.key === 'Space') {
33
- e.target.click();
34
- }
35
- };
36
29
  }
37
30
  render() {
38
31
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
39
- className: (0, _classnames.default)('seatable-select-option', {
40
- 'seatable-select-option-active': this.props.isActive
41
- }),
42
- tabIndex: "0",
43
- role: "menuitem",
44
- onClick: this.onSelectOption,
45
- onKeyDown: this.onKeyDown,
32
+ className: this.props.isActive ? 'option option-active' : 'option',
33
+ onClick: this.onSelectOption.bind(this, this.props.value),
46
34
  onMouseEnter: this.onMouseEnter,
47
35
  onMouseLeave: this.onMouseLeave,
48
36
  children: this.props.children
package/lib/index.js CHANGED
@@ -118,10 +118,10 @@ Object.defineProperty(exports, "DTableCustomFooter", {
118
118
  return _DTableCustomFooter.default;
119
119
  }
120
120
  });
121
- Object.defineProperty(exports, "DTableCustomizeSearchInput", {
121
+ Object.defineProperty(exports, "DTableCustomizeCollaboratorSelect", {
122
122
  enumerable: true,
123
123
  get: function () {
124
- return _DTableCustomizeSearchInput.default;
124
+ return _DTableCustomizeCollaboratorSelect.default;
125
125
  }
126
126
  });
127
127
  Object.defineProperty(exports, "DTableCustomizeSelect", {
@@ -154,6 +154,12 @@ Object.defineProperty(exports, "DTableFiltersPopover", {
154
154
  return _DTableFiltersPopover.default;
155
155
  }
156
156
  });
157
+ Object.defineProperty(exports, "DTableGroupSelect", {
158
+ enumerable: true,
159
+ get: function () {
160
+ return _index.default;
161
+ }
162
+ });
157
163
  Object.defineProperty(exports, "DTableIcon", {
158
164
  enumerable: true,
159
165
  get: function () {
@@ -712,11 +718,12 @@ var _DTableRadio = _interopRequireDefault(require("./DTableRadio"));
712
718
  var _DTableCommonAddTool = _interopRequireDefault(require("./DTableCommonAddTool"));
713
719
  var _NotificationPopover = _interopRequireDefault(require("./NotificationPopover"));
714
720
  var _DTableSelect = _interopRequireDefault(require("./DTableSelect"));
721
+ var _index = _interopRequireDefault(require("./DTableGroupSelect/index"));
715
722
  var _dtableSelectLabel = _interopRequireDefault(require("./DTableSelect/dtable-select-label"));
716
723
  var _DTableSwitch = _interopRequireDefault(require("./DTableSwitch"));
717
724
  var _DTableCustomizeSelect = _interopRequireDefault(require("./DTableCustomizeSelect"));
725
+ var _DTableCustomizeCollaboratorSelect = _interopRequireDefault(require("./DTableCustomizeCollaboratorSelect"));
718
726
  var _DTableSearchInput = _interopRequireDefault(require("./DTableSearchInput"));
719
- var _DTableCustomizeSearchInput = _interopRequireDefault(require("./DTableCustomizeSearchInput"));
720
727
  var _DTableColorPicker = _interopRequireDefault(require("./DTableColorPicker"));
721
728
  var _ModalPortal = _interopRequireDefault(require("./ModalPortal"));
722
729
  var _RoleStatusEditor = _interopRequireDefault(require("./RoleStatusEditor"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "7.0.0ahn.1",
3
+ "version": "7.0.0iam.4",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "5.0.9",
@@ -1,81 +0,0 @@
1
-
2
- .seatable-search-input {
3
- width: 100%;
4
- padding: 6px 10px;
5
- min-width: 170px;
6
- position: relative;
7
- padding: 0;
8
- height: 32px;
9
- border-bottom: 1px solid var(--bs-border-color);
10
- }
11
-
12
- .seatable-search-input .form-control {
13
- height: 100%;
14
- border: none;
15
- padding: .375rem 1rem;
16
- cursor: pointer;
17
- }
18
-
19
- .seatable-search-input-multiple .form-control:focus,
20
- .seatable-search-input .form-control:focus {
21
- outline: none;
22
- box-shadow: none;
23
- }
24
-
25
- .seatable-search-input .input-icon-addon {
26
- z-index: 1;
27
- pointer-events: auto;
28
- min-width: 2.75rem !important;
29
- }
30
-
31
- .seatable-search-input .input-icon-addon svg {
32
- color: var(--bs-body-secondary-color);
33
- cursor: pointer;
34
- }
35
-
36
- .seatable-search-input .none-search-result {
37
- height: 100px;
38
- width: 100%;
39
- padding: 10px;
40
- color: var(--bs-body-secondary-color);
41
- }
42
-
43
-
44
- .seatable-search-input-multiple {
45
- width: 100%;
46
- padding: 6px 10px;
47
- min-width: 170px;
48
- position: relative;
49
- height: 40px;
50
- }
51
-
52
- .seatable-search-input-multiple .form-control {
53
- height: 30px;
54
- padding: .375rem 2.5rem .375rem 1rem;
55
- cursor: pointer;
56
- }
57
-
58
- .seatable-search-input-multiple .input-icon-addon {
59
- z-index: 1;
60
- pointer-events: auto;
61
- min-width: 2.75rem !important;
62
- top: 10px;
63
- height: 30px;
64
- right: 10px;
65
- }
66
-
67
- .seatable-search-input-multiple .input-icon-addon svg {
68
- color: var(--bs-body-secondary-color);
69
- cursor: pointer;
70
- }
71
-
72
- .seatable-search-input-multiple .none-search-result {
73
- height: 100px;
74
- width: 100%;
75
- padding: 10px;
76
- color: var(--bs-body-secondary-color);
77
- }
78
-
79
- .multiple-selects-editor-list .seatable-search-input-multiple {
80
- padding: 10px 10px 0;
81
- }