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.
- package/build/jamespot-react-components.js +6 -5
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Form/Input/JRCInputTinyMCE/extensions/JIAExtension/JIATextGenerationExtension.d.ts +7 -0
- package/build/src/components/Form/Input/JRCInputTinyMCE/extensions/JTinyMCEExtensions.d.ts +3 -1
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +1 -0
- package/build/src/components/JRCCard/JRCCardImg.d.ts +1 -0
- package/build/src/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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
|
+
};
|
|
@@ -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;
|
package/build/src/index.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|