@khanacademy/wonder-blocks-config 0.1.0 → 0.2.0
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 +6 -0
- package/dist/es/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -8,4 +8,4 @@ const WonderBlocksI18nContext=React.createContext({strings:defaultStringsEn,loca
|
|
|
8
8
|
|
|
9
9
|
function WonderBlocksConfigProvider({children,i18n}){const{strings,locale}=i18n;return jsx(WonderBlocksI18nContextProvider,{strings:strings,locale:locale,children:children})}
|
|
10
10
|
|
|
11
|
-
export { WonderBlocksConfigProvider, useWonderBlocksI18n };
|
|
11
|
+
export { WonderBlocksConfigProvider, defaultStringsEn, useWonderBlocksI18n };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { WonderBlocksConfigProvider } from "./components/wonder-blocks-config-provider";
|
|
2
2
|
export { useWonderBlocksI18n } from "./context/i18n-context";
|
|
3
3
|
export type { I18nConfig } from "./context/i18n-context";
|
|
4
|
+
export { defaultStringsEn } from "./strings";
|
|
4
5
|
export type { WonderBlocksStrings } from "./strings";
|
package/dist/index.js
CHANGED
|
@@ -32,4 +32,5 @@ const WonderBlocksI18nContext=React__namespace.createContext({strings:defaultStr
|
|
|
32
32
|
function WonderBlocksConfigProvider({children,i18n}){const{strings,locale}=i18n;return jsxRuntime.jsx(WonderBlocksI18nContextProvider,{strings:strings,locale:locale,children:children})}
|
|
33
33
|
|
|
34
34
|
exports.WonderBlocksConfigProvider = WonderBlocksConfigProvider;
|
|
35
|
+
exports.defaultStringsEn = defaultStringsEn;
|
|
35
36
|
exports.useWonderBlocksI18n = useWonderBlocksI18n;
|