@dxos/react-ui-thread 0.7.5-main.9d2a38b → 0.7.5-main.e94eead

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.
@@ -7,18 +7,18 @@ export type MessageRootProps = ThemedClassName<ComponentPropsWithRef<'div'>> & M
7
7
  }>;
8
8
  export declare const MessageRoot: React.ForwardRefExoticComponent<Omit<MessageRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
9
  export type MessageHeadingProps = ThemedClassName<ComponentPropsWithoutRef<'div'>> & Pick<MessageMetadata, 'authorName' | 'timestamp'>;
10
- export declare const MessageHeading: ({ children, classNames, timestamp, authorName, ...props }: MessageHeadingProps) => React.JSX.Element;
10
+ export declare const MessageHeading: ({ children, classNames, timestamp, authorName, ...props }: MessageHeadingProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export type MessageAuthorNameProps = Pick<MessageMetadata, 'authorName'>;
12
- export declare const MessageAuthorName: ({ authorName }: MessageAuthorNameProps) => React.JSX.Element;
12
+ export declare const MessageAuthorName: ({ authorName }: MessageAuthorNameProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export type MessageTimeProps = Pick<MessageMetadata, 'timestamp'>;
14
- export declare const MessageTime: ({ timestamp }: MessageTimeProps) => React.JSX.Element;
14
+ export declare const MessageTime: ({ timestamp }: MessageTimeProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export type MessageBodyProps = ComponentPropsWithoutRef<'p'>;
16
- export declare const MessageBody: ({ children, ...props }: MessageBodyProps) => React.JSX.Element;
16
+ export declare const MessageBody: ({ children, ...props }: MessageBodyProps) => import("react/jsx-runtime").JSX.Element;
17
17
  export type MessageTextboxProps = {
18
18
  disabled?: boolean;
19
19
  onSend?: () => void;
20
20
  onClear?: () => void;
21
21
  onEditorFocus?: () => void;
22
22
  } & MessageMetadata & UseTextEditorProps;
23
- export declare const MessageTextbox: ({ id, authorId, authorName, authorImgSrc, authorAvatarProps, disabled, extensions, onSend, onClear, onEditorFocus, ...editorProps }: MessageTextboxProps) => React.JSX.Element;
23
+ export declare const MessageTextbox: ({ id, authorId, authorName, authorImgSrc, authorAvatarProps, disabled, extensions, onSend, onClear, onEditorFocus, ...editorProps }: MessageTextboxProps) => import("react/jsx-runtime").JSX.Element;
24
24
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/Message/Message.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGrG,OAAO,EAAU,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,KAAK,kBAAkB,EAAmC,MAAM,uBAAuB,CAAC;AAKjG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAIhD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,GAC1E,eAAe,GACf,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAElC,eAAO,MAAM,WAAW,sGA6BvB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,GAChF,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,WAAW,CAAC,CAAC;AAEpD,eAAO,MAAM,cAAc,8DAA+D,mBAAmB,sBAU5G,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;AAEzE,eAAO,MAAM,iBAAiB,mBAAoB,sBAAsB,sBAKvE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AAElE,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,sBAQ1D,CAAC;AAEF,MAAM,MA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AiB,mBAAoB,sBAAsB,4CAKvE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;AAElE,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,4CAQ1D,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,2BAA4B,gBAAgB,4CAEnE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,GAAG,eAAe,GACjB,kBAAkB,CAAC;AA4BrB,eAAO,MAAM,cAAc,wIAYxB,mBAAmB,4CA8BrB,CAAC"}
@@ -3,8 +3,8 @@ import React from 'react';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: React.ForwardRefExoticComponent<Omit<import("./Message").MessageRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- render: () => React.JSX.Element;
7
- decorators: import("@storybook/react/*").Decorator[];
6
+ render: () => import("react/jsx-runtime").JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
8
  parameters: {
9
9
  translations: {
10
10
  'en-US': {
@@ -21,8 +21,8 @@ declare const _default: {
21
21
  onSelect: () => void;
22
22
  onResolve: () => void;
23
23
  }>;
24
- decorators: import("@storybook/react/*").Decorator[];
25
- render: (args: StoryProps) => React.JSX.Element;
24
+ decorators: import("@storybook/react").Decorator[];
25
+ render: (args: StoryProps) => import("react/jsx-runtime").JSX.Element;
26
26
  parameters: {
27
27
  translations: {
28
28
  'en-US': {
@@ -3,8 +3,8 @@ import React from 'react';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: React.ForwardRefExoticComponent<Omit<import("./Thread").ThreadProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- render: () => React.JSX.Element;
7
- decorators: import("@storybook/react/*").Decorator[];
6
+ render: () => import("react/jsx-runtime").JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
8
  parameters: {
9
9
  translations: {
10
10
  'en-US': {
@@ -1,4 +1,4 @@
1
- import React, { type PropsWithChildren } from 'react';
1
+ import { type PropsWithChildren } from 'react';
2
2
  import { type MessageMetadata } from './types';
3
3
  export type MessageEntity<PartValue = any> = MessageMetadata & {
4
4
  text: string;
@@ -8,10 +8,10 @@ export type MessageTextProps = MessageMetadata & {
8
8
  text: string;
9
9
  onDelete?: () => void;
10
10
  };
11
- export declare const MessageStoryText: ({ text, onDelete, authorName, timestamp }: MessageTextProps) => React.JSX.Element;
11
+ export declare const MessageStoryText: ({ text, onDelete, authorName, timestamp }: MessageTextProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export type MessagePartProps<PartValue> = {
13
13
  part: PartValue;
14
14
  };
15
- export declare const MessageStoryBlock: <PartValue>({ part }: MessagePartProps<PartValue>) => React.JSX.Element;
16
- export declare const ThreadStoryContainer: ({ children }: PropsWithChildren) => React.JSX.Element;
15
+ export declare const MessageStoryBlock: <PartValue>({ part }: MessagePartProps<PartValue>) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ThreadStoryContainer: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
17
17
  //# sourceMappingURL=testing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMtD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,aAAa,CAAC,SAAS,GAAG,GAAG,IAAI,eAAe,GAAG;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,SA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 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-thread",
3
- "version": "0.7.5-main.9d2a38b",
3
+ "version": "0.7.5-main.e94eead",
4
4
  "description": "A set of components to use with threads, including comments and messages.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
7
7
  "license": "MIT",
8
8
  "author": "DXOS.org",
9
9
  "sideEffects": true,
10
+ "type": "module",
10
11
  "exports": {
11
12
  ".": {
12
13
  "types": "./dist/types/src/index.d.ts",
@@ -22,11 +23,10 @@
22
23
  "src"
23
24
  ],
24
25
  "dependencies": {
25
- "@radix-ui/react-primitive": "^1.0.2",
26
+ "@radix-ui/react-primitive": "2.0.2",
26
27
  "date-fns": "^3.3.1",
27
- "@dxos/react-ui-editor": "0.7.5-main.9d2a38b",
28
- "@dxos/react-ui-mosaic": "0.7.5-main.9d2a38b",
29
- "@dxos/util": "0.7.5-main.9d2a38b"
28
+ "@dxos/react-ui-editor": "0.7.5-main.e94eead",
29
+ "@dxos/util": "0.7.5-main.e94eead"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@phosphor-icons/react": "^2.1.5",
@@ -35,22 +35,22 @@
35
35
  "react": "~18.2.0",
36
36
  "react-dom": "~18.2.0",
37
37
  "vite": "5.4.7",
38
- "@dxos/echo-schema": "0.7.5-main.9d2a38b",
39
- "@dxos/keys": "0.7.5-main.9d2a38b",
40
- "@dxos/log": "0.7.5-main.9d2a38b",
41
- "@dxos/echo-db": "0.7.5-main.9d2a38b",
42
- "@dxos/live-object": "0.7.5-main.9d2a38b",
43
- "@dxos/random": "0.7.5-main.9d2a38b",
44
- "@dxos/react-ui": "0.7.5-main.9d2a38b",
45
- "@dxos/storybook-utils": "0.7.5-main.9d2a38b",
46
- "@dxos/react-ui-theme": "0.7.5-main.9d2a38b"
38
+ "@dxos/echo-db": "0.7.5-main.e94eead",
39
+ "@dxos/echo-schema": "0.7.5-main.e94eead",
40
+ "@dxos/live-object": "0.7.5-main.e94eead",
41
+ "@dxos/log": "0.7.5-main.e94eead",
42
+ "@dxos/random": "0.7.5-main.e94eead",
43
+ "@dxos/keys": "0.7.5-main.e94eead",
44
+ "@dxos/react-ui-theme": "0.7.5-main.e94eead",
45
+ "@dxos/storybook-utils": "0.7.5-main.e94eead",
46
+ "@dxos/react-ui": "0.7.5-main.e94eead"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@phosphor-icons/react": "^2.1.5",
50
50
  "react": "~18.2.0",
51
51
  "react-dom": "~18.2.0",
52
- "@dxos/react-ui": "0.7.5-main.9d2a38b",
53
- "@dxos/react-ui-theme": "0.7.5-main.9d2a38b"
52
+ "@dxos/react-ui": "0.7.5-main.e94eead",
53
+ "@dxos/react-ui-theme": "0.7.5-main.e94eead"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"