Skip to content

Commit

Permalink
fix(ui5-combobox): apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoplashkov committed Jul 12, 2024
1 parent 5da6561 commit 4ff3ae2
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/main/src/DatePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class DatePicker extends DateComponentBase implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
* @since 1.0.0-rc.7
* @public
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/FileUploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class FileUploader extends UI5Element implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
* @since 1.0.0-rc.9
* @public
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type InputSuggestionScrollEventDetail = {
*
* The text field can be editable or read-only (`readonly` property),
* and it can be enabled or disabled (`disabled` property).
* To visualize semantic states, such as "error" or "warning", the `valueState` property is provided.
* To visualize semantic states, such as "Negative" or "Critical", the `valueState` property is provided.
* When the user makes changes to the text, the change event is fired,
* which enables you to react on any text change.
*
Expand Down Expand Up @@ -530,7 +530,7 @@ class Input extends UI5Element implements SuggestionComponent, IFormInputElement
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
*
* **Note:** If the component has `suggestionItems`,
* the `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/MultiComboBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class MultiComboBox extends UI5Element implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
* @since 1.0.0-rc.9
* @public
*/
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/RatingIndicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class RatingIndicator extends UI5Element {

_onkeydown(e: KeyboardEvent) {
if (this.disabled || this.readonly) {
e.preventDefault();
return;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class Select extends UI5Element implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
*
* **Note:** If the component has `suggestionItems`,
* the `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/StepInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class StepInput extends UI5Element implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the component is in `Information`, `Warning` or `Error` value state.
* when the component is in `Information`, `Critical` or `Negative` value state.
* @public
*/
@slot()
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/TextArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ class TextArea extends UI5Element implements IFormInputElement {
* Defines the value state of the component.
*
* **Note:** If `maxlength` property is set,
* the component turns into "Warning" state once the characters exceeds the limit.
* In this case, only the "Error" state is considered and can be applied.
* the component turns into "Critical" state once the characters exceeds the limit.
* In this case, only the "Negative" state is considered and can be applied.
* @default "None"
* @since 1.0.0-rc.7
* @public
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/TimePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class TimePicker extends UI5Element implements IFormInputElement {
* **Note:** If not specified, a default text (in the respective language) will be displayed.
*
* **Note:** The `valueStateMessage` would be displayed,
* when the `ui5-time-picker` is in `Information`, `Warning` or `Error` value state.
* when the `ui5-time-picker` is in `Information`, `Critical` or `Negative` value state.
* @since 1.0.0-rc.8
* @public
*/
Expand Down

0 comments on commit 4ff3ae2

Please sign in to comment.