@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @khanacademy/wonder-blocks-config
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2e7983b: Export `defaultStringsEn` from the package entry point
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
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;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Configuration for Wonder Blocks",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "0.1.0",
6
+ "version": "0.2.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },