jamespot-react-components 1.3.98 → 1.3.100

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.
Files changed (26) hide show
  1. package/dist/jamespot-react-components.cjs +1352 -1124
  2. package/dist/jamespot-react-components.js +12391 -11915
  3. package/dist/src/components/JRCAvatar/JRCAvatar.d.ts +8 -2
  4. package/dist/src/components/JRCAvatar/JRCAvatar.stories.d.ts +5 -0
  5. package/dist/src/components/JRCCalendar/JRCCalendar.d.ts +1 -1
  6. package/dist/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -2
  7. package/dist/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +2 -2
  8. package/dist/src/components/JRCGifSelector/JRCGifSelector.d.ts +1 -1
  9. package/dist/src/components/JRCRateStars/JRCRateStars.d.ts +7 -0
  10. package/dist/src/components/JRCRateStars/JRCRateStars.stories.d.ts +9 -0
  11. package/dist/src/components/JRCRateStars/JRCRateStars.styles.d.ts +3 -0
  12. package/dist/src/components/Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash.const.d.ts +8 -0
  13. package/dist/src/components/Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash.d.ts +10 -0
  14. package/dist/src/components/Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash.stories.d.ts +10 -0
  15. package/dist/src/components/Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash.types.d.ts +12 -0
  16. package/dist/src/components/Widgets/JRCWidgetNewsflash/JRCWidgetNewsflashEditor.d.ts +7 -0
  17. package/dist/src/components/Widgets/JRCWidgetNewsflash/NewsflashActions.d.ts +13 -0
  18. package/dist/src/components/Widgets/JRCWidgetNewsflash/NewsflashBannerCard.d.ts +2 -0
  19. package/dist/src/components/Widgets/JRCWidgetNewsflash/NewsflashCoverCard.d.ts +2 -0
  20. package/dist/src/components/Widgets/JRCWidgetNewsflash/NewsflashEmptyState.d.ts +3 -0
  21. package/dist/src/components/Widgets/JRCWidgetNewsflash/NewsflashImageCard.d.ts +2 -0
  22. package/dist/src/components/index.d.ts +4 -2
  23. package/dist/src/translation/lang.json.d.ts +15 -0
  24. package/dist/src/utils/utils.array.d.ts +7 -0
  25. package/package.json +5 -4
  26. package/dist/src/components/JRCSocialActions/JRCSocialActions.d.ts +0 -7
@@ -1,3 +1,4 @@
1
+ import { JRCIconProps } from '../JRCIcon/JRCIcon';
1
2
  import { JRCImgProps } from '../JRCImg/JRCImg';
2
3
  /**
3
4
  * Props type for JRCAvatar
@@ -10,18 +11,23 @@ import { JRCImgProps } from '../JRCImg/JRCImg';
10
11
  * in retina like screens. default: xs
11
12
  * @property variant, optional 'circle' | 'square' - default: circle
12
13
  * @property focusable - whether the element is focusable. Independent of onClick property
13
- * @property subAvatar - represent a miniature avatar on the bottom right corner
14
+ * @property subAvatar - icon rendered in the bottom-right corner. Accepts a subset of `JRCIconProps`.
15
+ * Example: `{ name: 'lock', label: 'Private conversation' }`.
16
+ * a11y is provided by `JRCIcon.label` (renders an `<SROnly>` next to the `<i aria-hidden>`).
14
17
  * @property className - className passed to the div wrapper
15
18
  * @property cssColor - background-color
16
19
  * @property iconWhite - Toggle default icon color white/black
17
20
  * @property from - image base url (imagestatic | imagecache)
18
21
  */
22
+ export type JRCAvatarSubProps = Pick<JRCIconProps, 'name' | 'iconColor' | 'color' | 'label'> & {
23
+ variant?: 'circle' | 'square';
24
+ };
19
25
  export type JRCAvatarProps = Omit<JRCImgProps, 'size' | 'width' | 'height' | 'alt'> & {
20
26
  uri?: string;
21
27
  size?: number;
22
28
  variant?: 'circle' | 'square' | 'full';
23
29
  focusable?: boolean;
24
- subAvatar?: Omit<JRCImgProps, 'size' | 'width' | 'height'>;
30
+ subAvatar?: JRCAvatarSubProps;
25
31
  className?: string;
26
32
  cssColor?: string;
27
33
  iconWhite?: boolean;
@@ -3,3 +3,8 @@ import { Meta } from '@storybook/react-vite';
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
5
  export declare const Primary: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
6
+ export declare const WithSubIconCircle: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
7
+ export declare const WithSubIconSquare: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
8
+ export declare const WithSubIconLabeled: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
9
+ export declare const SquareWithSubIconCircle: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
10
+ export declare const SquareWithSubIconSquare: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCAvatarProps>;
@@ -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, bbbMinutesBeforeJoining }: 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;
@@ -28,7 +28,7 @@ type JRCCommentProps = {
28
28
  canSelectResponse: boolean;
29
29
  };
