@rocket.chat/onboarding-ui 0.6.3-dev.413 → 0.6.3-dev.417

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.
@@ -12,6 +12,6 @@ export declare const TitleHighlight: import("react").ForwardRefExoticComponent<P
12
12
  export declare const Subtitle: import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
13
13
  fontColor?: string | undefined;
14
14
  fontWeight?: string | undefined;
15
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "fontWeight" | "fontColor"> & import("react").RefAttributes<HTMLDivElement>>;
15
+ }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "fontColor" | "fontWeight"> & import("react").RefAttributes<HTMLDivElement>>;
16
16
  export declare const Description: import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
17
17
  //# sourceMappingURL=FormPageLayout.styles.d.ts.map
@@ -1,11 +1,19 @@
1
1
  import { Box, Margins } from '@rocket.chat/fuselage';
2
2
  import type { ReactElement, ReactNode, ComponentProps, CSSProperties } from 'react';
3
- declare const List: ({ children, listStyleType, icon, spacing, color, }: {
4
- children: ReactNode;
5
- spacing?: ComponentProps<typeof Margins>['block'];
6
- listStyleType?: CSSProperties['listStyleType'];
7
- color?: ComponentProps<typeof Box>['color'];
8
- icon?: string | undefined;
9
- }) => ReactElement;
3
+ declare const List: {
4
+ ({ children, listStyleType, icon, spacing, color, }: {
5
+ children: ReactNode;
6
+ spacing?: ComponentProps<typeof Margins>['block'];
7
+ listStyleType?: CSSProperties['listStyleType'];
8
+ color?: ComponentProps<typeof Box>['color'];
9
+ icon?: string | undefined;
10
+ }): ReactElement;
11
+ Item: ({ children, icon, iconColor, fontScale, }: {
12
+ children: ReactNode;
13
+ icon?: any;
14
+ iconColor?: any;
15
+ fontScale?: any;
16
+ }) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
17
+ };
10
18
  export default List;
11
19
  //# sourceMappingURL=List.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,IAAI;cAOE,SAAS;cACT,eAAe,cAAc,CAAC,CAAC,OAAO,CAAC;oBACjC,aAAa,CAAC,eAAe,CAAC;YACtC,eAAe,UAAU,CAAC,CAAC,OAAO,CAAC;;MAEzC,YAIH,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACd,MAAM,OAAO,CAAC;AAKf,QAAA,MAAM,IAAI;;kBAOE,SAAS;kBACT,eAAe,cAAc,CAAC,CAAC,OAAO,CAAC;wBACjC,aAAa,CAAC,eAAe,CAAC;gBACtC,eAAe,UAAU,CAAC,CAAC,OAAO,CAAC;;QAEzC,YAAY;;;;;;;CAIf,CAAC;AAIF,eAAe,IAAI,CAAC"}
@@ -18,9 +18,11 @@ var jsx_runtime_1 = require("react/jsx-runtime");
18
18
  var fuselage_1 = require("@rocket.chat/fuselage");
19
19
  var colors_json_1 = __importDefault(require("@rocket.chat/fuselage-tokens/colors.json"));
20
20
  var List_styles_1 = require("./List.styles");
21
+ var ListItem_1 = __importDefault(require("./ListItem"));
21
22
  var List = function (_a) {
22
23
  var children = _a.children, listStyleType = _a.listStyleType, icon = _a.icon, _b = _a.spacing, spacing = _b === void 0 ? 'x6' : _b, _c = _a.color, color = _c === void 0 ? colors_json_1.default.n900 : _c;
23
24
  return (jsx_runtime_1.jsx(List_styles_1.ListComponent, __assign({ icon: icon, listStyleType: listStyleType, color: color }, { children: jsx_runtime_1.jsx(fuselage_1.Margins, __assign({ block: spacing }, { children: children }), void 0) }), void 0));
24
25
  };
26
+ List.Item = ListItem_1.default;
25
27
  exports.default = List;
