dtable-ui-component 7.0.5-pal.2 → 7.0.6
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.
- package/lib/CollapsibleSettingLayout/index.js +5 -2
- package/lib/DTableCustomizeSelect/index.css +1 -5
- package/lib/DTableCustomizeSelect/index.js +0 -1
- package/lib/DTableModalHeader/index.css +4 -0
- package/lib/DTableModalHeader/index.js +3 -1
- package/lib/DTableRadioGroup/index.js +1 -1
- package/lib/IconButton/index.css +3 -0
- package/lib/IconButton/index.js +2 -1
- package/package.json +1 -1
|
@@ -27,8 +27,11 @@ const CollapsibleSettingLayout = props => {
|
|
|
27
27
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
28
28
|
className: "collapsible-setting-layout-title",
|
|
29
29
|
children: title
|
|
30
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("
|
|
31
|
-
className: "
|
|
30
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
31
|
+
className: "seatable-icon-btn",
|
|
32
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
33
|
+
className: "dtable-font dtable-icon-right".concat(isShowSettings ? ' dtable-icon-spin' : '')
|
|
34
|
+
})
|
|
32
35
|
})]
|
|
33
36
|
}), isShowSettings && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
34
37
|
className: "collapsible-setting-layout-body mt-3 pl-2",
|
|
@@ -125,10 +125,6 @@
|
|
|
125
125
|
margin-left: 0 !important;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.seatable-customize-select .selected-option .dtable-icon-down3 {
|
|
129
|
-
color: var(--bs-icon-color) !important;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
128
|
.selector-group-select .selected-option-show .selected-option-item {
|
|
133
129
|
align-items: center;
|
|
134
130
|
border-radius: 4px;
|
|
@@ -178,5 +174,5 @@
|
|
|
178
174
|
}
|
|
179
175
|
|
|
180
176
|
.selector-group-select {
|
|
181
|
-
height:
|
|
177
|
+
height: auto;
|
|
182
178
|
}
|
|
@@ -25,7 +25,6 @@ class DTableCustomizeSelect extends _react.Component {
|
|
|
25
25
|
*/
|
|
26
26
|
if (this.state.isShowSelectOptions) event.stopPropagation();
|
|
27
27
|
const eventClassName = (0, _utils.getEventClassName)(event);
|
|
28
|
-
console.log('eventClassName', eventClassName);
|
|
29
28
|
if (this.props.isLocked || eventClassName.indexOf('option-search-control') > -1 || eventClassName === 'seatable-select-search') return;
|
|
30
29
|
// Prevent closing by pressing the spacebar in the search input
|
|
31
30
|
if (event.target.value === '') return;
|
|
@@ -10,6 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _reactstrap = require("reactstrap");
|
|
12
12
|
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
13
|
+
require("./index.css");
|
|
13
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
15
|
const _excluded = ["children"];
|
|
15
16
|
const DTableModalHeader = _ref => {
|
|
@@ -18,7 +19,8 @@ const DTableModalHeader = _ref => {
|
|
|
18
19
|
const customCloseBtn = /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {
|
|
19
20
|
icon: "x",
|
|
20
21
|
"aria-label": "Close",
|
|
21
|
-
onClick: props.toggle
|
|
22
|
+
onClick: props.toggle,
|
|
23
|
+
className: "modal-close-btn"
|
|
22
24
|
});
|
|
23
25
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.ModalHeader, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
24
26
|
close: customCloseBtn,
|
|
@@ -80,7 +80,7 @@ class DTableRadioGroup extends _react.default.Component {
|
|
|
80
80
|
children: displayOption
|
|
81
81
|
}, option);
|
|
82
82
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
83
|
-
className: "radio-group-slider btn btn-primary",
|
|
83
|
+
className: "radio-group-slider btn btn-primary btn-sm",
|
|
84
84
|
ref: ref => this.slider = ref
|
|
85
85
|
})]
|
|
86
86
|
})
|
package/lib/IconButton/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
|
+
require("./index.css");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
const _excluded = ["disabled", "className", "icon", "children"];
|
|
14
15
|
const IconButton = _ref => {
|
|
@@ -18,7 +19,7 @@ const IconButton = _ref => {
|
|
|
18
19
|
children = _ref.children,
|
|
19
20
|
otherProperties = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
20
21
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", (0, _objectSpread2.default)((0, _objectSpread2.default)({
|
|
21
|
-
className: (0, _classnames.default)('seatable-icon-btn', className, {
|
|
22
|
+
className: (0, _classnames.default)('seatable-icon-btn icon-button', className, {
|
|
22
23
|
'disabled': disabled
|
|
23
24
|
})
|
|
24
25
|
}, otherProperties), {}, {
|