Skip to content

Commit 1f9d1a0

Browse files
committed
chore: add experimental warning to channel details components
1 parent 989a7a3 commit 1f9d1a0

35 files changed

Lines changed: 105 additions & 0 deletions

package/src/components/ChannelDetailsScreen/ChannelDetailsScreen.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ export const ChannelDetailsScreenContent = () => {
139139
);
140140
};
141141

142+
/**
143+
* @experimental This component is experimental and is subject to change.
144+
*/
142145
export const ChannelDetailsScreen = ({
143146
channel,
144147
compressImageQuality,

package/src/components/ChannelDetailsScreen/components/ChannelDetailsActionItem.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export type ChannelDetailsActionItemProps = {
1414
trailing?: React.ReactNode;
1515
};
1616

17+
/**
18+
* @experimental This component is experimental and is subject to change.
19+
*/
1720
export const ChannelDetailsActionItem = ({
1821
Icon,
1922
destructive = false,

package/src/components/ChannelDetailsScreen/components/ChannelDetailsActionsSection.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ const UserMuteToggleRow = ({ item }: { item: ChannelActionItem }) => {
101101
);
102102
};
103103

104+
/**
105+
* @experimental This component is experimental and is subject to change.
106+
*/
104107
export const ChannelDetailsActionsSection = () => {
105108
const {
106109
theme: {

package/src/components/ChannelDetailsScreen/components/ChannelDetailsMemberSection.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ import { primitives } from '../../../theme';
1515
import { Button } from '../../ui/Button/Button';
1616
import { useChannelDetailsMembersPreview } from '../hooks/useChannelDetailsMembersPreview';
1717

18+
/**
19+
* @experimental This component is experimental and is subject to change.
20+
*/
1821
export const ChannelDetailsMemberSection = () => {
1922
const { channel, onAddMembersPress, onMemberPress, onViewAllMembersPress } =
2023
useChannelDetailsContext();

package/src/components/ChannelDetailsScreen/components/ChannelDetailsNavigationSection.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { ImageGrid } from '../../../icons/gallery';
1111
import { Pin } from '../../../icons/pin';
1212
import { primitives } from '../../../theme';
1313

14+
/**
15+
* @experimental This component is experimental and is subject to change.
16+
*/
1417
export const ChannelDetailsNavigationSection = () => {
1518
const { t } = useTranslationContext();
1619
const {

package/src/components/ChannelDetailsScreen/components/ChannelDetailsProfile.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import { useChannelPreviewDisplayName } from '../../ChannelPreview/hooks/useChan
1414
import { ChannelAvatar } from '../../ui/Avatar/ChannelAvatar';
1515
import { useChannelDetailsMemberStatusText } from '../hooks/useChannelDetailsMemberStatusText';
1616

17+
/**
18+
* @experimental This component is experimental and is subject to change.
19+
*/
1720
export const ChannelDetailsProfile = () => {
1821
const { channel } = useChannelDetailsContext();
1922
const { t } = useTranslationContext();

package/src/components/ChannelDetailsScreen/components/ChannelDetailsScreenHeader.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export type ChannelDetailsScreenHeaderProps = {
1919
title?: string;
2020
};
2121

22+
/**
23+
* @experimental This component is experimental and is subject to change.
24+
*/
2225
export const ChannelDetailsScreenHeader = ({ title }: ChannelDetailsScreenHeaderProps) => {
2326
const { channel, onBack, onEditChannelPress } = useChannelDetailsContext();
2427
const { t } = useTranslationContext();

package/src/components/ChannelDetailsScreen/components/ChannelEditDetails.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export type ChannelEditDetailsProps = {
3333
onNameChange: (name: string) => void;
3434
};
3535

36+
/**
37+
* @experimental This component is experimental and is subject to change.
38+
*/
3639
export const ChannelEditDetails = ({
3740
onImagePicked,
3841
onImageReset,

package/src/components/ChannelDetailsScreen/components/ChannelEditDetailsModal.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ const ChannelEditDetailsModalContent = ({ onClose }: ChannelEditDetailsModalCont
124124
);
125125
};
126126

127+
/**
128+
* @experimental This component is experimental and is subject to change.
129+
*/
127130
export const ChannelEditDetailsModal = ({ onClose, visible }: ChannelEditDetailsModalProps) => {
128131
const { channel } = useChannelDetailsContext();
129132
const notificationHostId = channel?.cid ? `channel-edit-details:${channel.cid}` : undefined;

package/src/components/ChannelDetailsScreen/components/ChannelEditImageSheet.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ const ChannelEditImageSheetInner = ({
164164
);
165165
};
166166

167+
/**
168+
* @experimental This component is experimental and is subject to change.
169+
*/
167170
export const ChannelEditImageSheet = ({
168171
onClose,
169172
onSelectCamera,

0 commit comments

Comments
 (0)