@hubspot/ui-extensions 0.8.32 → 0.8.34
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 +10 -0
- package/dist/coreComponents.js +2 -0
- package/dist/experimental/index.d.ts +1 -13
- package/dist/experimental/index.js +1 -5
- package/dist/types.d.ts +23 -4
- package/package.json +2 -2
package/dist/coreComponents.d.ts
CHANGED
|
@@ -302,3 +302,13 @@ export declare const LoadingButton: "LoadingButton" & {
|
|
|
302
302
|
readonly props?: types.LoadingButtonProps | undefined;
|
|
303
303
|
readonly children?: true | undefined;
|
|
304
304
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"LoadingButton", types.LoadingButtonProps, true>>;
|
|
305
|
+
export declare const BarChart: "BarChart" & {
|
|
306
|
+
readonly type?: "BarChart" | undefined;
|
|
307
|
+
readonly props?: types.ChartProps | undefined;
|
|
308
|
+
readonly children?: true | undefined;
|
|
309
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"BarChart", types.ChartProps, true>>;
|
|
310
|
+
export declare const LineChart: "LineChart" & {
|
|
311
|
+
readonly type?: "LineChart" | undefined;
|
|
312
|
+
readonly props?: types.ChartProps | undefined;
|
|
313
|
+
readonly children?: true | undefined;
|
|
314
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"LineChart", types.ChartProps, true>>;
|
package/dist/coreComponents.js
CHANGED
|
@@ -70,3 +70,5 @@ export const StatusTag = createRemoteReactComponent('StatusTag');
|
|
|
70
70
|
export const LoadingButton = createRemoteReactComponent('LoadingButton', {
|
|
71
71
|
fragmentProps: ['overlay'],
|
|
72
72
|
});
|
|
73
|
+
export const BarChart = createRemoteReactComponent('BarChart');
|
|
74
|
+
export const LineChart = createRemoteReactComponent('LineChart');
|
|
@@ -5,16 +5,4 @@ declare const Iframe: "Iframe" & {
|
|
|
5
5
|
readonly props?: types.IframeProps | undefined;
|
|
6
6
|
readonly children?: true | undefined;
|
|
7
7
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Iframe", types.IframeProps, true>>;
|
|
8
|
-
|
|
9
|
-
declare const BarChart: "BarChart" & {
|
|
10
|
-
readonly type?: "BarChart" | undefined;
|
|
11
|
-
readonly props?: types.ChartProps | undefined;
|
|
12
|
-
readonly children?: true | undefined;
|
|
13
|
-
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"BarChart", types.ChartProps, true>>;
|
|
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
|
-
declare const LineChart: "LineChart" & {
|
|
16
|
-
readonly type?: "LineChart" | undefined;
|
|
17
|
-
readonly props?: types.ChartProps | undefined;
|
|
18
|
-
readonly children?: true | undefined;
|
|
19
|
-
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"LineChart", types.ChartProps, true>>;
|
|
20
|
-
export { Iframe, BarChart, LineChart };
|
|
8
|
+
export { Iframe };
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { createRemoteReactComponent } from '@remote-ui/react';
|
|
2
2
|
/** @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. */
|
|
3
3
|
const Iframe = createRemoteReactComponent('Iframe');
|
|
4
|
-
|
|
5
|
-
const BarChart = createRemoteReactComponent('BarChart');
|
|
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
|
-
const LineChart = createRemoteReactComponent('LineChart');
|
|
8
|
-
export { Iframe, BarChart, LineChart };
|
|
4
|
+
export { Iframe };
|
package/dist/types.d.ts
CHANGED
|
@@ -448,6 +448,11 @@ export interface FormProps {
|
|
|
448
448
|
onSubmit?: ReactionsHandler<FormSubmitExtensionEvent<FormInputValues>>;
|
|
449
449
|
/** @deprecated the value for `preventDefault` is now always `true`, use `onSubmit` to handle all form submission behavior */
|
|
450
450
|
preventDefault?: boolean;
|
|
451
|
+
/**
|
|
452
|
+
* Specifies how autcomplete behaves in the entire form.
|
|
453
|
+
* @defaultValue `"on"`
|
|
454
|
+
*/
|
|
455
|
+
autoComplete?: 'off' | 'on';
|
|
451
456
|
}
|
|
452
457
|
/**
|
|
453
458
|
* The props type for {@link !components.Heading}.
|
|
@@ -489,8 +494,6 @@ export interface IframeProps {
|
|
|
489
494
|
/**
|
|
490
495
|
* The props type for {@link !components.Icon}.
|
|
491
496
|
*
|
|
492
|
-
* @ignore
|
|
493
|
-
* @experimental
|
|
494
497
|
* @category Component Props
|
|
495
498
|
*/
|
|
496
499
|
export interface IconProps {
|
|
@@ -1069,13 +1072,19 @@ export interface TagProps extends OverlayComponentProps {
|
|
|
1069
1072
|
*
|
|
1070
1073
|
* @defaultValue `"default"`
|
|
1071
1074
|
*/
|
|
1072
|
-
variant?: 'default' | 'warning' | 'success' | 'error';
|
|
1075
|
+
variant?: 'default' | 'warning' | 'success' | 'error' | 'info';
|
|
1073
1076
|
/**
|
|
1074
1077
|
* A function that will be invoked when the tag is clicked.
|
|
1075
1078
|
*
|
|
1076
1079
|
* @event
|
|
1077
1080
|
*/
|
|
1078
1081
|
onClick?: ReactionsHandler<ExtensionEvent>;
|
|
1082
|
+
/**
|
|
1083
|
+
* When set to true, this component can be aligned side-by-side with text.
|
|
1084
|
+
*
|
|
1085
|
+
* @defaultValue `false`
|
|
1086
|
+
*/
|
|
1087
|
+
inline?: boolean;
|
|
1079
1088
|
}
|
|
1080
1089
|
/**
|
|
1081
1090
|
* @internal
|
|
@@ -1382,6 +1391,7 @@ export interface UserContext {
|
|
|
1382
1391
|
email: string;
|
|
1383
1392
|
firstName: string;
|
|
1384
1393
|
lastName: string;
|
|
1394
|
+
/** @deprecated Roles will always be empty. Please use teams instead */
|
|
1385
1395
|
roles: string[];
|
|
1386
1396
|
teams: Team[];
|
|
1387
1397
|
locale?: string;
|
|
@@ -1625,7 +1635,10 @@ export interface ExtensionCardContextData {
|
|
|
1625
1635
|
objectId: number | string;
|
|
1626
1636
|
objectTypeId: string;
|
|
1627
1637
|
location: keyof ExtensionPoints;
|
|
1628
|
-
|
|
1638
|
+
additionalProperties?: {
|
|
1639
|
+
[key: string]: string;
|
|
1640
|
+
} | null;
|
|
1641
|
+
appAccessLevel: 'PUBLIC' | 'PRIVATE';
|
|
1629
1642
|
}
|
|
1630
1643
|
/** @ignore */
|
|
1631
1644
|
export type ExtensionPointAction = (...args: any[]) => Promise<any> | void;
|
|
@@ -1686,6 +1699,7 @@ export interface StandardCrmExtensionPoint extends ExtensionPointContract {
|
|
|
1686
1699
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1687
1700
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1688
1701
|
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1702
|
+
CrmRelativeTimeline?: ComponentType<CrmRelativeTimelineProps>;
|
|
1689
1703
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1690
1704
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1691
1705
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1706,6 +1720,7 @@ export interface CrmMiddleExtensionPoint extends ExtensionPointContract {
|
|
|
1706
1720
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1707
1721
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1708
1722
|
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1723
|
+
CrmRelativeTimeline?: ComponentType<CrmRelativeTimelineProps>;
|
|
1709
1724
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1710
1725
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1711
1726
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1799,6 +1814,10 @@ export interface CrmSimpleDeadlineProps {
|
|
|
1799
1814
|
startDatePropertyName: string;
|
|
1800
1815
|
}
|
|
1801
1816
|
/** @ignore */
|
|
1817
|
+
export interface CrmRelativeTimelineProps {
|
|
1818
|
+
properties: Array<string>;
|
|
1819
|
+
}
|
|
1820
|
+
/** @ignore */
|
|
1802
1821
|
export interface CrmStageTrackerProps {
|
|
1803
1822
|
objectId?: number;
|
|
1804
1823
|
objectTypeId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.34",
|
|
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": "d5dea46897d42da858ac747d2a0914e305d583f4"
|
|
55
55
|
}
|