@brainfish-ai/components 0.32.0 → 0.32.2
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/dist/chat-search.d.ts +19 -3
- package/dist/esm/chunks/{ChatSearch.DLxjq2j8.js → ChatSearch.EPCaUj3O.js} +38 -38
- package/dist/esm/chunks/ChatSearch.EPCaUj3O.js.map +1 -0
- package/dist/esm/chunks/{header-pane.CWgwa4pd.js → header-pane.eU7f_pim.js} +2 -2
- package/dist/esm/chunks/{header-pane.CWgwa4pd.js.map → header-pane.eU7f_pim.js.map} +1 -1
- package/dist/esm/chunks/{sidebar.DNJ1Iufi.js → sidebar.CcFsNjrN.js} +9 -9
- package/dist/esm/chunks/sidebar.CcFsNjrN.js.map +1 -0
- package/dist/esm/components/chat-search.js +1 -1
- package/dist/esm/global.css +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layouts/full-layout.js +1 -1
- package/dist/esm/layouts/sidebar.js +1 -1
- package/dist/esm/tailwind.preset.js +1 -1
- package/dist/esm/tailwind.preset.js.map +1 -1
- package/dist/index.d.ts +19 -3
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/tailwind.preset.ts +3 -0
- package/dist/esm/chunks/ChatSearch.DLxjq2j8.js.map +0 -1
- package/dist/esm/chunks/sidebar.DNJ1Iufi.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1786,15 +1786,15 @@ declare const microsoftTeamsLogoVariants: (props?: ({
|
|
|
1786
1786
|
variant?: "default" | null | undefined;
|
|
1787
1787
|
} & ClassProp) | undefined) => string;
|
|
1788
1788
|
|
|
1789
|
-
declare type NextBestAction = {
|
|
1789
|
+
export declare type NextBestAction = {
|
|
1790
1790
|
id?: string;
|
|
1791
1791
|
label: string;
|
|
1792
1792
|
type: NextBestActionType;
|
|
1793
1793
|
icon?: string | UrlString;
|
|
1794
|
-
value:
|
|
1794
|
+
value: NextBestActionValue[NextBestActionType];
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
declare enum NextBestActionType {
|
|
1797
|
+
export declare enum NextBestActionType {
|
|
1798
1798
|
Link = "link",
|
|
1799
1799
|
Email = "email",
|
|
1800
1800
|
Phone = "phone",
|
|
@@ -1808,6 +1808,20 @@ declare enum NextBestActionType {
|
|
|
1808
1808
|
WebhookHandoff = "webhook_handoff"
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
1811
|
+
export declare type NextBestActionValue = {
|
|
1812
|
+
link: UrlString;
|
|
1813
|
+
email: string;
|
|
1814
|
+
phone: string;
|
|
1815
|
+
callback: string;
|
|
1816
|
+
function: string;
|
|
1817
|
+
zendesk_chat: string;
|
|
1818
|
+
zendesk_messenger: string;
|
|
1819
|
+
intercom_chat: string;
|
|
1820
|
+
freshdesk: string;
|
|
1821
|
+
zendesk_sunshine_chat: string;
|
|
1822
|
+
webhook_handoff: string;
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1811
1825
|
declare type NoArticlesFound = {
|
|
1812
1826
|
type: typeof AnswersActions.NO_ARTICLES_FOUND;
|
|
1813
1827
|
payload: {
|
|
@@ -2533,6 +2547,8 @@ export declare interface UseRightSidebarReturn {
|
|
|
2533
2547
|
|
|
2534
2548
|
export declare function useSidebar(): SidebarContextValue;
|
|
2535
2549
|
|
|
2550
|
+
export declare const validateUrlString: (value: string) => UrlString;
|
|
2551
|
+
|
|
2536
2552
|
export declare const ZoomableImage: React_2.FC<ZoomableImageProps>;
|
|
2537
2553
|
|
|
2538
2554
|
declare interface ZoomableImageProps {
|