30
30
  articleId: number;
31
- onReport: (commentUri: string) => void;
31
+ socialActionsSlot?: ReactNode;
32
32
  };
33
- export declare const JRCComment: ({ isFocused, comment, token, tinyMCEConfig, onCommentUpdate, onCommentDelete, onError, highlightFields, userModel, userAccountStatus, isWidgetActive, onGetHashError, deleteFile, existingWidgetsWrapperComponent, activeDrives, socialQuestion, articleId, onReport, }: JRCCommentProps) => import("react/jsx-runtime").JSX.Element;
33
+ export declare const JRCComment: ({ isFocused, comment, token, tinyMCEConfig, onCommentUpdate, onCommentDelete, onError, highlightFields, userModel, userAccountStatus, isWidgetActive, onGetHashError, deleteFile, existingWidgetsWrapperComponent, activeDrives, socialQuestion, articleId, socialActionsSlot, }: JRCCommentProps) => import("react/jsx-runtime").JSX.Element;
34
34
  export {};
@@ -37,6 +37,6 @@ export type JRCCommentsBlocProps = {
37
37
  };
38
38
  articleId: number;
39
39
  additionalExtensions: Array<TinyMCEExtension>;
40
- onReport: (commentUri: string) => void;
40
+ renderSocialActions?: (comment: CommentWithExtensions<jCommentList, ['actions', 'quarantine']>) => ReactNode;
41
41
  };
