jamespot-react-components 1.0.248 → 1.0.249

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.
@@ -6,7 +6,7 @@ import { JDriveApi } from 'jamespot-user-api/lib/src/apis/drive/drive';
6
6
  import { JQuestionAnswerApi } from 'jamespot-user-api/lib/src/apis/questionAnswer/questionAnswer';
7
7
  export type JRCCommentProps = {
8
8
  isFocused: boolean;
9
- comment: CommentWithExtensions<jCommentList, ['actions', 'extraBotRedacted']> & {
9
+ comment: CommentWithExtensions<jCommentList, ['actions']> & {
10
10
  pending?: boolean;
11
11
  };
12
12
  token?: string;
@@ -7,7 +7,7 @@ import { JDriveApi } from 'jamespot-user-api/lib/src/apis/drive/drive';
7
7
  import { JQuestionAnswerApi } from 'jamespot-user-api/lib/src/apis/questionAnswer/questionAnswer';
8
8
  import { TinyMCEExtension } from '../Form/Input/JRCInputTinyMCERaw/extensions/JTinyMCEExtensions';
9
9
  export type JRCCommentsBlocProps = {
10
- comments?: Array<CommentWithExtensions<jCommentList, ['actions', 'extraBotRedacted']> & {
10
+ comments?: Array<CommentWithExtensions<jCommentList, ['actions']> & {
11
11
  pending?: boolean;
12
12
  }>;
13
13
  initialCommentsNumber?: number;
@@ -8,6 +8,5 @@ export type JRCUserPopupProps = {
8
8
  user: Pick<JUserApi, 'get' | 'getFields'>;
9
9
  };
10
10
  children: ReactNode;
11
- icon?: ReactNode;
12
11
  };
13
- export declare const JRCUserPopup: ({ icon, children, uri, fetchBusinessNetworking, handlers, onError, }: JRCUserPopupProps) => React.JSX.Element;
12
+ export declare const JRCUserPopup: ({ children, uri, fetchBusinessNetworking, handlers, onError }: JRCUserPopupProps) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { jUserLittle } from 'jamespot-user-api';
3
+ export type JRCUserStatusIconProps = {
4
+ user: jUserLittle;
5
+ isUserActive?: boolean;
6
+ };
7
+ export declare const JRCUserStatusIcon: ({ user, isUserActive }: JRCUserStatusIconProps) => React.JSX.Element | null;
@@ -86,11 +86,11 @@ export declare const Primary: Story<{
86
86
  text?: string | undefined;
87
87
  color?: string | undefined;
88
88
  url?: string | undefined;
89
+ variant?: "contained" | "outlined" | undefined;
89
90
  backgroundColor?: string | undefined;
90
91
  borderRadius?: string | undefined;
91
92
  fontSize?: string | undefined;
92
93
  buttonSize?: "md" | "sm" | "lg" | undefined;
93
- variant?: "contained" | "outlined" | undefined;
94
94
  openingType?: "link" | "anchor" | "popup" | undefined;
95
95
  openingTypeLink?: {
96
96
  target: string;
@@ -80,11 +80,11 @@ export declare const useEditorContext: <T = EditorBaseContext<{
80
80
  text?: string | undefined;
81
81
  color?: string | undefined;
82
82
  url?: string | undefined;
83
+ variant?: "contained" | "outlined" | undefined;
83
84
  backgroundColor?: string | undefined;
84
85
  borderRadius?: string | undefined;
85
86
  fontSize?: string | undefined;
86
87
  buttonSize?: "md" | "sm" | "lg" | undefined;
87
- variant?: "contained" | "outlined" | undefined;
88
88
  openingType?: "link" | "anchor" | "popup" | undefined;
89
89
  openingTypeLink?: {
90
90
  target: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.248",
3
+ "version": "1.0.249",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -80,7 +80,7 @@
80
80
  "chroma-js": "^2.1.1",
81
81
  "classnames": "^2.3.1",
82
82
  "dompurify": "^3.0.5",
83
- "jamespot-user-api": "^1.0.222",
83
+ "jamespot-user-api": "^1.0.223",
84
84
  "moment": "2.29.4",
85
85
  "react": "^17.x",
86
86
  "react-beautiful-dnd": "^13.1.1",