@hubspot/ui-extensions 0.11.1 → 0.11.2

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 (65) hide show
  1. package/dist/__synced__/experimental/types.synced.d.ts +3 -4
  2. package/dist/__synced__/remoteComponents.synced.d.ts +152 -70
  3. package/dist/__synced__/remoteComponents.synced.js +98 -0
  4. package/dist/__synced__/types/components/button.synced.d.ts +6 -0
  5. package/dist/__tests__/crm/hooks/useAssociations.spec.js +33 -29
  6. package/dist/__tests__/crm/hooks/useCrmProperties.spec.js +19 -18
  7. package/dist/__tests__/crm/utils/fetchAssociations.spec.js +8 -7
  8. package/dist/__tests__/crm/utils/fetchCrmProperties.spec.js +34 -33
  9. package/dist/crm/index.d.ts +1 -1
  10. package/dist/crm/index.js +1 -1
  11. package/dist/experimental/index.d.ts +1 -1
  12. package/dist/experimental/index.js +1 -1
  13. package/dist/experimental/testing/__tests__/debug.spec.d.ts +1 -0
  14. package/dist/experimental/testing/__tests__/debug.spec.js +43 -0
  15. package/dist/experimental/testing/__tests__/find.spec.d.ts +1 -0
  16. package/dist/experimental/testing/__tests__/find.spec.js +33 -0
  17. package/dist/experimental/testing/__tests__/findAll.spec.d.ts +1 -0
  18. package/dist/experimental/testing/__tests__/findAll.spec.js +12 -0
  19. package/dist/experimental/testing/__tests__/findAllChildren.spec.d.ts +1 -0
  20. package/dist/experimental/testing/__tests__/findAllChildren.spec.js +48 -0
  21. package/dist/experimental/testing/__tests__/findChild.spec.d.ts +1 -0
  22. package/dist/experimental/testing/__tests__/findChild.spec.js +29 -0
  23. package/dist/experimental/testing/__tests__/fragments.spec.d.ts +1 -0
  24. package/dist/experimental/testing/__tests__/fragments.spec.js +59 -0
  25. package/dist/experimental/testing/__tests__/invalid-components.spec.d.ts +1 -0
  26. package/dist/experimental/testing/__tests__/invalid-components.spec.js +88 -0
  27. package/dist/experimental/testing/__tests__/isMatch.spec.d.ts +1 -0
  28. package/dist/experimental/testing/__tests__/isMatch.spec.js +60 -0
  29. package/dist/experimental/testing/__tests__/maybeFind.spec.d.ts +1 -0
  30. package/dist/experimental/testing/__tests__/maybeFind.spec.js +58 -0
  31. package/dist/experimental/testing/__tests__/maybeFindChild.spec.d.ts +1 -0
  32. package/dist/experimental/testing/__tests__/maybeFindChild.spec.js +65 -0
  33. package/dist/experimental/testing/__tests__/trigger.spec.d.ts +1 -0
  34. package/dist/experimental/testing/__tests__/trigger.spec.js +40 -0
  35. package/dist/experimental/testing/__tests__/type-utils.spec.d.ts +1 -0
  36. package/dist/experimental/testing/__tests__/type-utils.spec.js +163 -0
  37. package/dist/experimental/testing/__tests__/waitFor.spec.d.ts +1 -0
  38. package/dist/experimental/testing/__tests__/waitFor.spec.js +55 -0
  39. package/dist/experimental/testing/index.d.ts +3 -0
  40. package/dist/experimental/testing/index.js +3 -0
  41. package/dist/experimental/testing/internal/convert.d.ts +10 -0
  42. package/dist/experimental/testing/internal/convert.js +131 -0
  43. package/dist/experimental/testing/internal/debug.d.ts +1 -1
  44. package/dist/experimental/testing/internal/debug.js +10 -1
  45. package/dist/experimental/testing/internal/document.d.ts +14 -0
  46. package/dist/experimental/testing/internal/document.js +37 -0
  47. package/dist/experimental/testing/internal/errors.d.ts +12 -0
  48. package/dist/experimental/testing/internal/errors.js +18 -0
  49. package/dist/experimental/testing/internal/match.d.ts +19 -0
  50. package/dist/experimental/testing/internal/match.js +42 -0
  51. package/dist/experimental/testing/internal/query.js +1 -19
  52. package/dist/experimental/testing/internal/utils/promise-utils.d.ts +14 -0
  53. package/dist/experimental/testing/internal/utils/promise-utils.js +14 -0
  54. package/dist/experimental/testing/render.d.ts +9 -0
  55. package/dist/experimental/testing/render.js +155 -0
  56. package/dist/experimental/testing/types.d.ts +1 -0
  57. package/dist/pages/home/index.d.ts +1 -1
  58. package/dist/pages/home/index.js +1 -1
  59. package/package.json +11 -13
  60. package/dist/__synced__/appHomeRemoteComponents.synced.d.ts +0 -28
  61. package/dist/__synced__/appHomeRemoteComponents.synced.js +0 -21
  62. package/dist/__synced__/crmRemoteComponents.synced.d.ts +0 -66
  63. package/dist/__synced__/crmRemoteComponents.synced.js +0 -15
  64. package/dist/__synced__/experimentalRemoteComponents.synced.d.ts +0 -94
  65. package/dist/__synced__/experimentalRemoteComponents.synced.js +0 -56
@@ -1,7 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { RemoteFragment } from '@remote-ui/core';
3
- import type { AllDistances, ExtensionEvent } from '../types/shared.synced';
4
2
  import type { ReactionsHandler } from '../types/reactions.synced';
3
+ import type { AllDistances, ExtensionEvent } from '../types/shared.synced';
5
4
  /**
6
5
  * @ignore
7
6
  * @experimental do not use in production
@@ -46,8 +45,8 @@ export interface MediaObjectProps {
46
45
  align?: 'start' | 'center' | 'baseline' | 'end' | 'stretch';
47
46
  spacing?: 'none' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
48
47
  children?: ReactNode;
49
- itemLeft?: RemoteFragment;
50
- itemRight?: RemoteFragment;
48
+ itemLeft?: ReactNode;
49
+ itemRight?: ReactNode;
51
50
  }
52
51
  export interface GridProps {
53
52
  justify?: FlexJustify;