Skip to content

Commit dde961c

Browse files
marker-daomarker dao ®
andauthored
TextEditor ClearButton and Label: Remove m_ (#32546)
Co-authored-by: marker dao ® <youdontknow@marker-dao.eth>
1 parent 7105591 commit dde961c

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

packages/devextreme/js/__internal/ui/date_range_box/m_date_range_box.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { Properties } from '@js/ui/date_range_box';
1818
import Editor from '@js/ui/editor/editor';
1919
import { current, isFluent, isMaterial } from '@js/ui/themes';
2020
import DropDownButton from '@ts/ui/drop_down_editor/m_drop_down_button';
21-
import ClearButton from '@ts/ui/text_box/m_text_editor.clear';
21+
import ClearButton from '@ts/ui/text_box/text_editor.clear';
2222
import TextEditorButtonCollection from '@ts/ui/text_box/texteditor_button_collection/index';
2323

2424
import {

packages/devextreme/js/__internal/ui/text_box/m_text_editor.base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import type { OptionChanged } from '@ts/core/widget/types';
2727
import type { ValueChangedEvent } from '@ts/ui/editor/editor';
2828
import Editor from '@ts/ui/editor/editor';
2929

30-
import ClearButton from './m_text_editor.clear';
31-
import { TextEditorLabel } from './m_text_editor.label';
30+
import ClearButton from './text_editor.clear';
31+
import { TextEditorLabel } from './text_editor.label';
3232
import type { TextEditorButtonInfo } from './texteditor_button_collection/index';
3333
import TextEditorButtonCollection from './texteditor_button_collection/index';
3434

packages/devextreme/js/__internal/ui/text_box/m_text_editor.clear.ts renamed to packages/devextreme/js/__internal/ui/text_box/text_editor.clear.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class ClearButton extends TextEditorButton {
6262
}
6363

6464
// TODO: get rid of it
65-
// eslint-disable-next-line class-methods-use-this
65+
6666
_legacyRender($editor: dxElementWrapper, isVisible: boolean): void {
6767
$editor.toggleClass(TEXTEDITOR_SHOW_CLEAR_BUTTON_CLASS, isVisible);
6868
}

packages/devextreme/js/__internal/ui/text_box/m_text_editor.label.ts renamed to packages/devextreme/js/__internal/ui/text_box/text_editor.label.ts

File renamed without changes.

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/lookup.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import pointerMock from '../../helpers/pointerMock.js';
2828
import keyboardMock from '../../helpers/keyboardMock.js';
2929

3030
import ariaAccessibilityTestHelper from '../../helpers/ariaAccessibilityTestHelper.js';
31-
import { TextEditorLabel } from '__internal/ui/text_box/m_text_editor.label';
31+
import { TextEditorLabel } from '__internal/ui/text_box/text_editor.label';
3232

3333
import 'fluent_blue_light.css!';
3434

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/tagBox.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { getWidth, getHeight } from 'core/utils/size';
2222
import Guid from 'core/guid';
2323
import browser from 'core/utils/browser';
2424

25-
import { TextEditorLabel } from '__internal/ui/text_box/m_text_editor.label';
25+
import { TextEditorLabel } from '__internal/ui/text_box/text_editor.label';
2626

2727
import 'fluent_blue_light.css!';
2828

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorLabel.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import $ from 'jquery';
2-
import { TextEditorLabel } from '__internal/ui/text_box/m_text_editor.label';
2+
import { TextEditorLabel } from '__internal/ui/text_box/text_editor.label';
33
import { getWidth } from 'core/utils/size';
44

55
const TEXTEDITOR_LABEL_CLASS = 'dx-texteditor-label';

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorParts/common.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { normalizeKeyName } from 'common/core/events/utils/index';
1212
import { getWidth, implementationsMap } from 'core/utils/size';
1313

1414
import TextEditor from '__internal/ui/text_box/m_text_editor';
15-
import { TextEditorLabel } from '__internal/ui/text_box/m_text_editor.label';
15+
import { TextEditorLabel } from '__internal/ui/text_box/text_editor.label';
1616

1717
const TEXTEDITOR_CLASS = 'dx-texteditor';
1818
const INPUT_CLASS = 'dx-texteditor-input';

packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textbox.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import executeAsyncMock from '../../helpers/executeAsyncMock.js';
55
import { getWidth, getOuterWidth } from 'core/utils/size';
66
import keyboardMock from '../../helpers/keyboardMock.js';
77

8-
import { TextEditorLabel } from '__internal/ui/text_box/m_text_editor.label';
8+
import { TextEditorLabel } from '__internal/ui/text_box/text_editor.label';
99

1010
import 'fluent_blue_light.css!';
1111

0 commit comments

Comments
 (0)