@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 +4 -0
- package/dist/index.js +6410 -6396
- package/package.json +2 -2
- package/src/component-renderer.ts +22 -5
- package/src/converters/states-builder.test.ts +1 -0
- package/src/information-extractors/react/extractors/core/tree-builder.test.ts +186 -0
- package/src/information-extractors/react/extractors/core/tree-builder.ts +41 -5
- package/src/information-extractors/react/extractors/core/types.ts +2 -0
- package/src/information-extractors/react/extractors/css-properties.test.ts +12 -2
- package/src/information-extractors/react/extractors/css-properties.ts +17 -2
- package/src/information-extractors/react/extractors/prop-tracker.test.ts +19 -1
- package/src/information-extractors/react/extractors/prop-tracker.ts +3 -0
- package/src/information-extractors/react/extractors/state-markers.test.ts +1 -0
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 {
|