26
28
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAqD;AACrD,yFAA8D;AAQ9D,6CAA8C;AAE9C,IAAM,IAAI,GAAG,UAAC,EAYb;QAXC,QAAQ,cAAA,EACR,aAAa,mBAAA,EACb,IAAI,UAAA,EACJ,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,aAAmB,EAAnB,KAAK,mBAAG,qBAAM,CAAC,IAAI,KAAA;IAOD,OAAA,CAClB,kBAAC,2BAAa,aAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,gBACnE,kBAAC,kBAAO,aAAC,KAAK,EAAE,OAAO,gBAAG,QAAQ,YAAW,YAC/B,CACjB;AAJmB,CAInB,CAAC;AAEF,kBAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAqD;AACrD,yFAA8D;AAQ9D,6CAA8C;AAC9C,wDAAkC;AAElC,IAAM,IAAI,GAAG,UAAC,EAYb;QAXC,QAAQ,cAAA,EACR,aAAa,mBAAA,EACb,IAAI,UAAA,EACJ,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,aAAmB,EAAnB,KAAK,mBAAG,qBAAM,CAAC,IAAI,KAAA;IAOD,OAAA,CAClB,kBAAC,2BAAa,aAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,gBACnE,kBAAC,kBAAO,aAAC,KAAK,EAAE,OAAO,gBAAG,QAAQ,YAAW,YAC/B,CACjB;AAJmB,CAInB,CAAC;AAEF,IAAI,CAAC,IAAI,GAAG,kBAAQ,CAAC;AAErB,kBAAe,IAAI,CAAC"}
@@ -2,7 +2,7 @@ import { Box, Icon } from '@rocket.chat/fuselage';
2
2
  import type { ComponentProps, ReactElement, ReactNode } from 'react';
3
3
  declare const ListItem: ({ children, icon, iconColor, fontScale, }: {
4
4
  children: ReactNode;
5
- icon?: ("audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "info" | "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" | "bell" | "bell-off" | "bold" | "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" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "italic" | "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" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "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" | "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" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter") | undefined;
5
+ icon?: ComponentProps<typeof Icon>['name'];
6
6
  iconColor?: ComponentProps<typeof Icon>['color'];
7
7
  fontScale?: ComponentProps<typeof Box>['fontScale'];
8
8
  }) => ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/common/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,QAAA,MAAM,QAAQ;cAMF,SAAS;;gBAEP,eAAe,WAAW,CAAC,CAAC,OAAO,CAAC;gBACpC,eAAe,UAAU,CAAC,CAAC,WAAW,CAAC;MACjD,YAKH,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/common/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,QAAA,MAAM,QAAQ;cAMF,SAAS;WACZ,eAAe,WAAW,CAAC,CAAC,MAAM,CAAC;gBAC9B,eAAe,WAAW,CAAC,CAAC,OAAO,CAAC;gBACpC,eAAe,UAAU,CAAC,CAAC,WAAW,CAAC;MACjD,YAKH,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,17 +1,5 @@
1
- /// <reference types="react" />
2
- declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
3
- children: import("react").ReactNode;
4
- spacing?: any;
5
- listStyleType?: import("csstype").Property.ListStyleType | undefined;
6
- color?: any;
7
- icon?: string | undefined;
8
- }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
9
- Item: ({ children, icon, iconColor, fontScale, }: {
10
- children: import("react").ReactNode;
11
- icon?: ("audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "info" | "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" | "bell" | "bell-off" | "bold" | "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" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "italic" | "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" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "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" | "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" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter") | undefined;
12
- iconColor?: any;
13
- fontScale?: any;
14
- }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
15
- };
16
- export default _default;
1
+ import List from './List';
2
+ export * from './List';
3
+ export * from './ListItem';
4
+ export default List;
17
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wBAEG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,eAAe,IAAI,CAAC"}
@@ -1,11 +1,20 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
2
12
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
13
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
14
  };
