v1.11.0
π Highlights: two new components DateRangeInput
& Tabs2
(rewrite of Tabs
) and some really great bugfixes.
π Latest docs: blueprintjs.com/docs
General
- π¦ Fixed added
browser
andwebpack
entries to each package.json so unpkg will serve the.bundle.js
file #621 - π¦ Fixed
.bundle.js
files now export to the globalBlueprint
variable, namespaced by package:Blueprint.Core.Button
,Blueprint.Table.Table
etc. #631
@blueprintjs/core 1.11.0
- π NEW
Tabs2
is a rewrite ofTabs
with a simpler and more flexible API #261 #722<Tabs2 id="routes" onChange={this.handleTabChange} selectedTabId="pulls"> <Tab2 id="code" title="Code" panel={<Code />} /> <Tab2 id="issues" title="Issues" panel={<Issues />} /> <Tab2 id="pulls" title="Pull Requests" panel={<PullRequests />} /> <Tabs2.Expander /> <input className="pt-input" type="text" placeholder="Search..." /> </Tabs2>
- This new API is offered in a backwards-compatible manner by appending a
2
. The originalTabs
components are still available under their old names but are deprecated and will be replaced in v2.0. - Only two components (
Tabs2
andTab2
) are needed, rather than the previous four. - Selection is managed by ID, rather than by index. This is more reliable and deterministic and does not require translating between numbers and tab names. It does, however, require that every
Tab2
have a locally uniqueid
prop (which also resolves SSR issues #384). - Arbitrary elements are supported in the tab list, and order is respected. Yes, you can even insert things between tabs.
- CSS API remains exactly the same.
- This new API is offered in a backwards-compatible manner by appending a
- π Fixed insidious cursor/selection rendering bug with multiple
Popover
s in Firefox #406 - Fixed
NumericInput
&Button
React prop warnings #736 #753 - Fixed
Tree
error when removing nodes #741 - Improved dark link color for more contrast #764
- π Deprecated
Tabs
component in favor ofTabs2
#767- a console warning will appear during development (not in production)
@blueprintjs/datetime 1.9.0
- π NEW
DateRangeInput
component
- A
.pt-control-group
of twoInputGroup
s that shows aDateRangePicker
on focus. - Supports selecting dates by typing in the input fields, clicking dates in the calendar, or clicking shortcuts in the popover.
- Previews the date range in the calendar and in the input fields as you move your cursor within the calendar.
- Supports controlled and uncontrolled usage.
- A
- Fixed
DatePicker
selected day is always blue #740 - Fixed
DatePicker
outside days appearance #740
@blueprintjs/table 1.8.0
- π Fixed
JSONFormat
detectTruncation
properly detects truncation #760
- Fixed
Column
component respectsclassName
prop #690 - Fixed
TruncatedFormated
Popover
scrollbars only appear when needed #720 - Fixed react-hot-loader support by
console.warn
ing instead of throwing errors #723
Documentation
- Added
active
switch toButton
example (:tophat: @DrewDennison) #749