jamespot-react-components 1.3.50 → 1.3.52
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 +1232 -1177
- package/dist/jamespot-react-components.js +11071 -10705
- package/dist/src/components/Common/Outline.d.ts +2 -2
- package/dist/src/components/Editors/components/EditorPositionToggle.d.ts +3 -2
- package/dist/src/components/Editors/components/EditorRichTextDialog.d.ts +14 -0
- package/dist/src/components/Form/Input/{JRCInputCSSPosition/JRCInputCSSPosition.d.ts → JRCInputPosition/JRCInputPosition.d.ts} +2 -1
- package/dist/src/components/Form/Input/{JRCInputCSSPosition/JRCInputCSSPositionRaw.d.ts → JRCInputPosition/JRCInputPositionRaw.d.ts} +2 -1
- package/dist/src/components/Form/Input/JRCInputPosition/const.d.ts +17 -0
- package/dist/src/components/Form/Input/JRCInputText/JRCInputText.style.d.ts +8 -8
- package/dist/src/components/Form/Input/JRCInputTextRaw/JRCInputTextRaw.style.d.ts +4 -4
- package/dist/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +2 -2
- package/dist/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +8 -8
- package/dist/src/components/JRCButton/types.d.ts +6 -6
- package/dist/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +2 -2
- package/dist/src/components/JRCButtonDropdown/JRCButtonDropdown.types.d.ts +1 -0
- package/dist/src/components/JRCDragNDrop/OneLevelStyles.d.ts +4 -4
- package/dist/src/components/JRCDragNDrop/styles.d.ts +12 -12
- package/dist/src/components/JRCEmptySpace/JRCEmptySpace.d.ts +1 -1
- package/dist/src/components/JRCIconButton/JRCIconButton.d.ts +13 -13
- package/dist/src/components/JRCTooltip/JRCBaseTooltip.d.ts +1 -0
- package/dist/src/components/JRCTypography/JRCTypography.d.d.ts +3 -3
- package/dist/src/components/Widgets/JRCWidgetText/JRCWidgetText.d.ts +16 -0
- package/dist/src/components/Widgets/JRCWidgetText/JRCWidgetTextEditor.d.ts +18 -0
- package/dist/src/components/Widgets/const.d.ts +40 -0
- package/dist/src/components/index.d.ts +6 -0
- package/dist/src/styles/Theme.stories.d.ts +1 -1
- package/dist/src/styles/theme.d.ts +20 -8
- package/dist/src/translation/lang.json.d.ts +5 -0
- package/dist/src/types.d.ts +1 -1
- package/dist/src/utils/utils.color.d.ts +4 -1
- package/dist/src/utils/utils.string.d.ts +1 -0
- package/package.json +2 -2
|
@@ -295,6 +295,7 @@ declare const _default: {
|
|
|
295
295
|
"PANEL_Widget_Url": "Copier l'url du widget",
|
|
296
296
|
"PANEL_Widget_Selection": "Style & décorations",
|
|
297
297
|
"PANEL_Widget_Settings": "Configuration du widget",
|
|
298
|
+
"PANEL_Widget_Text": "Ajouter du texte",
|
|
298
299
|
"PLUGIN_Manager_CalDav_Prompt": "Tester la connexion CalDav",
|
|
299
300
|
"PLUGIN_Manager_CardDav_Prompt": "Tester la connexion CardDav",
|
|
300
301
|
"PLUGIN_Manager_Connection_Error": "Connexion impossible. Vérifiez vos identifiants",
|
|
@@ -317,10 +318,13 @@ declare const _default: {
|
|
|
317
318
|
"STYLE_Border_Style_None": "Aucune bordure",
|
|
318
319
|
"STYLE_Border_Style_Solid": "Bordure continue",
|
|
319
320
|
"STYLE_Border_Width": "Taille de la bordure",
|
|
321
|
+
"STYLE_Box_Shadow": "Ombre portée",
|
|
320
322
|
"STYLE_Font_Weight": "Epaisseur du texte",
|
|
321
323
|
"STYLE_Font_Weight_Bold": "Bold",
|
|
322
324
|
"STYLE_Font_Weight_Medium": "Medium",
|
|
323
325
|
"STYLE_Font_Weight_Normal": "Normal",
|
|
326
|
+
"STYLE_Font_Weight_Semi_Bold": "Semi bold",
|
|
327
|
+
"STYLE_Line_Height": "Hauteur de ligne",
|
|
324
328
|
"STYLE_Padding": "Marge interne",
|
|
325
329
|
"STYLE_Position": "Position",
|
|
326
330
|
"STYLE_Position_Top_Left": "Position haut gauche",
|
|
@@ -401,6 +405,7 @@ declare const _default: {
|
|
|
401
405
|
"WIDGET_Survey_Multiple_Help": "Allow multiple responses",
|
|
402
406
|
"WIDGET_Survey_Open": "Open survey",
|
|
403
407
|
"WIDGET_Survey_Open_Help": "Allows other users to add suggestion",
|
|
408
|
+
"WIDGET_Text_Use_Flex_Label": "Disposition flexible",
|
|
404
409
|
"WIDGET_User_Profil": "Profil utilisateur",
|
|
405
410
|
"WIDGET_User_Profil_Text": "Permettez à vos utilisateur un accès vers leur propre profil en un clic ! Idéal pour les encourager à le compléter. ",
|
|
406
411
|
"WIDGET_User_Profil_Font_Weight_Label": "Gras",
|
package/dist/src/types.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export type { JRCTemplateBaseProps } from './components/Templates/JRCBase.templa
|
|
|
83
83
|
export type { JRCTemplateTwoColumnsProps } from './components/Templates/JRCTwoColumns.template';
|
|
84
84
|
export type { JRCAppColumnProps, JRCAppTabsProps, JRCColumnProps, JRCContainerProps, JRCMainColumnProps, JRCTabEntry, LayoutMode, TabEventProps, } from './components/Templates/template.type';
|
|
85
85
|
export type { JRCWidgetCheckListEntries } from './components/Widgets/JRCWidgetCheckList/JRCWidgetCheckList';
|
|
86
|
-
export type { Colors,
|
|
86
|
+
export type { Colors, ThemeConfigOptions, ThemeType } from './styles/theme';
|
|
87
87
|
export type { MessageType } from './utils/utils.color';
|
|
88
88
|
export type { OneLevelMainItemComponentProps, OneLevelStackItemComponentProps, OneLevelEmptyStateComponentProps, JRCDndOneLevelWithStackProps, } from './components/JRCDragNDrop/types';
|
|
89
89
|
export { OneLevelItemTypes } from './components/JRCDragNDrop/types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ColorPalette, GeneratedPaletteKeys } from '../styles/theme';
|
|
1
2
|
type ColorTransparencyPercent = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
|
|
2
3
|
export declare function colorTransparency(color: string, percent: ColorTransparencyPercent): string;
|
|
3
4
|
export declare const colorimetry: {
|
|
@@ -87,7 +88,9 @@ export declare const getLightShade: (hex: string, lightPercentage: number) => st
|
|
|
87
88
|
export type MessageType = 'success' | 'error' | 'warning';
|
|
88
89
|
export declare const MessageColor: {
|
|
89
90
|
readonly success: "green";
|
|
90
|
-
readonly error: "
|
|
91
|
+
readonly error: "red";
|
|
91
92
|
readonly warning: "yellow";
|
|
92
93
|
};
|
|
94
|
+
export declare const getColorPalette: (color: string) => ColorPalette;
|
|
95
|
+
export declare const buildPaletteObject: <T extends string>(key: T, hex: string) => Record<GeneratedPaletteKeys<T> | T, string>;
|
|
93
96
|
export {};
|
|
@@ -2,3 +2,4 @@ export declare function suffixIfDoesNotExist(str: string | undefined, suffix: st
|
|
|
2
2
|
export declare function removeIfStartsWith(str: string | undefined, prefix: string): string | undefined;
|
|
3
3
|
export declare function padStartTwoDigits(val: string | number): string;
|
|
4
4
|
export declare function limitSize(str: string, length: number): string;
|
|
5
|
+
export declare function capitalize(str: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.52",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/jamespot-react-components.js",
|
|
6
6
|
"module": "dist/jamespot-react-components.mjs",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"globals": "^16.5.0",
|
|
79
79
|
"html2canvas": "^1.4.1",
|
|
80
80
|
"husky": "^9.1.7",
|
|
81
|
-
"jamespot-user-api": "^1.3.
|
|
81
|
+
"jamespot-user-api": "^1.3.52",
|
|
82
82
|
"jest": "^30.2.0",
|
|
83
83
|
"jest-environment-jsdom": "^30.2.0",
|
|
84
84
|
"knip": "^5.82.1",
|