@wix/zero-config-implementation 1.84.0 → 1.86.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-BHTXuyLh.js → index-B27P3e9W.js} +1 -1
- package/dist/{index-Byvq-358.js → index-EfIM-d53.js} +7316 -7249
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/converters/active-item-index-builder.test.ts +149 -0
- package/src/converters/active-item-index-builder.ts +90 -0
- package/src/converters/to-editor-component.test.ts +64 -0
- package/src/converters/to-editor-component.ts +10 -0
- package/src/converters/utils.test.ts +14 -1
- package/src/converters/utils.ts +11 -0
- package/src/extraction-types.ts +7 -0
- package/src/index.ts +7 -2
- package/src/information-extractors/ts/components.test.ts +37 -0
- package/src/information-extractors/ts/components.ts +74 -2
- package/src/information-extractors/ts/types.ts +5 -0
|
@@ -59,6 +59,11 @@ export interface PropInfo {
|
|
|
59
59
|
// state. `type` and `resolvedType` reflect the unwrapped inner type, so the prop
|
|
60
60
|
// still behaves as a normal data prop everywhere else.
|
|
61
61
|
isStateTrigger?: boolean
|
|
62
|
+
// When the prop is wrapped in `ActiveItemIndex<'arrayPropName'>` from
|
|
63
|
+
// @wix/react-component-utils, carries the target array prop name. `type` and
|
|
64
|
+
// `resolvedType` reflect the unwrapped `number` type. Used by the display-groups
|
|
65
|
+
// builder to auto-generate the `displayGroups.arrayItems` manifest block.
|
|
66
|
+
activeItemIndexTarget?: string
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
export interface ComponentInfo {
|