@uniformdev/context-react 19.178.2-alpha.25 → 19.179.2-alpha.22

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 CHANGED
@@ -113,7 +113,7 @@ interface TestComponentProps<TVariation extends TestVariant> {
113
113
  /** A React component to use to render the test variant. */
114
114
  component: react__default.ComponentType<TVariation>;
115
115
  }
116
- declare const Test: <TVariation_1 extends TestVariant>(props: TestComponentProps<TVariation_1>) => ReactElement | null;
116
+ declare const Test: <TVariation extends TestVariant>(props: TestComponentProps<TVariation>) => ReactElement | null;
117
117
 
118
118
  type TrackFragmentProps = {
119
119
  /** Behavior that will be pushed when tracking occurs. */
@@ -176,7 +176,6 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
176
176
  id?: string | undefined;
177
177
  lang?: string | undefined;
178
178
  nonce?: string | undefined;
179
- placeholder?: string | undefined;
180
179
  slot?: string | undefined;
181
180
  spellCheck?: (boolean | "true" | "false") | undefined;
182
181
  style?: react.CSSProperties | undefined;
@@ -208,33 +207,33 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
208
207
  results?: number | undefined;
209
208
  security?: string | undefined;
210
209
  unselectable?: "on" | "off" | undefined;
211
- inputMode?: "url" | "search" | "text" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
210
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
212
211
  is?: string | undefined;
213
212
  "aria-activedescendant"?: string | undefined;
214
213
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
215
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
214
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
216
215
  "aria-braillelabel"?: string | undefined;
217
216
  "aria-brailleroledescription"?: string | undefined;
218
217
  "aria-busy"?: (boolean | "true" | "false") | undefined;
219
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
218
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
220
219
  "aria-colcount"?: number | undefined;
221
220
  "aria-colindex"?: number | undefined;
222
221
  "aria-colindextext"?: string | undefined;
223
222
  "aria-colspan"?: number | undefined;
224
223
  "aria-controls"?: string | undefined;
225
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
224
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
226
225
  "aria-describedby"?: string | undefined;
227
226
  "aria-description"?: string | undefined;
228
227
  "aria-details"?: string | undefined;
229
228
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
230
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
229
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
231
230
  "aria-errormessage"?: string | undefined;
232
231
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
233
232
  "aria-flowto"?: string | undefined;
234
233
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
235
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
234
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
236
235
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
237
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
236
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
238
237
  "aria-keyshortcuts"?: string | undefined;
239
238
  "aria-label"?: string | undefined;
240
239
  "aria-labelledby"?: string | undefined;
@@ -247,9 +246,9 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
247
246
  "aria-owns"?: string | undefined;
248
247
  "aria-placeholder"?: string | undefined;
249
248
  "aria-posinset"?: number | undefined;
250
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
249
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
251
250
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
252
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
251
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
253
252
  "aria-required"?: (boolean | "true" | "false") | undefined;
254
253
  "aria-roledescription"?: string | undefined;
255
254
  "aria-rowcount"?: number | undefined;
@@ -405,9 +404,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
405
404
  onPointerCancel?: react.PointerEventHandler<HTMLElement> | undefined;
406
405
  onPointerCancelCapture?: react.PointerEventHandler<HTMLElement> | undefined;
407
406
  onPointerEnter?: react.PointerEventHandler<HTMLElement> | undefined;
408
- onPointerEnterCapture?: react.PointerEventHandler<HTMLElement> | undefined;
409
407
  onPointerLeave?: react.PointerEventHandler<HTMLElement> | undefined;
410
- onPointerLeaveCapture?: react.PointerEventHandler<HTMLElement> | undefined;
411
408
  onPointerOver?: react.PointerEventHandler<HTMLElement> | undefined;
412
409
  onPointerOverCapture?: react.PointerEventHandler<HTMLElement> | undefined;
413
410
  onPointerOut?: react.PointerEventHandler<HTMLElement> | undefined;
@@ -428,7 +425,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
428
425
  onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined;
429
426
  onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined;
430
427
  onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined;
431
- 'data-track-on-view-wrapper'?: string | undefined;
428
+ 'data-track-on-view-wrapper'?: string;
432
429
  }, HTMLElement>;
433
430
 
434
431
  export { Personalize, type PersonalizeComponentProps, type PersonalizeWrapperComponent, type PersonalizedVariationComponent, type TVariation, Test, type TestComponentProps, Track, TrackFragment, type TrackFragmentProps, type TrackProps, UniformContext, type UniformContextProps$1 as UniformContextProps, type VariantOutputType, useQuirks, useScores, useUniformContext };
package/dist/index.d.ts CHANGED
@@ -113,7 +113,7 @@ interface TestComponentProps<TVariation extends TestVariant> {
113
113
  /** A React component to use to render the test variant. */
114
114
  component: react__default.ComponentType<TVariation>;
115
115
  }
116
- declare const Test: <TVariation_1 extends TestVariant>(props: TestComponentProps<TVariation_1>) => ReactElement | null;
116
+ declare const Test: <TVariation extends TestVariant>(props: TestComponentProps<TVariation>) => ReactElement | null;
117
117
 
