@popmenu/admin-ui 0.11.0 → 0.14.0
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/components/Alert/AlertProps.d.ts +1 -2
- package/build/index.es.js +31 -15
- package/build/index.es.js.map +1 -1
- package/build/index.js +32 -14
- package/build/index.js.map +1 -1
- package/build/theme/adminDarkTheme.d.ts +171 -0
- package/build/theme/adminLightTheme.d.ts +173 -0
- package/build/theme/customThemeProperties.d.ts +13 -0
- package/build/theme/index.d.ts +2 -2
- package/build/theme/overrides.d.ts +3 -0
- package/build/theme/typography.d.ts +6 -6
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -336,7 +336,7 @@ var getBackgroundHover = function (palette, props) {
|
|
|
336
336
|
return backgroundHoverColor;
|
|
337
337
|
};
|
|
338
338
|
var buttonTypography = {
|
|
339
|
-
fontWeight:
|
|
339
|
+
fontWeight: 500,
|
|
340
340
|
fontSize: '0.875rem',
|
|
341
341
|
lineHeight: '1.25rem',
|
|
342
342
|
};
|
|
@@ -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
|
|
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:
|
|
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,15 @@ var adminThemeDefaultProps = {
|
|
|
1173
1185
|
},
|
|
1174
1186
|
};
|
|
1175
1187
|
|
|
1176
|
-
var
|
|
1177
|
-
|
|
1188
|
+
var adminOverrides = {
|
|
1189
|
+
overrides: {},
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
var adminLightOptions = __assign(__assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1193
|
+
var adminLight = createTheme__default['default'](adminLightOptions);
|
|
1178
1194
|
|
|
1179
|
-
var
|
|
1180
|
-
var adminDark = createTheme__default['default'](
|
|
1195
|
+
var adminDarkOptions = __assign(__assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1196
|
+
var adminDark = createTheme__default['default'](adminDarkOptions);
|
|
1181
1197
|
|
|
1182
1198
|
exports.Alert = Alert;
|
|
1183
1199
|
exports.AlertDialog = AlertDialog;
|
|
@@ -1192,7 +1208,9 @@ exports.FullScreenStepperContext = FullScreenStepperContext;
|
|
|
1192
1208
|
exports.SelectableCard = SelectableCard;
|
|
1193
1209
|
exports.Toast = Toast;
|
|
1194
1210
|
exports.adminDark = adminDark;
|
|
1211
|
+
exports.adminDarkOptions = adminDarkOptions;
|
|
1195
1212
|
exports.adminLight = adminLight;
|
|
1213
|
+
exports.adminLightOptions = adminLightOptions;
|
|
1196
1214
|
exports.useFullScreenStepperContext = useFullScreenStepperContext;
|
|
1197
1215
|
exports.useSelectableCard = useSelectableCard;
|
|
1198
1216
|
//# sourceMappingURL=index.js.map
|