@hubspot/ui-extensions 0.11.1 → 0.11.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 (236) hide show
  1. package/dist/__tests__/crm/hooks/useAssociations.spec.js +36 -32
  2. package/dist/__tests__/crm/hooks/useCrmProperties.spec.js +20 -19
  3. package/dist/__tests__/crm/utils/fetchAssociations.spec.js +13 -12
  4. package/dist/__tests__/crm/utils/fetchCrmProperties.spec.js +38 -37
  5. package/dist/clientTypes.d.ts +1 -0
  6. package/dist/clientTypes.js +1 -1
  7. package/dist/crm/hooks/useAssociations.d.ts +5 -3
  8. package/dist/crm/hooks/useAssociations.js +4 -2
  9. package/dist/crm/hooks/useCrmProperties.d.ts +4 -2
  10. package/dist/crm/hooks/useCrmProperties.js +4 -2
  11. package/dist/crm/index.d.ts +4 -4
  12. package/dist/crm/index.js +3 -3
  13. package/dist/crm/utils/fetchAssociations.d.ts +1 -1
  14. package/dist/experimental/index.d.ts +4 -4
  15. package/dist/experimental/index.js +3 -3
  16. package/dist/experimental/testing/__tests__/createRenderer.spec.js +23 -0
  17. package/dist/experimental/testing/__tests__/debug.spec.js +57 -0
  18. package/dist/experimental/testing/__tests__/find.spec.js +48 -0
  19. package/dist/experimental/testing/__tests__/findAll.spec.js +13 -0
  20. package/dist/experimental/testing/__tests__/findAllChildren.spec.js +54 -0
  21. package/dist/experimental/testing/__tests__/findByTestId.spec.js +126 -0
  22. package/dist/experimental/testing/__tests__/findChild.spec.js +33 -0
  23. package/dist/experimental/testing/__tests__/fragments.spec.js +66 -0
  24. package/dist/experimental/testing/__tests__/invalid-components.spec.js +96 -0
  25. package/dist/experimental/testing/__tests__/isMatch.spec.js +113 -0
  26. package/dist/experimental/testing/__tests__/logger.spec.js +10 -0
  27. package/dist/experimental/testing/__tests__/maybeFind.spec.js +67 -0
  28. package/dist/experimental/testing/__tests__/maybeFindByTestId.spec.js +65 -0
  29. package/dist/experimental/testing/__tests__/maybeFindChild.spec.js +75 -0
  30. package/dist/experimental/testing/__tests__/mocks.actions.spec.js +19 -0
  31. package/dist/experimental/testing/__tests__/mocks.context.spec.js +24 -0
  32. package/dist/experimental/testing/__tests__/mocks.runServerlessFunction.spec.js +35 -0
  33. package/dist/experimental/testing/__tests__/mocks.useAssociations.spec.js +47 -0
  34. package/dist/experimental/testing/__tests__/mocks.useCrmProperties.spec.js +58 -0
  35. package/dist/experimental/testing/__tests__/props.spec.js +13 -0
  36. package/dist/experimental/testing/__tests__/testId.spec.js +18 -0
  37. package/dist/experimental/testing/__tests__/trigger.spec.js +43 -0
  38. package/dist/experimental/testing/__tests__/type-utils.spec.js +165 -0
  39. package/dist/experimental/testing/__tests__/waitFor.spec.js +57 -0
  40. package/dist/experimental/testing/index.d.ts +4 -0
  41. package/dist/experimental/testing/index.js +4 -0
  42. package/dist/experimental/testing/internal/constants.d.ts +2 -2
  43. package/dist/experimental/testing/internal/constants.js +1 -1
  44. package/dist/experimental/testing/internal/convert.d.ts +10 -0
  45. package/dist/experimental/testing/internal/convert.js +149 -0
  46. package/dist/experimental/testing/internal/debug.d.ts +3 -3
  47. package/dist/experimental/testing/internal/debug.js +12 -4
  48. package/dist/experimental/testing/internal/document.d.ts +14 -0
  49. package/dist/experimental/testing/internal/document.js +40 -0
  50. package/dist/experimental/testing/internal/element.d.ts +4 -3
  51. package/dist/experimental/testing/internal/element.js +15 -10
  52. package/dist/experimental/testing/internal/errors.d.ts +57 -2
  53. package/dist/experimental/testing/internal/errors.js +62 -2
  54. package/dist/experimental/testing/internal/fragment.d.ts +3 -2
  55. package/dist/experimental/testing/internal/fragment.js +13 -9
  56. package/dist/experimental/testing/internal/match.d.ts +10 -0
  57. package/dist/experimental/testing/internal/match.js +19 -0
  58. package/dist/experimental/testing/internal/mocks/index.d.ts +17 -0
  59. package/dist/experimental/testing/internal/mocks/index.js +46 -0
  60. package/dist/experimental/testing/internal/mocks/mock-extension-point-api.d.ts +2 -0
  61. package/dist/experimental/testing/internal/mocks/mock-extension-point-api.js +166 -0
  62. package/dist/experimental/testing/internal/mocks/mock-hooks.d.ts +2 -0
  63. package/dist/experimental/testing/internal/mocks/mock-hooks.js +59 -0
  64. package/dist/experimental/testing/internal/print.d.ts +2 -2
  65. package/dist/experimental/testing/internal/print.js +17 -11
  66. package/dist/experimental/testing/internal/query.d.ts +19 -9
  67. package/dist/experimental/testing/internal/query.js +91 -46
  68. package/dist/experimental/testing/internal/root.d.ts +1 -1
  69. package/dist/experimental/testing/internal/root.js +12 -8
  70. package/dist/experimental/testing/internal/text.d.ts +3 -2
  71. package/dist/experimental/testing/internal/text.js +12 -3
  72. package/dist/experimental/testing/internal/type-utils-internal.d.ts +44 -0
  73. package/dist/experimental/testing/internal/type-utils-internal.js +54 -0
  74. package/dist/experimental/testing/internal/types-internal.d.ts +20 -2
  75. package/dist/experimental/testing/internal/utils/promise-utils.d.ts +14 -0
  76. package/dist/experimental/testing/internal/utils/promise-utils.js +14 -0
  77. package/dist/experimental/testing/render.d.ts +35 -0
  78. package/dist/experimental/testing/render.js +219 -0
  79. package/dist/experimental/testing/type-utils.d.ts +2 -2
  80. package/dist/experimental/testing/type-utils.js +1 -1
  81. package/dist/experimental/testing/types.d.ts +127 -9
  82. package/dist/experimental/testing/utils.d.ts +11 -0
  83. package/dist/experimental/testing/utils.js +24 -0
  84. package/dist/hubspot.d.ts +2 -4
  85. package/dist/hubspot.js +3 -3
  86. package/dist/index.d.ts +5 -5
  87. package/dist/index.js +5 -5
  88. package/dist/internal/global-utils.d.ts +6 -0
  89. package/dist/internal/global-utils.js +37 -0
  90. package/dist/internal/hook-utils.d.ts +19 -0
  91. package/dist/internal/hook-utils.js +34 -0
  92. package/dist/logger.d.ts +1 -8
  93. package/dist/logger.js +3 -2
  94. package/dist/pages/home/index.d.ts +1 -1
  95. package/dist/pages/home/index.js +1 -1
  96. package/dist/{__synced__/remoteComponents.synced.d.ts → shared/remoteComponents.d.ts} +159 -77
  97. package/dist/{__synced__/remoteComponents.synced.js → shared/remoteComponents.js} +99 -1
  98. package/dist/{__synced__/types/components/accordion.synced.d.ts → shared/types/components/accordion.d.ts} +2 -2
  99. package/dist/{__synced__/types/components/alert.synced.d.ts → shared/types/components/alert.d.ts} +2 -1
  100. package/dist/{__synced__/types/components/app-home-header-actions.synced.d.ts → shared/types/components/app-home-header-actions.d.ts} +4 -4
  101. package/dist/{__synced__/types/components/button-row.synced.d.ts → shared/types/components/button-row.d.ts} +2 -2
  102. package/dist/{__synced__/types/components/button.synced.d.ts → shared/types/components/button.d.ts} +9 -3
  103. package/dist/{__synced__/types/components/card.synced.d.ts → shared/types/components/card.d.ts} +2 -1
  104. package/dist/{__synced__/types/components/chart.synced.d.ts → shared/types/components/chart.d.ts} +2 -1
  105. package/dist/{__synced__/types/components/description-list.synced.d.ts → shared/types/components/description-list.d.ts} +3 -2
  106. package/dist/{__synced__/types/components/divider.synced.d.ts → shared/types/components/divider.d.ts} +2 -2
  107. package/dist/{__synced__/types/components/dropdown.synced.d.ts → shared/types/components/dropdown.d.ts} +5 -5
  108. package/dist/{__synced__/types/components/empty-state.synced.d.ts → shared/types/components/empty-state.d.ts} +2 -1
  109. package/dist/{__synced__/types/components/error-state.synced.d.ts → shared/types/components/error-state.d.ts} +2 -1
  110. package/dist/{__synced__/types/components/form.synced.d.ts → shared/types/components/form.d.ts} +3 -3
  111. package/dist/{__synced__/types/components/heading.synced.d.ts → shared/types/components/heading.d.ts} +2 -1
  112. package/dist/{__synced__/types/components/icon.synced.d.ts → shared/types/components/icon.d.ts} +2 -2
  113. package/dist/{__synced__/types/components/iframe.synced.d.ts → shared/types/components/iframe.d.ts} +2 -2
  114. package/dist/{__synced__/types/components/illustration.synced.d.ts → shared/types/components/illustration.d.ts} +2 -1
  115. package/dist/{__synced__/types/components/image.synced.d.ts → shared/types/components/image.d.ts} +3 -3
  116. package/dist/shared/types/components/index.d.ts +38 -0
  117. package/dist/shared/types/components/index.js +1 -0
  118. package/dist/{__synced__/types/components/inputs.synced.d.ts → shared/types/components/inputs.d.ts} +2 -1
  119. package/dist/shared/types/components/inputs.js +1 -0
  120. package/dist/{__synced__/types/components/layouts.synced.d.ts → shared/types/components/layouts.d.ts} +6 -6
  121. package/dist/shared/types/components/layouts.js +1 -0
  122. package/dist/{__synced__/types/components/link.synced.d.ts → shared/types/components/link.d.ts} +3 -3
  123. package/dist/shared/types/components/link.js +1 -0
  124. package/dist/{__synced__/types/components/list.synced.d.ts → shared/types/components/list.d.ts} +2 -1
  125. package/dist/shared/types/components/list.js +1 -0
  126. package/dist/{__synced__/types/components/loading-spinner.synced.d.ts → shared/types/components/loading-spinner.d.ts} +2 -2
  127. package/dist/shared/types/components/loading-spinner.js +1 -0
  128. package/dist/{__synced__/types/components/modal.synced.d.ts → shared/types/components/modal.d.ts} +4 -4
  129. package/dist/shared/types/components/modal.js +1 -0
  130. package/dist/{__synced__/types/components/panel.synced.d.ts → shared/types/components/panel.d.ts} +5 -5
  131. package/dist/shared/types/components/panel.js +1 -0
  132. package/dist/{__synced__/types/components/progress-bar.synced.d.ts → shared/types/components/progress-bar.d.ts} +2 -1
  133. package/dist/shared/types/components/progress-bar.js +1 -0
  134. package/dist/{__synced__/types/components/selects.synced.d.ts → shared/types/components/selects.d.ts} +2 -1
  135. package/dist/shared/types/components/selects.js +1 -0
  136. package/dist/{__synced__/types/components/statistics.synced.d.ts → shared/types/components/statistics.d.ts} +4 -3
  137. package/dist/shared/types/components/statistics.js +1 -0
  138. package/dist/{__synced__/types/components/status-tag.synced.d.ts → shared/types/components/status-tag.d.ts} +2 -1
  139. package/dist/shared/types/components/status-tag.js +1 -0
  140. package/dist/{__synced__/types/components/step-indicator.synced.d.ts → shared/types/components/step-indicator.d.ts} +2 -2
  141. package/dist/shared/types/components/step-indicator.js +1 -0
  142. package/dist/{__synced__/types/components/table.synced.d.ts → shared/types/components/table.d.ts} +5 -4
  143. package/dist/shared/types/components/table.js +1 -0
  144. package/dist/{__synced__/types/components/tabs.synced.d.ts → shared/types/components/tabs.d.ts} +3 -2
  145. package/dist/shared/types/components/tabs.js +1 -0
  146. package/dist/{__synced__/types/components/tag.synced.d.ts → shared/types/components/tag.d.ts} +3 -3
  147. package/dist/shared/types/components/tag.js +1 -0
  148. package/dist/{__synced__/types/components/text.synced.d.ts → shared/types/components/text.d.ts} +2 -1
  149. package/dist/shared/types/components/text.js +1 -0
  150. package/dist/{__synced__/types/components/tile.synced.d.ts → shared/types/components/tile.d.ts} +2 -1
  151. package/dist/shared/types/components/tile.js +1 -0
  152. package/dist/{__synced__/types/components/toggle.synced.d.ts → shared/types/components/toggle.d.ts} +2 -2
  153. package/dist/shared/types/components/toggle.js +1 -0
  154. package/dist/{__synced__/types/components/toggleInputs.synced.d.ts → shared/types/components/toggleInputs.d.ts} +4 -4
  155. package/dist/shared/types/components/toggleInputs.js +1 -0
  156. package/dist/{__synced__/types/components/tooltip.synced.d.ts → shared/types/components/tooltip.d.ts} +2 -1
  157. package/dist/shared/types/components/tooltip.js +1 -0
  158. package/dist/{__synced__/types/context.synced.d.ts → shared/types/context.d.ts} +1 -1
  159. package/dist/shared/types/context.js +1 -0
  160. package/dist/{__synced__/types/crm.synced.d.ts → shared/types/crm.d.ts} +13 -13
  161. package/dist/shared/types/crm.js +1 -0
  162. package/dist/{__synced__/experimental/types.synced.d.ts → shared/types/experimental.d.ts} +12 -17
  163. package/dist/shared/types/experimental.js +1 -0
  164. package/dist/shared/types/extend.d.ts +4 -0
  165. package/dist/shared/types/extend.js +1 -0
  166. package/dist/{__synced__/types/extension-points.synced.d.ts → shared/types/extension-points.d.ts} +18 -10
  167. package/dist/{__synced__/types/http-requests.synced.d.ts → shared/types/http-requests.d.ts} +1 -1
  168. package/dist/shared/types/index.d.ts +8 -0
  169. package/dist/shared/types/index.js +1 -0
  170. package/dist/shared/types/logger.d.ts +7 -0
  171. package/dist/shared/types/logger.js +1 -0
  172. package/dist/shared/types/reactions.js +1 -0
  173. package/dist/{__synced__/types/shared.synced.d.ts → shared/types/shared.d.ts} +3 -0
  174. package/dist/shared/types/worker-globals.d.ts +17 -0
  175. package/dist/shared/types/worker-globals.js +1 -0
  176. package/dist/{__synced__/utils/remote-component-registry.synced.d.ts → shared/utils/remote-component-registry.d.ts} +1 -1
  177. package/dist/{__synced__/utils/remote-component-registry.synced.js → shared/utils/remote-component-registry.js} +0 -1
  178. package/package.json +13 -14
  179. package/dist/__synced__/appHomeRemoteComponents.synced.d.ts +0 -28
  180. package/dist/__synced__/appHomeRemoteComponents.synced.js +0 -21
  181. package/dist/__synced__/crmRemoteComponents.synced.d.ts +0 -66
  182. package/dist/__synced__/crmRemoteComponents.synced.js +0 -15
  183. package/dist/__synced__/experimental/types.synced.js +0 -5
  184. package/dist/__synced__/experimentalRemoteComponents.synced.d.ts +0 -94
  185. package/dist/__synced__/experimentalRemoteComponents.synced.js +0 -56
  186. package/dist/__synced__/types/components/index.synced.d.ts +0 -38
  187. package/dist/__synced__/types/index.synced.d.ts +0 -8
  188. package/dist/__synced__/types/index.synced.js +0 -1
  189. /package/dist/{__synced__/types/actions.synced.js → experimental/testing/__tests__/createRenderer.spec.d.ts} +0 -0
  190. /package/dist/{__synced__/types/components/accordion.synced.js → experimental/testing/__tests__/debug.spec.d.ts} +0 -0
  191. /package/dist/{__synced__/types/components/alert.synced.js → experimental/testing/__tests__/find.spec.d.ts} +0 -0
  192. /package/dist/{__synced__/types/components/app-home-header-actions.synced.js → experimental/testing/__tests__/findAll.spec.d.ts} +0 -0
  193. /package/dist/{__synced__/types/components/button-row.synced.js → experimental/testing/__tests__/findAllChildren.spec.d.ts} +0 -0
  194. /package/dist/{__synced__/types/components/button.synced.js → experimental/testing/__tests__/findByTestId.spec.d.ts} +0 -0
  195. /package/dist/{__synced__/types/components/card.synced.js → experimental/testing/__tests__/findChild.spec.d.ts} +0 -0
  196. /package/dist/{__synced__/types/components/description-list.synced.js → experimental/testing/__tests__/fragments.spec.d.ts} +0 -0
  197. /package/dist/{__synced__/types/components/divider.synced.js → experimental/testing/__tests__/invalid-components.spec.d.ts} +0 -0
  198. /package/dist/{__synced__/types/components/dropdown.synced.js → experimental/testing/__tests__/isMatch.spec.d.ts} +0 -0
  199. /package/dist/{__synced__/types/components/empty-state.synced.js → experimental/testing/__tests__/logger.spec.d.ts} +0 -0
  200. /package/dist/{__synced__/types/components/error-state.synced.js → experimental/testing/__tests__/maybeFind.spec.d.ts} +0 -0
  201. /package/dist/{__synced__/types/components/form.synced.js → experimental/testing/__tests__/maybeFindByTestId.spec.d.ts} +0 -0
  202. /package/dist/{__synced__/types/components/heading.synced.js → experimental/testing/__tests__/maybeFindChild.spec.d.ts} +0 -0
  203. /package/dist/{__synced__/types/components/icon.synced.js → experimental/testing/__tests__/mocks.actions.spec.d.ts} +0 -0
  204. /package/dist/{__synced__/types/components/iframe.synced.js → experimental/testing/__tests__/mocks.context.spec.d.ts} +0 -0
  205. /package/dist/{__synced__/types/components/image.synced.js → experimental/testing/__tests__/mocks.runServerlessFunction.spec.d.ts} +0 -0
  206. /package/dist/{__synced__/types/components/index.synced.js → experimental/testing/__tests__/mocks.useAssociations.spec.d.ts} +0 -0
  207. /package/dist/{__synced__/types/components/inputs.synced.js → experimental/testing/__tests__/mocks.useCrmProperties.spec.d.ts} +0 -0
  208. /package/dist/{__synced__/types/components/layouts.synced.js → experimental/testing/__tests__/props.spec.d.ts} +0 -0
  209. /package/dist/{__synced__/types/components/link.synced.js → experimental/testing/__tests__/testId.spec.d.ts} +0 -0
  210. /package/dist/{__synced__/types/components/list.synced.js → experimental/testing/__tests__/trigger.spec.d.ts} +0 -0
  211. /package/dist/{__synced__/types/components/loading-spinner.synced.js → experimental/testing/__tests__/type-utils.spec.d.ts} +0 -0
  212. /package/dist/{__synced__/types/components/modal.synced.js → experimental/testing/__tests__/waitFor.spec.d.ts} +0 -0
  213. /package/dist/{__synced__/types/actions.synced.d.ts → shared/types/actions.d.ts} +0 -0
  214. /package/dist/{__synced__/types/components/panel.synced.js → shared/types/actions.js} +0 -0
  215. /package/dist/{__synced__/types/components/progress-bar.synced.js → shared/types/components/accordion.js} +0 -0
  216. /package/dist/{__synced__/types/components/selects.synced.js → shared/types/components/alert.js} +0 -0
  217. /package/dist/{__synced__/types/components/statistics.synced.js → shared/types/components/app-home-header-actions.js} +0 -0
  218. /package/dist/{__synced__/types/components/status-tag.synced.js → shared/types/components/button-row.js} +0 -0
  219. /package/dist/{__synced__/types/components/step-indicator.synced.js → shared/types/components/button.js} +0 -0
  220. /package/dist/{__synced__/types/components/table.synced.js → shared/types/components/card.js} +0 -0
  221. /package/dist/{__synced__/types/components/chart.synced.js → shared/types/components/chart.js} +0 -0
  222. /package/dist/{__synced__/types/components/tabs.synced.js → shared/types/components/description-list.js} +0 -0
  223. /package/dist/{__synced__/types/components/tag.synced.js → shared/types/components/divider.js} +0 -0
  224. /package/dist/{__synced__/types/components/text.synced.js → shared/types/components/dropdown.js} +0 -0
  225. /package/dist/{__synced__/types/components/tile.synced.js → shared/types/components/empty-state.js} +0 -0
  226. /package/dist/{__synced__/types/components/toggle.synced.js → shared/types/components/error-state.js} +0 -0
  227. /package/dist/{__synced__/types/components/toggleInputs.synced.js → shared/types/components/form.js} +0 -0
  228. /package/dist/{__synced__/types/components/tooltip.synced.js → shared/types/components/heading.js} +0 -0
  229. /package/dist/{__synced__/types/context.synced.js → shared/types/components/icon.js} +0 -0
  230. /package/dist/{__synced__/types/crm.synced.js → shared/types/components/iframe.js} +0 -0
  231. /package/dist/{__synced__/types/components/illustration.synced.js → shared/types/components/illustration.js} +0 -0
  232. /package/dist/{__synced__/types/reactions.synced.js → shared/types/components/image.js} +0 -0
  233. /package/dist/{__synced__/types/extension-points.synced.js → shared/types/extension-points.js} +0 -0
  234. /package/dist/{__synced__/types/http-requests.synced.js → shared/types/http-requests.js} +0 -0
  235. /package/dist/{__synced__/types/reactions.synced.d.ts → shared/types/reactions.d.ts} +0 -0
  236. /package/dist/{__synced__/types/shared.synced.js → shared/types/shared.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { createRemoteComponentRegistry } from './utils/remote-component-registry.synced';
1
+ import { createRemoteComponentRegistry } from "./utils/remote-component-registry.js";
2
2
  /**
3
3
  * Represents a registry of HubSpot-provided React components that should only be used **internally** by the UI extension SDK.
4
4
  *
@@ -6,6 +6,9 @@ import { createRemoteComponentRegistry } from './utils/remote-component-registry
6
6
  */
7
7
  export const __hubSpotComponentRegistry = createRemoteComponentRegistry();
8
8
  const { createAndRegisterRemoteReactComponent, createAndRegisterRemoteCompoundReactComponent, } = __hubSpotComponentRegistry;
9
+ ////////////////////////////////////////////////////////////
10
+ // STANDARD COMPONENTS
11
+ ////////////////////////////////////////////////////////////
9
12
  /**
10
13
  * The `Alert` component renders an alert within a card. Use this component to give usage guidance, notify users of action results, or warn them about potential issues or failures.
11
14
  *
@@ -586,3 +589,98 @@ export const CurrencyInput = createAndRegisterRemoteReactComponent('CurrencyInpu
586
589
  * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/simple-grid Docs}
587
590
  */
588
591
  export const AutoGrid = createAndRegisterRemoteReactComponent('AutoGrid');
592
+ ////////////////////////////////////////////////////////
593
+ // CRM COMPONENTS
594
+ ////////////////////////////////////////////////////////
595
+ export const CrmPropertyList = createAndRegisterRemoteReactComponent('CrmPropertyList');
596
+ export const CrmAssociationTable = createAndRegisterRemoteReactComponent('CrmAssociationTable');
597
+ export const CrmDataHighlight = createAndRegisterRemoteReactComponent('CrmDataHighlight');
598
+ export const CrmReport = createAndRegisterRemoteReactComponent('CrmReport');
599
+ export const CrmAssociationPivot = createAndRegisterRemoteReactComponent('CrmAssociationPivot');
600
+ export const CrmAssociationPropertyList = createAndRegisterRemoteReactComponent('CrmAssociationPropertyList');
601
+ export const CrmAssociationStageTracker = createAndRegisterRemoteReactComponent('CrmAssociationStageTracker');
602
+ export const CrmSimpleDeadline = createAndRegisterRemoteReactComponent('CrmSimpleDeadline');
603
+ export const CrmStageTracker = createAndRegisterRemoteReactComponent('CrmStageTracker');
604
+ export const CrmStatistics = createAndRegisterRemoteReactComponent('CrmStatistics');
605
+ export const CrmActionButton = createAndRegisterRemoteReactComponent('CrmActionButton');
606
+ export const CrmActionLink = createAndRegisterRemoteReactComponent('CrmActionLink');
607
+ export const CrmCardActions = createAndRegisterRemoteReactComponent('CrmCardActions');
608
+ ////////////////////////////////////////////////////////
609
+ // APP HOME COMPONENTS
610
+ ////////////////////////////////////////////////////////
611
+ /**
612
+ * The `HeaderActions` component renders a container for action buttons in the app home header. It accepts `PrimaryHeaderActionButton` and `SecondaryHeaderActionButton` as children.
613
+ *
614
+ */
615
+ export const HeaderActions = createAndRegisterRemoteReactComponent('HeaderActions');
616
+ /**
617
+ * 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.
618
+ *
619
+ */
620
+ export const PrimaryHeaderActionButton = createAndRegisterRemoteReactComponent('PrimaryHeaderActionButton', {
621
+ fragmentProps: ['overlay'],
622
+ });
623
+ /**
624
+ * 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.
625
+ *
626
+ */
627
+ export const SecondaryHeaderActionButton = createAndRegisterRemoteReactComponent('SecondaryHeaderActionButton', {
628
+ fragmentProps: ['overlay'],
629
+ });
630
+ ////////////////////////////////////////////////////////
631
+ // EXPERIMENTAL COMPONENTS
632
+ ////////////////////////////////////////////////////////
633
+ /**
634
+ * @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.
635
+ */
636
+ export const Iframe = createAndRegisterRemoteReactComponent('Iframe');
637
+ /**
638
+ * @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.
639
+ */
640
+ export const MediaObject = createAndRegisterRemoteReactComponent('MediaObject', {
641
+ fragmentProps: ['itemRight', 'itemLeft'],
642
+ });
643
+ /**
644
+ * @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.
645
+ */
646
+ export const Stack2 = createAndRegisterRemoteReactComponent('Stack2');
647
+ /**
648
+ * @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.
649
+ */
650
+ export const Center = createAndRegisterRemoteReactComponent('Center');
651
+ /**
652
+ * @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.
653
+ */
654
+ export const Grid = createAndRegisterRemoteReactComponent('Grid');
655
+ /**
656
+ * @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.
657
+ */
658
+ export const GridItem = createAndRegisterRemoteReactComponent('GridItem');
659
+ /**
660
+ * @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.
661
+ */
662
+ export const SettingsView = createAndRegisterRemoteReactComponent('SettingsView');
663
+ /**
664
+ * The `ExpandableText` component renders a text that can be expanded or collapsed based on a maximum height.
665
+ *
666
+ * @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.
667
+ *
668
+ * **Links:**
669
+ *
670
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/expandable-text ExpandableText Docs}
671
+ */
672
+ export const ExpandableText = createAndRegisterRemoteReactComponent('ExpandableText');
673
+ /**
674
+ * The `Popover` component renders a popover overlay that can contain other components.
675
+ *
676
+ * @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.
677
+ *
678
+ * **Links:**
679
+ *
680
+ * - {@link https://developers.hubspot.com/docs/reference/ui-components/standard-components/popover Popover Docs}
681
+ */
682
+ export const Popover = createAndRegisterRemoteReactComponent('Popover');
683
+ /**
684
+ * @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.
685
+ */
686
+ export const FileInput = createAndRegisterRemoteReactComponent('FileInput');
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- import { TShirtSizes } from '../shared.synced';
2
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
3
3
  /**
4
4
  * The props type for {@link !components.Accordion}.
5
5
  *
6
6
  * @category Component Props
7
7
  */
8
- export interface AccordionProps {
8
+ export interface AccordionProps extends BaseComponentProps {
9
9
  /**
10
10
  * The title text for the accordion.
11
11
  *
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.Alert}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface AlertProps {
8
+ export interface AlertProps extends BaseComponentProps {
8
9
  /**
9
10
  * The bolded title text of the alert.
10
11
  *
@@ -1,12 +1,12 @@
1
1
  import { ReactNode } from 'react';
2
- import { ReactionsHandler } from '../reactions.synced';
3
- import { ExtensionEvent, OverlayComponentProps, HrefProp } from '../shared.synced';
2
+ import { ReactionsHandler } from '../reactions.ts';
3
+ import { ExtensionEvent, OverlayComponentProps, HrefProp, BaseComponentProps } from '../shared.ts';
4
4
  /**
5
5
  * The props type for {@link !components.HeaderActions}.
6
6
  *
7
7
  * @category Component Props
8
8
  */
9
- export interface HeaderActionsProps {
9
+ export interface HeaderActionsProps extends BaseComponentProps {
10
10
  /**
11
11
  * Sets the content that will render inside the HeaderActions. This prop is passed implicitly by providing sub-components.
12
12
  */
@@ -17,7 +17,7 @@ export interface HeaderActionsProps {
17
17
  *
18
18
  * @category Component Props
19
19
  */
20
- export interface HeaderActionButtonProps extends OverlayComponentProps {
20
+ export interface HeaderActionButtonProps extends OverlayComponentProps, BaseComponentProps {
21
21
  /**
22
22
  * A function that will be invoked when the button is clicked. Do not use this function for submitting a form; use Form's `onSubmit` function instead.
23
23
  *
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- import { TShirtSizes } from '../shared.synced';
2
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
3
3
  /**
4
4
  * The props type for {@link !components.ButtonRow}.
5
5
  *
6
6
  * @category Component Props
7
7
  */
8
- export interface ButtonRowProps {
8
+ export interface ButtonRowProps extends BaseComponentProps {
9
9
  /**
10
10
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
11
11
  */
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
- import { OverlayComponentProps, HrefProp, TShirtSizes, IconNames, ExtensionEvent } from '../shared.synced';
3
- import { ReactionsHandler } from '../reactions.synced';
4
- export interface BaseButtonProps {
2
+ import { OverlayComponentProps, HrefProp, TShirtSizes, IconNames, ExtensionEvent, BaseComponentProps } from '../shared.ts';
3
+ import { ReactionsHandler } from '../reactions.ts';
4
+ export interface BaseButtonProps extends BaseComponentProps {
5
5
  /**
6
6
  * A function that will be invoked when the button is clicked. Do not use this function for submitting a form; use Form's `onSubmit` function instead.
7
7
  *
@@ -38,6 +38,12 @@ export interface BaseButtonProps {
38
38
  * @defaultValue `"md"`
39
39
  */
40
40
  size?: TShirtSizes['xs'] | TShirtSizes['sm'] | TShirtSizes['md'];
41
+ /**
42
+ * When set to `true`, long button text will be truncated with an ellipsis (`...`) and the full text will appear in a tooltip on hover.
43
+ *
44
+ * @defaultValue `false`
45
+ */
46
+ truncate?: boolean;
41
47
  }
42
48
  /**
43
49
  * The props type for {@link !components.Button}.
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.Card}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface CardProps {
8
+ export interface CardProps extends BaseComponentProps {
8
9
  /**
9
10
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
10
11
  */
@@ -1,3 +1,4 @@
1
+ import { BaseComponentProps } from '../shared.ts';
1
2
  /**
2
3
  * The props type for {@link !components.BarChart}.
3
4
  *
@@ -10,7 +11,7 @@ export type BarChartProps = ChartProps;
10
11
  * @category Component Props
11
12
  */
12
13
  export type LineChartProps = ChartProps;
13
- export interface ChartProps {
14
+ export interface ChartProps extends BaseComponentProps {
14
15
  /**
15
16
  * The data used to render the chart. You can optionally provide configuration options.
16
17
  */
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.DescriptionListItem}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface DescriptionListItemProps {
8
+ export interface DescriptionListItemProps extends BaseComponentProps {
8
9
  /**
9
10
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
10
11
  *
@@ -21,7 +22,7 @@ export interface DescriptionListItemProps {
21
22
  *
22
23
  * @category Component Props
23
24
  */
24
- export interface DescriptionListProps {
25
+ export interface DescriptionListProps extends BaseComponentProps {
25
26
  /**
26
27
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components. The children should be {@link !components.DescriptionListItem}.
27
28
  *
@@ -1,10 +1,10 @@
1
- import { AllDistances } from '../shared.synced';
1
+ import { AllDistances, BaseComponentProps } from '../shared.ts';
2
2
  /**
3
3
  * The props type for {@link !components.Divider}.
4
4
  *
5
5
  * @category Component Props
6
6
  */
7
- export interface DividerProps {
7
+ export interface DividerProps extends BaseComponentProps {
8
8
  /**
9
9
  * The space between the divider and the content above and below it.
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
- import { TShirtSizes } from '../shared.synced';
3
- import { ExtensionEvent, OverlayComponentProps } from '../shared.synced';
4
- import { ReactionsHandler } from '../reactions.synced';
2
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
3
+ import { ExtensionEvent, OverlayComponentProps } from '../shared.ts';
4
+ import { ReactionsHandler } from '../reactions.ts';
5
5
  /**
6
6
  * @deprecated This type is deprecated and will be removed in a future release. Please use the `DropdownButtonItem` component instead.
7
7
  */
@@ -24,7 +24,7 @@ export interface DropdownOption {
24
24
  *
25
25
  * @category Component Props
26
26
  */
27
- export interface DropdownButtonItemProps extends OverlayComponentProps {
27
+ export interface DropdownButtonItemProps extends OverlayComponentProps, BaseComponentProps {
28
28
  /**
29
29
  * Text to be displayed as the menu item text.
30
30
  * Can also accept ReactNode for more complex content.
@@ -43,7 +43,7 @@ export interface DropdownButtonItemProps extends OverlayComponentProps {
43
43
  *
44
44
  * @category Component Props
45
45
  */
46
- export interface DropdownProps {
46
+ export interface DropdownProps extends BaseComponentProps {
47
47
  /**
48
48
  * The list of options to be rendered within the dropdown menu.
49
49
  * Each option represents an entry in the Dropdown.
@@ -1,11 +1,12 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  export type EmptyStateImageName = 'addOnReporting' | 'announcement' | 'api' | 'automatedTesting' | 'beta' | 'building' | 'callingSetUp' | 'companies' | 'components' | 'cone' | 'contacts' | 'contentStrategy' | 'customObjects' | 'customerExperience' | 'customerSupport' | 'deals' | 'developerSecurityUpdate' | 'electronicSignature' | 'electronicSignatureEmptyState' | 'emailConfirmation' | 'emptyStateCharts' | 'idea' | 'integrations' | 'leads' | 'lock' | 'meetings' | 'missedGoal' | 'multipleObjects' | 'object' | 'productsShoppingCart' | 'registration' | 'sandboxAddOn' | 'social' | 'store' | 'storeDisabled' | 'successfullyConnectedEmail' | 'target' | 'task' | 'tickets' | 'voteAndSearch';
3
4
  /**
4
5
  * The props type for {@link !components.EmptyState}.
5
6
  *
6
7
  * @category Component Props
7
8
  */
8
- export interface EmptyStateProps {
9
+ export interface EmptyStateProps extends BaseComponentProps {
9
10
  /**
10
11
  * When set to `true`, removes the default vertical margins in the component.
11
12
  *
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.ErrorState}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface ErrorStateProps {
8
+ export interface ErrorStateProps extends BaseComponentProps {
8
9
  /**
9
10
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
10
11
  *
@@ -1,13 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
- import { FormSubmitExtensionEvent } from '../shared.synced';
3
- import { ReactionsHandler } from '../reactions.synced';
2
+ import { FormSubmitExtensionEvent, BaseComponentProps } from '../shared.ts';
3
+ import { ReactionsHandler } from '../reactions.ts';
4
4
  export type FormInputValues = Record<string, string | number>;
5
5
  /**
6
6
  * The props type for {@link !components.Form}.
7
7
  *
8
8
  * @category Component Props
9
9
  */
10
- export interface FormProps {
10
+ export interface FormProps extends BaseComponentProps {
11
11
  /**
12
12
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
13
13
  *
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.Heading}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface HeadingProps {
8
+ export interface HeadingProps extends BaseComponentProps {
8
9
  /**
9
10
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
10
11
  *
@@ -1,11 +1,11 @@
1
- import { TShirtSizes, IconNames } from '../shared.synced';
1
+ import { TShirtSizes, IconNames, BaseComponentProps } from '../shared.ts';
2
2
  export type IconColor = 'alert' | 'warning' | 'success' | 'inherit';
3
3
  /**
4
4
  * The props type for {@link !components.Icon}.
5
5
  *
6
6
  * @category Component Props
7
7
  */
8
- export interface IconProps {
8
+ export interface IconProps extends BaseComponentProps {
9
9
  /**
10
10
  * Sets the icon color. By default, the icon will use `inherit`, which inherits the color from its parent element.
11
11
  *
@@ -1,4 +1,4 @@
1
- import { TShirtSizes } from '../shared.synced';
1
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
2
2
  /**
3
3
  * The props type for {@link !components.Iframe}.
4
4
  *
@@ -6,7 +6,7 @@ import { TShirtSizes } from '../shared.synced';
6
6
  * @experimental
7
7
  * @category Component Props
8
8
  */
9
- export interface IframeProps {
9
+ export interface IframeProps extends BaseComponentProps {
10
10
  /**
11
11
  * Sets the height of the iframe. If this prop is not provided, the iframe defaults size medium.
12
12
  *
@@ -1,9 +1,10 @@
1
+ import { BaseComponentProps } from '../shared.ts';
1
2
  /**
2
3
  * The props type for {@link !components.Illustration}.
3
4
  *
4
5
  * @category Component Props
5
6
  */
6
- export interface IllustrationProps {
7
+ export interface IllustrationProps extends BaseComponentProps {
7
8
  name: IllustrationNames;
8
9
  alt: string;
9
10
  width?: number;
@@ -1,11 +1,11 @@
1
- import { OverlayComponentProps, HrefProp, ExtensionEvent } from '../shared.synced';
2
- import { ReactionsHandler } from '../reactions.synced';
1
+ import { OverlayComponentProps, HrefProp, ExtensionEvent, BaseComponentProps } from '../shared.ts';
2
+ import { ReactionsHandler } from '../reactions.ts';
3
3
  /**
4
4
  * The props type for {@link !components.Image}.
5
5
  *
6
6
  * @category Component Props
7
7
  */
8
- export interface ImageProps extends OverlayComponentProps {
8
+ export interface ImageProps extends OverlayComponentProps, BaseComponentProps {
9
9
  /**
10
10
  * The alt text for the image.
11
11
  *
@@ -0,0 +1,38 @@
1
+ export type * from './accordion.ts';
2
+ export type * from './alert.ts';
3
+ export type * from './app-home-header-actions.ts';
4
+ export type * from './button-row.ts';
5
+ export type * from './button.ts';
6
+ export type * from './card.ts';
7
+ export type * from './chart.ts';
8
+ export type * from './description-list.ts';
9
+ export type * from './divider.ts';
10
+ export type * from './dropdown.ts';
11
+ export type * from './empty-state.ts';
12
+ export type * from './error-state.ts';
13
+ export type * from './form.ts';
14
+ export type * from './heading.ts';
15
+ export type * from './icon.ts';
16
+ export type * from './iframe.ts';
17
+ export type * from './illustration.ts';
18
+ export type * from './image.ts';
19
+ export type * from './inputs.ts';
20
+ export type * from './layouts.ts';
21
+ export type * from './link.ts';
22
+ export type * from './list.ts';
23
+ export type * from './loading-spinner.ts';
24
+ export type * from './modal.ts';
25
+ export type * from './panel.ts';
26
+ export type * from './progress-bar.ts';
27
+ export type * from './selects.ts';
28
+ export type * from './statistics.ts';
29
+ export type * from './status-tag.ts';
30
+ export type * from './step-indicator.ts';
31
+ export type * from './table.ts';
32
+ export type * from './tabs.ts';
33
+ export type * from './tag.ts';
34
+ export type * from './text.ts';
35
+ export type * from './tile.ts';
36
+ export type * from './toggle.ts';
37
+ export type * from './toggleInputs.ts';
38
+ export type * from './tooltip.ts';
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,9 @@
1
+ import { BaseComponentProps } from '../shared.ts';
1
2
  /**
2
3
  * Generic collection of props for all inputs
3
4
  * @internal
4
5
  * */
5
- interface BaseInputProps<T = string, V = string> {
6
+ interface BaseInputProps<T = string, V = string> extends BaseComponentProps {
6
7
  /**
7
8
  * The label text to display for the form input element.
8
9
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- import { AllDistances } from '../shared.synced';
2
+ import { AllDistances, BaseComponentProps } from '../shared.ts';
3
3
  /**
4
4
  * The props type for {@link !components.Stack}.
5
5
  *
6
6
  * @category Component Props
7
7
  */
8
- export interface StackProps {
8
+ export interface StackProps extends BaseComponentProps {
9
9
  /**
10
10
  * Sets the spacing between components.
11
11
  */
@@ -38,7 +38,7 @@ export type FlexAlign = 'start' | 'center' | 'baseline' | 'end' | 'stretch';
38
38
  *
39
39
  * @category Component Props
40
40
  */
41
- export interface FlexProps {
41
+ export interface FlexProps extends BaseComponentProps {
42
42
  /**
43
43
  * Sets the spacing between components.
44
44
  *
@@ -85,7 +85,7 @@ export interface FlexProps {
85
85
  *
86
86
  * @category Component Props
87
87
  */
88
- export interface BoxProps {
88
+ export interface BoxProps extends BaseComponentProps {
89
89
  /**
90
90
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
91
91
  *
@@ -115,7 +115,7 @@ export interface BoxProps {
115
115
  *
116
116
  * @category Component Props
117
117
  */
118
- export interface InlineProps {
118
+ export interface InlineProps extends BaseComponentProps {
119
119
  /**
120
120
  * Sets the content that will render inside the component. This prop is passed implicitly by providing sub-components.
121
121
  *
@@ -143,7 +143,7 @@ export interface InlineProps {
143
143
  *
144
144
  * @category Component Props
145
145
  */
146
- export interface AutoGridProps {
146
+ export interface AutoGridProps extends BaseComponentProps {
147
147
  /**
148
148
  * Sets the width of each column in the grid.
149
149
  * When `flexible` is true, columns will be at least this width (or collapse to container width if smaller), then expand equally to fill available space.
@@ -0,0 +1 @@
1
+ export {};
@@ -1,12 +1,12 @@
1
1
  import { ReactNode } from 'react';
2
- import { OverlayComponentProps, ExtensionEvent, HrefProp } from '../shared.synced';
3
- import { ReactionsHandler } from '../reactions.synced';
2
+ import { OverlayComponentProps, ExtensionEvent, HrefProp, BaseComponentProps } from '../shared.ts';
3
+ import { ReactionsHandler } from '../reactions.ts';
4
4
  /**
5
5
  * The props type for {@link !components.Link}.
6
6
  *
7
7
  * @category Component Props
8
8
  */
9
- export interface LinkProps extends OverlayComponentProps {
9
+ export interface LinkProps extends OverlayComponentProps, BaseComponentProps {
10
10
  /**
11
11
  * Sets the content that will render inside the component.
12
12
  *
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
+ import { BaseComponentProps } from '../shared.ts';
2
3
  /**
3
4
  * The props type for {@link !components.List}.
4
5
  *
5
6
  * @category Component Props
6
7
  */
7
- export interface ListProps {
8
+ export interface ListProps extends BaseComponentProps {
8
9
  /**
9
10
  * The content of the list. Each child will be wrapped in an `li` tag.
10
11
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,10 @@
1
- import { TShirtSizes } from '../shared.synced';
1
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
2
2
  /**
3
3
  * The props type for {@link !components.LoadingSpinner}.
4
4
  *
5
5
  * @category Component Props
6
6
  */
7
- export interface LoadingSpinnerProps {
7
+ export interface LoadingSpinnerProps extends BaseComponentProps {
8
8
  /**
9
9
  * The text that displays next to the spinner. Note: the label is not shown by default, you must set `showLabel` to `true` to display the label.
10
10
  *
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { TShirtSizes } from '../shared.synced';
3
- export interface ModalProps {
2
+ import { TShirtSizes, BaseComponentProps } from '../shared.ts';
3
+ export interface ModalProps extends BaseComponentProps {
4
4
  /**
5
5
  * Accessibility label.
6
6
  *
@@ -44,14 +44,14 @@ export interface ModalProps {
44
44
  */
45
45
  variant?: 'danger' | 'default';
46
46
  }
47
- export interface ModalBodyProps {
47
+ export interface ModalBodyProps extends BaseComponentProps {
48
48
  /**
49
49
  * The main content of the modal
50
50
  *
51
51
  */
52
52
  children: ReactNode;
53
53
  }
54
- export interface ModalFooterProps {
54
+ export interface ModalFooterProps extends BaseComponentProps {
55
55
  /**
56
56
  * The footer of the modal
57
57
  *
@@ -0,0 +1 @@
1
+ export {};