@groupeactual/ui-kit 0.2.8 → 0.2.9

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.
@@ -4,5 +4,5 @@ interface Props extends Omit<TypographyProps, 'paragraph'> {
4
4
  variant?: 'h1' | 'h2' | 'h3' | 'h4';
5
5
  component?: string;
6
6
  }
7
- declare const ActHeading: (props: Props) => JSX.Element;
8
- export default ActHeading;
7
+ declare const Heading: (props: Props) => JSX.Element;
8
+ export default Heading;
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
- interface Props {
2
+ import { TypographyProps } from '@mui/material';
3
+ interface Props extends Omit<TypographyProps, 'variant'> {
3
4
  variant?: 'link1' | 'link2';
4
5
  component?: string;
5
6
  }
6
- declare const ActText: (props: Props) => JSX.Element;
7
- export default ActText;
7
+ declare const Link: (props: Props) => JSX.Element;
8
+ export default Link;
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
- interface Props {
2
+ import { TypographyProps } from '@mui/material';
3
+ interface Props extends Omit<TypographyProps, 'variant'> {
3
4
  variant?: 'big_number' | 'body1_regular' | 'body1_medium' | 'body1_bold' | 'body2_regular' | 'body2_medium' | 'body2_bold' | 'caption' | 'button_notif';
4
- component?: string;
5
+ component?: any;
5
6
  }
6
- declare const ActText: (props: Props) => JSX.Element;
7
- export default ActText;
7
+ declare const Text: (props: Props) => JSX.Element;
8
+ export default Text;
package/dist/cjs/index.js CHANGED
@@ -51375,11 +51375,12 @@ process.env.NODE_ENV !== "production" ? TextField$1.propTypes
51375
51375
  } : void 0;
51376
51376
  var MuiTextField = TextField$1;
51377
51377
 
51378
- var ActText$1 = function (props) { return (jsxRuntime.jsx(Typography$1, __assign({}, props))); };
51378
+ // @ts-ignore
51379
+ var Text = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
51379
51380
 
51380
- var ActText = function (props) { return (jsxRuntime.jsx(Typography$1, __assign({}, props))); };
51381
+ var Link = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
51381
51382
 
51382
- var ActHeading = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
51383
+ var Heading = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
51383
51384
 
51384
51385
  var ActButton = styled$1(Button$1)(function (_a) {
51385
51386
  var theme = _a.theme;
@@ -52068,9 +52069,9 @@ exports.Button = ActButton;
52068
52069
  exports.Checkbox = Checkbox;
52069
52070
  exports.DesignSystemContext = DesignSystemContext;
52070
52071
  exports.DesignSystemProvider = DesignSystemProvider;
52071
- exports.Heading = ActHeading;
52072
+ exports.Heading = Heading;
52072
52073
  exports.IconProvider = IconProvider;
52073
- exports.Link = ActText;
52074
- exports.Text = ActText$1;
52074
+ exports.Link = Link;
52075
+ exports.Text = Text;
52075
52076
  exports.TextField = TextField;
52076
52077
  //# sourceMappingURL=index.js.map