@wix/events 1.0.942 → 1.0.944

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.
@@ -4293,6 +4293,10 @@ interface ParsedMainImage {
4293
4293
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4294
4294
  */
4295
4295
  uri: string;
4296
+ /**
4297
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4298
+ */
4299
+ url: string;
4296
4300
  /** Name of the image: the event's name. */
4297
4301
  name: string;
4298
4302
  /**
@@ -7096,6 +7096,10 @@ interface ParsedMainImage {
7096
7096
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7097
7097
  */
7098
7098
  uri: string;
7099
+ /**
7100
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7101
+ */
7102
+ url: string;
7099
7103
  /** Name of the image: the event's name. */
7100
7104
  name: string;
7101
7105
  /**
@@ -8148,21 +8152,26 @@ interface EventContextValue extends EventDisplayData, EventVisibilityConditions
8148
8152
  }
8149
8153
  /** Props accepted by the Event context provider. */
8150
8154
  interface EventContextProviderProps {
8151
- value: Omit<EventContextValue, 'modal'>;
8155
+ /**
8156
+ * Event context value to provide. Other contexts supply it: Event By Slug and Event By ID from
8157
+ * the event they load, and Event Item from its Event List entry. Without it, the provider
8158
+ * renders its children, supplies no Event context, and `useEventContext()` throws.
8159
+ */
8160
+ value?: Omit<EventContextValue, 'modal'>;
8152
8161
  }
8153
8162
  //#endregion
8154
8163
  //#region src/extensions/event-context-provider/event-context-provider.d.ts
8155
8164
  /**
8156
- * The `useEventContext()` hook provides access to an event's details: its name, description, image,
8157
- * dates, location, links, and registration status, plus its ticket definitions and membership
8158
- * plans. Use it to show event information in a component and to link visitors to the event's page
8159
- * or to registration.
8165
+ * The Event context provides access to an event's details: its name, description, image, dates,
8166
+ * location, links, and registration status, plus its ticket definitions and membership plans. Use
8167
+ * it to show event information in a component and to link visitors to the event's page or to
8168
+ * registration.
8160
8169
  */
8161
8170
  declare const useEventContext: () => EventContextValue;
8162
8171
  /** Supplies an event's details to descendant components through `useEventContext()`. */
8163
8172
  declare const EventContextProvider: ({
8164
8173
  value,
8165
8174
  children
8166
- }: PropsWithChildren<EventContextProviderProps>) => React__default.JSX.Element;
8175
+ }: PropsWithChildren<EventContextProviderProps>) => string | number | boolean | Iterable<React__default.ReactNode> | React__default.JSX.Element | null | undefined;
8167
8176
 
8168
8177
  export { EventContextProvider, type EventContextValue, EventContextProvider as default, useEventContext };
@@ -4293,6 +4293,10 @@ interface ParsedMainImage {
4293
4293
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4294
4294
  */
4295
4295
  uri: string;
4296
+ /**
4297
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4298
+ */
4299
+ url: string;
4296
4300
  /** Name of the image: the event's name. */
4297
4301
  name: string;
4298
4302
  /**
@@ -7096,6 +7096,10 @@ interface ParsedMainImage {
7096
7096
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7097
7097
  */
7098
7098
  uri: string;
7099
+ /**
7100
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7101
+ */
7102
+ url: string;
7099
7103
  /** Name of the image: the event's name. */
7100
7104
  name: string;
7101
7105
  /**
@@ -8148,21 +8152,26 @@ interface EventContextValue extends EventDisplayData, EventVisibilityConditions
8148
8152
  }
8149
8153
  /** Props accepted by the Event context provider. */
8150
8154
  interface EventContextProviderProps {
8151
- value: Omit<EventContextValue, 'modal'>;
8155
+ /**
8156
+ * Event context value to provide. Other contexts supply it: Event By Slug and Event By ID from
8157
+ * the event they load, and Event Item from its Event List entry. Without it, the provider
8158
+ * renders its children, supplies no Event context, and `useEventContext()` throws.
8159
+ */
8160
+ value?: Omit<EventContextValue, 'modal'>;
8152
8161
  }
8153
8162
  //#endregion
8154
8163
  //#region src/extensions/event-context-provider/event-context-provider.d.ts
8155
8164
  /**
8156
- * The `useEventContext()` hook provides access to an event's details: its name, description, image,
8157
- * dates, location, links, and registration status, plus its ticket definitions and membership
8158
- * plans. Use it to show event information in a component and to link visitors to the event's page
8159
- * or to registration.
8165
+ * The Event context provides access to an event's details: its name, description, image, dates,
8166
+ * location, links, and registration status, plus its ticket definitions and membership plans. Use
8167
+ * it to show event information in a component and to link visitors to the event's page or to
8168
+ * registration.
8160
8169
  */
8161
8170
  declare const useEventContext: () => EventContextValue;
8162
8171
  /** Supplies an event's details to descendant components through `useEventContext()`. */
8163
8172
  declare const EventContextProvider: ({
8164
8173
  value,
8165
8174
  children
8166
- }: PropsWithChildren<EventContextProviderProps>) => React__default.JSX.Element;
8175
+ }: PropsWithChildren<EventContextProviderProps>) => string | number | boolean | Iterable<React__default.ReactNode> | React__default.JSX.Element | null | undefined;
8167
8176
 
