jamespot-react-core 1.1.174 → 1.1.176

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,6 @@
1
+ import React from 'react';
2
+ import { WidgetDisplayMode } from 'jamespot-user-api';
3
+ export declare const EditorSave: ({ uniqid, mode }: {
4
+ uniqid: string;
5
+ mode: WidgetDisplayMode;
6
+ }) => React.JSX.Element;
@@ -3,9 +3,7 @@ import React from 'react';
3
3
  export declare const CSSRowLinkWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
4
  border?: boolean | undefined;
5
5
  }, never>;
6
- export declare const FormItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
- border?: boolean | undefined;
8
- }, never>;
6
+ export declare const CSSWidgetCheckListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
7
  type JRCWidgetCheckListWrapperProps = {
10
8
  widget: WidgetCheckListType;
11
9
  inplace: boolean;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { WidgetDisplayMode, WidgetPresenceType } from 'jamespot-user-api';
2
+ import React from 'react';
3
3
  export declare const CSSWidgetPresenceWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
4
  export declare const CSSWidgetPresenceState: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
5
  export declare const JRCWidgetPresenceWrapper: ({ widget, mode, }: {
@@ -9,6 +9,6 @@ export declare const WidgetPresenceWrapperClosing: ({ mode, uniqid, isClosed, }:
9
9
  } & Pick<{
10
10
  limit?: number | boolean | undefined;
11
11
  limitValue?: number | undefined;
12
- closing?: boolean | undefined;
13
- isClosed?: boolean | undefined;
12
+ closing?: boolean | 0 | 1 | undefined;
13
+ isClosed?: boolean | 0 | 1 | undefined;
14
14
  }, "isClosed">) => React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { WidgetDisplayMode, WidgetQuickSurveyType } from 'jamespot-user-api';
2
+ import React from 'react';
3
+ type JRCWidgetQuickSurveyWrapperProps = {
4
+ widget: WidgetQuickSurveyType;
5
+ inplace: boolean;
6
+ mode?: WidgetDisplayMode;
7
+ };
8
+ export declare const JRCWidgetQuickSurveyWrapper: ({ widget, inplace, mode }: JRCWidgetQuickSurveyWrapperProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const WidgetInlineInputText: ({ placeholder, handleClick, }: {
4
+ placeholder: string;
5
+ handleClick: (label: string) => void;
6
+ }) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const WidgetIsPending: () => React.JSX.Element;
@@ -2,4 +2,5 @@ import useWindowDimension from './useWindowDimension';
2
2
  import useAbortController from './useAbortController';
3
3
  import useToggleFullScreen from './useToggleFullScreen';
4
4
  import useCommentRT from './useCommentRT';
5
- export { useWindowDimension, useAbortController, useToggleFullScreen, useCommentRT };
5
+ import { useNGEvent } from './useNGEvent';
6
+ export { useWindowDimension, useAbortController, useToggleFullScreen, useCommentRT, useNGEvent };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This hook catch angular event
3
+ *
4
+ * - ngLocationChangeSuccess - Trigger when angular router change path
5
+ * Use it only when you'r not in Router context. Otherwise, use useLocation from react-router-dom
6
+ */
7
+ export declare const useNGEvent: () => {
8
+ pathname: string;
9
+ };
@@ -111,6 +111,7 @@ declare const _default: {
111
111
  readonly ModalContentForm: "JRCModalContentForm";
112
112
  readonly ModalForm: "JRCModalForm";
113
113
  readonly ModalImg: "JRCModalImg";
114
+ readonly ModalUserList: "JRCModalUserList";
114
115
  readonly ModalLayout: "JRCModalLayout";
115
116
  readonly PageNotLogged: "JRCPageNotLogged";
116
117
  readonly Pagination: "JRCPagination";
@@ -163,6 +164,8 @@ declare const _default: {
163
164
  readonly WidgetEmptyInplace: "JRCWidgetEmptyInplace";
164
165
  readonly WidgetCheckList: "JRCWidgetCheckList";
165
166
  readonly WidgetCheckListEditor: "JRCWidgetCheckListEditor";
167
+ readonly WidgetQuickSurvey: "JRCWidgetQuickSurvey";
168
+ readonly WidgetQuickSurveyEditor: "JRCWidgetQuickSurveyEditor";
166
169
  readonly JRCAvatar: "JRCAvatar";
167
170
  readonly JRCCommentsBloc: "JRCCommentsBloc";
168
171
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.1.174",
3
+ "version": "1.1.176",
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.74",
57
- "jamespot-react-components": "^1.0.217",
58
- "jamespot-user-api": "^1.0.196",
56
+ "jamespot-front-business": "^1.1.78",
57
+ "jamespot-react-components": "^1.0.221",
58
+ "jamespot-user-api": "^1.0.202",
59
59
  "react": "^17.0.2",
60
60
  "react-dom": "^17.0.2",
61
61
  "react-hook-form": "^7.25.0",