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

Input element #24

Merged
merged 29 commits into from
Feb 16, 2021
Merged

Input element #24

merged 29 commits into from
Feb 16, 2021

Conversation

anezthes
Copy link
Collaborator

Things that need to be configurable:

  • TextArea aria-label
  • Button label, icon and theme

src/vaadin-message-input.d.ts Outdated Show resolved Hide resolved
src/vaadin-message-input.js Outdated Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
test/visual/message-input.html Show resolved Hide resolved
test/visual/message-input.html Outdated Show resolved Hide resolved
Comment on lines +2 to +5
import '@vaadin/vaadin-lumo-styles/color.js';
import '@vaadin/vaadin-lumo-styles/sizing.js';
import '@vaadin/vaadin-lumo-styles/spacing.js';
import '@vaadin/vaadin-lumo-styles/style.js';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have some convention that should all of these be imported always or only those that you refer to in the same file? Spacing seems to be the only one in use below.

vaadin-message-input.d copy.ts Outdated Show resolved Hide resolved
src/vaadin-message-input.js Outdated Show resolved Hide resolved
Peppe
Peppe previously requested changes Feb 12, 2021
src/vaadin-message-input.js Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
src/vaadin-message-input.d.ts Outdated Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
test/visual/default.html Outdated Show resolved Hide resolved
test/visual/message-input.html Outdated Show resolved Hide resolved
package.json Outdated
"@vaadin/vaadin-element-mixin": "^2.4.1",
"@vaadin/vaadin-lumo-styles": "^1.6.1",
"@vaadin/vaadin-material-styles": "^1.3.2",
"@vaadin/vaadin-text-field": "^3.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use ^2.8.0 if you want the component to be compatible with Vaadin 14.x

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment on lines 71 to 78
static get is() {
return 'vaadin-message-input';
}

static get version() {
return '1.0.0-alpha1';
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please place these getters after static get template and before ready method.
That's the convention that we follow in other components.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Peppe and others added 4 commits February 15, 2021 15:37
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
To be Vaadin 14 compatible.
These didn't come automatically via text-area anymore after downgrade from 3.0 to 2.8
Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for my comments and to unlock merging after other comments are resolved.

It was allready deleted in the actual class.
@Peppe Peppe dismissed their stale review February 16, 2021 07:25

Dismissing my own review as I took over fixing the review issues.

@Peppe Peppe merged commit 1ac7f67 into master Feb 16, 2021
@Peppe Peppe deleted the input-element branch February 16, 2021 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants