0.58.0 (2019-03-30)
- navigation: PrimaryNav & SecondaryNav no longer passes along undocumented props to NavItem
0.57.0 (2019-03-14)
- flex: Incorrectly typed Flex & FlexItem props (9035c47)
- flex,grid,start-end:
children
is no longer required (a906746)
- all: Emotion 10 update and other API changes (76b39d3)
- all: See our migration guide for details. https://github.com/mineral-ui/mineral-ui/blob/master/docs/v0-57-migration.md
0.56.0 (2019-01-21)
- documentation: added fix across website and readme regarding the emotion/core update (e51dd98)
- dialog,flex: Add
minWidth
prop to FlexItem (348f401)
0.55.0 (2018-12-03)
0.54.0 (2018-11-26)
- CardTitle: Ensure icons stay same size when resize card (e3583e3)
- Select: Fix click to open in Edge (70f9a34)
0.53.0 (2018-11-21)
- button: Prevent disabled non-
button
elements from being focused (dd2930f) - Truncate: Add resize event listener (57f7df6)
- Truncate: Adjust IE focus styles (c3d1df5)
- Menu: Add
element
prop to MenuItem (1664a69) - navigation: Add NavItem, PrimaryNav, & SecondaryNav (36dbc80)
0.52.0 (2018-11-19)
- menu,dropdown,select,cardtitle: Flatten data structure for Menu groups (70a1c30)
- menu,dropdown,select,cardtitle: The structure of the data for Menu, Dropdown, Select, and CardTitle components has changed. Previously, grouped data was provided in a nested data structure. A flat array of items is now required. Groups are now created similarly to dividers, using { group: true, text: 'Group Title' }. The theme export for
menuGroupTitleTheme
has been renamed tomenuGroupTheme
. TheMenuGroup_margin
theme key has been replaced withMenuGroupTitle_marginTop
.
0.51.0 (2018-11-15)
- styles: Fix component displayNames when using createStyledComponent (bc7f01b)
0.50.0 (2018-11-14)
- all: Refactor component file structure (f60fb1c)
- all: Individual component theme function names and locations have changed. These theme functions are primarily used internally within mineral-ui, and it is unlikely that they would be used directly by users. They are now each named after the respective component and available from its index, e.g.
import { buttonTheme } from ‘mineral-ui/Button’
.
0.49.0 (2018-11-05)
- Fix error when importing from package index (c121074)
- button-group: Allow for styled/themed buttons (cfa9235)
- Menu: Assign correct colors to MenuItem backgroundColor theme vars (6768ce9)
- Enable component prop-types to be removed in user apps during production mode minification (00754c1)
0.48.0 (2018-10-17)
- table: Provide rowIndex and columnKey to table rows and cells (95c1e59)
0.47.0 (2018-09-27)
- button,buttongroup,menuitem: Update per new styles (a08f8f3)
0.46.0 (2018-09-24)
- button: Prevent icon from shrinking with long content (54a24e1)
- dialog: DialogBody content overflows correctly (cf0716b)
- dropdown,select: Increment MenuItem ids across MenuGroups (49d73cf)
- dropdown,select,menu,menuitem: Decrease Menu and MenuItem re-renders (a648de5)
0.45.0 (2018-09-13)
- table: Add render prop support (79ac277)
- table: Rename theme variables that are used in sortable header cells. TableSortableHeaderCell_border_focus, TableSortableHeaderCell_color_focus
0.44.0 (2018-08-29)
- dialog: Remove top & bottom margins from first & last body children (092e095)
0.43.0 (2018-08-28)
- overflow-container,table: Extract shared OverflowContainer (64ea73f)
- dialog: Add components (46fd1a6)
- overflow-container,table: Rename theme variable from
Table_boxShadow_focus
toTable_outline_focus
0.42.0 (2018-08-13)
- pagination: Renders in all supported React versions (ccf03e5)
- table: Improve sortable tables (61e7e70)
- table: Tables with a controlled
sort
will now need to sort their own data and pass that sorted data to the Table
0.41.0 (2018-08-06)
- flex: Gutter margins respect rtl & responsive props; FlexItem can flex (4794144)
- pagination: Fix IE11 layout issue (5657281)
- flex: Flex will now better respect its surrounding layout due to removing the negative left & right margins, but the change may require further layout adjustment in some cases.
0.40.0 (2018-08-03)
- pagination: New component (5837cbb)
- table: Export defaultSortComparator (4be37b9)
- text-input: Add support for size html attribute with htmlSize prop (3da3596)
0.39.0 (2018-07-25)
- checkbox: IE/Edge toggle indeterminate state on single click (c3f1c41)
- select,textarea,textinput: Support component-level theme variables (9a0de8f)
- table: Fix theme overrides (48f132e)
- table: Make density and messages props optional (9bb5639)
0.38.0 (2018-07-23)
- table: Add column sorting and row selection (c987616)
- checkbox,radio: Convert to PureComponents (d76adfe)
- table: Rename theme variables TableColumnHeader_* to TableHeaderCell_*
0.37.0 (2018-07-10)
- radio,checkbox: Add hideLabel prop to accessibly hide the label (2c081a1)
- radio,checkbox: Rename theme variables RadioControl_marginHorizontal to RadioText_marginHorizontal and CheckboxControl_marginHorizontal to CheckboxText_marginHorizontal
0.36.0 (2018-07-03)
- table: Add Table component (9beafcf)
0.35.0 (2018-06-28)
- checkbox,checkbox-group: Apply correct background to indeterminate (fd57905)
- button,link: Remove regular variant, see commit message for additional changes (2445a8a), closes #707
- buttongroup: Add new component (5d72edb)
- button,link: Remove ‘regular’ variant
0.34.0 (2018-06-11)
- all: Refactor functional components for flow-to-proptypes (a961fa1)
- avatar: Fix display of svg images in IE11 (c0616a4)
- text-input: Fix Safari display of search inputs (e979e78)
- themes: Ensure base theme overrides component theme (c2221e1)
- mineral-ui: Migrate from Glamorous (deprecated) to Emotion (928da16)
- mineral-ui: See our Emotion migration guide for details. https://github.com/mineral-ui/mineral-ui/blob/master/docs/emotion-migration.md
0.33.0 (2018-05-10)
- mineral-ui-tokens: Generate files useful to themes (fe6a8b3)
- themes: Generate values from color options (37555c9)
- themes: Change
createTheme
signature. ReplacebaseColor
andoverrides
parameters with an options object, containingcolors
(baseColor is now colors.theme) andoverrides
. See the new documentation for details. Renamecolor_primary
theme variable tocolor_themePrimary
for consistency with other variable names - mineral-ui-tokens:
color_primary
($mnrl-color-primary
, in Sass) token renamed tocolor_themePrimary
($mnrl-color-themePrimary)
0.32.0 (2018-05-07)
- styles: add tests and fix behavior of pxToEm (19d6988)
- mineral-ui-tokens: Misc updates (bd85bbe)
- themes: Expose withTheme higher order component (b6ec40a)
- styles: Only transform numbers or strings in px units. All other input errors.
- mineral-ui-tokens: Fix incorrect sass variable name format
0.31.0 (2018-05-02)
- themes: Correct import of colorAliases in themeFromTokens (03a24dd)
0.30.0 (2018-05-01)
- mineral-ui-tokens: Add source tokens, build scripts, and generated files (31c8949)
- select,dropdown,popover,menu,menuitem: Add support for render props (48ea509)
- select,dropdown,popover,menu,menuitem: Select, Dropdown, Menu - no longer support ‘item.render’ in data. Use ‘item’ prop instead.
- themes: Rename
placeholder_color
theme variable toinput_color_placeholder
; appendpx
tobreakpoint_[width]
andfontSize_base
values (change type from number to string) to clarify units - colors: Remove all
colors
exports frommineral-ui
. Instead, consumers canimport { palette } from 'mineral-ui-tokens'
. Additionally, color ramps available from that package are sparse arrays, rather than objects, e.g. what wasblue.blue_60
is now accessed asblue[60]
.
0.29.0 (2018-04-20)
- grid: Add Grid & GridItem components (1df8d6d)
0.28.0 (2018-04-17)
- themes: Fix IE11 issue (401981b)
0.27.0 (2018-04-13)
- button: filter the
element
prop from being passed down (74a3869)
- avatar: Remove palette colors from
background
&color
props (98f06ef) - button: Update base theme variables; add & rename theme variables (f372cd3)
- checkbox,radio: Update base theme vars; rename theme variables (17cf051)
- colors: Update palette to ensure a11y contrast; add bronze (063a7d6)
- form: Update base theme variables; rename theme variables (d7ab5d6)
- icon: Change from predetermined fill color to 'currentcolor' (c025815)
- menu: Update base theme variables; rename theme variables (3d264bf)
- select,text-area,text-input: Update base theme vars; rename some (f4dfdff)
- themes: Update theme variables (884c458)
- select,text-area,text-input: (Detailed here) Rename theme variables:
Select_color_text
toSelect_color
(also applies to TextArea & TextInput),SelectIcon_fill
toSelectIcon_color
(also applies to TextInput) - menu: (Detailed here) Rename theme variables:
MenuItem_color_text
toMenuItem_color
,MenuItemIcon_fill
toMenuItemIcon_color
,MenuItemSecondaryText_color_text
toMenuItemSecondaryText_color
- form: (Detailed here) Rename theme variables:
FormFieldCaption_color_text
toFormFieldCaption_color
,FormFieldLabel_color_text
toFormFieldLabel_color
,FormFieldSecondaryText_color_text
toFormFieldSecondaryText_color
,FormFieldSecondaryText_color_text_required
toFormFieldSecondaryText_color_required
,FormFieldsetLegend_color_text
toFormFieldsetLegend_color
- checkbox,radio: (Detailed here) Rename theme variable
CheckboxText_color_text
toCheckboxText_color
(same applies to Radio) - button: (Detailed here) Remove theme variable
Button_borderColor_focus
; rename theme variables:Button_color_text
toButton_color
,Button_color_text_minimal
toButton_color_minimal
,Button_color_text_primary
toButton_color_primary
- avatar: Remove palette colors (e.g. 'red', 'purple') from
background
andcolor
prop types. Instead, importcolors
and reference from there (e.g.colors.red_60
). - icon: Icon now uses 'currentcolor' for its default fill color, rather than
theme.color_gray_60
- themes: (Detailed here) Remove
color_caption
,backgroundColor_link_focus
; rename:backgroundColor_disabled
tobackgroundColor_input_disabled
,backgroundColor_input
toinput_backgroundColor
,backgroundColor_[variant]_muted
towell_backgroundColor_[variant]
,backgroundColor_[variant]_activeMuted
tobackgroundColor_[variant]_active
,backgroundColor_[variant]_[state]
tobackgroundColor_[variant]Primary_[state]
,borderColor_[state]
toborderColor_theme_[state]
,borderColor_[variant]_muted
towell_borderColor_[variant]
,color_h[#]
toh[#]_color
,color_placeholder
toplaceholder_color
,color_text
tocolor
,color_text_disabled
tocolor_disabled
,color_text_primary_[state]
tocolor_theme_[state]
,color_text_onprimary
tocolor_primary
,color_text_[variant]_[state]
tocolor_[variant]_[state]
,fontSize_h[#]
toh[#]_fontSize
,fontWeight_h[#]
toh[#]_fontWeight
,shadow_[#]
toboxShadow_[#]
- colors: Remove
lime
,orange
, andyellow
0.26.0 (2018-04-06)
0.25.0 (2018-04-04)
- card: Include missing subcomponent exports (6f35546)
0.24.0 (2018-04-03)
- avatar,form-field: Compare using displayName to avoid minification issues (8732080)
0.23.0 (2018-03-26)
- select: Select calls onChange handler (c49b5cd)
- styles: Add font-smoothing to componentStyleReset (bd299b1)
0.22.0 (2018-03-14)
- avatar: Remove icon prop from rendering on DOM element (eb9268a)
- textinput: Fix #609 lose focus after typing (2ff0e28)
- select,dropdown: Use items instance var (993c442)
0.21.0 (2018-03-09)
- dropdown,cardtitlemenu: Misc updates, see full commit message for details (1a44231)
- menu: Allow data prop to accept flat array of items (cf2409b)
- menuitem: Add selected styles, adjust colors (af5d0a7)
- popover: Misc updates, see full commit message for details (335d8f0)
- select: Add new component (ca6dd29)
- textarea: Add size appropriate horizontal padding (7d045b2)
- textinput: Add size appropriate horizontal padding (0f14db8)
- tooltip: Misc updates, see full commit message for details (7ee3742)
0.20.0 (2018-02-14)
- box,flex,start-end: New Box, Flex, FlexItem, & StartEnd components (edf3ea0)
- themes: Add breakpoint theme variables (615cba2)
0.19.0 (2018-02-13)
- popover: Add props, enhance theme, improve DOM structure (4146902)
- tooltip: Add new component (927e9e6)
0.18.0 (2018-01-26)
- checkbox,checkbox-group: New components (2847643)
- icon,mineral-ui-icons: Add several toggle new icons (74052fd)
- radio,radio-group: Add labelPosition and justify props; update themes. (cb69adf)
- radio,radio-group: Simplified Radio/RadioGroup themes. Removed keys: RadioControl_borderColor_focus, RadioControl_boxShadow_checkedFocus, RadioControl_size_jumbo, RadioIcon_*. Renamed all RadioGroup keys to improve clarity.
0.17.0 (2018-01-17)
- avatar: New component (dcfb069)
- card: Add CardStatus and associated Icons (3b84fdd)
- card: Update CardTitle
avatar
prop to accept Avatar (2f575e0) - colors: Add getColor & getReadableTextColor utilities (f35beb6)
- card:
avatar
prop only accepts Avatar component rather than a rawimg
0.16.0 (2018-01-12)
- form: Update FormField to support grouped inputs (d148473)
- radio,radiogroup: New components (67d7f83)
0.15.0 (2017-12-20)
- card: Card - Change
CardRow_margin
&CardRow_padding
theme variables toCardRow_marginVertical
&CardRow_paddingHorizontal
, respectively. CardTitle - Removeminor
prop and all associated theme variables; removemeta
prop; removeCardTitle_marginTop
theme variable.
0.14.0 (2017-12-15)
- text-area: New component (d2bb771)
0.13.0 (2017-12-12)
- themes: Remove “backgroundColor_input_*” keys
0.12.0 (2017-11-17)
- icon: Extract pre-built icons to new mineral-ui-icons package (6d156e8)
- mineral-ui-icons: Add generated icons (befc5d0)
- icon: Pre-built icons are now available separately via the
mineral-ui-icons
package and are no longer contained within the Icon component.
0.11.0 (2017-11-14)
- dependencies: Update minimum React/ReactDOM peer dependency version (7d49cbe)
- icon,button,menuitem: Improve icon a11y by using role=“img” (970191c)
- dropdown,popover: Add ability to render to body using ‘usePortal’ prop (c8e914c)
0.10.0 (2017-10-31)
- dropdown,button: Fix Dropdown keyboard nav (29f33a5)
0.9.0 (2017-10-27)
- button: Add
element
prop to Button component (416aee6) - colors,styles,themes: New public /colors, /styles, and /themes (b481fe9)
- colors,styles,themes: File reorganization - import paths will need updated. Moved createThemedComponent, mineralTheme, and ThemeProvider from /utils to /themes. Moved createStyledComponent from /utils to /styles. Removed styleVariables from public API. Moved color from /utils to /colors.
0.8.0 (2017-10-18)
- dropdown,popover: Improve a11y (1370c03)
0.7.0 (2017-10-13)
- utils: Remove immutability-helper (dca418e)
- all: Add stack, inline, inset space variables (71b58a2)
- button: Change default size from 'medium' to 'large' (ab2b0cc)
- button: Update styles (27ecf95)
- icon,menu-item: Update variant icons (854061b)
- menu-item: Update styles (24734f4)
- theme: Update variant text colors (1759314)
- menu-item: Some component theme variables removed
- button: Some component theme variables removed
- all: Remove spacing_* theme variables. Add space_inline_xx, space_inset_xx, space_stack_xx theme variables. Remove spacing_xx variables. Update components to use the new variables.
0.6.0 (2017-10-10)
- dropdown,popover: Dropdown and Popover updates (23b96ff)
- dropdown,popover: Remove
autoFocus
andrestoreFocus
props from Dropdown and Popover. RemoveDropdownContent_paddingVertical
theme variable.
0.5.0 (2017-09-29)
0.4.0 (2017-09-16)
- popover: Flip on viewport (5fe6e34)
- popover: Remove boundariesElement prop
0.3.0 (2017-09-15)
- popover: Adjust default modifiers for rendering improvements on small screens (4fdb78e)
0.2.0 (2017-09-15)
- utils: createThemedComponent only uses ThemeProvider to pass custom theme (9f5aec1)
- popover: Add new Popover component (2c706a8)