@pie-lib/correct-answer-toggle 5.0.8-next.20261109091947 → 5.0.8-next.20261109125924
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/index.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ 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 {
|
|
11
|
+
import { chromeLanguageAttributes as f } from "@pie-element/shared-i18n";
|
|
12
12
|
//#region src/index.tsx
|
|
13
13
|
function p(e) {
|
|
14
14
|
return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
|
|
@@ -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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/correct-answer-toggle",
|
|
3
|
-
"version": "5.0.8-next.
|
|
3
|
+
"version": "5.0.8-next.20261109125924",
|
|
4
4
|
"description": "A react based toggle component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"@mui/icons-material": "^7.3.4",
|
|
15
15
|
"@mui/material": "^7.3.4",
|
|
16
16
|
"@pie-lib/icons": "5.0.3-next.20261106151421",
|
|
17
|
-
"@pie-lib/render-ui": "8.0.8-next.
|
|
18
|
-
"@pie-element/shared-i18n": "0.1.3-next.
|
|
17
|
+
"@pie-lib/render-ui": "8.0.8-next.20261109125924",
|
|
18
|
+
"@pie-element/shared-i18n": "0.1.3-next.20261109125924",
|
|
19
19
|
"prop-types": "^15.6.2",
|
|
20
20
|
"react-transition-group": "^4.4.5",
|
|
21
21
|
"@pie-element/shared-lodash": "0.1.4-next.20261026212738"
|