@uniformdev/context-react 19.63.3-alpha.0 → 19.66.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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +5 -1
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -428,6 +428,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
428
428
|
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined;
|
|
429
429
|
onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined;
|
|
430
430
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined;
|
|
431
|
+
'data-track-on-view-wrapper'?: string | undefined;
|
|
431
432
|
}, HTMLElement>;
|
|
432
433
|
|
|
433
434
|
export { Personalize, PersonalizeComponentProps, PersonalizeWrapperComponent, PersonalizedVariationComponent, TVariation, Test, TestComponentProps, Track, TrackFragment, TrackFragmentProps, TrackProps, UniformContext, UniformContextProps$1 as UniformContextProps, VariantOutputType, useQuirks, useScores, useUniformContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
428
428
|
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined;
|
|
429
429
|
onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined;
|
|
430
430
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined;
|
|
431
|
+
'data-track-on-view-wrapper'?: string | undefined;
|
|
431
432
|
}, HTMLElement>;
|
|
432
433
|
|
|
433
434
|
export { Personalize, PersonalizeComponentProps, PersonalizeWrapperComponent, PersonalizedVariationComponent, TVariation, Test, TestComponentProps, Track, TrackFragment, TrackFragmentProps, TrackProps, UniformContext, UniformContextProps$1 as UniformContextProps, VariantOutputType, useQuirks, useScores, useUniformContext };
|
package/dist/index.esm.js
CHANGED
|
@@ -317,7 +317,11 @@ var Track = ({
|
|
|
317
317
|
currentUrl,
|
|
318
318
|
hasTracked
|
|
319
319
|
]);
|
|
320
|
-
const
|
|
320
|
+
const debugProps = {};
|
|
321
|
+
if (process.env.NODE_ENV === "development") {
|
|
322
|
+
debugProps["data-track-on-view-wrapper"] = "This div wrapper is added by Uniform Context, check 'behaviorTracking' property of UniformComposition";
|
|
323
|
+
}
|
|
324
|
+
const element = createElement2(tagName, { ...debugProps, ...rest, ref: wrapperEl }, children);
|
|
321
325
|
return element;
|
|
322
326
|
};
|
|
323
327
|
|
package/dist/index.js
CHANGED
|
@@ -360,7 +360,11 @@ var Track = ({
|
|
|
360
360
|
currentUrl,
|
|
361
361
|
hasTracked
|
|
362
362
|
]);
|
|
363
|
-
const
|
|
363
|
+
const debugProps = {};
|
|
364
|
+
if (process.env.NODE_ENV === "development") {
|
|
365
|
+
debugProps["data-track-on-view-wrapper"] = "This div wrapper is added by Uniform Context, check 'behaviorTracking' property of UniformComposition";
|
|
366
|
+
}
|
|
367
|
+
const element = (0, import_react13.createElement)(tagName, { ...debugProps, ...rest, ref: wrapperEl }, children);
|
|
364
368
|
return element;
|
|
365
369
|
};
|
|
366
370
|
|
package/dist/index.mjs
CHANGED
|
@@ -317,7 +317,11 @@ var Track = ({
|
|
|
317
317
|
currentUrl,
|
|
318
318
|
hasTracked
|
|
319
319
|
]);
|
|
320
|
-
const
|
|
320
|
+
const debugProps = {};
|
|
321
|
+
if (process.env.NODE_ENV === "development") {
|
|
322
|
+
debugProps["data-track-on-view-wrapper"] = "This div wrapper is added by Uniform Context, check 'behaviorTracking' property of UniformComposition";
|
|
323
|
+
}
|
|
324
|
+
const element = createElement2(tagName, { ...debugProps, ...rest, ref: wrapperEl }, children);
|
|
321
325
|
return element;
|
|
322
326
|
};
|
|
323
327
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-react",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.66.1",
|
|
4
4
|
"description": "Uniform Context React integration package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-dom": "18.2.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@uniformdev/context": "19.
|
|
34
|
+
"@uniformdev/context": "19.66.1",
|
|
35
35
|
"cookie": "0.5.0",
|
|
36
36
|
"dequal": "2.0.3"
|
|
37
37
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "80e9cf7f60f95245269938596f00813b48a304f3"
|
|
49
49
|
}
|