118
118
  type TrackFragmentProps = {
119
119
  /** Behavior that will be pushed when tracking occurs. */
@@ -176,7 +176,6 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
176
176
  id?: string | undefined;
177
177
  lang?: string | undefined;
178
178
  nonce?: string | undefined;
179
- placeholder?: string | undefined;
180
179
  slot?: string | undefined;
181
180
  spellCheck?: (boolean | "true" | "false") | undefined;
182
181
  style?: react.CSSProperties | undefined;
@@ -208,33 +207,33 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
208
207
  results?: number | undefined;
209
208
  security?: string | undefined;
210
209
  unselectable?: "on" | "off" | undefined;
211
- inputMode?: "url" | "search" | "text" | "none" | "tel" | "email" | "numeric" | "decimal" | undefined;
210
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
212
211
  is?: string | undefined;
213
212
  "aria-activedescendant"?: string | undefined;
214
213
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
215
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
214
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
216
215
  "aria-braillelabel"?: string | undefined;
217
216
  "aria-brailleroledescription"?: string | undefined;
218
217
  "aria-busy"?: (boolean | "true" | "false") | undefined;
219
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
218
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
220
219
  "aria-colcount"?: number | undefined;
221
220
  "aria-colindex"?: number | undefined;
222
221
  "aria-colindextext"?: string | undefined;
223
222
  "aria-colspan"?: number | undefined;
224
223
  "aria-controls"?: string | undefined;
225
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
224
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
226
225
  "aria-describedby"?: string | undefined;
227
226
  "aria-description"?: string | undefined;
228
227
  "aria-details"?: string | undefined;
229
228
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
230
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
229
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
231
230
  "aria-errormessage"?: string | undefined;
232
231
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
233
232
  "aria-flowto"?: string | undefined;
234
233
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
235
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
234
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
236
235
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
237
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
236
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
238
237
  "aria-keyshortcuts"?: string | undefined;
239
238
  "aria-label"?: string | undefined;
240
239
  "aria-labelledby"?: string | undefined;
@@ -247,9 +246,9 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
247
246
  "aria-owns"?: string | undefined;
248
247
  "aria-placeholder"?: string | undefined;
249
248
  "aria-posinset"?: number | undefined;
250
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
249
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
251
250
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
252
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
251
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
253
252
  "aria-required"?: (boolean | "true" | "false") | undefined;
254
253
  "aria-roledescription"?: string | undefined;
255
254
  "aria-rowcount"?: number | undefined;
@@ -405,9 +404,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
405
404
  onPointerCancel?: react.PointerEventHandler<HTMLElement> | undefined;
406
405
  onPointerCancelCapture?: react.PointerEventHandler<HTMLElement> | undefined;
407
406
  onPointerEnter?: react.PointerEventHandler<HTMLElement> | undefined;
408
- onPointerEnterCapture?: react.PointerEventHandler<HTMLElement> | undefined;
409
407
  onPointerLeave?: react.PointerEventHandler<HTMLElement> | undefined;
410
- onPointerLeaveCapture?: react.PointerEventHandler<HTMLElement> | undefined;
411
408
  onPointerOver?: react.PointerEventHandler<HTMLElement> | undefined;
412
409
  onPointerOverCapture?: react.PointerEventHandler<HTMLElement> | undefined;
413
410
  onPointerOut?: react.PointerEventHandler<HTMLElement> | undefined;
@@ -428,7 +425,7 @@ declare const Track: ({ behavior, children, tagName, threshold, disableVisibilit
428
425
  onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined;
429
426
  onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined;
430
427
  onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined;
431
- 'data-track-on-view-wrapper'?: string | undefined;
428
+ 'data-track-on-view-wrapper'?: string;
432
429
  }, HTMLElement>;
433
430
 
434
431
  export { Personalize, type PersonalizeComponentProps, type PersonalizeWrapperComponent, type PersonalizedVariationComponent, type TVariation, Test, type TestComponentProps, Track, TrackFragment, type TrackFragmentProps, type TrackProps, UniformContext, type UniformContextProps$1 as UniformContextProps, type VariantOutputType, useQuirks, useScores, useUniformContext };
package/dist/index.esm.js CHANGED
@@ -187,7 +187,8 @@ function TestEdge(props) {
187
187
  "data-type": ScriptType2.ListItemSettings,
188
188
  dangerouslySetInnerHTML: {
189
189
  __html: JSON.stringify({
190
- id: variation.id
190
+ id: variation.id,
191
+ testDistribution: variation.testDistribution
191
192
  })
192
193
  }
193
194
  }
package/dist/index.js CHANGED
@@ -229,7 +229,8 @@ function TestEdge(props) {
229
229
  "data-type": import_context3.ScriptType.ListItemSettings,
230
230
  dangerouslySetInnerHTML: {
231
231
  __html: JSON.stringify({
232
- id: variation.id
232
+ id: variation.id,
233
+ testDistribution: variation.testDistribution
233
234
  })
234
235
  }
235
236
  }
package/dist/index.mjs CHANGED
@@ -187,7 +187,8 @@ function TestEdge(props) {
187
187
  "data-type": ScriptType2.ListItemSettings,
188
188
  dangerouslySetInnerHTML: {
189
189
  __html: JSON.stringify({
190
- id: variation.id
190
+ id: variation.id,
191
+ testDistribution: variation.testDistribution
191
192
  })
192
193
  }
193
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/context-react",
3
- "version": "19.178.2-alpha.25+0f7f53f560",
3
+ "version": "19.179.2-alpha.22+79878be48f",
4
4
  "description": "Uniform Context React integration package",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/cookie": "0.6.0",
29
- "@types/react": "18.2.40",
30
- "react": "18.2.0",
31
- "react-dom": "18.2.0"
29
+ "@types/react": "18.3.3",
30
+ "react": "18.3.1",
31
+ "react-dom": "18.3.1"
32
32
  },
33
33
  "dependencies": {
34
- "@uniformdev/context": "19.178.2-alpha.25+0f7f53f560",
34
+ "@uniformdev/context": "19.179.2-alpha.22+79878be48f",
35
35
  "cookie": "0.6.0",
36
36
  "dequal": "2.0.3"
37
37
  },
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "0f7f53f56071a59cee38bf83c9f3bae541846de2"
48
+ "gitHead": "79878be48f2d4b1c6158026aa632e71c91473ac6"
49
49
  }