@elliemae/ds-chat-sidebar 3.14.0-next.8 → 3.14.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export declare const DSChatSidebarName = "DSChatSidebar";
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { DSChatSidebarT } from './react-desc-prop-types';
3
+ declare const SideBarChat: React.ComponentType<DSChatSidebarT.Props>;
4
+ declare const SideBarChatWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSChatSidebarT.Props>;
5
+ export { SideBarChat, SideBarChatWithSchema };
@@ -0,0 +1 @@
1
+ export { SideBarChat, SideBarChatWithSchema } from './SideBarChat';
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import type { DSChatTileT } from '@elliemae/ds-chat-tile';
3
+ export declare namespace DSChatSidebarT {
4
+ interface DefaultProps {
5
+ sidebarItems: DSChatTileT.Props[];
6
+ expanded: boolean;
7
+ selectedItem: undefined;
8
+ onFooterClose: () => void;
9
+ onFooterExpand: () => void;
10
+ onHeaderExpand: () => void;
11
+ onHeaderClose: () => void;
12
+ footerButtonExtraProps: Record<string, string>;
13
+ tooltipPlacement: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
14
+ enableTooltipWhenIsClosed: boolean;
15
+ }
16
+ interface OptionalProps {
17
+ actionRef?: React.MutableRefObject<{
18
+ listRef: {
19
+ [key: string]: HTMLElement;
20
+ };
21
+ }>;
22
+ }
23
+ interface Props extends DefaultProps, OptionalProps {
24
+ }
25
+ }
26
+ export declare const defaultProps: DSChatSidebarT.DefaultProps;
27
+ export declare const chatSidebarProps: {
28
+ sidebarItems: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
29
+ expanded: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
30
+ selectedItem: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
31
+ tooltipPlacement: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
32
+ enableTooltipWhenIsClosed: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
33
+ onFooterExpand: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
34
+ onFooterClose: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
35
+ onHeaderExpand: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
36
+ onHeaderClose: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
37
+ footerButtonExtraProps: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
38
+ actionRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
39
+ };
@@ -0,0 +1,12 @@
1
+ import type { SidebarButtonProps } from './props';
2
+ export declare const SidebarButton: {
3
+ ({ label, dsId, onClick, Icon, ...rest }: SidebarButtonProps): JSX.Element;
4
+ propTypes: {
5
+ Icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
6
+ dsId: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
7
+ label: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
8
+ title: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
9
+ onClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
10
+ };
11
+ defaultProps: SidebarButtonProps;
12
+ };
File without changes
@@ -0,0 +1,18 @@
1
+ import type React from 'react';
2
+ export interface SidebarButtonProps {
3
+ Icon: React.FC<{
4
+ size: string;
5
+ }>;
6
+ dsId: string | number;
7
+ label: string;
8
+ onClick: (dsId: string | number) => void;
9
+ title: string;
10
+ }
11
+ export declare const defaultSidebarButton: SidebarButtonProps;
12
+ export declare const propsSidebarButton: {
13
+ Icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
14
+ dsId: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
15
+ label: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
16
+ title: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
17
+ onClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
18
+ };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledSidebarButton: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
3
+ export declare const StyledSidebarButtonIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
4
+ export declare const StyledSidebarButtonLabel: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledSideBarContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
3
+ export declare const StyledSideBarButtonsContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-sidebar",
3
- "version": "3.14.0-next.8",
3
+ "version": "3.14.0-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Sidebar",
6
6
  "files": [
@@ -63,11 +63,11 @@
63
63
  "typeSafety": true
64
64
  },
65
65
  "dependencies": {
66
- "@elliemae/ds-chat-tile": "3.14.0-next.8",
67
- "@elliemae/ds-system": "3.14.0-next.8",
68
- "@elliemae/ds-grid": "3.14.0-next.8",
69
- "@elliemae/ds-icons": "3.14.0-next.8",
70
- "@elliemae/ds-utilities": "3.14.0-next.8"
66
+ "@elliemae/ds-chat-tile": "3.14.0-rc.0",
67
+ "@elliemae/ds-utilities": "3.14.0-rc.0",
68
+ "@elliemae/ds-grid": "3.14.0-rc.0",
69
+ "@elliemae/ds-system": "3.14.0-rc.0",
70
+ "@elliemae/ds-icons": "3.14.0-rc.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "styled-components": "~5.3.6"