jamespot-react-components 1.3.99 → 1.3.101
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 +1347 -1358
- package/dist/jamespot-react-components.js +11350 -11275
- package/dist/src/components/Form/Input/JRCInputCheckbox/components/CheckboxOrToggle.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputColor/JRCInputColor.styles.d.ts +4 -4
- package/dist/src/components/Form/Input/JRCInputImage/JRCInputImage.styles.d.ts +6 -6
- package/dist/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +17 -17
- package/dist/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.d.ts +1 -1
- package/dist/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.style.d.ts +12 -12
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +5 -5
- package/dist/src/components/Form/Input/JRCStyledInput.d.ts +13 -13
- package/dist/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +10 -10
- package/dist/src/components/JRCAvatar/JRCAvatar.d.ts +8 -2
- package/dist/src/components/JRCAvatar/JRCAvatar.stories.d.ts +5 -0
- package/dist/src/components/JRCButton/types.d.ts +5 -1
- package/dist/src/components/JRCCalendar/JRCCalendar.d.ts +1 -1
- package/dist/src/components/JRCCommentsBloc/JRCComment.d.ts +2 -2
- package/dist/src/components/JRCCommentsBloc/JRCCommentsBloc.d.ts +2 -2
- package/dist/src/components/JRCDisplayCard/JRCDisplayCard.d.ts +1 -1
- package/dist/src/components/JRCDisplayCard/JRCDisplayCard.stories.d.ts +1 -1
- package/dist/src/components/JRCDragNDrop/OneLevelStyles.d.ts +2 -2
- package/dist/src/components/JRCDragNDrop/styles.d.ts +2 -2
- package/dist/src/components/JRCFlex/JRCFlexBox.d.ts +1 -1
- package/dist/src/components/JRCGifSelector/JRCGifSelector.d.ts +1 -1
- package/dist/src/components/JRCList/JRCList.styles.d.ts +1 -1
- package/dist/src/components/JRCModal/JRCModal.styles.d.ts +5 -5
- package/dist/src/components/JRCRateStars/JRCRateStars.d.ts +7 -0
- package/dist/src/components/JRCRateStars/JRCRateStars.stories.d.ts +9 -0
- package/dist/src/components/JRCRateStars/JRCRateStars.styles.d.ts +3 -0
- package/dist/src/components/JRCSkeleton/JRCSkeletonSquare.d.ts +2 -1
- package/dist/src/components/JRCTabs/JRCTabs.d.ts +1 -1
- package/dist/src/components/JRCTypography/JRCTypography.d.ts +1 -1
- package/dist/src/components/JRCTypography/JRCTypography.types.d.ts +1 -1
- package/dist/src/components/Templates/template.styles.d.ts +7 -5
- package/dist/src/components/Widgets/JRCWidgetEmailsImap/styles.d.ts +2 -2
- package/dist/src/components/Widgets/JRCWidgetTable/JRCWidgetTable.styles.d.ts +6 -6
- package/dist/src/components/index.d.ts +2 -2
- package/dist/src/translation/lang.json.d.ts +5 -0
- package/dist/src/utils/utils.array.d.ts +7 -0
- package/package.json +5 -4
- package/dist/src/components/JRCSocialActions/JRCSocialActions.d.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Colors } from 'jamespot-front-business';
|
|
2
2
|
import { FlexDirection } from '../JRCFlex/JRCFlexBox';
|
|
3
|
-
import {
|
|
3
|
+
import { ColumnPosition, LayoutMode, Open } from './template.type';
|
|
4
4
|
export declare const BasicAutoMarginWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
5
|
export declare const ContainerWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
6
|
$flexDirection?: FlexDirection;
|
|
@@ -37,13 +37,15 @@ export declare function DisappearDescription({ children, open }: {
|
|
|
37
37
|
children: any;
|
|
38
38
|
open: boolean;
|
|
39
39
|
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export declare const OpenCloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Open
|
|
40
|
+
export declare const OpenCloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Open>> & string;
|
|
41
41
|
export declare const SR: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
42
42
|
export declare const AppTabLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, Open>> & string;
|
|
43
43
|
export declare const AppTabContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, Open>> & string;
|
|
44
|
-
export declare const AppTabContextContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Open &
|
|
44
|
+
export declare const AppTabContextContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Open & {
|
|
45
|
+
$closing: boolean;
|
|
46
|
+
}>> & string;
|
|
45
47
|
export declare const AppTab: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Open & {
|
|
46
|
-
active?: boolean;
|
|
48
|
+
$active?: boolean;
|
|
47
49
|
$first?: boolean;
|
|
48
50
|
$last?: boolean;
|
|
49
51
|
}>> & string;
|
|
@@ -51,5 +53,5 @@ export declare const AppTabTooltip: import('styled-components/dist/types').IStyl
|
|
|
51
53
|
export declare const AppTabCounter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
52
54
|
export declare const AppTabEllipsisLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
53
55
|
export declare const AppTabNav: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, Open & {
|
|
54
|
-
extraMargin: boolean;
|
|
56
|
+
$extraMargin: boolean;
|
|
55
57
|
}>> & string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const CSSMailItemWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
-
read: boolean;
|
|
2
|
+
$read: boolean;
|
|
3
3
|
}>> & string;
|
|
4
4
|
export declare const CSSMailItemHref: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
5
5
|
export declare const CSSMailItemHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
export declare const CSSMailItemHeaderFrom: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
7
|
export declare const CSSMailItemFooter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
8
|
export declare const CSSMailItemBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
|
-
maxHeight: number;
|
|
9
|
+
$maxHeight: number;
|
|
10
10
|
}>> & string;
|
|
@@ -2,23 +2,23 @@ export declare const CSSTable: import('styled-components/dist/types').IStyledCom
|
|
|
2
2
|
export declare const CSSTableHead: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
3
3
|
export declare const CSSTableBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
4
4
|
export declare const CSSTableTd: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
|
|
5
|
-
width?: number;
|
|
5
|
+
$width?: number;
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const CSSTableTh: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
|
|
8
|
-
width?: number;
|
|
8
|
+
$width?: number;
|
|
9
9
|
}>> & string;
|
|
10
10
|
export declare const CSSTableHeadTdContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const CSSTableTdContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
12
|
export declare const CSSTableTr: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
|
|
13
|
-
background: string;
|
|
14
|
-
color: string;
|
|
13
|
+
$background: string;
|
|
14
|
+
$color: string;
|
|
15
15
|
}>> & string;
|
|
16
16
|
export declare const CSSTableOverlay: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
17
17
|
export declare const CSSTableRadius: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
18
|
-
borderRadius: number;
|
|
18
|
+
$borderRadius: number;
|
|
19
19
|
}>> & string;
|
|
20
20
|
export declare const CSSTableWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
21
21
|
export declare const CSSReadMoreWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
22
22
|
export declare const CSSReadMoreGradient: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
23
|
-
backgroundColor: string;
|
|
23
|
+
$backgroundColor: string;
|
|
24
24
|
}>> & string;
|
|
@@ -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';
|
|
@@ -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",
|
|
@@ -242,6 +243,10 @@ declare const _default: {
|
|
|
242
243
|
"GLOBAL_Provide_Missing_Token": "A token must be provided to use this widget",
|
|
243
244
|
"GLOBAL_Public_Groups": "Public groups",
|
|
244
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",
|
|
245
250
|
"GLOBAL_Read_Following": "Read more",
|
|
246
251
|
"GLOBAL_Recommended": "recommended",
|
|
247
252
|
"GLOBAL_Redirect_To_User_Profile_React": "Redirection to the profile page of {username}",
|
|
@@ -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.
|
|
3
|
+
"version": "1.3.101",
|
|
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.101",
|
|
63
|
+
"jamespot-user-api": "^1.3.101",
|
|
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;
|