Skip to content

Latest commit

 

History

History
884 lines (409 loc) · 33 KB

CHANGELOG.md

File metadata and controls

884 lines (409 loc) · 33 KB

0.58.0 (2019-03-30)

Bug Fixes

  • navigation: Prevent spread of Navigation props onto NavItem (15e6fb5), closes #827

BREAKING CHANGES

  • navigation: PrimaryNav & SecondaryNav no longer passes along undocumented props to NavItem

0.57.0 (2019-03-14)

Bug Fixes

  • flex: Incorrectly typed Flex & FlexItem props (9035c47)
  • flex,grid,start-end: children is no longer required (a906746)

Features

  • all: Emotion 10 update and other API changes (76b39d3)

BREAKING CHANGES

0.56.0 (2019-01-21)

Bug Fixes

  • documentation: added fix across website and readme regarding the emotion/core update (e51dd98)

Features

  • dialog,flex: Add minWidth prop to FlexItem (348f401)

0.55.0 (2018-12-03)

0.54.0 (2018-11-26)

Bug Fixes

  • CardTitle: Ensure icons stay same size when resize card (e3583e3)
  • Select: Fix click to open in Edge (70f9a34)

0.53.0 (2018-11-21)

Bug Fixes

  • button: Prevent disabled non-button elements from being focused (dd2930f)
  • Truncate: Add resize event listener (57f7df6)
  • Truncate: Adjust IE focus styles (c3d1df5)

Features

  • Menu: Add element prop to MenuItem (1664a69)
  • navigation: Add NavItem, PrimaryNav, & SecondaryNav (36dbc80)

0.52.0 (2018-11-19)

Code Refactoring

  • menu,dropdown,select,cardtitle: Flatten data structure for Menu groups (70a1c30)

BREAKING CHANGES

  • 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 to menuGroupTheme. The MenuGroup_margin theme key has been replaced with MenuGroupTitle_marginTop.

0.51.0 (2018-11-15)

Bug Fixes

  • styles: Fix component displayNames when using createStyledComponent (bc7f01b)

0.50.0 (2018-11-14)

Code Refactoring

  • all: Refactor component file structure (f60fb1c)

BREAKING CHANGES

  • 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)

Bug Fixes

  • 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)

Performance Improvements

  • Enable component prop-types to be removed in user apps during production mode minification (00754c1)

0.48.0 (2018-10-17)

Features

  • table: Provide rowIndex and columnKey to table rows and cells (95c1e59)

0.47.0 (2018-09-27)

Features

  • button,buttongroup,menuitem: Update per new styles (a08f8f3)

0.46.0 (2018-09-24)

Bug Fixes

  • button: Prevent icon from shrinking with long content (54a24e1)
  • dialog: DialogBody content overflows correctly (cf0716b)
  • dropdown,select: Increment MenuItem ids across MenuGroups (49d73cf)

Features

  • tabs: New component (5cbd2bd)
  • tooltip: Add support for cursor prop (b32d773)

Performance Improvements

  • dropdown,select,menu,menuitem: Decrease Menu and MenuItem re-renders (a648de5)

0.45.0 (2018-09-13)

Features

  • table: Add render prop support (79ac277)

BREAKING CHANGES

  • table: Rename theme variables that are used in sortable header cells. TableSortableHeaderCell_border_focus, TableSortableHeaderCell_color_focus

0.44.0 (2018-08-29)

Bug Fixes

  • dialog: Remove top & bottom margins from first & last body children (092e095)

0.43.0 (2018-08-28)

Code Refactoring

  • overflow-container,table: Extract shared OverflowContainer (64ea73f)

Features

BREAKING CHANGES

  • overflow-container,table: Rename theme variable from Table_boxShadow_focus to Table_outline_focus

0.42.0 (2018-08-13)

Bug Fixes

  • pagination: Renders in all supported React versions (ccf03e5)

Code Refactoring

  • table: Improve sortable tables (61e7e70)

BREAKING CHANGES

  • 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)

Bug Fixes

  • flex: Gutter margins respect rtl & responsive props; FlexItem can flex (4794144)
  • pagination: Fix IE11 layout issue (5657281)

BREAKING CHANGES

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • table: Add column sorting and row selection (c987616)

Performance Improvements

  • checkbox,radio: Convert to PureComponents (d76adfe)

BREAKING CHANGES

  • table: Rename theme variables TableColumnHeader_* to TableHeaderCell_*

0.37.0 (2018-07-10)

Features

  • radio,checkbox: Add hideLabel prop to accessibly hide the label (2c081a1)

BREAKING CHANGES

  • radio,checkbox: Rename theme variables RadioControl_marginHorizontal to RadioText_marginHorizontal and CheckboxControl_marginHorizontal to CheckboxText_marginHorizontal

