@groupeactual/ui-kit 0.4.8 → 0.4.10

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,5 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from '@mui/material/Button';
3
- type ActButtonType = (props: ButtonProps) => JSX.Element | null;
4
- declare const ActButton: ActButtonType;
5
- export default ActButton;
3
+ interface Props extends Omit<ButtonProps, 'variant'> {
4
+ variant?: 'primary' | 'secondary';
5
+ component?: any;
6
+ }
7
+ declare const Button: (props: Props) => JSX.Element;
8
+ export default Button;
package/dist/cjs/index.js CHANGED
@@ -44301,7 +44301,7 @@ const ButtonEndIcon = styled$1('span', {
44301
44301
  }, ownerState.size === 'small' && {
44302
44302
  marginRight: -2
44303
44303
  }, commonIconStyles(ownerState)));
44304
- const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
44304
+ const Button$1 = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
44305
44305
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
44306
44306
  const contextProps = React__namespace.useContext(ButtonGroupContext$1);
44307
44307
  const resolvedProps = resolveProps(contextProps, inProps);
@@ -44362,7 +44362,7 @@ const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps,
44362
44362
  children: [startIcon, children, endIcon]
44363
44363
  }));
44364
44364
  });
44365
- process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
44365
+ process.env.NODE_ENV !== "production" ? Button$1.propTypes /* remove-proptypes */ = {
44366
44366
  // ----------------------------- Warning --------------------------------
44367
44367
  // | These PropTypes are generated from the TypeScript type definitions |
44368
44368
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -44456,7 +44456,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
44456
44456
  */
44457
44457
  variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])
44458
44458
  } : void 0;
44459
- var Button$1 = Button;
44459
+ var ButtonMUI = Button$1;
44460
44460
 
