@pie-element/inline-dropdown 4.17.4-next.9 → 4.17.4
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 +14 -0
- package/configure/CHANGELOG.md +13 -0
- package/configure/package.json +5 -5
- package/lib/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.17.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.17.3...@pie-element/inline-dropdown@4.17.4) (2023-10-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* trigger build ([3a456ae](https://github.com/pie-framework/pie-elements/commit/3a456aef3bec8260d150fb4606fb7cd89c1369f9))
|
|
12
|
+
* update with latest pie-libs, forcing pie-lib/math-rendering to v2.5.18 ([7ff936a](https://github.com/pie-framework/pie-elements/commit/7ff936ab9fc85c264032181755ce5e2149825406))
|
|
13
|
+
* **inline-dropdown:** revert, and check if the latest pie-lib versions are pulled ([50ac53b](https://github.com/pie-framework/pie-elements/commit/50ac53b46c16e530ec03e43909cb777a3f69c0a7))
|
|
14
|
+
* **inline-dropdown:** use specific pie-lib versions, before math-rendering was updated ([84389ba](https://github.com/pie-framework/pie-elements/commit/84389baa99c99f3a7e8612266adbe3ee029cfa8b))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [4.17.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown@4.17.2...@pie-element/inline-dropdown@4.17.3) (2023-09-28)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @pie-element/inline-dropdown
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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.14.4](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.14.3...@pie-element/inline-dropdown-configure@4.14.4) (2023-10-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update with latest pie-libs, forcing pie-lib/math-rendering to v2.5.18 ([7ff936a](https://github.com/pie-framework/pie-elements/commit/7ff936ab9fc85c264032181755ce5e2149825406))
|
|
12
|
+
* **inline-dropdown:** revert, and check if the latest pie-lib versions are pulled ([50ac53b](https://github.com/pie-framework/pie-elements/commit/50ac53b46c16e530ec03e43909cb777a3f69c0a7))
|
|
13
|
+
* **inline-dropdown:** use specific pie-lib versions, before math-rendering was updated ([84389ba](https://github.com/pie-framework/pie-elements/commit/84389baa99c99f3a7e8612266adbe3ee029cfa8b))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [4.14.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/inline-dropdown-configure@4.14.2...@pie-element/inline-dropdown-configure@4.14.3) (2023-09-28)
|
|
7
20
|
|
|
8
21
|
**Note:** Version bump only for package @pie-element/inline-dropdown-configure
|
package/configure/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/inline-dropdown-configure",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.4",
|
|
4
4
|
"private": true,
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"@material-ui/core": "^3.9.2",
|
|
9
9
|
"@material-ui/icons": "^3.0.1",
|
|
10
10
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
-
"@pie-lib/config-ui": "^11.9.
|
|
12
|
-
"@pie-lib/editable-html": "^11.0.
|
|
13
|
-
"@pie-lib/math-rendering": "
|
|
14
|
-
"@pie-lib/render-ui": "^4.15.
|
|
11
|
+
"@pie-lib/config-ui": "^11.9.21",
|
|
12
|
+
"@pie-lib/editable-html": "^11.0.8",
|
|
13
|
+
"@pie-lib/math-rendering": "2.5.18",
|
|
14
|
+
"@pie-lib/render-ui": "^4.15.9",
|
|
15
15
|
"classnames": "^2.2.6",
|
|
16
16
|
"debug": "^3.1.0",
|
|
17
17
|
"lodash": "^4.17.15",
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.js"],"names":["RootInlineDropdown","_model","_session","elem","React","createElement","InlineDropdown","prompt","rationale","teacherInstructions","disabled","displayType","markup","mode","choices","value","feedback","language","onChange","changeSession","ReactDOM","render","dispatchEvent","SessionChangedEvent","tagName","toLowerCase","session","dispatchChangedEvent","_render","m","ModelSetEvent","s","setAttribute","HTMLElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEqBA,kB;;;;;AACnB,gCAAc;AAAA;;AAAA;AACZ;AADY,
|
|
1
|
+
{"version":3,"sources":["../src/index.js"],"names":["RootInlineDropdown","_model","_session","elem","React","createElement","InlineDropdown","prompt","rationale","teacherInstructions","disabled","displayType","markup","mode","choices","value","feedback","language","onChange","changeSession","ReactDOM","render","dispatchEvent","SessionChangedEvent","tagName","toLowerCase","session","dispatchChangedEvent","_render","m","ModelSetEvent","s","setAttribute","HTMLElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEqBA,kB;;;;;AACnB,gCAAc;AAAA;;AAAA;AACZ;AADY,gGAuBJ,YAAM;AACd,UAAI,MAAKC,MAAL,IAAe,MAAKC,QAAxB,EAAkC;AAChC,YAAIC,IAAI,gBAAGC,kBAAM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B,MAAL,GAAc4B,CAAd;AACA,WAAKP,aAAL,CACE,IAAIQ,8BAAJ,CAAkB,KAAKN,OAAL,CAAaC,WAAb,EAAlB,EAA8C,KAAKC,OAAL,IAAgB,CAAC,CAAC,KAAKA,OAAL,CAAaX,KAA7E,EAAoF,CAAC,CAAC,KAAKd,MAA3F,CADF;;AAIA,WAAK2B,OAAL;AACD;;;SAOD,eAAc;AACZ,aAAO,KAAK1B,QAAZ;AACD,K;SAPD,aAAY6B,CAAZ,EAAe;AACb,WAAK7B,QAAL,GAAgB6B,CAAhB;;AACA,WAAKH,OAAL;AACD;;;WAuCD,6BAAoB;AAClB,WAAKI,YAAL,CAAkB,YAAlB,EAAgC,0BAAhC;AACA,WAAKA,YAAL,CAAkB,MAAlB,EAA0B,QAA1B;;AAEA,WAAKJ,OAAL;AACD;;;kDA9D6CK,W","sourcesContent":["import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { ModelSetEvent, SessionChangedEvent } from '@pie-framework/pie-player-events';\nimport { renderMath } from '@pie-lib/math-rendering';\nimport InlineDropdown from './inline-dropdown';\n\nexport default class RootInlineDropdown extends HTMLElement {\n constructor() {\n super();\n this._model = null;\n this._session = null;\n }\n set model(m) {\n this._model = m;\n this.dispatchEvent(\n new ModelSetEvent(this.tagName.toLowerCase(), this.session && !!this.session.value, !!this._model),\n );\n\n this._render();\n }\n\n set session(s) {\n this._session = s;\n this._render();\n }\n\n get session() {\n return this._session;\n }\n\n _render = () => {\n if (this._model && this._session) {\n let elem = React.createElement(InlineDropdown, {\n prompt: this._model.prompt,\n rationale: this._model.rationale,\n teacherInstructions: this._model.teacherInstructions,\n disabled: this._model.disabled,\n displayType: this._model.displayType,\n markup: this._model.markup,\n mode: this._model.mode,\n choices: this._model.choices,\n value: this._session.value,\n feedback: this._model.feedback,\n language: this._model.language,\n onChange: this.changeSession,\n });\n\n ReactDOM.render(elem, this, () => {\n renderMath(this);\n });\n }\n };\n\n dispatchChangedEvent = () => {\n this.dispatchEvent(new SessionChangedEvent(this.tagName.toLowerCase(), this.session && !!this.session.value));\n };\n\n changeSession = (value) => {\n this.session.value = value;\n this.dispatchChangedEvent();\n this._render();\n };\n\n connectedCallback() {\n this.setAttribute('aria-label', 'Inline Dropdown Question');\n this.setAttribute('role', 'region');\n\n this._render();\n }\n}\n"],"file":"index.js"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "4.17.4
|
|
7
|
+
"version": "4.17.4",
|
|
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.5.
|
|
17
|
-
"@pie-lib/mask-markup": "^1.13.
|
|
18
|
-
"@pie-lib/math-rendering": "
|
|
19
|
-
"@pie-lib/render-ui": "^4.15.
|
|
16
|
+
"@pie-lib/correct-answer-toggle": "^2.5.11",
|
|
17
|
+
"@pie-lib/mask-markup": "^1.13.46",
|
|
18
|
+
"@pie-lib/math-rendering": "2.5.18",
|
|
19
|
+
"@pie-lib/render-ui": "^4.15.9",
|
|
20
20
|
"@pie-lib/translator": "^2.3.0",
|
|
21
21
|
"classnames": "^2.2.5",
|
|
22
22
|
"lodash": "^4.17.10",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"author": "",
|
|
28
28
|
"license": "ISC",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "f1d84a108136cf8ac708279b31709dfcc5ec2778",
|
|
30
30
|
"main": "lib/index.js",
|
|
31
31
|
"module": "src/index.js"
|
|
32
32
|
}
|