@duskmoon-dev/components 0.6.2 → 0.6.3

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.
@@ -38,7 +38,7 @@ var __chunks = (base, ids, nodes, entry) => {
38
38
  __chunkSeen ||= {};
39
39
  __preload(ids[entry], 1);
40
40
  };
41
- __chunks(import.meta.url,["actqdgcw","rd10x4gc","kg46s2vk"],[["./index.js",2],["../../../chunk-rd10x4gc.js",2],["../../../chunk-kg46s2vk.js"]],0);
41
+ __chunks(import.meta.url,["43jyfyzy","rd10x4gc","kg46s2vk"],[["./index.js",2],["../../../chunk-rd10x4gc.js",2],["../../../chunk-kg46s2vk.js"]],0);
42
42
 
43
43
  // src/components/chat/rich/RichChatComposer.tsx
44
44
  import { Component, Suspense, forwardRef as forwardRef5, lazy } from "react";
@@ -601,6 +601,7 @@ var ComposerShell = forwardRef(({
601
601
  composerId,
602
602
  compact = false,
603
603
  addMenu,
604
+ context,
604
605
  entries,
605
606
  renderAttachment,
606
607
  removeAttachment,
@@ -815,7 +816,7 @@ var ComposerShell = forwardRef(({
815
816
  return /* @__PURE__ */ jsxs3("div", {
816
817
  ...props,
817
818
  ref,
818
- className: cn("chat-composer", className),
819
+ className: cn("chat-composer", compact && "chat-composer-compact", className),
819
820
  style: compact ? {
820
821
  ...props.style,
821
822
  anchorName: props.style?.anchorName && props.style.anchorName !== "none" ? `${props.style.anchorName}, ${completionAnchor}` : completionAnchor
@@ -844,6 +845,7 @@ var ComposerShell = forwardRef(({
844
845
  }
845
846
  },
846
847
  children: [
848
+ context,
847
849
  entries.length > 0 ? /* @__PURE__ */ jsx3("ul", {
848
850
  role: "list",
849
851
  className: cn("chat-composer-attachments", thumbnails && "chat-composer-thumbnails"),
@@ -2992,6 +2994,7 @@ var SemanticComposer = forwardRef4(({
2992
2994
  allowAttachmentOnly = false,
2993
2995
  compact = false,
2994
2996
  addMenu,
2997
+ context: composerContext,
2995
2998
  onStop,
2996
2999
  label = "Message",
2997
3000
  attachLabel = "Attach files",
@@ -3190,6 +3193,7 @@ var SemanticComposer = forwardRef4(({
3190
3193
  composerId: id,
3191
3194
  compact,
3192
3195
  addMenu,
3196
+ context: composerContext,
3193
3197
  entries: (attachmentsCurrent ? attachments.entries : []).map((entry) => ({
3194
3198
  id: entry.entryId,
3195
3199
  name: entry.metadata.name,
@@ -1 +1 @@
1
- export declare const version = "0.6.2";
1
+ export declare const version = "0.6.3";