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
|
@@ -9,7 +9,7 @@ type CheckboxLabelProps = {
|
|
|
9
9
|
$margin?: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const FocusBackground: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
12
|
-
variant?: "default" | "outlined";
|
|
12
|
+
$variant?: "default" | "outlined";
|
|
13
13
|
}>> & string;
|
|
14
14
|
export declare const CheckboxLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, CheckboxLabelProps>> & string;
|
|
15
15
|
export declare const CheckboxOrToggle: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type"> & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const CSSColorPicker: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import('../../../../types/dataAttributes').DataCy & {
|
|
2
|
-
error?: boolean;
|
|
3
|
-
valid?: boolean;
|
|
2
|
+
$error?: boolean;
|
|
3
|
+
$valid?: boolean;
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
} & {
|
|
6
|
-
hasIconBefore?: boolean;
|
|
7
|
-
hasIconAfter?: boolean;
|
|
6
|
+
$hasIconBefore?: boolean;
|
|
7
|
+
$hasIconAfter?: boolean;
|
|
8
8
|
} & {
|
|
9
9
|
$inputMargin?: string | undefined;
|
|
10
10
|
} & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DropZoneDimensions } from './types';
|
|
2
2
|
export declare const InputFileWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const Grid: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
position?: "right" | "bottom";
|
|
5
|
-
columnCount: number;
|
|
4
|
+
$position?: "right" | "bottom";
|
|
5
|
+
$columnCount: number;
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const DropZone: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
|
-
position?: "right" | "bottom";
|
|
9
|
-
columnCount: number;
|
|
10
|
-
dzDimensions?: DropZoneDimensions;
|
|
8
|
+
$position?: "right" | "bottom";
|
|
9
|
+
$columnCount: number;
|
|
10
|
+
$dzDimensions?: DropZoneDimensions;
|
|
11
11
|
}>> & string;
|
|
12
12
|
export declare const ReadOnlyImg: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
13
13
|
export declare const DropZoneButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
@@ -16,6 +16,6 @@ export declare const DropZoneButton: import('styled-components/dist/types').ISty
|
|
|
16
16
|
}>> & string;
|
|
17
17
|
export declare const DropZoneImage: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
18
18
|
export declare const ImageButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
19
|
-
aspectRatio?: number;
|
|
19
|
+
$aspectRatio?: number;
|
|
20
20
|
}>> & string;
|
|
21
21
|
export declare const Img: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
@@ -20,7 +20,7 @@ export declare const RenderInput: import('react').ForwardRefExoticComponent<Data
|
|
|
20
20
|
* validation props: required
|
|
21
21
|
* @returns JSX.Element
|
|
22
22
|
*/
|
|
23
|
-
export declare function JRCInputText<T extends FieldValues = FieldValues>({ htmlFor, label, description, helper, rules, ...props }: JRCInputFieldProps<T> & {
|
|
23
|
+
export declare function JRCInputText<T extends FieldValues = FieldValues>({ htmlFor, label, description, helper, rules, srOnly, labelIsLegend, ...props }: JRCInputFieldProps<T> & {
|
|
24
24
|
width?: string;
|
|
25
25
|
disabled?: boolean;
|
|
26
26
|
autoComplete?: 'on' | 'off';
|
|
@@ -45,42 +45,42 @@ export declare const IconAfter: import('styled-components/dist/types').IStyledCo
|
|
|
45
45
|
srOnly?: string;
|
|
46
46
|
} & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
47
47
|
export declare const InputIconButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
48
|
-
error?: boolean;
|
|
49
|
-
valid?: boolean;
|
|
48
|
+
$error?: boolean;
|
|
49
|
+
$valid?: boolean;
|
|
50
50
|
readOnly?: boolean;
|
|
51
51
|
} & {
|
|
52
|
-
hasIconBefore?: boolean;
|
|
53
|
-
hasIconAfter?: boolean;
|
|
52
|
+
$hasIconBefore?: boolean;
|
|
53
|
+
$hasIconAfter?: boolean;
|
|
54
54
|
} & {
|
|
55
55
|
$inputMargin?: string | undefined;
|
|
56
56
|
} & import('react').RefAttributes<HTMLInputElement>, {
|
|
57
|
-
hasIconButtonAfter: boolean;
|
|
57
|
+
$hasIconButtonAfter: boolean;
|
|
58
58
|
}>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
59
|
-
error?: boolean;
|
|
60
|
-
valid?: boolean;
|
|
59
|
+
$error?: boolean;
|
|
60
|
+
$valid?: boolean;
|
|
61
61
|
readOnly?: boolean;
|
|
62
62
|
} & {
|
|
63
|
-
hasIconBefore?: boolean;
|
|
64
|
-
hasIconAfter?: boolean;
|
|
63
|
+
$hasIconBefore?: boolean;
|
|
64
|
+
$hasIconAfter?: boolean;
|
|
65
65
|
} & {
|
|
66
66
|
$inputMargin?: string | undefined;
|
|
67
67
|
} & import('react').RefAttributes<HTMLInputElement>>, keyof import('react').Component<any, {}, any>>;
|
|
68
68
|
export declare const InputTextStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
69
|
-
error?: boolean;
|
|
70
|
-
valid?: boolean;
|
|
69
|
+
$error?: boolean;
|
|
70
|
+
$valid?: boolean;
|
|
71
71
|
readOnly?: boolean;
|
|
72
72
|
} & {
|
|
73
|
-
hasIconBefore?: boolean;
|
|
74
|
-
hasIconAfter?: boolean;
|
|
73
|
+
$hasIconBefore?: boolean;
|
|
74
|
+
$hasIconAfter?: boolean;
|
|
75
75
|
} & {
|
|
76
76
|
$inputMargin?: string | undefined;
|
|
77
77
|
} & import('react').RefAttributes<HTMLInputElement>, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
78
|
-
error?: boolean;
|
|
79
|
-
valid?: boolean;
|
|
78
|
+
$error?: boolean;
|
|
79
|
+
$valid?: boolean;
|
|
80
80
|
readOnly?: boolean;
|
|
81
81
|
} & {
|
|
82
|
-
hasIconBefore?: boolean;
|
|
83
|
-
hasIconAfter?: boolean;
|
|
82
|
+
$hasIconBefore?: boolean;
|
|
83
|
+
$hasIconAfter?: boolean;
|
|
84
84
|
} & {
|
|
85
85
|
$inputMargin?: string | undefined;
|
|
86
86
|
} & import('react').RefAttributes<HTMLInputElement>>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -15,5 +15,5 @@ type JRCInputTextRawProps = ComponentPropsWithoutRef<'input'> & {
|
|
|
15
15
|
errors?: FieldError;
|
|
16
16
|
customRef?: Ref<HTMLInputElement>;
|
|
17
17
|
};
|
|
18
|
-
export declare function JRCInputTextRaw(
|
|
18
|
+
export declare function JRCInputTextRaw({ margin, width, isRequired, label, htmlFor, labelIsLegend, description, helper, errors, customRef, className, ...inputProps }: JRCInputTextRawProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const StyledFieldWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, {
|
|
2
|
-
margin?: string;
|
|
3
|
-
width?: string;
|
|
2
|
+
$margin?: string;
|
|
3
|
+
$width?: string;
|
|
4
4
|
}>> & string;
|
|
5
5
|
export declare const Required: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<import('../../../Common/FastCss').FastCssProps & {
|
|
6
6
|
id?: string;
|
|
@@ -29,25 +29,25 @@ export declare const Required: import('styled-components/dist/types').IStyledCom
|
|
|
29
29
|
maxWidth?: string | number;
|
|
30
30
|
whiteSpace?: import('react').CSSProperties["whiteSpace"];
|
|
31
31
|
}>, never>, {
|
|
32
|
-
error: boolean;
|
|
33
|
-
}>> & string & Omit<({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: import('../../../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
32
|
+
$error: boolean;
|
|
33
|
+
}>> & string & Omit<({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: import('../../../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
34
34
|
export declare const LabelWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
35
35
|
export declare const InputTextRawStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
36
|
-
error?: boolean;
|
|
37
|
-
valid?: boolean;
|
|
36
|
+
$error?: boolean;
|
|
37
|
+
$valid?: boolean;
|
|
38
38
|
readOnly?: boolean;
|
|
39
39
|
} & {
|
|
40
|
-
hasIconBefore?: boolean;
|
|
41
|
-
hasIconAfter?: boolean;
|
|
40
|
+
$hasIconBefore?: boolean;
|
|
41
|
+
$hasIconAfter?: boolean;
|
|
42
42
|
} & {
|
|
43
43
|
$inputMargin?: string | undefined;
|
|
44
44
|
} & import('react').RefAttributes<HTMLInputElement>, never>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "css"> & import('../../../../types/dataAttributes').DataCy & {
|
|
45
|
-
error?: boolean;
|
|
46
|
-
valid?: boolean;
|
|
45
|
+
$error?: boolean;
|
|
46
|
+
$valid?: boolean;
|
|
47
47
|
readOnly?: boolean;
|
|
48
48
|
} & {
|
|
49
|
-
hasIconBefore?: boolean;
|
|
50
|
-
hasIconAfter?: boolean;
|
|
49
|
+
$hasIconBefore?: boolean;
|
|
50
|
+
$hasIconAfter?: boolean;
|
|
51
51
|
} & {
|
|
52
52
|
$inputMargin?: string | undefined;
|
|
53
53
|
} & import('react').RefAttributes<HTMLInputElement>>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -13,8 +13,8 @@ export declare const RelativeClickAwayListener: import('styled-components/dist/t
|
|
|
13
13
|
className?: string;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
15
15
|
export declare const OptionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
16
|
-
isSelected?: boolean;
|
|
17
|
-
isFocused?: boolean;
|
|
16
|
+
$isSelected?: boolean;
|
|
17
|
+
$isFocused?: boolean;
|
|
18
18
|
}>> & string;
|
|
19
19
|
export declare const NoOption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
20
20
|
export declare const OptionGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -35,7 +35,7 @@ export declare const InputSelectCheckboxWrapper: import('styled-components/dist/
|
|
|
35
35
|
export declare const CheckboxLabelButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
36
36
|
export declare const InputSelectSearch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
37
37
|
export declare const OptionSelectCell: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
38
|
-
isSelected: boolean;
|
|
38
|
+
$isSelected: boolean;
|
|
39
39
|
}>> & string;
|
|
40
40
|
export declare const ModalContentInputSelectList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
41
41
|
export declare const ModalContentInputSelect: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -43,9 +43,9 @@ export declare const FlexBoxTreeDescription: import('styled-components/dist/type
|
|
|
43
43
|
export declare const NoResult: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
44
44
|
export declare const WrapperList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
45
45
|
export declare const ModalContentList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
46
|
-
export declare const NoOptionList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
46
|
+
export declare const NoOptionList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "flex" | "position" | "x" | "y" | "padding" | "margin" | "textAlign" | "data-testid" | "direction" | "$inline" | "gap" | "childFull"> & Omit<import('../../../Common/FastCss').FastCssProps, "display"> & {
|
|
47
47
|
direction?: import('../../../JRCFlex/JRCFlexBox').FlexDirection;
|
|
48
|
-
inline?: boolean;
|
|
48
|
+
$inline?: boolean;
|
|
49
49
|
flex?: boolean | string;
|
|
50
50
|
gap?: number;
|
|
51
51
|
x?: "flex-start" | "center" | "flex-end" | "space-around" | "space-between" | "space-evenly";
|
|
@@ -6,8 +6,8 @@ import { InputHTMLAttributes } from 'react';
|
|
|
6
6
|
* @member valid, the input is valid regarding the validate hook
|
|
7
7
|
*/
|
|
8
8
|
type InputState = DataCy & {
|
|
9
|
-
error?: boolean;
|
|
10
|
-
valid?: boolean;
|
|
9
|
+
$error?: boolean;
|
|
10
|
+
$valid?: boolean;
|
|
11
11
|
readOnly?: boolean;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
@@ -15,34 +15,34 @@ type InputState = DataCy & {
|
|
|
15
15
|
* and the not-reset legacy style set with input[type="toto"]
|
|
16
16
|
*/
|
|
17
17
|
type IconsProps = {
|
|
18
|
-
hasIconBefore?: boolean;
|
|
19
|
-
hasIconAfter?: boolean;
|
|
18
|
+
$hasIconBefore?: boolean;
|
|
19
|
+
$hasIconAfter?: boolean;
|
|
20
20
|
};
|
|
21
21
|
export type CommonStyledInputProps = InputState & IconsProps & {
|
|
22
22
|
$inputMargin?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
export declare const cssStyledInput: import('styled-components').RuleSet<CommonStyledInputProps>;
|
|
25
25
|
export declare const StyledInput: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "css"> & DataCy & {
|
|
26
|
-
error?: boolean;
|
|
27
|
-
valid?: boolean;
|
|
26
|
+
$error?: boolean;
|
|
27
|
+
$valid?: boolean;
|
|
28
28
|
readOnly?: boolean;
|
|
29
29
|
} & IconsProps & {
|
|
30
30
|
$inputMargin?: string | undefined;
|
|
31
31
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
32
32
|
type StyledSelectProps = DataCy & IconsProps & {
|
|
33
|
-
searchable?: boolean;
|
|
34
|
-
sizeVariant?: 's' | 'md';
|
|
35
|
-
noMargin?: boolean;
|
|
33
|
+
$searchable?: boolean;
|
|
34
|
+
$sizeVariant?: 's' | 'md';
|
|
35
|
+
$noMargin?: boolean;
|
|
36
36
|
};
|
|
37
37
|
export declare const StyledSelect: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<InputHTMLAttributes<HTMLInputElement>, "css"> & DataCy & {
|
|
38
|
-
error?: boolean;
|
|
39
|
-
valid?: boolean;
|
|
38
|
+
$error?: boolean;
|
|
39
|
+
$valid?: boolean;
|
|
40
40
|
readOnly?: boolean;
|
|
41
41
|
} & IconsProps & {
|
|
42
42
|
$inputMargin?: string | undefined;
|
|
43
43
|
} & import('react').RefAttributes<HTMLInputElement>, StyledSelectProps>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "css"> & DataCy & {
|
|
44
|
-
error?: boolean;
|
|
45
|
-
valid?: boolean;
|
|
44
|
+
$error?: boolean;
|
|
45
|
+
$valid?: boolean;
|
|
46
46
|
readOnly?: boolean;
|
|
47
47
|
} & IconsProps & {
|
|
48
48
|
$inputMargin?: string | undefined;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export declare const JRCAppLeftColumnWrapperTop: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export declare const ColumnRelativeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
isMinimized: boolean;
|
|
3
|
+
$isMinimized: boolean;
|
|
4
4
|
}>> & string;
|
|
5
5
|
export declare const ColumnRelativeSticky: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
|
-
isMinimized: boolean;
|
|
7
|
-
isClosed: boolean;
|
|
6
|
+
$isMinimized: boolean;
|
|
7
|
+
$isClosed: boolean;
|
|
8
8
|
}>> & string;
|
|
9
9
|
export declare const ColumnRelativeTransition: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
10
|
-
isMinimized: boolean;
|
|
10
|
+
$isMinimized: boolean;
|
|
11
11
|
}>> & string;
|
|
12
12
|
export declare const ColumnAppDefault: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
13
|
-
isMinimized: boolean;
|
|
14
|
-
isClosed: boolean;
|
|
13
|
+
$isMinimized: boolean;
|
|
14
|
+
$isClosed: boolean;
|
|
15
15
|
}>> & string;
|
|
16
16
|
export declare const ColumnAppMinimize: 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 MenuWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
18
|
-
isMinimized: boolean;
|
|
18
|
+
$isMinimized: boolean;
|
|
19
19
|
}>> & string;
|
|
20
|
-
export declare const ItemsIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "isActive"> & import('../JRCTabs/JRCTabs').ItemProps, never>> & string;
|
|
20
|
+
export declare const ItemsIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$isActive"> & import('../JRCTabs/JRCTabs').ItemProps, never>> & string;
|
|
21
21
|
export declare const TitleMenu: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "key" | keyof import('react').HTMLAttributes<HTMLHeadingElement>> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">, never>> & string;
|
|
22
22
|
export declare const JRCIconButtonAppLeftColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onClick"> & import('../../types/dataAttributes').DataCy & {
|
|
23
23
|
icon: string;
|
|
@@ -65,10 +65,10 @@ export declare const JRCIconButtonAppLeftColumn: import('styled-components/dist/
|
|
|
65
65
|
srOnly?: string;
|
|
66
66
|
} & import('react').RefAttributes<HTMLButtonElement>>, keyof import('react').Component<any, {}, any>>;
|
|
67
67
|
export declare const AppLeftColumnIconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {
|
|
68
|
-
isMinimized: boolean;
|
|
68
|
+
$isMinimized: boolean;
|
|
69
69
|
}>> & string;
|
|
70
70
|
export declare const AbsoluteContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
71
71
|
export declare const AbsoluteContainerMinimized: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
72
|
-
isMinimized: boolean;
|
|
72
|
+
$isMinimized: boolean;
|
|
73
73
|
}>> & string;
|
|
74
74
|
export declare const SectionMinimizesWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -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 -
|
|
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?:
|
|
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>;
|
|
@@ -56,4 +56,8 @@ export type StyledButtonProps = {
|
|
|
56
56
|
$noMargin?: ButtonProps['noMargin'];
|
|
57
57
|
$borderRadius?: ButtonProps['borderRadius'];
|
|
58
58
|
$borderRadiusMode?: ButtonProps['borderRadiusMode'];
|
|
59
|
-
|
|
59
|
+
$iconRight?: ButtonProps['iconRight'];
|
|
60
|
+
$loader?: ButtonProps['loader'];
|
|
61
|
+
$float?: ButtonProps['float'];
|
|
62
|
+
$minWidth?: ButtonProps['minWidth'];
|
|
63
|
+
} & Omit<ButtonProps, 'noMargin' | 'borderRadius' | 'borderRadiusMode' | 'iconRight' | 'loader' | 'float' | 'minWidth'> & OutlineProps;
|
|
@@ -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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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;
|
|
@@ -13,4 +13,4 @@ export type JRCDisplayCardProps = {
|
|
|
13
13
|
href?: string;
|
|
14
14
|
onClick?: () => void;
|
|
15
15
|
};
|
|
16
|
-
export declare const JRCDisplayCard: ({ children, href, onClick,
|
|
16
|
+
export declare const JRCDisplayCard: ({ children, href, onClick, loading, skeleton, width, height, aspectRatio, }: JRCDisplayCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JRCDisplayCardProps } from './JRCDisplayCard';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ children, href, onClick,
|
|
4
|
+
component: ({ children, href, onClick, loading, skeleton, width, height, aspectRatio, }: JRCDisplayCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCDisplayCardProps>;
|
|
@@ -22,7 +22,7 @@ export declare const OneLevelMainTitle: import('styled-components/dist/types').I
|
|
|
22
22
|
ellipsis?: boolean;
|
|
23
23
|
maxWidth?: string | number;
|
|
24
24
|
whiteSpace?: import('react').CSSProperties["whiteSpace"];
|
|
25
|
-
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
25
|
+
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
26
26
|
export declare const OneLevelMainContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
27
27
|
/**
|
|
28
28
|
* Stack (RIGHT) - source items
|
|
@@ -41,7 +41,7 @@ export declare const OneLevelStackTitle: import('styled-components/dist/types').
|
|
|
41
41
|
ellipsis?: boolean;
|
|
42
42
|
maxWidth?: string | number;
|
|
43
43
|
whiteSpace?: import('react').CSSProperties["whiteSpace"];
|
|
44
|
-
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
44
|
+
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
45
45
|
export declare const OneLevelStackContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
46
46
|
/**
|
|
47
47
|
* Empty state - Shows drop zone when no items present
|
|
@@ -18,7 +18,7 @@ export declare const SectionsTitle: import('styled-components/dist/types').IStyl
|
|
|
18
18
|
ellipsis?: boolean;
|
|
19
19
|
maxWidth?: string | number;
|
|
20
20
|
whiteSpace?: import('react').CSSProperties["whiteSpace"];
|
|
21
|
-
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
21
|
+
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
22
22
|
export declare const SectionLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
23
23
|
export declare const SectionsList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
24
24
|
export declare const SectionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -106,7 +106,7 @@ export declare const OneLevelTitle: import('styled-components/dist/types').IStyl
|
|
|
106
106
|
ellipsis?: boolean;
|
|
107
107
|
maxWidth?: string | number;
|
|
108
108
|
whiteSpace?: import('react').CSSProperties["whiteSpace"];
|
|
109
|
-
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
109
|
+
}, never>> & string & Omit<({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: import('../..').JRCTypographyProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
110
110
|
export declare const OneLevelContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
111
111
|
export declare const OneLevelList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
112
112
|
export declare const OneLevelItemWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -2,7 +2,7 @@ import { FastCssProps } from '../Common/FastCss';
|
|
|
2
2
|
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
3
3
|
type FlexBoxProps = Omit<FastCssProps, 'display'> & {
|
|
4
4
|
direction?: FlexDirection;
|
|
5
|
-
inline?: boolean;
|
|
5
|
+
$inline?: boolean;
|
|
6
6
|
flex?: boolean | string;
|
|
7
7
|
gap?: number;
|
|
8
8
|
x?: 'flex-start' | 'center' | 'flex-end' | 'space-around' | 'space-between' | 'space-evenly';
|
|
@@ -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 {};
|
|
@@ -5,7 +5,7 @@ export declare const Thead: import('styled-components/dist/types').IStyledCompon
|
|
|
5
5
|
export declare const TBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
6
6
|
export declare const Th: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
|
|
7
7
|
$width?: number | string;
|
|
8
|
-
sortable?: boolean;
|
|
8
|
+
$sortable?: boolean;
|
|
9
9
|
}>> & string;
|
|
10
10
|
export declare const Tr: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
|
|
11
11
|
$isHead?: boolean;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ModalOverflow, ModalVariant } from './types';
|
|
2
2
|
export type ModalBorderRadius = 'medium' | 'small';
|
|
3
3
|
export declare const JRCModalBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
isFullHeight?: boolean;
|
|
4
|
+
$isFullHeight?: boolean;
|
|
5
5
|
overflow?: ModalOverflow;
|
|
6
|
-
zIndex?: number;
|
|
6
|
+
$zIndex?: number;
|
|
7
7
|
overlayBackgroundColor?: string;
|
|
8
8
|
}>> & string;
|
|
9
9
|
export declare const JRCModalContainerFull: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
10
|
-
isFullScreen?: boolean;
|
|
11
|
-
maxHeight?: string;
|
|
10
|
+
$isFullScreen?: boolean;
|
|
11
|
+
$maxHeight?: string;
|
|
12
12
|
containerBackgroundColor?: string;
|
|
13
13
|
}>> & string;
|
|
14
14
|
export declare const JRCModalContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
15
15
|
variant?: ModalVariant;
|
|
16
16
|
overflow?: "hidden" | "visible" | "scroll" | "auto";
|
|
17
17
|
radius?: ModalBorderRadius;
|
|
18
|
-
maxHeight?: string;
|
|
18
|
+
$maxHeight?: string;
|
|
19
19
|
maxWidth?: string;
|
|
20
20
|
containerBackgroundColor?: string;
|
|
21
21
|
}>> & string;
|
|
@@ -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;
|
|
@@ -6,5 +6,6 @@ export type JRCSkeletonSquareProps = {
|
|
|
6
6
|
width?: string;
|
|
7
7
|
borderRadius?: string;
|
|
8
8
|
margin?: string;
|
|
9
|
+
className?: string;
|
|
9
10
|
};
|
|
10
|
-
export declare const JRCSkeletonSquare:
|
|
11
|
+
export declare const JRCSkeletonSquare: ({ ratio, width, borderRadius, margin, className }: JRCSkeletonSquareProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DataCy } from '../../types/dataAttributes';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export interface ItemProps {
|
|
4
|
-
isActive: boolean;
|
|
4
|
+
$isActive: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const ItemButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ItemProps>> & string;
|
|
7
7
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { JRCTypographyProps } from './JRCTypography.types';
|
|
2
|
-
export declare const JRCTypography: ({ variant, ellipsis, size, weight, color, align, hoverColor, maxWidth, whiteSpace, ...props }: JRCTypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const JRCTypography: ({ variant, ellipsis, size, weight, color, align, textAlign, hoverColor, maxWidth, whiteSpace, ...props }: JRCTypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { Colors } from 'jamespot-front-business';
|
|
|
3
3
|
import { FontWeight } from '../../styles/theme';
|
|
4
4
|
import { FastCssProps } from '../Common/FastCss';
|
|
5
5
|
export type TSizes = 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
|
|
6
|
-
export type TVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span';
|
|
6
|
+
export type TVariants = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
7
7
|
type TWeight = keyof FontWeight;
|
|
8
8
|
type TAlignment = 'left' | 'right' | 'center';
|
|
9
9
|
/**
|