@popmenu/admin-ui 0.11.1 → 0.15.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 +7 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +7 -3
- package/build/index.js.map +1 -1
- package/build/theme/adminDarkTheme.d.ts +1 -0
- package/build/theme/adminLightTheme.d.ts +2 -2
- package/build/theme/overrides.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
1
|
import { AlertProps as CommonAlertProps } from '@popmenu/common-ui';
|
|
3
2
|
export interface AlertProps extends CommonAlertProps {
|
|
3
|
+
/** Makes the fill the width of its container */
|
|
4
4
|
fullWidth?: boolean;
|
|
5
5
|
/** Adds a Link to the Alert. */
|
|
6
6
|
link?: {
|
|
7
7
|
href: string;
|
|
8
8
|
text: string;
|
|
9
9
|
};
|
|
10
|
-
ref?: (instance: HTMLDivElement) => void | Ref<HTMLDivElement> | null;
|
|
11
10
|
}
|
package/build/index.es.js
CHANGED
|
@@ -303,7 +303,7 @@ var getBackgroundHover = function (palette, props) {
|
|
|
303
303
|
return backgroundHoverColor;
|
|
304
304
|
};
|
|
305
305
|
var buttonTypography = {
|
|
306
|
-
fontWeight:
|
|
306
|
+
fontWeight: 500,
|
|
307
307
|
fontSize: '0.875rem',
|
|
308
308
|
lineHeight: '1.25rem',
|
|
309
309
|
};
|
|
@@ -1152,10 +1152,14 @@ var adminThemeDefaultProps = {
|
|
|
1152
1152
|
},
|
|
1153
1153
|
};
|
|
1154
1154
|
|
|
1155
|
-
var
|
|
1155
|
+
var adminOverrides = {
|
|
1156
|
+
overrides: {},
|
|
1157
|
+
};
|
|
1158
|
+
|
|
1159
|
+
var adminLightOptions = __assign(__assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign({}, basePalette), adminLightPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1156
1160
|
var adminLight = createTheme(adminLightOptions);
|
|
1157
1161
|
|
|
1158
|
-
var adminDarkOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
|
|
1162
|
+
var adminDarkOptions = __assign(__assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign({}, basePalette), adminDarkPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps), adminOverrides);
|
|
1159
1163
|
var adminDark = createTheme(adminDarkOptions);
|
|
1160
1164
|
|
|
1161
1165
|
export { Alert, AlertDialog, AlertDialogHeader, AlertTitle, Button, ButtonGroup, FeatureIntro, FullScreenStepper, FullScreenStepperContent, FullScreenStepperContext, SelectableCard, Toast, adminDark, adminDarkOptions, adminLight, adminLightOptions, useFullScreenStepperContext, useSelectableCard };
|