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

Prepare release v2.2.0 #2411

Merged
merged 2 commits into from
Apr 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blueprintjs-monorepo",
"version": "2.1.0",
"version": "2.2.0",
"private": true,
"description": "A React UI toolkit for the web.",
"workspaces": [
Expand Down
14 changes: 7 additions & 7 deletions packages/core/src/components/card/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ A card is a bounded unit of UI content with a solid background color.

@## CSS API

Start with `.@ns-card` and add an elevation modifier class to apply a drop shadow that simulates
height in the UI.
Start with `.@ns-card` and add an elevation modifier class to apply a drop
shadow that simulates height in the UI.

You can also use the `.@ns-elevation-*` classes by themselves to apply shadows to any arbitrary
element.
You can also use the `.@ns-elevation-*` classes by themselves to apply shadows
to any arbitrary element.

@css card

@### Interactive cards

Add the `.@ns-interactive` modifier class to make a `.@ns-card` respond to user interactions. When you
hover over cards with this class applied, the mouse changes to a pointer and the elevation shadow on
the card increases to the maximum level.
Add the `.@ns-interactive` modifier class to make a `.@ns-card` respond to user
interactions. When you hover over cards with this class applied, the mouse
changes to a pointer and increases the elevation shadow on the card.

Users expect an interactive card to be a single clickable unit.

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/card/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ICardProps extends IProps, HTMLDivProps {

/**
* Whether the card should respond to user interactions. If set to `true`,
* hovering over the card will increase the card's elevation to the maximum
* hovering over the card will increase the card's elevation
* and change the mouse cursor to a pointer.
*
* Recommended when `onClick` is also defined.
Expand Down