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

Feature/bring upstream changes #10

Merged
merged 17 commits into from
Oct 11, 2018

Conversation

NachoJusticia
Copy link

@crispamares here I put a summary of changes comming from upstream (version blueprintjs/core@3.7.0).

### Main changes:

giladgray and others added 17 commits September 26, 2018 13:46
* fix spinner overflow with padding

* spinner TagName determines both elements

* revert css change

* Compute viewbox such that stroked track sits exactly at edge of image frame

* add viewbox test
…ed (palantir#2988)

* newly focused cell after keyboard navigation is now transformed, fixes palantir#2871

* removed unnecessary tslint directive

* selectedRegionTransform() may return a new region so forEach() is not enough

* ISelectedRegionTransform now also accepts keyboard events
* first pass at creating a small sized InputGroup

* fixing a couple more things in the example

* fixing linting issues and various other misc issues that @giladgray pointed out

* adding a bp3-tag inside of small input css rule, fixing missing scss variable error

* adding bp3-tag rule to _input.scss

* fixing input-small padding issues; adding css input small examples

* fixing weird linting issue..

* making padding rely on pt-grid-size instead of a hardcoded variable

* adding a input-small-padding variable and updating to use the new variable

* switching a couple scss variables
* Utils.isElementOfType checks displayName equality to support multiple minor versions

* MultiSliderHandle add displayName

* refactor Tabs to use type guard for children

* fix Tabs type guard

* add displayName fields to some Table components

* oops lint
* Create a fixer for classes-constants lint rule

1. The lint rule will now fail the entire node, instead of just the pt-* string
2. The lint rule now has a fixer that will replace the pt-* string with the blueprint import

* PR comments

* Add DOM library to make compile work without skipLibCheck

* Undo regression to tslint error reporting
* complete refactor to tests with a sweet harness

* add onOverflow callback prop & isResizing state & test.

* short example crumbs so they can all be visible

* only invoke onOverflow when items change

added some state fields to support this logic.
complex stuff as it can happen over several renders.

* more onOverflow tests & helper

* more docs, combine if

* reset lastOverflow with new props

* simplify lastOverflow check - just length

* lastOverflowCount defaults to 0

* fix name in comment
* [Tag] don't render text if no children

* add tests
* pull string literal replacement logic to separate function

much more legible, only one push().
add doc comments.

* further refactor into two helper methods

replacement logic is dead simple now

* remove a helper function

* deconstruct, pattern at the top

* small edits

* amend regex to ignore pt-icon strings

* pull out match iteration logic
* adjust new variables

* fix font icons in input-groups

* fix small round padding

* refactor textarea styles, add small prop to component
* move example tooltip

* proper icon color, including in secondary label

* remove unnecessary color rule

* use chevron instead of caret

* center popover wrappers/targets in secondary label

* scope icon color

* fix caret styles for SVGs. style the Icon component directly.

* maybeRenderCaret, fix no-caret width

* test refactors

* remove line-height
* lint bp3- prefix too

* merge multiple spaces in stringWithoutPtClasses

* add some bp3 tests

* found a lint failure!
 - @blueprintjs/core@3.7.0
 - @blueprintjs/datetime@3.3.0
 - @blueprintjs/icons@3.2.0
 - @blueprintjs/table@3.2.0
 - @blueprintjs/tslint-config@1.6.0
* edit icons docs, add example

* refactor docs icons: sort icons within groups

* Radial => Circle icon displayName
@NachoJusticia NachoJusticia self-assigned this Oct 10, 2018
@NachoJusticia
Copy link
Author

I would squash these changes into a single commit

@crispamares
Copy link

Have you bring already released changes or are you getting them from deploy?
We should be following only reseases as we use uptstream javascripts in graphext.

I'm fine with the changes.

@NachoJusticia
Copy link
Author

I brought those changes from develop upstream branch which is the default one and where all PRs point to. Version 3.7.0 was published 5 days ago: https://www.npmjs.com/package/@blueprintjs/core

@crispamares
Copy link

So this PR merge commits that are newer than 3.7.0? That could cause us problems, where the CSS is more modern than the javascript.

@NachoJusticia
Copy link
Author

@crispamares see https://github.com/graphext/graphext/pull/165
We should accept both

@NachoJusticia
Copy link
Author

@crispamares we won't have problems because these are the changes after published version:

Then, there aren't changes in the packages we are using: core and select.

Copy link

@crispamares crispamares left a comment

Choose a reason for hiding this comment

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

Perfect then

@NachoJusticia NachoJusticia merged commit 8150565 into graphext Oct 11, 2018
@NachoJusticia NachoJusticia deleted the feature/bring-upstream-changes branch October 11, 2018 11:57
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.

8 participants