@blocklet/discuss-kit-ux 2.1.12 → 2.1.13

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 (64) hide show
  1. package/dist/components/api-error-handler/api-error-handler.d.ts +0 -1
  2. package/dist/components/api-error-handler/default-handler.d.ts +0 -1
  3. package/dist/components/api-error-handler/json-validation-interceptor.d.ts +0 -1
  4. package/dist/components/authz/access-control.d.ts +0 -1
  5. package/dist/components/avatars/Avatars.stories.d.ts +0 -1
  6. package/dist/components/avatars/author-info.d.ts +0 -1
  7. package/dist/components/avatars/avatars.d.ts +0 -1
  8. package/dist/components/back.d.ts +0 -1
  9. package/dist/components/blog/blog-link.d.ts +0 -1
  10. package/dist/components/blog/blog-list.d.ts +0 -1
  11. package/dist/components/blog/cover-image.d.ts +0 -1
  12. package/dist/components/blog/permalink.d.ts +0 -1
  13. package/dist/components/blog/types.d.ts +0 -1
  14. package/dist/components/chat/channel-group.d.ts +0 -1
  15. package/dist/components/chat/chat-client.d.ts +0 -1
  16. package/dist/components/chat/chat-in-wallet.d.ts +0 -1
  17. package/dist/components/chat/chat-input.d.ts +0 -1
  18. package/dist/components/chat/chat-list-in-wallet.d.ts +0 -1
  19. package/dist/components/chat/chat-list.d.ts +0 -1
  20. package/dist/components/chat/chat-room.d.ts +0 -1
  21. package/dist/components/chat/chat.d.ts +0 -1
  22. package/dist/components/chat/context.d.ts +0 -1
  23. package/dist/components/chat/message-list.d.ts +0 -1
  24. package/dist/components/chat/message.d.ts +0 -1
  25. package/dist/components/chat/participants.d.ts +0 -1
  26. package/dist/components/chat/time.d.ts +0 -1
  27. package/dist/components/chat/types.d.ts +0 -1
  28. package/dist/components/chat/unread-notification.d.ts +0 -1
  29. package/dist/components/chat/user-search.d.ts +0 -1
  30. package/dist/components/confirm.d.ts +0 -1
  31. package/dist/components/dayjs.d.ts +0 -1
  32. package/dist/components/default-editor-config-provider.d.ts +0 -1
  33. package/dist/components/editor/editor.d.ts +0 -1
  34. package/dist/components/editor/lazy-editor.d.ts +0 -1
  35. package/dist/components/editor/preview.d.ts +0 -1
  36. package/dist/components/emoji-icon.d.ts +0 -1
  37. package/dist/components/empty-status/empty-status.d.ts +0 -1
  38. package/dist/components/hooks/responsive.d.ts +0 -1
  39. package/dist/components/input/auto-clear-plugin.d.ts +0 -1
  40. package/dist/components/input/comment-input.d.ts +0 -1
  41. package/dist/components/input/input.d.ts +0 -1
  42. package/dist/components/input/post-edit.d.ts +0 -1
  43. package/dist/components/input/scrollable-editor-wrapper.d.ts +0 -1
  44. package/dist/components/label-picker.d.ts +0 -1
  45. package/dist/components/lexical.d.ts +0 -1
  46. package/dist/components/pagination.d.ts +0 -1
  47. package/dist/components/posts/Post.stories.d.ts +0 -1
  48. package/dist/components/posts/comment-list/context.d.ts +0 -1
  49. package/dist/components/posts/comment.d.ts +0 -1
  50. package/dist/components/posts/menu.d.ts +0 -1
  51. package/dist/components/posts/post-content.d.ts +0 -1
  52. package/dist/components/posts/post.d.ts +0 -1
  53. package/dist/components/profile-card/ProfileCard.stories.d.ts +0 -1
  54. package/dist/components/profile-card/profile-card.d.ts +0 -1
  55. package/dist/components/rating/binary-thumb.d.ts +0 -1
  56. package/dist/components/rating/github-reaction.d.ts +0 -1
  57. package/dist/components/rating/rater-list.d.ts +0 -1
  58. package/dist/components/segmented-control.d.ts +0 -1
  59. package/dist/components/uploader/index.d.ts +0 -1
  60. package/dist/components/utils.d.ts +0 -1
  61. package/dist/test/fixtures/index.d.ts +0 -1
  62. package/dist/theme/index.d.ts +0 -1
  63. package/dist/theme/typography.d.ts +0 -1
  64. package/package.json +11 -11