8168
8177
  export { EventContextProvider, type EventContextValue, EventContextProvider as default, useEventContext };
@@ -4293,6 +4293,10 @@ interface ParsedMainImage {
4293
4293
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4294
4294
  */
4295
4295
  uri: string;
4296
+ /**
4297
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4298
+ */
4299
+ url: string;
4296
4300
  /** Name of the image: the event's name. */
4297
4301
  name: string;
4298
4302
  /**
@@ -7096,6 +7096,10 @@ interface ParsedMainImage {
7096
7096
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7097
7097
  */
7098
7098
  uri: string;
7099
+ /**
7100
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7101
+ */
7102
+ url: string;
7099
7103
  /** Name of the image: the event's name. */
7100
7104
  name: string;
7101
7105
  /**
@@ -8148,21 +8152,26 @@ interface EventContextValue extends EventDisplayData, EventVisibilityConditions
8148
8152
  }
8149
8153
  /** Props accepted by the Event context provider. */
8150
8154
  interface EventContextProviderProps {
8151
- value: Omit<EventContextValue, 'modal'>;
8155
+ /**
8156
+ * Event context value to provide. Other contexts supply it: Event By Slug and Event By ID from
8157
+ * the event they load, and Event Item from its Event List entry. Without it, the provider
8158
+ * renders its children, supplies no Event context, and `useEventContext()` throws.
8159
+ */
8160
+ value?: Omit<EventContextValue, 'modal'>;
8152
8161
  }
8153
8162
  //#endregion
8154
8163
  //#region src/extensions/event-context-provider/event-context-provider.d.ts
8155
8164
  /**
8156
- * The `useEventContext()` hook provides access to an event's details: its name, description, image,
8157
- * dates, location, links, and registration status, plus its ticket definitions and membership
8158
- * plans. Use it to show event information in a component and to link visitors to the event's page
8159
- * or to registration.
8165
+ * The Event context provides access to an event's details: its name, description, image, dates,
8166
+ * location, links, and registration status, plus its ticket definitions and membership plans. Use
8167
+ * it to show event information in a component and to link visitors to the event's page or to
8168
+ * registration.
8160
8169
  */
8161
8170
  declare const useEventContext: () => EventContextValue;
8162
8171
  /** Supplies an event's details to descendant components through `useEventContext()`. */
8163
8172
  declare const EventContextProvider: ({
8164
8173
  value,
8165
8174
  children
8166
- }: PropsWithChildren<EventContextProviderProps>) => React__default.JSX.Element;
8175
+ }: PropsWithChildren<EventContextProviderProps>) => string | number | boolean | Iterable<React__default.ReactNode> | React__default.JSX.Element | null | undefined;
8167
8176
 
8168
8177
  export { EventContextProvider, type EventContextValue, EventContextProvider as default, useEventContext };
@@ -4293,6 +4293,10 @@ interface ParsedMainImage {
4293
4293
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4294
4294
  */
4295
4295
  uri: string;
4296
+ /**
4297
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4298
+ */
4299
+ url: string;
4296
4300
  /** Name of the image: the event's name. */
4297
4301
  name: string;
4298
4302
  /**
@@ -7096,6 +7096,10 @@ interface ParsedMainImage {
7096
7096
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7097
7097
  */
7098
7098
  uri: string;
7099
+ /**
7100
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7101
+ */
7102
+ url: string;
7099
7103
  /** Name of the image: the event's name. */
7100
7104
  name: string;
7101
7105
  /**
@@ -8148,21 +8152,26 @@ interface EventContextValue extends EventDisplayData, EventVisibilityConditions
8148
8152
  }
8149
8153
  /** Props accepted by the Event context provider. */
8150
8154
  interface EventContextProviderProps {
8151
- value: Omit<EventContextValue, 'modal'>;
8155
+ /**
8156
+ * Event context value to provide. Other contexts supply it: Event By Slug and Event By ID from
8157
+ * the event they load, and Event Item from its Event List entry. Without it, the provider
8158
+ * renders its children, supplies no Event context, and `useEventContext()` throws.
8159
+ */
8160
+ value?: Omit<EventContextValue, 'modal'>;
8152
8161
  }
8153
8162
  //#endregion
8154
8163
  //#region src/extensions/event-context-provider/event-context-provider.d.ts
8155
8164
  /**
8156
- * The `useEventContext()` hook provides access to an event's details: its name, description, image,
8157
- * dates, location, links, and registration status, plus its ticket definitions and membership
8158
- * plans. Use it to show event information in a component and to link visitors to the event's page
8159
- * or to registration.
8165
+ * The Event context provides access to an event's details: its name, description, image, dates,
8166
+ * location, links, and registration status, plus its ticket definitions and membership plans. Use
8167
+ * it to show event information in a component and to link visitors to the event's page or to
8168
+ * registration.
8160
8169
  */
8161
8170
  declare const useEventContext: () => EventContextValue;
8162
8171
  /** Supplies an event's details to descendant components through `useEventContext()`. */
8163
8172
  declare const EventContextProvider: ({
8164
8173
  value,
8165
8174
  children
8166
- }: PropsWithChildren<EventContextProviderProps>) => React__default.JSX.Element;
8175
+ }: PropsWithChildren<EventContextProviderProps>) => string | number | boolean | Iterable<React__default.ReactNode> | React__default.JSX.Element | null | undefined;
8167
8176
 
