dtable-ui-component 6.0.124 → 6.0.125-nsk.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.
Files changed (40) hide show
  1. package/lib/AsyncUserSelect/index.css +46 -14
  2. package/lib/AsyncUserSelect/index.js +22 -18
  3. package/lib/DTableCustomizeSearchInput/index.css +81 -0
  4. package/lib/DTableCustomizeSearchInput/index.js +141 -0
  5. package/lib/DTableCustomizeSelect/index.css +67 -43
  6. package/lib/DTableCustomizeSelect/index.js +16 -10
  7. package/lib/DTableCustomizeSelect/util.js +12 -0
  8. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +2 -2
  9. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +1 -1
  10. package/lib/DTableFiltersPopover/widgets/filter-list/index.css +5 -5
  11. package/lib/DTableGroupSelect/index.css +31 -5
  12. package/lib/DTableGroupSelect/index.js +2 -2
  13. package/lib/DTableGroupSelect/select-option-group.css +11 -15
  14. package/lib/DTableGroupSelect/select-option-group.js +11 -8
  15. package/lib/DTableSelect/dtable-select-label.css +4 -4
  16. package/lib/DTableSelect/dtable-select-label.js +1 -1
  17. package/lib/DTableSelect/index.js +3 -3
  18. package/lib/DTableSelect/select-dropdown-indicator/index.css +16 -0
  19. package/lib/DTableSelect/select-dropdown-indicator/index.js +26 -0
  20. package/lib/DTableSelect/select-style.js +133 -0
  21. package/lib/DTableSelect/user-select.css +7 -46
  22. package/lib/DTableSelect/utils.js +166 -77
  23. package/lib/ImagePreviewerLightbox/index.js +2 -2
  24. package/lib/SelectOptionGroup/KeyCodes.js +96 -4
  25. package/lib/SelectOptionGroup/index.css +75 -54
  26. package/lib/SelectOptionGroup/index.js +38 -34
  27. package/lib/SelectOptionGroup/option.js +16 -4
  28. package/lib/assets/icons/close.svg +1 -0
  29. package/lib/assets/icons/down.svg +3 -0
  30. package/lib/index.js +3 -3
  31. package/lib/locales/de.json +2 -2
  32. package/lib/locales/en.json +2 -2
  33. package/lib/locales/es.json +2 -2
  34. package/lib/locales/fr.json +2 -2
  35. package/lib/locales/pt.json +2 -2
  36. package/lib/locales/ru.json +2 -2
  37. package/lib/locales/zh-CN.json +2 -2
  38. package/package.json +1 -1
  39. package/lib/DTableCustomizeCollaboratorSelect/index.css +0 -86
  40. package/lib/DTableCustomizeCollaboratorSelect/index.js +0 -161
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.UserSelectStyle = exports.Option = exports.MenuSelectStyle = exports.MenuList = exports.DropdownIndicator = exports.ClearIndicator = void 0;
7
+ exports.processOptionsWithClear = exports.handleSelectChange = exports.createHandleChange = exports.Option = exports.MenuSelectStyle = exports.MenuList = exports.DropdownIndicator = exports.ClearIndicator = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
9
9
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
10
10
  var _react = _interopRequireDefault(require("react"));
@@ -12,114 +12,153 @@ var _reactSelect = require("react-select");
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  const _excluded = ["innerProps"]; // DtableSelect is based on seatable-ui.css, so use the following content to override the default react-select style
14
14
  const DEFAULT_CONTROL_STYLE = {
15
- border: '1px solid rgba(0, 40, 100, 0.12) !important'
15
+ fontSize: '14px',
16
+ padding: '0 4px',
17
+ border: '1px solid var(--bs-border-color) !important',
18
+ boxShadow: 'none',
19
+ backgroundColor: 'var(--bs-popover-bg)',
20
+ borderRadius: '4px',
21
+ outline: '0'
16
22
  };