@@ -1,5 +1,4 @@
1
1
  import { AxiosInstance, AxiosError } from 'axios';
2
-
3
2
  export interface ApiError extends AxiosError {
4
3
  markAsHandled: Function;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { AxiosError, AxiosInstance } from 'axios';
2
-
3
2
  interface Options {
4
3
  request: AxiosInstance;
5
4
  onError?: (error: AxiosError) => boolean;
@@ -1,3 +1,2 @@
1
1
  import { AxiosResponse } from 'axios';
2
-
3
2
  export declare const jsonValidationInterceptor: (response: AxiosResponse) => AxiosResponse<any, any>;
@@ -1,5 +1,4 @@
1
1
  import { SessionContextUser } from '../hooks/session';
2
-
3
2
  interface AccessControlProps {
4
3
  authenticated?: boolean;
5
4
  permissions?: string | string[];
@@ -1,6 +1,5 @@
1
1
  import { ComponentStory, ComponentMeta } from '@storybook/react';
2
2
  import { default as Avatars } from './avatars';
3
-
4
3
  declare const _default: ComponentMeta<typeof Avatars>;
5
4
  export default _default;
6
5
  export declare const Basic: ComponentStory<typeof Avatars>;
@@ -1,6 +1,5 @@
1
1
  import { User } from '../../types';
2
2
  import { SxProps } from '@mui/material';
3
-
4
3
  interface Props {
5
4
  user: User;
6
5
  newTitle?: string;
@@ -1,6 +1,5 @@
1
1
  import { AvatarGroupProps } from '@mui/material/AvatarGroup';
2
2
  import { User } from '../../types';
3
-
4
3
  interface AvatarsProps extends Omit<AvatarGroupProps, 'variant'> {
5
4
  users: User[];
6
5
  variant?: 'circle' | 'rounded';
@@ -1,5 +1,4 @@
1
1
  import { SxProps, ButtonProps } from '@mui/material';
2
-
3
2
  interface BackProps {
4
3
  url?: string;
5
4
  fallbackUrl?: string;
@@ -1,5 +1,4 @@
1
1
  import { BlogPost } from './types';
2
-
3
2
  type PartialBlog = Pick<BlogPost, 'id' | 'slug' | 'createdAt' | 'locale'>;
4
3
  export declare const getBlogLink: (post: PartialBlog, locale?: string) => any;
5
4
  export {};
@@ -1,5 +1,4 @@
1
1
  import { BlogPost } from './types';
2
-
3
2
  interface BlogListProps {
4
3
  posts: BlogPost[];
5
4
  boardId?: string;
@@ -1,5 +1,4 @@
1
1
  import { BoxProps } from '@mui/material/Box';
2
-
3
2
  interface CoverImageUploadProps extends Omit<BoxProps, 'onChange'> {
4
3
  url?: string;
5
4
  onChange: (url: string | null) => void;
@@ -1,5 +1,4 @@
1
1
  import { BoxProps } from '@mui/material';
2
-
3
2
  interface Props extends Omit<BoxProps, 'onChange'> {
4
3
  slug: string;
5
4
  onChange: (slug: string) => void;
@@ -1,5 +1,4 @@
1
1
  import { User } from '../../types';
2
-
3
2
  export interface BlogPost {
4
3
  id: string;
5
4
  slug: string;
@@ -1,5 +1,4 @@
1
1
  import { Chat } from './types';
2
-
3
2
  interface Props {
4
3
  chat: Chat;
5
4
  size?: 'sm' | 'normal';
@@ -1,7 +1,6 @@
1
1
  import { Emitter } from 'mitt';
2
2
  import { User } from '../../types';
3
3
  import { Chat, Message, Channel } from './types';
4
-
5
4
  type Events = {
6
5
  message: {
7
6
  chatId: string;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface ChatProps {
4
3
  sx: SxProps;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { EditorProps } from '../editor';
2
-
3
2
  interface Props extends EditorProps {
4
3
  initialContent?: string;
5
4
  send: (content: string) => Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface ChatProps {
4
3
  sx?: SxProps;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface Props {
4
3
  sx?: SxProps;
5
4
  inWallet?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { Chat } from './types';
2
-
3
2
  interface ChatProps {
4
3
  chat: Chat;
5
4
  inWallet: boolean;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface ChatProps {
4
3
  sx?: SxProps;
5
4
  }
@@ -1,7 +1,6 @@
1
1
  import { User } from '../../types';
2
2
  import { default as ChatClient } from './chat-client';
3
3
  import { Chat as ChatType } from './types';
4
-
5
4
  export interface ChatProviderProps {
6
5
  children: React.ReactNode;
7
6
  client: ChatClient;
@@ -1,5 +1,4 @@
1
1
  import { Chat } from './types';
2
-
3
2
  interface ChatProps {
4
3
  chat: Chat;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { Chat, Message as MessageType, NotificationMessage as NotificationMessageType } from './types';
2
-
3
2
  interface MessageProps {
4
3
  message: MessageType;
5
4
  prevMessage?: MessageType;
@@ -1,6 +1,5 @@
1
1
  import { SxProps } from '@mui/material';
2
2
  import { User } from '../../types';
3
-
4
3
  interface Props {
5
4
  users: User[];
6
5
  sx?: SxProps;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  interface TimeShowProps {
4
3
  createdAt: string | Date;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { User } from '../../types';
2
-
3
2
  export interface Message {
4
3
  id: string;
5
4
  content?: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  interface UnreadNotificationProviderProps {
4
3
  fetchUnreadState: () => Promise<boolean>;
5
4
  children: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface Props {
4
3
  sx?: SxProps;
5
4
  inputSx?: SxProps;
@@ -1,6 +1,5 @@
1
1
  import { DialogProps, ButtonProps } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
-
4
3
  interface ConfirmProviderProps {
5
4
  children: ReactNode;
6
5
  }
@@ -1,3 +1,2 @@
1
1
  import { default as dayjs } from 'dayjs';
2
-
3
2
  export default dayjs;
@@ -1,5 +1,4 @@
1
1
  import { AxiosInstance } from 'axios';
2
-
3
2
  export default function DefaultEditorConfigProvider({ request, children, }: {
4
3
  request: AxiosInstance;
5
4
  children: React.ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { BlockletEditorProps } from '@blocklet/editor';
2
2
  import { EditorState, LexicalEditor } from 'lexical';
3
-
4
3
  export type OnChangeHandler = ({ content, editorState, editor, isEmpty, getExcerpt, }: {
5
4
  content: string;
6
5
  editorState: EditorState;
@@ -1,3 +1,2 @@
1
1
  import { EditorProps } from './editor';
2
-
3
2
  export default function LazyEditor(props: EditorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { BlockletEditorProps } from '@blocklet/editor';
2
-
3
2
  export interface EditorProps extends Omit<BlockletEditorProps, 'onChange' | 'ref'> {
4
3
  content: string;
5
4
  children?: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { BoxProps } from '@mui/material/Box';
2
-
3
2
  interface InternalIconProps extends BoxProps {
4
3
  title: string;
5
4
  icon?: string;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface Props {
4
3
  sx?: SxProps;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { Breakpoint } from '@mui/material';
2
-
3
2
  export declare const useDownBreakpoint: (breakpoint: Breakpoint) => boolean;
4
3
  export declare const useUpBreakpoint: (breakpoint: Breakpoint) => boolean;
5
4
  export declare function useResponsive(): (responsiveValues: {
@@ -1,5 +1,4 @@
1
1
  import { EditorState } from 'lexical';
2
-
3
2
  interface Props {
4
3
  value: EditorState | null;
5
4
  isChanged: boolean;
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from './input';
2
-
3
2
  interface Props extends Omit<InputProps, 'render'> {
4
3
  sendText?: string;
5
4
  sendIcon?: React.ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { BoxProps } from '@mui/material';
2
2
  import { EditorState } from 'lexical';
3
-
4
3
  export declare const preloadInput: () => Promise<typeof import('@blocklet/editor').default>;
5
4
  export type Send = (content: string) => Promise<any>;
6
5
  interface RenderProps {
@@ -1,5 +1,4 @@
1
1
  import { Send } from './input';
2
-
3
2
  interface Props {
4
3
  content: string;
5
4
  send: Send;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface Props {
4
3
  safeDistance?: number;
5
4
  sx?: SxProps;
@@ -1,5 +1,4 @@
1
1
  import { Label } from '@blocklet/labels';
2
-
3
2
  interface LabelPickerProps {
4
3
  data: Label[];
5
4
  value: string[];
@@ -1,5 +1,4 @@
1
1
  import { EditorState, LexicalEditor } from 'lexical';
2
-
3
2
  export declare const getTextContent: (editorState: EditorState) => Promise<string>;
4
3
  /**
5
4
  * 检查 editor 内容是否为空
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material/styles';
2
-
3
2
  interface PaginationProps {
4
3
  page?: number;
5
4
  size?: number;
@@ -1,7 +1,6 @@
1
1
  import { ComponentStory, ComponentMeta } from '@storybook/react';
2
2
  import { default as Post } from './post';
3
3
  import { default as Comment } from './comment';
4
-
5
4
  declare const _default: ComponentMeta<typeof Post>;
6
5
  export default _default;
7
6
  export declare const Basic: ComponentStory<typeof Post>;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { Post, Target, CommentAPI } from '../../../types';
3
-
4
3
  type Order = 'asc' | 'desc';
5
4
  export type CommentsRender = (value: {
6
5
  comments: Post[];
@@ -1,6 +1,5 @@
1
1
  import { CommentAPI, Post } from '../../types';
2
2
  import { PostProps } from './post';
3
-
4
3
  export interface CommentProps {
5
4
  onDelete: CommentAPI['deleteComment'];
6
5
  onRate: CommentAPI['rate'];
@@ -1,5 +1,4 @@
1
1
  import { default as MuiMenuItem } from '@mui/material/MenuItem';
2
-
3
2
  interface MenuProps {
4
3
  items: React.ReactElement<typeof MuiMenuItem>[];
5
4
  style?: React.CSSProperties;
@@ -1,5 +1,4 @@
1
1
  import { Send } from '../input/input';
2
-
3
2
  interface Props {
4
3
  content: string;
5
4
  editing?: boolean;
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { default as MuiMenuItem } from '@mui/material/MenuItem';
3
3
  import { Post } from '../../types';
4
-
5
4
  export interface PostProps {
6
5
  post: Post;
7
6
  interactive?: boolean;
@@ -1,6 +1,5 @@
1
1
  import { ComponentStory, ComponentMeta } from '@storybook/react';
2
2
  import { default as ProfileCard } from './profile-card';
3
-
4
3
  declare const _default: ComponentMeta<typeof ProfileCard>;
5
4
  export default _default;
6
5
  export declare const Basic: ComponentStory<typeof ProfileCard>;
@@ -1,5 +1,4 @@
1
1
  import { User } from '../../types';
2
-
3
2
  interface ProfileCardProps {
4
3
  user: User;
5
4
  click: () => void;
@@ -1,6 +1,5 @@
1
1
  import { RatingProps } from './rating';
2
2
  import { Rating as RatingType } from '../../types';
3
-
4
3
  export type BinaryThumbProps = {
5
4
  data: RatingType[];
6
5
  variant?: 'default' | 'inverse';
@@ -1,6 +1,5 @@
1
1
  import { BoxProps } from '@mui/material';
2
2
  import { Rating as RatingType } from '../../types';
3
-
4
3
  type GithubReactionProps = {
5
4
  data: RatingType[];
6
5
  onRate: ({ ratingType, value }: {
@@ -1,5 +1,4 @@
1
1
  import { Rating } from '../../types';
2
-
3
2
  interface Props {
4
3
  open: boolean;
5
4
  onClose: () => void;
@@ -1,5 +1,4 @@
1
1
  import { SxProps } from '@mui/material';
2
-
3
2
  interface Option {
4
3
  value: string;
5
4
  label: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export * from './utils';
4
3
  interface UploaderProviderProps {
5
4
  children: ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
2
  import { SystemStyleObject } from '@mui/system';
3
-
4
3
  export declare const repairBase64Avatar: (avatar?: string) => string | undefined;
5
4
  export declare const getResizedAvatar: (avatar: string, size?: number) => string;
6
5
  export declare const sleep: (ms: number) => Promise<unknown>;
@@ -1,5 +1,4 @@
1
1
  import { User } from '../../types';
2
-
3
2
  export declare const editorContent = "{\"root\":{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h1\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h2\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"h3\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"heading\",\"version\":1,\"tag\":\"h3\"},{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":1},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":2}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"list\",\"version\":1,\"listType\":\"bullet\",\"start\":1,\"tag\":\"ul\"},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"Labore in aliqua laboris aute velit. Ea adipisicing velit ut deserunt veniam nulla cupidatat anim excepteur mollit nostrud quis. Amet laboris proident proident consectetur amet occaecat est adipisicing. Proident anim sit est fugiat pariatur excepteur cillum labore nostrud id cillum eu officia.\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"paragraph\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}";
4
3
  export declare const longEditorContent = "{\"root\":{\"children\":[{\"children\":[{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 1\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":1},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 2\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":2},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 3\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":3},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 4\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":4},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 5\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":5},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 6\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":6},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 7\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":7},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 8\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":8},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 9\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":9},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 10\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":10},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 11\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":11},{\"children\":[{\"detail\":0,\"format\":0,\"mode\":\"normal\",\"style\":\"\",\"text\":\"item 12\",\"type\":\"text\",\"version\":1}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"listitem\",\"version\":1,\"value\":12}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"list\",\"version\":1,\"listType\":\"bullet\",\"start\":1,\"tag\":\"ul\"}],\"direction\":\"ltr\",\"format\":\"\",\"indent\":0,\"type\":\"root\",\"version\":1}}";
5
4
  export declare const mockUsers: User[];
@@ -1,7 +1,6 @@
1
1
  import { ThemeOptions } from '@mui/material/styles';
2
2
  import { default as React } from 'react';
3
3
  import { typography } from './typography';
4
-
5
4
  export { typography };
6
5
  export declare const themeOverrides: Partial<ThemeOptions>;
7
6
  export declare function InternalThemeProvider({ children }: {
@@ -1,3 +1,2 @@
1
1
  import { TypographyOptions } from '@mui/material/styles/createTypography';
2
-
3
2
  export declare const typography: TypographyOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit-ux",
3
- "version": "2.1.12",
3
+ "version": "2.1.13",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -18,10 +18,10 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@arcblock/bridge": "^2.10.36",
22
- "@arcblock/react-hooks": "^2.10.36",
21
+ "@arcblock/bridge": "^2.10.46",
22
+ "@arcblock/react-hooks": "^2.10.46",
23
23
  "@arcblock/ws": "^1.18.135",
24
- "@blocklet/uploader": "^0.1.43",
24
+ "@blocklet/uploader": "^0.1.45",
25
25
  "@emotion/css": "^11.13.0",
26
26
  "@emotion/react": "^11.13.3",
27
27
  "@emotion/styled": "^11.13.0",
@@ -43,12 +43,12 @@
43
43
  "ufo": "^1.5.4",
44
44
  "unstated-next": "^1.1.0",
45
45
  "url-join": "^4.0.1",
46
- "@blocklet/editor": "^2.1.12",
47
- "@blocklet/labels": "^2.1.12"
46
+ "@blocklet/editor": "^2.1.13",
47
+ "@blocklet/labels": "^2.1.13"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@arcblock/did-connect": "^2.10.36",
51
- "@arcblock/ux": "^2.10.36",
51
+ "@arcblock/ux": "^2.10.46",
52
52
  "@mui/icons-material": "^5.10.9",
53
53
  "@mui/lab": "^5.0.0-alpha.109",
54
54
  "@mui/material": "^5.10.13",
@@ -68,7 +68,7 @@
68
68
  "@storybook/addon-essentials": "^6.5.16",
69
69
  "@storybook/addon-interactions": "^6.5.16",
70
70
  "@storybook/addon-links": "^6.5.16",
71
- "@storybook/builder-vite": "^8.3.3",
71
+ "@storybook/builder-vite": "^8.3.5",
72
72
  "@storybook/react": "^6.5.16",
73
73
  "@storybook/testing-library": "^0.0.13",
74
74
  "@svgr/core": "^6.5.1",
@@ -76,15 +76,15 @@
76
76
  "@types/react-color": "^3.0.12",
77
77
  "@types/react-dom": "^18.3.0",
78
78
  "@types/semver-compare": "^1.0.3",
79
- "@vitejs/plugin-react": "^4.3.1",
79
+ "@vitejs/plugin-react": "^4.3.2",
80
80
  "babel-loader": "^8.4.1",
81
81
  "react": "^18.3.1",
82
82
  "react-dom": "^18.3.1",
83
83
  "rollup-plugin-node-externals": "^7.1.3",
84
84
  "typescript": "^4.9.5",
85
85
  "unplugin-icons": "^0.14.15",
86
- "vite": "^5.4.8",
87
- "vite-plugin-dts": "^3.9.1",
86
+ "vite": "^5.4.9",
87
+ "vite-plugin-dts": "^4.2.4",
88
88
  "vite-plugin-libcss": "^1.1.1"
89
89
  },
90
90
  "scripts": {