44461
44461
  function getSwitchBaseUtilityClass(slot) {
44462
44462
  return generateUtilityClass('PrivateSwitchBase', slot);
@@ -50454,19 +50454,9 @@ var Text = function (props) { return jsxRuntime.jsx(Typography$1, __assign$1({},
50454
50454
 
50455
50455
  var Link = function (props) { return jsxRuntime.jsx(LinkMui, __assign$1({}, props)); };
50456
50456
 
50457
- var ActButton = styled$1(Button$1)(function (_a) {
50458
- var theme = _a.theme;
50459
- return ({
50460
- color: theme.palette.blueClickable,
50461
- border: "1px solid ".concat(theme.palette.greyLightDefaultborder),
50462
- borderRadius: 4,
50463
- padding: '7.5px 16px',
50464
- fontWeight: theme.typography.fontWeightBold,
50465
- lineHeight: '18px',
50466
- textTransform: 'unset',
50467
- fontSize: '14px'
50468
- });
50469
- });
50457
+ var Button = function (props) {
50458
+ return jsxRuntime.jsx(ButtonMUI, __assign$1({}, props));
50459
+ };
50470
50460
 
50471
50461
  var TextField = function (_a) {
50472
50462
  var name = _a.name, value = _a.value, error = _a.error, onBlur = _a.onBlur, onChange = _a.onChange, label = _a.label, disabled = _a.disabled, endAdornment = _a.endAdornment; _a.isValid; var _b = _a.placeholder, placeholder = _b === void 0 ? '' : _b, maxLength = _a.maxLength, props = __rest(_a, ["name", "value", "error", "onBlur", "onChange", "label", "disabled", "endAdornment", "isValid", "placeholder", "maxLength"]);
@@ -50628,7 +50618,7 @@ var __assign = function() {
50628
50618
 
50629
50619
  /**
50630
50620
  * Do not edit directly
50631
- * Generated on Thu, 08 Dec 2022 17:56:08 GMT
50621
+ * Generated on Thu, 23 Feb 2023 15:24:19 GMT
50632
50622
  */
50633
50623
  var DefaultWebShadowAllContent = { "color": "#2727271f", "type": "dropShadow", "x": "0", "y": "2", "blur": "10", "spread": "0" };
50634
50624
  var DefaultSpacingXxs = "4";
@@ -50649,37 +50639,6 @@ var DefaultSizingLg = "24";
50649
50639
  var DefaultSizingXl = "32";
50650
50640
  var DefaultSizingXxl = "40";
50651
50641
  var DefaultSizingXxxl = "72";
50652
- var DefaultColorsRedActual = "#e40521";
50653
- var DefaultColorsBlueClickable = "#136cac";
50654
- var DefaultColorsBlueHoverClickable = "#004f88";
50655
- var DefaultColorsGreyMediumInactive = "#808080";
50656
- var DefaultColorsGreyXDark = "#272727";
50657
- var DefaultColorsGreyDark = "#545352";
50658
- var DefaultColorsWhite = "#ffffff";
50659
- var DefaultColorsGreyXLight = "#f0f0f0";
50660
- var DefaultColorsGreyXDarkBgModal = "#27272780";
50661
- var DefaultColorsBlueHoverEquivalence12 = "#e8f1f7";
50662
- var DefaultColorsBlueHoverOpacity12 = "#136cac1f";
50663
- var DefaultColorsGreyLightDefaultborder = "#cbcbcb";
50664
- var DefaultColorsBlueInfo = "#1d91c3";
50665
- var DefaultColorsGreenSuccess = "#23956d";
50666
- var DefaultColorsOrangeWarning = "#e46221";
50667
- var DefaultColorsRedError = "#b80025";
50668
- var DefaultColorsBlueDark = "#0d2c54";
50669
- var DefaultColorsBlueMedium = "#3d5a80";
50670
- var DefaultColorsBlueLight = "#7fdcea";
50671
- var DefaultColorsGreenDark = "#125e42";
50672
- var DefaultColorsGreenMedium = "#1f8461";
50673
- var DefaultColorsGreen = "#5dca8b";
50674
- var DefaultColorsGreenLight = "#bad07a";
50675
- var DefaultColorsBrown = "#6f2902";
50676
- var DefaultColorsBrownLight = "#b65700";
50677
- var DefaultColorsOrangeLight = "#f59b00";
50678
- var DefaultColorsYellow = "#f9d25e";
50679
- var DefaultColorsPurpleDark = "#530d48";
50680
- var DefaultColorsPurple = "#831443";
50681
- var DefaultColorsPink = "#ca1e5c";
50682
- var DefaultColorsPinkLight = "#fd6972";
50683
50642
  var DefaultFontFamiliesRoboto = "Roboto";
50684
50643
  var DefaultLineHeights12 = "12";
50685
50644
  var DefaultLineHeights16 = "16";
@@ -50707,6 +50666,37 @@ var DefaultParagraphSpacing8 = "8";
50707
50666
  var DefaultTextCaseNone = "none";
50708
50667
  var DefaultTextDecorationNone = "none";
50709
50668
  var DefaultTextDecorationUnderline = "underline";
50669
+ var DefaultDefaultColorsRedActual = "#e40521";
50670
+ var DefaultDefaultColorsBlueClickable = "#136cac";
50671
+ var DefaultDefaultColorsBlueHoverClickable = "#004f88";
50672
+ var DefaultDefaultColorsGreyMediumInactive = "#808080";
50673
+ var DefaultDefaultColorsTextColorsGreyXDark = "#272727";
50674
+ var DefaultDefaultColorsTextColorsGreyDark = "#545352";
50675
+ var DefaultDefaultColorsBackgroundColorsWhite = "#ffffff";
50676
+ var DefaultDefaultColorsBackgroundColorsGreyXLight = "#f0f0f0";
50677
+ var DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal = "#27272780";
50678
+ var DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence = "#e8f1f7";
50679
+ var DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12 = "#136cac1f";
50680
+ var DefaultDefaultColorsBorderColorsGreyLightDefaultBorder = "#cbcbcb";
50681
+ var DefaultDefaultColorsNotificationColorsBlueInfo = "#1d91c3";
50682
+ var DefaultDefaultColorsNotificationColorsGreenSuccess = "#23956d";
50683
+ var DefaultDefaultColorsNotificationColorsOrangeWarning = "#e46221";
50684
+ var DefaultDefaultColorsNotificationColorsRedError = "#b80025";
50685
+ var DefaultDefaultColorsSecondaryColorsBlueDark = "#0d2c54";
50686
+ var DefaultDefaultColorsSecondaryColorsBlueMedium = "#3d5a80";
50687
+ var DefaultDefaultColorsSecondaryColorsBlueLight = "#7fdcea";
50688
+ var DefaultDefaultColorsSecondaryColorsGreenDark = "#125e42";
50689
+ var DefaultDefaultColorsSecondaryColorsGreenMedium = "#1f8461";
50690
+ var DefaultDefaultColorsSecondaryColorsGreen = "#5dca8b";
50691
+ var DefaultDefaultColorsSecondaryColorsGreenLight = "#bad07a";
50692
+ var DefaultDefaultColorsSecondaryColorsBrown = "#6f2902";
50693
+ var DefaultDefaultColorsSecondaryColorsBrownLight = "#b65700";
50694
+ var DefaultDefaultColorsSecondaryColorsOrangeLight = "#f59b00";
50695
+ var DefaultDefaultColorsSecondaryColorsYellow = "#f9d25e";
50696
+ var DefaultDefaultColorsSecondaryColorsPurpleDark = "#530d48";
50697
+ var DefaultDefaultColorsSecondaryColorsPurple = "#831443";
50698
+ var DefaultDefaultColorsSecondaryColorsPink = "#ca1e5c";
50699
+ var DefaultDefaultColorsSecondaryColorsPinkLight = "#fd6972";
50710
50700
  var EpAppShadowAllContent = { "color": "#dedada66", "type": "dropShadow", "x": "0", "y": "4", "blur": "15", "spread": "0" };
50711
50701
  var EpAppShadowButtomMenu = { "color": "#dedada66", "type": "dropShadow", "x": "0", "y": "-4", "blur": "15", "spread": "0" };
50712
50702
  var EpBorderRadius4 = "4";
@@ -50794,37 +50784,6 @@ var tokens = /*#__PURE__*/Object.freeze({
50794
50784
  DefaultSizingXl: DefaultSizingXl,
50795
50785
  DefaultSizingXxl: DefaultSizingXxl,
50796
50786
  DefaultSizingXxxl: DefaultSizingXxxl,
50797
- DefaultColorsRedActual: DefaultColorsRedActual,
50798
- DefaultColorsBlueClickable: DefaultColorsBlueClickable,
50799
- DefaultColorsBlueHoverClickable: DefaultColorsBlueHoverClickable,
50800
- DefaultColorsGreyMediumInactive: DefaultColorsGreyMediumInactive,
50801
- DefaultColorsGreyXDark: DefaultColorsGreyXDark,
50802
- DefaultColorsGreyDark: DefaultColorsGreyDark,
50803
- DefaultColorsWhite: DefaultColorsWhite,
50804
- DefaultColorsGreyXLight: DefaultColorsGreyXLight,
50805
- DefaultColorsGreyXDarkBgModal: DefaultColorsGreyXDarkBgModal,
50806
- DefaultColorsBlueHoverEquivalence12: DefaultColorsBlueHoverEquivalence12,
50807
- DefaultColorsBlueHoverOpacity12: DefaultColorsBlueHoverOpacity12,
50808
- DefaultColorsGreyLightDefaultborder: DefaultColorsGreyLightDefaultborder,
50809
- DefaultColorsBlueInfo: DefaultColorsBlueInfo,
50810
- DefaultColorsGreenSuccess: DefaultColorsGreenSuccess,
50811
- DefaultColorsOrangeWarning: DefaultColorsOrangeWarning,
50812
- DefaultColorsRedError: DefaultColorsRedError,
50813
- DefaultColorsBlueDark: DefaultColorsBlueDark,
50814
- DefaultColorsBlueMedium: DefaultColorsBlueMedium,
50815
- DefaultColorsBlueLight: DefaultColorsBlueLight,
50816
- DefaultColorsGreenDark: DefaultColorsGreenDark,
50817
- DefaultColorsGreenMedium: DefaultColorsGreenMedium,
50818
- DefaultColorsGreen: DefaultColorsGreen,
50819
- DefaultColorsGreenLight: DefaultColorsGreenLight,
50820
- DefaultColorsBrown: DefaultColorsBrown,
50821
- DefaultColorsBrownLight: DefaultColorsBrownLight,
50822
- DefaultColorsOrangeLight: DefaultColorsOrangeLight,
50823
- DefaultColorsYellow: DefaultColorsYellow,
50824
- DefaultColorsPurpleDark: DefaultColorsPurpleDark,
50825
- DefaultColorsPurple: DefaultColorsPurple,
50826
- DefaultColorsPink: DefaultColorsPink,
50827
- DefaultColorsPinkLight: DefaultColorsPinkLight,
50828
50787
  DefaultFontFamiliesRoboto: DefaultFontFamiliesRoboto,
50829
50788
  DefaultLineHeights12: DefaultLineHeights12,
50830
50789
  DefaultLineHeights16: DefaultLineHeights16,
@@ -50852,6 +50811,37 @@ var tokens = /*#__PURE__*/Object.freeze({
50852
50811
  DefaultTextCaseNone: DefaultTextCaseNone,
50853
50812
  DefaultTextDecorationNone: DefaultTextDecorationNone,
50854
50813
  DefaultTextDecorationUnderline: DefaultTextDecorationUnderline,
50814
+ DefaultDefaultColorsRedActual: DefaultDefaultColorsRedActual,
50815
+ DefaultDefaultColorsBlueClickable: DefaultDefaultColorsBlueClickable,
50816
+ DefaultDefaultColorsBlueHoverClickable: DefaultDefaultColorsBlueHoverClickable,
50817
+ DefaultDefaultColorsGreyMediumInactive: DefaultDefaultColorsGreyMediumInactive,
50818
+ DefaultDefaultColorsTextColorsGreyXDark: DefaultDefaultColorsTextColorsGreyXDark,
50819
+ DefaultDefaultColorsTextColorsGreyDark: DefaultDefaultColorsTextColorsGreyDark,
50820
+ DefaultDefaultColorsBackgroundColorsWhite: DefaultDefaultColorsBackgroundColorsWhite,
50821
+ DefaultDefaultColorsBackgroundColorsGreyXLight: DefaultDefaultColorsBackgroundColorsGreyXLight,
50822
+ DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal: DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal,
50823
+ DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence: DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence,
50824
+ DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12: DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12,
50825
+ DefaultDefaultColorsBorderColorsGreyLightDefaultBorder: DefaultDefaultColorsBorderColorsGreyLightDefaultBorder,
50826
+ DefaultDefaultColorsNotificationColorsBlueInfo: DefaultDefaultColorsNotificationColorsBlueInfo,
50827
+ DefaultDefaultColorsNotificationColorsGreenSuccess: DefaultDefaultColorsNotificationColorsGreenSuccess,
50828
+ DefaultDefaultColorsNotificationColorsOrangeWarning: DefaultDefaultColorsNotificationColorsOrangeWarning,
50829
+ DefaultDefaultColorsNotificationColorsRedError: DefaultDefaultColorsNotificationColorsRedError,
50830
+ DefaultDefaultColorsSecondaryColorsBlueDark: DefaultDefaultColorsSecondaryColorsBlueDark,
50831
+ DefaultDefaultColorsSecondaryColorsBlueMedium: DefaultDefaultColorsSecondaryColorsBlueMedium,
50832
+ DefaultDefaultColorsSecondaryColorsBlueLight: DefaultDefaultColorsSecondaryColorsBlueLight,
50833
+ DefaultDefaultColorsSecondaryColorsGreenDark: DefaultDefaultColorsSecondaryColorsGreenDark,
50834
+ DefaultDefaultColorsSecondaryColorsGreenMedium: DefaultDefaultColorsSecondaryColorsGreenMedium,
50835
+ DefaultDefaultColorsSecondaryColorsGreen: DefaultDefaultColorsSecondaryColorsGreen,
50836
+ DefaultDefaultColorsSecondaryColorsGreenLight: DefaultDefaultColorsSecondaryColorsGreenLight,
50837
+ DefaultDefaultColorsSecondaryColorsBrown: DefaultDefaultColorsSecondaryColorsBrown,
50838
+ DefaultDefaultColorsSecondaryColorsBrownLight: DefaultDefaultColorsSecondaryColorsBrownLight,
50839
+ DefaultDefaultColorsSecondaryColorsOrangeLight: DefaultDefaultColorsSecondaryColorsOrangeLight,
50840
+ DefaultDefaultColorsSecondaryColorsYellow: DefaultDefaultColorsSecondaryColorsYellow,
50841
+ DefaultDefaultColorsSecondaryColorsPurpleDark: DefaultDefaultColorsSecondaryColorsPurpleDark,
50842
+ DefaultDefaultColorsSecondaryColorsPurple: DefaultDefaultColorsSecondaryColorsPurple,
50843
+ DefaultDefaultColorsSecondaryColorsPink: DefaultDefaultColorsSecondaryColorsPink,
50844
+ DefaultDefaultColorsSecondaryColorsPinkLight: DefaultDefaultColorsSecondaryColorsPinkLight,
50855
50845
  EpAppShadowAllContent: EpAppShadowAllContent,
50856
50846
  EpAppShadowButtomMenu: EpAppShadowButtomMenu,
50857
50847
  EpBorderRadius4: EpBorderRadius4,
@@ -50921,21 +50911,24 @@ var tokens = /*#__PURE__*/Object.freeze({
50921
50911
  var getMuiPalette = function (themeName) {
50922
50912
  var palette = {};
50923
50913
  Object.keys(tokens).forEach(function (colorName) {
50924
- if (colorName.startsWith(themeName + 'Colors')) {
50925
- var colorKey = colorName.replace(themeName + 'Colors', '');
50914
+ // color structure :
50915
+ // DefaultDefaultColorsBackgroundColorsGreyXLight : Default/DefaultColorsBackgroundColors/GreyXLight -> Theme/Catégorie/Couleur
50916
+ // récupérer last iteration of "Colors" pour avoir le nom de la couleur
50917
+ if (colorName.startsWith(themeName) && colorName.indexOf('Colors')) {
50918
+ var colorKey = colorName.substring(colorName.lastIndexOf('Colors') + 'Colors'.length);
50926
50919
  colorKey = colorKey.charAt(0).toLowerCase() + colorKey.slice(1);
50927
50920
  palette[colorKey] = tokens[colorName];
50928
50921
  }
50929
50922
  });
50930
50923
  var defaultPalette = {
50931
50924
  success: {
50932
- main: tokens[themeName + 'ColorsGreenSuccess']
50925
+ main: palette['greenSuccess']
50933
50926
  },
50934
50927
  error: {
50935
- main: tokens[themeName + 'ColorsRedError']
50928
+ main: palette['redError']
50936
50929
  },
50937
50930
  warning: {
50938
- main: tokens[themeName + 'ColorsOrangeWarning']
50931
+ main: palette['orangeWarning']
50939
50932
  }
50940
50933
  };
50941
50934
  return __assign(__assign({}, palette), defaultPalette);
@@ -50999,6 +50992,7 @@ var TextFieldCss = function (muiTokens) {
50999
50992
  fontSize: '16px'
51000
50993
  },
51001
50994
  root: {
50995
+ padding: '0px !important',
51002
50996
  '&.Mui-error.MuiOutlinedInput-notchedOutline': {
51003
50997
  borderColor: muiTokens.palette.redError
51004
50998
  },
@@ -51029,10 +51023,48 @@ var TextFieldCss = function (muiTokens) {
51029
51023
  };
51030
51024
  };
51031
51025
 
51026
+ var ButtonCss = function (muiTokens) {
51027
+ return {
51028
+ MuiButton: {
51029
+ styleOverrides: {
51030
+ root: {
51031
+ borderRadius: 4,
51032
+ padding: '7.5px 16px',
51033
+ fontWeight: muiTokens.typography.fontWeightBold,
51034
+ lineHeight: '18px',
51035
+ textTransform: 'unset',
51036
+ fontSize: '14px',
51037
+ border: '1px solid'
51038
+ },
51039
+ primary: {
51040
+ color: muiTokens.palette.white,
51041
+ backgroundColor: muiTokens.palette.blueClickable,
51042
+ borderColor: muiTokens.palette.blueClickable,
51043
+ '&.Mui-disabled': {
51044
+ backgroundColor: muiTokens.palette.greyMediumInactive,
51045
+ borderColor: muiTokens.palette.greyMediumInactive,
51046
+ color: muiTokens.palette.white
51047
+ }
51048
+ },
51049
+ secondary: {
51050
+ color: muiTokens.palette.blueClickable,
51051
+ backgroundColor: muiTokens.palette.white,
51052
+ borderColor: muiTokens.palette.greyLightDefaultborder,
51053
+ '&.Mui-disabled': {
51054
+ backgroundColor: muiTokens.palette.white,
51055
+ borderColor: muiTokens.palette.greyLightDefaultborder,
51056
+ color: muiTokens.palette.greyMediumInactive
51057
+ }
51058
+ }
51059
+ }
51060
+ }
51061
+ };
51062
+ };
51063
+
51032
51064
  var useMaterialThemeCss = function (muiTokens) {
51033
51065
  var muiCss = React.useMemo(function () {
51034
51066
  return {
51035
- components: __assign(__assign({}, TextFieldCss(muiTokens)), { MuiSvgIcon: {
51067
+ components: __assign(__assign(__assign({}, TextFieldCss(muiTokens)), ButtonCss(muiTokens)), { MuiSvgIcon: {
51036
51068
  styleOverrides: {
51037
51069
  colorSuccess: {
51038
51070
  color: muiTokens.palette.success.main
@@ -51049,7 +51081,7 @@ var useMaterialThemeTokens = function (themeName) {
51049
51081
  var muiTokensObject = {
51050
51082
  typography: {
51051
51083
  fontFamily: getFontFamilies(themeName).join(','),
51052
- big_number: {
51084
+ bigNumber: {
51053
51085
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto700")],
51054
51086
  lineHeight: designTokens["".concat(themeName, "LineHeights49")] + 'px',
51055
51087
  fontSize: designTokens["".concat(themeName, "FontSize42")] + 'px',
@@ -51058,7 +51090,7 @@ var useMaterialThemeTokens = function (themeName) {
51058
51090
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51059
51091
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51060
51092
  },
51061
- h1: {
51093
+ header1: {
51062
51094
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto700")],
51063
51095
  lineHeight: designTokens["".concat(themeName, "LineHeights41")] + 'px',
51064
51096
  fontSize: designTokens["".concat(themeName, "FontSize35")] + 'px',
@@ -51067,7 +51099,7 @@ var useMaterialThemeTokens = function (themeName) {
51067
51099
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51068
51100
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51069
51101
  },
51070
- h2: {
51102
+ header2: {
51071
51103
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto500")],
51072
51104
  lineHeight: designTokens["".concat(themeName, "LineHeights34")] + 'px',
51073
51105
  fontSize: designTokens["".concat(themeName, "FontSize29")] + 'px',
@@ -51076,7 +51108,7 @@ var useMaterialThemeTokens = function (themeName) {
51076
51108
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51077
51109
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51078
51110
  },
51079
- h3: {
51111
+ header3: {
51080
51112
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto400")],
51081
51113
  lineHeight: designTokens["".concat(themeName, "LineHeights28")] + 'px',
51082
51114
  fontSize: designTokens["".concat(themeName, "FontSize24")] + 'px',
@@ -51085,7 +51117,7 @@ var useMaterialThemeTokens = function (themeName) {
51085
51117
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51086
51118
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51087
51119
  },
51088
- h4: {
51120
+ header4: {
51089
51121
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto500")],
51090
51122
  lineHeight: designTokens["".concat(themeName, "LineHeights21")] + 'px',
51091
51123
  fontSize: designTokens["".concat(themeName, "FontSize18")] + 'px',
@@ -51094,7 +51126,7 @@ var useMaterialThemeTokens = function (themeName) {
51094
51126
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51095
51127
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51096
51128
  },
51097
- body1_regular: {
51129
+ body1Regular: {
51098
51130
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto400")],
51099
51131
  lineHeight: designTokens["".concat(themeName, "LineHeights18")] + 'px',
51100
51132
  fontSize: designTokens["".concat(themeName, "FontSize14")] + 'px',
@@ -51103,7 +51135,7 @@ var useMaterialThemeTokens = function (themeName) {
51103
51135
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51104
51136
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51105
51137
  },
51106
- body1_medium: {
51138
+ body1Medium: {
51107
51139
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto500")],
51108
51140
  lineHeight: designTokens["".concat(themeName, "LineHeights18")] + 'px',
51109
51141
  fontSize: designTokens["".concat(themeName, "FontSize14")] + 'px',
@@ -51112,7 +51144,7 @@ var useMaterialThemeTokens = function (themeName) {
51112
51144
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51113
51145
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51114
51146
  },
51115
- body1_bold: {
51147
+ body1Bold: {
51116
51148
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto700")],
51117
51149
  lineHeight: designTokens["".concat(themeName, "LineHeights18")] + 'px',
51118
51150
  fontSize: designTokens["".concat(themeName, "FontSize14")] + 'px',
@@ -51121,7 +51153,7 @@ var useMaterialThemeTokens = function (themeName) {
51121
51153
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51122
51154
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51123
51155
  },
51124
- body2_regular: {
51156
+ body2Regular: {
51125
51157
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto400")],
51126
51158
  lineHeight: designTokens["".concat(themeName, "LineHeights16")] + 'px',
51127
51159
  fontSize: designTokens["".concat(themeName, "FontSize13")] + 'px',
@@ -51130,7 +51162,7 @@ var useMaterialThemeTokens = function (themeName) {
51130
51162
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51131
51163
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51132
51164
  },
51133
- body2_medium: {
51165
+ body2Medium: {
51134
51166
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto500")],
51135
51167
  lineHeight: designTokens["".concat(themeName, "LineHeights16")] + 'px',
51136
51168
  fontSize: designTokens["".concat(themeName, "FontSize13")] + 'px',
@@ -51139,7 +51171,7 @@ var useMaterialThemeTokens = function (themeName) {
51139
51171
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51140
51172
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51141
51173
  },
51142
- body2_bold: {
51174
+ body2Bold: {
51143
51175
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto700")],
51144
51176
  lineHeight: designTokens["".concat(themeName, "LineHeights16")] + 'px',
51145
51177
  fontSize: designTokens["".concat(themeName, "FontSize13")] + 'px',
@@ -51157,7 +51189,7 @@ var useMaterialThemeTokens = function (themeName) {
51157
51189
  textCase: designTokens["".concat(themeName, "TextCaseNone")],
51158
51190
  textDecoration: designTokens["".concat(themeName, "TextDecorationNone")]
51159
51191
  },
51160
- button_notif: {
51192
+ buttonNotif: {
51161
51193
  fontWeight: designTokens["".concat(themeName, "FontWeightsRoboto700")],
51162
51194
  lineHeight: designTokens["".concat(themeName, "LineHeights18")] + 'px',
51163
51195
  fontSize: designTokens["".concat(themeName, "FontSize14")] + 'px',
@@ -51239,7 +51271,7 @@ var DesignSystemProvider = function (_a) {
51239
51271
  };
51240
51272
 
51241
51273
  exports.Accordion = ActAccordion;
51242
- exports.Button = ActButton;
51274
+ exports.Button = Button;
51243
51275
  exports.Checkbox = Checkbox;
51244
51276
  exports.DesignSystemContext = DesignSystemContext;
51245
51277
  exports.DesignSystemProvider = DesignSystemProvider;