2021-07-26 02:45:03 +00:00
# Unreleased
2021-08-23 17:36:00 +00:00
- Add `autoComplete` prop to the `SelectControl` component. #7497
2021-10-13 00:20:24 +00:00
- Fix calendar not being dismissed when clicking outside. #7714
2021-07-26 02:45:03 +00:00
2021-08-10 11:42:03 +00:00
# 8.1.0
2021-07-26 02:45:03 +00:00
- Fix a bug in the deprecated callback handlers of Form component. #7356
2021-08-06 05:39:16 +00:00
- Fix a bug in the `<DateFilter>` component where values were retained when switching between rules #7423
2021-07-27 14:14:54 +00:00
- Add `hidden` legend position to `Chart` . #7378
2021-08-09 01:04:06 +00:00
- Update aligning `Table` fields with the fallback on isNumeric. #7431
2021-07-26 02:45:03 +00:00
2021-07-14 20:38:57 +00:00
# 8.0.0
2021-07-13 22:40:55 +00:00
2021-07-14 20:38:57 +00:00
- Fix commonjs module build, allow package to be built in isolation. #7286
2021-07-13 22:40:55 +00:00
- Remove deprecated Card, Count and Gravatar components. #7293
2021-07-14 03:18:54 +00:00
- Add TableSummaryPlaceholder to support skeleton loading. #7294
2021-07-13 22:40:55 +00:00
2021-07-08 16:30:11 +00:00
# 7.1.0
2021-06-11 06:26:02 +00:00
2021-06-18 12:18:19 +00:00
- Add rowKey prop to Table and TableCard component. #7196
2021-07-13 22:17:51 +00:00
- AdvancedFilters: Create workable defaults for Reports that don't have them #7186
2021-07-08 16:30:11 +00:00
- Filters: On update respect all other queries, not just persistedQueries #7155
- Fix non-string query prop warning in SelectControl component. #7046
- Fix WordPress 5.8 compatibility UI fixes #7255
- Revert Card component removal #7167 .
- Update DynamicForm, adding initial config memoization. #7256
- Update package dependencies
2021-06-11 06:26:02 +00:00
2021-06-09 21:01:07 +00:00
# 7.0.0
2021-05-24 12:44:13 +00:00
- Fix style regression with the Chart header. #7002
2021-05-26 19:53:45 +00:00
- Fix styling of the advanced filter operator selection. #7005
2021-05-25 15:14:14 +00:00
- Remove the use of Dashicons and replace with @wordpress/icons or gridicons #7020
2021-05-26 19:35:46 +00:00
- Add tree shaking support to this package. #7034
2021-06-03 22:08:45 +00:00
- Deprecate the Gravatar component. #7716
2021-06-03 21:44:22 +00:00
- Remove useFilters from the package. #7117
2021-06-03 20:29:59 +00:00
- Deprecate SegmentedSelection, it will be removed in the next major release. #7118
2021-06-03 19:59:11 +00:00
- Deprecate the Count component, with plan to remove in next major version. #7115
2021-06-03 19:43:56 +00:00
- Remove the long deprecated Card component (use Card from `@wordpress/components` instead). #7114
2021-06-09 13:56:45 +00:00
- Add `<AbbreviatedCard />` component. #7017
2021-06-09 21:01:07 +00:00
- Remove support for IE11. #7112
2021-05-24 12:44:13 +00:00
2021-05-13 15:42:04 +00:00
# 6.2.0
Refactor <List> to support custom markup (https://github.com/woocommerce/woocommerce-admin/pull/6787)
* Create the new experimental list, default to rendering it when items are not supplied.
* Remove typings from the List, ListItem.
* Add react-transition-group as dependency.
* Fix warnings by wrapping with CSS transition, pass down props from List.
* Remove type annotations left in list-item.
* Duplicate some styles in the higher level woocommerce-list-item element, to make them work in the new list.
* Fix accessibility issues, adjust the role logic
* Add more testing of the roles logic.
* Mark the old list stories as deprecated, add a basic story for the new style.
* Expose ListItem without Experimental in the name.
* Remove some redundant code changes.
* Fix linting issues
* Add types package.
* Cast the type of children to TransitionGroup.
* Adjust the list to assume a purpose of being a list of links.
* Adjust the tests for the new behaviour.
* Fix css mangled by prettier.
* Fix types that are optional.
* Rework the list item.
* Export new list as experimental, fix accessibility styles and deprecation notice.
* Make the basic transition opt-in.
* Update classnames to get types.
* Add tests, adjust behaviour for css disable.
* Fix css lint, remove types/classnames, update tetsing-library/user-event.
* Fix the basic story for ExperimentalList.
* Conditionally add keyDown and role based on onClick handler. Adjust tests to new behaviour.
* tabIndex only on hasAction
* Update the package-lock
* Add changelog
* Fix transition styling
Co-authored-by: Paul Sealock <psealock@gmail.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-04-23 18:47:43 +00:00
2021-05-13 15:20:07 +00:00
- Fix `autocompleter` for custom Search in `CompareFilter` #6911
2021-05-06 07:07:45 +00:00
- SelectControl: automatically scroll to selected options when list is displayed. #6906
- SelectControl: no longer auto selects on rendering list. #6906
2021-05-03 17:18:07 +00:00
- Make `Search` accept synchronous `autocompleter.options` . #6884
2021-04-27 14:03:29 +00:00
- SelectControl: fix display of multiple selections without inline tags. #6862
2021-05-10 14:40:49 +00:00
- Add depreciation notice for the current list. #6787
2021-04-27 05:59:38 +00:00
- Force `<SearchListItem>` form elements id to be unique. #6871
- Add `controlId` and `name` props to `<SearchListItem>` . #6871
- Minor styling tweaks and fixes to `<SearchListcontrol>` . #6871
2021-04-27 18:10:33 +00:00
- Fix `autocompleter` for custom Search in `FilterPicker` #6880
2021-05-14 15:23:01 +00:00
- Remove `woocommerce/experimental` dependency. #6986
Refactor <List> to support custom markup (https://github.com/woocommerce/woocommerce-admin/pull/6787)
* Create the new experimental list, default to rendering it when items are not supplied.
* Remove typings from the List, ListItem.
* Add react-transition-group as dependency.
* Fix warnings by wrapping with CSS transition, pass down props from List.
* Remove type annotations left in list-item.
* Duplicate some styles in the higher level woocommerce-list-item element, to make them work in the new list.
* Fix accessibility issues, adjust the role logic
* Add more testing of the roles logic.
* Mark the old list stories as deprecated, add a basic story for the new style.
* Expose ListItem without Experimental in the name.
* Remove some redundant code changes.
* Fix linting issues
* Add types package.
* Cast the type of children to TransitionGroup.
* Adjust the list to assume a purpose of being a list of links.
* Adjust the tests for the new behaviour.
* Fix css mangled by prettier.
* Fix types that are optional.
* Rework the list item.
* Export new list as experimental, fix accessibility styles and deprecation notice.
* Make the basic transition opt-in.
* Update classnames to get types.
* Add tests, adjust behaviour for css disable.
* Fix css lint, remove types/classnames, update tetsing-library/user-event.
* Fix the basic story for ExperimentalList.
* Conditionally add keyDown and role based on onClick handler. Adjust tests to new behaviour.
* tabIndex only on hasAction
* Update the package-lock
* Add changelog
* Fix transition styling
Co-authored-by: Paul Sealock <psealock@gmail.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-04-23 18:47:43 +00:00
2021-04-16 03:34:15 +00:00
# 6.1.2
- Update dependencies.
2021-04-15 18:34:12 +00:00
# 6.1.1
- Update dependencies.
2021-04-15 16:54:32 +00:00
# 6.1.0
2021-04-15 06:49:35 +00:00
2021-04-15 16:54:32 +00:00
- Make pagination buttons height and width consistent. #6725
- Add optional `children` prop to `<SummaryNumber>` . #6748
- Add `@woocommerce/experimental` , `md5` and `dompurify` as dependencies. #6804
2021-04-15 06:49:35 +00:00
2021-04-01 23:28:03 +00:00
# 6.0.0
2020-11-25 18:51:15 +00:00
2020-12-17 14:59:01 +00:00
- Change styling of `<ProductImage />` .
2020-12-10 10:44:31 +00:00
- Remove the `showCount` prop from `<SearchListItem>` . Count will always be displayed if any of those props is not undefined/null: `countLabel` and `item.count` .
- Fix alignment of `<SearchListItem>` count bubble in newest versions of `@wordpress/components` .
2020-12-22 14:32:24 +00:00
- `<SearchListControl>` no longer has different styles when it's used inside a panel. Those styles are available now with the `isCompact` prop.
2020-12-17 14:59:01 +00:00
- Support custom attributes in `<AttributeFilter />` .
- Add product attributes support to `<Search />` .
- Allow single-selection support to `<Search />` .
- Improve handling of `multiple` and `inlineTags` in `<SelectControl />` .
2020-12-21 23:12:05 +00:00
- Deprecate use of `<Card>` in favor of the `<Card>` component in `@wordpress/components` .
2021-02-02 23:02:57 +00:00
- Fixing screen reader text being undefined for report `<Table>`
2021-02-05 16:24:34 +00:00
- Update `<SearchListControl />` to use checkbox and radio inputs.
2021-04-01 12:34:56 +00:00
- Fix < SelectControl /> so the onChange value type always matches the selected type. #6594
2020-11-25 18:51:15 +00:00
2021-03-12 03:58:51 +00:00
## Breaking changes
- Move Lodash to a peer dependency.
2020-09-18 02:22:52 +00:00
# 5.1.2
- Update dependencies.
2020-09-17 20:19:36 +00:00
# 5.1.1
- Update dependencies.
2020-09-11 02:33:10 +00:00
# 5.1.0
2020-08-12 19:35:26 +00:00
2020-08-27 23:55:48 +00:00
- Fix default value for `<Table />` component `onQueryChange` prop.
2020-08-20 23:14:55 +00:00
- Deprecate our bespoke component `useFilters` in favor of using the WordPress variety `withFilters` .
2020-08-26 12:29:21 +00:00
- Fix screen reader text in `<AdvancedFilters />` .
2020-08-27 23:55:48 +00:00
- Add `<AttributeFilter />` component to `<AdvancedFilters />` .
- Fix internal dependencies for `<Plugins />` .
- Add full response to `<Plugins />` callbacks `onError` and `onComplete` .
2020-08-12 19:35:26 +00:00
2020-08-04 03:10:36 +00:00
# 5.0.0
- Added `<Timeline />` component.
- Added `<ImageUpload />` component.
- Style form components for WordPress 5.3.
- Fix CompareFilter options format (key prop vs. id).
- Fix styling of `<Search />` component "clear all" button.
- Add state classes to `<TextControlWithAffixes />` component.
- Fix `<AnimationSlider />` example code.
- Add `<Plugins />` component for installation of plugins.
- Removed use of `IconButton` in favor of `Button` component.
- Add custom autocompleter support to `<Search />` component.
- 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.
- Add `<Pill />` component.
- Add `key` prop to `<List />` component items.
- Remove unused `ref` from `<DateRangeFilterPicker />` .
2020-05-29 02:32:37 +00:00
## Breaking Changes
2020-08-04 03:10:36 +00:00
- 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
2020-08-04 03:10:36 +00:00
- 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.
2019-12-02 13:08:35 +00:00
### Decouple wcSettings from published packages (#3001)
2020-08-04 03:10:36 +00:00
- `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.
2019-12-02 13:08:35 +00:00
## Other Changes
2020-08-04 03:10:36 +00:00
- Renamed the `<Autocomplete />` component to `<SelectControl />` .
- Added `isSearchable` prop to `<SelectControl />` to allow simple select dropdowns.
- Removed WC-Admin specific actions from `<TableCard />` component.
- Export the `<CompareButton />` component.
- Add `<TextControl />` component.
- Require `currency` prop in `<AdvancedFilters />` component.
- Remove call to `getAdminLink()` inside the `<Link />` component.
- 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
2020-08-04 03:10:36 +00:00
- AdvancedFilters component: fire `onAdvancedFilterAction` for match changes.
- TableCard component: add `onSearch` and `onSort` function props.
- Add new component `<List />` for displaying interactive list items.
- Fix z-index issue in `<Chart />` empty message.
- Added a new `<SimpleSelectControl />` component.
- Added a new `<WebPreview />` component.
- SearchListItem component: fix long count values being cut-off in IE11.
- 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
2020-08-04 03:10:36 +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
2020-08-04 03:10:36 +00:00
- < DateInput > and < DatePicker > got a `disabled` prop.
- TableCard component: new `onPageChange` prop.
- TableCard now has a `defaultOrder` parameter to specify default sort column sort order.
- 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.
- 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.
- Chart has a new prop named `yBelow1Format` which overrides the `yFormat` for values between -1 and 1 (not included).
- Add a `totals` prop to Chart component that allows overwriting the total values shown in the legend.
- Add new component `<Stepper />` for showing a list of steps and progress.
- Add new `<Spinner />` component.
- Card component: updated default Muriel design.
- Card component: new `description` prop.
- Card component: new `isInactive` prop.
- DateRangeFilterPicker (breaking change): Introduced `onRangeSelect` prop and remove `path` prop better control.
- 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
2020-08-04 03:10:36 +00:00
- Chart legend component now uses withInstanceId HOC so the ids used in several HTML elements are unique.
- Chart component now accepts data with negative values.
- 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.
- Expand search results and allow searching when input is refocused in autocompleter.
- 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.
- 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.
- Bump dependency versions.
2019-03-05 18:27:20 +00:00
2019-02-21 16:47:28 +00:00
# 1.6.0
2020-08-04 03:10:36 +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` .
- Chart component: remove d3-array dependency.
- Chart component: fix display when there is no data.
- Chart component: change chart type query parameter to `chartType` .
- Chart component: add `screenReaderFormat` prop that will be used to format dates for screen reader labels.
- Bug fix for `<StockReportTable />` returning N/A instead of zero.
- Add new component: SearchListControl for displaying and filtering a selectable list of items.
2019-02-20 20:18:27 +00:00
# 1.5.0
2020-08-04 03:10:36 +00:00
- Improves display of charts where all values are 0.
- 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.
- Number of selectable chart elements is now limited to 5.
- Color scale logic for charts with lots of items has been fixed.
- Update `@woocommerce/navigation` to v2.0.0
- Bug fix for `<StockReportTable />` returning N/A instead of zero.
- 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
2020-08-04 03:10:36 +00:00
- Add emoji-flags dependency
2019-01-29 21:19:00 +00:00
# 1.4.1
2020-08-04 03:10:36 +00:00
- Chart component: format numbers and prices using store currency settings.
- Make `href` /linking optional in SummaryNumber.
- Fix SummaryNumber example code.
2019-01-17 23:38:43 +00:00
2019-01-16 16:39:37 +00:00
# 1.4.0
2020-08-04 03:10:36 +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.
- Added `interactive` prop for `d3chart/legend` to signal if legend items are clickable or not.
- 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.
- `getColor()` method in chart utils now requires `keys` and `colorScheme` to be passed as separate params.
- Fix to avoid duplicated Y-axis ticks when the Y max value was 0.
- Remove decimals from Y-axis when displaying currencies.
- 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
2020-08-04 03:10:36 +00:00
- Update `<Table />` to use header keys to denote which columns are shown
- Add `onColumnsChange` property to `<Table />` which is called when columns are shown/hidden
- Add country autocompleter to search component
- Add customer email autocompleter to search component
- Add customer username autocompleter to search component
- 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
2020-08-04 03:10:36 +00:00
- Update `Search` to exclude already-selected items
- Fix incorrectly loaded `proptype-validator`
- 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
2020-08-04 03:10:36 +00:00
- 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