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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const EditorIsLocked: ({ uniqid }: {
3
+ uniqid: string;
4
+ }) => React.JSX.Element;
@@ -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.162",
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.64",
57
- "jamespot-react-components": "^1.0.206",
58
- "jamespot-user-api": "^1.0.184",
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",