@ansible/ansible-ui-framework 0.0.562 → 0.0.564
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/PageBody.js +1 -1
- package/cjs/PageTable/PageToolbar.js +1 -1
- package/package.json +1 -1
package/cjs/PageBody.js
CHANGED
@@ -45,7 +45,7 @@ function PageBody(props) {
|
|
45
45
|
maxHeight: '100%',
|
46
46
|
margin: usePadding ? 24 : 0,
|
47
47
|
overflow: 'hidden',
|
48
|
-
border: 'thin solid var(--pf-global--BorderColor--100)',
|
48
|
+
border: usePadding ? 'thin solid var(--pf-global--BorderColor--100)' : undefined,
|
49
49
|
backgroundColor: 'var(--pf-global--BackgroundColor--100)',
|
50
50
|
} }, { children: props.children })) })) })));
|
51
51
|
}
|
@@ -183,7 +183,7 @@ function ToolbarTextFilter(props) {
|
|
183
183
|
var _a = __read((0, react_1.useState)(''), 2), value = _a[0], setValue = _a[1];
|
184
184
|
return ((0, jsx_runtime_1.jsxs)(react_core_1.InputGroup, { children: [(0, jsx_runtime_1.jsxs)(react_core_1.TextInputGroup, __assign({ style: { minWidth: 220 } }, { children: [(0, jsx_runtime_1.jsx)(react_core_1.TextInputGroupMain, { id: props.id,
|
185
185
|
// ref={ref}
|
186
|
-
value: value, onChange: setValue, onKeyUp: function (event) {
|
186
|
+
value: value, onChange: function (_, v) { return setValue(v); }, onKeyUp: function (event) {
|
187
187
|
if (value && event.key === 'Enter') {
|
188
188
|
props.addFilter(value);
|
189
189
|
setValue('');
|