Skip to content

Commit

Permalink
Update from upstream (#33)
Browse files Browse the repository at this point in the history
* [OverflowList] Always re-render items (palantir#3278)

* Allow overriding of heading typography in Sass (palantir#3283)

* [TimezonePicker] Support a custom target via <children> (palantir#3287)

* Export getTimezoneMetadata(), add default value for date parameter

* Support one custom child in <TimezonePicker>

* Update example

* Update tests

* (nit) Rename to CustomTimezonePickerTarget

* Add more docs about possibly ignored props

* Update docs

* Respond to @giladgray CR

* Create CHANGELOG.md

* Suggest query remains when closed if nothing is selected. (palantir#3289)

* Allow shortcuts to change time in Date Range Picker (palantir#3223)

* Allow date range shortcuts to change time

* Address PR comments

* lint

* [Suggest] add `disabled` and `resetOnClose` props (palantir#3292)

* add Suggest resetOnClose prop a la Select

* add Suggest disabled prop

* add resetOnClose switch to example

* docs note

* [QueryList] Initialize activeItem state correctly based on prop. (palantir#3290)

* Initialize QueryList's activeItem state correctly based on prop.

* Fix comment typo

* Code cleanup

* [PanelStack] Allow any prop type for initial panels (palantir#3295)

* [Tooltip] allow HOVER interactions (palantir#3291)

* [Tag] fill & [TagInput] intent props (palantir#3237)

* add Tag fill prop

* add TagInput intent prop

* add tag fill styles & example switch

* docs: Fix link to Popover (palantir#3300)

* Add directory details to packages/*/package.json (palantir#3301)

Specifying the directory as part of the `repository` field in a `package.json`
allows third party tools to provide better support when working with monorepos.
For example, it allows them to correctly construct a commit diff for a specific
package.

This format was accepted by npm in
[npm/rfcs#19](npm/rfcs#19).

* Add directory to repository details in package.json files (palantir#3299)

Specifying the directory as part of the `repository` field in a `package.json`
allows third party tools to provide better support when working with monorepos.
For example, it allows them to correctly construct a commit diff for a specific
package.

This format was accepted by npm in npm/rfcs#19.

* [select] Add optional "itemsEqual" comparator prop to QueryList and related components (palantir#3285)

* Improve QueryList and related components to support optional
equality test implementation for non-primitive item types.

* Revert change to use undefined for representing no selection

* Finish revert change to use undefined for representing no selection

* Remove TODO

* Remove unnecessary param documentation

* Rename "areValuesEqual" prop to "itemsEqual"

* Improve "itemsEqual" prop to also support a property name.

* Documentation typos

* Documentation improvements

* Update copyright year in new file

* Rename new unit test file

* [DRP] Shortcuts support changing time & docs (palantir#3293)

* shortcut shouldChangeTime => includeTime

* revert unnecessary test changes

* add Shortcuts docs to DRP

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [select] consistency refactors (palantir#3305)

* code consistency across `select` components:

- public state = ... (not inconstructor)
- non-optional refs
- safeInvokeMember to reduce destructuring

* fix tests, explicit null check

* dedupe shortcuts prop types (palantir#3311)

* [NumericInput] allows min === max (palantir#3296)

* NumericInput allows min === max

* add test

* [NumericInput] new rightElement prop (palantir#3314)

* Update select-component.md (palantir#3319)

* Fixing typo (palantir#3318)

Missing "and"

* Added new inbox icons (palantir#3335)

* [docs] click to download sketch files from Resources page (palantir#3334)

* click to download sketch files from Resources page

* lint

* use /raw/ url to download actual file

* rename resource files so they download correctly

* add "Missing fonts?" callout

* minor style polish

* Add internal text to switch component (palantir#3327)

* switch text v0

* font size a bit smaller

* add an example of internal text property

* test

* cleanup

* lint fixes

* review comments

* remove whitespace in tests

* more review comments

* even more review changes

* remove errant property

* restore comment

* update prop docs

* additional tests

* remove unnecessary checks

* [Spinner] SIZE_SMALL = 20 (palantir#3342)

* Spinner.SIZE_SMALL = 20

* fix isotest

* [NumericInput] countDecimalPlaces for number type (palantir#3337)

Fixes palantir#3336

* New Drawer component (palantir#2957)

* add files

* fixed styling

* dark theme added

* Added vertical orientation

* changed viewport units

* Added small and large sizes

* Standardized sizing

* backdrop fixed

* add tests

* small/large => one size prop

* update size constants

* add hasBackdrop switch to example

* use Drawer for API browser

* size prop docs

* fix isotest

* add size+vertical tests, actually run suite

* [DatePicker] fix onChange on month change after initial day selection (palantir#3343)

* fix onChange doesn't fire on month change after initial day selection
Fixes palantir#3340

* change !== to != operator

* add test onChange fired when month is changed for uncontrolled datepicker

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* Corrected the type of Popover's onInteraction prop (palantir#3348)

* ButtonGroup supports "fill" prop when Buttons are wrapped in Popovers (palantir#3347)

* 🔧 upgrade tslint (palantir#3315)

* Fix shortcuts.tsx react import typings (palantir#3356)

* [Tabs] add panelClassName prop (palantir#3351)

* Fix lint (palantir#3374)

* [Core] Fixed not applying intent color for icon inside tree node (palantir#3355)

* [Core] Add option to make tree node disabled (palantir#3354)

* Drawer default prop warning fix (palantir#3382)

* [Select] Create-able Select components (palantir#3381)

* Upgrade dev dependencies and types (palantir#3370)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [Core] Overlay: fix transitionDuration documentation (palantir#3391)

* [Core] Fix react types regression (palantir#3390)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* Publish

 - @blueprintjs/[email protected]

* [Core] Checkbox: fix indeterminate state update (palantir#3409)

Fixes palantir#3408

* Minor README updates

* [Core] Docs: fix small typo (palantir#3411)

"accomodate" to "accommodate"

* [Docs] Overlay Example: add option to test scrolling behavior (palantir#3406)

* Update Bug_report.md

* [datetime] docs: fix react-day-picker API hyperlink (palantir#3435)

* [core] TagInput: use undefined instead of null to hide clearButton (palantir#3436)

* [Select] hide QueryList item list when menuContent and createItemView are both null (palantir#3426)

* [MultiSelect] Enable pasting of multiple values (same as TagInput) (palantir#3428)

* [Core] Add z-index to panel stack header (palantir#3414)

* [Core] Add option to grow text area with input (palantir#3398)

* [Core] TextArea: fix style object regression (palantir#3440)

* [Core] Add position prop to Drawer component, deprecate vertical prop (palantir#3386)

* [Table] Fix resizable props documentation (palantir#3400)

* Switch to standard Apache-2.0 license (palantir#3457)

* [table] Fix documentation to use the right css file name (palantir#3452)

* Prepare release v3.15.0 (palantir#3458)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [Core] File input text styling for active selections (palantir#3375)

* [Icons] Added new inheritance icon (palantir#3451)

* Added new inheritance icon

* Updated content per CR

* Update font files

* Fix typo in bug report template

* [datetime] Fix DateInput IE11 bug when changing month/day (palantir#3471)

* Upgrade react-day-picker, fix caption months support, regen lockfile (palantir#3461)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] Fix NumericInput documentation of initial state value (palantir#3484)

* Upgrade documentalist, refactor CI config (palantir#3482)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [docs] Fix accidental markdown strikethrough (palantir#3493)

- Incorrectly showed up as strikethrough text on https://blueprintjs.com/docs/#core/components/popover

* [datetime] [bugfix] Hover over date no longer clears time input (palantir#3502)

* [datetime] [bugfix] render the correct month when DRP singleMonthOnly is enabled (palantir#3504)

* [Icons] Added new UI icons (palantir#3510)

* [Select] Change activeItem when items change (palantir#3496)

* [datetime] Fix DRP inconsistency with single day ranges and time precision enabled (palantir#3557)

* Prepare datetime, icons, select release (palantir#3565)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [docs-app] fix scrolling of interface definition drawer (palantir#3576)

* [core] Improve dark muted and disabled text contrast (palantir#3584)

* Fix docs rendering of mixed HTML / markdown content (palantir#3585)

* [dependencies] Bump js-yaml, cssnano, svgo

* [core] Fix number of clicks required to use HTMLSelect inside ControlGroup in Firefox (palantir#3568)

* [table] add editableTextProps to allow adjusting cells during editing (palantir#3350)

* [core] fix TagInput tags overflowing their container (palantir#3591)

* [core] Fix intent color for Icons inside Tree component in dark mode (palantir#3598)

* [core] Allow hiding panel stack header (palantir#3600)

* Update abstract button props to match react's. (palantir#3608)

React recently updated the typings for HTML button from 'string'
to a more limited union. See:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L1848
for the current types.

* [core] docs: use Pre component in Collapse example (palantir#3610)

* [core] Add controlled mode to PanelStack (palantir#3601)

* [datetime] feat(DateRangeInput): add support for disabling start or end input (palantir#3607)

* [table] feat(RowHeaderCell): Add support for nameRenderer (palantir#3447)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* Upgrade testing infrastructure (palantir#3615)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* Fix up inter-package dependencies

* Publish

 - @blueprintjs/[email protected]

* [tslint-config] Fix suggestion for <table> element replacement (palantir#3624)

* [datetime] Fix typing values into TimePicker's fields (palantir#3613)

* [docs-app] Fix minor bug in upload toast example (palantir#3626)

* [core] docs: add caveat about tooltip target element (palantir#3620)

* [select] bugfix(Select): fix keyboard navigation when all items disabled (palantir#3627)

* [select] fix: do not call itemRenderer when Select is disabled (palantir#3629)

* [core] fix(Toast): long words in toast messages no longer break container layout (palantir#3634)

* Various documentation fixes (palantir#3635)

* [core] fix(Switch): tweak dark theme hover/active colors (palantir#3637)

Fixes palantir#3599

* Split karma testing into more CI containers (palantir#3638)

* [core, select] feat: add fill prop to Popover, InputGroup, Suggest, MultiSelect (palantir#3636)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [ci] fix: persist lib files when building dist

* Publish

 - @blueprintjs/[email protected]

* [datetime] feat(DatePicker): add option to highlight current day (palantir#3628)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] feat(FileInput): add buttonText prop (palantir#3560)

* [core] fix(HotkeysTarget): invoke user-defined key event handlers correctly (palantir#3645)

* [core] fix(TextArea): grow box vertically to show initial content (palantir#3647)

* [table] fix EditableCell update cycle, improve EditableName docs (palantir#3649)

* [datetime] fix(DateRangeInput): maintain focus on time inputs during key interactions (palantir#3644)

* fix: restrict tslib dependency to minor version range

* chore: upgrade non-react typings

* [docs-app] feat(DateRangeInputExample): time picker toggle

* chore: upgrade to typescript 3.2 (palantir#3653)

* chore: upgrade to typescript 3.5.3 (palantir#3654)

* chore: upgrade documentalist (palantir#3656)

* [datetime] fix(DRI): do not close on selection when time inputs receive key presses (palantir#3658)

* [core] fix(EditableText): support selectAllOnFocus with type=number in latest React (palantir#3672)

* fix: correctly declare react peer deps in package.json (palantir#3676)

* [core] fix(Popover): only apply active class to target in uncontrolled mode (palantir#3677)

* [docs-app] create "Design Principles" section, mention CSS API contract (palantir#3678)

* chore: upgrade dependencies, delete labs package (palantir#3679)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - [email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* chore: minor adjustment to vscode settings

* [core] fix(Drawer): use Sass variable $drawer-padding (palantir#3689)

Correcting use of $dialog-padding to $drawer-padding

* [core] feat: support create-react-app environment variable (palantir#3691)

Allows create-react-app users to set a custom blueprint namespace more easily.

* [table] fix(EditableCell): support tabIndex prop correctly (palantir#3687)

* [core] docs(Popover) fix import statements (palantir#3708)

* chore: Update Lerna URL in Readme (palantir#3715)

* [core] fix(Popover): click on target no longer affects hover behavior (palantir#3716)

* [core] fix(AnchorButton): left text alignment (palantir#3713)

* [datetime] feat(DateRangePicker): add active menu styles to shortcuts (palantir#3688)

* [datetime] fix: upgrade react-day-picker, clean up type imports (palantir#3725)

* [core] docs: add missing closing angle bracket (palantir#3714)

* chore: update code sandbox to latest package versions

* [core] fix(MenuItem): avoid React warning for unknown attr labelClassName (palantir#3730)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] docs(Toaster): fix position prop comment (palantir#3657)

* [icons] feat: add learning, new layer(s), stopwatch icons (palantir#3745)

* [core] fix(MultiSlider): fix rendering bug with track fill (palantir#3733)

* Refactor to use React 16.3+ lifecycle methods (palantir#3702)

* [datetime] fix(TimePicker): allow more natural text entry (palantir#3762)

* [select] fix(Suggest): Default autoComplete for text input to "off" (palantir#3724)

* [core] feat(Tab): spread HTML props to rendered div (palantir#3766)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* fix: lifecycle methods in MultiSlider, Resizable, and TableBodyCell (palantir#3771)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [select] fix(QueryList): re-render when controlled items change (palantir#3776)

* Publish

 - @blueprintjs/[email protected]

* [core] fix(Toast): fix bottom toast animation (palantir#3784)

* [core] feat(Breadcrumb): render icon if provided through props (palantir#3786)

* [core] fix(NumericInput): correct styles when placed inside label (palantir#3809)

* [core] fix(PanelStack): do not trigger unintended animations (palantir#3787)

* [core] docs: fix spelling of "dropdown" (palantir#3806)

* chore: use latest tree-sitter-typescript from github (palantir#3812)

* [core] fix(TagInput): prevent infinite setState in componentDidUpdate (palantir#3811)

* chore: remove commented code

* [core] fix(InputGroup): prevent infinite setState in componentDidUpdate (palantir#3813)

* [icons] feat: new icons (palantir#3816)

- New drawing
- Data lineage
- Archive
- Unarchive
- Signal search

* [core] feat(Toaster): ability to set max number of active toasts (palantir#3770)

* [datetime] feat: export IDateRangeInputProps (palantir#3821)

* [core] fix(NumericInput): do not trigger onValueChange if value is changed via props (palantir#3814)

* [datetime] feat(DateInput): add fill prop (palantir#3777)

* [datetime] feat: add shortcuts to single date picker (palantir#3818)

* [table] fix: cell copy to clipboard works in IE11 (palantir#3764)

* [core] fix(Collapse): simplify lifecycle, fix animation bugs (palantir#3831)

* [select] fix(MultiSelect): better handling of key events in Tag… (palantir#3836)

* [core] fix(Switch): indicator background colors (palantir#3828)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [datetime] fix(Shortcuts): make shortcuts container focusable (palantir#3843)

* Publish

 - @blueprintjs/[email protected]

* [core] feat(EditableText): add alwaysRenderInput experimental feature (palantir#3841)

* [core] feat(Drawer): add Sass variables for background color (palantir#3857)

* chore: update dev env prerequisites

* [core] fix(TagInput): add intent styling when component is active (palantir#3855)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] fix: Explicitly declare dom4 side effects (palantir#3867)

* [core] chore: isolate dom4 import to its own module (palantir#3868)

* [core] feat: high contrast CSS with color adjustments to pass WCAG requirements (palantir#3862)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* Fix PanelStack (palantir#3879)

Approving since only test failures are unrelated

* Fix DatePicker unit test (palantir#3880)

DatePicker unit tests started failing in December because
it relied on being able to press "next month". This change
sets the initial month to January.

* add tractor, truck, bring in data icons (palantir#3878)

* Release core 3.22.1

* Fix 3882 (palantir#3886)

Add gated input.focus to reinstate previous behavior

* Update react-popper to include important bugfix (palantir#3885)

* Update react-popper to include the fix from floating-ui/react-popper#320

* Update popper to 1.3.7

* Dedupe

* Yarn fix

* Yarny yarn

* Yo yo yarn

* Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]

* Include index.js files in sideEffects list (palantir#3876)

* Include index files in sideEffects list

* Remove unnecessary index.js sideEffects

* Publish
- @blueprintjs/[email protected]
- @blueprintjs/[email protected]

* [timezone] fix: upgrade moment-timezone to fix Brazilian timezones (palantir#3873)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] fix(Toast): bottom toasts exit in the correct direction (palantir#3911)

Fixes palantir#3791

* [docs-app] fix(FormGroupExample): label ids (palantir#3892)

* [core] fix(NumericInput): correct rounding of default value (palantir#3894)

Fixes palantir#3889

* [docs-app] fix: CSS wrapping of main title in sidebar (palantir#3896)

* [core] fix(Toast): bottom shadow is no longer clipped (palantir#3912)

* [datetime] chore: fix tests which used year 2020 (palantir#3916)

* chore: use ESLint to run TSlint (palantir#3887)

* [core] feat: add intent prop to Slider and RangeSlider (palantir#3913)

* [table] fix: invalidate grid before rendering table when dimensions change (palantir#3888)

* chore: upgrade dependencies (palantir#3920)

* [core] docs: update link to popper.js modifiers reference (palantir#3922)

* [core] docs(Popover): fix text referencing "dismiss" buttons in example (palantir#3923)

* [core] fix(EditableText): allow setting value to null in controlled mode (palantir#3924)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [core] fix(Overlay): avoid rare crash in focus handling logic (palantir#3936)

* [resources] update sketch palette with named colors instead of hex (palantir#3931)

* chore: convert custom tslint rules to eslint (palantir#3917)

* [eslint-plugin-blueprint] fix(icon-components): autofix (palantir#3938)

also run this package's tests in CI properly

* [table] fix: column resize calculation on header double click (palantir#3732)

* [core] fix(Collapse): closing animation (palantir#3929)

* Prepare release (palantir#3939)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* fix: eslint-config package reference, improve es-lint build script (palantir#3940)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* chore: update README with new ESLint packages

* [core] feat(PanelStack): add renderCurrentPanelOnly prop (palantir#3768)

* [core] fix(PanelStack): rename prop and other fixes (palantir#3950)

* [core] feat(Button): add "outlined" modifier (palantir#3947)

* chore: upgrade to typescript 3.7 (palantir#3953)

* [core] remove non-HTML attributes in overflow menu items (palantir#3956)

* [icons] feat: add diagnosis and lab test icons (palantir#3966)

* [core] fix(HtmlSelect): text color for disabled options in dark mode (palantir#3968)

* [core] docs(Alert): clarify that intent applies to icon too (palantir#3978)

* [core] fix(InputGroup): right element padding adjusting on update (palantir#3973)

* [select] feat(Suggest): sync activeItem with selectedItem on popover close (palantir#3934)

* Publish

 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]
 - @blueprintjs/[email protected]

* [datetime] fix(DateRange): values are possibly null, not undefi… (palantir#3983)

fixes palantir#3970

* [core] feat(NumericInput): supply input element to onValueChange (palantir#3982)

* [core] feat(NumericInput): supply input element in onValueChange callback

* small refactor, use optional chaining to invoke callback

* fix lint

* fix more tests

* fix lint, remove describe.only

* [eslint-config] docs: add README (palantir#3985)

* [docs-app] feat(BreadcrumbsExample): render current as input (palantir#3986)

* [core] feat(TagInput): handle delete to remove items (palantir#3993)

Allows users to press `DELETE` on their keyboards to delete
an item from `<TagInput />`, which in turn is used by the
`Select` family of components.

Handling `DELETE` to remove item mimics the way `DELETE` works
in a text editor, where an user can delete from the beginning
of the line forward. Reaching the end of the line, in our
case passing the last selected item in `<TagInput />` will stop
deleting. Moving the selection to the first item and deleting
from that point onwards repeatedly will delete all the selected
items.

* [core] fix(Button): remove invalid HTML attr (palantir#3998)

update INVALID_PROPS list used by removeNonHTMLProps() utility fn

* [datetime] docs: improved localization code example (palantir#4003)

* chore(deps): bump acorn from 5.7.3 to 5.7.4 (palantir#4011)

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [datetime] feat(DatePicker): add support for dayPickerProps.renderDay (palantir#4012)

* docs(README): update code sandbox link

Co-authored-by: Sebastian Brückner <[email protected]>
Co-authored-by: Ed Hinchliffe <[email protected]>
Co-authored-by: Chris Lewis <[email protected]>
Co-authored-by: Gilad Gray <[email protected]>
Co-authored-by: Gilad Gray <[email protected]>
Co-authored-by: yixunx <[email protected]>
Co-authored-by: Jeff Lau <[email protected]>
Co-authored-by: Gianfrancø Palumbo <[email protected]>
Co-authored-by: Philip Harrison <[email protected]>
Co-authored-by: Grey Baker <[email protected]>
Co-authored-by: Mark Sinapilo <[email protected]>
Co-authored-by: mohanaravind <[email protected]>
Co-authored-by: Piotr Adam Kwiatkowski <[email protected]>
Co-authored-by: Leah Anderson <[email protected]>
Co-authored-by: Isabel Muñoz <[email protected]>
Co-authored-by: Endi Modric <[email protected]>
Co-authored-by: MGHawes <[email protected]>
Co-authored-by: Marvin Sum <[email protected]>
Co-authored-by: Phil Chen <[email protected]>
Co-authored-by: Yury Shevchenko <[email protected]>
Co-authored-by: Shuyang Li <[email protected]>
Co-authored-by: Jacek Jagiełło <[email protected]>
Co-authored-by: Acko <[email protected]>
Co-authored-by: Adi Dahiya <[email protected]>
Co-authored-by: Adi Dahiya <[email protected]>
Co-authored-by: Gabe Boning <[email protected]>
Co-authored-by: Stephen Kennedy <[email protected]>
Co-authored-by: jamison judge <[email protected]>
Co-authored-by: wangxiaolei <[email protected]>
Co-authored-by: Matt Conway <[email protected]>
Co-authored-by: Thomas Rich <[email protected]>
Co-authored-by: Paul Okuda <[email protected]>
Co-authored-by: jroitgrund <[email protected]>
Co-authored-by: Nick Zelei <[email protected]>
Co-authored-by: peachfuzz <[email protected]>
Co-authored-by: Christopher Yu <[email protected]>
Co-authored-by: Gertjan van Oosten <[email protected]>
Co-authored-by: Bala <[email protected]>
Co-authored-by: James Greenleaf <[email protected]>
Co-authored-by: David <[email protected]>
Co-authored-by: Rhys Brett-Bowen <[email protected]>
Co-authored-by: Chris Lott <[email protected]>
Co-authored-by: alecf <[email protected]>
Co-authored-by: n1xx1 <[email protected]>
Co-authored-by: Sebastian Brückner <[email protected]>
Co-authored-by: Mac Lockard <[email protected]>
Co-authored-by: ericjeney <[email protected]>
Co-authored-by: Shovon Hasan <[email protected]>
Co-authored-by: Tanmoy Bhowmik <[email protected]>
Co-authored-by: Benjamin Lee <[email protected]>
Co-authored-by: Veda <[email protected]>
Co-authored-by: Jeremy Paterson <[email protected]>
Co-authored-by: Mihail Novikov <[email protected]>
Co-authored-by: 李逸飛 <[email protected]>
Co-authored-by: Vadzim <[email protected]>
Co-authored-by: Nathan Hinish <[email protected]>
Co-authored-by: doanguyen <[email protected]>
Co-authored-by: Daniel Saewitz <[email protected]>
Co-authored-by: Garrett B <[email protected]>
Co-authored-by: Thibault V <[email protected]>
Co-authored-by: Darren Zhao <[email protected]>
Co-authored-by: Adam Storr <[email protected]>
Co-authored-by: Lei Ferretti <[email protected]>
Co-authored-by: Tobias Lengsholz <[email protected]>
Co-authored-by: trevor <[email protected]>
Co-authored-by: Pep Rodeja <[email protected]>
Co-authored-by: Caleb Angelino <[email protected]>
Co-authored-by: Adam Storr <[email protected]>
Co-authored-by: jamesgiu <[email protected]>
Co-authored-by: Max Bucknell <[email protected]>
Co-authored-by: Jonathan Christopher <[email protected]>
Co-authored-by: Ryan Hermstein <[email protected]>
Co-authored-by: Chu-Ya Chia <[email protected]>
Co-authored-by: Bill Dwyer <[email protected]>
Co-authored-by: Miklós András Danka <[email protected]>
Co-authored-by: Stephanie Yu <[email protected]>
Co-authored-by: Meike <[email protected]>
Co-authored-by: J Paterson <[email protected]>
Co-authored-by: Denis Sokolov <[email protected]>
Co-authored-by: Igor Lysak <[email protected]>
Co-authored-by: John Wiseheart <[email protected]>
Co-authored-by: Boaz Rymland <[email protected]>
Co-authored-by: Johnny Goodnow <[email protected]>
Co-authored-by: David Esteves <[email protected]>
Co-authored-by: John Wiseheart <[email protected]>
Co-authored-by: Valentine Nuikin <[email protected]>
Co-authored-by: Radosław Miernik <[email protected]>
Co-authored-by: Charles Perinet <[email protected]>
Co-authored-by: Spencer Sutton <[email protected]>
Co-authored-by: Rootul Patel <[email protected]>
Co-authored-by: lexistein <[email protected]>
Co-authored-by: Trevor Mehard <[email protected]>
Co-authored-by: Leon Coto <[email protected]>
Co-authored-by: Lumyo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malik Bagwala <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 399 changed files with 12,981 additions and 4,931 deletions.
236 changes: 138 additions & 98 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,123 +1,141 @@
version: 2

# this block contains anchors to reusable blocks of config.
references:
setup_env: &setup_env
docker:
- image: circleci/node:8.10.0
save_cache: &save_cache
key: v9-dependency-cache-{{ checksum "yarn.lock" }}
aliases:
- &docker-node-lts
- image: circleci/node:lts

- &docker-node-browsers
- image: circleci/node:lts-browsers
environment:
CHROME_BIN: "/usr/bin/google-chrome"

- &restore-node-modules-cache
name: Restore node_modules cache
key: v2-yarn-deps-{{ checksum "yarn.lock" }}

- &restore-yarn-cache
name: Restore yarnpkg cache
key: v2-yarn-cache

- &save-node-modules-cache
name: Save node_modules cache
paths:
- node_modules
# explicitly list each package node_modules
- packages/core/node_modules
- packages/datetime/node_modules
- packages/docs-app/node_modules
- packages/docs-data/node_modules
- packages/docs-theme/node_modules
- packages/icons/node_modules
- packages/karma-build-scripts/node_modules
- packages/labs/node_modules
- packages/landing-app/node_modules
- packages/node-build-scripts/node_modules
- packages/select/node_modules
- packages/table/node_modules
- packages/table-dev-app/node_modules
- packages/test-commons/node_modules
- packages/test-react15/node_modules
- packages/timezone/node_modules
- packages/tslint-config/node_modules
- packages/webpack-build-scripts/node_modules
restore_cache: &restore_cache
keys:
- v9-dependency-cache-{{ checksum "yarn.lock" }}
- v9-dependency-cache-
persist_to_workspace: &persist_to_workspace
root: '.'
key: v2-yarn-deps-{{ checksum "yarn.lock" }}

- &save-yarn-cache
name: Save yarnpkg cache
paths:
# directories to persist to workspace
- packages/*/dist
- packages/*/lib
- packages/*/src/generated
- ~/.cache/yarn
key: v2-yarn-cache

references:
reports_path: &reports_path
path: ./reports

jobs:
install-dependencies:
<<: *setup_env
checkout-code:
docker: *docker-node-lts
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- run: yarn --frozen-lockfile
- run: npm rebuild node-sass
- save_cache: *save_cache
- restore_cache: *restore-yarn-cache
- restore_cache: *restore-node-modules-cache
- run: yarn install --non-interactive --cache-folder ~/.cache/yarn
- run:
name: Check if yarn.lock changed during install
command: git diff --exit-code
- save_cache: *save-node-modules-cache
- save_cache: *save-yarn-cache
- persist_to_workspace:
root: '.'
paths:
- yarn.lock
paths: [packages/*/node_modules]

clean-lockfile:
docker: *docker-node-lts
steps:
- checkout
- restore_cache: *restore-node-modules-cache
- run: ./scripts/verifyCleanLockfile.sh

compile:
<<: *setup_env
docker: *docker-node-lts
resource_class: large
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: yarn compile
- persist_to_workspace: *persist_to_workspace
- persist_to_workspace:
root: '.'
paths: [packages/*/lib, packages/*/src/generated]

lint:
<<: *setup_env
docker: *docker-node-lts
environment:
JUNIT_REPORT_PATH: reports
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- run: mkdir -p ./reports/tslint ./reports/stylelint
- run: yarn compile --scope "@blueprintjs/tslint-config"
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: mkdir -p ./reports/eslint ./reports/stylelint
# we need to compile the lint rules for blueprint
- run: yarn compile --scope "@blueprintjs/{eslint-plugin-blueprint,tslint-config}"
- run: yarn lint
- store_test_results: *reports_path
- store_artifacts: *reports_path
- store_test_results: { path: ./reports }
- store_artifacts: { path: ./reports }

dist:
<<: *setup_env
docker: *docker-node-lts
resource_class: large
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- run: yarn dist:libs
- run: yarn dist:apps
- persist_to_workspace: *persist_to_workspace
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: yarn dist
- persist_to_workspace:
root: '.'
paths: [packages/*/lib, packages/*/dist]

test-jest:
docker: *docker-node-lts
environment:
JUNIT_REPORT_PATH: reports
# JEST_JUNIT_OUTPUT_DIR: "reports/junit/js-test-results.xml"
steps:
- checkout
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: mkdir ./reports
- run: yarn lerna run test:jest-ci
- store_test_results: { path: ./reports }
- store_artifacts: { path: ./reports }

test-react-16: &test-react
docker:
- image: circleci/node:8.10.0-browsers
environment:
CHROME_BIN: "/usr/bin/google-chrome"
docker: *docker-node-browsers
environment:
JUNIT_REPORT_PATH: reports
parallelism: 3
parallelism: 6
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: mkdir ./reports
- run:
# split karma tests into containers because they can take up a lot of memory
# running them in one container caused Karma to time out frequently
# see https://github.com/palantir/blueprint/issues/3616
command: |
case $CIRCLE_NODE_INDEX in \
0) yarn lerna run --parallel test:pre ;; \
1) yarn lerna run --parallel test:iso ;; \
2) yarn lerna run --parallel test:karma ;; \
0) yarn lerna run --parallel test:typeCheck ;; \
1) yarn lerna run --scope "@blueprintjs/core" test:karma ;; \
2) yarn lerna run --scope "@blueprintjs/datetime" test:karma ;; \
3) yarn lerna run --scope "@blueprintjs/select" test:karma ;; \
4) yarn lerna run --scope "@blueprintjs/table" test:karma ;; \
5) yarn lerna run --scope "@blueprintjs/timezone" test:karma ;; \
esac
when: always
- store_test_results: *reports_path
- store_artifacts: *reports_path
- store_test_results: { path: ./reports }
- store_artifacts: { path: ./reports }

test-react-15:
# copy test-react-16 and override environment
Expand All @@ -126,52 +144,74 @@ jobs:
JUNIT_REPORT_PATH: reports
REACT: 15 # use React 15 for this job

test-iso-react-16: &test-iso
docker: *docker-node-lts
environment:
JUNIT_REPORT_PATH: reports
steps:
- checkout
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: mkdir ./reports
- run: yarn lerna run --parallel test:iso
- store_test_results: { path: ./reports }
- store_artifacts: { path: ./reports }

test-iso-react-15:
# copy test-iso-react-16 and override environment
<<: *test-iso
environment:
JUNIT_REPORT_PATH: reports
REACT: 15 # use React 15 for this job

deploy-preview:
docker:
- image: circleci/node:8.10.0
docker: *docker-node-lts
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- store_artifacts:
path: packages/docs-app/dist
- store_artifacts:
path: packages/landing-app/dist
- store_artifacts:
path: packages/table-dev-app/dist
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- store_artifacts: { path: packages/docs-app/dist }
- store_artifacts: { path: packages/landing-app/dist }
- store_artifacts: { path: packages/table-dev-app/dist }
- run:
name: Submit Github comment with links to built artifacts
command: node ./scripts/preview.js

deploy-npm:
<<: *setup_env
docker: *docker-node-lts
steps:
- checkout
- attach_workspace:
at: '.'
- restore_cache: *restore_cache
- restore_cache: *restore-node-modules-cache
- attach_workspace: { at: '.' }
- run: ./scripts/publish-npm-semver-tagged

workflows:
version: 2
compile_lint_test_dist_deploy:
jobs:
- install-dependencies
- checkout-code
- clean-lockfile:
requires: [checkout-code]
- compile:
requires: [install-dependencies]
requires: [checkout-code]
- lint:
requires: [install-dependencies]
requires: [checkout-code]
- dist:
requires: [compile]
- test-jest:
requires: [compile]
- test-react-15:
requires: [compile]
- test-react-16:
requires: [compile]
- test-iso-react-15:
requires: [compile]
- test-iso-react-16:
requires: [compile]
- deploy-preview:
requires: [dist]
- deploy-npm:
requires: [dist, lint, test-react-15, test-react-16]
requires: [dist, lint, test-react-15, test-react-16, test-iso-react-15, test-iso-react-16]
filters:
branches:
only:
Expand Down
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
dist
fixtures
coverage
__snapshots__
src/generated
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"root": true,
"extends": [
"./packages/eslint-config"
]
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ about: Something not working as expected?
- __Package version(s)__: <!-- fill this out -->
- __Browser and OS versions__: <!-- fill this out -->

If possible, ink to a minimal repro (fork [this code sandbox](https://codesandbox.io/s/nko3k41y60)): <!-- here -->
If possible, link to a minimal repro (fork [this code sandbox](https://codesandbox.io/s/blueprint-sandbox-et9xy)): <!-- here -->

#### Steps to reproduce

Expand Down
12 changes: 7 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
"docs": true
},
"search.exclude": {
"**/node_modules": true,
"**/build": true,
"**/coverage": true,
"**/dist": true,
"docs": true
"**/build": true,
"**/coverage": true,
"**/dist": true,
"**/lib": true,
"**/node_modules": true,
"docs": true,
"site/docs": true
},
"editor.insertSpaces": true,
"editor.tabSize": 4,
Expand Down
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ A typical contributor workflow looks like this:
- Linting is best handled by your editor for real-time feedback (see
[Editor integration](https://github.com/palantir/blueprint/wiki/Editor-integration)). Run
`yarn lint` to be 100% safe.
- TypeScript lint errors can often be automatically fixed by TSLint. Run lint fixes with `yarn lint-fix`.
- TypeScript lint errors can often be automatically fixed by ESLint. Run lint fixes with `yarn lint-fix`.
1. Submit a Pull Request on GitHub and fill out the template.
- ⚠️ __DO NOT enable CircleCI for your fork of Blueprint.__ Our build
will run on your fork when you open a PR. You can run NPM scripts locally
Expand Down
Loading

0 comments on commit 45b7a93

Please sign in to comment.