@linktr.ee/messaging-react 3.5.0-rc-1782408966 → 3.5.0-rc-1782792813

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 (48) hide show
  1. package/dist/{Card-iekRe643.js → Card-BWWBaNKF.js} +2 -2
  2. package/dist/{Card-iekRe643.js.map → Card-BWWBaNKF.js.map} +1 -1
  3. package/dist/{Card-DJtDI03Y.cjs → Card-Bj4YaHav.cjs} +2 -2
  4. package/dist/{Card-DJtDI03Y.cjs.map → Card-Bj4YaHav.cjs.map} +1 -1
  5. package/dist/{Card-CUHEDe8O.js → Card-BnGeMt4f.js} +2 -2
  6. package/dist/{Card-CUHEDe8O.js.map → Card-BnGeMt4f.js.map} +1 -1
  7. package/dist/{Card-BNzC_bp8.js → Card-DkXzpFLA.js} +3 -3
  8. package/dist/{Card-BNzC_bp8.js.map → Card-DkXzpFLA.js.map} +1 -1
  9. package/dist/{Card-DuMr5KMP.cjs → Card-DpCwDviq.cjs} +2 -2
  10. package/dist/{Card-DuMr5KMP.cjs.map → Card-DpCwDviq.cjs.map} +1 -1
  11. package/dist/{Card-DEa50m9p.cjs → Card-qrDaFHtJ.cjs} +2 -2
  12. package/dist/{Card-DEa50m9p.cjs.map → Card-qrDaFHtJ.cjs.map} +1 -1
  13. package/dist/{LockedThumbnail-CvpRZFi-.js → LockedThumbnail-DJR--PAi.js} +2 -2
  14. package/dist/{LockedThumbnail-CvpRZFi-.js.map → LockedThumbnail-DJR--PAi.js.map} +1 -1
  15. package/dist/{LockedThumbnail-aME0f_ZF.cjs → LockedThumbnail-DhXEk-NX.cjs} +2 -2
  16. package/dist/{LockedThumbnail-aME0f_ZF.cjs.map → LockedThumbnail-DhXEk-NX.cjs.map} +1 -1
  17. package/dist/index-DzOA7Yu8.cjs +2 -0
  18. package/dist/index-DzOA7Yu8.cjs.map +1 -0
  19. package/dist/{index-BlpDX5fl.js → index-ubCRSgQk.js} +1423 -1328
  20. package/dist/index-ubCRSgQk.js.map +1 -0
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.d.ts +40 -16
  23. package/dist/index.js +19 -19
  24. package/package.json +2 -2
  25. package/src/components/ChannelList/ChannelList.stories.tsx +5 -3
  26. package/src/components/ChannelList/CustomChannelPreview.stories.tsx +111 -1
  27. package/src/components/ChannelList/CustomChannelPreview.test.tsx +58 -46
  28. package/src/components/ChannelList/CustomChannelPreview.tsx +12 -13
  29. package/src/components/ChannelList/index.test.tsx +25 -2
  30. package/src/components/ChannelList/index.tsx +2 -1
  31. package/src/components/ChannelView.stories.tsx +45 -12
  32. package/src/components/ChannelView.test.tsx +64 -62
  33. package/src/components/ChannelView.tsx +123 -68
  34. package/src/components/CustomMessage/index.tsx +1 -0
  35. package/src/components/CustomMessageInput/CustomMessageInput.test.tsx +34 -0
  36. package/src/components/CustomMessageInput/index.tsx +27 -2
  37. package/src/components/MediaMessage/index.tsx +13 -5
  38. package/src/components/MessagingShell/index.tsx +2 -0
  39. package/src/components/ParticipantBadges.tsx +42 -0
  40. package/src/hooks/useChannelStar.ts +9 -6
  41. package/src/index.ts +1 -2
  42. package/src/stories/mocks.tsx +30 -5
  43. package/src/stream-custom-data.ts +12 -5
  44. package/src/types.ts +27 -1
  45. package/dist/index-BIWS3Inh.cjs +0 -2
  46. package/dist/index-BIWS3Inh.cjs.map +0 -1
  47. package/dist/index-BlpDX5fl.js.map +0 -1
  48. package/src/components/VerifiedBadge/index.tsx +0 -25
@@ -1,25 +0,0 @@
1
- import { SealCheckIcon } from '@phosphor-icons/react'
2
- import classNames from 'classnames'
3
- import React from 'react'
4
-
5
- export interface VerifiedBadgeProps {
6
- className?: string
7
- size?: number
8
- }
9
-
10
- /**
11
- * Linktree verification badge shown next to the name of a verified profile.
12
- * Rendered when a participant's Stream user has `is_verified` set to true.
13
- */
14
- export const VerifiedBadge: React.FC<VerifiedBadgeProps> = ({
15
- className,
16
- size = 16,
17
- }) => (
18
- <SealCheckIcon
19
- weight="fill"
20
- size={size}
21
- className={classNames('shrink-0 text-[#1D9BF0]', className)}
22
- aria-label="Verified"
23
- role="img"
24
- />
25
- )