@hubspot/ui-extensions 0.12.1 → 0.12.3

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 (106) hide show
  1. package/dist/__tests__/crm/utils/fetchAssociations.spec.js +1 -1
  2. package/dist/__tests__/crm/utils/fetchCrmProperties.spec.js +1 -1
  3. package/dist/crm/hooks/useAssociations.d.ts +1 -1
  4. package/dist/crm/hooks/useAssociations.js +2 -2
  5. package/dist/crm/hooks/useCrmProperties.d.ts +1 -1
  6. package/dist/crm/hooks/useCrmProperties.js +2 -2
  7. package/dist/crm/utils/fetchAssociations.d.ts +1 -1
  8. package/dist/crm/utils/fetchAssociations.js +0 -1
  9. package/dist/crm/utils/fetchCrmProperties.js +0 -1
  10. package/dist/experimental/pages/index.d.ts +4 -0
  11. package/dist/experimental/pages/index.js +3 -0
  12. package/dist/hs-internal/__tests__/createRemoteComponentInternal.spec.js +4 -4
  13. package/dist/hubspot.js +0 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/internal/global-utils.d.ts +1 -1
  17. package/dist/internal/hook-utils.d.ts +3 -3
  18. package/dist/shared/remoteComponents.d.ts +13 -2
  19. package/dist/shared/remoteComponents.js +13 -0
  20. package/dist/shared/types/components/accordion.d.ts +3 -3
  21. package/dist/shared/types/components/alert.d.ts +3 -3
  22. package/dist/shared/types/components/app-home-header-actions.d.ts +5 -5
  23. package/dist/shared/types/components/button-row.d.ts +3 -3
  24. package/dist/shared/types/components/button.d.ts +7 -6
  25. package/dist/shared/types/components/card.d.ts +2 -2
  26. package/dist/shared/types/components/chart.d.ts +3 -3
  27. package/dist/shared/types/components/description-list.d.ts +5 -5
  28. package/dist/shared/types/components/divider.d.ts +6 -2
  29. package/dist/shared/types/components/dropdown.d.ts +4 -5
  30. package/dist/shared/types/components/empty-state.d.ts +3 -3
  31. package/dist/shared/types/components/error-state.d.ts +3 -3
  32. package/dist/shared/types/components/form.d.ts +4 -4
  33. package/dist/shared/types/components/heading.d.ts +3 -3
  34. package/dist/shared/types/components/icon.d.ts +4 -4
  35. package/dist/shared/types/components/iframe.d.ts +1 -1
  36. package/dist/shared/types/components/illustration.d.ts +2 -2
  37. package/dist/shared/types/components/image.d.ts +5 -4
  38. package/dist/shared/types/components/index.d.ts +1 -0
  39. package/dist/shared/types/components/inputs.d.ts +9 -9
  40. package/dist/shared/types/components/layouts.d.ts +7 -7
  41. package/dist/shared/types/components/link.d.ts +6 -5
  42. package/dist/shared/types/components/list.d.ts +3 -3
  43. package/dist/shared/types/components/loading-spinner.d.ts +2 -2
  44. package/dist/shared/types/components/modal.d.ts +2 -2
  45. package/dist/shared/types/components/panel.d.ts +2 -2
  46. package/dist/shared/types/components/progress-bar.d.ts +2 -2
  47. package/dist/shared/types/components/score.d.ts +2 -2
  48. package/dist/shared/types/components/selects.d.ts +3 -3
  49. package/dist/shared/types/components/spacer.d.ts +14 -0
  50. package/dist/shared/types/components/spacer.js +1 -0
  51. package/dist/shared/types/components/statistics.d.ts +7 -7
  52. package/dist/shared/types/components/status-tag.d.ts +3 -3
  53. package/dist/shared/types/components/step-indicator.d.ts +2 -2
  54. package/dist/shared/types/components/table.d.ts +6 -6
  55. package/dist/shared/types/components/tabs.d.ts +2 -2
  56. package/dist/shared/types/components/tag.d.ts +6 -5
  57. package/dist/shared/types/components/text.d.ts +3 -3
  58. package/dist/shared/types/components/tile.d.ts +3 -3
  59. package/dist/shared/types/components/toggle.d.ts +2 -2
  60. package/dist/shared/types/components/toggleInputs.d.ts +4 -4
  61. package/dist/shared/types/components/tooltip.d.ts +2 -2
  62. package/dist/shared/types/crm.d.ts +188 -44
  63. package/dist/shared/types/experimental.d.ts +1 -1
  64. package/dist/shared/types/extend.d.ts +2 -2
  65. package/dist/shared/types/extension-points.d.ts +4 -5
  66. package/dist/shared/types/pages/app-pages-types.d.ts +75 -0
  67. package/dist/shared/types/pages/app-pages-types.js +1 -0
  68. package/dist/shared/types/pages/components/index.d.ts +2 -0
  69. package/dist/shared/types/pages/components/index.js +1 -0
  70. package/dist/shared/types/pages/components/page-link.d.ts +23 -0
  71. package/dist/shared/types/pages/components/page-link.js +1 -0
  72. package/dist/shared/types/pages/components/page-routes.d.ts +115 -0
  73. package/dist/shared/types/pages/components/page-routes.js +1 -0
  74. package/dist/shared/types/shared.d.ts +23 -1
  75. package/dist/shared/types/worker-globals.d.ts +17 -3
  76. package/dist/shared/utils/remote-component-registry.d.ts +1 -1
  77. package/dist/testing/__tests__/isMatch.spec.js +1 -1
  78. package/dist/testing/__tests__/mocks.runServerlessFunction.spec.js +1 -1
  79. package/dist/testing/__tests__/mocks.useAssociations.spec.js +2 -2
  80. package/dist/testing/__tests__/mocks.useCrmProperties.spec.js +2 -2
  81. package/dist/testing/__tests__/mocks.useExtensionActions.spec.js +1 -1
  82. package/dist/testing/__tests__/mocks.useExtensionApi.spec.js +1 -1
  83. package/dist/testing/__tests__/mocks.useExtensionContext.spec.js +1 -1
  84. package/dist/testing/internal/convert.d.ts +1 -1
  85. package/dist/testing/internal/convert.js +4 -5
  86. package/dist/testing/internal/debug.d.ts +1 -1
  87. package/dist/testing/internal/element.d.ts +1 -1
  88. package/dist/testing/internal/errors.d.ts +2 -2
  89. package/dist/testing/internal/fragment.d.ts +1 -1
  90. package/dist/testing/internal/match.d.ts +2 -2
  91. package/dist/testing/internal/mocks/index.d.ts +3 -3
  92. package/dist/testing/internal/mocks/index.js +1 -1
  93. package/dist/testing/internal/mocks/mock-extension-point-api.d.ts +2 -1
  94. package/dist/testing/internal/mocks/mock-extension-point-api.js +1 -1
  95. package/dist/testing/internal/mocks/mock-hooks.d.ts +1 -1
  96. package/dist/testing/internal/text.d.ts +2 -2
  97. package/dist/testing/internal/type-utils-internal.d.ts +2 -2
  98. package/dist/testing/internal/types-internal.d.ts +6 -6
  99. package/dist/testing/render.d.ts +2 -2
  100. package/dist/testing/render.js +5 -6
  101. package/dist/testing/type-utils.d.ts +1 -1
  102. package/dist/testing/type-utils.js +1 -1
  103. package/dist/testing/types.d.ts +9 -9
  104. package/dist/testing/utils.d.ts +1 -1
  105. package/dist/testing/utils.js +1 -1
  106. package/package.json +32 -24
