oa-componentbook 0.18.366 → 0.18.367
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.
|
@@ -105,7 +105,7 @@ function NotesWidget(_ref) {
|
|
|
105
105
|
borderRadius: tableBorder ? '4px' : '0'
|
|
106
106
|
// visibility: (!(records.length > 0) && disabled) ? 'hidden' : undefined,
|
|
107
107
|
};
|
|
108
|
-
return /*#__PURE__*/_react.default.createElement(_CustomTable.default, _extends({
|
|
108
|
+
return /*#__PURE__*/_react.default.createElement(NotesTable, null, /*#__PURE__*/_react.default.createElement(_CustomTable.default, _extends({
|
|
109
109
|
style: tableStyle,
|
|
110
110
|
columns: columns,
|
|
111
111
|
dataSource: mutatedRecords,
|
|
@@ -113,7 +113,7 @@ function NotesWidget(_ref) {
|
|
|
113
113
|
size: "small",
|
|
114
114
|
emptyText: "No Notes Available",
|
|
115
115
|
tableBorder: tableBorder
|
|
116
|
-
}, antDesignTableProps));
|
|
116
|
+
}, antDesignTableProps)));
|
|
117
117
|
}
|
|
118
118
|
NotesWidget.propTypes = {
|
|
119
119
|
'data-test': _propTypes.default.string,
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.NoNotesMessage = void 0;
|
|
6
|
+
exports.default = exports.NotesTable = exports.NoNotesMessage = void 0;
|
|
7
7
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
-
var _templateObject;
|
|
8
|
+
var _templateObject, _templateObject2;
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
10
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
11
11
|
var _default = exports.default = {};
|
|
12
|
-
const NoNotesMessage = exports.NoNotesMessage = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n input{\n height: 30px;\n }\n"])));
|
|
12
|
+
const NoNotesMessage = exports.NoNotesMessage = _styledComponents.default.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n input{\n height: 30px;\n }\n"])));
|
|
13
|
+
const NotesTable = exports.NotesTable = _styledComponents.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\ntable{\n width: auto !important;\n }\n"])));
|