woocommerce/plugins/woocommerce-admin/packages/customer-effort-score/package.json

41 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "@woocommerce/customer-effort-score",
"version": "1.0.0",
"description": "WooCommerce utility to measure user effort.",
"author": "Automattic",
"license": "GPL-3.0-or-later",
"keywords": [
"wordpress",
"woocommerce"
],
"homepage": "https://github.com/woocommerce/woocommerce-admin/tree/main/packages/customer-effort-score/README.md",
"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",
"dependencies": {
"@wordpress/components": "^11.1.1",
Update Customer Effort Score Modal (https://github.com/woocommerce/woocommerce-admin/pull/5515) * Add Customer Effort Score modal * Add style for selected emoji * Update modal layout to match design * Update colors to use color studio variables * Refactor SCSS to reduce nesting * Refactor render logic to reduce nesting * Add translation to strings * Add keyboard support to emoji buttons * Fix button misalignment * Fix missing white space around button text * Refactor emoji button layout with flexbox Flexbox makes more sense to use than a grid since the buttons need only a single row or column layout. * Refactor merge conflict resolution Tidies up the diff by - Using naming convention of “visible” instead of “open”. - Restoring previous import order. * Add comments field * Update initial score value to undefined * Refactor SASS selectors * Update sendScore with comments data * Fix comments field to display on low scores only * Refactor by extracting modal to own component * Add input validation * Add tests * Fix variable name * Update Feedback component documentation * Fix uneven button height * Restore previous prop names This ensures naming consistency with the CustomerEffortScore component. * Update variable name for consistency * Don't close modal if click outside it * Rename Feedback component to CustomerFeedbackModal * Update error message text * Fix import name * Fix formatting * Update test to use mockRecordScoreCallback prop name * Convert score to int before recording * Clear error message when score has been selected * Add transitions when comments field is shown/hidden * Wrapped comments field UI text for localization * Increase contrast ratio for focused effort score labels Co-authored-by: Matt Sherman <matt@jam123.com> Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-11-25 02:34:54 +00:00
"@wordpress/compose": "^3.22.0",
"@wordpress/data": "^4.25.0",
"@wordpress/element": "2.19.0",
"@wordpress/i18n": "3.17.0",
"@wordpress/notices": "^2.11.0",
"classnames": "2.3.1",
"prop-types": "15.7.2",
"react-transition-group": "4.4.1"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/react": "11.2.6",
"@types/wordpress__components": "9.8.6"
}
}