Skip to content

Commit

Permalink
[ColumnHeaderCell] Fix deprecated label on useInteractionBar prop (#…
Browse files Browse the repository at this point in the history
…1692)

* Remove @ char to fix useInteractionBar's deprecated label

* Make deprecated description more succinct

* Fix broken tag styles in docs
  • Loading branch information
cmslewis committed Oct 9, 2017
1 parent 84b7b56 commit 3f1f723
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 6 additions & 3 deletions packages/docs/src/styles/_props.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@
}

.docs-prop-tags {
margin: $pt-grid-size 0 0;
$tag-top-margin: ($pt-grid-size / 10) * 3;

margin: ($pt-grid-size - $tag-top-margin) 0 0;

&:empty { display: none; }

.pt-tag + .pt-tag {
margin-left: $pt-grid-size;
.pt-tag {
margin-top: $tag-top-margin;
margin-right: $pt-grid-size;
}
}

Expand Down
5 changes: 2 additions & 3 deletions packages/table/src/headers/columnHeaderCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ export interface IColumnNameProps {
* clobbering the menu or other interactions.
*
* @default false
* @deprecated since @blueprintjs/table v1.27.0; pass this prop to `Table`
* instead. (If you don't, the `Table` will not be able to properly resize
* the column header when `useInteractionBar` is toggled on and off.)
* @deprecated since blueprintjs/table v1.27.0; pass this prop to `Table`
* instead.
*/
useInteractionBar?: boolean;
}
Expand Down

1 comment on commit 3f1f723

@blueprint-bot
Copy link

Choose a reason for hiding this comment

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

[ColumnHeaderCell] Fix deprecated label on `useInteractionBar` prop (#1692)

Preview: documentation
Coverage: core | datetime

Please sign in to comment.