@hubspot/ui-extensions 0.8.25 → 0.8.27

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.
@@ -276,3 +276,8 @@ export declare const Icon: "Icon" & {
276
276
  readonly props?: types.IconProps | undefined;
277
277
  readonly children?: true | undefined;
278
278
  } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Icon", types.IconProps, true>>;
279
+ export declare const StatusTag: "StatusTag" & {
280
+ readonly type?: "StatusTag" | undefined;
281
+ readonly props?: types.StatusTagProps | undefined;
282
+ readonly children?: true | undefined;
283
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"StatusTag", types.StatusTagProps, true>>;
@@ -66,3 +66,4 @@ export const Modal = createRemoteReactComponent('Modal');
66
66
  export const ModalBody = createRemoteReactComponent('ModalBody');
67
67
  export const ModalFooter = createRemoteReactComponent('ModalFooter');
68
68
  export const Icon = createRemoteReactComponent('Icon');
69
+ export const StatusTag = createRemoteReactComponent('StatusTag');
@@ -12,15 +12,9 @@ declare const Slider: "Slider" & {
12
12
  readonly children?: true | undefined;
13
13
  } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Slider", types.SliderProps, true>>;
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
- declare const StatusTag: "StatusTag" & {
16
- readonly type?: "StatusTag" | undefined;
17
- readonly props?: types.StatusTagProps | undefined;
18
- readonly children?: true | undefined;
19
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"StatusTag", types.StatusTagProps, true>>;
20
- /** @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. */
21
15
  declare const Iframe: "Iframe" & {
22
16
  readonly type?: "Iframe" | undefined;
23
17
  readonly props?: types.IframeProps | undefined;
24
18
  readonly children?: true | undefined;
25
19
  } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Iframe", types.IframeProps, true>>;
26
- export { Tooltip, Slider, StatusTag, Iframe };
20
+ export { Tooltip, Slider, Iframe };
@@ -4,7 +4,5 @@ const Tooltip = createRemoteReactComponent('Tooltip');
4
4
  /** @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. */
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
- const StatusTag = createRemoteReactComponent('StatusTag');
8
- /** @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. */
9
7
  const Iframe = createRemoteReactComponent('Iframe');
10
- export { Tooltip, Slider, StatusTag, Iframe };
8
+ export { Tooltip, Slider, Iframe };
package/dist/types.d.ts CHANGED
@@ -846,12 +846,6 @@ export interface StatusTagProps {
846
846
  * @defaultValue `false `
847
847
  */
848
848
  hollow?: boolean;
849
- /**
850
- * When set to true, adjusts the styling of a status tag for better spacing on the same line as other status tags or text
851
- *
852
- * @defaultValue `false`
853
- */
854
- inline?: boolean;
855
849
  /**
856
850
  * A function that will be invoked when the status tag is clicked. It receives no arguments and its return value is ignored.
857
851
  *
@@ -1220,7 +1214,7 @@ export interface BaseContext {
1220
1214
  }
1221
1215
  /** @ignore */
1222
1216
  export interface CrmContext extends BaseContext {
1223
- location: 'crm.record.tab' | 'crm.record.sidebar' | 'crm.preview';
1217
+ location: 'crm.record.tab' | 'crm.record.sidebar' | 'crm.preview' | 'helpdesk.sidebar';
1224
1218
  crm: CrmRecordContext;
1225
1219
  extension?: AppContext;
1226
1220
  }
@@ -1727,6 +1721,7 @@ export interface ExtensionPoints {
1727
1721
  'crm.record.tab': StandardCrmExtensionPoint;
1728
1722
  'crm.preview': StandardCrmExtensionPoint;
1729
1723
  'crm.record.sidebar': CrmSidebarExtensionPoint;
1724
+ 'helpdesk.sidebar': StandardCrmExtensionPoint;
1730
1725
  }
1731
1726
  export interface ExampleCrmComponentProps {
1732
1727
  name: string;
@@ -2404,6 +2399,7 @@ export interface HubSpotFetchOptions {
2404
2399
  body?: {
2405
2400
  [key: string]: unknown;
2406
2401
  };
2402
+ headers?: Headers | Record<string, string>;
2407
2403
  }
2408
2404
  export type HubSpotFetchRequestURI = string | URL;
2409
2405
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/ui-extensions",
3
- "version": "0.8.25",
3
+ "version": "0.8.27",
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": "36b80f541eceededf57ac1c4ba6149b184564707"
54
+ "gitHead": "159fa4d11b8a3c87899b456317134037957036f4"
55
55
  }