packages/js/components/PREVIOUS_CHANGELOG.md
onFilterChange method in the AdvancedFilters component. #8459
onFilterChange( index, property, value, shouldResetValue = false ); to onFilterChange( index, { property, value, shouldResetValue = false } );DatePicker. #7982labelPositionToLeft prop to the OrderStatus component. #8121@woocommerce/wc-admin-settings. #8057autoComplete prop to the SelectControl component. #7497<DateFilter> component where values were retained when switching between rules #7423hidden legend position to Chart. #7378Table fields with the fallback on isNumeric. #7431@wordpress/components instead). #7114<AbbreviatedCard /> component. #7017autocompleter for custom Search in CompareFilter #6911Search accept synchronous autocompleter.options. #6884<SearchListItem> form elements id to be unique. #6871controlId and name props to <SearchListItem>. #6871<SearchListcontrol>. #6871autocompleter for custom Search in FilterPicker #6880woocommerce/experimental dependency. #6986children prop to <SummaryNumber>. #6748@woocommerce/experimental, md5 and dompurify as dependencies. #6804<ProductImage />.showCount prop from <SearchListItem>. Count will always be displayed if any of those props is not undefined/null: countLabel and item.count.<SearchListItem> count bubble in newest versions of @wordpress/components.<SearchListControl> no longer has different styles when it's used inside a panel. Those styles are available now with the isCompact prop.<AttributeFilter />.<Search />.<Search />.multiple and inlineTags in <SelectControl />.<Card> in favor of the <Card> component in @wordpress/components.<Table><SearchListControl /> to use checkbox and radio inputs.<Table /> component onQueryChange prop.useFilters in favor of using the WordPress variety withFilters.<AdvancedFilters />.<AttributeFilter /> component to <AdvancedFilters />.<Plugins />.<Plugins /> callbacks onError and onComplete.<Timeline /> component.<ImageUpload /> component.<Search /> component "clear all" button.<TextControlWithAffixes /> component.<AnimationSlider /> example code.<Plugins /> component for installation of plugins.IconButton in favor of Button component.<Search /> component.<SelectControl /> component to allow clicking anywhere on options in list to select.<List /> component item tags and link types.<List /> and <Link /> components to Storybook.<Pill /> component.key prop to <List /> component items.ref from <DateRangeFilterPicker />.SplitButton because its not being used.<ScrollTo /> component.<List /> description prop to content and allowed content nodes to be passed in addition to strings.<SimpleSelectControl /> component.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/currencyChart receives currency as a prop.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.href prop in the <Link> component must now receive the full url instead of relative.<Autocomplete /> component to <SelectControl />.isSearchable prop to <SelectControl /> to allow simple select dropdowns.<TableCard /> component.<CompareButton /> component.<TextControl /> component.currency prop in <AdvancedFilters /> component.getAdminLink() inside the <Link /> component.@wordpress/base-styles (#3292)onAdvancedFilterAction for match changes.onSearch and onSort function props.<List /> for displaying interactive list items.<Chart /> empty message.<SimpleSelectControl /> component.<WebPreview /> component.disabled prop to CompareButton, Search, and TableCard components.countLabel prop on SearchListItem to allow custom counts.disabled prop.onPageChange prop.defaultOrder parameter to specify default sort column sort order.0 a valid input and triggers onPageChange on the input blur event.children prop in favor of a render prop renderContent so that function arguments isOpen, onToggle, and onClose can be passed down.yBelow1Format which overrides the yFormat for values between -1 and 1 (not included).totals prop to Chart component that allows overwriting the total values shown in the legend.<Stepper /> for showing a list of steps and progress.<Spinner /> component.description prop.isInactive prop.onRangeSelect prop and remove path prop better control.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.focusOnChange in favor of onExited so consumers can pass a function to be executed after a transition has finished.onSearch callback prop to let the parent component know about search changes.isInvalidDate prop to DatePicker to indicated invalid days that are not selectable.isInvalidDate prop to DateRange and remove the invalidDays prop.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.chartType.screenReaderFormat prop that will be used to format dates for screen reader labels.<StockReportTable /> returning N/A instead of zero.<Search> prop named showClearButton, that will display a 'Clear' button when the search box contains one or more tags.@woocommerce/navigation to v2.0.0<StockReportTable /> returning N/A instead of zero.<Search> use backspace key to remove tags from the search box.href/linking optional in SummaryNumber.interactive prop for d3chart/legend to signal if legend items are clickable or not.d3chart/legend.<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.<Table /> to use header keys to denote which columns are shownonColumnsChange property to <Table /> which is called when columns are shown/hidden<Chart /> component.showDatePicker prop to <Filters /> component which allows to use the filters component without the date picker.<Filters />.<SummaryNumber /> returning N/A instead of zero.<Table /> header.<TextControlWithAffixes />.Search to exclude already-selected itemsproptype-validatorSummaryNumberinterpolate-components as an explicit dependency, fixes issue with<Popover /> usage to match core component updateschartMode prop to control display mode