@popmenu/admin-ui 0.11.0 → 0.11.1

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/build/index.js CHANGED
@@ -978,43 +978,36 @@ var useSelectableCard = function (config) {
978
978
  return { card: { onClick: onClick, selection: selection }, selection: selection, setSelection: setSelection };
979
979
  };
980
980
 
981
- var baseFonts = ['"IBM Plex Sans"', '"sans-serif"'];
982
- var headingFonts = __spreadArray(['"IBM Plex Serif"'], baseFonts).join(', ');
981
+ var fonts = ['"Poppins"', '"sans-serif"'];
983
982
  var adminThemeTypography = {
984
983
  htmlFontSize: 16,
985
- fontFamily: baseFonts.join(', '),
984
+ fontFamily: fonts.join(', '),
986
985
  h1: {
987
- fontFamily: headingFonts,
988
986
  fontWeight: 400,
989
987
  fontSize: '6rem',
990
988
  lineHeight: '7.75rem',
991
989
  },
992
990
  h2: {
993
- fontFamily: headingFonts,
994
991
  fontWeight: 400,
995
992
  fontSize: '3.75rem',
996
993
  lineHeight: '4.875rem',
997
994
  },
998
995
  h3: {
999
- fontFamily: headingFonts,
1000
996
  fontWeight: 400,
1001
997
  fontSize: '3rem',
1002
998
  lineHeight: '3.875rem',
1003
999
  },
1004
1000
  h4: {
1005
- fontFamily: headingFonts,
1006
1001
  fontWeight: 400,
1007
1002
  fontSize: '2.125rem',
1008
1003
  lineHeight: '2.75rem',
1009
1004
  },
1010
1005
  h5: {
1011
- fontFamily: headingFonts,
1012
1006
  fontWeight: 700,
1013
1007
  fontSize: '1.5rem',
1014
1008
  lineHeight: '2rem',
1015
1009
  },
1016
1010
  h6: {
1017
- fontFamily: headingFonts,
1018
1011
  fontWeight: 700,
1019
1012
  fontSize: '1.25rem',
1020
1013
  lineHeight: '1.625rem',
@@ -1029,6 +1022,12 @@ var adminThemeTypography = {
1029
1022
  fontSize: '0.875rem',
1030
1023
  lineHeight: '1.25rem',
1031
1024
  },
1025
+ button: {
1026
+ fontWeight: 500,
1027
+ fontSize: '0.875rem',
1028
+ lineHeight: '1.25rem',
1029
+ textTransform: 'capitalize',
1030
+ },
1032
1031
  };
1033
1032
 
1034
1033
  var adminThemeBreakpoints = {
@@ -1164,6 +1163,19 @@ var adminThemeZIndex = {
1164
1163
  */
1165
1164
  var adminThemeDefaultProps = {
1166
1165
  props: {
1166
+ MuiCard: {
1167
+ elevation: 0,
1168
+ },
1169
+ MuiTooltip: {
1170
+ title: '',
1171
+ placement: 'right',
1172
+ },
1173
+ MuiPaper: {
1174
+ elevation: 0,
1175
+ },
1176
+ MuiAppBar: {
1177
+ position: 'static',
1178
+ },
1167
1179
  MuiInputBase: {
1168
1180
  color: 'secondary',
1169
1181
  },
@@ -1173,11 +1185,11 @@ var adminThemeDefaultProps = {
1173
1185
  },
1174
1186
  };
1175
1187
 
1176
- var options$1 = __assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1177
- var adminLight = createTheme__default['default'](options$1);
1188
+ var adminLightOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1189
+ var adminLight = createTheme__default['default'](adminLightOptions);
1178
1190
 
1179
- var options = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1180
- var adminDark = createTheme__default['default'](options);
1191
+ var adminDarkOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1192
+ var adminDark = createTheme__default['default'](adminDarkOptions);
1181
1193
 
1182
1194
  exports.Alert = Alert;
1183
1195
  exports.AlertDialog = AlertDialog;
@@ -1192,7 +1204,9 @@ exports.FullScreenStepperContext = FullScreenStepperContext;
1192
1204
  exports.SelectableCard = SelectableCard;
1193
1205
  exports.Toast = Toast;
1194
1206
  exports.adminDark = adminDark;
1207
+ exports.adminDarkOptions = adminDarkOptions;
1195
1208
  exports.adminLight = adminLight;
1209
+ exports.adminLightOptions = adminLightOptions;
1196
1210
  exports.useFullScreenStepperContext = useFullScreenStepperContext;
1197
1211
  exports.useSelectableCard = useSelectableCard;
1198
1212
  //# sourceMappingURL=index.js.map