wafields 0.46.0 → 0.47.0

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.
@@ -0,0 +1,11 @@
1
+ import { ElementType } from 'react';
2
+ interface AttributeSelectionUpdaterProps {
3
+ label: string;
4
+ value: any;
5
+ onSave: (v: any) => void;
6
+ AttributeEditing: ElementType;
7
+ AttributeNonEdit: ElementType;
8
+ disabled?: boolean;
9
+ }
10
+ declare function AttributeSelectionUpdater({ label, value, onSave, AttributeEditing, AttributeNonEdit, disabled }: AttributeSelectionUpdaterProps): import("react").JSX.Element;
11
+ export default AttributeSelectionUpdater;
@@ -1,4 +1,5 @@
1
1
  export { default as AttributeUpdater } from './AttributeUpdater';
2
+ export { default as AttributeSelectionUpdater } from './AttributeSelectionUpdater';
2
3
  export { default as AttributeDisplay } from './AttributeDisplay';
3
4
  export { default as AttributeUnspecified } from './AttributeUnspecified';
4
5
  export * from './profile';
@@ -2,6 +2,7 @@ interface MessageInputProps {
2
2
  onSend: (content: string) => void;
3
3
  disabled?: boolean;
4
4
  autoFocus?: boolean;
5
+ initialContent?: string;
5
6
  }
6
- declare function MessageInput({ onSend, disabled, autoFocus }: MessageInputProps): import("react").JSX.Element;
7
+ declare function MessageInput({ onSend, disabled, autoFocus, initialContent }: MessageInputProps): import("react").JSX.Element;
7
8
  export default MessageInput;
@@ -2,6 +2,8 @@ interface MessageSenderProps {
2
2
  onSend: (content: string) => void;
3
3
  errorMessage: string;
4
4
  disabled: boolean;
5
+ label?: string;
6
+ defaultContent?: string;
5
7
  }
6
- declare function MessageSender({ onSend, errorMessage, disabled }: MessageSenderProps): import("react").JSX.Element;
8
+ declare function MessageSender({ onSend, errorMessage, disabled, label, defaultContent }: MessageSenderProps): import("react").JSX.Element;
7
9
  export default MessageSender;