5
15
  Object.defineProperty(exports, "__esModule", { value: true });
6
16
  var List_1 = __importDefault(require("./List"));
7
- var ListItem_1 = __importDefault(require("./ListItem"));
8
- exports.default = Object.assign(List_1.default, {
9
- Item: ListItem_1.default,
10
- });
17
+ __exportStar(require("./List"), exports);
18
+ __exportStar(require("./ListItem"), exports);
19
+ exports.default = List_1.default;
11
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,wDAAkC;AAElC,kBAAe,MAAM,CAAC,MAAM,CAAC,cAAI,EAAE;IACjC,IAAI,EAAE,kBAAQ;CACf,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,yCAAuB;AACvB,6CAA2B;AAE3B,kBAAe,cAAI,CAAC"}
@@ -12,6 +12,6 @@ export declare const TitleHighlight: import("react").ForwardRefExoticComponent<P
12
12
  export declare const Subtitle: import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
13
13
  fontColor?: string | undefined;
14
14
  fontWeight?: string | undefined;
15
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "fontWeight" | "fontColor"> & import("react").RefAttributes<HTMLDivElement>>;
15
+ }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "fontColor" | "fontWeight"> & import("react").RefAttributes<HTMLDivElement>>;
16
16
  export declare const Description: import("react").ForwardRefExoticComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
17
17
  //# sourceMappingURL=FormPageLayout.styles.d.ts.map
@@ -1,11 +1,19 @@
1
1
  import { Box, Margins } from '@rocket.chat/fuselage';
2
2
  import type { ReactElement, ReactNode, ComponentProps, CSSProperties } from 'react';
3
- declare const List: ({ children, listStyleType, icon, spacing, color, }: {
4
- children: ReactNode;
5
- spacing?: ComponentProps<typeof Margins>['block'];
6
- listStyleType?: CSSProperties['listStyleType'];
7
- color?: ComponentProps<typeof Box>['color'];
8
- icon?: string | undefined;
9
- }) => ReactElement;
3
+ declare const List: {
4
+ ({ children, listStyleType, icon, spacing, color, }: {
5
+ children: ReactNode;
6
+ spacing?: ComponentProps<typeof Margins>['block'];
7
+ listStyleType?: CSSProperties['listStyleType'];
8
+ color?: ComponentProps<typeof Box>['color'];
9
+ icon?: string | undefined;
10
+ }): ReactElement;
11
+ Item: ({ children, icon, iconColor, fontScale, }: {
12
+ children: ReactNode;
13
+ icon?: any;
14
+ iconColor?: any;
15
+ fontScale?: any;
16
+ }) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
17
+ };
10
18
  export default List;
11
19
  //# sourceMappingURL=List.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,QAAA,MAAM,IAAI;cAOE,SAAS;cACT,eAAe,cAAc,CAAC,CAAC,OAAO,CAAC;oBACjC,aAAa,CAAC,eAAe,CAAC;YACtC,eAAe,UAAU,CAAC,CAAC,OAAO,CAAC;;MAEzC,YAIH,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,cAAc,EACd,aAAa,EACd,MAAM,OAAO,CAAC;AAKf,QAAA,MAAM,IAAI;;kBAOE,SAAS;kBACT,eAAe,cAAc,CAAC,CAAC,OAAO,CAAC;wBACjC,aAAa,CAAC,eAAe,CAAC;gBACtC,eAAe,UAAU,CAAC,CAAC,OAAO,CAAC;;QAEzC,YAAY;;;;;;;CAIf,CAAC;AAIF,eAAe,IAAI,CAAC"}
@@ -13,9 +13,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { Margins } from '@rocket.chat/fuselage';
14
14
  import colors from '@rocket.chat/fuselage-tokens/colors.json';
15
15
  import { ListComponent } from './List.styles';
