@groupeactual/ui-kit 1.8.5 → 1.8.6

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.
@@ -125,8 +125,8 @@ interface Props$k<T> extends Omit<RadioGroupProps, 'onChange'> {
125
125
  }
126
126
  declare const RadioGroup: <T>({ options, value, label, onChange, helperText, disabled, error, ...props }: Props$k<T>) => React.JSX.Element;
127
127
 
128
- interface Props$j extends AccordionProps {
129
- title?: string;
128
+ interface Props$j extends Omit<AccordionProps, 'title'> {
129
+ title?: ReactNode;
130
130
  summaryHeight?: number;
131
131
  expanded?: boolean;
132
132
  children: NonNullable<ReactNode>;
@@ -1,7 +1,7 @@
1
1
  import React, { MouseEventHandler, ReactNode } from 'react';
2
2
  import { AccordionProps } from '@mui/material';
3
- interface Props extends AccordionProps {
4
- title?: string;
3
+ interface Props extends Omit<AccordionProps, 'title'> {
4
+ title?: ReactNode;
5
5
  summaryHeight?: number;
6
6
  expanded?: boolean;
7
7
  children: NonNullable<ReactNode>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groupeactual/ui-kit",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
6
  "main": "dist/cjs/index.js",
@@ -33,7 +33,7 @@
33
33
  "@mui/x-date-pickers": "7.15.0",
34
34
  "@mui/x-date-pickers-pro": "7.15.0",
35
35
  "styled-components": "^6.1.13",
36
- "@groupeactual/design-tokens": "1.8.5"
36
+ "@groupeactual/design-tokens": "1.8.6"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "rollup -c",
@@ -19,8 +19,8 @@ import {
19
19
 
20
20
  import IconButton from '@/components/IconButton';
21
21
 
22
- interface Props extends AccordionProps {
23
- title?: string;
22
+ interface Props extends Omit<AccordionProps, 'title'> {
23
+ title?: ReactNode;
24
24
  summaryHeight?: number;
25
25
  expanded?: boolean;
26
26
  children: NonNullable<ReactNode>;