Releases: palantir/blueprint
Releases · palantir/blueprint
@blueprintjs/[email protected]
- #1815 All packages now include ES modules in their distribution. These are automatically picked up by webpack 3+ via the
"module"
entry field inpackage.json
. ES modules support static analysis of imports and exports, which allows bundle optimizations such as tree shaking and scope hoisting. - #1853 Added option to
TruncatedFormat
for truncation by approximated text size - #1827 Prevent DOM reflow by optimizing popover
pt-dark
ancestor checks
@blueprintjs/[email protected]
- #1815 All packages now include ES modules in their distribution. These are automatically picked up by webpack 3+ via the
"module"
entry field inpackage.json
. ES modules support static analysis of imports and exports, which allows bundle optimizations such as tree shaking and scope hoisting. - #1819 Added disabled state styling to
TagInput
- #1833 Fixed
TagInput
dark theme placeholder color - #1857 Fix
Popover2
null pointer exception: make sure targetElement exists before trying to call its function
@blueprintjs/[email protected]
- #1815 All packages now include ES modules in their distribution. These are automatically picked up by webpack 3+ via the
"module"
entry field inpackage.json
. ES modules support static analysis of imports and exports, which allows bundle optimizations such as tree shaking and scope hoisting. - #1828 Support custom
style
on inputs - #1824 Add
reverseMonthAndYearMenus
prop to all relevant components - #1822
DateInput
andDateRangeInput
now applies customclassName
to itspt-popover-target
(along with `popoverProps.className) - #1851 Add a
format
prop for custom display formatting inDateInput
andDateRangeInput
@blueprintjs/[email protected]
- #1815 All packages now include ES modules in their distribution. These are automatically picked up by webpack 3+ via the
"module"
entry field inpackage.json
. ES modules support static analysis of imports and exports, which allows bundle optimizations such as tree shaking and scope hoisting. - #1827 Prevent DOM reflow by optimizing
Popover
pt-dark
ancestor checks - #1828 Support custom
style
onInputGroup
- #1836 Add JS API for
ButtonGroup
- #1835 Add JS APIs for
Navbar
,NavbarDivider
,NavbarGroup
,NavbarHeading
- #1850 Add broken heart icon
- #1858 Render span element instead of div for
KeyCombo
- #1864 Change
pt-progress-meter
todisplay: block
so it stops erroneously responding totext-align
rules applied to parents
v1.33.0
🎉 Blueprint is now licensed under Apache 2.0. Go forth and be merry! 🎉
🎆 Highlights: Apache 2.0 license, Slider
vertical orientation, Card
component, DateTime
week numbers, improved Table
-editing triggers
📖 Latest docs: blueprintjs.com/docs
General
- #1751 🌟 Replace license with Apache 2.0
@blueprintjs/core 1.33.0
💎 New features
- #1730 🌟 NEW
Card
component (🎩 @jacekjagiello) - #1762 🌟
Slider
andRangeSlider
now support vertical orientation - #1797
Collapse
AddkeepChildrenMounted
prop to keep children mounted when closed (hidden via styles) (🎩 @kendraknittel)
🐛 Bug fixes
- #1736 Fix false positive
Unknown prop popoverProps...
console warnings (🎩 @haosharon) - #1759
Button
Fix erroneous padding whentext=""
- #1747
Button
Fix style for disabled+active+minimal buttons - #1722
ContextMenu
respects dark theme (🎩 @mcintyret) - #1752
ContextMenu
Improve types:IContextMenuTarget.renderContextMenu
can returnundefined
(🎩 @AlexLandau) - #1746
Dialog
Fix user text selection in dialogs - #1796
EditableText
Ensure scroll position moves to the end of the input when necessary - #1799
Menu
no longer collapses submenus when you're not expecting it (🎩 @mfedderly) - #1767
NumericInput
Avoid using a reserved ClojureScript keyword as an identifier (partial 🎩 @wodin) - #1795
RangeSlider
When values equal, always move the nearest handle on track click
@blueprintjs/datetime 1.24.0
💎 New features
- #1740 🌟 Add styling for week numbers (🎩 @franciscofabian)
- #1790
DateInput
can now configuretimePickerProps
🐛 Bug fixes
- #1792
DateInput
selected value stays selected whencanClearSelection=false
withtimePrecision
enabled - #1789
DateRangePicker
shows selected date's end month on init ifcontiguousCalendarMonths=false
@blueprintjs/table 1.30.0
💎 New features
- #1760 🌟
EditableCell
Type into the focused cell by pressing any key - #1729 🌟
Table
Pressing theF2
key enters edit mode on the focused cell
🐛 Bug fixes
- #1793
Table
Fixed issues with controlling editable column names and reordering editable columns
@blueprintjs/labs 0.13.0
🐛 Bug fixes
- #1787
MultiSelect
no longer throws an error whenselectedItems
is not provided
Documentation
Table v1.29.1
📖 Latest docs: blueprintjs.com/docs
@blueprintjs/table 1.29.1
🐛 Bug fixes
Table
Fix NPE error that was sometimes thrown when scrolling withisRowHeaderShown=false
. (🎩 @mscolnick)
v1.32.0
🎆 Highlights: Table
resizeRowsByApproximateHeight
, new Callout
component, new FormGroup
component, Select
now uses Popover2
📖 Latest docs: blueprintjs.com/docs
@blueprintjs/core 1.32.0
💎 New features
🐛 Bug fixes
- #1684
Overlay
Fix overlay unmount issue that prevented scrolling. (🎩 @hmarr) - #1717
Tabs2
Don't calculate the position ofpt-tab-indicator-wrapper
if it won't be shown. (🎩 @mcintyret)
@blueprintjs/datetime 1.23.0
💎 New features
@blueprintjs/table 1.29.0
💎 New features
- #1678
Table
Stop rendering superfluous frozen cells. - #1697
Table
AddRenderMode.BATCH_ON_UPDATE
, and make it the defaultrenderMode
. - #1698
Table
Add emphasized borders for frozen columns and rows. - #1707
Table
Enable shift + arrow keys to resize selection. - #1718 🌟
Table
NewresizeRowsByApproximateHeight
instance method to approximately resize rows based on their wrapped text content.
🐛 Bug fixes
- #1665
Table
Deselect cells on cmd+click only. - #1692
ColumnHeaderCell
Fix deprecated label onuseInteractionBar
prop. - #1700
Table
fixRowHeader
defaultProps
to static. React 16 warns otherwise. (🎩 @pgruenbacher) - #1716
TruncatedFormat
Only pass parent size props if child isTruncatedFormat
.
@blueprintjs/labs 0.12.0
💎 New features
- #1579 🌟
Select
now usesPopover2
instead ofPopover
.
Documentation
- #1714
Button
Remove outdated note about minimal buttons in button groups.
v1.31.0
🎆 Highlights: initial React 16 support, Table
empty states, Table
size-syncing fixes, Table
no longer swallows page scrolls, TruncatedFormat
defaults
📖 Latest docs: blueprintjs.com/docs
@blueprintjs/core 1.31.0
💎 New features
- 🌟 #1660 Allow React 16 as Blueprint
peerDependency
.- all components render successfully but please report any deeper issues you encounter.
- #1677 Added eleven new icons:
pt-icon-compass
,pt-icon-console
,pt-icon-form
,pt-icon-series-add
,pt-icon-series-configuration
,pt-icon-series-derived
,pt-icon-series-filtered
,pt-icon-series-search
,pt-icon-taxi
,pt-icon-train
,pt-icon-walk
🐛 Bug fixes
- #1672
Submenu
popovers now position themselves properly on IE. - #1644
Popover
no longer throws an error when shallow-mounted in a test environment. (🎩 @tobilen) - #1492
Tabs2
now hides the selected-tab indicator when the selected tab is removed. (🎩 @franciscofabian)
@blueprintjs/table 1.28.0
🐛 Bug fixes
- 🌟 #1663
Table
empty states are now both sane and beautiful. - 🌟 #1663
Table
now resizes elements properly when the column header's size changes.
- 🌟 #1674
Table
now allows scrolling the page when the cursor is within the table.
- #1637
Table
no longer allows inertial scroll beyond the last row or column. - #1637
Table
now doesn't stick as much when you try to scroll slowly leftward/upward from the last column/row. - #1632
Table
now properly resizes frozen columns on double-click while the table is scrolled.- Before, double-clicking to resize a frozen column would sometimes erroneously collapse the column to nearly zero width.
- #1653
Table
no longer throws an error when scrolling a grid whosewidth
orheight
is smaller than the scroll area. - #1673
EditableCell
text input now fills the entire vertical space of the cell. - #1651
EditableCell
no longer overwrites new values with old values when typing very quickly after focusing in the field.
🔄 Changed
⚠️ #1656TruncatedFormat
'sdetectTruncation
prop is nowfalse
by default, andtruncationLength
is set to2000
.detectTruncation
noticeably degrades performance when enabled, so we decided it was better to make it opt-in.- Now, when using
TruncatedFormat
with default settings, only cells with at least2,000
characters will show a···
icon and an accompanyingPopover
on click. - This should drastically reduce the work this component does on scroll, leading to much better rendering performance for cells with less than
2,000
characters of content. - To undo this change, set
detectTruncation=true
andtruncationLength=80
in all of yourTruncatedFormat
usages, or modifyTruncatedFormat.defaultProps
directly:// changes values for _every_ instance without modifying render functions TruncatedFormat.defaultProps.detectTruncation = true; TruncatedFormat.defaultProps.maxLength = 80;
- #1679
Table
now always disables batch-rendering for header cells.- This fixes a race condition where the row header would resize itself incorrectly because some header cells hadn't finished rendering yet.
Documentation
- #1662
Checkbox
/Radio
/Switch
examples' "View on GitHub" links are now fixed. (🎩 @zfranklyn) - #1654
Table
fixed an incorrectly stated default value forTruncatedFormat
'sshowPopover
prop. - #1666
Table
added Regions/IRegion
documentation
v1.30.0
📖 Latest docs: blueprintjs.com/docs
@blueprintjs/core 1.30.0
🔄 Changed
- #1604 Moved the following
Utils
functions frompackages/table
intopackages/core
:arraysEqual
deepCompareKeys
getDeepUnequalKeyValues
getShallowUnequalKeyValues
shallowCompareKeys
🐛 Bug fixes
- #1608
EditableText
now elegantly handles long strings with no spaces. (🎩 @luyao-wang)
- #1616
InputGroup
now properly stylespt-spinner
s contained in child buttons.
@blueprintjs/table 1.27.0
🔄 Changed
- #1627
Table
now supports theuseInteractionBar
prop.ColumnHeaderCell
'suseInteractionBar
prop is now deprecated.- We made this change for two reasons:
- From a design perspective, the interaction bar should be enabled for all cells at once or for none at all. Thus, it makes sense to provide the flag to the top-level
Table
component. - This change enables a fix for a bug where the column header wouldn't resize properly when
useInteractionBar
was toggled on and off.
- From a design perspective, the interaction bar should be enabled for all cells at once or for none at all. Thus, it makes sense to provide the flag to the top-level
- #1604 Moved the following
Utils
functions frompackages/table
intopackages/core
:arraysEqual
deepCompareKeys
getDeepUnequalKeyValues
getShallowUnequalKeyValues
shallowCompareKeys
- #1596 #1621
Table
now renders and updates fewer DOM elements under the hood in certain cases, leading to slightly faster rendering performance.
🐛 Bug fixes
- #1621
Table
now aligns the left selection/focused-cell border properly when row headers are hidden:
- #1622
Table
now shows a left border on selected regions that include cells in the first column when row headers are visible. - #1624
TruncatedFormat
now does fewer DOM reads when the content popover is closed, leading to slightly improved rendering performance.
@blueprintjs/labs 0.11.0
💎 New features
Table v1.26.1
📖 Latest docs: blueprintjs.com/docs
@blueprintjs/table 1.26.1
🐛 Bug fixes
@blueprintjs/table
now depends on@blueprintjs/core
1.25.0, which contains the newIcon
component used throughout the table