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

[Tags] Add pt-interactive support #2251

Merged
merged 7 commits into from
Mar 19, 2018
Merged

[Tags] Add pt-interactive support #2251

merged 7 commits into from
Mar 19, 2018

Conversation

llorca
Copy link
Contributor

@llorca llorca commented Mar 15, 2018

No description provided.

@llorca llorca requested a review from giladgray March 15, 2018 22:04
@giladgray
Copy link
Contributor

@llorca merge develop to fix build

@@ -1,6 +1,9 @@
// Copyright 2015 Palantir Technologies, Inc. All rights reserved.
// Licensed under the terms of the LICENSE file distributed with this project.

$tag-default-color: $gray1;
$dark-tag-default-color: $gray5;
Copy link
Contributor

Choose a reason for hiding this comment

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

add !default to both of these

@blueprint-bot
Copy link

Merge remote-tracking branch 'origin/develop' into al/tags-interactive

Preview: documentation | landing | table

@giladgray
Copy link
Contributor

i feel like minimal hover state is too strong compared to default state -- too big of a change.

@blueprint-bot
Copy link

increase contrast of regular interactive tags

Preview: documentation | landing | table

@@ -48,7 +65,7 @@ export class Tag extends React.PureComponent<ITagProps, {}> {
) : null;

return (
<span {...htmlProps} className={tagClasses}>
<span {...htmlProps} className={tagClasses} onClick={onClick}>
Copy link
Contributor

Choose a reason for hiding this comment

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

revert onClick change

@@ -18,6 +18,22 @@ export interface ITagProps extends IProps, IIntentProps, React.HTMLAttributes<HT
*/
active?: boolean;

/**
* Whether the tag should respond to user interactions. If set to `true`,
Copy link
Contributor

Choose a reason for hiding this comment

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

"visually respond"

@blueprint-bot
Copy link

address comments

Preview: documentation | landing | table

@blueprint-bot
Copy link

add CSS API docs

Preview: documentation | landing | table

@@ -63,6 +64,7 @@ Styleguide pt-tag

.pt-large - Large
.pt-round - Rounded corners, ideal for badges
.pt-interactive - Hover and active effects
Copy link
Contributor

Choose a reason for hiding this comment

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

@llorca i added CSS example for minimal tags

@llorca llorca mentioned this pull request Mar 17, 2018
26 tasks
@blueprint-bot
Copy link

Update _tag.scss

Preview: documentation | landing | table

@giladgray giladgray merged commit 5f25f8d into develop Mar 19, 2018
@giladgray giladgray deleted the al/tags-interactive branch March 19, 2018 19:03
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