16
+ import ListItem from './ListItem';
16
17
  var List = function (_a) {
17
18
  var children = _a.children, listStyleType = _a.listStyleType, icon = _a.icon, _b = _a.spacing, spacing = _b === void 0 ? 'x6' : _b, _c = _a.color, color = _c === void 0 ? colors.n900 : _c;
18
19
  return (_jsx(ListComponent, __assign({ icon: icon, listStyleType: listStyleType, color: color }, { children: _jsx(Margins, __assign({ block: spacing }, { children: children }), void 0) }), void 0));
19
20
  };
21
+ List.Item = ListItem;
20
22
  export default List;
21
23
  //# sourceMappingURL=List.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAO,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,MAAM,MAAM,0CAA0C,CAAC;AAQ9D,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,IAAM,IAAI,GAAG,UAAC,EAYb;QAXC,QAAQ,cAAA,EACR,aAAa,mBAAA,EACb,IAAI,UAAA,EACJ,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,aAAmB,EAAnB,KAAK,mBAAG,MAAM,CAAC,IAAI,KAAA;IAOD,OAAA,CAClB,KAAC,aAAa,aAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,gBACnE,KAAC,OAAO,aAAC,KAAK,EAAE,OAAO,gBAAG,QAAQ,YAAW,YAC/B,CACjB;AAJmB,CAInB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../src/common/List/List.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAO,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,MAAM,MAAM,0CAA0C,CAAC;AAQ9D,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,IAAM,IAAI,GAAG,UAAC,EAYb;QAXC,QAAQ,cAAA,EACR,aAAa,mBAAA,EACb,IAAI,UAAA,EACJ,eAAc,EAAd,OAAO,mBAAG,IAAI,KAAA,EACd,aAAmB,EAAnB,KAAK,mBAAG,MAAM,CAAC,IAAI,KAAA;IAOD,OAAA,CAClB,KAAC,aAAa,aAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,gBACnE,KAAC,OAAO,aAAC,KAAK,EAAE,OAAO,gBAAG,QAAQ,YAAW,YAC/B,CACjB;AAJmB,CAInB,CAAC;AAEF,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;AAErB,eAAe,IAAI,CAAC"}
@@ -2,7 +2,7 @@ import { Box, Icon } from '@rocket.chat/fuselage';
2
2
  import type { ComponentProps, ReactElement, ReactNode } from 'react';
3
3
  declare const ListItem: ({ children, icon, iconColor, fontScale, }: {
4
4
  children: ReactNode;
5
- icon?: ("audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "info" | "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" | "bell" | "bell-off" | "bold" | "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" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "italic" | "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" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "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" | "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" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter") | undefined;
5
+ icon?: ComponentProps<typeof Icon>['name'];
6
6
  iconColor?: ComponentProps<typeof Icon>['color'];
7
7
  fontScale?: ComponentProps<typeof Box>['fontScale'];
8
8
  }) => ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/common/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,QAAA,MAAM,QAAQ;cAMF,SAAS;;gBAEP,eAAe,WAAW,CAAC,CAAC,OAAO,CAAC;gBACpC,eAAe,UAAU,CAAC,CAAC,WAAW,CAAC;MACjD,YAKH,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/common/List/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,QAAA,MAAM,QAAQ;cAMF,SAAS;WACZ,eAAe,WAAW,CAAC,CAAC,MAAM,CAAC;gBAC9B,eAAe,WAAW,CAAC,CAAC,OAAO,CAAC;gBACpC,eAAe,UAAU,CAAC,CAAC,WAAW,CAAC;MACjD,YAKH,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,17 +1,5 @@
