@pie-element/inline-dropdown 4.2.0 → 4.2.3

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.2.2...@pie-element/inline-dropdown@4.2.3) (2022-08-31)
7
+
8
+ **Note:** Version bump only for package @pie-element/inline-dropdown
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.2.1...@pie-element/inline-dropdown@4.2.2) (2022-08-16)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **inline-dropdown:** update validation message ([a87ae23](https://github.com/pie-framework/pie-elements/commit/a87ae2369f438e4fd6902680c2a1fb4b3ef8ef3a))
20
+ * **inline-dropdown:** update validation message ([99afc72](https://github.com/pie-framework/pie-elements/commit/99afc7208b5d9db307d6a0174c3945ddb77baaca))
21
+
22
+
23
+
24
+
25
+
26
+ ## [4.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.2.0...@pie-element/inline-dropdown@4.2.1) (2022-08-08)
27
+
28
+ **Note:** Version bump only for package @pie-element/inline-dropdown
29
+
30
+
31
+
32
+
33
+
6
34
  # [4.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.1.3...@pie-element/inline-dropdown@4.2.0) (2022-08-02)
7
35
 
8
36
 
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.2.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.2.2...@pie-element/inline-dropdown-configure@4.2.3) (2022-08-31)
7
+
8
+ **Note:** Version bump only for package @pie-element/inline-dropdown-configure
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.2.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.2.1...@pie-element/inline-dropdown-configure@4.2.2) (2022-08-16)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **inline-dropdown:** update validation message ([a87ae23](https://github.com/pie-framework/pie-elements/commit/a87ae2369f438e4fd6902680c2a1fb4b3ef8ef3a))
20
+ * **inline-dropdown:** update validation message ([99afc72](https://github.com/pie-framework/pie-elements/commit/99afc7208b5d9db307d6a0174c3945ddb77baaca))
21
+
22
+
23
+
24
+
25
+
26
+ ## [4.2.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.2.0...@pie-element/inline-dropdown-configure@4.2.1) (2022-08-08)
27
+
28
+ **Note:** Version bump only for package @pie-element/inline-dropdown-configure
29
+
30
+
31
+
32
+
33
+
6
34
  # [4.2.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.1.3...@pie-element/inline-dropdown-configure@4.2.0) (2022-08-02)
7
35
 
8
36
 
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.generateValidationMessage = void 0;
7
7
 
8
8
  var generateValidationMessage = function generateValidationMessage(config) {
9
- var maxResponseAreas = config.maxResponseAreas;
10
- var responseAreasMessage = '\nThere should be at least 1 ' + (maxResponseAreas ? "and at most ".concat(maxResponseAreas, " ") : '') + 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';
9
+ var maxResponseAreas = config.maxResponseAreas,
10
+ maxResponseAreaChoices = config.maxResponseAreaChoices;
11
+ var responseAreasMessage = '\nThere should be at least 1 ' + (maxResponseAreas ? "and at most ".concat(maxResponseAreas, " ") : '') + 'response area' + (maxResponseAreas ? 's' : '') + ' defined.' + (maxResponseAreaChoices ? "\nThere should be at most ".concat(maxResponseAreaChoices, " choices defined per response area.") : '');
11
12
  var message = 'Validation requirements:' + responseAreasMessage;
12
13
  return message;
13
14
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils.js"],"names":["generateValidationMessage","config","maxResponseAreas","responseAreasMessage","message"],"mappings":";;;;;;;AAAO,IAAMA,yBAAyB,GAAG,SAA5BA,yBAA4B,CAAAC,MAAM,EAAI;AACjD,MAAQC,gBAAR,GAA6BD,MAA7B,CAAQC,gBAAR;AAEA,MAAMC,oBAAoB,GAAG,mCAC1BD,gBAAgB,yBAAkBA,gBAAlB,SAAwC,EAD9B,IAE3B,eAF2B,IAERA,gBAAgB,GAAG,GAAH,GAAS,EAFjB,IAEuB,WAFpD;AAIA,MAAME,OAAO,GAAG,6BAA6BD,oBAA7C;AAEA,SAAOC,OAAP;AACD,CAVM","sourcesContent":["export const generateValidationMessage = config => {\n const { maxResponseAreas } = config;\n\n const responseAreasMessage = '\\nThere should be at least 1 ' +\n (maxResponseAreas ? `and at most ${maxResponseAreas} ` : '') +\n 'response area' + (maxResponseAreas ? 's' : '') + ' defined.';\n\n const message = 'Validation requirements:' + responseAreasMessage;\n\n return message;\n};\n"],"file":"utils.js"}
1
+ {"version":3,"sources":["../src/utils.js"],"names":["generateValidationMessage","config","maxResponseAreas","maxResponseAreaChoices","responseAreasMessage","message"],"mappings":";;;;;;;AAAO,IAAMA,yBAAyB,GAAG,SAA5BA,yBAA4B,CAAAC,MAAM,EAAI;AACjD,MAAQC,gBAAR,GAAqDD,MAArD,CAAQC,gBAAR;AAAA,MAA0BC,sBAA1B,GAAqDF,MAArD,CAA0BE,sBAA1B;AAEA,MAAMC,oBAAoB,GAAG,mCAC1BF,gBAAgB,yBAAkBA,gBAAlB,SAAwC,EAD9B,IAE3B,eAF2B,IAERA,gBAAgB,GAAG,GAAH,GAAS,EAFjB,IAEuB,WAFvB,IAG1BC,sBAAsB,uCAAgCA,sBAAhC,2CAA8F,EAH1F,CAA7B;AAKA,MAAME,OAAO,GAAG,6BAA6BD,oBAA7C;AAEA,SAAOC,OAAP;AACD,CAXM","sourcesContent":["export const generateValidationMessage = config => {\n const { maxResponseAreas, maxResponseAreaChoices } = config;\n\n const responseAreasMessage = '\\nThere should be at least 1 ' +\n (maxResponseAreas ? `and at most ${maxResponseAreas} ` : '') +\n 'response area' + (maxResponseAreas ? 's' : '') + ' defined.' +\n (maxResponseAreaChoices ? `\\nThere should be at most ${maxResponseAreaChoices} choices defined per response area.` : '');\n\n const message = 'Validation requirements:' + responseAreasMessage;\n\n return message;\n};\n"],"file":"utils.js"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/inline-dropdown-configure",
3
- "version": "4.2.0",
3
+ "version": "4.2.3",
4
4
  "private": true,
5
5
  "main": "lib/index.js",
6
6
  "module": "src/index.js",
@@ -8,9 +8,9 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.2.0",
11
- "@pie-lib/config-ui": "^11.0.10",
12
- "@pie-lib/editable-html": "^9.1.0",
13
- "@pie-lib/math-rendering": "^2.4.5",
11
+ "@pie-lib/config-ui": "^11.0.15",
12
+ "@pie-lib/editable-html": "^9.1.5",
13
+ "@pie-lib/math-rendering": "^2.5.0",
14
14
  "classnames": "^2.2.6",
15
15
  "debug": "^3.1.0",
16
16
  "lodash": "^4.17.15",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "4.2.0",
7
+ "version": "4.2.3",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -13,10 +13,10 @@
13
13
  "dependencies": {
14
14
  "@material-ui/core": "^3.9.2",
15
15
  "@pie-framework/pie-player-events": "^0.1.0",
16
- "@pie-lib/correct-answer-toggle": "^2.3.41",
17
- "@pie-lib/mask-markup": "^1.12.9",
18
- "@pie-lib/math-rendering": "^2.4.5",
19
- "@pie-lib/render-ui": "^4.13.1",
16
+ "@pie-lib/correct-answer-toggle": "^2.3.44",
17
+ "@pie-lib/mask-markup": "^1.12.12",
18
+ "@pie-lib/math-rendering": "^2.5.0",
19
+ "@pie-lib/render-ui": "^4.13.4",
20
20
  "classnames": "^2.2.5",
21
21
  "lodash": "^4.17.10",
22
22
  "prop-types": "^15.6.1",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "author": "",
27
27
  "license": "ISC",
28
- "gitHead": "871db0dea5bf17535aee1e00d51b0ee3381b2dfb",
28
+ "gitHead": "286deccc05bad768d148964d59f854caa33de9e3",
29
29
  "main": "lib/index.js",
30
30
  "module": "src/index.js"
31
31
  }