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

new HTMLSelect component #2605

Merged
merged 12 commits into from
Jun 20, 2018
Merged

new HTMLSelect component #2605

merged 12 commits into from
Jun 20, 2018

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented Jun 18, 2018

Fixes #2597

Changes proposed in this pull request:

  • new HTMLSelect component for <select> element.
  • Classes.HTML_SELECT replaces Classes.SELECT, no support for font icon
    • .ns-select styles are still supported for direct CSS usage, but the constant no longer exists.
  • refactor all examples to use new component

@blueprint-bot
Copy link

Merge branch 'develop' of github.com:palantir/blueprint into gg/html-select

Preview: documentation | landing | table

@giladgray giladgray changed the title new HtmlSelect component new HTMLSelect component Jun 20, 2018
Copy link
Member

@invliD invliD left a comment

Choose a reason for hiding this comment

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

you missed a bunch of renames (all the usages of the new component).

{this.renderSelectMenu("Minimum value", minValueIndex, MIN_VALUES, this.handleMinValueChange)}
{this.renderSelectMenu("Maximum value", maxValueIndex, MAX_VALUES, this.handleMaxValueChange)}
{this.renderSwitch("Disabled", disabled, this.toggleDisabled)}
{/* {this.renderSwitch("Read-only", showReadOnly, this.toggleReadOnly)} */}
Copy link
Member

Choose a reason for hiding this comment

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

remove?

disabled,
fill,
large,
// showReadOnly,
Copy link
Member

Choose a reason for hiding this comment

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

remove?

private toggleLeftIcon = handleBooleanChange(leftIcon =>
this.setState({ leftIcon: leftIcon ? "dollar" : undefined }),
);
// private toggleReadOnly = handleBooleanChange(readOnly => this.setState({ readOnly }));
Copy link
Member

Choose a reason for hiding this comment

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

remove?

max: 100,
min: 0,
minorStepSize: 0.1,
// readOnly: false,
Copy link
Member

Choose a reason for hiding this comment

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

remove?

@blueprint-bot
Copy link

finish renaming

Preview: documentation | landing | table

@blueprint-bot
Copy link

deprecate Classes.SELECT

Preview: documentation | landing | table

@blueprint-bot
Copy link

Merge branch 'develop' into gg/html-select

Preview: documentation | landing | table

@giladgray giladgray merged commit 986d40c into develop Jun 20, 2018
@giladgray giladgray deleted the gg/html-select branch June 20, 2018 21:18
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.

3 participants