@instructure/platform-notebook 1.9.3 → 1.9.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/dist/TranslationsContext.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/package.json +17 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationsContext.d.ts","sourceRoot":"","sources":["../src/TranslationsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC1E,OAAO,cAAc,MAAM,oBAAoB,CAAA;AAE/C,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,OAAO,cAAc,EAAE,MAAM,CAAC,CAAA;AAE9E,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAA;AAE1F,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,oBAAoB,CAAA;IAClC,SAAS,EAAE,iBAAiB,CAAA;CAC7B;AAUD,MAAM,WAAW,iCAAiC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,EAAE,iCAAiC,
|
|
1
|
+
{"version":3,"file":"TranslationsContext.d.ts","sourceRoot":"","sources":["../src/TranslationsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC1E,OAAO,cAAc,MAAM,oBAAoB,CAAA;AAE/C,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,OAAO,cAAc,EAAE,MAAM,CAAC,CAAA;AAE9E,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAA;AAE1F,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,oBAAoB,CAAA;IAClC,SAAS,EAAE,iBAAiB,CAAA;CAC7B;AAUD,MAAM,WAAW,iCAAiC;IAChD,YAAY,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,YAAY,EACZ,SAAS,EACT,QAAQ,GACT,EAAE,iCAAiC,2CAiBnC;AAED,wBAAgB,uBAAuB,IAAI,2BAA2B,CAMrE"}
|
package/dist/index.js
CHANGED
|
@@ -711,13 +711,14 @@ function Hn({
|
|
|
711
711
|
translate: e,
|
|
712
712
|
children: n
|
|
713
713
|
}) {
|
|
714
|
-
const o = he(
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
714
|
+
const o = he(() => ({
|
|
715
|
+
translations: new Proxy(Me, {
|
|
716
|
+
get(i, l) {
|
|
717
|
+
return (t == null ? void 0 : t[l]) ?? i[l];
|
|
718
|
+
}
|
|
718
719
|
}),
|
|
719
|
-
|
|
720
|
-
);
|
|
720
|
+
translate: e ?? lt
|
|
721
|
+
}), [t, e]);
|
|
721
722
|
return /* @__PURE__ */ s(it.Provider, { value: o, children: n });
|
|
722
723
|
}
|
|
723
724
|
function ee() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-notebook",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,7 +41,22 @@
|
|
|
41
41
|
"react-dom": "^18.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-
|
|
44
|
+
"@instructure/ui-a11y-content": "11.7.4",
|
|
45
|
+
"@instructure/ui-buttons": "11.7.4",
|
|
46
|
+
"@instructure/ui-dialog": "11.7.4",
|
|
47
|
+
"@instructure/ui-flex": "11.7.4",
|
|
48
|
+
"@instructure/ui-heading": "11.7.4",
|
|
49
|
+
"@instructure/ui-icons": "11.7.4",
|
|
50
|
+
"@instructure/ui-menu": "11.7.4",
|
|
51
|
+
"@instructure/ui-pagination": "11.7.4",
|
|
52
|
+
"@instructure/ui-pill": "11.7.4",
|
|
53
|
+
"@instructure/ui-simple-select": "11.7.4",
|
|
54
|
+
"@instructure/ui-spinner": "11.7.4",
|
|
55
|
+
"@instructure/ui-text": "11.7.4",
|
|
56
|
+
"@instructure/ui-text-area": "11.7.4",
|
|
57
|
+
"@instructure/ui-tray": "11.7.4",
|
|
58
|
+
"@instructure/ui-truncate-text": "11.7.4",
|
|
59
|
+
"@instructure/ui-view": "11.7.4",
|
|
45
60
|
"@testing-library/jest-dom": "^6.9.1",
|
|
46
61
|
"@testing-library/react": "^16.0.0",
|
|
47
62
|
"@testing-library/user-event": "^14.0.0",
|