Release 0.13.0
This commit is contained in:
parent
b76b259d82
commit
2ad2c0f420
|
@ -31,7 +31,9 @@
|
|||
* [SectionHeader](components/packages/section-header.md)
|
||||
* [Section](components/packages/section.md)
|
||||
* [SegmentedSelection](components/packages/segmented-selection.md)
|
||||
* [Spinner](components/packages/spinner.md)
|
||||
* [SplitButton](components/packages/split-button.md)
|
||||
* [Stepper](components/packages/stepper.md)
|
||||
* [Summary](components/packages/summary.md)
|
||||
* [Table](components/packages/table.md)
|
||||
* [Tag](components/packages/tag.md)
|
||||
|
|
|
@ -89,6 +89,11 @@ Secondary data to display in the chart.
|
|||
|
||||
- **Required**
|
||||
- Type: Object
|
||||
- key: String - Key of the selected chart.
|
||||
- label: String - Chart label.
|
||||
- order: One of: 'asc', 'desc'
|
||||
- orderby: String - Order by query argument.
|
||||
- type: One of: 'average', 'number', 'currency'
|
||||
- Default: null
|
||||
|
||||
Properties of the selected chart.
|
||||
|
|
|
@ -53,6 +53,10 @@ Whether there is an API call running.
|
|||
- **Required**
|
||||
- Type: Object
|
||||
- key: String - Key of the selected chart.
|
||||
- label: String - Chart label.
|
||||
- order: One of: 'asc', 'desc'
|
||||
- orderby: String - Order by query argument.
|
||||
- type: One of: 'average', 'number', 'currency'
|
||||
- Default: null
|
||||
|
||||
Properties of the selected chart.
|
||||
|
|
|
@ -20,6 +20,20 @@ One "primary" action for this card, appears in the card header.
|
|||
|
||||
Additional CSS classes.
|
||||
|
||||
### `description`
|
||||
|
||||
- Type: One of type: string, node
|
||||
- Default: null
|
||||
|
||||
The description displayed beneath the title.
|
||||
|
||||
### `isInactive`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: null
|
||||
|
||||
Boolean representing whether the card is inactive or not.
|
||||
|
||||
### `menu`
|
||||
|
||||
- Type: (custom validator)
|
||||
|
|
|
@ -124,6 +124,13 @@ Render a chart placeholder to signify an in-flight data request.
|
|||
Position the legend must be displayed in. If it's not defined, it's calculated
|
||||
depending on the viewport width and the mode.
|
||||
|
||||
### `legendTotals`
|
||||
|
||||
- Type: Object
|
||||
- Default: null
|
||||
|
||||
Values to overwrite the legend totals. If not defined, the sum of all line values will be used.
|
||||
|
||||
### `screenReaderFormat`
|
||||
|
||||
- Type: One of type: string, func
|
||||
|
|
|
@ -152,13 +152,13 @@ Select a range of dates or single dates.
|
|||
Props
|
||||
-----
|
||||
|
||||
### `path`
|
||||
### `onRangeSelect`
|
||||
|
||||
- **Required**
|
||||
- Type: String
|
||||
- Type: Function
|
||||
- Default: null
|
||||
|
||||
The `path` parameter supplied by React-Router.
|
||||
Callback called when selection is made.
|
||||
|
||||
### `query`
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
`Spinner` (component)
|
||||
=====================
|
||||
|
||||
Spinner - An indeterminate circular progress indicator.
|
||||
|
||||
Props
|
||||
-----
|
||||
|
||||
### `className`
|
||||
|
||||
- Type: String
|
||||
- Default: null
|
||||
|
||||
Additional class name to style the component.
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
`Stepper` (component)
|
||||
=====================
|
||||
|
||||
A stepper component to indicate progress in a set number of steps.
|
||||
|
||||
Props
|
||||
-----
|
||||
|
||||
### `className`
|
||||
|
||||
- Type: String
|
||||
- Default: null
|
||||
|
||||
Additional class name to style the component.
|
||||
|
||||
### `currentStep`
|
||||
|
||||
- **Required**
|
||||
- Type: String
|
||||
- Default: null
|
||||
|
||||
The current step's key.
|
||||
|
||||
### `steps`
|
||||
|
||||
- **Required**
|
||||
- Type: Array
|
||||
- key: String - Key used to identify step.
|
||||
- label: String - Label displayed in stepper.
|
||||
- isComplete: Boolean - Optionally mark a step complete regardless of step index.
|
||||
- Default: null
|
||||
|
||||
An array of steps used.
|
||||
|
||||
### `direction`
|
||||
|
||||
- Type: One of: 'horizontal', 'vertical'
|
||||
- Default: `'horizontal'`
|
||||
|
||||
Direction of the stepper.
|
||||
|
||||
### `isPending`
|
||||
|
||||
- Type: Boolean
|
||||
- Default: `false`
|
||||
|
||||
Optionally mark the current step as pending to show a spinner.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/admin-library",
|
||||
"version": "0.12.0",
|
||||
"version": "0.13.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -8929,8 +8929,7 @@
|
|||
},
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"aproba": {
|
||||
"version": "1.2.0",
|
||||
|
@ -8948,13 +8947,11 @@
|
|||
},
|
||||
"balanced-match": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
|
@ -8967,18 +8964,15 @@
|
|||
},
|
||||
"code-point-at": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"console-control-strings": {
|
||||
"version": "1.1.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"core-util-is": {
|
||||
"version": "1.0.2",
|
||||
|
@ -9081,8 +9075,7 @@
|
|||
},
|
||||
"inherits": {
|
||||
"version": "2.0.3",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"ini": {
|
||||
"version": "1.3.5",
|
||||
|
@ -9092,7 +9085,6 @@
|
|||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
}
|
||||
|
@ -9105,20 +9097,17 @@
|
|||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
},
|
||||
"minimist": {
|
||||
"version": "0.0.8",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"minipass": {
|
||||
"version": "2.3.5",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"safe-buffer": "^5.1.2",
|
||||
"yallist": "^3.0.0"
|
||||
|
@ -9135,7 +9124,6 @@
|
|||
"mkdirp": {
|
||||
"version": "0.5.1",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
}
|
||||
|
@ -9208,8 +9196,7 @@
|
|||
},
|
||||
"number-is-nan": {
|
||||
"version": "1.0.1",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"object-assign": {
|
||||
"version": "4.1.1",
|
||||
|
@ -9219,7 +9206,6 @@
|
|||
"once": {
|
||||
"version": "1.4.0",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
|
@ -9295,8 +9281,7 @@
|
|||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
|
@ -9326,7 +9311,6 @@
|
|||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
|
@ -9344,7 +9328,6 @@
|
|||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
}
|
||||
|
@ -9383,13 +9366,11 @@
|
|||
},
|
||||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.0.3",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
"bundled": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/admin-library",
|
||||
"version": "0.12.0",
|
||||
"version": "0.13.0",
|
||||
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -71,6 +71,51 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 0.13.0 2019-06-12
|
||||
|
||||
- Fix: Notes: update sales record link #2397
|
||||
- Enhancement: Settings: Add default date settings #2292 (Components, Dashboard, Packages)
|
||||
- Dev: Add tracks to import jobs #2193
|
||||
- Dev: Notes: Add filters to disable milestone and sales record notes. #2227
|
||||
- Enhancement: Trigger an action server side when admin note actions are clicked #2325
|
||||
- Dev: Fix Activity Panel layout on mobile #2405 (Activity Panel)
|
||||
- Dev: Add uninstall file to release ZIP #2402 (Build)
|
||||
- Bug: Fix wrong average numbers in chart legends #2352 (Analytics, Components, Packages)
|
||||
- Dev: Add date_created_gmt property to orders endpoint #2086 (Activity Panel)
|
||||
- Enhancement: Add progress bars to Historical Data Import screen #2312
|
||||
- Bug: Fix some data not to being imported when 'skip_existing' option is enabled #2385
|
||||
- Fix: Double space at 191 row #2369 👏 @shoheitanaka
|
||||
- Enhancement: Only show unactioned notes in the Inbox panel. #2327 (Inbox)
|
||||
- Bug: Don't create Notices tab in Activity Panel if notices HTML element was removed by a plugin #2378
|
||||
- Tweak: Allow paragraph tags in admin notes. #2344 (Inbox)
|
||||
- Tweak: Allow note action URLs to be empty. #2324 (Inbox)
|
||||
- Bug: Prevent inactive tabs from making requests #2377
|
||||
- Task: Remove second beta warning from readme #2362
|
||||
- Fix: Misspelling at update config.jp #2368 👏 @shoheitanaka
|
||||
- Dev: Transpile newspack-components package #2348 (Build)
|
||||
- Dev: Low stock handling inconsistencies with WooCommerce 3.6+ #2191
|
||||
- Dev: Remove d3-array dependency #2286 (Build)
|
||||
- Dev: Dashboard Extentions: Add a section #2280 (Build, Components, Extensibility, Packages)
|
||||
- Fix: Move StoreAlerts below screen meta links on embed pages. #2291
|
||||
- Fix: Extensions: fix registering a page #2301 (Extensibility)
|
||||
- Dev: Fix `box-shadow-8dp` error. #2290 (Components, Packages)
|
||||
- Fix: Dashboard Extension Example: Make namespace unique #2302 (Extensibility)
|
||||
- Dev: Persisted Queries: Avoid adding to non time related screens #2225 (Build)
|
||||
- Dev: Remove customizable dashboard heading #2321 (Dashboard)
|
||||
- Bug: Add missing space in Orders Activity Panel card #2306 (Activity Panel)
|
||||
- Task: Remove beta warning from readme. #2340
|
||||
- Dev: Dashboard: Extend charts data #2258 (Dashboard, Extensibility)
|
||||
- Bug: Handle `WC_Admin_Notices`. #2245 (Activity Panel, On Merge to WC Core)
|
||||
- Bug: Exclude auto-draft and trashed orders from imports. #2265
|
||||
- Fix: wc-api: Remove reference to import update functions #2277 (Dashboard)
|
||||
- Enhancement: Add support for “primary” admin notice actions. #2269
|
||||
- Enhancement: Allow links in admin notice content. #2272
|
||||
- Fix: Remove errant import update operation from `wp-api` spec. #2271
|
||||
- Dev: Hook up import/totals endpoint to Historical Data Import screen #2208
|
||||
- Fix: Refactor main file into singleton class structure #2226
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.12.0 2019-05-14
|
||||
|
||||
- Fix: dashboard issues #2194
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Author URI: https://woocommerce.com/
|
||||
* Text Domain: woocommerce-admin
|
||||
* Domain Path: /languages
|
||||
* Version: 0.12.0
|
||||
* Version: 0.13.0
|
||||
*
|
||||
* WC requires at least: 3.6.0
|
||||
* WC tested up to: 3.6.2
|
||||
|
|
Loading…
Reference in New Issue