@hubspot/ui-extensions 0.8.32 → 0.8.33
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/types.d.ts +22 -2
- package/package.json +2 -2
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}.
|
|
@@ -1069,13 +1074,19 @@ export interface TagProps extends OverlayComponentProps {
|
|
|
1069
1074
|
*
|
|
1070
1075
|
* @defaultValue `"default"`
|
|
1071
1076
|
*/
|
|
1072
|
-
variant?: 'default' | 'warning' | 'success' | 'error';
|
|
1077
|
+
variant?: 'default' | 'warning' | 'success' | 'error' | 'info';
|
|
1073
1078
|
/**
|
|
1074
1079
|
* A function that will be invoked when the tag is clicked.
|
|
1075
1080
|
*
|
|
1076
1081
|
* @event
|
|
1077
1082
|
*/
|
|
1078
1083
|
onClick?: ReactionsHandler<ExtensionEvent>;
|
|
1084
|
+
/**
|
|
1085
|
+
* When set to true, this component can be aligned side-by-side with text.
|
|
1086
|
+
*
|
|
1087
|
+
* @defaultValue `false`
|
|
1088
|
+
*/
|
|
1089
|
+
inline?: boolean;
|
|
1079
1090
|
}
|
|
1080
1091
|
/**
|
|
1081
1092
|
* @internal
|
|
@@ -1625,7 +1636,10 @@ export interface ExtensionCardContextData {
|
|
|
1625
1636
|
objectId: number | string;
|
|
1626
1637
|
objectTypeId: string;
|
|
1627
1638
|
location: keyof ExtensionPoints;
|
|
1628
|
-
|
|
1639
|
+
additionalProperties?: {
|
|
1640
|
+
[key: string]: string;
|
|
1641
|
+
} | null;
|
|
1642
|
+
appAccessLevel: 'PUBLIC' | 'PRIVATE';
|
|
1629
1643
|
}
|
|
1630
1644
|
/** @ignore */
|
|
1631
1645
|
export type ExtensionPointAction = (...args: any[]) => Promise<any> | void;
|
|
@@ -1686,6 +1700,7 @@ export interface StandardCrmExtensionPoint extends ExtensionPointContract {
|
|
|
1686
1700
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1687
1701
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1688
1702
|
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1703
|
+
CrmRelativeTimeline?: ComponentType<CrmRelativeTimelineProps>;
|
|
1689
1704
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1690
1705
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1691
1706
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1706,6 +1721,7 @@ export interface CrmMiddleExtensionPoint extends ExtensionPointContract {
|
|
|
1706
1721
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1707
1722
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1708
1723
|
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1724
|
+
CrmRelativeTimeline?: ComponentType<CrmRelativeTimelineProps>;
|
|
1709
1725
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1710
1726
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1711
1727
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1799,6 +1815,10 @@ export interface CrmSimpleDeadlineProps {
|
|
|
1799
1815
|
startDatePropertyName: string;
|
|
1800
1816
|
}
|
|
1801
1817
|
/** @ignore */
|
|
1818
|
+
export interface CrmRelativeTimelineProps {
|
|
1819
|
+
properties: Array<string>;
|
|
1820
|
+
}
|
|
1821
|
+
/** @ignore */
|
|
1802
1822
|
export interface CrmStageTrackerProps {
|
|
1803
1823
|
objectId?: number;
|
|
1804
1824
|
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.33",
|
|
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": "43946879c6cc1dbd76102fe92f6c1838ea34db6b"
|
|
55
55
|
}
|