1
- /// <reference types="react" />
2
- declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
3
- children: import("react").ReactNode;
4
- spacing?: any;
5
- listStyleType?: import("csstype").Property.ListStyleType | undefined;
6
- color?: any;
7
- icon?: string | undefined;
8
- }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
9
- Item: ({ children, icon, iconColor, fontScale, }: {
10
- children: import("react").ReactNode;
11
- icon?: ("audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "info" | "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" | "bell" | "bell-off" | "bold" | "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" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "italic" | "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" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "underline" | "undo" | "user" | "user-arrow-right" | "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" | "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" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter") | undefined;
12
- iconColor?: any;
13
- fontScale?: any;
14
- }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
15
- };
16
- export default _default;
1
+ import List from './List';
2
+ export * from './List';
3
+ export * from './ListItem';
4
+ export default List;
17
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wBAEG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,eAAe,IAAI,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import List from './List';
2
- import ListItem from './ListItem';
3
- export default Object.assign(List, {
4
- Item: ListItem,
5
- });
2
+ export * from './List';
3
+ export * from './ListItem';
4
+ export default List;
6
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,QAAQ;CACf,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocket.chat/onboarding-ui",
3
- "version": "0.6.3-dev.413+f2c4c368",
3
+ "version": "0.6.3-dev.417+7990ba3c",
4
4
  "description": "Set of components and functions for the onboarding experience on Rocket.Chat",
5
5
  "keywords": [
6
6
  "rocketchat"
@@ -42,10 +42,10 @@
42
42
  "url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
43
43
  },
44
44
  "devDependencies": {
45
- "@rocket.chat/eslint-config-alt": "^0.6.3-dev.413+f2c4c368",
46
- "@rocket.chat/fuselage-polyfills": "^0.6.3-dev.413+f2c4c368",
47
- "@rocket.chat/fuselage-tokens": "^0.6.3-dev.413+f2c4c368",
48
- "@rocket.chat/prettier-config": "^0.6.3-dev.413+f2c4c368",
45
+ "@rocket.chat/eslint-config-alt": "^0.6.3-dev.417+7990ba3c",
46
+ "@rocket.chat/fuselage-polyfills": "^0.6.3-dev.417+7990ba3c",
47
+ "@rocket.chat/fuselage-tokens": "^0.6.3-dev.417+7990ba3c",
48
+ "@rocket.chat/prettier-config": "^0.6.3-dev.417+7990ba3c",
49
49
  "@storybook/addon-essentials": "^6.3.4",
50
50
  "@storybook/addons": "^6.3.4",
51
51
  "@storybook/react": "^6.3.4",
@@ -70,11 +70,11 @@
70
70
  "typescript": "^4.3.4"
71
71
  },
72
72
  "dependencies": {
73
- "@rocket.chat/fuselage": "^0.6.3-dev.413+f2c4c368",
74
- "@rocket.chat/fuselage-hooks": "^0.6.3-dev.413+f2c4c368",
75
- "@rocket.chat/icons": "^0.6.3-dev.413+f2c4c368",
76
- "@rocket.chat/logo": "^0.6.3-dev.413+f2c4c368",
77
- "@rocket.chat/styled": "^0.6.3-dev.413+f2c4c368",
73
+ "@rocket.chat/fuselage": "^0.6.3-dev.417+7990ba3c",
74
+ "@rocket.chat/fuselage-hooks": "^0.6.3-dev.417+7990ba3c",
75
+ "@rocket.chat/icons": "^0.6.3-dev.417+7990ba3c",
76
+ "@rocket.chat/logo": "^0.6.3-dev.417+7990ba3c",
77
+ "@rocket.chat/styled": "^0.6.3-dev.417+7990ba3c",
78
78
  "i18next": "^20.3.2",
79
79
  "react-hook-form": "^7.10.1",
80
80
  "react-i18next": "^11.11.0",
@@ -85,5 +85,5 @@
85
85
  "react": "17.0.2",
86
86
  "react-dom": "17.0.2"
87
87
  },
88
- "gitHead": "f2c4c3681ee461468e5de490c3d42f4c56be8acf"
88
+ "gitHead": "7990ba3c037dbd4ca0c31e99de99036f4ee8feb0"
89
89
  }