jamespot-react-components 1.3.33 → 1.3.35
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/dist/jamespot-react-components.cjs +874 -842
- package/dist/jamespot-react-components.js +6846 -6725
- package/dist/src/components/JRCAudience/JRCAudience.d.ts +2 -1
- package/dist/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -0
- package/dist/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +1 -0
- package/dist/src/components/JRCCalendar/JRCCalendarEvent.d.ts +3 -2
- package/dist/src/components/JRCEditor/JRCEditor.d.ts +2 -1
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ type JRCAudienceProps = {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
filter?: string[];
|
|
7
7
|
hideDescription?: boolean;
|
|
8
|
+
hideTooltip?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare const JRCAudience: ({ list, limit, size, filter, hideDescription }: JRCAudienceProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const JRCAudience: ({ list, limit, size, filter, hideDescription, hideTooltip, }: JRCAudienceProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { JRCButtonDropdownProps } from './JRCButtonDropdown.types';
|
|
2
|
+
export declare const DropDownContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
3
|
export declare const JRCButtonDropdown: (props: JRCButtonDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,7 +9,8 @@ type JRCCalendarEventProps = {
|
|
|
9
9
|
status: UserResponseStatus | null;
|
|
10
10
|
mode: JRCCalendarMode;
|
|
11
11
|
display: CalendarView;
|
|
12
|
-
onClick
|
|
12
|
+
onClick?: (id: number) => void;
|
|
13
|
+
href?: string;
|
|
13
14
|
audience: AvatarAudience[];
|
|
14
15
|
allDay?: boolean;
|
|
15
16
|
textColor?: string;
|
|
@@ -29,5 +30,5 @@ type JRCCalendarEventProps = {
|
|
|
29
30
|
isUpdateStatusLoading: (id: number) => boolean;
|
|
30
31
|
recurrent: boolean;
|
|
31
32
|
};
|
|
32
|
-
export declare const JRCCalendarEvent: ({ status, title, start, end, display, mode, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, noGestion, canSubscribe, urlGestion, onUpdateStatus, isUpdateStatusLoading, recurrent, }: JRCCalendarEventProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
+
export declare const JRCCalendarEvent: ({ status, title, start, end, display, mode, id: stringId, onClick, audience, allDay, textColor, backgroundColor, address, image, type, isVisio, noGestion, canSubscribe, urlGestion, onUpdateStatus, isUpdateStatusLoading, recurrent, href, }: JRCCalendarEventProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
33
34
|
export {};
|
|
@@ -12,5 +12,6 @@ export type JRCEditorProps = {
|
|
|
12
12
|
onDelete?: () => void;
|
|
13
13
|
isDeleteLoading?: boolean;
|
|
14
14
|
onSaveAsDraft?: () => void;
|
|
15
|
+
mode: 'create' | 'edit';
|
|
15
16
|
};
|
|
16
|
-
export declare const JRCEditor: ({ children, title, onSubmit, isValid, loading, onSchedule, lastDraftDate, initialLoading, cancelHref, onDelete, isDeleteLoading, onSaveAsDraft, }: JRCEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const JRCEditor: ({ children, title, onSubmit, isValid, loading, onSchedule, lastDraftDate, initialLoading, cancelHref, onDelete, isDeleteLoading, onSaveAsDraft, mode, }: JRCEditorProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/jamespot-react-components.js",
|
|
6
6
|
"module": "dist/jamespot-react-components.mjs",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"globals": "^16.5.0",
|
|
79
79
|
"html2canvas": "^1.4.1",
|
|
80
80
|
"husky": "^9.1.7",
|
|
81
|
-
"jamespot-user-api": "^1.3.
|
|
81
|
+
"jamespot-user-api": "^1.3.35",
|
|
82
82
|
"jest": "^30.2.0",
|
|
83
83
|
"jest-environment-jsdom": "^30.2.0",
|
|
84
84
|
"knip": "^5.70.0",
|