42
- export declare const JRCCommentsBloc: ({ comments, initialCommentsNumber, currentUser, tinyMCEConfig, onComment, canCreateWidget, isWidgetActive, widgetListComponent, newWidgetsWrapperComponent, existingWidgetsWrapperComponent, loading, token, onCommentDelete, onCommentUpdate, onError, highlightFields, userModel, userAccountStatus, onGetHashError, activeDrives, variant, canComment, socialQuestion, articleId, additionalExtensions, onReport, }: JRCCommentsBlocProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const JRCCommentsBloc: ({ comments, initialCommentsNumber, currentUser, tinyMCEConfig, onComment, canCreateWidget, isWidgetActive, widgetListComponent, newWidgetsWrapperComponent, existingWidgetsWrapperComponent, loading, token, onCommentDelete, onCommentUpdate, onError, highlightFields, userModel, userAccountStatus, onGetHashError, activeDrives, variant, canComment, socialQuestion, articleId, additionalExtensions, renderSocialActions, }: JRCCommentsBlocProps) => import("react/jsx-runtime").JSX.Element;
@@ -10,5 +10,5 @@ type JRCGifSelectorProps = {
10
10
  onReachEnd: () => void;
11
11
  gifProvider?: 'giphy' | 'heypster';
12
12
  };
13
- export declare const JRCGifSelector: ({ gifs, onSearch, loading, onSelectGif, onReachEnd, gifProvider }: JRCGifSelectorProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const JRCGifSelector: ({ gifs, onSearch, loading, onSelectGif, onReachEnd, gifProvider, }: JRCGifSelectorProps) => import("react/jsx-runtime").JSX.Element;
14
14
  export {};
@@ -0,0 +1,7 @@
1
+ export type JRCRateStarsProps = {
2
+ value: number;
3
+ userValue?: number;
4
+ readOnly?: boolean;
5
+ onRate?: (value: number) => void;
6
+ };
7
+ export declare const JRCRateStars: ({ value, userValue, readOnly, onRate }: JRCRateStarsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { JRCRateStars } from './JRCRateStars';
3
+ declare const meta: Meta<typeof JRCRateStars>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof JRCRateStars>;
6
+ export declare const Default: Story;
7
+ export declare const UserVoted: Story;
8
+ export declare const KeyboardNavigation: Story;
9
+ export declare const ReadOnly: Story;
@@ -0,0 +1,3 @@
1
+ export declare const RateStarsRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const RateStar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
3
+ export declare const RateStaticStar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1,8 @@
1
+ export declare const DEFAULT_COLOR_FILTER = "#000000";
2
+ export declare const DEFAULT_OPACITY_FILTER = 2;
3
+ export declare const OPACITY_FILTER_MIN = 0;
4
+ export declare const OPACITY_FILTER_MAX = 10;
5
+ export declare const SLIDER_MAX_WIDTH = 800;
6
+ export declare const SLIDER_MAX_DOTS = 6;
7
+ export declare const DEFAULT_SLIDER_DELAY_SECONDS = 8;
8
+ export declare const DEFAULT_MIN_HEIGHT = 200;
@@ -0,0 +1,10 @@
1
+ import { NewsflashItem, NewsflashProperties, WidgetDisplayMode, WidgetNewsflashContent } from 'jamespot-user-api';
2
+ export type JRCWidgetNewsflashProps = {
3
+ items: NewsflashItem[];
4
+ properties: NewsflashProperties;
5
+ content: WidgetNewsflashContent;
6
+ mode?: WidgetDisplayMode | undefined;
7
+ isLoading?: boolean | undefined;
8
+ emptyImageSrc?: string | undefined;
9
+ };
10
+ export declare const JRCWidgetNewsflash: ({ items, properties, content, mode, isLoading, emptyImageSrc, }: JRCWidgetNewsflashProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { JRCWidgetNewsflash } from './JRCWidgetNewsflash';
3
+ declare const meta: Meta<typeof JRCWidgetNewsflash>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof JRCWidgetNewsflash>;
6
+ export declare const ImageMode: Story;
7
+ export declare const BannerMode: Story;
8
+ export declare const CoverMode: Story;
9
+ export declare const EmptyEdit: Story;
10
+ export declare const EmptyView: Story;
@@ -0,0 +1,12 @@
1
+ import { NewsflashItem } from 'jamespot-user-api';
2
+ export type NewsflashCardProps = {
3
+ item: NewsflashItem;
4
+ textColor?: string | undefined;
5
+ buttonBackgroundColor?: string | undefined;
6
+ buttonTextColor?: string | undefined;
7
+ readMoreLabel: string;
8
+ };
9
+ export type NewsflashCoverCardProps = NewsflashCardProps & {
10
+ colorFilter: string;
11
+ opacityFilter: number;
12
+ };
@@ -0,0 +1,7 @@
1
+ import { WidgetNewsflashContent } from 'jamespot-user-api';
2
+ export interface JRCWidgetNewsflashEditorProps {
3
+ uniqid: string;
4
+ content: WidgetNewsflashContent;
5
+ onChangeContent: (uniqid: string, content: WidgetNewsflashContent) => void;
6
+ }
7
+ export declare const JRCWidgetNewsflashEditor: ({ uniqid, content, onChangeContent }: JRCWidgetNewsflashEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ export type NewsflashActionButtonProps = {
2
+ href: string;
3
+ label: string;
4
+ color?: string | undefined;
5
+ backgroundColor?: string | undefined;
6
+ };
7
+ export declare const NewsflashActionButton: ({ href, label, color, backgroundColor }: NewsflashActionButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export type NewsflashReadMoreProps = {
9
+ href: string;
10
+ label: string;
11
+ color?: string | undefined;
12
+ };
13
+ export declare const NewsflashReadMore: ({ href, label, color }: NewsflashReadMoreProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NewsflashCardProps } from './JRCWidgetNewsflash.types';
2
+ export declare const NewsflashBannerCard: ({ item, textColor, buttonBackgroundColor, buttonTextColor, readMoreLabel, }: NewsflashCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NewsflashCoverCardProps } from './JRCWidgetNewsflash.types';
2
+ export declare const NewsflashCoverCard: ({ item, textColor, buttonBackgroundColor, buttonTextColor, colorFilter, opacityFilter, }: NewsflashCoverCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare const NewsflashEmptyState: ({ imageSrc }: {
2
+ imageSrc?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NewsflashCardProps } from './JRCWidgetNewsflash.types';
2
+ export declare const NewsflashImageCard: ({ item, textColor, buttonBackgroundColor, buttonTextColor, readMoreLabel, }: NewsflashCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -84,7 +84,7 @@ export { JRCDate } from './JRCDate/JRCDate';
84
84
  export { JRCDateObject } from './JRCDate/JRCDateObject';
85
85
  export { JRCDisplayCard } from './JRCDisplayCard/JRCDisplayCard';
86
86
  export { JRCDot } from './JRCDot/JRCDot';
87
- export { DndProvider, Draggable, DraggableRow, Droppable, JRCDndOneLevel, JRCDndOneLevelWithStack, JRCDndTwoLevelWithStack } from './JRCDragNDrop';
87
+ export { DndProvider, Draggable, DraggableRow, Droppable, JRCDndOneLevel, JRCDndOneLevelWithStack, JRCDndTwoLevelWithStack, } from './JRCDragNDrop';
88
88
  export { JRCDropDown } from './JRCDropDown/JRCDropDown';
89
89
  export { JRCEditor } from './JRCEditor/JRCEditor';
90
90
  export { JRCModalSchedule } from './JRCEditor/JRCModalSchedule';
@@ -119,13 +119,13 @@ export { JRCModalUserList } from './JRCModalUserList/JRCModalUserList';
119
119
  export { JRCPagination } from './JRCPagination/JRCPagination';
120
120
  export { JRCProgressBar } from './JRCProgressBar/JRCProgressBar';
121
121
  export { JRCPublishButton } from './JRCPublishButton/JRCPublishButton';
122
+ export { JRCRateStars } from './JRCRateStars/JRCRateStars';
122
123
  export { JRCSidePanelModal } from './JRCSidePanelModal/JRCSidePanelModal';
123
124
  export { JRCSidePanelModalForm } from './JRCSidePanelModal/JRCSidePanelModalForm';
124
125
  export { JRCSkeletonLine } from './JRCSkeleton/JRCSkeletonLine';
125
126
  export { JRCSkeletonList } from './JRCSkeleton/JRCSkeletonList';
126
127
  export { JRCSkeletonSquare } from './JRCSkeleton/JRCSkeletonSquare';
127
128
  export { JRCSlider } from './JRCSlider/JRCSlider';
128
- export { JRCSocialActions } from './JRCSocialActions/JRCSocialActions';
129
129
  export { JRCStyledHref } from './JRCStyledHref/JRCStyledHref';
130
130
  export { JRCTabPanel, JRCTabs } from './JRCTabs/JRCTabs';
131
131
  export { JRCTag } from './JRCTag/JRCTag';
@@ -189,6 +189,8 @@ export { JRCWidgetImage } from './Widgets/JRCWidgetImage/JRCWidgetImage';
189
189
  export { JRCWidgetImageEditor } from './Widgets/JRCWidgetImage/JRCWidgetImageEditor';
190
190
  export { JRCWidgetLuccaAbsence } from './Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsence';
191
191
  export { JRCWidgetLuccaAbsenceEditor } from './Widgets/JRCWidgetLuccaAbsence/JRCWidgetLuccaAbsenceEditor';
192
+ export { JRCWidgetNewsflash } from './Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash';
193
+ export { JRCWidgetNewsflashEditor } from './Widgets/JRCWidgetNewsflash/JRCWidgetNewsflashEditor';
192
194
  export { JRCWidgetPresence } from './Widgets/JRCWidgetPresence/JRCWidgetPresence';
193
195
  export { JRCWidgetPresenceEditor } from './Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor';
194
196
  export { JRCWidgetQuickSurvey } from './Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey';
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  "en": {
3
+ "ACTIVITY_Can_Not_comment": "You cannot comment on this content",
3
4
  "ACTIVITY_Can_Not_comment_Desc": "You cannot comment on this content. Several reasons are possible:<p>- You are not part of the audience of the content</p><p>- You do not have sufficient rights according to the group settings</p><p>- A solar storm creates interference (less likely, but you never know)",
4
5
  "ADD_FAVORITE": "Add to favorites",
5
6
  "APP_Animated_Meeting": "Diapazone",
@@ -220,6 +221,9 @@ declare const _default: {
220
221
  "GLOBAL_IframeVideo_OpenInNewTab": "Open video in a new tab",
221
222
  "GLOBAL_IframeVideo_Play": "Play video",
222
223
  "GLOBAL_Image": "Image",
224
+ "GLOBAL_Image_Format_Image": "Image",
225
+ "GLOBAL_Image_Format_Banner": "Banner",
226
+ "GLOBAL_Image_Format_Cover": "Cover",
223
227
  "GLOBAL_Import": "Import",
224
228
  "GLOBAL_Insert": "Insert",
225
229
  "GLOBAL_Jamespot": "Jamespot",
@@ -239,6 +243,11 @@ declare const _default: {
239
243
  "GLOBAL_Provide_Missing_Token": "A token must be provided to use this widget",
240
244
  "GLOBAL_Public_Groups": "Public groups",
241
245
  "GLOBAL_Publish": "Publish",
246
+ "GLOBAL_Rate_Star_AriaLabel": "{value, plural, one {# star} other {# stars}}",
247
+ "GLOBAL_Rate_Stars_AriaLabel": "Rate (1 to 5 stars)",
248
+ "GLOBAL_Rate_Stars_Value_AriaLabel": "Rating: {value} out of 5",
249
+ "GLOBAL_Rate_Voters_Modal_Title": "Voters",
250
+ "GLOBAL_Read_Following": "Read more",
242
251
  "GLOBAL_Recommended": "recommended",
243
252
  "GLOBAL_Redirect_To_User_Profile_React": "Redirection to the profile page of {username}",
244
253
  "GLOBAL_Reorder": "Reorder",
@@ -424,6 +433,12 @@ declare const _default: {
424
433
  "WIDGET_Lucca_Absent_Until_Today": "Absent jusqu'a aujourd'hui",
425
434
  "WIDGET_Lucca_Absent_Until_Tomorrow": "Absent jusqu'a demain",
426
435
  "WIDGET_Lucca_Absent_Until": "Absent jusqu'au",
436
+ "WIDGET_Newsflash": "Flash info",
437
+ "WIDGET_Newsflash_Text": "Display the latest flash info on your homepage",
438
+ "WIDGET_Newsflash_Is_Empty": "No recent news",
439
+ "WIDGET_Newsflash_Display_Mode": "Display mode",
440
+ "WIDGET_Newsflash_Button_Background": "Button background color",
441
+ "WIDGET_Newsflash_Button_Text": "Button text color",
427
442
  "WIDGET_Panel_Tpl_Warning_Message": "Il n'est pas possible de configurer ce widget en mode template",
428
443
  "WIDGET_Presence_Availability": "{max} places disponibles",
429
444
  "WIDGET_Presence_Is_Closed": "Il n'est plus possible de répondre à ce sondage",
@@ -21,4 +21,11 @@ export declare const arrayUniqueByUri: <T extends {
21
21
  export declare const arraySwapElements: <T>(arr: T[], index1: number, index2: number) => T[];
22
22
  export declare function strArrayToggle(str: string, array: string[]): string[];
23
23
  export declare function noNull<T>(value: T | null): value is T;
24
+ /**
25
+ * Compare deux tableaux de chaînes sans tenir compte de l'ordre.
26
+ * @param a premier tableau
27
+ * @param b second tableau
28
+ * @returns true si les deux tableaux contiennent exactement les mêmes valeurs
29
+ */
30
+ export declare const arraysEqual: (a: string[], b: string[]) => boolean;
24
31
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.3.98",
3
+ "version": "1.3.100",
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.98",
63
- "jamespot-user-api": "^1.3.98",
62
+ "jamespot-front-business": "^1.3.100",
63
+ "jamespot-user-api": "^1.3.100",
64
64
  "jsdom": "^26.1.0",
65
65
  "knip": "^5.88.1",
66
66
  "lint-staged": "^16.4.0",
@@ -107,7 +107,8 @@
107
107
  "build": "tsc --noEmit --incremental && vite build",
108
108
  "build:dev": "vite build",
109
109
  "build:storybook": "NODE_OPTIONS=--max-old-space-size=6144 storybook build",
110
- "prettier": "prettier --write ./",
110
+ "prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
111
+ "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"",
111
112
  "lint": "eslint",
112
113
  "lint:fix": "eslint --fix",
113
114
  "storybook": "storybook dev -p 6006",
@@ -1,7 +0,0 @@
1
- import { SocialAction } from 'jamespot-user-api';
2
- export declare const JRCSocialActions: ({ uri, actions, onReport, onError, }: {
3
- uri: string;
4
- actions: SocialAction[];
5
- onReport: (uri: string) => void;
6
- onError?: (message?: string) => void;
7
- }) => import("react/jsx-runtime").JSX.Element;