Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update superdesk UI framework to 3.0.14 #1780

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/components/ContentProfiles/GroupTab/GroupEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class GroupEditor extends React.PureComponent<IProps> {
<div className="form__group">
<div className="form__row">
<Switch
label={{text: gettext('Use Togglebox')}}
label={{content: gettext('Use Togglebox')}}
value={this.props.group.useToggleBox}

onChange={this.props.updateGroupAttribute.bind(null, 'useToggleBox')}
Expand All @@ -118,7 +118,7 @@ export class GroupEditor extends React.PureComponent<IProps> {
<div className="form__group">
<div className="form__row">
<Switch
label={{text: gettext('Show Bookmark')}}
label={{content: gettext('Show Bookmark')}}
value={this.props.group.showBookmark}

onChange={this.props.updateGroupAttribute.bind(null, 'showBookmark')}
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/EventSchedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class EditorFieldEventSchedule extends React.PureComponent<IProps> {
{!this.props.showAllDay ? null : (
<div data-test-id={`${this.props.testId}_all_day`}>
<Switch
label={{text: gettext('All Day')}}
label={{content: gettext('All Day')}}
value={isAllDay}
onChange={this.onAllDayChange}
/>
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/Language.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class EditorFieldLanguageComponent extends React.PureComponent<IProps> {
>
<ButtonGroup>
<Switch
label={{text: gettext('Show all language fields')}}
label={{content: gettext('Show all language fields')}}
value={this.props.showAllLanguages}
onChange={() => this.props.toggleAllLanguages()}
disabled={this.props.disabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class EditorFieldSelectWithFreeText extends React.Component<IProps, IStat
<label className="sd-input__label">{gettext('Other')}</label>
<div className="sd-input__icon-right">
<Switch
label={{text: gettext('Other'), hidden: true}}
label={{content: gettext('Other'), hidden: true}}
value={this.state.enterFreeText}
onChange={this.toggleFreeText}
disabled={this.props.disabled}
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/base/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class EditorFieldToggle extends React.PureComponent<IEditorFieldProps> {
<Row testId={this.props.testId}>
<Switch
ref={this.props.refNode}
label={{text: this.props.label}}
label={{content: this.props.label}}
value={value}
onChange={(newValue) => this.props.onChange(this.props.field, newValue)}
disabled={this.props.disabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class AutopostIngestRuleEditor extends React.PureComponent<IProps> {
return (
<div>
<Switch
label={{text: gettext('Post Items')}}
label={{content: gettext('Post Items')}}
value={this.props.rule.actions.extra?.autopost === true}
onChange={this.updateAutopostValue}
/>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"redux-logger": "~3.0.6",
"reselect": "~3.0.1",
"rrule": "~2.2.9",
"superdesk-ui-framework": "3.0.0-rc12",
"superdesk-ui-framework": "3.0.14",
"ts-loader": "3.5.0",
"typescript": "~4.9.5",
"whatwg-fetch": "~2.0.4"
Expand Down