@rocket.chat/fuselage 0.6.3-dev.438 → 0.6.3-dev.439

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.
@@ -1,6 +1,18 @@
1
- import React, { ComponentProps } from 'react';
2
- import Option from './Option';
3
- declare type CheckOptionProps = ComponentProps<typeof Option>;
4
- export declare const CheckOption: React.MemoExoticComponent<({ selected, children: label, ...options }: CheckOptionProps) => JSX.Element>;
5
- export {};
1
+ import React from 'react';
2
+ export declare const CheckOption: React.NamedExoticComponent<{
3
+ is?: React.ElementType<any> | undefined;
4
+ id?: string | undefined;
5
+ children?: React.ReactNode;
6
+ label?: React.ReactNode;
7
+ focus?: boolean | undefined;
8
+ selected?: boolean | undefined;
9
+ className?: string | (<T extends readonly unknown[]>(...args: T) => string) | (string | false | 0 | (<T extends readonly unknown[]>(...args: T) => string) | null | undefined)[] | undefined;
10
+ ref?: React.Ref<Element> | undefined;
11
+ icon?: "info" | "warning" | "link" | "download" | "list" | "clip" | "italic" | "bold" | "key" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "user" | "bell" | "bell-off" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "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" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "copy" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "stopwatch" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "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" | "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" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "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" | "twitter" | undefined;
12
+ avatar?: React.ReactNode;
13
+ title?: string | undefined;
14
+ value?: string | undefined;
15
+ variant?: "primary" | "success" | "warning" | "danger" | undefined;
16
+ onClick?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
17
+ }>;
6
18
  //# sourceMappingURL=CheckOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckOption.d.ts","sourceRoot":"","sources":["../../../src/components/Options/CheckOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAQ,MAAM,OAAO,CAAC;AAGpD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,aAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW,wEACsB,gBAAgB,iBAK7D,CAAC"}
1
+ {"version":3,"file":"CheckOption.d.ts","sourceRoot":"","sources":["../../../src/components/Options/CheckOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAOpD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;EAUtB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ declare type OptionHeaderProps = {
3
+ children: ReactNode;
4
+ };
5
+ declare const OptionHeader: ({ children }: OptionHeaderProps) => JSX.Element;
6
+ export default OptionHeader;
7
+ //# sourceMappingURL=OptionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionHeader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,aAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,iBAAkB,iBAAiB,gBAEpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { Icon } from '../../Icon';
3
- declare const OptionIcon: ({ name, }: {
3
+ declare type OptionIconProps = {
4
4
  name: ComponentProps<typeof Icon>['name'];
5
- }) => JSX.Element;
5
+ };
6
+ declare const OptionIcon: ({ name }: OptionIconProps) => JSX.Element;
6
7
  export default OptionIcon;
7
8
  //# sourceMappingURL=OptionIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,QAAA,MAAM,UAAU;UAGR,eAAe,WAAW,CAAC,CAAC,MAAM,CAAC;iBAK1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"OptionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,aAAK,eAAe,GAAG;IACrB,IAAI,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC3C,CAAC;AAEF,QAAA,MAAM,UAAU,aAAc,eAAe,gBAI5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -4,6 +4,7 @@ import OptionColumn from './OptionColumn';
4
4
  import OptionContent from './OptionContent';
5
5
  import OptionDescription from './OptionDescription';
6
6
  import OptionDivider from './OptionDivider';
7
+ import OptionHeader from './OptionHeader';
7
8
  import OptionIcon from './OptionIcon';
8
9
  import OptionMenu from './OptionMenu';
9
10
  import OptionSkeleton from './OptionSkeleton';
@@ -41,26 +42,34 @@ declare const _default: import("react").NamedExoticComponent<{
41
42
  onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
42
43
  }) => JSX.Element;
43
44
  } & {
45
+ /** @deprecated */
44
46
  Description: (props: {
45
47
  children?: import("react").ReactNode;
46
48
  }) => JSX.Element;
49
+ /** @deprecated */
47
50
  Skeleton: () => JSX.Element;
51
+ /** @deprecated */
48
52
  Avatar: (props: {
49
53
  children?: import("react").ReactNode;
50
54
  }) => JSX.Element;
55
+ /** @deprecated */
51
56
  Menu: (props: {
52
57
  children?: import("react").ReactNode;
53
58
  }) => JSX.Element;
54
- Icon: ({ name, }: {
59
+ /** @deprecated */
60
+ Icon: ({ name }: {
55
61
  name: "info" | "warning" | "link" | "download" | "list" | "clip" | "italic" | "bold" | "key" | "audio" | "code" | "menu" | "video" | "circle" | "image" | "user" | "bell" | "bell-off" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "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" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "copy" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "file" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "stopwatch" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "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" | "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" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "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" | "twitter";
56
62
  }) => JSX.Element;
63
+ /** @deprecated */
57
64
  Divider: (props: {
58
65
  is?: import("react").ElementType<any> | undefined;
59
66
  htmlSize?: number | undefined;
60
67
  } & import("../../Box").BoxStylingProps & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size"> & Omit<import("react").SVGAttributes<SVGElement>, keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>) => JSX.Element;
68
+ /** @deprecated */
61
69
  Column: (props: {
62
70
  children?: import("react").ReactNode;
63
71
  }) => JSX.Element;
72
+ /** @deprecated */
64
73
  Content: (props: {
65
74
  children?: import("react").ReactNode;
66
75
  }) => JSX.Element;
@@ -75,4 +84,5 @@ export { OptionIcon };
75
84
  export { OptionMenu };
76
85
  export { OptionSkeleton };
77
86
  export { OptionTitle };
87
+ export { OptionHeader };
78
88
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/index.tsx"],"names":[],"mappings":";AACA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,WAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExC,wBASG;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,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EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAIZ,SAAS,EAOV,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC;AAOrB,oBAAY,UAAU,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAYhE,eAAO,MAAM,KAAK;iBAAyC,MAAM;kBAE/D,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;aAZT,MAAM,UAAU,CAAC;YAClB,MAAM;;;sCAGoB,IAAI;;mkSA0FvC,CAAC"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAIZ,SAAS,EAOV,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC;AAOrB,oBAAY,UAAU,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAYhE,eAAO,MAAM,KAAK;iBAAyC,MAAM;kBAE/D,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;aAZT,MAAM,UAAU,CAAC;YAClB,MAAM;;;sCAGoB,IAAI;;mkSA8FvC,CAAC"}