jamespot-react-components 1.3.86 → 1.3.88
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 +700 -694
- package/dist/jamespot-react-components.js +4312 -4249
- package/dist/src/components/JRCCalendar/JRCCalendarEvent.d.ts +2 -1
- package/dist/src/components/Widgets/JRCWidgetSlider/JRCWidgetSliderEditorSlide.d.ts +2 -2
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/styles/theme.d.ts +2 -1
- package/dist/src/translation/lang.json.d.ts +1 -0
- package/package.json +3 -3
|
@@ -29,6 +29,7 @@ type JRCCalendarEventProps = {
|
|
|
29
29
|
}) => void;
|
|
30
30
|
isUpdateStatusLoading: (id: number) => boolean;
|
|
31
31
|
recurrent: boolean;
|
|
32
|
+
recurringEventId?: number;
|
|
32
33
|
};
|
|
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;
|
|
34
|
+
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, recurringEventId, href, }: JRCCalendarEventProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
34
35
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WidgetCoverSlide } from 'jamespot-user-api';
|
|
2
2
|
import { JRCInputTinyMCERawProps } from '../../Form/Input/JRCInputTinyMCERaw/JRCInputTinyMCERaw';
|
|
3
|
-
export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text, titleHeading, opacityColor, opacityFilter, button, token, onUploadSuccess, onSave, onClickDelete, tinyMCECommonOptions, }: {
|
|
3
|
+
export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text, titleHeading, textColor, opacityColor, opacityFilter, button, token, onUploadSuccess, onSave, onClickDelete, tinyMCECommonOptions, }: {
|
|
4
4
|
forceOpen?: boolean;
|
|
5
5
|
token?: string;
|
|
6
6
|
onUploadStart: () => void;
|
|
@@ -8,4 +8,4 @@ export declare const JRCWidgetSliderEditorSlide: ({ forceOpen, id, title, text,
|
|
|
8
8
|
onSave: (slide: Partial<WidgetCoverSlide>) => void;
|
|
9
9
|
onClickDelete: () => void;
|
|
10
10
|
tinyMCECommonOptions?: Pick<JRCInputTinyMCERawProps, "commonOptions" | "mentionsQueries">;
|
|
11
|
-
} & Pick<WidgetCoverSlide, "id" | "title" | "text" | "titleHeading" | "opacityColor" | "opacityFilter" | "button">) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
} & Pick<WidgetCoverSlide, "id" | "title" | "text" | "titleHeading" | "textColor" | "opacityColor" | "opacityFilter" | "button">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -68,6 +68,7 @@ export { JRCButtonDownload } from './JRCButtonDownload/JRCButtonDownload';
|
|
|
68
68
|
export { JRCButtonDropdown } from './JRCButtonDropdown/JRCButtonDropdown';
|
|
69
69
|
export { JRCButtonFile } from './JRCButtonFile/JRCButtonFile';
|
|
70
70
|
export { JRCCalendar } from './JRCCalendar/JRCCalendar';
|
|
71
|
+
export { JRCCalendarModal } from './JRCCalendar/JRCCalendarModal';
|
|
71
72
|
export { JRCCard } from './JRCCard/JRCCard';
|
|
72
73
|
export { JRCCardImg } from './JRCCard/JRCCardImg';
|
|
73
74
|
export { JRCCollapse } from './JRCCollapse/JRCCollapse';
|
|
@@ -3,7 +3,7 @@ import { ThemeConfigColorType, ThemeConfigOptions } from 'jamespot-front-busines
|
|
|
3
3
|
interface ITheme {
|
|
4
4
|
config: DefaultTheme | undefined;
|
|
5
5
|
get: () => DefaultTheme;
|
|
6
|
-
initTheme: (options?: ThemeConfigOptions) => DefaultTheme;
|
|
6
|
+
initTheme: (options?: ThemeConfigOptions, platformPalette?: string[]) => DefaultTheme;
|
|
7
7
|
}
|
|
8
8
|
export type FontWeight = {
|
|
9
9
|
light: number;
|
|
@@ -34,6 +34,7 @@ export type ThemeType = {
|
|
|
34
34
|
weight: FontWeight;
|
|
35
35
|
};
|
|
36
36
|
color: ThemeConfigColorType;
|
|
37
|
+
platformPalette: string[];
|
|
37
38
|
zIndex: {
|
|
38
39
|
forceTop: number;
|
|
39
40
|
tinyMCEModal: number;
|
|
@@ -66,6 +66,7 @@ declare const _default: {
|
|
|
66
66
|
"CALENDAR_No_Next_Event": "Vous n'avez plus d'événements prévus ce mois-ci",
|
|
67
67
|
"CALENDAR_No_Today_Event": "Vous n'avez rien de prévu aujourd'hui",
|
|
68
68
|
"CALENDAR_Recurrent_Event_Warning": "This is a recurring event. Changes will apply to all events in the series.",
|
|
69
|
+
"CALENDAR_Recurring_Participation_Warning": "This is a recurring event: by registering, you will automatically participate in all sessions (past and future).",
|
|
69
70
|
"CALENDAR_Participate_OnSite": "Je participe en présentiel",
|
|
70
71
|
"CALENDAR_Participate_Remote": "Je participe en distanciel",
|
|
71
72
|
"CALENDAR_Participate": "Je participe",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.88",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/jamespot-react-components.cjs",
|
|
6
6
|
"module": "dist/jamespot-react-components.js",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"eslint-plugin-storybook": "10.3.6",
|
|
60
60
|
"globals": "^16.5.0",
|
|
61
61
|
"html2canvas": "^1.4.1",
|
|
62
|
-
"jamespot-front-business": "^1.3.
|
|
63
|
-
"jamespot-user-api": "^1.3.
|
|
62
|
+
"jamespot-front-business": "^1.3.88",
|
|
63
|
+
"jamespot-user-api": "^1.3.88",
|
|
64
64
|
"jsdom": "^26.1.0",
|
|
65
65
|
"knip": "^5.88.1",
|
|
66
66
|
"lint-staged": "^16.4.0",
|