2020-05-29 02:32:37 +00:00
# 5.0.0 (Unreleased)
2020-06-16 19:44:08 +00:00
- Added `<Timeline />` component.
2019-12-02 17:39:22 +00:00
- Added `<ImageUpload />` component.
2019-12-13 17:35:29 +00:00
- Style form components for WordPress 5.3.
2019-12-16 15:27:53 +00:00
- Fix CompareFilter options format (key prop vs. id).
2020-01-23 15:32:28 +00:00
- Fix styling of `<Search />` component "clear all" button.
2020-01-28 16:54:39 +00:00
- Add state classes to `<TextControlWithAffixes />` component.
2020-03-24 21:50:26 +00:00
- Fix `<AnimationSlider />` example code.
2020-04-16 23:58:36 +00:00
- Add `<Plugins />` component for installation of plugins.
2020-05-29 02:32:37 +00:00
- Removed use of `IconButton` in favor of `Button` component.
2020-06-10 13:42:22 +00:00
- Add custom autocompleter support to `<Search />` component.
2020-06-11 18:13:55 +00:00
- Fix `<SelectControl />` component to allow clicking anywhere on options in list to select.
- Add support for `<List />` component item tags and link types.
- Add `<List />` and `<Link />` components to Storybook.
2020-05-29 02:32:37 +00:00
## Breaking Changes
- Removed `SplitButton` because its not being used.
2019-12-02 17:39:22 +00:00
2019-12-02 13:08:35 +00:00
# 4.0.0
## Breaking Changes
- Added a new `<ScrollTo />` component.
- Changed the `<List />` `description` prop to `content` and allowed content nodes to be passed in addition to strings.
- Removed the `<SimpleSelectControl />` component.
### Decouple wcSettings from published packages (#3001)
- `AdvancedFilters` component now receives `siteLocale` as a prop.
- `ReportsFilters` component now receives `siteLocale` as a prop.
- `NumberFilter` component now receives `currencySymbol` and `symbolPosition` as props.
- `AdvancedFilters` and `ReportsFilters` receive `currency` as a prop, it is required and must be an instance of the new `Currency` object exported by `@woocommerce/currency`
- `Chart` receives `currency` as a prop.
- Add `storeDate` prop to `<ReportFilters />` and `<DateRangeFilterPicker />` components.
- `AdvancedFilters` and `ReportFilters` now receive a required `storeDate` prop as a means to pass down date initialization values from client.
- The `href` prop in the `<Link>` component must now receive the full url instead of relative.
## Other Changes
2019-10-07 22:42:32 +00:00
- Renamed the `<Autocomplete />` component to `<SelectControl />` .
- Added `isSearchable` prop to `<SelectControl />` to allow simple select dropdowns.
2019-10-08 22:02:26 +00:00
- Removed WC-Admin specific actions from `<TableCard />` component.
- Export the `<CompareButton />` component.
2019-10-09 23:00:33 +00:00
- Add `<TextControl />` component.
2019-11-21 21:51:52 +00:00
- Require `currency` prop in `<AdvancedFilters />` component.
2019-11-22 17:07:26 +00:00
- Remove call to `getAdminLink()` inside the `<Link />` component.
2019-12-02 13:08:35 +00:00
- Explicitly import component styles from `@wordpress/base-styles` (#3292)
- Update various dependencies
2019-08-20 13:06:08 +00:00
2019-08-15 22:08:29 +00:00
# 3.2.0
2019-07-11 23:36:55 +00:00
- AdvancedFilters component: fire `onAdvancedFilterAction` for match changes.
2019-08-15 22:08:29 +00:00
- TableCard component: add `onSearch` and `onSort` function props.
2019-07-10 02:25:25 +00:00
- Add new component `<List />` for displaying interactive list items.
2019-07-12 19:53:59 +00:00
- Fix z-index issue in `<Chart />` empty message.
2019-07-17 18:46:55 +00:00
- Added a new `<SimpleSelectControl />` component.
2019-08-01 23:27:38 +00:00
- Added a new `<WebPreview />` component.
2019-08-15 07:30:03 +00:00
- SearchListItem component: fix long count values being cut-off in IE11.
2019-08-15 19:54:45 +00:00
- Add `disabled` prop to CompareButton, Search, and TableCard components.
- Table component: add empty table display.
2019-07-04 15:50:56 +00:00
2019-07-05 10:26:50 +00:00
# 3.1.0
2019-08-15 07:30:03 +00:00
- Added support for a `countLabel` prop on `SearchListItem` to allow custom counts.
2019-07-05 10:26:50 +00:00
2019-06-27 01:00:44 +00:00
# 3.0.0
2019-05-07 07:18:48 +00:00
- < DateInput > and < DatePicker > got a `disabled` prop.
2019-04-30 09:43:55 +00:00
- TableCard component: new `onPageChange` prop.
2019-05-07 18:16:42 +00:00
- TableCard now has a `defaultOrder` parameter to specify default sort column sort order.
2019-04-22 10:24:32 +00:00
- Pagination no longer considers `0` a valid input and triggers `onPageChange` on the input blur event.
- Tweaks to SummaryListPlaceholder height in order to better match SummaryNumber.
2019-05-07 07:18:48 +00:00
- EllipsisMenu component (breaking change): Remove `children` prop in favor of a render prop `renderContent` so that function arguments `isOpen` , `onToggle` , and `onClose` can be passed down.
2019-05-09 08:20:48 +00:00
- Chart has a new prop named `yBelow1Format` which overrides the `yFormat` for values between -1 and 1 (not included).
2019-06-11 12:31:53 +00:00
- Add a `totals` prop to Chart component that allows overwriting the total values shown in the legend.
2019-05-17 08:01:40 +00:00
- Add new component `<Stepper />` for showing a list of steps and progress.
2019-05-23 12:42:58 +00:00
- Add new `<Spinner />` component.
2019-05-22 08:38:25 +00:00
- Card component: updated default Muriel design.
- Card component: new `description` prop.
- Card component: new `isInactive` prop.
2019-05-22 21:43:04 +00:00
- DateRangeFilterPicker (breaking change): Introduced `onRangeSelect` prop and remove `path` prop better control.
2019-07-05 10:26:12 +00:00
- Update license to GPL-3.0-or-later.
2019-04-22 07:56:54 +00:00
2019-04-11 18:43:45 +00:00
# 2.0.0
2019-03-05 18:27:20 +00:00
- Chart legend component now uses withInstanceId HOC so the ids used in several HTML elements are unique.
2019-04-03 16:19:38 +00:00
- Chart component now accepts data with negative values.
2019-03-06 20:12:28 +00:00
- Chart component: new prop `filterParam` used to detect selected items in the current query. If there are, they will be displayed in the chart even if their values are 0.
2019-03-18 02:40:25 +00:00
- Expand search results and allow searching when input is refocused in autocompleter.
2019-04-09 15:42:21 +00:00
- Animation Slider: Remove `focusOnChange` in favor of `onExited` so consumers can pass a function to be executed after a transition has finished.
- SearchListControl: Add `onSearch` callback prop to let the parent component know about search changes.
2019-02-24 23:09:53 +00:00
- Calendar: Expose `isInvalidDate` prop to `DatePicker` to indicated invalid days that are not selectable.
- Calendar: Expose `isInvalidDate` prop to `DateRange` and remove the `invalidDays` prop.
2019-04-11 18:43:45 +00:00
- Bump dependency versions.
2019-03-05 18:27:20 +00:00
2019-02-21 16:47:28 +00:00
# 1.6.0
2019-02-12 21:42:02 +00:00
- Chart component: new props `emptyMessage` and `baseValue` . When an empty message is provided, it will be displayed on top of the chart if there are no values different than `baseValue` .
2019-02-07 09:57:47 +00:00
- Chart component: remove d3-array dependency.
- Chart component: fix display when there is no data.
2019-02-15 14:37:56 +00:00
- Chart component: change chart type query parameter to `chartType` .
2019-02-26 10:56:49 +00:00
- Chart component: add `screenReaderFormat` prop that will be used to format dates for screen reader labels.
2019-02-20 20:18:27 +00:00
- Bug fix for `<StockReportTable />` returning N/A instead of zero.
- Add new component: SearchListControl for displaying and filtering a selectable list of items.
# 1.5.0
2019-02-05 09:56:26 +00:00
- Improves display of charts where all values are 0.
2019-02-04 21:15:06 +00:00
- Fix X-axis labels in hourly bar charts.
- New `<Search>` prop named `showClearButton` , that will display a 'Clear' button when the search box contains one or more tags.
2019-02-06 15:46:37 +00:00
- Number of selectable chart elements is now limited to 5.
- Color scale logic for charts with lots of items has been fixed.
2019-02-07 01:26:22 +00:00
- Update `@woocommerce/navigation` to v2.0.0
2019-02-07 08:29:01 +00:00
- Bug fix for `<StockReportTable />` returning N/A instead of zero.
2019-02-11 18:05:00 +00:00
- In `<Search>` use backspace key to remove tags from the search box.
2019-02-04 21:15:06 +00:00
2019-01-31 22:47:50 +00:00
# 1.4.2
2019-01-29 21:19:00 +00:00
- Add emoji-flags dependency
# 1.4.1
2019-01-17 23:38:43 +00:00
- Chart component: format numbers and prices using store currency settings.
2019-01-18 13:52:10 +00:00
- Make `href` /linking optional in SummaryNumber.
2019-01-25 17:17:09 +00:00
- Fix SummaryNumber example code.
2019-01-17 23:38:43 +00:00
2019-01-16 16:39:37 +00:00
# 1.4.0
2018-12-22 00:40:41 +00:00
- Add download log ip address autocompleter to search component
- Add order number autocompleter to search component
- Add order number, username, and IP address filters to the downloads report.
2018-12-22 00:24:26 +00:00
- Added `interactive` prop for `d3chart/legend` to signal if legend items are clickable or not.
2019-01-08 09:21:47 +00:00
- Fix for undefined ref in `d3chart/legend` .
- Added three news props to `<Chart>` :
- `interactiveLegend` : whether legend items are clickable or not. Defaults to true.
- `legendPosition` : can be `top` , `side` or `bottom` . If not specified, it's calculated based on `mode` and viewport width.
- `showHeaderControls` : whether the header controls must be visible. Defaults to true.
2019-01-11 11:24:10 +00:00
- `getColor()` method in chart utils now requires `keys` and `colorScheme` to be passed as separate params.
2019-01-11 18:16:29 +00:00
- Fix to avoid duplicated Y-axis ticks when the Y max value was 0.
2019-01-11 18:18:31 +00:00
- Remove decimals from Y-axis when displaying currencies.
2019-01-14 16:29:46 +00:00
- Fix date formatting on charts in Safari.
2018-12-22 00:24:26 +00:00
2018-12-05 22:30:01 +00:00
# 1.3.0
- Update `<Table />` to use header keys to denote which columns are shown
2018-12-11 19:34:16 +00:00
- Add `onColumnsChange` property to `<Table />` which is called when columns are shown/hidden
2018-12-14 15:13:34 +00:00
- Add country autocompleter to search component
2018-12-17 16:20:11 +00:00
- Add customer email autocompleter to search component
2018-12-17 15:49:03 +00:00
- Add customer username autocompleter to search component
2018-12-14 18:44:24 +00:00
- Adding new `<Chart />` component.
- Added new `showDatePicker` prop to `<Filters />` component which allows to use the filters component without the date picker.
- Added new taxes and customers autocompleters, and added support for using them within `<Filters />` .
- Bug fix for `<SummaryNumber />` returning N/A instead of zero.
- Bug fix for screen reader label IDs in `<Table />` header.
- Added new component `<TextControlWithAffixes />` .
2018-12-05 22:30:01 +00:00
2018-12-03 15:09:16 +00:00
# 1.2.0
2018-11-30 18:19:17 +00:00
2018-12-03 15:09:16 +00:00
- Update `Search` to exclude already-selected items
2018-11-30 18:19:17 +00:00
- Fix incorrectly loaded `proptype-validator`
2018-12-03 15:09:16 +00:00
- Update focus style on `SummaryNumber`
- Remove prefixes from order statuses
2018-11-30 18:19:17 +00:00
2018-11-29 21:34:01 +00:00
# 1.1.0
- Add `interpolate-components` as an explicit dependency, fixes issue with
- Update `<Popover />` usage to match core component updates
- Chart component: Add `chartMode` prop to control display mode
- Add Taxes autocompleter to Search
- Improve test coverage with new tests