@wix/auto_sdk_app-components_components-catalog 1.0.77 → 1.0.78

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.
@@ -15576,13 +15576,17 @@ interface ItemPath {
15576
15576
  }
15577
15577
  interface ContextReferences {
15578
15578
  /**
15579
- * Available contexts in this container that were defined in the editorElement.contexts
15579
+ * A list of context providers that were defined in editorElement.contexts and available in this container
15580
15580
  * Example: itemsList
15581
+ * @maxLength 100
15582
+ * @maxSize 20
15581
15583
  */
15582
15584
  local?: string[];
15583
15585
  /**
15584
15586
  * A list of contexts this component exposes because it uses other context providers inside it's code
15585
15587
  * Example: @wix/stores-products-list-context
15588
+ * @maxLength 100
15589
+ * @maxSize 20
15586
15590
  */
15587
15591
  reference?: string[];
15588
15592
  }
@@ -20582,6 +20586,14 @@ interface EditorContextProvider {
20582
20586
  resources?: EditorContextProviderResources;
20583
20587
  /** The exposed context model for this component */
20584
20588
  context?: ApiContext;
20589
+ /**
20590
+ * A list of reused contexts that are exposed within this provider,
20591
+ * each identified by the module specifier it is exported from.
20592
+ * Example: @wix/stores-products-list-context
20593
+ * @maxLength 100
20594
+ * @maxSize 20
20595
+ */
20596
+ refContexts?: string[];
20585
20597
  /** data-api of this element, a map of data-items where the key is the data-item name and the value is the data-item definition. These will be manifested as `props` for the component, always has children as a prop */
20586
20598
  data?: Record<string, DataItem>;
20587
20599
  /**
@@ -20630,7 +20642,7 @@ interface ContextSpecifier {
20630
20642
  */
20631
20643
  moduleSpecifier?: string;
20632
20644
  /**
20633
- * The exported hook for components usage
20645
+ * The name of the exported hook for context consumption by components
20634
20646
  * @maxLength 100
20635
20647
  */
20636
20648
  hook?: string;