@rocket.chat/fuselage 0.44.1 → 0.45.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.
- package/CHANGELOG.md +18 -0
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts +10 -0
- package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts.map +1 -0
- package/dist/components/Message/{MessageToolbox/MessageToolboxItem.d.ts → MessageToolbar/MessageToolbarItem.d.ts} +2 -2
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -0
- package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts +6 -0
- package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts.map +1 -0
- package/dist/components/Message/{MessageToolbox → MessageToolbar}/index.d.ts +25 -10
- package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -0
- package/dist/components/Message/index.d.ts +4 -4
- package/dist/fuselage.css +2 -2
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +67 -36
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +1 -1
- package/dist/components/Message/MessageToolbox/MessageToolbox.d.ts +0 -6
- package/dist/components/Message/MessageToolbox/MessageToolbox.d.ts.map +0 -1
- package/dist/components/Message/MessageToolbox/MessageToolboxItem.d.ts.map +0 -1
- package/dist/components/Message/MessageToolbox/MessageToolboxWrapper.d.ts +0 -6
- package/dist/components/Message/MessageToolbox/MessageToolboxWrapper.d.ts.map +0 -1
- package/dist/components/Message/MessageToolbox/index.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1277](https://github.com/RocketChat/fuselage/pull/1277) [`775236cb4`](https://github.com/RocketChat/fuselage/commit/775236cb4f391194183a96df48ea241b1429dab6) Thanks [@dougfabris](https://github.com/dougfabris)! - feat(fuselage): Add forwardRef in MessageToolbar
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#1275](https://github.com/RocketChat/fuselage/pull/1275) [`7451ecae5`](https://github.com/RocketChat/fuselage/commit/7451ecae56d9f4a73f00ca4b212e33260cf7a81b) Thanks [@juliajforesti](https://github.com/juliajforesti)! - fix(fuselage): change `card-horizontal` row gap
|
|
12
|
+
|
|
13
|
+
- [#1270](https://github.com/RocketChat/fuselage/pull/1270) [`3469b7798`](https://github.com/RocketChat/fuselage/commit/3469b7798242b1925ac243cdf3268d4d7d7c3597) Thanks [@juliajforesti](https://github.com/juliajforesti)! - feat(fuselage): normalize links
|
|
14
|
+
|
|
15
|
+
## 0.44.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1273](https://github.com/RocketChat/fuselage/pull/1273) [`48363f168`](https://github.com/RocketChat/fuselage/commit/48363f168a67ec5fa2c3999a3a53e55d0cd84078) Thanks [@dougfabris](https://github.com/dougfabris)! - fix(fuselage): Add flexGrow for stretch variation
|
|
20
|
+
|
|
3
21
|
## 0.44.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageGenericPreviewTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7E,KAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,eAAO,MAAM,0BAA0B,8BAGpC,+BAA+B,
|
|
1
|
+
{"version":3,"file":"MessageGenericPreviewTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7E,KAAK,+BAA+B,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,eAAO,MAAM,0BAA0B,8BAGpC,+BAA+B,gBAY/B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const MessageToolbar: React.ForwardRefExoticComponent<Pick<{
|
|
3
|
+
align?: "start" | "end" | "center" | undefined;
|
|
4
|
+
stretch?: boolean | undefined;
|
|
5
|
+
wrap?: boolean | undefined;
|
|
6
|
+
vertical?: boolean | undefined;
|
|
7
|
+
small?: boolean | undefined;
|
|
8
|
+
large?: boolean | undefined;
|
|
9
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "small" | "wrap" | "large" | "key" | "vertical" | "align" | "stretch" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
//# sourceMappingURL=MessageToolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,cAAc;;;;;;;0OASzB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const MessageToolbarItem: React.ForwardRefExoticComponent<Pick<Pick<{
|
|
3
3
|
icon: "sort" | "bold" | "link" | "strike" | "download" | "list" | "clip" | "italic" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "stop" | "key" | "copy" | React.ReactElement<any, string | React.JSXElementConstructor<any>> | "address-book" | "airplane" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-forward" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-stack-up" | "arrow-up" | "arrow-up-box" | "at" | "attachment-file" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "burger-menu" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-double-down" | "chevron-double-up" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "circle-half" | "circle-quarter" | "circle-three-quarters" | "clipboard" | "clock" | "cloud-arrow-down" | "cloud-arrow-up" | "cloud-plus" | "code-block" | "cog" | "compass" | "condensed-view" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "dashboard" | "desktop" | "desktop-text" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "equal" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "flask" | "folder" | "formula" | "globe" | "globe-cross" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "info" | "joystick" | "kebab" | "keyboard" | "lamp-bulb" | "language" | "leaf" | "lightning" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "mobile-check" | "mobile-exclamation" | "moon" | "musical-note" | "new-window" | "notebook-hashtag" | "notebook-hashtag-crossed" | "pause" | "pause-shape-filled" | "pause-unfilled" | "pencil" | "pencil-box" | "percentage" | "person-arms-spread" | "phone" | "phone-disabled" | "phone-in" | "phone-issue" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "play-shape-filled" | "play-unfilled" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "rocket" | "send" | "send-filled" | "sheet" | "shield" | "shield-blank" | "shield-check" | "signal" | "smart" | "sms" | "sort-az" | "spanner" | "squares" | "stack" | "star" | "star-filled" | "stop-unfilled" | "stopwatch" | "store" | "success-circle" | "sun" | "tag" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "user-lock" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "contact" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "katex" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "palette" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "rocketchat" | "twitter";
|
|
4
4
|
primary?: boolean | undefined;
|
|
5
5
|
secondary?: boolean | undefined;
|
|
@@ -33,4 +33,4 @@ export declare const MessageToolboxItem: React.ForwardRefExoticComponent<Pick<Pi
|
|
|
33
33
|
tiny?: boolean | undefined;
|
|
34
34
|
mini?: boolean | undefined;
|
|
35
35
|
}> & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=MessageToolbarItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAK7B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const MessageToolbarWrapper: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
visible?: boolean | undefined;
|
|
5
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
//# sourceMappingURL=MessageToolbarWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageToolbarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AACjD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,eAAO,MAAM,qBAAqB;;wCAiBhC,CAAC"}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Menu } from '../../Menu';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
declare const _default: (
|
|
3
|
+
import { MessageToolbar } from './MessageToolbar';
|
|
4
|
+
import { MessageToolbarItem } from './MessageToolbarItem';
|
|
5
|
+
import { MessageToolbarWrapper } from './MessageToolbarWrapper';
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<{
|
|
7
7
|
align?: "start" | "end" | "center" | undefined;
|
|
8
8
|
stretch?: boolean | undefined;
|
|
9
9
|
wrap?: boolean | undefined;
|
|
10
|
-
vertical?: boolean | undefined;
|
|
10
|
+
vertical?: boolean | undefined; /**
|
|
11
|
+
* @deprecated prefer using named imports
|
|
12
|
+
* */
|
|
11
13
|
small?: boolean | undefined;
|
|
12
14
|
large?: boolean | undefined;
|
|
13
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement
|
|
15
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "small" | "wrap" | "large" | "key" | "vertical" | "align" | "stretch" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated prefer using named imports
|
|
18
|
+
* */
|
|
14
19
|
Item: import("react").ForwardRefExoticComponent<Pick<Pick<{
|
|
15
20
|
icon: "sort" | "bold" | "link" | "strike" | "download" | "list" | "clip" | "italic" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "stop" | "key" | "copy" | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | "address-book" | "airplane" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-forward" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-stack-up" | "arrow-up" | "arrow-up-box" | "at" | "attachment-file" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "burger-menu" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-double-down" | "chevron-double-up" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "circle-half" | "circle-quarter" | "circle-three-quarters" | "clipboard" | "clock" | "cloud-arrow-down" | "cloud-arrow-up" | "cloud-plus" | "code-block" | "cog" | "compass" | "condensed-view" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "dashboard" | "desktop" | "desktop-text" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "equal" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "flask" | "folder" | "formula" | "globe" | "globe-cross" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "info" | "joystick" | "kebab" | "keyboard" | "lamp-bulb" | "language" | "leaf" | "lightning" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "mobile-check" | "mobile-exclamation" | "moon" | "musical-note" | "new-window" | "notebook-hashtag" | "notebook-hashtag-crossed" | "pause" | "pause-shape-filled" | "pause-unfilled" | "pencil" | "pencil-box" | "percentage" | "person-arms-spread" | "phone" | "phone-disabled" | "phone-in" | "phone-issue" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "play-shape-filled" | "play-unfilled" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "rocket" | "send" | "send-filled" | "sheet" | "shield" | "shield-blank" | "shield-check" | "signal" | "smart" | "sms" | "sort-az" | "spanner" | "squares" | "stack" | "star" | "star-filled" | "stop-unfilled" | "stopwatch" | "store" | "success-circle" | "sun" | "tag" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "user-lock" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "contact" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "katex" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "palette" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "rocketchat" | "twitter";
|
|
16
21
|
primary?: boolean | undefined;
|
|
17
|
-
secondary?: boolean | undefined;
|
|
22
|
+
secondary?: boolean | undefined; /**
|
|
23
|
+
* @deprecated prefer using named imports
|
|
24
|
+
* */
|
|
18
25
|
info?: boolean | undefined;
|
|
19
26
|
danger?: boolean | undefined;
|
|
20
27
|
warning?: boolean | undefined;
|
|
@@ -45,13 +52,21 @@ declare const _default: ((props: {
|
|
|
45
52
|
tiny?: boolean | undefined;
|
|
46
53
|
mini?: boolean | undefined;
|
|
47
54
|
}> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
48
|
-
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated prefer using named imports
|
|
57
|
+
* */
|
|
58
|
+
Wrapper: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
49
59
|
visible?: boolean | undefined;
|
|
50
60
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated prefer using named imports
|
|
63
|
+
* */
|
|
51
64
|
Menu: ({ tiny, mini, small, options, optionWidth, placement, renderItem, maxHeight, icon, ...props }: Omit<Pick<{
|
|
52
65
|
icon: "sort" | "bold" | "link" | "strike" | "download" | "list" | "clip" | "italic" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "stop" | "key" | "copy" | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | "address-book" | "airplane" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-forward" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-stack-up" | "arrow-up" | "arrow-up-box" | "at" | "attachment-file" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "burger-menu" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-double-down" | "chevron-double-up" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "circle-half" | "circle-quarter" | "circle-three-quarters" | "clipboard" | "clock" | "cloud-arrow-down" | "cloud-arrow-up" | "cloud-plus" | "code-block" | "cog" | "compass" | "condensed-view" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "dashboard" | "desktop" | "desktop-text" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "equal" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "flask" | "folder" | "formula" | "globe" | "globe-cross" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "info" | "joystick" | "kebab" | "keyboard" | "lamp-bulb" | "language" | "leaf" | "lightning" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "mobile-check" | "mobile-exclamation" | "moon" | "musical-note" | "new-window" | "notebook-hashtag" | "notebook-hashtag-crossed" | "pause" | "pause-shape-filled" | "pause-unfilled" | "pencil" | "pencil-box" | "percentage" | "person-arms-spread" | "phone" | "phone-disabled" | "phone-in" | "phone-issue" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "play-shape-filled" | "play-unfilled" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "rocket" | "send" | "send-filled" | "sheet" | "shield" | "shield-blank" | "shield-check" | "signal" | "smart" | "sms" | "sort-az" | "spanner" | "squares" | "stack" | "star" | "star-filled" | "stop-unfilled" | "stopwatch" | "store" | "success-circle" | "sun" | "tag" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "user-lock" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "contact" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "katex" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "palette" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "rocketchat" | "twitter";
|
|
53
66
|
primary?: boolean | undefined;
|
|
54
|
-
secondary?: boolean | undefined;
|
|
67
|
+
secondary?: boolean | undefined; /**
|
|
68
|
+
* @deprecated prefer using named imports
|
|
69
|
+
* */
|
|
55
70
|
info?: boolean | undefined;
|
|
56
71
|
danger?: boolean | undefined;
|
|
57
72
|
warning?: boolean | undefined;
|
|
@@ -92,5 +107,5 @@ declare const _default: ((props: {
|
|
|
92
107
|
}) => JSX.Element;
|
|
93
108
|
};
|
|
94
109
|
export default _default;
|
|
95
|
-
export {
|
|
110
|
+
export { MessageToolbar, MessageToolbarItem, MessageToolbarWrapper, Menu };
|
|
96
111
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;oCAO9D;;SAEK;;;;IANL;;SAEK;;;;yCAML;;aAEK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IANL;;SAEK;;;;IAEL;;SAEK;;;;yCAFL;;aAEK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAXP,wBAaG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ export * from './MessageStatusIndicator';
|
|
|
6
6
|
export * from './MessageSystem';
|
|
7
7
|
export * from './MessageMetrics';
|
|
8
8
|
export * from './MessageReactions';
|
|
9
|
-
export * from './
|
|
9
|
+
export * from './MessageToolbar';
|
|
10
10
|
export * from './ThreadMessage';
|
|
11
11
|
export * from './MessageBlock';
|
|
12
12
|
export * from './MessageBody';
|
|
@@ -76,14 +76,14 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
|
|
|
76
76
|
name: "bell" | "bell-off";
|
|
77
77
|
}) => JSX.Element;
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
Toolbar: import("react").ForwardRefExoticComponent<Pick<{
|
|
80
80
|
align?: "start" | "end" | "center" | undefined;
|
|
81
81
|
stretch?: boolean | undefined;
|
|
82
82
|
wrap?: boolean | undefined;
|
|
83
83
|
vertical?: boolean | undefined;
|
|
84
84
|
small?: boolean | undefined;
|
|
85
85
|
large?: boolean | undefined;
|
|
86
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement
|
|
86
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "small" | "wrap" | "large" | "key" | "vertical" | "align" | "stretch" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
87
87
|
Item: import("react").ForwardRefExoticComponent<Pick<Pick<{
|
|
88
88
|
icon: "sort" | "bold" | "link" | "strike" | "download" | "list" | "clip" | "italic" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "stop" | "key" | "copy" | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | "address-book" | "airplane" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-forward" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-stack-up" | "arrow-up" | "arrow-up-box" | "at" | "attachment-file" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "burger-menu" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-double-down" | "chevron-double-up" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "circle-half" | "circle-quarter" | "circle-three-quarters" | "clipboard" | "clock" | "cloud-arrow-down" | "cloud-arrow-up" | "cloud-plus" | "code-block" | "cog" | "compass" | "condensed-view" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "dashboard" | "desktop" | "desktop-text" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "equal" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "flask" | "folder" | "formula" | "globe" | "globe-cross" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "info" | "joystick" | "kebab" | "keyboard" | "lamp-bulb" | "language" | "leaf" | "lightning" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "mobile-check" | "mobile-exclamation" | "moon" | "musical-note" | "new-window" | "notebook-hashtag" | "notebook-hashtag-crossed" | "pause" | "pause-shape-filled" | "pause-unfilled" | "pencil" | "pencil-box" | "percentage" | "person-arms-spread" | "phone" | "phone-disabled" | "phone-in" | "phone-issue" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "play-shape-filled" | "play-unfilled" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "rocket" | "send" | "send-filled" | "sheet" | "shield" | "shield-blank" | "shield-check" | "signal" | "smart" | "sms" | "sort-az" | "spanner" | "squares" | "stack" | "star" | "star-filled" | "stop-unfilled" | "stopwatch" | "store" | "success-circle" | "sun" | "tag" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "user-lock" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "contact" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "katex" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "palette" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "rocketchat" | "twitter";
|
|
89
89
|
primary?: boolean | undefined;
|
|
@@ -118,7 +118,7 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
|
|
|
118
118
|
tiny?: boolean | undefined;
|
|
119
119
|
mini?: boolean | undefined;
|
|
120
120
|
}> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
121
|
-
Wrapper: import("react").ForwardRefExoticComponent<import("react").
|
|
121
|
+
Wrapper: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
|
|
122
122
|
visible?: boolean | undefined;
|
|
123
123
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
124
124
|
Menu: ({ tiny, mini, small, options, optionWidth, placement, renderItem, maxHeight, icon, ...props }: Omit<Pick<{
|