17
- const FOCUS_CONTROL_STYLE = {
23
+ const DISABLED_CONTROL_STYLE = {
18
24
  fontSize: '14px',
19
- backgroundColor: '#ffffff',
20
- borderColor: '#1991eb',
25
+ padding: '0 4px',
26
+ border: '1px solid rgba(0, 40, 100, 0.12)',
27
+ boxShadow: 'none',
28
+ backgroundColor: 'var(--bs-bg-color)',
29
+ borderRadius: '4px',
21
30
  outline: '0',
22
- boxShadow: '0 0 0 2px rgba(70, 127, 207, 0.25)'
31
+ cursor: 'default',
32
+ opacity: 0.65
33
+ };
34
+ const FOCUS_CONTROL_STYLE = {
35
+ fontSize: '14px',
36
+ padding: '0 4px',
37
+ border: '1px solid #3E84F7',
38
+ boxShadow: 'none',
39
+ backgroundColor: 'var(--bs-popover-bg)',
40
+ borderRadius: '4px',
41
+ outline: '0'
23
42
  };
24
- const noneCallback = () => ({
25
- display: 'none'
26
- });
27
43
  const controlCallback = (provided, state) => {
28
44
  const {
29
45
  isDisabled,
30
46
  isFocused
31
47
  } = state;
32
- if (isFocused && !isDisabled) {
33
- return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), FOCUS_CONTROL_STYLE), {}, {
34
- '&:hover': (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), FOCUS_CONTROL_STYLE)
48
+ if (isDisabled) {
49
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), DISABLED_CONTROL_STYLE), {}, {
50
+ ':active': {
51
+ border: '1px solid #3E84F7'
52
+ },
53
+ '.header-icon': {
54
+ color: 'var(--bs-icon-secondary-color)',
55
+ padding: '0 0.5rem !important'
56
+ }
35
57
  });
36
58
  }
37
- return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
59
+ if (isFocused) {
60
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), FOCUS_CONTROL_STYLE);
61
+ }
62
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
38
63
  fontSize: '14px',
39
64
  lineHeight: '1.5',
40
65
  cursor: 'pointer'
41
- }, DEFAULT_CONTROL_STYLE), {}, {
42
- '&:hover': (0, _objectSpread2.default)({}, DEFAULT_CONTROL_STYLE)
43
- });
66
+ }, DEFAULT_CONTROL_STYLE);
44
67
  };
45
- const UserSelectStyle = exports.UserSelectStyle = {
68
+ const MenuSelectStyle = exports.MenuSelectStyle = {
69
+ menu: base => {
70
+ return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, base), {}, {
71
+ padding: '8px',
72
+ backgroundColor: 'var(--bs-popover-bg)',
73
+ border: '1px solid var(--bs-border-secondary-color)',
74
+ borderRadius: '4px',
75
+ boxShadow: '0px 6px 14px rgba(0, 0, 0, 0.1)',
76
+ marginTop: '4px',
77
+ marginBottom: 0
78
+ });
79
+ },
80
+ menuList: provided => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
81
+ padding: 0
82
+ }),
46
83
  option: (provided, state) => {
47
84
  const {
48
85
  isDisabled,
49
86
  isFocused
50
87
  } = state;
51
88
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
89
+ color: 'var(--bs-body-color)',
90
+ borderRadius: '4px',
91
+ minHeight: '32px',
92
+ padding: '8px',
52
93
  cursor: isDisabled ? 'default' : 'pointer',
53
- backgroundColor: isFocused ? '#f5f5f5' : '#fff'
94
+ backgroundColor: isFocused ? 'var(--bs-hover-bg)' : 'var(--bs-popover-bg)',
95
+ overflow: 'hidden',
96
+ whiteSpace: 'nowrap',
97
+ textOverflow: 'ellipsis',
98
+ ':hover': {
99
+ backgroundColor: 'rgba(0, 0, 0, 0.04)'
100
+ },
101
+ '.header-icon': {
102
+ color: 'var(--bs-icon-secondary-color)',
103
+ padding: '0 0.5rem !important'
104
+ }
54
105
  });
55
106
  },
56
107
  control: controlCallback,
57
- indicatorSeparator: noneCallback,
58
- dropdownIndicator: noneCallback,
59
- clearIndicator: noneCallback,
60
- multiValue: provided => {
108
+ menuPortal: base => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, base), {}, {
109
+ zIndex: 9999,
110
+ backgroundColor: 'var(--bs-popover-bg)',
111
+ color: 'var(--bs-body-color)',
112
+ borderColor: 'var(--bs-border-secondary-color)'
113
+ }),
114
+ singleValue: provided => {
61
115
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
62
- display: 'inline-flex',
63
- alignItems: 'center',
64
- background: '#eaeaea',
65
- borderRadius: '10px',
66
- margin: '0 10px 0 0',
67
- padding: '0 0 0 2px'
116
+ color: 'var(--bs-body-color)'
68
117
  });
69
118
  },
70
- multiValueLabel: provided => {
119
+ multiValue: provided => {
71
120
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
72
- padding: '0px'
121
+ color: 'var(--bs-body-color)'
73
122
  });
