@hubspot/ui-extensions 0.8.11 → 0.8.13

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +10 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -836,6 +836,12 @@ export interface TileProps {
836
836
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
837
837
  */
838
838
  children: ReactNode;
839
+ /**
840
+ * When set to `true`, reduces the default amount of padding around the contents of the Tile.
841
+ *
842
+ * @defaulValue `false`
843
+ */
844
+ compact?: boolean;
839
845
  /**
840
846
  * When set to `true`, removes left and right padding from tile contents.
841
847
  *
@@ -1281,6 +1287,7 @@ type AlertType = 'info' | 'warning' | 'success' | 'danger' | 'tip' | undefined;
1281
1287
  export type AddAlertAction = (args: {
1282
1288
  type?: AlertType;
1283
1289
  message: string;
1290
+ title?: string;
1284
1291
  }) => void;
1285
1292
  /** @ignore */
1286
1293
  export type ReloadPageAction = () => void;
@@ -1345,6 +1352,7 @@ export interface CrmDataHighlightProps {
1345
1352
  /** @ignore */
1346
1353
  export interface CrmReportProps {
1347
1354
  reportId: string;
1355
+ use?: 'associations' | 'subject' | 'unfiltered';
1348
1356
  }
1349
1357
  /** @ignore */
1350
1358
  export interface CrmPropertyListProps {
@@ -1476,6 +1484,7 @@ interface BaseActionComponent {
1476
1484
  export interface CrmActionButtonProps extends BaseActionComponent {
1477
1485
  variant?: 'primary' | 'secondary' | 'destructive';
1478
1486
  type?: 'button' | 'reset' | 'submit';
1487
+ size?: TShirtSizes['xs'] | TShirtSizes['sm'] | TShirtSizes['md'];
1479
1488
  }
1480
1489
  /** @ignore */
1481
1490
  export interface CrmActionLinkProps extends BaseActionComponent {
@@ -1552,6 +1561,7 @@ interface OpenIframeActionPayload {
1552
1561
  height: number;
1553
1562
  width: number;
1554
1563
  associatedObjectProperties?: string[];
1564
+ title?: string;
1555
1565
  }
1556
1566
  /**
1557
1567
  * The props type for {@link !components.LoadingSpinner}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/ui-extensions",
3
- "version": "0.8.11",
3
+ "version": "0.8.13",
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": "67d77644bf3e0748827773954c3c8024699f2717"
54
+ "gitHead": "346e376258bf50d9a124e7f0a64b9dfdcf334006"
55
55
  }