@popmenu/table 0.61.0 → 0.62.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/index.es.js CHANGED
@@ -3077,6 +3077,15 @@ var dataVizPalette = {
3077
3077
  },
3078
3078
  };
3079
3079
 
3080
+ var props = {
3081
+ MuiSwitch: {
3082
+ color: 'default',
3083
+ },
3084
+ MuiTextField: {
3085
+ variant: 'outlined',
3086
+ },
3087
+ };
3088
+
3080
3089
  /**
3081
3090
  * These theme properties should be considered legacy. Make efforts to avoid new usage as well as refactor out existing
3082
3091
  * usage.
@@ -3104,35 +3113,47 @@ var adminThemeZIndex = {
3104
3113
  /** The defaults for MuiInputBase and MuiInputLabel can be removed once the BasicForm & 'shared' inputs have either:
3105
3114
  * 1. been refactored to use secondary color.
3106
3115
  * 2. been replaced with new common components.
3116
+ *
3117
+ * props as imported from './props' are part updated design system.
3107
3118
  */
3108
3119
  var adminThemeDefaultProps = {
3109
- props: {
3120
+ props: __assign$1(__assign$1({}, props), {
3121
+ // Legacy below
3110
3122
  MuiCard: {
3111
3123
  elevation: 0,
3112
- },
3113
- MuiTooltip: {
3124
+ }, MuiTooltip: {
3114
3125
  title: '',
3115
3126
  placement: 'right',
3116
- },
3117
- MuiPaper: {
3127
+ }, MuiPaper: {
3118
3128
  elevation: 0,
3119
- },
3120
- MuiAppBar: {
3129
+ }, MuiAppBar: {
3121
3130
  position: 'static',
3122
- },
3123
- MuiInputBase: {
3131
+ }, MuiInputBase: {
3124
3132
  color: 'secondary',
3125
- },
3126
- MuiInputLabel: {
3133
+ }, MuiInputLabel: {
3127
3134
  color: 'secondary',
3135
+ } }),
3136
+ };
3137
+
3138
+ var overrides = {
3139
+ MuiSwitch: {
3140
+ checked: {},
3141
+ track: {},
3142
+ switchBase: {
3143
+ '&$checked': {
3144
+ color: basePalette.success.main,
3145
+ '& + $track': {
3146
+ background: basePalette.success.light,
3147
+ },
3148
+ },
3128
3149
  },
3129
3150
  },
3130
3151
  };
3131
3152
 
3132
- var adminLightOptions = __assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Light', palette: __assign$1(__assign$1(__assign$1({}, basePalette), adminLightPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
3153
+ var adminLightOptions = __assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Light', palette: __assign$1(__assign$1(__assign$1({}, basePalette), adminLightPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography, overrides: overrides }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
3133
3154
  createTheme(adminLightOptions);
3134
3155
 
3135
- var adminDarkOptions = __assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Dark', palette: __assign$1(__assign$1(__assign$1({}, basePalette), adminDarkPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
3156
+ var adminDarkOptions = __assign$1(__assign$1(__assign$1(__assign$1({ themeName: 'Admin Dark', palette: __assign$1(__assign$1(__assign$1({}, basePalette), adminDarkPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography, overrides: overrides }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
3136
3157
  createTheme(adminDarkOptions);
3137
3158
 
3138
3159
  var useStyles$2 = makeStyles({