@popmenu/table 0.60.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.js CHANGED
@@ -3126,6 +3126,15 @@ var dataVizPalette = {
3126
3126
  },
3127
3127
  };
3128
3128
 
3129
+ var props = {
3130
+ MuiSwitch: {
3131
+ color: 'default',
3132
+ },
3133
+ MuiTextField: {
3134
+ variant: 'outlined',
3135
+ },
3136
+ };
3137
+
3129
3138
  /**
3130
3139
  * These theme properties should be considered legacy. Make efforts to avoid new usage as well as refactor out existing
3131
3140
  * usage.
@@ -3153,35 +3162,47 @@ var adminThemeZIndex = {
3153
3162
  /** The defaults for MuiInputBase and MuiInputLabel can be removed once the BasicForm & 'shared' inputs have either:
3154
3163
  * 1. been refactored to use secondary color.
3155
3164
  * 2. been replaced with new common components.
3165
+ *
3166
+ * props as imported from './props' are part updated design system.
3156
3167
  */
3157
3168
  var adminThemeDefaultProps = {
3158
- props: {
3169
+ props: __assign$1(__assign$1({}, props), {
3170
+ // Legacy below
3159
3171
  MuiCard: {
3160
3172
  elevation: 0,
3161
- },
3162
- MuiTooltip: {
3173
+ }, MuiTooltip: {
3163
3174
  title: '',
3164
3175
  placement: 'right',
3165
- },
3166
- MuiPaper: {
3176
+ }, MuiPaper: {
3167
3177
  elevation: 0,
3168
- },
3169
- MuiAppBar: {
3178
+ }, MuiAppBar: {
3170
3179
  position: 'static',
3171
- },
3172
- MuiInputBase: {
3180
+ }, MuiInputBase: {
3173
3181
  color: 'secondary',
3174
- },
3175
- MuiInputLabel: {
3182
+ }, MuiInputLabel: {
3176
3183
  color: 'secondary',
3184
+ } }),
3185
+ };
3186
+
3187
+ var overrides = {
3188
+ MuiSwitch: {
3189
+ checked: {},
3190
+ track: {},
3191
+ switchBase: {
3192
+ '&$checked': {
3193
+ color: basePalette.success.main,
3194
+ '& + $track': {
3195
+ background: basePalette.success.light,
3196
+ },
3197
+ },
3177
3198
  },
3178
3199
  },
3179
3200
  };
3180
3201
 
3181
- 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);
3202
+ 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);
3182
3203
  createTheme__default['default'](adminLightOptions);
3183
3204
 
3184
- 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);
3205
+ 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);
3185
3206
  createTheme__default['default'](adminDarkOptions);
3186
3207
 
3187
3208
  var useStyles$2 = core.makeStyles({