All Versions
13
Latest Version
Avg Release Cycle
29 days
Latest Release
336 days ago

Changelog History
Page 1

  • v2.16.0 Changes

    November 25, 2020

    General:

    • πŸ†• NEW Tip component.
    • βž• Added tip prop to button.
    • βž• Added clear prop to Select that clears all selections.
    • πŸ’… Button kind automatically set to plain style when it has children.
    • βž• Added support for width object on width prop on Box.
    • πŸ›  Fixed Text truncation when align="end".
    • βž• Added fill prop to Heading.
    • 0️⃣ Accessibility fix for AnnounceContext default id.
    • βž• Added disabled prop to Button children.
    • βž• Added dropProps and dropHeight props for Drop customization on MaskedInput.
    • βž• Added support for border on Grid.
    • πŸ›  Fixed rgb and rgba linear-gradient backgrounds.
    • βž• Added weight prop to Anchor.
    • βž• Added touched option for onChange in Form.
    • βž• Added new theme extend for List and List item.
    • πŸ›  Fixed background-contrast to support dark and light more accurately.
    • πŸ”„ Changed InfiniteScroll to handle variable item heights.
    • βž• Added support for dark and light mode to Drop and Layer.
    • πŸ›  Fixed keyboard focus when Layer is a modal.
    • πŸ›  Fixed onClickOutside for non-modal Layer.
    • ✨ Enhanced CheckBoxGroup theming with checkBoxGroup.container.
    • πŸ›  Fixed issue with TextInput when there is a non-string placeholder.
    • πŸ›  Fixed Select allow multiple values to be selected when using search.

    Calendar:

    • ✨ Enhanced Calendar logic when using range.
    • πŸ›  Fixed timezone handling.
    • βž• Added activeDate prop.

    Clock:

    • βž• Added more theme sizes to analog Clock.
    • πŸ›  Fixed Clock when size prop is undefined or incomplete.

    DataChart:

    • πŸ›  Fixed a color issue when type: 'bars' and the color is set in a property.
    • πŸ”„ Changed DataChart to be more resilient to invalid properties when using type: 'bars'.

    DataTable:

    • πŸ›  Fixed generation of medium granularity x-axis labels.
    • Accessibility fix of aria-label.
    • βž• Added support for hover styling on DataTable when resizing.

    DateInput:
    βž• Added support for trimming adjacent days in the 6th row.
    πŸ›  Fixed DateInput resetting in Forms.

    Dev:
    Storybook stories organization by component type.

  • v2.15.2 Changes

    October 08, 2020
    • πŸ›  Only relevant for users that use radioButton.extend on the theme. Fixed RadioButton theme, so that radioButton.extend is not applied to two DOM elements. Previously radioButton.extend applied to the radio button itself and to the container around the radio button that includes the label. From now on, radioButton.extend only applies to the styling of the radio button itself, and radioButton.container.extend applies to the whole container (including the label).
      To maintain any previous styling done with radioButton.extend, add your styling to radioButton.container.extend as well.
  • v2.15.1 Changes

    October 08, 2020

    General:

    • ⬇️ Reduced bundle size of grommet.min.js.
    • πŸ›  Fixed bug on InfiniteScroll when replace and show are larger than step.
    • βž• Added icon and styling for FormField error or info messages.
    • πŸ›  Fixed dropProps functionality for DateInput.
    • πŸ‘ Allow active to pass as a prop to Tab.
    • βž• Added align options to Drop's stretch prop.
    • πŸ›  Fixed issue on Box with row-responsive between border.
    • πŸ›  Fixed onClick event for List and handle focus.
    • πŸ›  Fix ability to customize text size for Avatar on the theme.
    • βž• Added font.family to the theme for Paragraph and Text components.
    • ⚑️ Updated theme.global.active typing.

    Calendar:

    • πŸ›  Fixes incorrect month display on Calendar when switching months.
    • βž• Added support for customizing calendar dates and sizing.
    • πŸ›  Fixes incorrect date display when selecting a date more than a year apart.

    TextInput:

    • TextInput onSuggestionSelect is used for the suggestion feature instead of onSelect.
    • πŸ‘ Allowed TextInput the use of onSelect for listening to select events.
    • βž• Added plain='full' option for omitting padding on plain.

    DataTable:

    • βž• Added fill prop which allows the table to dynamically respond to the available real estate.
    • βž• Added pin prop which allows the first column, header, and/or footer to be pinned.
    • πŸ›  Fixed calculation of minimum value in DataTable when there are negative values.
    • πŸ”„ Changed DataTable to add sort.external.
    • βž• Added icons.sortable to DataTable theme.
    • πŸ”„ Changed DataTable to have select and onSelect props.
    • βž• Added support to nested object in sort and aggregate.
    • ⚑️ Updated theme to add more options for header cells of DataTable.
    • πŸ›  Fix background prop and background.pinned theme incompatibilities.
    • πŸ‘ Allows DataTable footer to be pinned on Safari.
  • v2.15.0 Changes

    August 20, 2020

    General:

    πŸ†• NEW Card component

    πŸ†• NEW DateInput component

    ⚑️ Updated Box to allow opacity to impact background image

    πŸ›  Fixed bug with Select where onOpen was being called twice

    βž• Added a default mask to MaskedInput

    πŸ”„ Changed ResponsiveContext to address breakpoint issue

    βž• Added option to Menu to allow different icons for open and close

    ⚑️ Updated Text, Grid, and Heading to accept React ref prop

    βž• Added new prop trapFocus to Drop and DropButton

    βž• Added theming for RadioButtonGroup container under radioButtonGroup.container

    Accessibility:

    • βž• Added a11yTitle support to TextArea
    • βž• Added messages prop to Video to support accessibility standards
    • πŸ‘Œ Improved List focus behavior with keyboard to align with WCAG accessibility guidelines
    • πŸ‘Œ Improved SkiplLinks component

    SkipLinks:

    • πŸ‘ Allows SkipLinks layer to open with a keyboard tab
    • πŸ‘ Allows users to skip SkipLinks layer and tab to header
    • πŸ‘ Allows users to edit SkipLinks messages
    • πŸ‘ Allows cyclic navigation of page with keyboard
    • Enables access to rest of interactive elements when the SkipLinks layer is shown
    • πŸ”„ Changed DOM behavior to prepend Layer to DOM so tabIndex order will behave correctly

    Form:

    • βž• Added onValidate, allows users to access infos and errors when a form validates
    • contentProps prop added to FromField which allows props to be set directly on content Box. When present, overrides props from theme or pad prop. overflow="hidden" will no longer be passed in but can be added in contentProps

    InfiniteScroll:

    • πŸ›  Fixed show prop behavior
    • πŸ›  Fixed InfiniteScroll duplicate key

    RadioButton:

    • βž• Added background.color option in RadioButton theme
    • βž• Added ability to set the font-weight of the label from the theme

    Chart:

    • ⚑️ Updated Chart to add per-value color and thickness for bar and point types
    • πŸ”„ Changed Chart to add point types
    • βž• Added animate prop to Chart

    DataChart:

    • βž• Added a series prop that encapsulates things previously in chart, xAxis and yAxis
    • βž• Added axis prop to replace xAxis and yAxis
    • βž• Added guide prop to replace the guide from xAxis and yAxis
    • βž• Added detail prop to provide hover interaction details for horizontal bands
    • βž• Added granularity concept for axis and guide
    • πŸ†• New legend prop provides a legend

    Theming:

    • πŸ‘ Allowed users to specify FormField margin via theme
    • πŸ‘ Allowed for disabled tab state to be styled via theme
    • πŸ›  Fixed plain Buttons active styling for themes that define button.default

    TypeScript:

    • ⚑️ Updated RangeInput onChange to use intrinsic HTML input onChange type
    • πŸ›  Fixed Clock onChange to accept a string as an argument
    • πŸ‘Œ Improved Form onSubmit handling of value key of form event
    • βž• Added type definitions for day in Calendar
    • Defined missing action prop type
    • πŸ›  Fixed Calendar onSelect type
  • v2.14.0 Changes

    June 12, 2020

    General:

    • πŸ†• New CheckBoxGroup component.
    • πŸ†• New DataChart component.
    • πŸ”„ Changed Button to have kind behavior for default and secondary kind.
    • πŸ›  Fixed Preact Compatibility.
    • πŸ‘ Allowed theme to specify the size, height, and weight of an input.
    • πŸ›  Fixed Clock countdown timer.
    • πŸ›  Fixed missing forwardRef for DataTable, Diagram, Image, Menu, TableBody, TableCell, and Tabs.
    • ✨ Enhanced focus theme styling to have outline and shadow props.
    • βž• Added disabled theme styling to MaskedInput.
    • πŸ›  Fixed scrolling issues with TextInput.
    • πŸ”„ Changed Select and TextInput to accept a11yTitle prop as aria-label.
    • πŸ›  Fixed an issue with caller controlling state in DropButton.
    • βž• Added rotateLeft and rotateRight to Box animation.
    • πŸ”„ Changed RangeInput to support bounds.
    • πŸ›  Fixed onKeyDown event for TextArea.

    RadioButtonGroup:

    • πŸ”„ Changed RadioButtonGroup to support numeric and boolean values.
    • πŸ›  Fix the responsive behavior of RadioButtonGroup.

    Form:

    • πŸ”„ Changed Form and FormField to fix some issues with state and events.
    • ⚑️ Updated FormField to allow for disabled state styling via the theme.
    • βž• Added background and border options in FormField theme.

    Accordion:

    • πŸ”„ Changed hover, focus, and border in Accordion theme.
    • βž• Added hover color theming for Accordion.

    Menu:

    • βž• Added color theme styling for Menu icons.
    • πŸ›  Fixed dropProps in Menu to work with RTL.

    Select:

    • πŸ›  Fixed onClick propagation in Select component.
    • πŸ›  Fixed display of Select value when equal to zero.
    • πŸ›  Fixed an issue with Select multiple.
    • πŸ›  Fixed console error thrown by Select component.
    • πŸ›  Fixed an issue with onSearch being called multiple times.

    Tab/Tabs:

    • βž• Added icon and reverse props to Tab.
    • πŸ›  Fixed focus toggling on Tab.
    • βž• Added responsive prop to Tabs.
    • βž• Added alignControls prop to Tabs.
    • βž• Added tabs header border theming to Tabs.

    TypeScript:

    • πŸ›  Fixed AnnounceContext to accept timeout as a parameter.
    • πŸ›  Fixed TypeScript declaration of onChange in Form.
    • πŸ‘Œ Improved DataTable types.
    • βž• Added extend type to Text.

    Hooks:

    • Removing HOC from List.
    • πŸ”„ Changed SelectContainer to use hooks.
    • πŸ”„ Changed Collapsible to use hooks.
    • βœ‚ Removed higher-order components.
    • πŸ”„ Changed Video to use hooks.
    • πŸ”„ Changed Select to fix an issue with callback hooks.

    Dev:

    • πŸ“¦ Replaced css package with PostCSS.
    • βœ‚ Remove recompose dependency.
    • πŸ›  Fixed security warning from the markdown-to-jsx package by updating to 6.11.4.
    • βž• Add jest-axe library for advanced accessibility testing.
    • πŸ›  Fixed and cleaned code coverage references.
  • v2.13.0 Changes

    April 20, 2020

    πŸ†• NEW Sidebar component.

    πŸ‘Œ Improved Form documentation.

    πŸ”„ Changed Accordion to fix an issue with wrapped children panels.

    πŸ”„ Changes Select to fix an issue with onChange value.

    βž• Added containerTarget to Grommet, for enhanced Drop/Layer containers positioning.

    πŸ”„ Changed InfiniteScroll to address issues with React.StrictMode.

    πŸ›  Fixed console warning of List.

    πŸ›  Fixed an issue with gap=β€œnone” on RadioButtonGroup.

    πŸ›  Fixed a11yTitle support of Image.

    βž• Added ref support to Paragraph.

    βž• Added β€˜size’ option to β€˜columns’ prop of DataTable.

    πŸ›  Fixed the sort icon switch in DataTable.

    πŸ”„ Changed TextInput, MaskedInput, and TextArea to work as uncontrolled components.

    ✨ Enhanced the theme global.input.padding to accept an object.

    πŸ”„ Changed CheckBox checked to default to false as documented.

    πŸ”„ Changed Form to fire onChange once per change.

    πŸ”„ Changed Form to fix caret issue on input fields.

    πŸ›  Fixed warning with FormField on react-dom 16.13.1.

    βž• Added icon support for Select to enable icon switches when the drop opens or closes.

    βž• Added extensive theme styling for disabled Button.

    πŸ”„ Changed Menu to propagate dropProps to DropButton.

    πŸ”„ Changed DropButtton to fix an issue with function refs.

    βž• Added theme properties for primary and active Button.

    TypeScript:

    • πŸ›  Fixed types of Border style.
    • πŸ›  Fixed types of Avatar to include IntrinsicElements.
    • πŸ›  Fixed theme property type for Select control.open.

    ♻️ Hooks Refactoring:

    • WorldMap to use hooks.
  • v2.12.0 Changes

    April 01, 2020
    • πŸ†• New Avatar component.
    • πŸ”„ Changed Form to fix some issues with various control patterns.
    • πŸ”„ Changed Form to fix an issue with required Checkbox.
    • πŸ”„ Changed Select to fix an issue with clearing multiple
    • πŸ›  Fixed Calendar issues with selecting multiple dates and selecting a date with range.
  • v2.11.3 Changes

    March 28, 2020
    • βž• Added name prop for FormField.
    • πŸ”„ Changed Image to allow fill to be horizontal or vertical.
    • βž• Added dash prop to Chart.
    • πŸ”„ Changed DataTable to add verticalAlign under columns.
    • βž• Added DataTable support for primarykey false.
    • πŸ”„ Changed Layer to enable the target to work for non-modal layers.
    • πŸ”„ Changed Form to fix an issue with controlled components.
    • πŸ”„ Changed Select to fix an issue with value propagation.
    • πŸ”„ Changed Grid to fix an issue with flex columns and numeric count.
    • πŸ›  Fixed an issue with dark mode color of Box.
    • πŸ›  Fixed Form FormContext to fix an issue with caret positioning.
    • πŸ”„ Changed TextInput to fix an issue with drop opening (fix requires TextInput suggestions to not change on every render, and should be placed on the state or useMemo instead)
       
      TypeScript:
    • πŸ›  Fix type error in theme breakpoints.
    • Development - Fix TypeScript errors on Storybook.

    Hooks:

    • ♻️ Refactor Class Children story to functional components.
    • πŸ”„ Changed Accordion and AccordionPanel to use hooks.
    • ♻️ Refactor DataTable Resizer to use hooks.
  • v2.11.2 Changes

    March 13, 2020

    βž• Added margin prop to List.

    βž• Added target prop to Layer.

    βž• Added icon and reverse props to TextInput and MaskedInput.

    βž• Added responsive prop for Grid.

    βž• Added sort and onSort to DataTable.

    βž• Added transition styling to the Button theme.

    πŸ”„ Changed DataTable to handle an empty column definition.

    πŸ›  Fixed an issue with border=β€œbetween”.

    πŸ›  Fixed Drop issue with onSuggestionOpen/Close.

    πŸ›  Fixed Layer background issue on IE11.

    πŸ›  Fixed mask enforcement on MaskedInput.

    πŸ›  Fixed issue with Select InfiniteScroll when reaching to the end of the container.

    πŸ”„ Changed FormField to propagate disabled and required to a created input element.

    πŸ”„ Changed FormField to remove validation when unmounted.

    πŸ”„ Changed Form to fix an issue with setting value from a component.

    πŸ”„ Changed FormField to allow react nodes for help, error, and info.

    ♻️ Refactoring Drop, Layer, Carousel class components to use React hooks.

    πŸ‘ TypeScript support:

    • πŸ‘Œ Improved types for theme breakpoints.
  • v2.11.1 Changes

    February 22, 2020
    • πŸ›  Fixed issue with Select setValue.