jamespot-react-components 1.3.92 → 1.3.93

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.
@@ -0,0 +1,5 @@
1
+ export type LimitHeightProps = {
2
+ $lines?: number | undefined;
3
+ $fade?: boolean | undefined;
4
+ };
5
+ export declare const LimitHeight: import('styled-components').RuleSet<LimitHeightProps>;
@@ -5,6 +5,8 @@ export type JRCHtmlProps = {
5
5
  as?: ElementType | keyof JSX.IntrinsicElements;
6
6
  __html: string | undefined;
7
7
  lines?: LimitLinesProps['$lines'];
8
+ /** Troncage si `lines` est défini : `'ellipsis'` (line-clamp, texte) ou `'fade'` (max-height + fondu, contenu riche). */
9
+ truncate?: 'ellipsis' | 'fade';
8
10
  seeMore?: {
9
11
  href: string;
10
12
  label?: string;
@@ -5,3 +5,4 @@ export default _default;
5
5
  export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCHtmlProps>;
6
6
  export declare const seeMoreLines: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCHtmlProps>;
7
7
  export declare const seeMoreImg: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCHtmlProps>;
8
+ export declare const fadeRichContent: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, JRCHtmlProps>;
@@ -167,6 +167,7 @@ declare const _default: {
167
167
  "GLOBAL_Add": "Add",
168
168
  "GLOBAL_Alert_Author": "Recevoir une copie",
169
169
  "GLOBAL_Animated_Meeting": "Diapazone",
170
+ "GLOBAL_Article_Preview_Excerpt": "Article preview (excerpt)",
170
171
  "GLOBAL_Attachments": "Pièces jointes",
171
172
  "GLOBAL_Audience": "Audience",
172
173
  "GLOBAL_BACK_PREVIOUS_SECTION": "back to the previous section",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.3.92",
3
+ "version": "1.3.93",
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.92",
63
- "jamespot-user-api": "^1.3.92",
62
+ "jamespot-front-business": "^1.3.93",
63
+ "jamespot-user-api": "^1.3.93",
64
64
  "jsdom": "^26.1.0",
65
65
  "knip": "^5.88.1",
66
66
  "lint-staged": "^16.4.0",