[Accessibility] Fix typos in packages/js/**/*.md files (#48569)
* Fix "dowloaded" typo * Fix "Lifecyle" typo * Fix "elments" typo * Fix "confguration" typo * Fix "curent" typo * Fix "overriden" typo * Fix "searchs" typo * Fix "ot" typo * Fix "oject" typo * Add changelog files
This commit is contained in:
parent
b49ce6903a
commit
ee2a545dce
|
@ -1,6 +1,6 @@
|
|||
# WooCommerce Packages
|
||||
|
||||
Currently we have a set of public-facing packages that can be dowloaded from [npm](https://www.npmjs.com/org/woocommerce) and used in external applications. Here is a non-exhaustive list.
|
||||
Currently we have a set of public-facing packages that can be downloaded from [npm](https://www.npmjs.com/org/woocommerce) and used in external applications. Here is a non-exhaustive list.
|
||||
|
||||
- `@woocommerce/components`: A library of components that can be used to create pages in the WooCommerce dashboard and reports pages.
|
||||
- `@woocommerce/csv-export`: A set of functions to convert data into CSV values, and enable a browser download of the CSV data.
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typos in README.md files
|
|
@ -1,6 +1,6 @@
|
|||
# D3 Base Component
|
||||
|
||||
Integrate React Lifecyle methods with d3.js charts.
|
||||
Integrate React Lifecycle methods with d3.js charts.
|
||||
|
||||
### Base Component Responsibilities
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
DropdownButton
|
||||
===
|
||||
|
||||
A button useful for a launcher of a dropdown component. The button is 100% width of its container and displays single or multiple lines rendered as `<span/>` elments.
|
||||
A button useful for a launcher of a dropdown component. The button is 100% width of its container and displays single or multiple lines rendered as `<span/>` elements.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Create Woo Extension scaffolds a fully functional modern development environment
|
|||
|
||||
## Configuration Free
|
||||
|
||||
With build tooling already configured, getting started developing modern Javascript screens requires no effort. Create Woo Extension adds a React page integrating with WooCommerce Admin. Also included are PHP and Javascript unit testing, linting, and Prettier IDE confguration for WooCommerce and WordPress.
|
||||
With build tooling already configured, getting started developing modern Javascript screens requires no effort. Create Woo Extension adds a React page integrating with WooCommerce Admin. Also included are PHP and Javascript unit testing, linting, and Prettier IDE configuration for WooCommerce and WordPress.
|
||||
|
||||
Add a project inside of your favorite environment setup or use the built in [wp-env](https://github.com/WordPress/gutenberg/tree/trunk/packages/env) for easily setting up a local WordPress environment for building and testing plugins and themes. `wp-env` is configured to load the latest WooCommerce to easily start developing with a single command.
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typos in README.md files
|
|
@ -59,7 +59,7 @@ dates, for custom dates.</p>
|
|||
<dd><p>Get a DateValue object for a period prior to the current period.</p>
|
||||
</dd>
|
||||
<dt><a href="#getCurrentPeriod">getCurrentPeriod(period, compare)</a> ⇒ <code><a href="#DateValue">DateValue</a></code></dt>
|
||||
<dd><p>Get a DateValue object for a curent period. The period begins on the first day of the period,
|
||||
<dd><p>Get a DateValue object for a current period. The period begins on the first day of the period,
|
||||
and ends on the current day.</p>
|
||||
</dd>
|
||||
<dt><a href="#getAllowedIntervalsForQuery">getAllowedIntervalsForQuery(query, defaultDateRange)</a> ⇒ <code>Array</code></dt>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typos in README.md files
|
|
@ -129,7 +129,7 @@ Other repository examples:
|
|||
- Storefront Theme - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content/themes/storefront npx wc-e2e docker:up```
|
||||
- Site Project - ```WC_E2E_FOLDER_MAPPING=/var/www/html/wp-content npx wc-e2e docker:up```
|
||||
|
||||
Since the introduction of the WooCommerce Monorepo, a `WC_CORE_PATH` environment variable maps to Core WooCommerce at `plugins/woocommerce`. It can also be overriden in a similar fashion.
|
||||
Since the introduction of the WooCommerce Monorepo, a `WC_CORE_PATH` environment variable maps to Core WooCommerce at `plugins/woocommerce`. It can also be overridden in a similar fashion.
|
||||
|
||||
### Specifying Server Software versions
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ There is a general utilities object `utils` with the following functions:
|
|||
| `orderPageSaveChanges` | | Save the current order page |
|
||||
| `permalinkSettingsPageSaveChanges` | | Save the current Permalink settings |
|
||||
| `removeCoupon` | | helper method that removes a single coupon within cart or checkout |
|
||||
| `selectOptionInSelect2` | `selector, value` | helper method that searchs for select2 type fields and select plus insert value inside |
|
||||
| `selectOptionInSelect2` | `selector, value` | helper method that searches for select2 type fields and select plus insert value inside |
|
||||
| `selectOrderAction` | `action` | Helper method to select an order action in the `Order Actions` postbox |
|
||||
| `setCheckbox` | `selector` | Check a checkbox |
|
||||
| `settingsPageSaveChanges` | | Save the current WooCommerce settings page |
|
||||
|
@ -239,8 +239,8 @@ There is a general utilities object `utils` with the following functions:
|
|||
| `verifyValueOfInputField` | `selector, value` | Verify an input contains the passed value |
|
||||
| `clickFilter` | `selector` | Click on a list page filter |
|
||||
| `moveAllItemsToTrash` | | Moves all items in a list view to the Trash |
|
||||
| `selectOptionInSelect2` | `selector, value` | helper method that searchs for select2 type fields and select plus insert value inside |
|
||||
| `searchForOrder` | `value, orderId, customerName` | helper method that searchs for an order via many different terms |
|
||||
| `selectOptionInSelect2` | `selector, value` | helper method that searches for select2 type fields and select plus insert value inside |
|
||||
| `searchForOrder` | `value, orderId, customerName` | helper method that searches for an order via many different terms |
|
||||
| `addShippingZoneAndMethod` | `zoneName, zoneLocation, zipCode, zoneMethod` | util helper method for adding shipping zones with shipping methods |
|
||||
| `applyCoupon` | `couponName` | helper method which applies a coupon in cart or checkout |
|
||||
| `removeCoupon` | | helper method that removes a single coupon within cart or checkout |
|
||||
|
|
|
@ -34,7 +34,7 @@ Refer to the [ESLint documentation on Shareable Configs](http://eslint.org/docs/
|
|||
|
||||
The `recommended` preset will include rules governing an ES2015+ environment, and includes rules from the [`@wordpress/eslint-plugin/recommended`](https://github.com/WordPress/gutenberg/tree/trunk/packages/eslint-plugin) project.
|
||||
|
||||
If you want to use prettier in your code editor, you'll need ot create a `.prettierrc.js` file at the root of your project with the following:
|
||||
If you want to use prettier in your code editor, you'll need to create a `.prettierrc.js` file at the root of your project with the following:
|
||||
|
||||
```js
|
||||
module.exports = require("@wordpress/prettier-config");
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typos in README.md files
|
|
@ -103,7 +103,7 @@ Given a query object, return an array of activeFilters, if any.
|
|||
|
||||
| Param | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| query | <code>object</code> | query oject |
|
||||
| query | <code>object</code> | query object |
|
||||
| config | <code>object</code> | config object |
|
||||
|
||||
### getDefaultOptionValue(config, options) ⇒ <code>string</code> \| <code>undefined</code>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
Fix typos in README.md files
|
Loading…
Reference in New Issue