@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.es.js CHANGED
@@ -945,43 +945,36 @@ var useSelectableCard = function (config) {
945
945
  return { card: { onClick: onClick, selection: selection }, selection: selection, setSelection: setSelection };
946
946
  };
947
947
 
948
- var baseFonts = ['"IBM Plex Sans"', '"sans-serif"'];
949
- var headingFonts = __spreadArray(['"IBM Plex Serif"'], baseFonts).join(', ');
948
+ var fonts = ['"Poppins"', '"sans-serif"'];
950
949
  var adminThemeTypography = {
951
950
  htmlFontSize: 16,
952
- fontFamily: baseFonts.join(', '),
951
+ fontFamily: fonts.join(', '),
953
952
  h1: {
954
- fontFamily: headingFonts,
955
953
  fontWeight: 400,
956
954
  fontSize: '6rem',
957
955
  lineHeight: '7.75rem',
958
956
  },
959
957
  h2: {
960
- fontFamily: headingFonts,
961
958
  fontWeight: 400,
962
959
  fontSize: '3.75rem',
963
960
  lineHeight: '4.875rem',
964
961
  },
965
962
  h3: {
966
- fontFamily: headingFonts,
967
963
  fontWeight: 400,
968
964
  fontSize: '3rem',
969
965
  lineHeight: '3.875rem',
970
966
  },
971
967
  h4: {
972
- fontFamily: headingFonts,
973
968
  fontWeight: 400,
974
969
  fontSize: '2.125rem',
975
970
  lineHeight: '2.75rem',
976
971
  },
977
972
  h5: {
978
- fontFamily: headingFonts,
979
973
  fontWeight: 700,
980
974
  fontSize: '1.5rem',
981
975
  lineHeight: '2rem',
982
976
  },
983
977
  h6: {
984
- fontFamily: headingFonts,
985
978
  fontWeight: 700,
986
979
  fontSize: '1.25rem',
987
980
  lineHeight: '1.625rem',
@@ -996,6 +989,12 @@ var adminThemeTypography = {
996
989
  fontSize: '0.875rem',
997
990
  lineHeight: '1.25rem',
998
991
  },
992
+ button: {
993
+ fontWeight: 500,
994
+ fontSize: '0.875rem',
995
+ lineHeight: '1.25rem',
996
+ textTransform: 'capitalize',
997
+ },
999
998
  };
1000
999
 
1001
1000
  var adminThemeBreakpoints = {
@@ -1131,6 +1130,19 @@ var adminThemeZIndex = {
1131
1130
  */
1132
1131
  var adminThemeDefaultProps = {
1133
1132
  props: {
1133
+ MuiCard: {
1134
+ elevation: 0,
1135
+ },
1136
+ MuiTooltip: {
1137
+ title: '',
1138
+ placement: 'right',
1139
+ },
1140
+ MuiPaper: {
1141
+ elevation: 0,
1142
+ },
1143
+ MuiAppBar: {
1144
+ position: 'static',
1145
+ },
1134
1146
  MuiInputBase: {
1135
1147
  color: 'secondary',
1136
1148
  },
@@ -1140,11 +1152,11 @@ var adminThemeDefaultProps = {
1140
1152
  },
1141
1153
  };
1142
1154
 
1143
- var options$1 = __assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1144
- var adminLight = createTheme(options$1);
1155
+ var adminLightOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1156
+ var adminLight = createTheme(adminLightOptions);
1145
1157
 
1146
- var options = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1147
- var adminDark = createTheme(options);
1158
+ var adminDarkOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
1159
+ var adminDark = createTheme(adminDarkOptions);
1148
1160
 
1149
- export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminLight, useFullScreenStepperContext, useSelectableCard };
1161
+ export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
1150
1162
  //# sourceMappingURL=index.es.js.map