jamespot-react-core 1.1.162 → 1.1.163
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/{746.bundle.js → 854.bundle.js} +85 -79
- package/build/854.bundle.js.map +1 -0
- package/build/app.bundle.js +121 -85
- package/build/app.bundle.js.map +1 -1
- package/build/src/components/editors/states/EditorIsLocked.d.ts +4 -0
- package/build/src/components/editors/style.d.ts +1 -0
- package/build/src/components/widgets/hooks.d.ts +8 -0
- package/package.json +4 -4
- package/build/746.bundle.js.map +0 -1
|
@@ -12,6 +12,7 @@ export declare const CSSEditor: import("styled-components").StyledComponent<"div
|
|
|
12
12
|
}, never>;
|
|
13
13
|
export declare const CSSEditorContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
export declare const CSSEditorIsBusy: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
|
+
export declare const CSSEditorIsLocked: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
15
16
|
export declare const CSSEditorMenu: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
17
|
export declare const CSSEditorMenuButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
17
18
|
isActive?: boolean | undefined;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { jObjectBase, Namespaces } from 'jamespot-user-api';
|
|
2
3
|
export declare function useComponentVisible(initialIsVisible?: boolean): {
|
|
3
4
|
ref: import("react").MutableRefObject<null>;
|
|
4
5
|
isComponentVisible: boolean;
|
|
5
6
|
setIsComponentVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
6
7
|
};
|
|
8
|
+
export type FitType = Record<'type', string[]>;
|
|
9
|
+
export declare function fitConditions(conditions: FitType[], o: jObjectBase): boolean;
|
|
10
|
+
export declare function fitAudience(audience: string[], messageAudience: string[]): boolean;
|
|
11
|
+
export declare const useArticleRT: (conditions: FitType[], audience: string[], fn?: Array<Namespaces['JAMESPOT']>) => {
|
|
12
|
+
rtObjects: jObjectBase[];
|
|
13
|
+
rtLastObject: jObjectBase | undefined;
|
|
14
|
+
};
|
|
7
15
|
export declare const useWidgetRT: (uniqid: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.163",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@reduxjs/toolkit": "^1.9.0",
|
|
55
55
|
"history": "^5.3.0",
|
|
56
|
-
"jamespot-front-business": "^1.1.
|
|
57
|
-
"jamespot-react-components": "^1.0.
|
|
58
|
-
"jamespot-user-api": "^1.0.
|
|
56
|
+
"jamespot-front-business": "^1.1.65",
|
|
57
|
+
"jamespot-react-components": "^1.0.207",
|
|
58
|
+
"jamespot-user-api": "^1.0.185",
|
|
59
59
|
"react": "^17.0.2",
|
|
60
60
|
"react-dom": "^17.0.2",
|
|
61
61
|
"react-hook-form": "^7.25.0",
|