74
123
  },
75
- multiValueRemove: provided => {
124
+ multiValueRemove: styles => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, styles), {}, {
125
+ '.dtable-font': {
126
+ color: 'var(--bs-icon-color)'
127
+ },
128
+ '.dtable-font:hover': {
129
+ backgroundColor: 'transparent',
130
+ color: 'var(--bs-icon-color)'
131
+ }
132
+ }),
133
+ input: styles => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, styles), {}, {
134
+ color: 'var(--bs-body-color)'
135
+ }),
136
+ placeholder: (provided, state) => {
137
+ const {
138
+ isDisabled
139
+ } = state;
76
140
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
77
- color: '#666',
78
- ':hover': {
79
- backgroundColor: 'transparent',
80
- color: '#555555'
81
- }
141
+ color: '#868E96',
142
+ opacity: isDisabled ? 0.65 : 1
82
143
  });
83
144
  },
84
- singleValue: provided => {
85
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
86
- display: 'inline-flex',
87
- alignItems: 'center',
88
- background: '#eaeaea',
89
- borderRadius: '10px',
90
- margin: '0',
91
- padding: '0 2px',
92
- width: 'fit-content'
93
- });
94
- }
95
- };
96
- const MenuSelectStyle = exports.MenuSelectStyle = {
97
- option: (provided, state) => {
145
+ indicatorSeparator: (styles, state) => {
146
+ return {
147
+ 'display': 'none'
148
+ };
149
+ },
150
+ dropdownIndicator: (provided, state) => {
98
151
  const {
99
- isDisabled,
100
- isFocused
152
+ isDisabled
101
153
  } = state;
102
154
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
103
- fontSize: '13px',
104
- color: '#212529',
105
- cursor: isDisabled ? 'default' : 'pointer',
106
- backgroundColor: isFocused ? '#f5f5f5' : '#fff',
107
- ':active': {
108
- backgroundColor: '#f5f5f5'
109
- },
110
- '.header-icon .dtable-font': {
111
- color: '#aaa'
112
- },
113
- '.header-icon .multicolor-icon': {
114
- color: '#aaa'
155
+ paddingRight: '12px',
156
+ '.dtable-font': {
157
+ color: 'var(--bs-icon-color) !important',
158
+ opacity: isDisabled ? 0.65 : 1
115
159
  }
116
160
  });
117
- },
118
- control: controlCallback,
119
- menuPortal: base => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, base), {}, {
120
- zIndex: 9999
121
- }),
122
- indicatorSeparator: noneCallback
161
+ }
123
162
  };
124
163
  const DropdownIndicator = props => {
125
164
  return _reactSelect.components.DropdownIndicator && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSelect.components.DropdownIndicator, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
@@ -127,7 +166,9 @@ const DropdownIndicator = props => {
127
166
  className: "dtable-font dtable-icon-down3",
128
167
  style: {
129
168
  fontSize: '12px',
130
- marginLeft: '-2px'
169
+ marginLeft: '-2px',
170
+ color: 'var(--bs-icon-color)',
171
+ paddingRight: 0
131
172
  }
132
173
  })
133
174
  }));
@@ -150,7 +191,8 @@ const ClearIndicator = _ref => {
150
191
  className: "dtable-font dtable-icon-fork-number",
151
192
  style: {
152
193
  fontSize: '12px',
153
- marginRight: '-2px'
194
+ marginRight: '-2px',
195
+ color: 'var(--bs-icon-color)'
154
196
  }
155
197
  })
156
198
  }));
@@ -165,9 +207,56 @@ const MenuList = props => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
165
207
  });
166
208
  exports.MenuList = MenuList;
