2018-11-15 18:16:23 +00:00
|
|
|
{
|
2020-02-14 02:23:21 +00:00
|
|
|
"name": "@woocommerce/components",
|
2022-01-25 11:22:58 +00:00
|
|
|
"version": "8.2.0",
|
2020-02-14 02:23:21 +00:00
|
|
|
"description": "UI components for WooCommerce.",
|
|
|
|
"author": "Automattic",
|
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"keywords": [
|
|
|
|
"wordpress",
|
|
|
|
"woocommerce",
|
|
|
|
"components"
|
|
|
|
],
|
2020-06-17 17:39:41 +00:00
|
|
|
"homepage": "https://github.com/woocommerce/woocommerce-admin/tree/main/packages/components/README.md",
|
2020-02-14 02:23:21 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce-admin.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/woocommerce/woocommerce-admin/issues"
|
|
|
|
},
|
|
|
|
"main": "build/index.js",
|
|
|
|
"module": "build-module/index.js",
|
|
|
|
"react-native": "src/index",
|
2021-05-26 19:35:46 +00:00
|
|
|
"sideEffects": [
|
|
|
|
"build-style/**",
|
|
|
|
"src/**/*.scss"
|
|
|
|
],
|
2020-02-14 02:23:21 +00:00
|
|
|
"dependencies": {
|
2021-07-27 14:14:54 +00:00
|
|
|
"@storybook/addon-knobs": "^6.3.0",
|
2021-04-16 03:34:15 +00:00
|
|
|
"@woocommerce/csv-export": "file:../csv-export",
|
|
|
|
"@woocommerce/currency": "file:../currency",
|
|
|
|
"@woocommerce/data": "file:../data",
|
|
|
|
"@woocommerce/date": "file:../date",
|
|
|
|
"@woocommerce/navigation": "file:../navigation",
|
2021-02-05 03:41:55 +00:00
|
|
|
"@wordpress/api-fetch": "^3.21.5",
|
2021-02-10 21:52:39 +00:00
|
|
|
"@wordpress/components": "10.2.0",
|
|
|
|
"@wordpress/compose": "3.23.1",
|
|
|
|
"@wordpress/date": "3.13.0",
|
2021-06-03 20:29:59 +00:00
|
|
|
"@wordpress/deprecated": "^3.1.1",
|
2021-02-10 21:52:39 +00:00
|
|
|
"@wordpress/dom": "2.16.0",
|
|
|
|
"@wordpress/element": "2.19.0",
|
|
|
|
"@wordpress/html-entities": "2.10.0",
|
|
|
|
"@wordpress/i18n": "3.17.0",
|
2021-05-25 15:14:14 +00:00
|
|
|
"@wordpress/icons": "^2.10.3",
|
2021-02-10 21:52:39 +00:00
|
|
|
"@wordpress/keycodes": "2.18.0",
|
2021-07-13 19:38:05 +00:00
|
|
|
"@wordpress/url": "2.21.0",
|
2021-02-10 21:52:39 +00:00
|
|
|
"@wordpress/viewport": "2.24.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
|
|
|
"classnames": "^2.3.1",
|
2021-03-05 03:19:30 +00:00
|
|
|
"core-js": "3.9.1",
|
2020-07-30 01:51:15 +00:00
|
|
|
"d3-axis": "1.0.12",
|
2020-08-26 03:24:04 +00:00
|
|
|
"d3-format": "1.4.5",
|
2020-07-30 01:51:15 +00:00
|
|
|
"d3-scale": "2.2.2",
|
|
|
|
"d3-scale-chromatic": "1.5.0",
|
2020-08-24 00:31:09 +00:00
|
|
|
"d3-selection": "1.4.2",
|
2020-07-30 01:51:15 +00:00
|
|
|
"d3-shape": "1.3.7",
|
2020-09-03 04:40:55 +00:00
|
|
|
"d3-time-format": "2.3.0",
|
2021-06-03 02:11:24 +00:00
|
|
|
"dompurify": "2.2.9",
|
2020-07-30 01:51:15 +00:00
|
|
|
"emoji-flags": "1.3.0",
|
2020-02-14 02:23:21 +00:00
|
|
|
"gridicons": "3.3.1",
|
|
|
|
"interpolate-components": "1.1.1",
|
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
|
|
|
"memoize-one": "5.1.1",
|
2020-10-14 20:58:53 +00:00
|
|
|
"moment": "2.29.1",
|
2020-02-14 02:23:21 +00:00
|
|
|
"prop-types": "15.7.2",
|
2020-05-04 19:16:17 +00:00
|
|
|
"react-dates": "^17.2.0",
|
2021-01-05 00:42:18 +00:00
|
|
|
"react-router-dom": "5.2.0",
|
2021-01-06 23:57:50 +00:00
|
|
|
"react-transition-group": "4.4.1"
|
2020-02-14 02:23:21 +00:00
|
|
|
},
|
2021-03-12 03:58:51 +00:00
|
|
|
"peerDependencies": {
|
|
|
|
"lodash": "^4.17.0"
|
|
|
|
},
|
2020-02-14 02:23:21 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
2021-06-02 03:54:00 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-06-09 02:02:27 +00:00
|
|
|
"@storybook/addon-console": "1.2.3",
|
2021-07-14 20:38:57 +00:00
|
|
|
"@storybook/react": "6.2.9",
|
|
|
|
"@testing-library/react": "11.2.7",
|
2021-08-11 00:35:09 +00:00
|
|
|
"@testing-library/user-event": "13.2.1",
|
2021-08-19 14:15:59 +00:00
|
|
|
"@woocommerce/style-build": "file:../style-build",
|
2021-07-14 20:38:57 +00:00
|
|
|
"@wordpress/scripts": "12.6.1",
|
|
|
|
"concurrently": "5.3.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "npm run build:js && npm run build:css",
|
|
|
|
"build:js": "tsc --build ./tsconfig.json ./tsconfig-cjs.json",
|
2021-08-19 14:15:59 +00:00
|
|
|
"build:css": "webpack",
|
|
|
|
"clean": "npx rimraf tsconfig.tsbuildinfo build build-*",
|
2021-07-14 20:38:57 +00:00
|
|
|
"prepack": "npm run clean && npm run build",
|
2021-08-19 14:15:59 +00:00
|
|
|
"start": "concurrently \"tsc --build --watch\" \"webpack --watch\"",
|
2021-07-14 20:38:57 +00:00
|
|
|
"test": "lerna run build && npm run test:nobuild",
|
|
|
|
"test:nobuild": "jest --config ./jest.config.json",
|
|
|
|
"test:update-snapshots": "npm run test:nobuild --updateSnapshot",
|
|
|
|
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
|
2020-02-14 02:23:21 +00:00
|
|
|
}
|
2018-11-15 18:16:23 +00:00
|
|
|
}
|