@wix/zero-config-implementation 1.98.0 → 1.99.0

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.ts CHANGED
@@ -330,6 +330,8 @@ export declare interface CreateElementEvent {
330
330
  props: Record<string, unknown>;
331
331
  traceId?: string;
332
332
  children: unknown[];
333
+ /** True when a child slot rendered nothing, e.g. a `children` prop mocked to null. */
334
+ hasEmptySlot?: boolean;
333
335
  store: ExtractorStore;
334
336
  }
335
337
 
@@ -2412,6 +2414,8 @@ export declare interface PropTrackerData {
2412
2414
  concatenatedAttrs: Map<string, string>;
2413
2415
  /** on*-handler prop names whose value is a function on this element (e.g. ['onClick', 'onChange']). */
2414
2416
  eventHandlers: string[];
2417
+ /** True when a child slot rendered nothing, so the content is unknown. */
2418
+ hasEmptySlot: boolean;
2415
2419
  }
2416
2420
 
2417
2421
  export declare interface PropTrackerExtractorState {