@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.
- package/dist/cjs/components/Heading/Heading.d.ts +2 -2
- package/dist/cjs/components/Link/Link.d.ts +4 -3
- package/dist/cjs/components/Text/Text.d.ts +5 -4
- package/dist/cjs/index.js +7 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/Heading/Heading.d.ts +2 -2
- package/dist/esm/components/Link/Link.d.ts +4 -3
- package/dist/esm/components/Text/Text.d.ts +5 -4
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +10 -9
- package/package.json +1 -1
- package/src/components/Heading/Heading.tsx +2 -2
- package/src/components/Link/Link.tsx +3 -5
- package/src/components/Text/Text.tsx +5 -6
|
@@ -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
|
|
8
|
-
export default
|
|
7
|
+
declare const Heading: (props: Props) => JSX.Element;
|
|
8
|
+
export default Heading;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
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
|
|
7
|
-
export default
|
|
7
|
+
declare const Link: (props: Props) => JSX.Element;
|
|
8
|
+
export default Link;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
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?:
|
|
5
|
+
component?: any;
|
|
5
6
|
}
|
|
6
|
-
declare const
|
|
7
|
-
export default
|
|
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
|
-
|
|
51378
|
+
// @ts-ignore
|
|
51379
|
+
var Text = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
|
|
51379
51380
|
|
|
51380
|
-
var
|
|
51381
|
+
var Link = function (props) { return jsxRuntime.jsx(Typography$1, __assign({}, props)); };
|
|
51381
51382
|
|
|
51382
|
-
var
|
|
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 =
|
|
52072
|
+
exports.Heading = Heading;
|
|
52072
52073
|
exports.IconProvider = IconProvider;
|
|
52073
|
-
exports.Link =
|
|
52074
|
-
exports.Text =
|
|
52074
|
+
exports.Link = Link;
|
|
52075
|
+
exports.Text = Text;
|
|
52075
52076
|
exports.TextField = TextField;
|
|
52076
52077
|
//# sourceMappingURL=index.js.map
|