@hubspot/ui-extensions 0.8.28 → 0.8.29
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 +5 -0
- package/dist/coreComponents.js +3 -0
- package/dist/experimental/index.d.ts +1 -7
- package/dist/experimental/index.js +1 -5
- package/dist/types.d.ts +30 -0
- package/dist/types.js +5 -0
- package/package.json +2 -2
package/dist/coreComponents.d.ts
CHANGED
|
@@ -281,3 +281,8 @@ export declare const StatusTag: "StatusTag" & {
|
|
|
281
281
|
readonly props?: types.StatusTagProps | undefined;
|
|
282
282
|
readonly children?: true | undefined;
|
|
283
283
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"StatusTag", types.StatusTagProps, true>>;
|
|
284
|
+
export declare const LoadingButton: "LoadingButton" & {
|
|
285
|
+
readonly type?: "LoadingButton" | undefined;
|
|
286
|
+
readonly props?: types.LoadingButtonProps | undefined;
|
|
287
|
+
readonly children?: true | undefined;
|
|
288
|
+
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"LoadingButton", types.LoadingButtonProps, true>>;
|
package/dist/coreComponents.js
CHANGED
|
@@ -67,3 +67,6 @@ export const ModalBody = createRemoteReactComponent('ModalBody');
|
|
|
67
67
|
export const ModalFooter = createRemoteReactComponent('ModalFooter');
|
|
68
68
|
export const Icon = createRemoteReactComponent('Icon');
|
|
69
69
|
export const StatusTag = createRemoteReactComponent('StatusTag');
|
|
70
|
+
export const LoadingButton = createRemoteReactComponent('LoadingButton', {
|
|
71
|
+
fragmentProps: ['overlay'],
|
|
72
|
+
});
|
|
@@ -17,10 +17,4 @@ declare const Iframe: "Iframe" & {
|
|
|
17
17
|
readonly props?: types.IframeProps | undefined;
|
|
18
18
|
readonly children?: true | undefined;
|
|
19
19
|
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Iframe", types.IframeProps, true>>;
|
|
20
|
-
|
|
21
|
-
declare const LoadingButton: "LoadingButton" & {
|
|
22
|
-
readonly type?: "LoadingButton" | undefined;
|
|
23
|
-
readonly props?: types.LoadingButtonProps | undefined;
|
|
24
|
-
readonly children?: true | undefined;
|
|
25
|
-
} & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"LoadingButton", types.LoadingButtonProps, true>>;
|
|
26
|
-
export { Tooltip, Slider, Iframe, LoadingButton };
|
|
20
|
+
export { Tooltip, Slider, Iframe };
|
|
@@ -5,8 +5,4 @@ const Tooltip = createRemoteReactComponent('Tooltip');
|
|
|
5
5
|
const Slider = createRemoteReactComponent('Slider');
|
|
6
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
7
|
const Iframe = createRemoteReactComponent('Iframe');
|
|
8
|
-
|
|
9
|
-
const LoadingButton = createRemoteReactComponent('LoadingButton', {
|
|
10
|
-
fragmentProps: ['overlay'],
|
|
11
|
-
});
|
|
12
|
-
export { Tooltip, Slider, Iframe, LoadingButton };
|
|
8
|
+
export { Tooltip, Slider, Iframe };
|
package/dist/types.d.ts
CHANGED
|
@@ -378,10 +378,13 @@ export declare const iconNames: {
|
|
|
378
378
|
readonly add: "add";
|
|
379
379
|
readonly attach: "attach";
|
|
380
380
|
readonly date: "date";
|
|
381
|
+
readonly copy: "duplicate";
|
|
381
382
|
readonly delete: "delete";
|
|
382
383
|
readonly edit: "edit";
|
|
383
384
|
readonly email: "email";
|
|
384
385
|
readonly exclamation: "exclamation";
|
|
386
|
+
readonly question: "question";
|
|
387
|
+
readonly home: "home";
|
|
385
388
|
readonly location: "location";
|
|
386
389
|
readonly upCarat: "upCarat";
|
|
387
390
|
readonly downCarat: "downCarat";
|
|
@@ -408,6 +411,8 @@ export declare const iconNames: {
|
|
|
408
411
|
readonly search: "search";
|
|
409
412
|
readonly save: "saveEditableView";
|
|
410
413
|
readonly notification: "notification";
|
|
414
|
+
readonly bulb: "bulb";
|
|
415
|
+
readonly settings: "settings";
|
|
411
416
|
};
|
|
412
417
|
export type IconNames = keyof typeof iconNames;
|
|
413
418
|
/**
|
|
@@ -1519,6 +1524,7 @@ export interface StandardCrmExtensionPoint extends ExtensionPointContract {
|
|
|
1519
1524
|
CrmAssociationPivot: ComponentType<CrmAssociationPivotProps>;
|
|
1520
1525
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1521
1526
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1527
|
+
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1522
1528
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1523
1529
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1524
1530
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1544,6 +1550,7 @@ export interface CrmMiddleExtensionPoint extends ExtensionPointContract {
|
|
|
1544
1550
|
CrmAssociationPivot: ComponentType<CrmAssociationPivotProps>;
|
|
1545
1551
|
CrmAssociationPropertyList: ComponentType<CrmAssociationPropertyListProps>;
|
|
1546
1552
|
CrmAssociationStageTracker?: ComponentType<CrmAssociationStageTrackerProps>;
|
|
1553
|
+
CrmSimpleDeadline?: ComponentType<CrmSimpleDeadlineProps>;
|
|
1547
1554
|
CrmStageTracker: ComponentType<CrmStageTrackerProps>;
|
|
1548
1555
|
CrmStatistics?: ComponentType<CrmStatisticsProps>;
|
|
1549
1556
|
CrmActionButton?: ComponentType<CrmActionButtonProps>;
|
|
@@ -1636,6 +1643,14 @@ export interface CrmAssociationStageTrackerProps {
|
|
|
1636
1643
|
sort?: Array<CrmSortDescriptor>;
|
|
1637
1644
|
}
|
|
1638
1645
|
/** @ignore */
|
|
1646
|
+
export interface CrmSimpleDeadlineProps {
|
|
1647
|
+
endDatePropertyName: string;
|
|
1648
|
+
properties: Array<string>;
|
|
1649
|
+
progressTheme?: ProgressTheme;
|
|
1650
|
+
showProperties?: boolean;
|
|
1651
|
+
startDatePropertyName: string;
|
|
1652
|
+
}
|
|
1653
|
+
/** @ignore */
|
|
1639
1654
|
export interface CrmStageTrackerProps {
|
|
1640
1655
|
objectId?: number;
|
|
1641
1656
|
objectTypeId?: string;
|
|
@@ -1651,6 +1666,21 @@ interface FilterGroup {
|
|
|
1651
1666
|
filters: Array<CrmSearchFilter>;
|
|
1652
1667
|
}
|
|
1653
1668
|
/** @ignore */
|
|
1669
|
+
interface ProgressTheme {
|
|
1670
|
+
backgroundColor?: string;
|
|
1671
|
+
completedColor?: string;
|
|
1672
|
+
upcomingColor?: string;
|
|
1673
|
+
borderRadius?: string | number;
|
|
1674
|
+
height?: string | number;
|
|
1675
|
+
completedGradient?: Gradient;
|
|
1676
|
+
upcomingGradient?: Gradient;
|
|
1677
|
+
}
|
|
1678
|
+
/** @ignore */
|
|
1679
|
+
interface Gradient {
|
|
1680
|
+
startColor: string;
|
|
1681
|
+
endColor: string;
|
|
1682
|
+
}
|
|
1683
|
+
/** @ignore */
|
|
1654
1684
|
interface BasicMetricItem extends BaseCrmStatisticItem {
|
|
1655
1685
|
statisticType: 'SUM' | 'AVG' | 'MIN' | 'MAX' | 'DISTINCT_APPROX' | 'COUNT';
|
|
1656
1686
|
propertyName: string;
|
package/dist/types.js
CHANGED
|
@@ -23,10 +23,13 @@ export const iconNames = {
|
|
|
23
23
|
add: 'add',
|
|
24
24
|
attach: 'attach',
|
|
25
25
|
date: 'date',
|
|
26
|
+
copy: 'duplicate',
|
|
26
27
|
delete: 'delete',
|
|
27
28
|
edit: 'edit',
|
|
28
29
|
email: 'email',
|
|
29
30
|
exclamation: 'exclamation',
|
|
31
|
+
question: 'question',
|
|
32
|
+
home: 'home',
|
|
30
33
|
location: 'location',
|
|
31
34
|
upCarat: 'upCarat',
|
|
32
35
|
downCarat: 'downCarat',
|
|
@@ -53,6 +56,8 @@ export const iconNames = {
|
|
|
53
56
|
search: 'search',
|
|
54
57
|
save: 'saveEditableView',
|
|
55
58
|
notification: 'notification',
|
|
59
|
+
bulb: 'bulb',
|
|
60
|
+
settings: 'settings',
|
|
56
61
|
};
|
|
57
62
|
/**
|
|
58
63
|
* @category Serverless
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.29",
|
|
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": "f3b5d93b247947c6e8c495e9ae6969ddbf35fa13"
|
|
55
55
|
}
|