@pie-lib/correct-answer-toggle 5.0.8-next.20261109091947 → 5.0.8-next.20261110055344

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/dist/expander.js CHANGED
@@ -3,7 +3,7 @@ import { CSSTransition as t } from "react-transition-group";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import { useRef as r } from "react";
5
5
  import i from "prop-types";
6
- //#region src/expander.tsx
6
+ // src/expander.tsx
7
7
  var a = "height ease-in 300ms, opacity ease-in 300ms", o = e("div")(() => ({
8
8
  position: "relative",
9
9
  height: 0,
@@ -64,5 +64,4 @@ s.propTypes = {
64
64
  className: i.string,
65
65
  children: i.oneOfType([i.arrayOf(i.node), i.node]).isRequired
66
66
  };
67
- //#endregion
68
67
  export { s as default };
package/dist/i18n/ar.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/ar.ts
1
+ // src/i18n/ar.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "عرض الإجابة الصحيحة",
4
4
  hideCorrectAnswer: "إخفاء الإجابة الصحيحة"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/cy.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/cy.ts
1
+ // src/i18n/cy.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Dangos yr ateb cywir",
4
4
  hideCorrectAnswer: "Cuddio'r ateb cywir"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,7 +1,6 @@
1
- //#region src/i18n/en-AU.ts
1
+ // src/i18n/en-AU.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Show correct answer",
4
4
  hideCorrectAnswer: "Hide correct answer"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,7 +1,6 @@
1
- //#region src/i18n/en-GB.ts
1
+ // src/i18n/en-GB.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Show correct answer",
4
4
  hideCorrectAnswer: "Hide correct answer"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,7 +1,6 @@
1
- //#region src/i18n/en-US.ts
1
+ // src/i18n/en-US.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Show correct answer",
4
4
  hideCorrectAnswer: "Hide correct answer"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/es.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/es.ts
1
+ // src/i18n/es.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Mostrar respuesta correcta",
4
4
  hideCorrectAnswer: "Ocultar respuesta correcta"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/fr.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/fr.ts
1
+ // src/i18n/fr.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Afficher la réponse correcte",
4
4
  hideCorrectAnswer: "Masquer la réponse correcte"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,6 +1,6 @@
1
1
  import e from "./en-US.js";
2
2
  import { defineCatalogs as t } from "@pie-element/shared-i18n";
3
- //#region src/i18n/index.ts
3
+ // src/i18n/index.ts
4
4
  var n = t({
5
5
  packageName: "@pie-lib/correct-answer-toggle",
6
6
  source: e,
@@ -63,5 +63,4 @@ var n = t({
63
63
  )
64
64
  }
65
65
  });
66
- //#endregion
67
66
  export { n as catalogs };
package/dist/i18n/ja.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/ja.ts
1
+ // src/i18n/ja.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "正解を表示",
4
4
  hideCorrectAnswer: "正解を非表示"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/ko.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/ko.ts
1
+ // src/i18n/ko.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "정답 표시",
4
4
  hideCorrectAnswer: "정답 숨기기"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,7 +1,6 @@
1
- //#region src/i18n/nl-NL.ts
1
+ // src/i18n/nl-NL.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Juist antwoord weergeven",
4
4
  hideCorrectAnswer: "Juist antwoord verbergen"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/pt.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/pt.ts
1
+ // src/i18n/pt.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Mostrar resposta correta",
4
4
  hideCorrectAnswer: "Ocultar resposta correta"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/ro.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/ro.ts
1
+ // src/i18n/ro.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Afișează răspunsul corect",
4
4
  hideCorrectAnswer: "Ascunde răspunsul corect"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/sv.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/sv.ts
1
+ // src/i18n/sv.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "Visa rätt svar",
4
4
  hideCorrectAnswer: "Dölj rätt svar"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
@@ -1,7 +1,6 @@
1
- //#region src/i18n/th-TH.ts
1
+ // src/i18n/th-TH.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "แสดงคำตอบที่ถูกต้อง",
4
4
  hideCorrectAnswer: "ซ่อนคำตอบที่ถูกต้อง"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/i18n/zh.js CHANGED
@@ -1,7 +1,6 @@
1
- //#region src/i18n/zh.ts
1
+ // src/i18n/zh.ts
2
2
  var e = {
3
3
  showCorrectAnswer: "显示正确答案",
4
4
  hideCorrectAnswer: "隐藏正确答案"
5
5
  };
6
- //#endregion
7
6
  export { e as default };
package/dist/index.js CHANGED
@@ -8,8 +8,8 @@ import { Readable as o, color as s } from "@pie-lib/render-ui";
8
8
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
9
  import u from "react";
10
10
  import d from "prop-types";
11
- import { elementLanguageAttributes as f } from "@pie-element/shared-i18n";
12
- //#region src/index.tsx
11
+ import { chromeLanguageAttributes as f } from "@pie-element/shared-i18n";
12
+ // src/index.tsx
13
13
  function p(e) {
14
14
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
15
15
  }
@@ -96,7 +96,7 @@ var h = a, g = h.default, _ = g && typeof g == "object" ? g : h, v = m(o, "Reada
96
96
  this.setState({ show: e.show });
97
97
  }
98
98
  render() {
99
- let { className: n, toggled: a, language: o } = this.props, s = t.forLocale(o, this.relabel), u = this.props.hideMessage ?? s.t("hideCorrectAnswer"), d = this.props.showMessage ?? s.t("showCorrectAnswer"), p = f(o);
99
+ let { className: n, toggled: a, language: o } = this.props, s = t.forLocale(o, this.relabel), u = this.props.hideMessage ?? s.t("hideCorrectAnswer"), d = this.props.showMessage ?? s.t("showCorrectAnswer"), p = f(s, o);
100
100
  return /* @__PURE__ */ c(b, {
101
101
  className: n,
102
102
  ...p,
@@ -149,5 +149,4 @@ var h = a, g = h.default, _ = g && typeof g == "object" ? g : h, v = m(o, "Reada
149
149
  });
150
150
  }
151
151
  };
152
- //#endregion
153
152
  export { T as CorrectAnswerToggle, T as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/correct-answer-toggle",
3
- "version": "5.0.8-next.20261109091947",
3
+ "version": "5.0.8-next.20261110055344",
4
4
  "description": "A react based toggle component",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -13,12 +13,12 @@
13
13
  "@emotion/styled": "^11.14.1",
14
14
  "@mui/icons-material": "^7.3.4",
15
15
  "@mui/material": "^7.3.4",
16
- "@pie-lib/icons": "5.0.3-next.20261106151421",
17
- "@pie-lib/render-ui": "8.0.8-next.20261109091947",
18
- "@pie-element/shared-i18n": "0.1.3-next.20261109082044",
16
+ "@pie-lib/icons": "5.0.3-next.20261110055344",
17
+ "@pie-lib/render-ui": "8.0.8-next.20261110055344",
18
+ "@pie-element/shared-i18n": "0.1.3-next.20261110055344",
19
19
  "prop-types": "^15.6.2",
20
20
  "react-transition-group": "^4.4.5",
21
- "@pie-element/shared-lodash": "0.1.4-next.20261026212738"
21
+ "@pie-element/shared-lodash": "0.1.4-next.20261110055344"
22
22
  },
23
23
  "type": "module",
24
24
  "main": "./dist/index.js",