@groupeactual/ui-kit 0.4.17 → 0.4.19

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.
@@ -1,10 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { AccordionProps } from '@mui/material/Accordion';
3
- interface Props {
3
+ interface Props extends Omit<AccordionProps, 'children'> {
4
4
  icon: ReactNode;
5
- title: ReactNode;
6
5
  content: ReactNode;
6
+ title?: string;
7
7
  summaryHeight?: number;
8
8
  }
9
- declare const Accordion: ({ icon, title, content, summaryHeight, ...props }: Props & AccordionProps) => JSX.Element;
9
+ declare const Accordion: ({ icon, title, content, summaryHeight, ...props }: Props) => JSX.Element;
10
10
  export default Accordion;
package/dist/cjs/index.js CHANGED
@@ -51332,7 +51332,6 @@ var useMaterialThemeTokens = function (themeName) {
51332
51332
  snackbar: 1400,
51333
51333
  tooltip: 1500
51334
51334
  },
51335
- spacing: Number(designTokens["".concat(themeName, "SpacingXxs")]),
51336
51335
  palette: getMuiPalette(themeName)
51337
51336
  };
51338
51337
  var muiCss = useMaterialThemeCss(muiTokensObject).muiCss;