jamespot-react-components 1.0.166 → 1.0.167

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.
@@ -0,0 +1,7 @@
1
+ import { TinyMCEExtensionBuilder } from '../JTinyMCEExtensions';
2
+ export type TextGenerationCapabilities = {
3
+ summarize: (text: string) => Promise<string>;
4
+ develop: (text: string) => Promise<string>;
5
+ tldr: (text: string) => Promise<string>;
6
+ };
7
+ export declare const JIATextGenerationExtension: TinyMCEExtensionBuilder<[TextGenerationCapabilities]>;
@@ -5,4 +5,6 @@ export type TinyMCEExtension = {
5
5
  export interface TinyMCEExtensionBuilder<T extends Array<any>> {
6
6
  (...args: T): TinyMCEExtension;
7
7
  }
8
- export declare const JTinyMCEExtensionsBuilders: {};
8
+ export declare const JTinyMCEExtensionsBuilders: {
9
+ readonly jia: TinyMCEExtensionBuilder<[import("./JIAExtension/JIATextGenerationExtension").TextGenerationCapabilities]>;
10
+ };
@@ -22,6 +22,7 @@ export type JRCButtonDropdownProps = {
22
22
  variant?: JRCButtonProps['variant'];
23
23
  options: Array<JRCButtonDropdownOptionProps>;
24
24
  semiTransparentClosed?: boolean;
25
+ disabled?: boolean;
25
26
  };
26
27
  export type ButtonProps = {
27
28
  borderLeft?: boolean;
@@ -27,6 +27,7 @@ export type JRCCardImgProps = {
27
27
  children: React.ReactNode;
28
28
  position?: ActionsPosition;
29
29
  };
30
+ lazyLoading?: boolean;
30
31
  };
31
32
  export declare const Actions: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
32
33
  position?: ActionsPosition | undefined;
@@ -165,6 +165,7 @@ export { useTimeout } from './hooks/UseTimeout';
165
165
  export { useRefSize } from './hooks/useRefSize';
166
166
  export { useWindowSize } from './hooks/useWindowSize';
167
167
  export { useCancelOnUnmount } from './hooks/useCancelOnUnmount';
168
+ export { JTinyMCEExtensionsBuilders } from './components/Form/Input/JRCInputTinyMCE/extensions/JTinyMCEExtensions';
168
169
  /****
169
170
  *
170
171
  * PLEASE RESPECT ALPHABETICAL ORDER
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
4
4
  "description": "",
5
5
  "main": "./build/jamespot-react-components.js",
6
6
  "types": "./build/src/index.d.ts",
@@ -92,7 +92,7 @@
92
92
  "chroma-js": "^2.1.1",
93
93
  "classnames": "^2.3.1",
94
94
  "dompurify": "^3.0.5",
95
- "jamespot-user-api": "^1.0.138",
95
+ "jamespot-user-api": "^1.0.139",
96
96
  "moment": "2.29.4",
97
97
  "react": "^17.x",
98
98
  "react-beautiful-dnd": "^13.1.1",