@epam/ai-dial-sidebar 1.3.0-dev.159 → 1.3.0-dev.160
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,8 +1,12 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
/** Props for `PanelEmpty`. */
|
|
3
3
|
export interface PanelEmptyProps {
|
|
4
|
-
/** Primary message of the empty state. */
|
|
4
|
+
/** Primary message of the empty state, e.g. "No chats yet". */
|
|
5
5
|
label: string;
|
|
6
|
+
/** Secondary line, e.g. "Chats will appear here once you start one." */
|
|
7
|
+
description?: string;
|
|
8
|
+
/** Optional way forward, such as a button, rendered under the text. */
|
|
9
|
+
action?: ReactNode;
|
|
6
10
|
}
|
|
7
11
|
/** Empty-state block rendered when a panel has no items at all. */
|
|
8
12
|
export declare const PanelEmpty: FC<PanelEmptyProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelEmpty.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelEmpty.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PanelEmpty.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelEmpty.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,mEAAmE;AACnE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAI1C,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
/** Props for `PanelNoResults`. */
|
|
3
3
|
export interface PanelNoResultsProps {
|
|
4
|
-
/** Primary message of the empty state. */
|
|
4
|
+
/** Primary message of the empty state, e.g. "No chats found". */
|
|
5
5
|
label: string;
|
|
6
|
+
/** Secondary line, e.g. "Try a different search term or check your filters." */
|
|
7
|
+
description?: string;
|
|
6
8
|
}
|
|
7
9
|
/** Empty-state block rendered when a search or filter produces no matches. */
|
|
8
10
|
export declare const PanelNoResults: FC<PanelNoResultsProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelNoResults.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelNoResults.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtC,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,
|
|
1
|
+
{"version":3,"file":"PanelNoResults.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelNoResults.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtC,kCAAkC;AAClC,MAAM,WAAW,mBAAmB;IAClC,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,8EAA8E;AAC9E,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAQlD,CAAC"}
|
package/index.js
CHANGED
|
@@ -100,8 +100,13 @@ var y = {
|
|
|
100
100
|
})
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
}, w = u(({ label: t
|
|
103
|
+
}, w = u(({ label: t, description: n, action: r }) => /* @__PURE__ */ _(e, {
|
|
104
104
|
label: t,
|
|
105
|
+
description: n,
|
|
106
|
+
action: r
|
|
107
|
+
})), T = u(({ label: t, description: n }) => /* @__PURE__ */ _(e, {
|
|
108
|
+
label: t,
|
|
109
|
+
description: n,
|
|
105
110
|
containerClassName: "pt-6"
|
|
106
111
|
}));
|
|
107
112
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-sidebar",
|
|
3
3
|
"description": "Resizable sidebar panel shell with header, search, and empty state components",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.160",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@tabler/icons-react": "^3.44.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
23
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.160",
|
|
24
24
|
"react": "^19.2.8",
|
|
25
|
-
"@epam/ai-dial-ui-kit": "^0.16.0-dev.
|
|
25
|
+
"@epam/ai-dial-ui-kit": "^0.16.0-dev.33"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|