@rkosafo/cai.components 0.0.44 → 0.0.45

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.
@@ -18,7 +18,8 @@
18
18
  mentionableItems = [],
19
19
  onMessage,
20
20
  previewPageTitle = 'Preview Attachment',
21
- onSlash
21
+ onSlash,
22
+ class: className = ''
22
23
  }: ChatInputProps = $props();
23
24
 
24
25
  let message = $state<ChatInputMessage>({
@@ -122,6 +123,7 @@
122
123
  {mentionableItems}
123
124
  onMention={handleMention}
124
125
  {onSlash}
126
+ class={className}
125
127
  />
126
128
 
127
129
  <div class="mx-4 flex items-center justify-between">
@@ -119,6 +119,7 @@ export interface ChatInputProps {
119
119
  onMessage?: (val: ChatInputMessage) => void;
120
120
  onSlash?: (val: ISlashCommand) => void;
121
121
  previewPageTitle?: string;
122
+ class?: string;
122
123
  }
123
124
  export interface ChatEntryMessage {
124
125
  mine: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkosafo/cai.components",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",