From df20ae8f086cab44cd759c29484df4af2703ea37 Mon Sep 17 00:00:00 2001 From: Gilad Gray Date: Thu, 19 Apr 2018 15:44:03 -0700 Subject: [PATCH 1/2] Prepare release v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b47ef2a735..68e49d51a0b 100644 --- a/package.json +++ b/package.json @@ -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": [ From 0a93bbdf8ce0960af5956e8e8ea0e4370ef0a382 Mon Sep 17 00:00:00 2001 From: Gilad Gray Date: Thu, 19 Apr 2018 15:48:38 -0700 Subject: [PATCH 2/2] card elevation docs --- packages/core/src/components/card/card.md | 14 +++++++------- packages/core/src/components/card/card.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/core/src/components/card/card.md b/packages/core/src/components/card/card.md index 6afa524679b..284f673c02a 100644 --- a/packages/core/src/components/card/card.md +++ b/packages/core/src/components/card/card.md @@ -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. diff --git a/packages/core/src/components/card/card.tsx b/packages/core/src/components/card/card.tsx index 6b53d6952ba..5b0750ff739 100644 --- a/packages/core/src/components/card/card.tsx +++ b/packages/core/src/components/card/card.tsx @@ -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.