speakid-build-a-sentence 1.0.3 → 1.0.5
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/Game.d.ts +2 -1
- package/dist/Game.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/speakid-build-a-sentence.es.js +1 -2
- package/dist/speakid-build-a-sentence.es.js.map +1 -1
- package/dist/speakid-build-a-sentence.umd.js +6 -6
- package/dist/speakid-build-a-sentence.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/Game.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export interface GameProps {
|
|
2
3
|
logoUrl?: string;
|
|
3
4
|
showLogo?: boolean;
|
|
4
5
|
baseURL?: string;
|
|
5
6
|
}
|
|
6
|
-
export default function Game(props?: GameProps):
|
|
7
|
+
export default function Game(props?: GameProps): React.JSX.Element;
|
|
7
8
|
//# sourceMappingURL=Game.d.ts.map
|
package/dist/Game.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../src/Game.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../src/Game.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+C,MAAM,OAAO,CAAC;AA4CpE,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,GAAE,SAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAg+BrE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ErrorBoundary } from "./components/ErrorBoundary";
|
|
|
3
3
|
import { useValidation } from "./hooks/useValidation";
|
|
4
4
|
import { createAriaLabel, handleKeyDown, announceToScreenReader } from "./utils/accessibility";
|
|
5
5
|
export default Game;
|
|
6
|
-
export { Game };
|
|
7
6
|
export { ErrorBoundary };
|
|
8
7
|
export { useValidation };
|
|
9
8
|
export { createAriaLabel, handleKeyDown, announceToScreenReader };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/F,eAAe,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/F,eAAe,IAAI,CAAC;AAGpB,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC;AAGlE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1073,7 +1073,7 @@ function wn(p = {}) {
|
|
|
1073
1073
|
] }), Ke = on(
|
|
1074
1074
|
() => {
|
|
1075
1075
|
let n = l;
|
|
1076
|
-
return n || (T ? n = `${T.endsWith("/") ? T.slice(0, -1) : T}/logo.svg` : n = `${window.origin}/browser/speakid/games/magic%20sentence/logo.svg`), /* @__PURE__ */ s.jsx("div", { style: {
|
|
1076
|
+
return n || (T ? n = `${T.endsWith("/") ? T.slice(0, -1) : T}/logo.svg` : typeof window < "u" && window.origin && (n = `${window.origin}/browser/speakid/games/magic%20sentence/logo.svg`)), /* @__PURE__ */ s.jsx("div", { style: {
|
|
1077
1077
|
...h.gmLogoFixed,
|
|
1078
1078
|
display: !S || r && window.innerWidth > window.innerHeight || window.innerHeight < 700 ? "none" : "block"
|
|
1079
1079
|
}, children: n ? /* @__PURE__ */ s.jsx(
|
|
@@ -1222,7 +1222,6 @@ class xn extends sn {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
export {
|
|
1224
1224
|
xn as ErrorBoundary,
|
|
1225
|
-
wn as Game,
|
|
1226
1225
|
Y as announceToScreenReader,
|
|
1227
1226
|
pn as createAriaLabel,
|
|
1228
1227
|
wn as default,
|