0.36.0 (2018-07-03)

Features

  • table: Add Table component (9beafcf)

0.35.0 (2018-06-28)

Bug Fixes

  • checkbox,checkbox-group: Apply correct background to indeterminate (fd57905)

Code Refactoring

  • button,link: Remove regular variant, see commit message for additional changes (2445a8a), closes #707

Features

  • buttongroup: Add new component (5d72edb)

BREAKING CHANGES

  • button,link: Remove ‘regular’ variant

0.34.0 (2018-06-11)

Bug Fixes

  • 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)

Features

  • mineral-ui: Migrate from Glamorous (deprecated) to Emotion (928da16)

BREAKING CHANGES

0.33.0 (2018-05-10)

Features

  • mineral-ui-tokens: Generate files useful to themes (fe6a8b3)
  • themes: Generate values from color options (37555c9)

BREAKING CHANGES

  • themes: Change createTheme signature. Replace baseColor and overrides parameters with an options object, containing colors (baseColor is now colors.theme) and overrides. See the new documentation for details. Rename color_primary theme variable to color_themePrimary for consistency with other variable names
  • mineral-ui-tokens: color_primary ($mnrl-color-primary, in Sass) token renamed to color_themePrimary ($mnrl-color-themePrimary)

0.32.0 (2018-05-07)

Bug Fixes

  • styles: add tests and fix behavior of pxToEm (19d6988)

Code Refactoring

  • mineral-ui-tokens: Misc updates (bd85bbe)

Features

  • themes: Expose withTheme higher order component (b6ec40a)

BREAKING CHANGES

  • 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)

Bug Fixes

  • themes: Correct import of colorAliases in themeFromTokens (03a24dd)

0.30.0 (2018-05-01)

Code Refactoring

  • colors: Remove export and source files (f2d0ec3)
  • themes: Consume tokens (a466dfa)

Features

  • mineral-ui-tokens: Add source tokens, build scripts, and generated files (31c8949)
  • select,dropdown,popover,menu,menuitem: Add support for render props (48ea509)

BREAKING CHANGES

  • 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 to input_color_placeholder; append px to breakpoint_[width] and fontSize_base values (change type from number to string) to clarify units
  • colors: Remove all colors exports from mineral-ui. Instead, consumers can import { palette } from 'mineral-ui-tokens'. Additionally, color ramps available from that package are sparse arrays, rather than objects, e.g. what was blue.blue_60 is now accessed as blue[60].

0.29.0 (2018-04-20)

Features

  • grid: Add Grid & GridItem components (1df8d6d)

0.28.0 (2018-04-17)

Bug Fixes

0.27.0 (2018-04-13)

Bug Fixes

  • button: filter the element prop from being passed down (74a3869)

Code Refactoring

  • 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)

BREAKING CHANGES

  • select,text-area,text-input: (Detailed here) Rename theme variables: Select_color_text to Select_color (also applies to TextArea & TextInput), SelectIcon_fill to SelectIcon_color (also applies to TextInput)
  • menu: (Detailed here) Rename theme variables: MenuItem_color_text to MenuItem_color, MenuItemIcon_fill to MenuItemIcon_color, MenuItemSecondaryText_color_text to MenuItemSecondaryText_color
  • form: (Detailed here) Rename theme variables: FormFieldCaption_color_text to FormFieldCaption_color, FormFieldLabel_color_text to FormFieldLabel_color, FormFieldSecondaryText_color_text to FormFieldSecondaryText_color, FormFieldSecondaryText_color_text_required to FormFieldSecondaryText_color_required, FormFieldsetLegend_color_text to FormFieldsetLegend_color
  • checkbox,radio: (Detailed here) Rename theme variable CheckboxText_color_text to CheckboxText_color (same applies to Radio)
  • button: (Detailed here) Remove theme variable Button_borderColor_focus; rename theme variables: Button_color_text to Button_color, Button_color_text_minimal to Button_color_minimal, Button_color_text_primary to Button_color_primary
  • avatar: Remove palette colors (e.g. 'red', 'purple') from background and color prop types. Instead, import colors 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 to backgroundColor_input_disabled, backgroundColor_input to input_backgroundColor, backgroundColor_[variant]_muted to well_backgroundColor_[variant], backgroundColor_[variant]_activeMuted to backgroundColor_[variant]_active, backgroundColor_[variant]_[state] to backgroundColor_[variant]Primary_[state], borderColor_[state] to borderColor_theme_[state], borderColor_[variant]_muted to well_borderColor_[variant], color_h[#] to h[#]_color, color_placeholder to placeholder_color, color_text to color, color_text_disabled to color_disabled, color_text_primary_[state] to color_theme_[state], color_text_onprimary to color_primary, color_text_[variant]_[state] to color_[variant]_[state], fontSize_h[#] to h[#]_fontSize, fontWeight_h[#] to h[#]_fontWeight, shadow_[#] to boxShadow_[#]
  • colors: Remove lime, orange, and yellow

0.26.0 (2018-04-06)

0.25.0 (2018-04-04)

Bug Fixes

  • card: Include missing subcomponent exports (6f35546)

0.24.0 (2018-04-03)

Bug Fixes

  • avatar,form-field: Compare using displayName to avoid minification issues (8732080)

Features

  • text: New component (9cc63d9)
  • themes: Add more text theme variables (43d62bb)

0.23.0 (2018-03-26)

Bug Fixes

  • select: Select calls onChange handler (c49b5cd)

Features

  • styles: Add font-smoothing to componentStyleReset (bd299b1)

0.22.0 (2018-03-14)

Bug Fixes

  • avatar: Remove icon prop from rendering on DOM element (eb9268a)
  • textinput: Fix #609 lose focus after typing (2ff0e28)

Performance Improvements

  • select,dropdown: Use items instance var (993c442)

0.21.0 (2018-03-09)

Features

  • 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)

Features

  • box,flex,start-end: New Box, Flex, FlexItem, & StartEnd components (edf3ea0)
  • themes: Add breakpoint theme variables (615cba2)

0.19.0 (2018-02-13)

Features

  • popover: Add props, enhance theme, improve DOM structure (4146902)
  • tooltip: Add new component (927e9e6)

0.18.0 (2018-01-26)

Features

  • 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)

BREAKING CHANGES

  • 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)

Features

  • 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)

BREAKING CHANGES

  • card: avatar prop only accepts Avatar component rather than a raw img

0.16.0 (2018-01-12)

Features

  • form: Update FormField to support grouped inputs (d148473)
  • radio,radiogroup: New components (67d7f83)

0.15.0 (2017-12-20)

Features

  • card: Update design; add functionality (1891906)
  • themes: Add/update theme variables (50344b8)

BREAKING CHANGES

  • card: Card - Change CardRow_margin & CardRow_padding theme variables to CardRow_marginVertical & CardRow_paddingHorizontal, respectively. CardTitle - Remove minor prop and all associated theme variables; remove meta prop; remove CardTitle_marginTop theme variable.

0.14.0 (2017-12-15)

Features

  • text-area: New component (d2bb771)

0.13.0 (2017-12-12)

Features

BREAKING CHANGES

  • themes: Remove “backgroundColor_input_*” keys

0.12.0 (2017-11-17)

Features

  • icon: Extract pre-built icons to new mineral-ui-icons package (6d156e8)
  • mineral-ui-icons: Add generated icons (befc5d0)

BREAKING CHANGES

  • 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)

Bug Fixes

  • dependencies: Update minimum React/ReactDOM peer dependency version (7d49cbe)
  • icon,button,menuitem: Improve icon a11y by using role=“img” (970191c)

Features

  • dropdown,popover: Add ability to render to body using ‘usePortal’ prop (c8e914c)

0.10.0 (2017-10-31)

Bug Fixes

  • dropdown,button: Fix Dropdown keyboard nav (29f33a5)

0.9.0 (2017-10-27)

Features

  • button: Add element prop to Button component (416aee6)
  • colors,styles,themes: New public /colors, /styles, and /themes (b481fe9)

BREAKING CHANGES

  • 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)

Features

  • dropdown,popover: Improve a11y (1370c03)

0.7.0 (2017-10-13)

Bug Fixes

  • utils: Remove immutability-helper (dca418e)

Features

  • 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)

BREAKING CHANGES

  • 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)

Features

  • dropdown,popover: Dropdown and Popover updates (23b96ff)

BREAKING CHANGES

  • dropdown,popover: Remove autoFocus and restoreFocus props from Dropdown and Popover. Remove DropdownContent_paddingVertical theme variable.

0.5.0 (2017-09-29)

Features

  • dropdown: Add new component (5ee58ba)
  • menu: Add new component (7fbd662)

0.4.0 (2017-09-16)

Features

  • popover: Flip on viewport (5fe6e34)

BREAKING CHANGES

  • popover: Remove boundariesElement prop

0.3.0 (2017-09-15)

Features

  • popover: Adjust default modifiers for rendering improvements on small screens (4fdb78e)

0.2.0 (2017-09-15)

Bug Fixes

  • utils: createThemedComponent only uses ThemeProvider to pass custom theme (9f5aec1)

Features

  • popover: Add new Popover component (2c706a8)

0.1.0 (2017-09-07)

Bug Fixes