@@ -1,4 +1,4 @@
1
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps } from '../shared.ts';
2
2
  /**
3
3
  * Generic collection of props for all inputs
4
4
  * @internal
@@ -80,7 +80,7 @@ interface BaseInputProps<T = string, V = string> extends BaseComponentProps {
80
80
  onFocus?: (value: V) => void;
81
81
  }
82
82
  /**
83
- * The props type for {@link !components.Input}.
83
+ * The props type for [Input](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/input).
84
84
  *
85
85
  * @category Component Props
86
86
  */
@@ -93,7 +93,7 @@ export interface InputProps extends BaseInputProps {
93
93
  type?: 'text' | 'password';
94
94
  }
95
95
  /**
96
- * The props type for {@link !components.TextArea}.
96
+ * The props type for [TextArea](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/text-area).
97
97
  *
98
98
  * @category Component Props
99
99
  */
@@ -130,7 +130,7 @@ export type TextareaProps = TextAreaProps;
130
130
  * */
131
131
  type BaseInputForNumber = Omit<BaseInputProps<number, number>, 'onInput'>;
132
132
  /**
133
- * The props type for {@link !components.NumberInput}.
133
+ * The props type for [NumberInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/number-input).
134
134
  *
135
135
  * @category Component Props
136
136
  */
