@coorpacademy/app-review 0.26.10 → 0.26.12-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,7 @@ export declare type SelectionTemplate = {
66
66
  name: string;
67
67
  onChange?: Function;
68
68
  options?: DropDownOption[];
69
+ 'aria-label': string;
69
70
  };
70
71
  export declare type Template = {
71
72
  type: 'template';
@@ -90,7 +90,8 @@ const templateSelectProps = (dispatch, translate, answers, choice, index, maxLen
90
90
  const newAnswers = updateTemplateAnswer(text, answers, index, maxLength);
91
91
  dispatch(editAnswer(newAnswers));
92
92
  },
93
- options: isEmpty(answer) ? concat([temporaryOption], selectOptions) : selectOptions
93
+ options: isEmpty(answer) ? concat([temporaryOption], selectOptions) : selectOptions,
94
+ 'aria-label': translate('Select an answer')
94
95
  };
95
96
  };
96
97
  const templateProps = (dispatch, translate) => (answers, question) => {
@@ -66,6 +66,7 @@ export declare type SelectionTemplate = {
66
66
  name: string;
67
67
  onChange?: Function;
68
68
  options?: DropDownOption[];
69
+ 'aria-label': string;
69
70
  };
70
71
  export declare type Template = {
71
72
  type: 'template';
@@ -93,7 +93,8 @@ const templateSelectProps = (dispatch, translate, answers, choice, index, maxLen
93
93
  const newAnswers = updateTemplateAnswer(text, answers, index, maxLength);
94
94
  dispatch((0, answers_1.editAnswer)(newAnswers));
95
95
  },
96
- options: (0, fp_1.isEmpty)(answer) ? (0, fp_1.concat)([temporaryOption], selectOptions) : selectOptions
96
+ options: (0, fp_1.isEmpty)(answer) ? (0, fp_1.concat)([temporaryOption], selectOptions) : selectOptions,
97
+ 'aria-label': translate('Select an answer')
97
98
  };
98
99
  };
99
100
  const templateProps = (dispatch, translate) => (answers, question) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/app-review",
3
- "version": "0.26.10",
3
+ "version": "0.26.12-alpha.0+4a389b23b7",
4
4
  "description": "",
5
5
  "engines": {
6
6
  "node": ">=16.15.0"
@@ -35,7 +35,7 @@
35
35
  "main": "lib/index.js",
36
36
  "module": "es/index.js",
37
37
  "dependencies": {
38
- "@coorpacademy/components": "11.14.10",
38
+ "@coorpacademy/components": "11.14.12-alpha.0+4a389b23b7",
39
39
  "@coorpacademy/progression-engine": "11.7.0",
40
40
  "@coorpacademy/redux-task": "1.1.6",
41
41
  "@coorpacademy/review-services": "1.6.1",
@@ -74,5 +74,5 @@
74
74
  "webpack-cli": "^4.10.0",
75
75
  "webpack-dev-server": "^4.11.1"
76
76
  },
77
- "gitHead": "c306b63dd14b956f43c81d9c99c0642a33dad055"
77
+ "gitHead": "4a389b23b74c04f744c683209e68d5cdb66b7304"
78
78
  }
@@ -1 +0,0 @@
1
- {"ignore_dirs":[]}