167
209
  const Option = props => {
168
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
169
- style: props.data.style,
170
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSelect.components.Option, (0, _objectSpread2.default)({}, props))
171
- });
210
+ const {
211
+ isSelected,
212
+ label
213
+ } = props;
214
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactSelect.components.Option, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
215
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
216
+ style: {
217
+ display: 'flex',
218
+ alignItems: 'center',
219
+ justifyContent: 'space-between',
220
+ width: '100%',
221
+ whiteSpace: 'pre-line'
222
+ },
223
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
224
+ children: label
225
+ }), isSelected && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
226
+ className: "dtable-font dtable-icon-check",
227
+ style: {
228
+ fontSize: '14px',
229
+ color: 'var(--bs-icon-color)',
230
+ paddingLeft: '16px'
231
+ }
232
+ })]
233
+ })
234
+ }));
235
+ };
236
+ exports.Option = Option;
237
+ const processOptionsWithClear = (options, isClearable) => {
238
+ if (isClearable && options && options.length > 0) {
239
+ return [{
240
+ label: '--',
241
+ value: '__clear__'
242
+ }, ...options];
243
+ }
244
+ return options;
245
+ };
246
+ exports.processOptionsWithClear = processOptionsWithClear;
247
+ const handleSelectChange = (selectedOption, actionMeta, onChangeCallback) => {
248
+ if (selectedOption && selectedOption.value === '__clear__') {
249
+ onChangeCallback(null, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, actionMeta), {}, {
250
+ action: 'clear'
251
+ }));
252
+ } else {
253
+ onChangeCallback(selectedOption, actionMeta);
254
+ }
255
+ };
256
+ exports.handleSelectChange = handleSelectChange;
257
+ const createHandleChange = onChange => {
258
+ return (selectedOption, actionMeta) => {
259
+ handleSelectChange(selectedOption, actionMeta, onChange);
260
+ };
172
261
  };
173
- exports.Option = Option;
262
+ exports.createHandleChange = createHandleChange;
@@ -125,8 +125,8 @@ function ImagePreviewerLightbox(props) {
125
125
  rotateTip: (0, _lang.getLocale)('Rotate_image'),
126
126
  deleteTip: (0, _lang.getLocale)('Delete_image'),
127
127
  downloadImageTip: (0, _lang.getLocale)('Download_image'),
128
- preLineMetadaTip: (0, _lang.getLocale)('Pre_Line'),
129
- nextLineMetadaTip: (0, _lang.getLocale)('Next_Line'),
128
+ preLineMetadaTip: (0, _lang.getLocale)('Previous_record'),
129
+ nextLineMetadaTip: (0, _lang.getLocale)('Next_record'),
130
130
  closeTip: (0, _lang.getLocale)('Close')
131
131
  });
132
132
  }
@@ -5,13 +5,105 @@ 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,
8
23
  LeftArrow: 37,
9
24
  UpArrow: 38,
10
25
  RightArrow: 39,
11
26
  DownArrow: 40,
12
- Enter: 13,
13
- Tab: 9,
14
- Escape: 27,
15
- Esc: 27
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
16
108
  };
17
109
  var _default = exports.default = KeyCodes;
@@ -1,47 +1,77 @@
1
- .option-group {
2
- display: flex;
3
- flex-direction: column;
1
+ .seatable-option-group {
4
2
  position: absolute;
5
3
  left: 0;
6
4
  min-height: 60px;
5
+ max-height: 300px;
7
6
  min-width: 100%;
8
7
  max-width: 15rem;
9
- padding: 0.5rem 0;
10
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
11
- background: #fff;
8
+ box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.1);
9
+ background: var(--bs-popover-bg);
12
10
  border: 1px solid rgba(0, 40, 100, 0.12);
13
- border-radius: 3px;
11
+ border-radius: 4px;
14
12
  z-index: 10001;
13
+ margin-top: 4px;
14
+ }
15
+
16
+ .seatable-option-group-search {
17
+ border-bottom: 1px solid var(--bs-border-color);
18
+ height: 32px;
15
19
  }
16
20
 
