jamespot-react-components 1.3.94 → 1.3.95
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 +1515 -1355
- package/dist/jamespot-react-components.js +14496 -13896
- package/dist/src/components/JRCCalendar/JRCCalendar.d.ts +1 -1
- package/dist/src/components/JRCCalendar/JRCCalendarContentEvent.d.ts +7 -0
- package/dist/src/components/JRCCalendar/JRCCalendarEventSubscribe.d.ts +12 -0
- package/dist/src/components/JRCCalendar/JRCCalendarModal.d.ts +2 -1
- package/dist/src/components/JRCCalendar/types.d.ts +1 -0
- package/dist/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton.d.ts +2 -0
- package/dist/src/components/Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton.stories.d.ts +4 -0
- package/dist/src/components/Widgets/{JRCWidgetButton/JRCWidgetButtonEditor.d.ts → JRCWidgetArticleButton/JRCWidgetArticleButtonEditor.d.ts} +1 -1
- package/dist/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.d.ts +10 -2
- package/dist/src/components/Widgets/JRCWidgetButton/JRCWidgetButton.stories.d.ts +12 -2
- package/dist/src/components/Widgets/JRCWidgetSeparator/JRCWidgetSeparator.d.ts +8 -0
- package/dist/src/components/Widgets/JRCWidgetSeparator/JRCWidgetSeparator.stories.d.ts +18 -0
- package/dist/src/components/Widgets/JRCWidgetSeparator/JRCWidgetSeparatorEditor.d.ts +7 -0
- package/dist/src/components/Widgets/JRCWidgetSeparator/JRCWidgetSeparatorEditor.stories.d.ts +8 -0
- package/dist/src/components/index.d.ts +13 -8
- package/dist/src/index.d.ts +2 -0
- package/dist/src/styles/theme.helpers.d.ts +12 -0
- package/dist/src/translation/lang.json.d.ts +8 -0
- package/dist/src/utils/utils.date.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JRCCalendarProps } from './types';
|
|
2
2
|
export type CalendarEventPlaceHolder = 'no-event-today' | 'no-next-event';
|
|
3
|
-
export declare const JRCCalendar: ({ events, loading, views, defaultView, fluid, mode, fullScreen, deportedToolbar, withPadding, eventModalExtraComponent, onChangeView, onChangeDates, onError, onSuccess, onDeleteEvent, onClickUpdateEvent, onClickTransformEvent, onUpdateStatus, isUpdateStatusLoading, onSelect, disableSelect, }: JRCCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const JRCCalendar: ({ events, loading, views, defaultView, fluid, mode, fullScreen, deportedToolbar, withPadding, eventModalExtraComponent, onChangeView, onChangeDates, onError, onSuccess, onDeleteEvent, onClickUpdateEvent, onClickTransformEvent, onUpdateStatus, isUpdateStatusLoading, onSelect, disableSelect, bbbMinutesBeforeJoining }: JRCCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CalendarEventList, CalendarEventWithExtensions, jRecurringEventList, WithPartialExtensions } from 'jamespot-user-api';
|
|
2
|
+
type JRCCalendarContentEventProps = {
|
|
3
|
+
event: CalendarEventWithExtensions<CalendarEventList, ['socialEventRecord' | 'recurringEventRecord']> | WithPartialExtensions<jRecurringEventList, ['socialEventRecord' | 'recurringEventRecord']>;
|
|
4
|
+
bbbMinutesBeforeJoining?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const JRCCalendarContentEvent: ({ event, bbbMinutesBeforeJoining }: JRCCalendarContentEventProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ArticleReturn, CalendarEventList, CalendarEventWithExtensions, UserResponseStatus } from 'jamespot-user-api';
|
|
2
|
+
type JRCCalendarEventSubscribeProps = {
|
|
3
|
+
event?: CalendarEventWithExtensions<CalendarEventList, ['socialEventRecord' | 'recurringEventRecord']> | ArticleReturn<'raw-list', 'recurringEvent', ['socialEventRecord']>;
|
|
4
|
+
onUpdateStatus: (params: {
|
|
5
|
+
status: UserResponseStatus;
|
|
6
|
+
id: number;
|
|
7
|
+
type: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
isUpdateStatusLoading: (id: number) => boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const JRCCalendarEventSubscribe: ({ event, onUpdateStatus, isUpdateStatusLoading, }: JRCCalendarEventSubscribeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export {};
|
|
@@ -21,6 +21,7 @@ type JRCCalendarModalProps = {
|
|
|
21
21
|
}) => void;
|
|
22
22
|
isUpdateStatusLoading: (id: number) => boolean;
|
|
23
23
|
mode?: JRCCalendarMode;
|
|
24
|
+
bbbMinutesBeforeJoining?: number;
|
|
24
25
|
};
|
|
25
|
-
export declare const JRCCalendarModal: ({ closeHandler, event, onError, onSuccess, extraComponent, onDeleteEvent, onClickUpdateEvent, onClickTransformEvent, onUpdateStatus, isUpdateStatusLoading, mode, }: JRCCalendarModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const JRCCalendarModal: ({ closeHandler, event, onError, onSuccess, extraComponent, onDeleteEvent, onClickUpdateEvent, onClickTransformEvent, onUpdateStatus, isUpdateStatusLoading, mode, bbbMinutesBeforeJoining, }: JRCCalendarModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
27
|
export {};
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
/**
|
|
4
4
|
* Default widget button editor
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const JRCWidgetArticleButtonEditor: <T extends {}>({ text, color, backgroundColor, borderRadius, variant, buttonSize, url, target, onChange, onSave, extendProperties, }: WidgetButtonProps & T & {
|
|
7
7
|
onChange: (content: Partial<WidgetButtonProps>) => void;
|
|
8
8
|
onSave: (content?: Partial<WidgetButtonProps>) => void;
|
|
9
9
|
extendProperties?: (onChange: (content: Partial<WidgetButtonProps & T>) => void) => ReactNode;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { WidgetButtonContent } from 'jamespot-user-api';
|
|
2
|
+
type JRCWidgetButtonProps = {
|
|
3
|
+
content: WidgetButtonContent;
|
|
4
|
+
onActionClick?: () => void;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
bannerText?: string;
|
|
7
|
+
pendingText?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const JRCWidgetButton: ({ content, onActionClick, isLoading, bannerText, pendingText, }: JRCWidgetButtonProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-vite';
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const SimpleLink: StoryFn;
|
|
5
|
+
export declare const WithIconLeft: StoryFn;
|
|
6
|
+
export declare const WithIconRight: StoryFn;
|
|
7
|
+
export declare const WithDescription: StoryFn;
|
|
8
|
+
export declare const FullWidth: StoryFn;
|
|
9
|
+
export declare const NonLinkRendersNothing: StoryFn;
|
|
10
|
+
export declare const SubscribeGroupAction: StoryFn;
|
|
11
|
+
export declare const SubscribeGroupActionPending: StoryFn;
|
|
12
|
+
export declare const SubscribeGroupActionAlreadySubscribed: StoryFn;
|
|
13
|
+
export declare const SubscribeGroupActionLoading: StoryFn;
|
|
14
|
+
export declare const ActionWithoutHandlerRendersNothing: StoryFn;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WidgetSeparatorAlign, WidgetSeparatorOrientation } from 'jamespot-user-api';
|
|
2
|
+
export type JRCWidgetSeparatorProps = {
|
|
3
|
+
color?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
orientation?: WidgetSeparatorOrientation;
|
|
6
|
+
align?: WidgetSeparatorAlign;
|
|
7
|
+
};
|
|
8
|
+
export declare const JRCWidgetSeparator: ({ color, size, orientation, align }: JRCWidgetSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetSeparator } from './JRCWidgetSeparator';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetSeparator>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetSeparator>;
|
|
6
|
+
export declare const Horizontal: Story;
|
|
7
|
+
export declare const Vertical: Story;
|
|
8
|
+
export declare const Default: Story;
|
|
9
|
+
export declare const Thick: Story;
|
|
10
|
+
export declare const AlignTopLeft: Story;
|
|
11
|
+
export declare const AlignTopCenter: Story;
|
|
12
|
+
export declare const AlignTopRight: Story;
|
|
13
|
+
export declare const AlignCenterLeft: Story;
|
|
14
|
+
export declare const AlignCenter: Story;
|
|
15
|
+
export declare const AlignCenterRight: Story;
|
|
16
|
+
export declare const AlignBottomLeft: Story;
|
|
17
|
+
export declare const AlignBottomCenter: Story;
|
|
18
|
+
export declare const AlignBottomRight: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WidgetSeparatorContent } from 'jamespot-user-api';
|
|
2
|
+
export interface JRCWidgetSeparatorEditorProps {
|
|
3
|
+
uniqid: string;
|
|
4
|
+
content: WidgetSeparatorContent;
|
|
5
|
+
onChangeContent: (uniqid: string, content: WidgetSeparatorContent) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const JRCWidgetSeparatorEditor: ({ uniqid, content, onChangeContent }: JRCWidgetSeparatorEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { JRCWidgetSeparatorEditor } from './JRCWidgetSeparatorEditor';
|
|
3
|
+
declare const meta: Meta<typeof JRCWidgetSeparatorEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof JRCWidgetSeparatorEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Defaults: Story;
|
|
8
|
+
export declare const Vertical: Story;
|
|
@@ -54,10 +54,10 @@ export { JRCInputSelectRaw } from './Form/Input/JRCSelect/JRCInputSelectRaw';
|
|
|
54
54
|
export { StyledInput } from './Form/Input/JRCStyledInput';
|
|
55
55
|
export { JRCAlbum } from './JRCAlbum/JRCAlbum';
|
|
56
56
|
export { JRCAlert } from './JRCAlert/JRCAlert';
|
|
57
|
+
export { JRCAppAvatar } from './JRCAppAvatar/JRCAppAvatar';
|
|
57
58
|
export { JRCAppContainer } from './JRCAppContainer/JRCAppContainer';
|
|
58
59
|
export { JRCAppHeader } from './JRCAppHeader/JRCAppHeader';
|
|
59
60
|
export { JRCAppLeftColumn } from './JRCAppLeftColumn/JRCAppLeftColumn';
|
|
60
|
-
export { JRCAppAvatar } from './JRCAppAvatar/JRCAppAvatar';
|
|
61
61
|
export { JRCAttachments } from './JRCAttachments/JRCAttachments';
|
|
62
62
|
export { JRCAudience } from './JRCAudience/JRCAudience';
|
|
63
63
|
export { JRCAvatar } from './JRCAvatar/JRCAvatar';
|
|
@@ -68,6 +68,8 @@ 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 { JRCCalendarContentEvent } from './JRCCalendar/JRCCalendarContentEvent';
|
|
72
|
+
export { JRCCalendarEventSubscribe } from './JRCCalendar/JRCCalendarEventSubscribe';
|
|
71
73
|
export { JRCCalendarModal } from './JRCCalendar/JRCCalendarModal';
|
|
72
74
|
export { JRCCard } from './JRCCard/JRCCard';
|
|
73
75
|
export { JRCCardImg } from './JRCCard/JRCCardImg';
|
|
@@ -82,7 +84,7 @@ export { JRCDate } from './JRCDate/JRCDate';
|
|
|
82
84
|
export { JRCDateObject } from './JRCDate/JRCDateObject';
|
|
83
85
|
export { JRCDisplayCard } from './JRCDisplayCard/JRCDisplayCard';
|
|
84
86
|
export { JRCDot } from './JRCDot/JRCDot';
|
|
85
|
-
export { DndProvider, Draggable, DraggableRow, Droppable, JRCDndOneLevel, JRCDndOneLevelWithStack, JRCDndTwoLevelWithStack
|
|
87
|
+
export { DndProvider, Draggable, DraggableRow, Droppable, JRCDndOneLevel, JRCDndOneLevelWithStack, JRCDndTwoLevelWithStack } from './JRCDragNDrop';
|
|
86
88
|
export { JRCDropDown } from './JRCDropDown/JRCDropDown';
|
|
87
89
|
export { JRCEditor } from './JRCEditor/JRCEditor';
|
|
88
90
|
export { JRCModalSchedule } from './JRCEditor/JRCModalSchedule';
|
|
@@ -122,6 +124,7 @@ export { JRCSidePanelModalForm } from './JRCSidePanelModal/JRCSidePanelModalForm
|
|
|
122
124
|
export { JRCSkeletonLine } from './JRCSkeleton/JRCSkeletonLine';
|
|
123
125
|
export { JRCSkeletonList } from './JRCSkeleton/JRCSkeletonList';
|
|
124
126
|
export { JRCSkeletonSquare } from './JRCSkeleton/JRCSkeletonSquare';
|
|
127
|
+
export { JRCSlider } from './JRCSlider/JRCSlider';
|
|
125
128
|
export { JRCSocialActions } from './JRCSocialActions/JRCSocialActions';
|
|
126
129
|
export { JRCStyledHref } from './JRCStyledHref/JRCStyledHref';
|
|
127
130
|
export { JRCTabPanel, JRCTabs } from './JRCTabs/JRCTabs';
|
|
@@ -146,24 +149,29 @@ export { JRCMainColumn } from './Templates/JRCMainColumn';
|
|
|
146
149
|
export { JRCPanel } from './Templates/JRCPanel';
|
|
147
150
|
export { JRCStepperPage } from './Templates/JRCStepperPage';
|
|
148
151
|
export { JRCTemplateTwoColumns } from './Templates/JRCTwoColumns.template';
|
|
152
|
+
export { JRCWidgetAccessibility } from './Widgets/JRCWidgetAccessibility/JRCWidgetAccessibility';
|
|
153
|
+
export { JRCWidgetAccessibilityEditor } from './Widgets/JRCWidgetAccessibility/JRCWidgetAccessibilityEditor';
|
|
149
154
|
export { JRCWidgetArticleGallery } from './Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGallery';
|
|
150
155
|
export { JRCWidgetArticleGalleryEditor } from './Widgets/JRCWidgetArticleGallery/JRCWidgetArticleGalleryEditor';
|
|
156
|
+
export { ArticleSliderSlide } from './Widgets/JRCWidgetArticleSlider/components/ArticleSliderSlide';
|
|
157
|
+
export { JRCWidgetArticleSliderEditor } from './Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditor';
|
|
151
158
|
export { JRCWidgetArticleText } from './Widgets/JRCWidgetArticleText/JRCWidgetArticleText';
|
|
152
159
|
export { JRCWidgetArticleTextEditor } from './Widgets/JRCWidgetArticleText/JRCWidgetArticleTextEditor';
|
|
153
160
|
export { JRCWidgetArticleTitle } from './Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitle';
|
|
154
161
|
export { JRCWidgetArticleTitleEditor } from './Widgets/JRCWidgetArticleTitle/JRCWidgetArticleTitleEditor';
|
|
155
162
|
export { JRCWidgetArticleAttachmentEditor } from './Widgets/JRCWidgetAttachment/JRCWidgetArticleAttachmentEditor';
|
|
156
163
|
export { JRCWidgetAttachment } from './Widgets/JRCWidgetAttachment/JRCWidgetAttachment';
|
|
164
|
+
export { JRCWidgetArticleButton } from './Widgets/JRCWidgetArticleButton/JRCWidgetArticleButton';
|
|
165
|
+
export { JRCWidgetArticleButtonEditor } from './Widgets/JRCWidgetArticleButton/JRCWidgetArticleButtonEditor';
|
|
157
166
|
export { JRCWidgetButton } from './Widgets/JRCWidgetButton/JRCWidgetButton';
|
|
158
|
-
export { JRCWidgetButtonEditor } from './Widgets/JRCWidgetButton/JRCWidgetButtonEditor';
|
|
159
167
|
export { JRCWidgetCalendarCalDav } from './Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDav';
|
|
160
168
|
export { JRCWidgetCalendarCalDavEditor } from './Widgets/JRCWidgetCalendarCalDav/JRCWidgetCalendarCalDavEditor';
|
|
161
169
|
export { JRCWidgetCheckList } from './Widgets/JRCWidgetCheckList/JRCWidgetCheckList';
|
|
162
170
|
export { JRCWidgetCheckListEditor } from './Widgets/JRCWidgetCheckList/JRCWidgetCheckListEditor';
|
|
163
|
-
export { JRCWidgetAccessibility } from './Widgets/JRCWidgetAccessibility/JRCWidgetAccessibility';
|
|
164
|
-
export { JRCWidgetAccessibilityEditor } from './Widgets/JRCWidgetAccessibility/JRCWidgetAccessibilityEditor';
|
|
165
171
|
export { JRCWidgetColor } from './Widgets/JRCWidgetColor/JRCWidgetColor';
|
|
166
172
|
export { JRCWidgetColorEditor } from './Widgets/JRCWidgetColor/JRCWidgetColorEditor';
|
|
173
|
+
export { JRCWidgetSeparator } from './Widgets/JRCWidgetSeparator/JRCWidgetSeparator';
|
|
174
|
+
export { JRCWidgetSeparatorEditor } from './Widgets/JRCWidgetSeparator/JRCWidgetSeparatorEditor';
|
|
167
175
|
export { JRCWidgetContactCardDav } from './Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDav';
|
|
168
176
|
export { JRCWidgetContactCardDavEditor } from './Widgets/JRCWidgetContactCardDav/JRCWidgetContactCardDavEditor';
|
|
169
177
|
export { JRCWidgetCover } from './Widgets/JRCWidgetCover/JRCWidgetCover';
|
|
@@ -183,9 +191,6 @@ export { JRCWidgetPresence } from './Widgets/JRCWidgetPresence/JRCWidgetPresence
|
|
|
183
191
|
export { JRCWidgetPresenceEditor } from './Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor';
|
|
184
192
|
export { JRCWidgetQuickSurvey } from './Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey';
|
|
185
193
|
export { JRCWidgetQuickSurveyEditor } from './Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurveyEditor';
|
|
186
|
-
export { ArticleSliderSlide } from './Widgets/JRCWidgetArticleSlider/components/ArticleSliderSlide';
|
|
187
|
-
export { JRCWidgetArticleSliderEditor } from './Widgets/JRCWidgetArticleSlider/JRCWidgetArticleSliderEditor';
|
|
188
|
-
export { JRCSlider } from './JRCSlider/JRCSlider';
|
|
189
194
|
export { CoverSliderSlide } from './Widgets/JRCWidgetSlider/components/CoverSliderSlide';
|
|
190
195
|
export { JRCWidgetSliderEditor } from './Widgets/JRCWidgetSlider/JRCWidgetSliderEditor';
|
|
191
196
|
export { JRCWidgetSurveyDate } from './Widgets/JRCWidgetSurveyDate/JRCWidgetSurveyDate';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ declare global {
|
|
|
4
4
|
export { default as Theme } from './styles/theme';
|
|
5
5
|
export { default as Resources } from './translation';
|
|
6
6
|
export * as components from './components';
|
|
7
|
+
export * from './components';
|
|
7
8
|
export { JRC404 } from './components/404/JRC404';
|
|
8
9
|
export { FocusVisibleOutline } from './components/Common/Outline';
|
|
9
10
|
export { SkipToContent } from './components/Common/SkipToContent';
|
|
@@ -13,4 +14,5 @@ export { JRCProvider } from './components/JRCProvider/JRCProvider';
|
|
|
13
14
|
export * from './hooks';
|
|
14
15
|
export * from './types';
|
|
15
16
|
export { getColor } from './styles/theme';
|
|
17
|
+
export { color, fw, size, sizePX, space, spacePX, zIndex } from './styles/theme.helpers';
|
|
16
18
|
export { Utils } from './utils';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
type ThemeProps = {
|
|
3
|
+
theme: DefaultTheme;
|
|
4
|
+
};
|
|
5
|
+
export declare const space: (k: keyof DefaultTheme["space"]) => (p: ThemeProps) => number;
|
|
6
|
+
export declare const spacePX: (k: keyof DefaultTheme["space"]) => (p: ThemeProps) => string;
|
|
7
|
+
export declare const size: (k: keyof DefaultTheme["size"]) => (p: ThemeProps) => number;
|
|
8
|
+
export declare const sizePX: (k: keyof DefaultTheme["size"]) => (p: ThemeProps) => string;
|
|
9
|
+
export declare const color: (k: keyof DefaultTheme["color"]) => (p: ThemeProps) => string;
|
|
10
|
+
export declare const fw: (k: keyof DefaultTheme["font"]["weight"]) => (p: ThemeProps) => number;
|
|
11
|
+
export declare const zIndex: (k: keyof DefaultTheme["zIndex"]) => (p: ThemeProps) => number;
|
|
12
|
+
export {};
|
|
@@ -166,6 +166,7 @@ declare const _default: {
|
|
|
166
166
|
"GLOBAL_Add_Video": "Add video",
|
|
167
167
|
"GLOBAL_Add": "Add",
|
|
168
168
|
"GLOBAL_Alert_Author": "Recevoir une copie",
|
|
169
|
+
"GLOBAL_Align": "Alignement",
|
|
169
170
|
"GLOBAL_Animated_Meeting": "Diapazone",
|
|
170
171
|
"GLOBAL_Article_Preview_Excerpt": "Article preview (excerpt)",
|
|
171
172
|
"GLOBAL_Attachments": "Pièces jointes",
|
|
@@ -175,6 +176,7 @@ declare const _default: {
|
|
|
175
176
|
"GLOBAL_CHECK_BOXES": "Check the boxes",
|
|
176
177
|
"GLOBAL_CHECK_FIRST_BOXE": "It's empty! Check your first tag.",
|
|
177
178
|
"GLOBAL_Close": "Close",
|
|
179
|
+
"GLOBAL_Color": "Couleur",
|
|
178
180
|
"GLOBAL_Comments": "Comments",
|
|
179
181
|
"GLOBAL_Confirm": "Confirm",
|
|
180
182
|
"GLOBAL_Continue": "Continue",
|
|
@@ -407,6 +409,8 @@ declare const _default: {
|
|
|
407
409
|
"WIDGET_Display_Level_4": "Contenus + Interactions",
|
|
408
410
|
"WIDGET_Display_Level_Select": "Sélectionner un mode d'affichage",
|
|
409
411
|
"WIDGET_Email_IMAP": "Office Mails",
|
|
412
|
+
"WIDGET_List_Orientation_Horizontal": "Horizontale",
|
|
413
|
+
"WIDGET_List_Orientation_Vertical": "Vertical",
|
|
410
414
|
"WIDGET_Lucca_Absence_No_Result": "Aucun resultat",
|
|
411
415
|
"WIDGET_Lucca_Absence_Text": "Affichez les absents renseignés depuis votre outil RH Timmi pour une meilleure communication interne.",
|
|
412
416
|
"WIDGET_Lucca_Absence_Url_Error": "Une erreur s'est produite",
|
|
@@ -428,6 +432,10 @@ declare const _default: {
|
|
|
428
432
|
"WIDGET_Quick_Survey_Reset": "Reset the survey answers",
|
|
429
433
|
"WIDGET_Quick_Survey_Text": "Add a survey to collect feedback",
|
|
430
434
|
"WIDGET_Quick_Survey": "Add a survey to collect feedback",
|
|
435
|
+
"WIDGET_Separator_Orientation": "Orientation",
|
|
436
|
+
"WIDGET_Separator_Size": "Épaisseur (px)",
|
|
437
|
+
"WIDGET_Separator_Text": "Affiche une ligne horizontale ou verticale pour séparer des sections",
|
|
438
|
+
"WIDGET_Separator": "Séparateur",
|
|
431
439
|
"WIDGET_Set_Widget": "Configurer",
|
|
432
440
|
"WIDGET_Slider_Autoplay": "Défilement automatique",
|
|
433
441
|
"WIDGET_Slider_Delay": "Délai de défilement",
|
|
@@ -40,7 +40,7 @@ export declare const strToTimestamp: (str: string | undefined) => undefined | nu
|
|
|
40
40
|
* @returns ISODate
|
|
41
41
|
*/
|
|
42
42
|
export declare const toISODate: (date?: Date) => string;
|
|
43
|
-
export declare const toHumanDate: (
|
|
43
|
+
export declare const toHumanDate: (dateStr: string, format?: DateFormat) => string;
|
|
44
44
|
export declare const isValidDate: (date: string) => boolean;
|
|
45
45
|
export declare const substractMonth: (date: Date) => Date;
|
|
46
46
|
export declare const addMonth: (date: Date) => Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.95",
|
|
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.95",
|
|
63
|
+
"jamespot-user-api": "^1.3.95",
|
|
64
64
|
"jsdom": "^26.1.0",
|
|
65
65
|
"knip": "^5.88.1",
|
|
66
66
|
"lint-staged": "^16.4.0",
|