@hubspot/ui-extensions 0.8.40 → 0.8.41
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/coreComponents.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export declare const ErrorState: "ErrorState" & {
|
|
|
108
108
|
* **Links:**
|
|
109
109
|
*
|
|
110
110
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/form Docs}
|
|
111
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#form Design Pattern Examples}
|
|
111
112
|
*/
|
|
112
113
|
export declare const Form: "Form" & {
|
|
113
114
|
readonly type?: "Form" | undefined;
|
|
@@ -555,6 +556,7 @@ export declare const Dropdown: "Dropdown" & {
|
|
|
555
556
|
*
|
|
556
557
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/panel Docs}
|
|
557
558
|
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/overlay-example Overlay Example}
|
|
559
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#panel Design Pattern Examples}
|
|
558
560
|
*/
|
|
559
561
|
export declare const Panel: "Panel" & {
|
|
560
562
|
readonly type?: "Panel" | undefined;
|
|
@@ -619,6 +621,7 @@ export declare const StepperInput: "StepperInput" & {
|
|
|
619
621
|
*
|
|
620
622
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/modal Docs}
|
|
621
623
|
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/overlay-example Overlay Example}
|
|
624
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#modal Design Pattern Examples}
|
|
622
625
|
*/
|
|
623
626
|
export declare const Modal: "Modal" & {
|
|
624
627
|
readonly type?: "Modal" | undefined;
|
package/dist/coreComponents.js
CHANGED
|
@@ -74,6 +74,7 @@ export const ErrorState = createRemoteReactComponent('ErrorState');
|
|
|
74
74
|
* **Links:**
|
|
75
75
|
*
|
|
76
76
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/form Docs}
|
|
77
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#form Design Pattern Examples}
|
|
77
78
|
*/
|
|
78
79
|
export const Form = createRemoteReactComponent('Form');
|
|
79
80
|
/**
|
|
@@ -365,6 +366,7 @@ export const Dropdown = createRemoteReactComponent('Dropdown');
|
|
|
365
366
|
*
|
|
366
367
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/panel Docs}
|
|
367
368
|
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/overlay-example Overlay Example}
|
|
369
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#panel Design Pattern Examples}
|
|
368
370
|
*/
|
|
369
371
|
export const Panel = createRemoteReactComponent('Panel');
|
|
370
372
|
/**
|
|
@@ -409,6 +411,7 @@ export const StepperInput = createRemoteReactComponent('StepperInput');
|
|
|
409
411
|
*
|
|
410
412
|
* - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/modal Docs}
|
|
411
413
|
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/overlay-example Overlay Example}
|
|
414
|
+
* - {@link https://github.com/HubSpot/ui-extensions-examples/tree/main/design-patterns#modal Design Pattern Examples}
|
|
412
415
|
*/
|
|
413
416
|
export const Modal = createRemoteReactComponent('Modal');
|
|
414
417
|
/**
|
|
@@ -30,4 +30,22 @@ declare const Center: "Center" & {
|
|
|
30
30
|
readonly props?: experimentalTypes.CenterProps | undefined;
|
|
31
31
|
readonly children?: true | undefined;
|
|
32
32
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Center", experimentalTypes.CenterProps, true>>;
|
|
33
|
-
|
|
33
|
+
/** @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. */
|
|
34
|
+
declare const SimpleGrid: "SimpleGrid" & {
|
|
35
|
+
readonly type?: "SimpleGrid" | undefined;
|
|
36
|
+
readonly props?: experimentalTypes.SimpleGridProps | undefined;
|
|
37
|
+
readonly children?: true | undefined;
|
|
38
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"SimpleGrid", experimentalTypes.SimpleGridProps, true>>;
|
|
39
|
+
/** @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. */
|
|
40
|
+
declare const Grid: "Grid" & {
|
|
41
|
+
readonly type?: "Grid" | undefined;
|
|
42
|
+
readonly props?: experimentalTypes.GridProps | undefined;
|
|
43
|
+
readonly children?: true | undefined;
|
|
44
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Grid", experimentalTypes.GridProps, true>>;
|
|
45
|
+
/** @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. */
|
|
46
|
+
declare const GridItem: "GridItem" & {
|
|
47
|
+
readonly type?: "GridItem" | undefined;
|
|
48
|
+
readonly props?: experimentalTypes.GridItemProps | undefined;
|
|
49
|
+
readonly children?: true | undefined;
|
|
50
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"GridItem", experimentalTypes.GridItemProps, true>>;
|
|
51
|
+
export { Iframe, MediaObject, Inline, Stack2, Center, SimpleGrid, GridItem, Grid, };
|
|
@@ -11,4 +11,10 @@ const Inline = createRemoteReactComponent('Inline');
|
|
|
11
11
|
const Stack2 = createRemoteReactComponent('Stack2');
|
|
12
12
|
/** @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. */
|
|
13
13
|
const Center = createRemoteReactComponent('Center');
|
|
14
|
-
|
|
14
|
+
/** @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. */
|
|
15
|
+
const SimpleGrid = createRemoteReactComponent('SimpleGrid');
|
|
16
|
+
/** @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. */
|
|
17
|
+
const Grid = createRemoteReactComponent('Grid');
|
|
18
|
+
/** @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. */
|
|
19
|
+
const GridItem = createRemoteReactComponent('GridItem');
|
|
20
|
+
export { Iframe, MediaObject, Inline, Stack2, Center, SimpleGrid, GridItem, Grid, };
|
|
@@ -58,4 +58,25 @@ export interface MediaObjectProps {
|
|
|
58
58
|
itemLeft?: RemoteFragment;
|
|
59
59
|
itemRight?: RemoteFragment;
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @ignore
|
|
63
|
+
* @experimental do not use in production
|
|
64
|
+
*/
|
|
65
|
+
export interface SimpleGridProps extends BaseLayout {
|
|
66
|
+
minColumnWidth: number | string;
|
|
67
|
+
gap?: AllDistances;
|
|
68
|
+
children?: ReactNode;
|
|
69
|
+
}
|
|
70
|
+
export interface GridProps {
|
|
71
|
+
justify?: FlexJustify;
|
|
72
|
+
align?: FlexAlign;
|
|
73
|
+
gap?: AllDistances;
|
|
74
|
+
size?: number;
|
|
75
|
+
children?: ReactNode;
|
|
76
|
+
}
|
|
77
|
+
export interface GridItemProps {
|
|
78
|
+
size?: number;
|
|
79
|
+
children?: ReactNode;
|
|
80
|
+
offset?: number;
|
|
81
|
+
}
|
|
61
82
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -2049,6 +2049,7 @@ interface OpenIframeActionPayload {
|
|
|
2049
2049
|
uri: string;
|
|
2050
2050
|
height: number;
|
|
2051
2051
|
width: number;
|
|
2052
|
+
/** @deprecated This property is no longer functional and has no effect. Please avoid using it, as it will be removed in future updates */
|
|
2052
2053
|
associatedObjectProperties?: string[];
|
|
2053
2054
|
title?: string;
|
|
2054
2055
|
flush?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.41",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react-reconciler": "^0.29.0",
|
|
61
61
|
"typescript": "5.0.4"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ce6d6332d471d5c5ac127de88a8fa51dd7506c3e"
|
|
64
64
|
}
|