@hubspot/ui-extensions 0.10.0 → 0.11.0

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 (133) hide show
  1. package/dist/{pages/home/components.d.ts → __synced__/appHomeRemoteComponents.synced.d.ts} +7 -7
  2. package/dist/{pages/home/components.js → __synced__/appHomeRemoteComponents.synced.js} +1 -0
  3. package/dist/{crm/components.d.ts → __synced__/crmRemoteComponents.synced.d.ts} +40 -41
  4. package/dist/__synced__/crmRemoteComponents.synced.js +15 -0
  5. package/dist/__synced__/experimental/types.synced.d.ts +241 -0
  6. package/dist/__synced__/experimental/types.synced.js +5 -0
  7. package/dist/__synced__/experimentalRemoteComponents.synced.d.ts +94 -0
  8. package/dist/__synced__/experimentalRemoteComponents.synced.js +56 -0
  9. package/dist/__synced__/remoteComponents.synced.d.ts +848 -0
  10. package/dist/__synced__/remoteComponents.synced.js +583 -0
  11. package/dist/__synced__/types/actions.synced.d.ts +57 -0
  12. package/dist/__synced__/types/actions.synced.js +1 -0
  13. package/dist/__synced__/types/components/accordion.synced.d.ts +48 -0
  14. package/dist/__synced__/types/components/accordion.synced.js +1 -0
  15. package/dist/__synced__/types/components/alert.synced.d.ts +24 -0
  16. package/dist/__synced__/types/components/alert.synced.js +1 -0
  17. package/dist/__synced__/types/components/app-home-header-actions.synced.d.ts +39 -0
  18. package/dist/__synced__/types/components/app-home-header-actions.synced.js +1 -0
  19. package/dist/__synced__/types/components/button-row.synced.d.ts +44 -0
  20. package/dist/__synced__/types/components/button-row.synced.js +1 -0
  21. package/dist/__synced__/types/components/button.synced.d.ts +89 -0
  22. package/dist/__synced__/types/components/button.synced.js +1 -0
  23. package/dist/__synced__/types/components/card.synced.d.ts +12 -0
  24. package/dist/__synced__/types/components/card.synced.js +1 -0
  25. package/dist/__synced__/types/components/chart.synced.d.ts +137 -0
  26. package/dist/__synced__/types/components/chart.synced.js +5 -0
  27. package/dist/__synced__/types/components/description-list.synced.d.ts +36 -0
  28. package/dist/__synced__/types/components/description-list.synced.js +1 -0
  29. package/dist/__synced__/types/components/divider.synced.d.ts +14 -0
  30. package/dist/__synced__/types/components/divider.synced.js +1 -0
  31. package/dist/__synced__/types/components/dropdown.synced.d.ts +84 -0
  32. package/dist/__synced__/types/components/dropdown.synced.js +1 -0
  33. package/dist/__synced__/types/components/empty-state.synced.d.ts +51 -0
  34. package/dist/__synced__/types/components/empty-state.synced.js +1 -0
  35. package/dist/__synced__/types/components/error-state.synced.d.ts +24 -0
  36. package/dist/__synced__/types/components/error-state.synced.js +1 -0
  37. package/dist/__synced__/types/components/form.synced.d.ts +29 -0
  38. package/dist/__synced__/types/components/form.synced.js +1 -0
  39. package/dist/__synced__/types/components/heading.synced.d.ts +19 -0
  40. package/dist/__synced__/types/components/heading.synced.js +1 -0
  41. package/dist/__synced__/types/components/icon.synced.d.ts +29 -0
  42. package/dist/__synced__/types/components/icon.synced.js +1 -0
  43. package/dist/__synced__/types/components/iframe.synced.d.ts +20 -0
  44. package/dist/__synced__/types/components/iframe.synced.js +1 -0
  45. package/dist/__synced__/types/components/illustration.synced.d.ts +53 -0
  46. package/dist/__synced__/types/components/illustration.synced.js +43 -0
  47. package/dist/__synced__/types/components/image.synced.d.ts +40 -0
  48. package/dist/__synced__/types/components/image.synced.js +1 -0
  49. package/dist/__synced__/types/components/index.synced.d.ts +38 -0
  50. package/dist/__synced__/types/components/index.synced.js +1 -0
  51. package/dist/__synced__/types/components/inputs.synced.d.ts +350 -0
  52. package/dist/__synced__/types/components/inputs.synced.js +1 -0
  53. package/dist/__synced__/types/components/layouts.synced.d.ts +172 -0
  54. package/dist/__synced__/types/components/layouts.synced.js +1 -0
  55. package/dist/__synced__/types/components/link.synced.d.ts +38 -0
  56. package/dist/__synced__/types/components/link.synced.js +1 -0
  57. package/dist/__synced__/types/components/list.synced.d.ts +18 -0
  58. package/dist/__synced__/types/components/list.synced.js +1 -0
  59. package/dist/__synced__/types/components/loading-spinner.synced.d.ts +31 -0
  60. package/dist/__synced__/types/components/loading-spinner.synced.js +1 -0
  61. package/dist/__synced__/types/components/modal.synced.d.ts +60 -0
  62. package/dist/__synced__/types/components/modal.synced.js +1 -0
  63. package/dist/__synced__/types/components/panel.synced.d.ts +73 -0
  64. package/dist/__synced__/types/components/panel.synced.js +1 -0
  65. package/dist/__synced__/types/components/progress-bar.synced.d.ts +48 -0
  66. package/dist/__synced__/types/components/progress-bar.synced.js +1 -0
  67. package/dist/__synced__/types/components/selects.synced.d.ts +130 -0
  68. package/dist/__synced__/types/components/selects.synced.js +1 -0
  69. package/dist/__synced__/types/components/statistics.synced.d.ts +56 -0
  70. package/dist/__synced__/types/components/statistics.synced.js +1 -0
  71. package/dist/__synced__/types/components/status-tag.synced.d.ts +42 -0
  72. package/dist/__synced__/types/components/status-tag.synced.js +1 -0
  73. package/dist/__synced__/types/components/step-indicator.synced.d.ts +44 -0
  74. package/dist/__synced__/types/components/step-indicator.synced.js +1 -0
  75. package/dist/__synced__/types/components/table.synced.d.ts +138 -0
  76. package/dist/__synced__/types/components/table.synced.js +1 -0
  77. package/dist/__synced__/types/components/tabs.synced.d.ts +55 -0
  78. package/dist/__synced__/types/components/tabs.synced.js +1 -0
  79. package/dist/__synced__/types/components/tag.synced.d.ts +32 -0
  80. package/dist/__synced__/types/components/tag.synced.js +1 -0
  81. package/dist/__synced__/types/components/text.synced.d.ts +93 -0
  82. package/dist/__synced__/types/components/text.synced.js +1 -0
  83. package/dist/__synced__/types/components/tile.synced.d.ts +24 -0
  84. package/dist/__synced__/types/components/tile.synced.js +1 -0
  85. package/dist/__synced__/types/components/toggle.synced.d.ts +60 -0
  86. package/dist/__synced__/types/components/toggle.synced.js +1 -0
  87. package/dist/__synced__/types/components/toggleInputs.synced.d.ts +191 -0
  88. package/dist/__synced__/types/components/toggleInputs.synced.js +1 -0
  89. package/dist/__synced__/types/components/tooltip.synced.d.ts +12 -0
  90. package/dist/__synced__/types/components/tooltip.synced.js +1 -0
  91. package/dist/__synced__/types/context.synced.d.ts +82 -0
  92. package/dist/__synced__/types/context.synced.js +1 -0
  93. package/dist/__synced__/types/crm.synced.d.ts +248 -0
  94. package/dist/__synced__/types/crm.synced.js +1 -0
  95. package/dist/__synced__/types/extension-points.synced.d.ts +122 -0
  96. package/dist/__synced__/types/extension-points.synced.js +9 -0
  97. package/dist/__synced__/types/http-requests.synced.d.ts +106 -0
  98. package/dist/__synced__/types/http-requests.synced.js +8 -0
  99. package/dist/__synced__/types/index.synced.d.ts +8 -0
  100. package/dist/__synced__/types/index.synced.js +9 -0
  101. package/dist/__synced__/types/reactions.synced.d.ts +12 -0
  102. package/dist/__synced__/types/reactions.synced.js +1 -0
  103. package/dist/__synced__/types/shared.synced.d.ts +197 -0
  104. package/dist/__synced__/types/shared.synced.js +179 -0
  105. package/dist/coreComponents.d.ts +21 -5
  106. package/dist/coreComponents.js +23 -1
  107. package/dist/crm/hooks/useAssociations.d.ts +3 -0
  108. package/dist/crm/hooks/useAssociations.js +3 -5
  109. package/dist/crm/hooks/useCrmProperties.d.ts +0 -2
  110. package/dist/crm/hooks/useCrmProperties.js +0 -7
  111. package/dist/crm/index.d.ts +2 -2
  112. package/dist/crm/index.js +1 -2
  113. package/dist/experimental/index.d.ts +2 -79
  114. package/dist/experimental/index.js +1 -36
  115. package/dist/experimental/testing/internal/types-internal.d.ts +47 -0
  116. package/dist/experimental/testing/internal/types-internal.js +1 -0
  117. package/dist/experimental/testing/type-utils.d.ts +29 -0
  118. package/dist/experimental/testing/type-utils.js +37 -0
  119. package/dist/experimental/testing/types.d.ts +240 -0
  120. package/dist/experimental/testing/types.js +10 -0
  121. package/dist/experimental/types.d.ts +4 -9
  122. package/dist/pages/home/index.d.ts +1 -0
  123. package/dist/pages/home/index.js +1 -0
  124. package/dist/types.d.ts +90 -4
  125. package/dist/types.js +0 -3
  126. package/package.json +4 -7
  127. package/dist/crm/components.js +0 -15
  128. package/dist/experimental/testing/index.d.ts +0 -14
  129. package/dist/experimental/testing/index.js +0 -33
  130. package/dist/experimental/testing/jest/matchers/index.d.ts +0 -6
  131. package/dist/experimental/testing/jest/matchers/index.js +0 -6
  132. package/dist/utils/createExtensionComponent.d.ts +0 -3
  133. package/dist/utils/createExtensionComponent.js +0 -4