8168
8177
  export { EventContextProvider, type EventContextValue, EventContextProvider as default, useEventContext };
@@ -7096,6 +7096,10 @@ interface ParsedMainImage {
7096
7096
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7097
7097
  */
7098
7098
  uri: string;
7099
+ /**
7100
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
7101
+ */
7102
+ url: string;
7099
7103
  /** Name of the image: the event's name. */
7100
7104
  name: string;
7101
7105
  /**
@@ -8148,21 +8152,26 @@ interface EventContextValue extends EventDisplayData, EventVisibilityConditions
8148
8152
  }
8149
8153
  /** Props accepted by the Event context provider. */
8150
8154
  interface EventContextProviderProps {
8151
- value: Omit<EventContextValue, 'modal'>;
8155
+ /**
8156
+ * Event context value to provide. Other contexts supply it: Event By Slug and Event By ID from
8157
+ * the event they load, and Event Item from its Event List entry. Without it, the provider
8158
+ * renders its children, supplies no Event context, and `useEventContext()` throws.
8159
+ */
8160
+ value?: Omit<EventContextValue, 'modal'>;
8152
8161
  }
8153
8162
  //#endregion
8154
8163
  //#region src/extensions/event-context-provider/event-context-provider.d.ts
8155
8164
  /**
8156
- * The `useEventContext()` hook provides access to an event's details: its name, description, image,
8157
- * dates, location, links, and registration status, plus its ticket definitions and membership
8158
- * plans. Use it to show event information in a component and to link visitors to the event's page
8159
- * or to registration.
8165
+ * The Event context provides access to an event's details: its name, description, image, dates,
8166
+ * location, links, and registration status, plus its ticket definitions and membership plans. Use
8167
+ * it to show event information in a component and to link visitors to the event's page or to
8168
+ * registration.
8160
8169
  */
8161
8170
  declare const useEventContext: () => EventContextValue;
8162
8171
  /** Supplies an event's details to descendant components through `useEventContext()`. */
8163
8172
  declare const EventContextProvider: ({
8164
8173
  value,
8165
8174
  children
8166
- }: PropsWithChildren<EventContextProviderProps>) => React.JSX.Element;
8175
+ }: PropsWithChildren<EventContextProviderProps>) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
8167
8176
  //#endregion
8168
8177
  export { type EventContextValue, EventContextProvider as default, useEventContext };
@@ -4293,6 +4293,10 @@ interface ParsedMainImage {
4293
4293
  * Wix Media ID of the image. For example, `936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4294
4294
  */
4295
4295
  uri: string;
4296
+ /**
4297
+ * URL of the image on Wix Media. For example, `https://static.wixstatic.com/media/936ad1_09b33941d2854a5bb7fc93f78d30e85d~mv2.png`.
4298
+ */
4299
+ url: string;
4296
4300
  /** Name of the image: the event's name. */
4297
4301
  name: string;
4298
4302
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/events",
3
- "version": "1.0.942",
3
+ "version": "1.0.944",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -137,7 +137,7 @@
137
137
  "@wix/auto_sdk_events_ticket-reservations": "1.0.58",
138
138
  "@wix/auto_sdk_events_tickets": "1.0.58",
139
139
  "@wix/auto_sdk_events_tickets-v-2": "1.0.4",
140
- "@wix/auto_sdk_events_wix-events-v-2": "1.0.140",
140
+ "@wix/auto_sdk_events_wix-events-v-2": "1.0.141",
141
141
  "@wix/events_app-extensions": "1.0.52",
142
142
  "@wix/headless-events": "^0.0.60"
143
143
  },
@@ -177,5 +177,5 @@
177
177
  "optional": true
178
178
  }
179
179
  },
180
- "falconPackageHash": "3c2d27637ce8c854128fbf730225e6a03e2ec007e67aa1389939d943"
180
+ "falconPackageHash": "571875bc4e0c4c580dcec5842b581c8ad77767b26e0a6ac9b5e15776"
181
181
  }