@curiouslearning/gdl-player-core 1.1.0 → 1.2.1
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/Image-C1iSgNcV.js +11 -0
- package/dist/Image-CJI9T-SB.cjs +1 -0
- package/dist/components/Player.d.ts +3 -1
- package/dist/{dolottie-_lFr9NOP.cjs → dolottie-C2YAu2UJ.cjs} +2 -2
- package/dist/{dolottie-D6pmgIXi.js → dolottie-NQiBiHTe.js} +428 -427
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1215 -3569
- package/dist/lib/utils.d.ts +13 -3
- package/dist/utils-CYohLPB4.js +30 -0
- package/dist/utils-DkVRHjf3.cjs +1 -0
- package/package.json +7 -2
- package/dist/Image-BUpmrK8U.cjs +0 -1
- package/dist/Image-Bwx-qXJQ.js +0 -10
- package/dist/utils-DTI6gl3r.cjs +0 -18
- package/dist/utils-Dm7P4Nnv.js +0 -1116
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as e, n as t } from "./utils-CYohLPB4.js";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/Image.tsx
|
|
4
|
+
var r = ({ mediaItem: r }) => /* @__PURE__ */ n("img", {
|
|
5
|
+
src: t(e(), r),
|
|
6
|
+
alt: "",
|
|
7
|
+
loading: "lazy",
|
|
8
|
+
className: "max-w-full max-h-full w-full h-full -z-10"
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as Image, r as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./utils-DkVRHjf3.cjs");let t=require("react/jsx-runtime");var n=({mediaItem:n})=>(0,t.jsx)(`img`,{src:e.n(e.a(),n),alt:``,loading:`lazy`,className:`max-w-full max-h-full w-full h-full -z-10`});exports.Image=n,exports.default=n;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { PlayerAnalytics } from '../types/analytics';
|
|
2
2
|
import type { FontDefinition } from '../types/font';
|
|
3
|
+
import { type PlayerSource } from '../lib/utils';
|
|
3
4
|
export type PlayerProps = {
|
|
4
5
|
id?: string;
|
|
5
6
|
analytics?: PlayerAnalytics;
|
|
6
7
|
fonts?: FontDefinition[];
|
|
8
|
+
bookSource?: PlayerSource;
|
|
7
9
|
};
|
|
8
|
-
export declare const Player: ({ id, analytics, fonts }: PlayerProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const Player: ({ id, analytics, fonts, bookSource, }: PlayerProps) => import("react").JSX.Element;
|