@project-sunbird/sunbird-questionset-editor-web-component-react 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10295,7 +10295,7 @@ function Qd() {
10295
10295
  "Audience & Curriculum": _t("ui.audience", "Audience & Curriculum"),
10296
10296
  Behaviour: _t("ui.behaviour", "Behaviour")
10297
10297
  }, u = _t("ui.details", "Details"), g = [], p = /* @__PURE__ */ new Map(), S = (f, v, w, x) => {
10298
- const R = jd(f ?? [], n, r, w);
10298
+ const R = w ? jd(f ?? [], n, r, w) : f ?? [];
10299
10299
  for (const I of Sw(R, v)) {
10300
10300
  const M = I.section && d[I.section] || u, L = x ? `${x} — ${M}` : M;
10301
10301
  p.has(L) || (p.set(L, []), g.push(L)), p.get(L).push(I.label);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@project-sunbird/sunbird-questionset-editor-web-component-react",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "React-based QuML QuestionSet Editor — usable as a React component or as a <sb-questionset-editor> web component in any framework.",
5
5
  "keywords": [
6
6
  "sunbird",