diff --git a/tests/manual/theme.js b/tests/manual/theme.js index 7b909f2..1532cb0 100644 --- a/tests/manual/theme.js +++ b/tests/manual/theme.js @@ -20,8 +20,9 @@ import { createDropdown, addListToDropdown, addToolbarToDropdown } from '@ckedit import ToolbarView from '@ckeditor/ckeditor5-ui/src/toolbar/toolbarview'; import ToolbarSeparatorView from '@ckeditor/ckeditor5-ui/src/toolbar/toolbarseparatorview'; -import InputTextView from '@ckeditor/ckeditor5-ui/src/inputtext/inputtextview'; -import LabeledInputView from '@ckeditor/ckeditor5-ui/src/labeledinput/labeledinputview'; + +import LabeledFieldView from '@ckeditor/ckeditor5-ui/src/labeledfield/labeledfieldview'; +import { createLabeledInputText } from '@ckeditor/ckeditor5-ui/src/labeledfield/utils'; import boldIcon from '@ckeditor/ckeditor5-basic-styles/theme/icons/bold.svg'; import italicIcon from '@ckeditor/ckeditor5-basic-styles/theme/icons/italic.svg'; @@ -636,9 +637,9 @@ function input( { isReadOnly = false, value = 'The value of the input' } = {} ) { - const labeledInput = new LabeledInputView( {}, InputTextView ); + const labeledInput = new LabeledFieldView( {}, createLabeledInputText ); - labeledInput.set( { isReadOnly, label, value } ); + labeledInput.fieldView.set( { isReadOnly, label, value } ); return labeledInput; } diff --git a/theme/ckeditor5-ui/components/labeledview/labeledview.css b/theme/ckeditor5-ui/components/labeledfieldview/labeledfieldview.css similarity index 100% rename from theme/ckeditor5-ui/components/labeledview/labeledview.css rename to theme/ckeditor5-ui/components/labeledfieldview/labeledfieldview.css