dtable-ui-component 7.0.0-ahn.22 → 7.0.0-ahn.24
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.
|
@@ -14,6 +14,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
14
14
|
const _excluded = ["innerProps"]; // DtableSelect is based on seatable-ui.css, so use the following content to override the default react-select style
|
|
15
15
|
const DEFAULT_CONTROL_STYLE = {
|
|
16
16
|
fontSize: '14px',
|
|
17
|
+
padding: '0 4px 0 8px',
|
|
17
18
|
border: '1px solid var(--bs-border-color) !important',
|
|
18
19
|
boxShadow: 'none',
|
|
19
20
|
backgroundColor: 'var(--bs-popover-bg)',
|
|
@@ -22,6 +23,7 @@ const DEFAULT_CONTROL_STYLE = {
|
|
|
22
23
|
};
|
|
23
24
|
const DISABLED_CONTROL_STYLE = {
|
|
24
25
|
fontSize: '14px',
|
|
26
|
+
padding: '0 4px 0 8px',
|
|
25
27
|
border: '1px solid rgba(0, 40, 100, 0.12)',
|
|
26
28
|
boxShadow: 'none',
|
|
27
29
|
backgroundColor: 'var(--bs-bg-color)',
|
|
@@ -32,6 +34,7 @@ const DISABLED_CONTROL_STYLE = {
|
|
|
32
34
|
};
|
|
33
35
|
const FOCUS_CONTROL_STYLE = {
|
|
34
36
|
fontSize: '14px',
|
|
37
|
+
padding: '0 4px 0 8px',
|
|
35
38
|
border: '1px solid var(--bs-bg-border-color)',
|
|
36
39
|
boxShadow: 'none',
|
|
37
40
|
backgroundColor: 'var(--bs-popover-bg)',
|
|
@@ -146,7 +149,7 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
|
|
|
146
149
|
dropdownIndicator: (provided, state) => {
|
|
147
150
|
const isDisabled = state.isDisabled;
|
|
148
151
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, provided), {}, {
|
|
149
|
-
paddingRight: '
|
|
152
|
+
paddingRight: '12px',
|
|
150
153
|
'.dtable-font': {
|
|
151
154
|
color: 'var(--bs-icon-color) !important',
|
|
152
155
|
opacity: isDisabled ? 0.65 : 1
|