Releases: instructure/instructure-ui
v8.29.0
v8.28.2
v8.28.1
v8.28.0
Bug Fixes
- ui-pagination: wrong type description for Pagination’s onClick (867eb1a)
- fix propType for liveRegion (e9ae7d3)
In case of SSR(server side rendering) and Jest you will need to substitute
Element
from the DOM API because it is used by some components:Element = typeof Element === 'undefined' ? function(){} : Element
Example for Jest config here.
Features
- ui-drilldown: add
minHeight
andminWidth
props to Drilldown (7e10b29) - ui-drilldown: add
positionContainerDisplay
prop to Drilldown (834302c) - ui-icons: add
header
icon (46932bc) - ui-menu: add
positionContainerDisplay
prop to Menu (e8ed689) - ui-popover: add
positionContainerDisplay
prop to Popover (fdcacec) - ui-position: add
containerDisplay
prop to Position (0fdd83f) - ui-responsive: add
elementRef
prop to Responsive (be7a338) - ui-tray: add
position
theme variable to Tray (375ed68) - ui-truncate-list,ui: add
TruncateList
utility component (f8b17ea)
v8.27.0
v8.26.3
v8.26.2
v8.26.1
v8.26.0
Features
- ui-color-picker: Add
ColorPicker
component (1cbd877) - ui-source-code-editor,ui-code-editor,ui: add new
SourceCodeEditor
component (b5064f5) - ui-responsive: add
display
prop to Responsive (b5663dc) - ui-tabs: expose
defaultOverflowY
theme variable on Tabs.Panel (a4b9540)
ColorPicker component
The ColorPicker is a versatile component that can be used to select colors and check their contrast ratios.
This commit also adds the ColorPicker‘s subcomponents as standalone components: ColorIndicator, ColorMixer, ColorPreset, ColorContrast.
SourceCodeEditor component
A wrapper around the popular CodeMirror V6 code editor component. CodeMirror provides a text input field with features like line gutters, syntax highlighting, and autocompletion. It has better accessibility features than the (now deprecated) CodeEditor component that is based on the former version 5 of CodeMirror.