@pip-it-up/react 0.1.4 → 0.1.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/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -121,8 +121,6 @@ var PipWrapper = (0, import_react3.forwardRef)((props, ref) => {
|
|
|
121
121
|
getServerState
|
|
122
122
|
);
|
|
123
123
|
(0, import_react3.useLayoutEffect)(() => {
|
|
124
|
-
console.log("[PipWrapper] instance:", instance);
|
|
125
|
-
console.log("[PipWrapper] instance.setDefaultElements:", typeof instance.setDefaultElements);
|
|
126
124
|
if (typeof instance.setDefaultElements === "function") {
|
|
127
125
|
instance.setDefaultElements({
|
|
128
126
|
contentEl: contentRef.current || void 0,
|
package/dist/index.mjs
CHANGED
|
@@ -80,8 +80,6 @@ var PipWrapper = forwardRef((props, ref) => {
|
|
|
80
80
|
getServerState
|
|
81
81
|
);
|
|
82
82
|
useLayoutEffect(() => {
|
|
83
|
-
console.log("[PipWrapper] instance:", instance);
|
|
84
|
-
console.log("[PipWrapper] instance.setDefaultElements:", typeof instance.setDefaultElements);
|
|
85
83
|
if (typeof instance.setDefaultElements === "function") {
|
|
86
84
|
instance.setDefaultElements({
|
|
87
85
|
contentEl: contentRef.current || void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pip-it-up/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "React components and hooks for the Document Picture-in-Picture API — PipWrapper, PipTrigger, usePip, useIsPipSupported",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"picture-in-picture",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@pip-it-up/core": "0.1.
|
|
45
|
+
"@pip-it-up/core": "0.1.5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=18",
|