From f89e057c561b4524a6e7119f7cd3bdf692f587a6 Mon Sep 17 00:00:00 2001 From: dzonidoo Date: Thu, 26 Oct 2023 12:36:45 +0200 Subject: [PATCH] styling inside of publishing panel --- package-lock.json | 8 ++++---- package.json | 2 +- scripts/core/ui/components/select-filterable.tsx | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index ada23551fc..8a8d39c932 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4243,7 +4243,7 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" } } }, @@ -16749,9 +16749,9 @@ } }, "superdesk-ui-framework": { - "version": "3.0.60", - "resolved": "https://registry.npmjs.org/superdesk-ui-framework/-/superdesk-ui-framework-3.0.60.tgz", - "integrity": "sha512-/GXkxBKyPtQDAjhR0MSQM5SjOTfnY/f6dNZkC4QZGa4Z9fZy39Z6F1+KfSPY53mDXfNdJ9vNeLSeksNa2Jk2Eg==", + "version": "3.0.62", + "resolved": "https://registry.npmjs.org/superdesk-ui-framework/-/superdesk-ui-framework-3.0.62.tgz", + "integrity": "sha512-UzEnpfpL2YoK+FpJlsXKt8ENlR02BhnBPyuaXEDebqXLK0H4WlrUMseJk9XKx6de0kFHCiCGVusP1tYyql0d3Q==", "requires": { "@material-ui/lab": "^4.0.0-alpha.56", "@popperjs/core": "^2.4.0", diff --git a/package.json b/package.json index aa4094505f..6db6d55d96 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "sass-loader": "6.0.6", "shortid": "2.2.8", "style-loader": "0.20.2", - "superdesk-ui-framework": "^3.0.60", + "superdesk-ui-framework": "^3.0.62", "ts-loader": "3.5.0", "tslint": "5.11.0", "typescript": "4.9.5", diff --git a/scripts/core/ui/components/select-filterable.tsx b/scripts/core/ui/components/select-filterable.tsx index b3b7a744f6..6ca9ecb931 100644 --- a/scripts/core/ui/components/select-filterable.tsx +++ b/scripts/core/ui/components/select-filterable.tsx @@ -26,7 +26,7 @@ export class SelectFilterable extends React.PureComponent> { inlineLabel labelHidden kind="synchronous" - value={[value]} + value={value !== null ? [value] : null} getOptions={() => items.map((item) => ({value: item}))} onChange={(val) => { onChange(val[0] ?? null); @@ -37,6 +37,7 @@ export class SelectFilterable extends React.PureComponent> { disabled={disabled} zIndex={zIndex} data-test-id={this.props['data-test-id']} + inputWidth="100%" /> ); }