@@ -157,7 +157,7 @@ export interface NumberInputProps extends BaseInputForNumber {
157
157
  onInput?: (value: number) => void;
158
158
  }
159
159
  /**
160
- * The props type for {@link !components.CurrencyInput}.
160
+ * The props type for [CurrencyInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/currency-input).
161
161
  *
162
162
  * @category Component Props
163
163
  */
@@ -181,7 +181,7 @@ export interface CurrencyInputProps extends BaseInputForNumber {
181
181
  max?: number;
182
182
  }
183
183
  /**
184
- * The props type for {@link !components.StepperInput}.
184
+ * The props type for [StepperInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/stepper-input).
185
185
  *
186
186
  * @category Component Props
187
187
  */
@@ -219,7 +219,7 @@ export interface DateInputEventsPayload extends BaseDate {
219
219
  * */
220
220
  type BaseDateInputForDate = Omit<BaseInputProps<BaseDate | null, DateInputEventsPayload>, 'onInput' | 'placeholder'>;
221
221
  /**
222
- * The props type for {@link !components.DateInput}.
222
+ * The props type for [DateInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/date-input).
223
223
  *
224
224
  * @category Component Props
225
225
  */
@@ -306,7 +306,7 @@ export interface TimeInputEventsPayload extends BaseTime {
306
306
  * */
307
307
  type BaseTimeInputForTime = Omit<BaseInputProps<BaseTime | null, TimeInputEventsPayload>, 'onInput' | 'placeholder' | 'onChange'>;
308
308
  /**
309
- * The props type for {@link !components.TimeInput}.
309
+ * The props type for [TimeInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/time-input).
310
310
  *
311
311
  * @category Component Props
312
312
  */
@@ -338,7 +338,7 @@ export interface TimeInputProps extends BaseTimeInputForTime {
338
338
  timezone?: 'userTz' | 'portalTz';
339
339
  }
340
340
  /**
341
- * The props type for {@link !components.SearchInput}.
341
+ * The props type for [SearchInput](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/search-input).
342
342
  *
343
343
  * @category Component Props
344
344
  */
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { AllDistances, BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { AllDistances, BaseComponentProps } from '../shared.ts';
3
3
  /**
4
- * The props type for {@link !components.Stack}.
4
+ * The props type for [Stack](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/flex).
5
5
  *
6
6
  * @category Component Props
7
7
  */
@@ -34,7 +34,7 @@ export interface StackProps extends BaseComponentProps {
34
34
  export type FlexJustify = 'center' | 'end' | 'start' | 'around' | 'between';
35
35
  export type FlexAlign = 'start' | 'center' | 'baseline' | 'end' | 'stretch';
36
36
  /**
37
- * The props type for {@link !components.Flex}.
37
+ * The props type for [Flex](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/flex).
38
38
  *
39
39
  * @category Component Props
40
40
  */
@@ -80,7 +80,7 @@ export interface FlexProps extends BaseComponentProps {
80
80
  wrap?: boolean | 'wrap' | 'nowrap';
81
81
  }
82
82
  /**
83
- * The props type for {@link !components.Box}.
83
+ * The props type for [Box](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/box).
84
84
  *
85
85
  * @category Component Props
86
86
  */
@@ -108,7 +108,7 @@ export interface BoxProps extends BaseComponentProps {
108
108
  flex?: 'initial' | 'auto' | 'none' | number;
109
109
  }
110
110
  /**
111
- * The props type for {@link !components.Inline}.
111
+ * The props type for [Inline](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/inline).
112
112
  *
113
113
  * @category Component Props
114
114
  */
@@ -137,7 +137,7 @@ export interface InlineProps extends BaseComponentProps {
137
137
  gap?: AllDistances;
138
138
  }
139
139
  /**
140
- * The props type for {@link !components.AutoGrid}.
140
+ * The props type for [AutoGrid](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/autogrid).
141
141
  *
142
142
  * @category Component Props
143
143
  */
@@ -1,8 +1,8 @@
1
- import { ReactNode } from 'react';
2
- import { OverlayComponentProps, ExtensionEvent, HrefProp, BaseComponentProps } from '../shared.ts';
3
- import { ReactionsHandler } from '../reactions.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { ReactionsHandler } from '../reactions.ts';
3
+ import type { BaseComponentProps, ExtensionEvent, HrefProp, OverlayComponentProps } from '../shared.ts';
4
4
  /**
5
- * The props type for {@link !components.Link}.
5
+ * The props type for [Link](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/link).
6
6
  *
7
7
  * @category Component Props
8
8
  */
@@ -27,7 +27,8 @@ export interface LinkProps extends OverlayComponentProps, BaseComponentProps {
27
27
  */
28
28
  variant?: 'primary' | 'destructive' | 'light' | 'dark';
29
29
  /**
30
- * A function that is invoked when the link is clicked. The function receives no arguments and its return value is ignored.
30
+ * A function that will be invoked when the button is clicked. It receives an event object and a reactions object
31
+ * with methods to control overlays. Its return value is ignored.
31
32
  *
32
33
  * @event
33
34
  */
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  /**
4
- * The props type for {@link !components.List}.
4
+ * The props type for [List](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/list).
5
5
  *
6
6
  * @category Component Props
7
7
  */
@@ -1,6 +1,6 @@
1
- import { TShirtSizes, BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps, TShirtSizes } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.LoadingSpinner}.
3
+ * The props type for [LoadingSpinner](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/loading-spinner).
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { TShirtSizes, BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps, TShirtSizes } from '../shared.ts';
3
3
  export interface ModalProps extends BaseComponentProps {
4
4
  /**
5
5
  * The modal's accessibility label.
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { TShirtSizes, BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps, TShirtSizes } from '../shared.ts';
3
3
  export interface PanelProps extends BaseComponentProps {
4
4
  /**
5
5
  * The panel's accessibility label.
@@ -1,6 +1,6 @@
1
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.ProgressBar}.
3
+ * The props type for [ProgressBar](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/progress-bar).
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -1,6 +1,6 @@
1
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.ScoreCircle}.
3
+ * The props type for [ScoreCircle](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/scorecircle)
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -1,4 +1,4 @@
1
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps } from '../shared.ts';
2
2
  /**
3
3
  * Generic collection of props for select components
4
4
  * @internal
@@ -57,7 +57,7 @@ export interface BaseSelectProps extends BaseComponentProps {
57
57
  variant?: 'transparent' | 'input';
58
58
  }
59
59
  /**
60
- * The props type for {@link !components.Select}.
60
+ * The props type for [Select](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/select).
61
61
  *
62
62
  * @category Component Props
63
63
  */
@@ -95,7 +95,7 @@ export interface SelectProps extends BaseSelectProps {
95
95
  }[];
96
96
  }
97
97
  /**
98
- * The props type for {@link !components.MultiSelect}.
98
+ * The props type for [MultiSelect](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/multi-select).
99
99
  *
100
100
  * @category Component Props
101
101
  */
@@ -0,0 +1,14 @@
1
+ import type { AllSizesUnaliased, BaseComponentProps } from '../shared.ts';
2
+ /**
3
+ * The props type for [Spacer](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/spacer)
4
+ *
5
+ * @category Component Props
6
+ */
7
+ export interface SpacerProps extends BaseComponentProps {
8
+ /**
9
+ * The amount of vertical space to render.
10
+ *
11
+ * @defaultValue `"small"`
12
+ */
13
+ size?: AllSizesUnaliased;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  /**
4
- * The props type for {@link !components.StatisticsTrend}.
4
+ * The props type for [StatisticsTrend](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/statistics).
5
5
  *
6
6
  * @category Component Props
7
7
  */
@@ -22,7 +22,7 @@ export interface StatisticsTrendProps extends BaseComponentProps {
22
22
  color?: 'red' | 'green';
23
23
  }
24
24
  /**
25
- * The props type for {@link !components.StatisticsItem}.
25
+ * The props type for [StatisticsItem](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/statistics).
26
26
  *
27
27
  * @category Component Props
28
28
  */
@@ -40,18 +40,18 @@ export interface StatisticsItemProps extends BaseComponentProps {
40
40
  */
41
41
  number: string | number;
42
42
  /**
43
- * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components. The children should be {@link !components.StatisticsTrend} or {@link !components.Text}.
43
+ * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components. The children should be [StatisticsTrend](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/statistics) or [Text](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/text).
44
44
  */
45
45
  children?: ReactNode;
46
46
  }
47
47
  /**
48
- * The props type for {@link !components.Statistics}.
48
+ * The props type for [Statistics](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/statistics).
49
49
  *
50
50
  * @category Component Props
51
51
  */
52
52
  export interface StatisticsProps extends BaseComponentProps {
53
53
  /**
54
- * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components. The children should be {@link !components.StatisticsItem}.
54
+ * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components. The children should be [StatisticsItem](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/statistics).
55
55
  */
56
56
  children: ReactNode;
57
57
  }
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  /**
4
- * The props type for {@link !components.StatusTag}.
4
+ * The props type for [StatusTag](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/status-tag).
5
5
  *
6
6
  * @category Component Props
7
7
  */
@@ -1,6 +1,6 @@
1
- import { AllSizes, BaseComponentProps } from '../shared.ts';
1
+ import type { AllSizes, BaseComponentProps } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.StepIndicator}.
3
+ * The props type for [StepIndicator](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/step-indicator).
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  export interface AlignmentProps {
4
4
  /**
5
5
  * Sets the alignment of the table element.
@@ -32,7 +32,7 @@ export type TableCellProps = TableElementProps & AlignmentProps & WidthProps & {
32
32
  colSpan?: number;
33
33
  } & BaseComponentProps;
34
34
  /**
35
- * The props type for {@link !components.TableHeader} when sorted === never.
35
+ * The props type for [TableHeader](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/table) when sorted === never.
36
36
  *
37
37
  * @category Component Props
38
38
  */
@@ -40,7 +40,7 @@ export interface UnSortedTableHeaderProps extends BaseTableHeaderProps {
40
40
  sortDirection?: 'never';
41
41
  }
42
42
  /**
43
- * The props type for {@link !components.TableHeader} when sorted !== never.
43
+ * The props type for [TableHeader](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/table) when sorted !== never.
44
44
  *
45
45
  * @category Component Props
46
46
  */
@@ -65,7 +65,7 @@ export interface SortedTableHeaderProps extends BaseTableHeaderProps {
65
65
  disabled?: boolean;
66
66
  }
67
67
  /**
68
- * The props type for {@link !components.TableHeader}.
68
+ * The props type for [TableHeader](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/table).
69
69
  *
70
70
  * @category Component Props
71
71
  */
@@ -141,7 +141,7 @@ export interface TablePaginatedProps extends BaseTableProps {
141
141
  onPageChange: (pageNumber: number) => void;
142
142
  }
143
143
  /**
144
- * The props type for {@link !components.Table}.
144
+ * The props type for [Table](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/table).
145
145
  *
146
146
  * @category Component Props
147
147
  */
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  export interface TabsProps extends BaseComponentProps {
4
4
  /**
5
5
  * Sets the content that will render inside the component.
@@ -1,8 +1,8 @@
1
- import { ReactNode } from 'react';
2
- import { OverlayComponentProps, ExtensionEvent, BaseComponentProps } from '../shared.ts';
3
- import { ReactionsHandler } from '../reactions.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { ReactionsHandler } from '../reactions.ts';
3
+ import type { BaseComponentProps, ExtensionEvent, OverlayComponentProps } from '../shared.ts';
4
4
  /**
5
- * The props type for {@link !components.Tag}.
5
+ * The props type for [Tag](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/tag).
6
6
  *
7
7
  * @category Component Props
8
8
  */
@@ -18,7 +18,8 @@ export interface TagProps extends OverlayComponentProps, BaseComponentProps {
18
18
  */
19
19
  variant?: 'default' | 'warning' | 'success' | 'error' | 'info';
20
20
  /**
21
- * A function that will be invoked when the tag is clicked. The function receives no arguments and its return value is ignored.
21
+ * A function that will be invoked when the button is clicked. It receives an event object and a reactions object
22
+ * with methods to control overlays. Its return value is ignored.
22
23
  *
23
24
  * @event
24
25
  */
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  /**
4
4
  * @internal
5
5
  * Format options for text component.
@@ -41,7 +41,7 @@ export interface TruncateOptions {
41
41
  tooltipText?: string;
42
42
  }
43
43
  /**
44
- * The props type for {@link !components.Text}.
44
+ * The props type for [Text](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/text).
45
45
  *
46
46
  * @interface
47
47
  * @category Component Props
@@ -1,7 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  /**
4
- * The props type for {@link !components.Tile}.
4
+ * The props type for [Tile](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/tile).
5
5
  *
6
6
  * @category Component Props
7
7
  */
@@ -1,6 +1,6 @@
1
- import { TShirtSizes, BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps, TShirtSizes } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.Toggle}.
3
+ * The props type for [Toggle](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/toggle).
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -1,6 +1,6 @@
1
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { BaseComponentProps } from '../shared.ts';
2
2
  /**
3
- * The props type for {@link !components.Checkbox}.
3
+ * The props type for [Checkbox](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/checkbox).
4
4
  *
5
5
  * @category Component Props
6
6
  */
@@ -61,7 +61,7 @@ export interface CheckboxProps extends BaseComponentProps {
61
61
  'aria-label'?: string;
62
62
  }
63
63
  /**
64
- * The props type for {@link !components.RadioButton}.
64
+ * The props type for [RadioButton](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/radio-button).
65
65
  * @category Component Props
66
66
  * @interface
67
67
  */
@@ -189,7 +189,7 @@ type DefaultToggleTypeProps = {
189
189
  toggleType?: never;
190
190
  } & CheckboxGroupProps;
191
191
  /**
192
- * The props type for {@link !components.ToggleGroup}.
192
+ * The props type for [ToggleGroup](https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensibility/ui-components/standard-components/toggle-group).
193
193
  *
194
194
  * @interface
195
195
  * @category Component Props
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { BaseComponentProps } from '../shared.ts';
1
+ import type { ReactNode } from 'react';
2
+ import type { BaseComponentProps } from '../shared.ts';
3
3
  export interface TooltipProps extends BaseComponentProps {
4
4
  /**
5
5
  * Sets the content to render on the screen, and serves as the trigger for the tooltip. This prop is passed implicitly by providing sub-components.