@uniformdev/context-react 20.70.0 → 20.70.1-alpha.10
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 +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.esm.js +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -294,18 +294,18 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
294
294
|
onFocusCapture?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
295
295
|
onBlur?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
296
296
|
onBlurCapture?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
297
|
-
onChange?: react.
|
|
298
|
-
onChangeCapture?: react.
|
|
297
|
+
onChange?: react.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
298
|
+
onChangeCapture?: react.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
299
299
|
onBeforeInput?: react.InputEventHandler<HTMLElement> | undefined;
|
|
300
|
-
onBeforeInputCapture?: react.
|
|
301
|
-
onInput?: react.
|
|
302
|
-
onInputCapture?: react.
|
|
303
|
-
onReset?: react.
|
|
304
|
-
onResetCapture?: react.
|
|
305
|
-
onSubmit?: react.
|
|
306
|
-
onSubmitCapture?: react.
|
|
307
|
-
onInvalid?: react.
|
|
308
|
-
onInvalidCapture?: react.
|
|
300
|
+
onBeforeInputCapture?: react.InputEventHandler<HTMLElement> | undefined;
|
|
301
|
+
onInput?: react.InputEventHandler<HTMLElement> | undefined;
|
|
302
|
+
onInputCapture?: react.InputEventHandler<HTMLElement> | undefined;
|
|
303
|
+
onReset?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
304
|
+
onResetCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
305
|
+
onSubmit?: react.SubmitEventHandler<HTMLElement> | undefined;
|
|
306
|
+
onSubmitCapture?: react.SubmitEventHandler<HTMLElement> | undefined;
|
|
307
|
+
onInvalid?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
308
|
+
onInvalidCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
309
309
|
onLoad?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
310
310
|
onLoadCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
311
311
|
onError?: react.ReactEventHandler<HTMLElement> | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -294,18 +294,18 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
|
|
|
294
294
|
onFocusCapture?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
295
295
|
onBlur?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
296
296
|
onBlurCapture?: react.FocusEventHandler<HTMLElement> | undefined;
|
|
297
|
-
onChange?: react.
|
|
298
|
-
onChangeCapture?: react.
|
|
297
|
+
onChange?: react.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
298
|
+
onChangeCapture?: react.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
299
299
|
onBeforeInput?: react.InputEventHandler<HTMLElement> | undefined;
|
|
300
|
-
onBeforeInputCapture?: react.
|
|
301
|
-
onInput?: react.
|
|
302
|
-
onInputCapture?: react.
|
|
303
|
-
onReset?: react.
|
|
304
|
-
onResetCapture?: react.
|
|
305
|
-
onSubmit?: react.
|
|
306
|
-
onSubmitCapture?: react.
|
|
307
|
-
onInvalid?: react.
|
|
308
|
-
onInvalidCapture?: react.
|
|
300
|
+
onBeforeInputCapture?: react.InputEventHandler<HTMLElement> | undefined;
|
|
301
|
+
onInput?: react.InputEventHandler<HTMLElement> | undefined;
|
|
302
|
+
onInputCapture?: react.InputEventHandler<HTMLElement> | undefined;
|
|
303
|
+
onReset?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
304
|
+
onResetCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
305
|
+
onSubmit?: react.SubmitEventHandler<HTMLElement> | undefined;
|
|
306
|
+
onSubmitCapture?: react.SubmitEventHandler<HTMLElement> | undefined;
|
|
307
|
+
onInvalid?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
308
|
+
onInvalidCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
309
309
|
onLoad?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
310
310
|
onLoadCapture?: react.ReactEventHandler<HTMLElement> | undefined;
|
|
311
311
|
onError?: react.ReactEventHandler<HTMLElement> | undefined;
|
package/dist/index.esm.js
CHANGED
|
@@ -139,7 +139,7 @@ function PersonalizeStandard({
|
|
|
139
139
|
// oxlint-disable-next-line react/exhaustive-deps
|
|
140
140
|
[scores, quirks, context, count, name, variations, compositionMetadata]
|
|
141
141
|
);
|
|
142
|
-
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
|
142
|
+
const Wrapper = wrapperComponent != null ? wrapperComponent : (({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children));
|
|
143
143
|
const Component = component;
|
|
144
144
|
return /* @__PURE__ */ React2.createElement(PersonalizationContext.Provider, { value: { personalized: true } }, personalizedVariations.length ? /* @__PURE__ */ React2.createElement(Wrapper, { personalizationOccurred }, personalizedVariations.map((variant) => /* @__PURE__ */ React2.createElement(
|
|
145
145
|
Component,
|
package/dist/index.js
CHANGED
|
@@ -29,8 +29,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
|
|
31
31
|
// src/index.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
34
|
Personalize: () => Personalize,
|
|
35
35
|
Test: () => Test,
|
|
36
36
|
Track: () => Track,
|
|
@@ -40,7 +40,7 @@ __export(src_exports, {
|
|
|
40
40
|
useScores: () => useScores,
|
|
41
41
|
useUniformContext: () => useUniformContext
|
|
42
42
|
});
|
|
43
|
-
module.exports = __toCommonJS(
|
|
43
|
+
module.exports = __toCommonJS(index_exports);
|
|
44
44
|
|
|
45
45
|
// src/hooks/useQuirks.ts
|
|
46
46
|
var import_react = require("react");
|
|
@@ -181,7 +181,7 @@ function PersonalizeStandard({
|
|
|
181
181
|
// oxlint-disable-next-line react/exhaustive-deps
|
|
182
182
|
[scores, quirks, context, count, name, variations, compositionMetadata]
|
|
183
183
|
);
|
|
184
|
-
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, children);
|
|
184
|
+
const Wrapper = wrapperComponent != null ? wrapperComponent : (({ children }) => /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, children));
|
|
185
185
|
const Component = component;
|
|
186
186
|
return /* @__PURE__ */ import_react7.default.createElement(PersonalizationContext.Provider, { value: { personalized: true } }, personalizedVariations.length ? /* @__PURE__ */ import_react7.default.createElement(Wrapper, { personalizationOccurred }, personalizedVariations.map((variant) => /* @__PURE__ */ import_react7.default.createElement(
|
|
187
187
|
Component,
|
package/dist/index.mjs
CHANGED
|
@@ -139,7 +139,7 @@ function PersonalizeStandard({
|
|
|
139
139
|
// oxlint-disable-next-line react/exhaustive-deps
|
|
140
140
|
[scores, quirks, context, count, name, variations, compositionMetadata]
|
|
141
141
|
);
|
|
142
|
-
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
|
142
|
+
const Wrapper = wrapperComponent != null ? wrapperComponent : (({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children));
|
|
143
143
|
const Component = component;
|
|
144
144
|
return /* @__PURE__ */ React2.createElement(PersonalizationContext.Provider, { value: { personalized: true } }, personalizedVariations.length ? /* @__PURE__ */ React2.createElement(Wrapper, { personalizationOccurred }, personalizedVariations.map((variant) => /* @__PURE__ */ React2.createElement(
|
|
145
145
|
Component,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-react",
|
|
3
|
-
"version": "20.70.
|
|
3
|
+
"version": "20.70.1-alpha.10+6e0ecaf156",
|
|
4
4
|
"description": "Uniform Context React integration package",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"apidocs-extract": "api-extractor run --local"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/react": "19.2.
|
|
27
|
+
"@types/react": "19.2.17",
|
|
28
28
|
"react": "19.2.1",
|
|
29
29
|
"react-dom": "19.2.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@uniformdev/context": "20.70.
|
|
33
|
-
"cookie": "1.
|
|
32
|
+
"@uniformdev/context": "20.70.1-alpha.10+6e0ecaf156",
|
|
33
|
+
"cookie": "1.1.1",
|
|
34
34
|
"dequal": "2.0.3"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6e0ecaf15691da45ddab84cc3ca11c4d048bbbdd"
|
|
47
47
|
}
|