raft-ui 0.0.11 → 0.0.13
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/CHANGELOG.md +4 -39
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +17 -6
- package/dist/wip.d.mts +619 -1
- package/dist/wip.mjs +763 -2
- package/package.json +1 -1
package/dist/wip.d.mts
CHANGED
|
@@ -814,4 +814,622 @@ declare function DescriptionAction({
|
|
|
814
814
|
...props
|
|
815
815
|
}: DescriptionActionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
816
816
|
//#endregion
|
|
817
|
-
|
|
817
|
+
//#region src/components/message-item/recipe.d.ts
|
|
818
|
+
type MessageItemRowState = "active" | "search-match";
|
|
819
|
+
type MessageItemBadgeTone = "default" | "cyan";
|
|
820
|
+
declare const messageItem: import("tailwind-variants/lite").TVReturnType<{
|
|
821
|
+
rowState: {
|
|
822
|
+
active: {
|
|
823
|
+
root: string;
|
|
824
|
+
};
|
|
825
|
+
"search-match": {
|
|
826
|
+
root: string;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
badgeTone: {
|
|
830
|
+
default: {
|
|
831
|
+
badge: string;
|
|
832
|
+
};
|
|
833
|
+
cyan: {
|
|
834
|
+
badge: string;
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
compact: {
|
|
838
|
+
true: {
|
|
839
|
+
root: string;
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
toolbarVisible: {
|
|
843
|
+
true: {
|
|
844
|
+
toolbar: string;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
}, {
|
|
848
|
+
root: string[];
|
|
849
|
+
gutter: string[];
|
|
850
|
+
avatarSlot: string[];
|
|
851
|
+
selectMark: string[];
|
|
852
|
+
continuationTime: string[];
|
|
853
|
+
content: string[];
|
|
854
|
+
header: string[];
|
|
855
|
+
sender: string[];
|
|
856
|
+
senderState: string[];
|
|
857
|
+
meta: string[];
|
|
858
|
+
time: string[];
|
|
859
|
+
inlineStatus: string[];
|
|
860
|
+
body: string[];
|
|
861
|
+
embedded: string[];
|
|
862
|
+
notice: string[];
|
|
863
|
+
attachments: string[];
|
|
864
|
+
footer: string[];
|
|
865
|
+
toolbar: string[];
|
|
866
|
+
toolbarButton: string[];
|
|
867
|
+
savedIndicator: string[];
|
|
868
|
+
systemRoot: string[];
|
|
869
|
+
systemTime: string[];
|
|
870
|
+
systemContent: string[];
|
|
871
|
+
imageGallery: string[];
|
|
872
|
+
imageGalleryRow: string[];
|
|
873
|
+
imageGalleryItem: string[];
|
|
874
|
+
imageGalleryMedia: string[];
|
|
875
|
+
imageGalleryOverlay: string[];
|
|
876
|
+
imageGalleryAction: string[];
|
|
877
|
+
videoPreview: string[];
|
|
878
|
+
videoPreviewFrame: string[];
|
|
879
|
+
videoPreviewMedia: string[];
|
|
880
|
+
videoPreviewFallback: string[];
|
|
881
|
+
videoPreviewAction: string[];
|
|
882
|
+
attachmentCard: string[];
|
|
883
|
+
attachmentIcon: string[];
|
|
884
|
+
attachmentBody: string[];
|
|
885
|
+
attachmentTitle: string[];
|
|
886
|
+
attachmentMeta: string[];
|
|
887
|
+
attachmentAction: string[];
|
|
888
|
+
badge: string[];
|
|
889
|
+
reactionChip: string[];
|
|
890
|
+
reactionGlyph: string[];
|
|
891
|
+
reactionCount: string[];
|
|
892
|
+
reactionQuickRow: string[];
|
|
893
|
+
reactionQuickButton: string[];
|
|
894
|
+
reactionPicker: string[];
|
|
895
|
+
reactionPopover: string[];
|
|
896
|
+
reactionPopoverNames: string[];
|
|
897
|
+
reactionPopoverName: string[];
|
|
898
|
+
reactionPopoverNameText: string[];
|
|
899
|
+
reactionPopoverSeparator: string[];
|
|
900
|
+
}, undefined, {
|
|
901
|
+
rowState: {
|
|
902
|
+
active: {
|
|
903
|
+
root: string;
|
|
904
|
+
};
|
|
905
|
+
"search-match": {
|
|
906
|
+
root: string;
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
badgeTone: {
|
|
910
|
+
default: {
|
|
911
|
+
badge: string;
|
|
912
|
+
};
|
|
913
|
+
cyan: {
|
|
914
|
+
badge: string;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
compact: {
|
|
918
|
+
true: {
|
|
919
|
+
root: string;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
toolbarVisible: {
|
|
923
|
+
true: {
|
|
924
|
+
toolbar: string;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
}, {
|
|
928
|
+
root: string[];
|
|
929
|
+
gutter: string[];
|
|
930
|
+
avatarSlot: string[];
|
|
931
|
+
selectMark: string[];
|
|
932
|
+
continuationTime: string[];
|
|
933
|
+
content: string[];
|
|
934
|
+
header: string[];
|
|
935
|
+
sender: string[];
|
|
936
|
+
senderState: string[];
|
|
937
|
+
meta: string[];
|
|
938
|
+
time: string[];
|
|
939
|
+
inlineStatus: string[];
|
|
940
|
+
body: string[];
|
|
941
|
+
embedded: string[];
|
|
942
|
+
notice: string[];
|
|
943
|
+
attachments: string[];
|
|
944
|
+
footer: string[];
|
|
945
|
+
toolbar: string[];
|
|
946
|
+
toolbarButton: string[];
|
|
947
|
+
savedIndicator: string[];
|
|
948
|
+
systemRoot: string[];
|
|
949
|
+
systemTime: string[];
|
|
950
|
+
systemContent: string[];
|
|
951
|
+
imageGallery: string[];
|
|
952
|
+
imageGalleryRow: string[];
|
|
953
|
+
imageGalleryItem: string[];
|
|
954
|
+
imageGalleryMedia: string[];
|
|
955
|
+
imageGalleryOverlay: string[];
|
|
956
|
+
imageGalleryAction: string[];
|
|
957
|
+
videoPreview: string[];
|
|
958
|
+
videoPreviewFrame: string[];
|
|
959
|
+
videoPreviewMedia: string[];
|
|
960
|
+
videoPreviewFallback: string[];
|
|
961
|
+
videoPreviewAction: string[];
|
|
962
|
+
attachmentCard: string[];
|
|
963
|
+
attachmentIcon: string[];
|
|
964
|
+
attachmentBody: string[];
|
|
965
|
+
attachmentTitle: string[];
|
|
966
|
+
attachmentMeta: string[];
|
|
967
|
+
attachmentAction: string[];
|
|
968
|
+
badge: string[];
|
|
969
|
+
reactionChip: string[];
|
|
970
|
+
reactionGlyph: string[];
|
|
971
|
+
reactionCount: string[];
|
|
972
|
+
reactionQuickRow: string[];
|
|
973
|
+
reactionQuickButton: string[];
|
|
974
|
+
reactionPicker: string[];
|
|
975
|
+
reactionPopover: string[];
|
|
976
|
+
reactionPopoverNames: string[];
|
|
977
|
+
reactionPopoverName: string[];
|
|
978
|
+
reactionPopoverNameText: string[];
|
|
979
|
+
reactionPopoverSeparator: string[];
|
|
980
|
+
}, import("tailwind-variants/lite").TVReturnType<{
|
|
981
|
+
rowState: {
|
|
982
|
+
active: {
|
|
983
|
+
root: string;
|
|
984
|
+
};
|
|
985
|
+
"search-match": {
|
|
986
|
+
root: string;
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
badgeTone: {
|
|
990
|
+
default: {
|
|
991
|
+
badge: string;
|
|
992
|
+
};
|
|
993
|
+
cyan: {
|
|
994
|
+
badge: string;
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
compact: {
|
|
998
|
+
true: {
|
|
999
|
+
root: string;
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
toolbarVisible: {
|
|
1003
|
+
true: {
|
|
1004
|
+
toolbar: string;
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
}, {
|
|
1008
|
+
root: string[];
|
|
1009
|
+
gutter: string[];
|
|
1010
|
+
avatarSlot: string[];
|
|
1011
|
+
selectMark: string[];
|
|
1012
|
+
continuationTime: string[];
|
|
1013
|
+
content: string[];
|
|
1014
|
+
header: string[];
|
|
1015
|
+
sender: string[];
|
|
1016
|
+
senderState: string[];
|
|
1017
|
+
meta: string[];
|
|
1018
|
+
time: string[];
|
|
1019
|
+
inlineStatus: string[];
|
|
1020
|
+
body: string[];
|
|
1021
|
+
embedded: string[];
|
|
1022
|
+
notice: string[];
|
|
1023
|
+
attachments: string[];
|
|
1024
|
+
footer: string[];
|
|
1025
|
+
toolbar: string[];
|
|
1026
|
+
toolbarButton: string[];
|
|
1027
|
+
savedIndicator: string[];
|
|
1028
|
+
systemRoot: string[];
|
|
1029
|
+
systemTime: string[];
|
|
1030
|
+
systemContent: string[];
|
|
1031
|
+
imageGallery: string[];
|
|
1032
|
+
imageGalleryRow: string[];
|
|
1033
|
+
imageGalleryItem: string[];
|
|
1034
|
+
imageGalleryMedia: string[];
|
|
1035
|
+
imageGalleryOverlay: string[];
|
|
1036
|
+
imageGalleryAction: string[];
|
|
1037
|
+
videoPreview: string[];
|
|
1038
|
+
videoPreviewFrame: string[];
|
|
1039
|
+
videoPreviewMedia: string[];
|
|
1040
|
+
videoPreviewFallback: string[];
|
|
1041
|
+
videoPreviewAction: string[];
|
|
1042
|
+
attachmentCard: string[];
|
|
1043
|
+
attachmentIcon: string[];
|
|
1044
|
+
attachmentBody: string[];
|
|
1045
|
+
attachmentTitle: string[];
|
|
1046
|
+
attachmentMeta: string[];
|
|
1047
|
+
attachmentAction: string[];
|
|
1048
|
+
badge: string[];
|
|
1049
|
+
reactionChip: string[];
|
|
1050
|
+
reactionGlyph: string[];
|
|
1051
|
+
reactionCount: string[];
|
|
1052
|
+
reactionQuickRow: string[];
|
|
1053
|
+
reactionQuickButton: string[];
|
|
1054
|
+
reactionPicker: string[];
|
|
1055
|
+
reactionPopover: string[];
|
|
1056
|
+
reactionPopoverNames: string[];
|
|
1057
|
+
reactionPopoverName: string[];
|
|
1058
|
+
reactionPopoverNameText: string[];
|
|
1059
|
+
reactionPopoverSeparator: string[];
|
|
1060
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
1061
|
+
type MessageItemVariantProps = VariantProps<typeof messageItem>;
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region src/components/message-item/root-parts.d.ts
|
|
1064
|
+
type MessageItemProps = useRender.ComponentProps<"div"> & Pick<MessageItemVariantProps, "compact"> & {
|
|
1065
|
+
rowState?: MessageItemRowState;
|
|
1066
|
+
};
|
|
1067
|
+
declare function MessageItem({
|
|
1068
|
+
className,
|
|
1069
|
+
compact,
|
|
1070
|
+
render,
|
|
1071
|
+
rowState,
|
|
1072
|
+
...props
|
|
1073
|
+
}: MessageItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1074
|
+
type MessageItemGutterProps = useRender.ComponentProps<"div">;
|
|
1075
|
+
declare function MessageItemGutter({
|
|
1076
|
+
className,
|
|
1077
|
+
render,
|
|
1078
|
+
...props
|
|
1079
|
+
}: MessageItemGutterProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1080
|
+
type MessageItemAvatarSlotProps = useRender.ComponentProps<"div">;
|
|
1081
|
+
declare function MessageItemAvatarSlot({
|
|
1082
|
+
className,
|
|
1083
|
+
render,
|
|
1084
|
+
...props
|
|
1085
|
+
}: MessageItemAvatarSlotProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1086
|
+
type MessageItemSelectMarkProps = Omit<useRender.ComponentProps<"span">, "children"> & {
|
|
1087
|
+
checked?: boolean;
|
|
1088
|
+
};
|
|
1089
|
+
declare function MessageItemSelectMark({
|
|
1090
|
+
checked,
|
|
1091
|
+
className,
|
|
1092
|
+
render,
|
|
1093
|
+
...props
|
|
1094
|
+
}: MessageItemSelectMarkProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1095
|
+
type MessageItemContinuationTimeProps = useRender.ComponentProps<"span">;
|
|
1096
|
+
declare function MessageItemContinuationTime({
|
|
1097
|
+
className,
|
|
1098
|
+
render,
|
|
1099
|
+
...props
|
|
1100
|
+
}: MessageItemContinuationTimeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1101
|
+
type MessageItemContentProps = useRender.ComponentProps<"div">;
|
|
1102
|
+
declare function MessageItemContent({
|
|
1103
|
+
className,
|
|
1104
|
+
render,
|
|
1105
|
+
...props
|
|
1106
|
+
}: MessageItemContentProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1107
|
+
type MessageItemHeaderProps = useRender.ComponentProps<"div">;
|
|
1108
|
+
declare function MessageItemHeader({
|
|
1109
|
+
className,
|
|
1110
|
+
render,
|
|
1111
|
+
...props
|
|
1112
|
+
}: MessageItemHeaderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1113
|
+
type MessageItemSenderProps = useRender.ComponentProps<"span">;
|
|
1114
|
+
declare function MessageItemSender({
|
|
1115
|
+
className,
|
|
1116
|
+
render,
|
|
1117
|
+
...props
|
|
1118
|
+
}: MessageItemSenderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1119
|
+
type MessageItemSenderStateProps = useRender.ComponentProps<"span">;
|
|
1120
|
+
declare function MessageItemSenderState({
|
|
1121
|
+
className,
|
|
1122
|
+
render,
|
|
1123
|
+
...props
|
|
1124
|
+
}: MessageItemSenderStateProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1125
|
+
type MessageItemMetaProps = useRender.ComponentProps<"span">;
|
|
1126
|
+
declare function MessageItemMeta({
|
|
1127
|
+
className,
|
|
1128
|
+
render,
|
|
1129
|
+
...props
|
|
1130
|
+
}: MessageItemMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1131
|
+
type MessageItemTimeProps = useRender.ComponentProps<"span">;
|
|
1132
|
+
declare function MessageItemTime({
|
|
1133
|
+
className,
|
|
1134
|
+
render,
|
|
1135
|
+
...props
|
|
1136
|
+
}: MessageItemTimeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1137
|
+
type MessageItemInlineStatusProps = useRender.ComponentProps<"span">;
|
|
1138
|
+
declare function MessageItemInlineStatus({
|
|
1139
|
+
className,
|
|
1140
|
+
render,
|
|
1141
|
+
...props
|
|
1142
|
+
}: MessageItemInlineStatusProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1143
|
+
type MessageItemBodyProps = useRender.ComponentProps<"div">;
|
|
1144
|
+
declare function MessageItemBody({
|
|
1145
|
+
className,
|
|
1146
|
+
render,
|
|
1147
|
+
...props
|
|
1148
|
+
}: MessageItemBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1149
|
+
type MessageItemEmbeddedProps = useRender.ComponentProps<"div">;
|
|
1150
|
+
declare function MessageItemEmbedded({
|
|
1151
|
+
className,
|
|
1152
|
+
render,
|
|
1153
|
+
...props
|
|
1154
|
+
}: MessageItemEmbeddedProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1155
|
+
type MessageItemNoticeProps = useRender.ComponentProps<"div">;
|
|
1156
|
+
declare function MessageItemNotice({
|
|
1157
|
+
className,
|
|
1158
|
+
render,
|
|
1159
|
+
...props
|
|
1160
|
+
}: MessageItemNoticeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1161
|
+
type MessageItemAttachmentsProps = useRender.ComponentProps<"div">;
|
|
1162
|
+
declare function MessageItemAttachments({
|
|
1163
|
+
className,
|
|
1164
|
+
render,
|
|
1165
|
+
...props
|
|
1166
|
+
}: MessageItemAttachmentsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1167
|
+
type MessageItemFooterProps = useRender.ComponentProps<"div">;
|
|
1168
|
+
declare function MessageItemFooter({
|
|
1169
|
+
className,
|
|
1170
|
+
render,
|
|
1171
|
+
...props
|
|
1172
|
+
}: MessageItemFooterProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1173
|
+
type MessageItemBadgeProps = useRender.ComponentProps<"span"> & {
|
|
1174
|
+
tone?: MessageItemBadgeTone;
|
|
1175
|
+
};
|
|
1176
|
+
declare function MessageItemBadge({
|
|
1177
|
+
className,
|
|
1178
|
+
render,
|
|
1179
|
+
tone,
|
|
1180
|
+
...props
|
|
1181
|
+
}: MessageItemBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1182
|
+
type MessageItemToolbarProps = useRender.ComponentProps<"div"> & {
|
|
1183
|
+
visible?: boolean;
|
|
1184
|
+
};
|
|
1185
|
+
declare function MessageItemToolbar({
|
|
1186
|
+
className,
|
|
1187
|
+
render,
|
|
1188
|
+
visible,
|
|
1189
|
+
...props
|
|
1190
|
+
}: MessageItemToolbarProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1191
|
+
type MessageItemToolbarButtonProps = useRender.ComponentProps<"button"> & {
|
|
1192
|
+
active?: boolean;
|
|
1193
|
+
saved?: boolean;
|
|
1194
|
+
};
|
|
1195
|
+
declare function MessageItemToolbarButton({
|
|
1196
|
+
active,
|
|
1197
|
+
saved,
|
|
1198
|
+
className,
|
|
1199
|
+
render,
|
|
1200
|
+
...props
|
|
1201
|
+
}: MessageItemToolbarButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1202
|
+
type MessageItemSavedIndicatorProps = useRender.ComponentProps<"span">;
|
|
1203
|
+
declare function MessageItemSavedIndicator({
|
|
1204
|
+
className,
|
|
1205
|
+
render,
|
|
1206
|
+
...props
|
|
1207
|
+
}: MessageItemSavedIndicatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1208
|
+
type SystemMessageItemProps = useRender.ComponentProps<"div">;
|
|
1209
|
+
declare function SystemMessageItem({
|
|
1210
|
+
className,
|
|
1211
|
+
render,
|
|
1212
|
+
...props
|
|
1213
|
+
}: SystemMessageItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1214
|
+
type SystemMessageItemTimeProps = useRender.ComponentProps<"span">;
|
|
1215
|
+
declare function SystemMessageItemTime({
|
|
1216
|
+
className,
|
|
1217
|
+
render,
|
|
1218
|
+
...props
|
|
1219
|
+
}: SystemMessageItemTimeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1220
|
+
type SystemMessageItemContentProps = useRender.ComponentProps<"span">;
|
|
1221
|
+
declare function SystemMessageItemContent({
|
|
1222
|
+
className,
|
|
1223
|
+
render,
|
|
1224
|
+
...props
|
|
1225
|
+
}: SystemMessageItemContentProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1226
|
+
//#endregion
|
|
1227
|
+
//#region src/components/message-item/media-parts.d.ts
|
|
1228
|
+
type MessageImageGalleryProps = useRender.ComponentProps<"div">;
|
|
1229
|
+
declare function MessageImageGallery({
|
|
1230
|
+
className,
|
|
1231
|
+
render,
|
|
1232
|
+
...props
|
|
1233
|
+
}: MessageImageGalleryProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1234
|
+
type MessageImageGalleryRowProps = useRender.ComponentProps<"div">;
|
|
1235
|
+
declare function MessageImageGalleryRow({
|
|
1236
|
+
className,
|
|
1237
|
+
render,
|
|
1238
|
+
...props
|
|
1239
|
+
}: MessageImageGalleryRowProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1240
|
+
type MessageImageGalleryItemProps = useRender.ComponentProps<"div"> & {
|
|
1241
|
+
optimistic?: boolean;
|
|
1242
|
+
single?: boolean;
|
|
1243
|
+
};
|
|
1244
|
+
declare function MessageImageGalleryItem({
|
|
1245
|
+
optimistic,
|
|
1246
|
+
single,
|
|
1247
|
+
className,
|
|
1248
|
+
render,
|
|
1249
|
+
...props
|
|
1250
|
+
}: MessageImageGalleryItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1251
|
+
type MessageImageGalleryMediaProps = useRender.ComponentProps<"img"> & {
|
|
1252
|
+
fit?: "contain" | "cover";
|
|
1253
|
+
};
|
|
1254
|
+
declare function MessageImageGalleryMedia({
|
|
1255
|
+
fit,
|
|
1256
|
+
className,
|
|
1257
|
+
render,
|
|
1258
|
+
...props
|
|
1259
|
+
}: MessageImageGalleryMediaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1260
|
+
type MessageImageGalleryOverlayProps = useRender.ComponentProps<"div">;
|
|
1261
|
+
declare function MessageImageGalleryOverlay({
|
|
1262
|
+
className,
|
|
1263
|
+
render,
|
|
1264
|
+
...props
|
|
1265
|
+
}: MessageImageGalleryOverlayProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1266
|
+
type MessageImageGalleryActionProps = useRender.ComponentProps<"button">;
|
|
1267
|
+
declare function MessageImageGalleryAction({
|
|
1268
|
+
className,
|
|
1269
|
+
render,
|
|
1270
|
+
...props
|
|
1271
|
+
}: MessageImageGalleryActionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1272
|
+
type MessageVideoPreviewProps = useRender.ComponentProps<"div"> & {
|
|
1273
|
+
optimistic?: boolean;
|
|
1274
|
+
};
|
|
1275
|
+
declare function MessageVideoPreview({
|
|
1276
|
+
optimistic,
|
|
1277
|
+
className,
|
|
1278
|
+
render,
|
|
1279
|
+
...props
|
|
1280
|
+
}: MessageVideoPreviewProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1281
|
+
type MessageVideoPreviewFrameProps = useRender.ComponentProps<"div">;
|
|
1282
|
+
declare function MessageVideoPreviewFrame({
|
|
1283
|
+
className,
|
|
1284
|
+
render,
|
|
1285
|
+
...props
|
|
1286
|
+
}: MessageVideoPreviewFrameProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1287
|
+
type MessageVideoPreviewMediaProps = useRender.ComponentProps<"video">;
|
|
1288
|
+
declare function MessageVideoPreviewMedia({
|
|
1289
|
+
className,
|
|
1290
|
+
render,
|
|
1291
|
+
...props
|
|
1292
|
+
}: MessageVideoPreviewMediaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1293
|
+
type MessageVideoPreviewFallbackProps = useRender.ComponentProps<"div"> & {
|
|
1294
|
+
interactive?: boolean;
|
|
1295
|
+
};
|
|
1296
|
+
declare function MessageVideoPreviewFallback({
|
|
1297
|
+
interactive,
|
|
1298
|
+
className,
|
|
1299
|
+
render,
|
|
1300
|
+
...props
|
|
1301
|
+
}: MessageVideoPreviewFallbackProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1302
|
+
type MessageVideoPreviewActionProps = useRender.ComponentProps<"button">;
|
|
1303
|
+
declare function MessageVideoPreviewAction({
|
|
1304
|
+
className,
|
|
1305
|
+
render,
|
|
1306
|
+
...props
|
|
1307
|
+
}: MessageVideoPreviewActionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1308
|
+
//#endregion
|
|
1309
|
+
//#region src/components/message-item/attachment-parts.d.ts
|
|
1310
|
+
type MessageAttachmentCardProps = useRender.ComponentProps<"button"> & {
|
|
1311
|
+
optimistic?: boolean;
|
|
1312
|
+
loading?: boolean;
|
|
1313
|
+
};
|
|
1314
|
+
declare function MessageAttachmentCard({
|
|
1315
|
+
optimistic,
|
|
1316
|
+
loading,
|
|
1317
|
+
className,
|
|
1318
|
+
render,
|
|
1319
|
+
...props
|
|
1320
|
+
}: MessageAttachmentCardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1321
|
+
type MessageAttachmentIconProps = useRender.ComponentProps<"span">;
|
|
1322
|
+
declare function MessageAttachmentIcon({
|
|
1323
|
+
className,
|
|
1324
|
+
render,
|
|
1325
|
+
...props
|
|
1326
|
+
}: MessageAttachmentIconProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1327
|
+
type MessageAttachmentBodyProps = useRender.ComponentProps<"span">;
|
|
1328
|
+
declare function MessageAttachmentBody({
|
|
1329
|
+
className,
|
|
1330
|
+
render,
|
|
1331
|
+
...props
|
|
1332
|
+
}: MessageAttachmentBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1333
|
+
type MessageAttachmentTitleProps = useRender.ComponentProps<"span">;
|
|
1334
|
+
declare function MessageAttachmentTitle({
|
|
1335
|
+
className,
|
|
1336
|
+
render,
|
|
1337
|
+
...props
|
|
1338
|
+
}: MessageAttachmentTitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1339
|
+
type MessageAttachmentMetaProps = useRender.ComponentProps<"span">;
|
|
1340
|
+
declare function MessageAttachmentMeta({
|
|
1341
|
+
className,
|
|
1342
|
+
render,
|
|
1343
|
+
...props
|
|
1344
|
+
}: MessageAttachmentMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1345
|
+
type MessageAttachmentActionProps = useRender.ComponentProps<"span">;
|
|
1346
|
+
declare function MessageAttachmentAction({
|
|
1347
|
+
className,
|
|
1348
|
+
render,
|
|
1349
|
+
...props
|
|
1350
|
+
}: MessageAttachmentActionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1351
|
+
//#endregion
|
|
1352
|
+
//#region src/components/message-item/reaction-parts.d.ts
|
|
1353
|
+
declare const MESSAGE_QUICK_REACTIONS: readonly ["👍", "❤️", "🎉", "👀", "🔥", "😂", "✅"];
|
|
1354
|
+
type MessageReactionChipProps = useRender.ComponentProps<"button"> & {
|
|
1355
|
+
reacted?: boolean;
|
|
1356
|
+
failed?: boolean;
|
|
1357
|
+
};
|
|
1358
|
+
declare function MessageReactionChip({
|
|
1359
|
+
reacted,
|
|
1360
|
+
failed,
|
|
1361
|
+
className,
|
|
1362
|
+
render,
|
|
1363
|
+
...props
|
|
1364
|
+
}: MessageReactionChipProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1365
|
+
type MessageReactionGlyphProps = useRender.ComponentProps<"span"> & {
|
|
1366
|
+
emoji?: string;
|
|
1367
|
+
size?: number;
|
|
1368
|
+
spritePath?: string;
|
|
1369
|
+
};
|
|
1370
|
+
declare function MessageReactionGlyph({
|
|
1371
|
+
children,
|
|
1372
|
+
className,
|
|
1373
|
+
emoji,
|
|
1374
|
+
render,
|
|
1375
|
+
size,
|
|
1376
|
+
spritePath,
|
|
1377
|
+
style,
|
|
1378
|
+
...props
|
|
1379
|
+
}: MessageReactionGlyphProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1380
|
+
type MessageReactionCountProps = useRender.ComponentProps<"span">;
|
|
1381
|
+
declare function MessageReactionCount({
|
|
1382
|
+
className,
|
|
1383
|
+
render,
|
|
1384
|
+
...props
|
|
1385
|
+
}: MessageReactionCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1386
|
+
type MessageReactionQuickRowProps = useRender.ComponentProps<"div">;
|
|
1387
|
+
declare function MessageReactionQuickRow({
|
|
1388
|
+
className,
|
|
1389
|
+
render,
|
|
1390
|
+
...props
|
|
1391
|
+
}: MessageReactionQuickRowProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1392
|
+
type MessageReactionQuickButtonProps = useRender.ComponentProps<"button">;
|
|
1393
|
+
declare function MessageReactionQuickButton({
|
|
1394
|
+
className,
|
|
1395
|
+
render,
|
|
1396
|
+
...props
|
|
1397
|
+
}: MessageReactionQuickButtonProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1398
|
+
type MessageReactionPickerProps = useRender.ComponentProps<"div">;
|
|
1399
|
+
declare function MessageReactionPicker({
|
|
1400
|
+
className,
|
|
1401
|
+
render,
|
|
1402
|
+
...props
|
|
1403
|
+
}: MessageReactionPickerProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1404
|
+
type MessageReactionPopoverProps = useRender.ComponentProps<"div">;
|
|
1405
|
+
declare function MessageReactionPopover({
|
|
1406
|
+
className,
|
|
1407
|
+
render,
|
|
1408
|
+
...props
|
|
1409
|
+
}: MessageReactionPopoverProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1410
|
+
type MessageReactionPopoverNamesProps = useRender.ComponentProps<"div">;
|
|
1411
|
+
declare function MessageReactionPopoverNames({
|
|
1412
|
+
className,
|
|
1413
|
+
render,
|
|
1414
|
+
...props
|
|
1415
|
+
}: MessageReactionPopoverNamesProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1416
|
+
type MessageReactionPopoverNameProps = useRender.ComponentProps<"span">;
|
|
1417
|
+
declare function MessageReactionPopoverName({
|
|
1418
|
+
className,
|
|
1419
|
+
render,
|
|
1420
|
+
...props
|
|
1421
|
+
}: MessageReactionPopoverNameProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1422
|
+
type MessageReactionPopoverNameTextProps = useRender.ComponentProps<"span">;
|
|
1423
|
+
declare function MessageReactionPopoverNameText({
|
|
1424
|
+
className,
|
|
1425
|
+
render,
|
|
1426
|
+
...props
|
|
1427
|
+
}: MessageReactionPopoverNameTextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1428
|
+
type MessageReactionPopoverSeparatorProps = useRender.ComponentProps<"span">;
|
|
1429
|
+
declare function MessageReactionPopoverSeparator({
|
|
1430
|
+
className,
|
|
1431
|
+
render,
|
|
1432
|
+
...props
|
|
1433
|
+
}: MessageReactionPopoverSeparatorProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
1434
|
+
//#endregion
|
|
1435
|
+
export { ConversationPreviewCard, ConversationPreviewCardAction, type ConversationPreviewCardActionProps, ConversationPreviewCardAuthor, ConversationPreviewCardAuthorName, type ConversationPreviewCardAuthorNameProps, type ConversationPreviewCardAuthorProps, ConversationPreviewCardAuthorSubtitle, type ConversationPreviewCardAuthorSubtitleProps, ConversationPreviewCardChannel, type ConversationPreviewCardChannelProps, ConversationPreviewCardContent, type ConversationPreviewCardContentProps, ConversationPreviewCardFooter, type ConversationPreviewCardFooterProps, ConversationPreviewCardMeta, type ConversationPreviewCardMetaProps, ConversationPreviewCardPreview, ConversationPreviewCardPreviewAuthor, type ConversationPreviewCardPreviewAuthorProps, ConversationPreviewCardPreviewLeading, type ConversationPreviewCardPreviewLeadingProps, type ConversationPreviewCardPreviewProps, type ConversationPreviewCardProps, ConversationPreviewCardSecondaryPreview, type ConversationPreviewCardSecondaryPreviewProps, ConversationPreviewCardTimestamp, type ConversationPreviewCardTimestampProps, DescriptionAction, type DescriptionActionProps, DescriptionDetails, type DescriptionDetailsProps, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DescriptionTerm, type DescriptionTermProps, ListItem, ListItemActionGroup, type ListItemActionGroupProps, ListItemBody, type ListItemBodyProps, ListItemDescription, type ListItemDescriptionProps, ListItemIcon, type ListItemIconProps, ListItemMeta, type ListItemMetaProps, type ListItemProps, ListItemRow, type ListItemRowProps, ListItemTitle, type ListItemTitleProps, MESSAGE_QUICK_REACTIONS, MediaListItem, MediaListItemActionGroup, type MediaListItemActionGroupProps, MediaListItemAside, type MediaListItemAsideProps, MediaListItemBody, type MediaListItemBodyProps, type MediaListItemProps, MediaListItemSubtitle, type MediaListItemSubtitleProps, MediaListItemText, type MediaListItemTextProps, MediaListItemTitle, type MediaListItemTitleProps, MediaListItemVisual, type MediaListItemVisualProps, MessageAttachmentAction, type MessageAttachmentActionProps, MessageAttachmentBody, type MessageAttachmentBodyProps, MessageAttachmentCard, type MessageAttachmentCardProps, MessageAttachmentIcon, type MessageAttachmentIconProps, MessageAttachmentMeta, type MessageAttachmentMetaProps, MessageAttachmentTitle, type MessageAttachmentTitleProps, MessageImageGallery, MessageImageGalleryAction, type MessageImageGalleryActionProps, MessageImageGalleryItem, type MessageImageGalleryItemProps, MessageImageGalleryMedia, type MessageImageGalleryMediaProps, MessageImageGalleryOverlay, type MessageImageGalleryOverlayProps, type MessageImageGalleryProps, MessageImageGalleryRow, type MessageImageGalleryRowProps, MessageItem, MessageItemAttachments, type MessageItemAttachmentsProps, MessageItemAvatarSlot, type MessageItemAvatarSlotProps, MessageItemBadge, type MessageItemBadgeProps, type MessageItemBadgeTone, MessageItemBody, type MessageItemBodyProps, MessageItemContent, type MessageItemContentProps, MessageItemContinuationTime, type MessageItemContinuationTimeProps, MessageItemEmbedded, type MessageItemEmbeddedProps, MessageItemFooter, type MessageItemFooterProps, MessageItemGutter, type MessageItemGutterProps, MessageItemHeader, type MessageItemHeaderProps, MessageItemInlineStatus, type MessageItemInlineStatusProps, MessageItemMeta, type MessageItemMetaProps, MessageItemNotice, type MessageItemNoticeProps, type MessageItemProps, type MessageItemRowState, MessageItemSavedIndicator, type MessageItemSavedIndicatorProps, MessageItemSelectMark, type MessageItemSelectMarkProps, MessageItemSender, type MessageItemSenderProps, MessageItemSenderState, type MessageItemSenderStateProps, MessageItemTime, type MessageItemTimeProps, MessageItemToolbar, MessageItemToolbarButton, type MessageItemToolbarButtonProps, type MessageItemToolbarProps, MessageReactionChip, type MessageReactionChipProps, MessageReactionCount, type MessageReactionCountProps, MessageReactionGlyph, type MessageReactionGlyphProps, MessageReactionPicker, type MessageReactionPickerProps, MessageReactionPopover, MessageReactionPopoverName, type MessageReactionPopoverNameProps, MessageReactionPopoverNameText, type MessageReactionPopoverNameTextProps, MessageReactionPopoverNames, type MessageReactionPopoverNamesProps, type MessageReactionPopoverProps, MessageReactionPopoverSeparator, type MessageReactionPopoverSeparatorProps, MessageReactionQuickButton, type MessageReactionQuickButtonProps, MessageReactionQuickRow, type MessageReactionQuickRowProps, MessageVideoPreview, MessageVideoPreviewAction, type MessageVideoPreviewActionProps, MessageVideoPreviewFallback, type MessageVideoPreviewFallbackProps, MessageVideoPreviewFrame, type MessageVideoPreviewFrameProps, MessageVideoPreviewMedia, type MessageVideoPreviewMediaProps, type MessageVideoPreviewProps, PanelHeader, PanelHeaderActions, type PanelHeaderActionsProps, PanelHeaderContent, type PanelHeaderContentProps, PanelHeaderIcon, type PanelHeaderIconProps, type PanelHeaderProps, PanelHeaderSubtitle, type PanelHeaderSubtitleProps, PanelHeaderSuffix, type PanelHeaderSuffixProps, PanelHeaderTitle, type PanelHeaderTitleProps, PanelHeaderTitleRow, type PanelHeaderTitleRowProps, PanelHeaderVisual, type PanelHeaderVisualProps, PreviewShell, type PreviewShellProps, QuotedMessageCard, QuotedMessageCardAttachments, type QuotedMessageCardAttachmentsProps, QuotedMessageCardAuthor, QuotedMessageCardAuthorName, type QuotedMessageCardAuthorNameProps, type QuotedMessageCardAuthorProps, QuotedMessageCardAuthorSubtitle, type QuotedMessageCardAuthorSubtitleProps, QuotedMessageCardBody, type QuotedMessageCardBodyProps, QuotedMessageCardChannel, type QuotedMessageCardChannelProps, QuotedMessageCardContent, type QuotedMessageCardContentProps, QuotedMessageCardContentWrap, type QuotedMessageCardContentWrapProps, QuotedMessageCardHeader, type QuotedMessageCardHeaderProps, QuotedMessageCardMeta, type QuotedMessageCardMetaProps, type QuotedMessageCardProps, QuotedMessageCardSeparator, type QuotedMessageCardSeparatorProps, QuotedMessageCardTag, type QuotedMessageCardTagProps, QuotedMessageCardThread, type QuotedMessageCardThreadProps, QuotedMessageCardTimestamp, type QuotedMessageCardTimestampProps, QuotedMessageCardUnavailable, type QuotedMessageCardUnavailableProps, SectionHeader, SectionHeaderActions, type SectionHeaderActionsProps, SectionHeaderContent, type SectionHeaderContentProps, SectionHeaderCount, type SectionHeaderCountProps, SectionHeaderIcon, type SectionHeaderIconProps, type SectionHeaderProps, SectionHeaderTitle, type SectionHeaderTitleProps, SectionLabel, type SectionLabelProps, SystemMessageItem, SystemMessageItemContent, type SystemMessageItemContentProps, type SystemMessageItemProps, SystemMessageItemTime, type SystemMessageItemTimeProps, ToggleGroup, ToggleGroupCount, type ToggleGroupCountProps, ToggleGroupItem, type ToggleGroupItemProps, ToggleGroupLabel, type ToggleGroupLabelProps, type ToggleGroupProps };
|