@hubspot/ui-extensions 0.8.54 → 0.8.55
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.
|
@@ -66,4 +66,16 @@ declare const ExpandableText: "ExpandableText" & {
|
|
|
66
66
|
readonly props?: experimentalTypes.ExpandableTextProps | undefined;
|
|
67
67
|
readonly children?: true | undefined;
|
|
68
68
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"ExpandableText", experimentalTypes.ExpandableTextProps, true>>;
|
|
69
|
-
|
|
69
|
+
/**
|
|
70
|
+
* The `Popover` component renders a popover overlay that can contain other components.
|
|
71
|
+
*
|
|
72
|
+
* **Links:**
|
|
73
|
+
*
|
|
74
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/popover Popover Docs}
|
|
75
|
+
*/
|
|
76
|
+
declare const Popover: "Popover" & {
|
|
77
|
+
readonly type?: "Popover" | undefined;
|
|
78
|
+
readonly props?: experimentalTypes.PopoverProps | undefined;
|
|
79
|
+
readonly children?: true | undefined;
|
|
80
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Popover", experimentalTypes.PopoverProps, true>>;
|
|
81
|
+
export { Iframe, MediaObject, Inline, Stack2, Center, SimpleGrid, GridItem, Grid, SettingsView, ExpandableText, Popover, };
|
|
@@ -27,4 +27,14 @@ const SettingsView = createRemoteReactComponent('SettingsView');
|
|
|
27
27
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/expandable-text ExpandableText Docs}
|
|
28
28
|
*/
|
|
29
29
|
const ExpandableText = createRemoteReactComponent('ExpandableText');
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* The `Popover` component renders a popover overlay that can contain other components.
|
|
32
|
+
*
|
|
33
|
+
* **Links:**
|
|
34
|
+
*
|
|
35
|
+
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/popover Popover Docs}
|
|
36
|
+
*/
|
|
37
|
+
const Popover = createRemoteReactComponent('Popover', {
|
|
38
|
+
fragmentProps: ['header', 'body', 'footer'],
|
|
39
|
+
});
|
|
40
|
+
export { Iframe, MediaObject, Inline, Stack2, Center, SimpleGrid, GridItem, Grid, SettingsView, ExpandableText, Popover, };
|
|
@@ -122,4 +122,21 @@ export interface ExpandableTextProps {
|
|
|
122
122
|
collapseButtonText?: string;
|
|
123
123
|
expanded?: boolean;
|
|
124
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* @ignore
|
|
127
|
+
* @experimental do not use in production
|
|
128
|
+
*/
|
|
129
|
+
export interface PopoverProps {
|
|
130
|
+
children: ReactNode;
|
|
131
|
+
open?: boolean;
|
|
132
|
+
onOpenChange?: () => void;
|
|
133
|
+
placement?: 'left' | 'right' | 'top' | 'bottom';
|
|
134
|
+
header?: ReactNode;
|
|
135
|
+
body?: ReactNode;
|
|
136
|
+
footer?: ReactNode;
|
|
137
|
+
variant?: 'default' | 'shepherd' | 'longform';
|
|
138
|
+
showCloseButton?: boolean;
|
|
139
|
+
arrowSize?: 'none' | 'small' | 'medium';
|
|
140
|
+
onClick?: ReactionsHandler<ExtensionEvent>;
|
|
141
|
+
}
|
|
125
142
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -1825,7 +1825,9 @@ export interface TableElementProps {
|
|
|
1825
1825
|
* @interface
|
|
1826
1826
|
*/
|
|
1827
1827
|
export type BaseTableHeaderProps = TableElementProps & AlignmentProps & WidthProps;
|
|
1828
|
-
export type TableCellProps = TableElementProps & AlignmentProps & WidthProps
|
|
1828
|
+
export type TableCellProps = TableElementProps & AlignmentProps & WidthProps & {
|
|
1829
|
+
colSpan?: number;
|
|
1830
|
+
};
|
|
1829
1831
|
/**
|
|
1830
1832
|
* The props type for {@link !components.TableHeader} when sorted === never.
|
|
1831
1833
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.55",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"ts-jest": "^29.1.1",
|
|
67
67
|
"typescript": "5.0.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "93b19d28469b6b8ccf6f757ab301634fcc6ef993"
|
|
70
70
|
}
|