@amityco/ui-kit-open-source 4.18.0 → 4.19.1

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.mts CHANGED
@@ -216,8 +216,14 @@ interface LivestreamChatMessageComposerProps {
216
216
  community?: Amity.Community | null;
217
217
  isPendingPost?: boolean;
218
218
  isPlayer?: boolean;
219
+ /**
220
+ * The channel is still being fetched (e.g. event live chat loads after the
221
+ * stage). Render the compose bar in a disabled placeholder state so the UI
222
+ * matches the loaded layout instead of collapsing to nothing.
223
+ */
224
+ isChannelPending?: boolean;
219
225
  }
220
- declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
226
+ declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, isChannelPending, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
221
227
 
222
228
  type CreateLivestreamPageProps = {
223
229
  targetType: 'community' | 'user';
package/dist/index.d.ts CHANGED
@@ -216,8 +216,14 @@ interface LivestreamChatMessageComposerProps {
216
216
  community?: Amity.Community | null;
217
217
  isPendingPost?: boolean;
218
218
  isPlayer?: boolean;
219
+ /**
220
+ * The channel is still being fetched (e.g. event live chat loads after the
221
+ * stage). Render the compose bar in a disabled placeholder state so the UI
222
+ * matches the loaded layout instead of collapsing to nothing.
223
+ */
224
+ isChannelPending?: boolean;
219
225
  }
220
- declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
226
+ declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, isChannelPending, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
221
227
 
222
228
  type CreateLivestreamPageProps = {
223
229
  targetType: 'community' | 'user';