17
- .option-group .option-group-search {
21
+ .seatable-option-group .seatable-option-group-search {
18
22
  width: 100%;
19
23
  min-width: 170px;
20
- padding: 0 10px 6px;
24
+ position: relative;
25
+ padding: 0;
26
+ }
27
+
28
+ .seatable-option-group .seatable-option-group-search .form-control {
29
+ height: 100%;
30
+ border: none;
31
+ padding: .375rem 1rem;
32
+ cursor: pointer;
21
33
  }
22
34
 
23
- .option-group-search .form-control {
24
- height: 31px;
35
+ .seatable-option-group .seatable-option-group-search .form-control:focus {
36
+ outline: none;
37
+ box-shadow: none;
38
+ }
39
+
40
+ .seatable-option-group-search .input-icon-addon,
41
+ .seatable-option-group .seatable-option-group-search .input-icon-addon {
42
+ z-index: 1;
43
+ pointer-events: auto;
44
+ min-width: 2.75rem !important;
45
+ width: 40px;
46
+ height: 32px;
47
+ }
48
+
49
+ .seatable-option-group .seatable-option-group-search .input-icon-addon svg {
50
+ color: #999;
51
+ cursor: pointer;
25
52
  }
26
53
 
27
- .option-group .none-search-result {
54
+ .seatable-option-group .none-search-result {
28
55
  height: 100px;
29
56
  width: 100%;
30
- padding: 10px;
31
- color: #666666;
57
+ padding: 8px;
58
+ color: var(--bs-body-secondary-color);
32
59
  }
33
60
 
34
- .option-group .option-group-content {
35
- flex: 1;
61
+ .seatable-option-group .seatable-option-group-content {
36
62
  max-height: 252px;
37
63
  overflow-y: auto;
64
+ padding: 8px;
38
65
  }
39
66
 
40
- .option {
41
- display: block;
67
+ .seatable-select-option {
68
+ position: relative;
69
+ display: flex;
70
+ justify-content: space-between;
71
+ align-items: center;
42
72
  width: 100%;
43
73
  line-height: 24px;
44
- padding: 0.25rem 10px;
74
+ padding: 0.25rem 8px;
45
75
  clear: both;
46
76
  font-weight: 400;
47
77
  text-align: inherit;
@@ -50,64 +80,55 @@
50
80
  overflow: hidden;
51
81
  text-overflow: ellipsis;
52
82
  white-space: nowrap;
83
+ border-radius: 4px;
84
+ height: 32px;
53
85
  }
54
86
 
55
- .option.option-active {
56
- background-color: #20a0ff;
57
- color: #fff;
87
+ .seatable-select-option.seatable-select-option-active {
58
88
  cursor: pointer;
89
+ background-color: rgba(0, 0, 0, 0.04);
59
90
  }
60
91
 
61
- .option:hover .header-icon .dtable-font,
62
- .option:hover .header-icon .multicolor-icon,
63
- .option.option-active .select-option-name {
64
- color: #fff;
65
- }
66
-
67
- .option.option-active .header-icon .dtable-font,
68
- .option.option-active .header-icon .multicolor-icon {
69
- color: #fff;
70
- }
71
-
72
- .option:not(.option-active):hover .header-icon .dtable-font,
73
- .option:not(.option-active):hover .header-icon .multicolor-icon {
74
- color: #aaa;
92
+ .seatable-select-option .select-option-name .multiple-select-option {
93
+ margin: 0;
75
94
  }
76
95
 
77
- .option .select-option-name .single-select-option {
78
- margin: 0 0 0 12px;
96
+ .seatable-option-group .dtable-icon-check {
97
+ color: var(--bs-icon-color);
79
98
  }
80
99
 
81
- .option .select-option-name .multiple-select-option {
82
- margin: 0;
100
+ .select-label {
101
+ width: 100%;
83
102
  }
84
103
 
85
- .option-group-dtable-ui-single-select-selector .select-option-name,
86
- .option-group-dtable-ui-multiple-select-selector .multiple-option-name {
104
+ .seatable-option-group-selector-multiple-select .select-label,
105
+ .seatable-option-group-selector-single-select .select-option-name,
106
+ .seatable-option-group-selector-multiple-select .multiple-option-name {
87
107
  display: flex;
88
108
  align-items: center;
89
109
  justify-content: space-between;
110
+ width: 100%;
90
111
  }
91
112
 
92
- .option-group-dtable-ui-multiple-select-selector .multiple-check-icon {
113
+ .seatable-option-group-selector-multiple-select .multiple-check-icon {
93
114
  display: inline-flex;
94
- width: 20px;
95
115
  text-align: center;
116
+ color: var(--bs-icon-color);
96
117
  }
97
118
 
98
- .option-group-dtable-ui-multiple-select-selector .multiple-check-icon .dtable-icon-check-mark {
99
- font-size: 12px;
100
- color: #798d99;
119
+ .seatable-option-group-selector-multiple-select .multiple-check-icon .dtable-icon-check {
120
+ font-size: 14px;
101
121
  }
102
122
 
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 {
123
+ .seatable-option-group-selector-single-select .seatable-select-option:hover,
124
+ .seatable-option-group-selector-single-select .seatable-select-option.seatable-select-option-active,
125
+ .seatable-option-group-selector-multiple-select .seatable-select-option:hover,
126
+ .seatable-option-group-selector-multiple-select .seatable-select-option.seatable-select-option-active {
107
127
  background-color: #f5f5f5;
108
128
  }
109
129
 
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;
130
+ .select-label .header-icon {
131
+ display: inline-block;
132
+ padding: 0 .5rem 0 0!important;
133
+ margin-left: 0 !important;
113
134
  }