@hubspot/ui-extensions 0.8.5 → 0.8.7
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.
|
@@ -5,3 +5,9 @@ export declare const Panel: "Panel" & {
|
|
|
5
5
|
readonly props?: types.PanelProps | undefined;
|
|
6
6
|
readonly children?: true | undefined;
|
|
7
7
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Panel", types.PanelProps, true>>;
|
|
8
|
+
/** @experimental This component is experimental. Avoid using it in production due to potential breaking changes. Your feedback is valuable for improvements. Stay tuned for updates. */
|
|
9
|
+
export declare const Tooltip: "Tooltip" & {
|
|
10
|
+
readonly type?: "Tooltip" | undefined;
|
|
11
|
+
readonly props?: types.TooltipProps | undefined;
|
|
12
|
+
readonly children?: true | undefined;
|
|
13
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Tooltip", types.TooltipProps, true>>;
|
|
@@ -3,3 +3,5 @@ import { createRemoteReactComponent } from '@remote-ui/react';
|
|
|
3
3
|
export const Panel = createRemoteReactComponent('Panel', {
|
|
4
4
|
fragmentProps: ['footer'],
|
|
5
5
|
});
|
|
6
|
+
/** @experimental This component is experimental. Avoid using it in production due to potential breaking changes. Your feedback is valuable for improvements. Stay tuned for updates. */
|
|
7
|
+
export const Tooltip = createRemoteReactComponent('Tooltip');
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Panel } from './experimentalComponents';
|
|
2
|
-
export { Panel };
|
|
1
|
+
import { Panel, Tooltip } from './experimentalComponents';
|
|
2
|
+
export { Panel, Tooltip };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Panel } from './experimentalComponents';
|
|
2
|
-
export { Panel };
|
|
1
|
+
import { Panel, Tooltip } from './experimentalComponents';
|
|
2
|
+
export { Panel, Tooltip };
|
package/dist/types.d.ts
CHANGED
|
@@ -1305,7 +1305,8 @@ export interface CrmSidebarExtensionPoint extends ExtensionPointContract {
|
|
|
1305
1305
|
};
|
|
1306
1306
|
context: CrmContext;
|
|
1307
1307
|
customComponents: {
|
|
1308
|
-
|
|
1308
|
+
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
1309
|
+
CrmActionLink?: ComponentType<CrmActionLinkProps>;
|
|
1309
1310
|
};
|
|
1310
1311
|
}
|
|
1311
1312
|
/** @ignore */
|
|
@@ -2038,4 +2039,17 @@ export interface DropdownProps {
|
|
|
2038
2039
|
*/
|
|
2039
2040
|
buttonSize?: TShirtSizes['xs'] | TShirtSizes['sm'] | TShirtSizes['md'];
|
|
2040
2041
|
}
|
|
2042
|
+
/**
|
|
2043
|
+
* @ignore
|
|
2044
|
+
* @experimental
|
|
2045
|
+
*/
|
|
2046
|
+
export interface TooltipProps {
|
|
2047
|
+
children: ReactNode;
|
|
2048
|
+
delay?: number;
|
|
2049
|
+
maxWidth?: number;
|
|
2050
|
+
open?: boolean;
|
|
2051
|
+
onOpenChange?: () => void;
|
|
2052
|
+
content?: string;
|
|
2053
|
+
placement?: 'left' | 'right' | 'top' | 'bottom';
|
|
2054
|
+
}
|
|
2041
2055
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "5.0.4"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "0c1330256590bf0b553b2710c3d1e17acbcc099c"
|
|
55
55
|
}
|