@@ -1,28 +1,28 @@
1
- import type * as types from '../../types';
1
+ import type * as componentTypes from './types/components/index.synced';
2
2
  /**
3
3
  * The `HeaderActions` component renders a container for action buttons in the app home header. It accepts `PrimaryHeaderActionButton` and `SecondaryHeaderActionButton` as children.
4
4
  *
5
5
  */
6
6
  export declare const HeaderActions: "HeaderActions" & {
7
7
  readonly type?: "HeaderActions" | undefined;
8
- readonly props?: types.HeaderActionsProps | undefined;
8
+ readonly props?: componentTypes.HeaderActionsProps | undefined;
9
9
  readonly children?: true | undefined;
10
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"HeaderActions", types.HeaderActionsProps, true>>;
10
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"HeaderActions", componentTypes.HeaderActionsProps, true>>;
11
11
  /**
12
12
  * The `PrimaryHeaderActionButton` component renders a primary action button in the app home header. This button is styled as the main call-to-action and only one should be used per `HeaderActions` container.
13
13
  *
14
14
  */
15
15
  export declare const PrimaryHeaderActionButton: "PrimaryHeaderActionButton" & {
16
16
  readonly type?: "PrimaryHeaderActionButton" | undefined;
17
- readonly props?: types.HeaderActionButtonProps | undefined;
17
+ readonly props?: componentTypes.HeaderActionButtonProps | undefined;
18
18
  readonly children?: true | undefined;
19
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"PrimaryHeaderActionButton", types.HeaderActionButtonProps, true>>;
19
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"PrimaryHeaderActionButton", componentTypes.HeaderActionButtonProps, true>>;
20
20
  /**
21
21
  * The `SecondaryHeaderActionButton` component renders a secondary action button in the app home header. Multiple secondary actions can be used and they will be grouped appropriately in the header.
22
22
  *
23
23
  */
24
24
  export declare const SecondaryHeaderActionButton: "SecondaryHeaderActionButton" & {
25
25
  readonly type?: "SecondaryHeaderActionButton" | undefined;
26
- readonly props?: types.HeaderActionButtonProps | undefined;
26
+ readonly props?: componentTypes.HeaderActionButtonProps | undefined;
27
27
  readonly children?: true | undefined;
28
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"SecondaryHeaderActionButton", types.HeaderActionButtonProps, true>>;
28
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"SecondaryHeaderActionButton", componentTypes.HeaderActionButtonProps, true>>;
@@ -1,3 +1,4 @@
1
+ // Do not manually update this file, changes will be autogenerated by our scripts based on: ui-extensions-remote-renderer/static/js/appHomeRemoteComponents.ts
1
2
  import { createRemoteReactComponent } from '@remote-ui/react';
2
3
  /**
3
4
  * The `HeaderActions` component renders a container for action buttons in the app home header. It accepts `PrimaryHeaderActionButton` and `SecondaryHeaderActionButton` as children.
@@ -1,67 +1,66 @@
1
- import { CrmAssociationPivotProps, CrmAssociationTableProps, CrmDataHighlightProps, CrmPropertyListProps, CrmReportProps, CrmAssociationPropertyListProps, CrmAssociationStageTrackerProps, CrmSimpleDeadlineProps, CrmStageTrackerProps, CrmStatisticsProps, CrmActionButtonProps, CrmActionLinkProps, CrmCardActionsProps } from '../types';
2
- declare const CrmPropertyList: "CrmPropertyList" & {
1
+ import * as crmTypes from './types/crm.synced';
2
+ export declare const CrmPropertyList: "CrmPropertyList" & {
3
3
  readonly type?: "CrmPropertyList" | undefined;
4
- readonly props?: CrmPropertyListProps | undefined;
4
+ readonly props?: crmTypes.CrmPropertyListProps | undefined;
5
5
  readonly children?: true | undefined;
6
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmPropertyList", CrmPropertyListProps, true>>;
7
- declare const CrmAssociationTable: "CrmAssociationTable" & {
6
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmPropertyList", crmTypes.CrmPropertyListProps, true>>;
7
+ export declare const CrmAssociationTable: "CrmAssociationTable" & {
8
8
  readonly type?: "CrmAssociationTable" | undefined;
9
- readonly props?: CrmAssociationTableProps | undefined;
9
+ readonly props?: crmTypes.CrmAssociationTableProps | undefined;
10
10
  readonly children?: true | undefined;
11
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationTable", CrmAssociationTableProps, true>>;
12
- declare const CrmDataHighlight: "CrmDataHighlight" & {
11
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationTable", crmTypes.CrmAssociationTableProps, true>>;
12
+ export declare const CrmDataHighlight: "CrmDataHighlight" & {
13
13
  readonly type?: "CrmDataHighlight" | undefined;
14
- readonly props?: CrmDataHighlightProps | undefined;
14
+ readonly props?: crmTypes.CrmDataHighlightProps | undefined;
15
15
  readonly children?: true | undefined;
16
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmDataHighlight", CrmDataHighlightProps, true>>;
17
- declare const CrmReport: "CrmReport" & {
16
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmDataHighlight", crmTypes.CrmDataHighlightProps, true>>;
17
+ export declare const CrmReport: "CrmReport" & {
18
18
  readonly type?: "CrmReport" | undefined;
19
- readonly props?: CrmReportProps | undefined;
19
+ readonly props?: crmTypes.CrmReportProps | undefined;
20
20
  readonly children?: true | undefined;
21
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmReport", CrmReportProps, true>>;
22
- declare const CrmAssociationPivot: "CrmAssociationPivot" & {
21
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmReport", crmTypes.CrmReportProps, true>>;
22
+ export declare const CrmAssociationPivot: "CrmAssociationPivot" & {
23
23
  readonly type?: "CrmAssociationPivot" | undefined;
24
- readonly props?: CrmAssociationPivotProps | undefined;
24
+ readonly props?: crmTypes.CrmAssociationPivotProps | undefined;
25
25
  readonly children?: true | undefined;
26
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationPivot", CrmAssociationPivotProps, true>>;
27
- declare const CrmAssociationPropertyList: "CrmAssociationPropertyList" & {
26
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationPivot", crmTypes.CrmAssociationPivotProps, true>>;
27
+ export declare const CrmAssociationPropertyList: "CrmAssociationPropertyList" & {
28
28
  readonly type?: "CrmAssociationPropertyList" | undefined;
29
- readonly props?: CrmAssociationPropertyListProps | undefined;
29
+ readonly props?: crmTypes.CrmAssociationPropertyListProps | undefined;
30
30
  readonly children?: true | undefined;
31
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationPropertyList", CrmAssociationPropertyListProps, true>>;
32
- declare const CrmAssociationStageTracker: "CrmAssociationStageTracker" & {
31
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationPropertyList", crmTypes.CrmAssociationPropertyListProps, true>>;
32
+ export declare const CrmAssociationStageTracker: "CrmAssociationStageTracker" & {
33
33
  readonly type?: "CrmAssociationStageTracker" | undefined;
34
- readonly props?: CrmAssociationStageTrackerProps | undefined;
34
+ readonly props?: crmTypes.CrmAssociationStageTrackerProps | undefined;
35
35
  readonly children?: true | undefined;
36
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationStageTracker", CrmAssociationStageTrackerProps, true>>;
37
- declare const CrmSimpleDeadline: "CrmSimpleDeadline" & {
36
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmAssociationStageTracker", crmTypes.CrmAssociationStageTrackerProps, true>>;
37
+ export declare const CrmSimpleDeadline: "CrmSimpleDeadline" & {
38
38
  readonly type?: "CrmSimpleDeadline" | undefined;
39
- readonly props?: CrmSimpleDeadlineProps | undefined;
39
+ readonly props?: crmTypes.CrmSimpleDeadlineProps | undefined;
40
40
  readonly children?: true | undefined;
41
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmSimpleDeadline", CrmSimpleDeadlineProps, true>>;
42
- declare const CrmStageTracker: "CrmStageTracker" & {
41
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmSimpleDeadline", crmTypes.CrmSimpleDeadlineProps, true>>;
42
+ export declare const CrmStageTracker: "CrmStageTracker" & {
43
43
  readonly type?: "CrmStageTracker" | undefined;
44
- readonly props?: CrmStageTrackerProps | undefined;
44
+ readonly props?: crmTypes.CrmStageTrackerProps | undefined;
45
45
  readonly children?: true | undefined;
46
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmStageTracker", CrmStageTrackerProps, true>>;
47
- declare const CrmStatistics: "CrmStatistics" & {
46
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmStageTracker", crmTypes.CrmStageTrackerProps, true>>;
47
+ export declare const CrmStatistics: "CrmStatistics" & {
48
48
  readonly type?: "CrmStatistics" | undefined;
49
- readonly props?: CrmStatisticsProps | undefined;
49
+ readonly props?: crmTypes.CrmStatisticsProps | undefined;
50
50
  readonly children?: true | undefined;
51
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmStatistics", CrmStatisticsProps, true>>;
52
- declare const CrmActionButton: "CrmActionButton" & {
51
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmStatistics", crmTypes.CrmStatisticsProps, true>>;
52
+ export declare const CrmActionButton: "CrmActionButton" & {
53
53
  readonly type?: "CrmActionButton" | undefined;
54
- readonly props?: CrmActionButtonProps | undefined;
54
+ readonly props?: crmTypes.CrmActionButtonProps | undefined;
55
55
  readonly children?: true | undefined;
56
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmActionButton", CrmActionButtonProps, true>>;
57
- declare const CrmActionLink: "CrmActionLink" & {
56
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmActionButton", crmTypes.CrmActionButtonProps, true>>;
57
+ export declare const CrmActionLink: "CrmActionLink" & {
58
58
  readonly type?: "CrmActionLink" | undefined;
59
- readonly props?: CrmActionLinkProps | undefined;
59
+ readonly props?: crmTypes.CrmActionLinkProps | undefined;
60
60
  readonly children?: true | undefined;
61
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmActionLink", CrmActionLinkProps, true>>;
62
- declare const CrmCardActions: "CrmCardActions" & {
61
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmActionLink", crmTypes.CrmActionLinkProps, true>>;
62
+ export declare const CrmCardActions: "CrmCardActions" & {
63
63
  readonly type?: "CrmCardActions" | undefined;
64
- readonly props?: CrmCardActionsProps | undefined;
64
+ readonly props?: crmTypes.CrmCardActionsProps | undefined;
65
65
  readonly children?: true | undefined;
66
- } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmCardActions", CrmCardActionsProps, true>>;
67
- export { CrmPropertyList, CrmAssociationTable, CrmDataHighlight, CrmReport, CrmAssociationPivot, CrmAssociationPropertyList, CrmAssociationStageTracker, CrmSimpleDeadline, CrmStageTracker, CrmStatistics, CrmActionButton, CrmActionLink, CrmCardActions, };
66
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"CrmCardActions", crmTypes.CrmCardActionsProps, true>>;
@@ -0,0 +1,15 @@
1
+ // Do not manually update this file, changes will be autogenerated by our scripts based on: ui-extensions-remote-renderer/static/js/crmRemoteComponents.ts
2
+ import { createRemoteReactComponent } from '@remote-ui/react';
3
+ export const CrmPropertyList = createRemoteReactComponent('CrmPropertyList');
4
+ export const CrmAssociationTable = createRemoteReactComponent('CrmAssociationTable');
5
+ export const CrmDataHighlight = createRemoteReactComponent('CrmDataHighlight');
6
+ export const CrmReport = createRemoteReactComponent('CrmReport');
7
+ export const CrmAssociationPivot = createRemoteReactComponent('CrmAssociationPivot');
8
+ export const CrmAssociationPropertyList = createRemoteReactComponent('CrmAssociationPropertyList');
9
+ export const CrmAssociationStageTracker = createRemoteReactComponent('CrmAssociationStageTracker');
10
+ export const CrmSimpleDeadline = createRemoteReactComponent('CrmSimpleDeadline');
11
+ export const CrmStageTracker = createRemoteReactComponent('CrmStageTracker');
12
+ export const CrmStatistics = createRemoteReactComponent('CrmStatistics');
13
+ export const CrmActionButton = createRemoteReactComponent('CrmActionButton');
14
+ export const CrmActionLink = createRemoteReactComponent('CrmActionLink');
15
+ export const CrmCardActions = createRemoteReactComponent('CrmCardActions');
@@ -0,0 +1,241 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { RemoteFragment } from '@remote-ui/core';
3
+ import type { AllDistances, ExtensionEvent } from '../types/shared.synced';
4
+ import type { ReactionsHandler } from '../types/reactions.synced';
5
+ /**
6
+ * @ignore
7
+ * @experimental do not use in production
8
+ */
9
+ interface BaseLayout {
10
+ fullWidth?: boolean;
11
+ fullHeight?: boolean;
12
+ }
13
+ /**
14
+ * @ignore
15
+ * @experimental do not use in production
16
+ */
17
+ export type FlexJustify = 'center' | 'end' | 'start' | 'around' | 'between';
18
+ /**
19
+ * @ignore
20
+ * @experimental do not use in production
21
+ */
22
+ export type FlexAlign = 'start' | 'center' | 'baseline' | 'end' | 'stretch';
23
+ /**
24
+ * @ignore
25
+ * @experimental do not use in production
26
+ */
27
+ export interface Stack2Props extends BaseLayout {
28
+ align?: FlexAlign;
29
+ gap?: AllDistances;
30
+ children?: ReactNode;
31
+ }
32
+ /**
33
+ * @ignore
34
+ * @experimental do not use in production
35
+ */
36
+ export interface CenterProps extends BaseLayout {
37
+ maxContentSize?: number | string;
38
+ gutter?: AllDistances;
39
+ children?: ReactNode;
40
+ }
41
+ /**
42
+ * @ignore
43
+ * @experimental
44
+ */
45
+ export interface MediaObjectProps {
46
+ align?: 'start' | 'center' | 'baseline' | 'end' | 'stretch';
47
+ spacing?: 'none' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
48
+ children?: ReactNode;
49
+ itemLeft?: RemoteFragment;
50
+ itemRight?: RemoteFragment;
51
+ }
52
+ export interface GridProps {
53
+ justify?: FlexJustify;
54
+ align?: FlexAlign;
55
+ gap?: AllDistances;
56
+ size?: number;
57
+ children?: ReactNode;
58
+ }
59
+ export interface GridItemProps {
60
+ size?: number;
61
+ children?: ReactNode;
62
+ offset?: number;
63
+ }
64
+ /**
65
+ * @ignore
66
+ * @experimental do not use in production
67
+ */
68
+ export interface SettingsViewProps {
69
+ /**
70
+ * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
71
+ */
72
+ children: ReactNode;
73
+ /**
74
+ * If set to `true`, will show the save bar with "cancel" and "save" buttons at the bottom of the page.
75
+ *
76
+ * @defaultValue `false`
77
+ */
78
+ saveBarVisible?: boolean;
79
+ /**
80
+ * Used in the save bar to let the user know how many settings they've changed and not yet saved.
81
+ */
82
+ numberOfSettingsChanged?: number;
83
+ /**
84
+ * The function that will be invoked when the save button in the save bar is clicked.
85
+ *
86
+ * @event
87
+ */
88
+ onSave?: ReactionsHandler<ExtensionEvent>;
89
+ /**
90
+ * The function that will be invoked when the cancel button in the save bar is clicked.
91
+ *
92
+ * @event
93
+ */
94
+ onCancel?: ReactionsHandler<ExtensionEvent>;
95
+ }
96
+ /**
97
+ * @ignore
98
+ * @experimental do not use in production
99
+ */
100
+ export interface ExpandableTextProps {
101
+ children: ReactNode;
102
+ maxHeight?: number;
103
+ expandButtonText?: string;
104
+ collapseButtonText?: string;
105
+ expanded?: boolean;
106
+ }
107
+ /**
108
+ * @ignore
109
+ * @experimental do not use in production
110
+ */
111
+ export interface PopoverProps {
112
+ /**
113
+ * A unique ID for the popover. Used to identify the popover in the overlay system.
114
+ *
115
+ */
116
+ id: string;
117
+ /**
118
+ * The content to render inside the popover.
119
+ */
120
+ children: ReactNode;
121
+ /**
122
+ * The placement of the popover.
123
+ *
124
+ * @defaultValue `top`
125
+ */
126
+ placement?: 'left' | 'right' | 'top' | 'bottom';
127
+ /**
128
+ * The variant of the popover.
129
+ *
130
+ * @defaultValue `default`
131
+ */
132
+ variant?: 'default' | 'shepherd' | 'longform';
133
+ /**
134
+ * If set to `true`, will show the close button in the popover. PopoverHeader required to display close button.
135
+ *
136
+ * @defaultValue `false`
137
+ */
138
+ showCloseButton?: boolean;
139
+ /**
140
+ * The size of the arrow in the popover. If set to `none`, the arrow will not be displayed.
141
+ *
142
+ * @defaultValue `small`
143
+ */
144
+ arrowSize?: 'none' | 'small' | 'medium';
145
+ }
146
+ /**
147
+ * @ignore
148
+ * @experimental do not use in production
149
+ */
150
+ export interface FileInputProps {
151
+ value?: File | {
152
+ name: string;
153
+ };
154
+ name: string;
155
+ onChange: (event: any) => void;
156
+ }
157
+ /**
158
+ * Generic collection of props for all inputs (experimental version)
159
+ * @internal
160
+ * */
161
+ export interface BaseInputProps<T = string, V = string> {
162
+ /**
163
+ * The label text to display for the form input element.
164
+ */
165
+ label: string;
166
+ /**
167
+ * The unique identifier for the input element, this could be thought of as the HTML5 [Input element's name attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name).
168
+ */
169
+ name: string;
170
+ /**
171
+ * The value of the input.
172
+ */
173
+ value?: T;
174
+ /**
175
+ * Determines if the required indicator should be displayed.
176
+ *
177
+ * @defaultValue `false`
178
+ */
179
+ required?: boolean;
180
+ /**
181
+ * Determines if the field is editable or not.
182
+ *
183
+ * @defaultValue `false`
184
+ */
185
+ readOnly?: boolean;
186
+ /**
187
+ * Instructional message to display to the user to help understand the purpose of the input.
188
+ */
189
+ description?: string;
190
+ /**
191
+ * Text that will appear in a tooltip next to the input label.
192
+ */
193
+ tooltip?: string;
194
+ /**
195
+ * Text that appears in the input when it has no value set.
196
+ */
197
+ placeholder?: string;
198
+ /**
199
+ * If set to `true`, `validationMessage` is displayed as an error message, if it was provided. The input will also render its error state to let the user know there is an error. If set to `false`, `validationMessage` is displayed as a success message.
200
+ *
201
+ * @defaultValue `false`
202
+ */
203
+ error?: boolean;
204
+ /**
205
+ * The value of the input on the first render.
206
+ */
207
+ defaultValue?: T;
208
+ /**
209
+ * The text to show under the input for error or success validations.
210
+ */
211
+ validationMessage?: string;
212
+ /**
213
+ * A callback function that is invoked when the value is committed. Currently these times are `onBlur` of the input and when the user submits the form.
214
+ *
215
+ * @event
216
+ */
217
+ onChange?: (value: V) => void;
218
+ /**
219
+ * A function that is called and passed the value every time the field is edited by the user. It is recommended that you do not use this value to update state, that is what `onChange` should be used for. Instead this should be used for validation.
220
+ *
221
+ * @event
222
+ */
223
+ onInput?: (value: V) => void;
224
+ /**
225
+ * A function that is called and passed the value every time the field loses focus.
226
+ *
227
+ * @event
228
+ */
229
+ onBlur?: (value: V) => void;
230
+ /**
231
+ * A function that is called and passed the value every time the field gets focused.
232
+ *
233
+ * @event
234
+ */
235
+ onFocus?: (value: V) => void;
236
+ }
237
+ export {};
238
+ /**
239
+ * @ignore
240
+ * @experimental do not use in production
241
+ */
@@ -0,0 +1,5 @@
1
+ export {};
2
+ /**
3
+ * @ignore
4
+ * @experimental do not use in production
5
+ */
@@ -0,0 +1,94 @@
1
+ import type * as componentTypes from './types/components/index.synced';
2
+ import type * as experimentalTypes from './experimental/types.synced';
3
+ /**
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
+ */
6
+ export declare const Iframe: "Iframe" & {
7
+ readonly type?: "Iframe" | undefined;
8
+ readonly props?: componentTypes.IframeProps | undefined;
9
+ readonly children?: true | undefined;
10
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Iframe", componentTypes.IframeProps, true>>;
11
+ /**
12
+ * @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.
13
+ */
14
+ export declare const MediaObject: "MediaObject" & {
15
+ readonly type?: "MediaObject" | undefined;
16
+ readonly props?: experimentalTypes.MediaObjectProps | undefined;
17
+ readonly children?: true | undefined;
18
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"MediaObject", experimentalTypes.MediaObjectProps, true>>;
19
+ /**
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
+ */
22
+ export declare const Stack2: "Stack2" & {
23
+ readonly type?: "Stack2" | undefined;
24
+ readonly props?: experimentalTypes.Stack2Props | undefined;
25
+ readonly children?: true | undefined;
26
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Stack2", experimentalTypes.Stack2Props, true>>;
27
+ /**
28
+ * @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.
29
+ */
30
+ export declare const Center: "Center" & {
31
+ readonly type?: "Center" | undefined;
32
+ readonly props?: experimentalTypes.CenterProps | undefined;
33
+ readonly children?: true | undefined;
34
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Center", experimentalTypes.CenterProps, true>>;
35
+ /**
36
+ * @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.
37
+ */
38
+ export declare const Grid: "Grid" & {
39
+ readonly type?: "Grid" | undefined;
40
+ readonly props?: experimentalTypes.GridProps | undefined;
41
+ readonly children?: true | undefined;
42
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Grid", experimentalTypes.GridProps, true>>;
43
+ /**
44
+ * @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.
45
+ */
46
+ export declare const GridItem: "GridItem" & {
47
+ readonly type?: "GridItem" | undefined;
48
+ readonly props?: experimentalTypes.GridItemProps | undefined;
49
+ readonly children?: true | undefined;
50
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"GridItem", experimentalTypes.GridItemProps, true>>;
51
+ /**
52
+ * @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.
53
+ */
54
+ export declare const SettingsView: "SettingsView" & {
55
+ readonly type?: "SettingsView" | undefined;
56
+ readonly props?: experimentalTypes.SettingsViewProps | undefined;
57
+ readonly children?: true | undefined;
58
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"SettingsView", experimentalTypes.SettingsViewProps, true>>;
59
+ /**
60
+ * The `ExpandableText` component renders a text that can be expanded or collapsed based on a maximum height.
61
+ *
62
+ * @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.
63
+ *
64
+ * **Links:**
65
+ *
66
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/expandable-text ExpandableText Docs}
67
+ */
68
+ export declare const ExpandableText: "ExpandableText" & {
69
+ readonly type?: "ExpandableText" | undefined;
70
+ readonly props?: experimentalTypes.ExpandableTextProps | undefined;
71
+ readonly children?: true | undefined;
72
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"ExpandableText", experimentalTypes.ExpandableTextProps, true>>;
73
+ /**
74
+ * The `Popover` component renders a popover overlay that can contain other components.
75
+ *
76
+ * @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.
77
+ *
78
+ * **Links:**
79
+ *
80
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/popover Popover Docs}
81
+ */
82
+ export declare const Popover: "Popover" & {
83
+ readonly type?: "Popover" | undefined;
84
+ readonly props?: experimentalTypes.PopoverProps | undefined;
85
+ readonly children?: true | undefined;
86
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"Popover", experimentalTypes.PopoverProps, true>>;
87
+ /**
88
+ * @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.
89
+ */
90
+ export declare const FileInput: "FileInput" & {
91
+ readonly type?: "FileInput" | undefined;
92
+ readonly props?: experimentalTypes.FileInputProps | undefined;
93
+ readonly children?: true | undefined;
94
+ } & import("@remote-ui/react").ReactComponentTypeFromRemoteComponentType<import("@remote-ui/types").RemoteComponentType<"FileInput", experimentalTypes.FileInputProps, true>>;
@@ -0,0 +1,56 @@
1
+ // Do not manually update this file, changes will be autogenerated by our scripts based on: ui-extensions-remote-renderer/static/js/experimentalRemoteComponents.ts
2
+ import { createRemoteReactComponent } from '@remote-ui/react';
3
+ /**
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
+ */
6
+ export const Iframe = createRemoteReactComponent('Iframe');
7
+ /**
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
+ */
10
+ export const MediaObject = createRemoteReactComponent('MediaObject', {
11
+ fragmentProps: ['itemRight', 'itemLeft'],
12
+ });
13
+ /**
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
+ */
16
+ export const Stack2 = createRemoteReactComponent('Stack2');
17
+ /**
18
+ * @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.
19
+ */
20
+ export const Center = createRemoteReactComponent('Center');
21
+ /**
22
+ * @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.
23
+ */
24
+ export const Grid = createRemoteReactComponent('Grid');
25
+ /**
26
+ * @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.
27
+ */
28
+ export const GridItem = createRemoteReactComponent('GridItem');
29
+ /**
30
+ * @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.
31
+ */
32
+ export const SettingsView = createRemoteReactComponent('SettingsView');
33
+ /**
34
+ * The `ExpandableText` component renders a text that can be expanded or collapsed based on a maximum height.
35
+ *
36
+ * @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.
37
+ *
38
+ * **Links:**
39
+ *
40
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/expandable-text ExpandableText Docs}
41
+ */
42
+ export const ExpandableText = createRemoteReactComponent('ExpandableText');
43
+ /**
44
+ * The `Popover` component renders a popover overlay that can contain other components.
45
+ *
46
+ * @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.
47
+ *
48
+ * **Links:**
49
+ *
50
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/popover Popover Docs}
51
+ */
52
+ export const Popover = createRemoteReactComponent('Popover');
53
+ /**
54
+ * @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.
55
+ */
56
+ export const FileInput = createRemoteReactComponent('FileInput');