@superdispatch/ui 0.24.2 → 0.24.4
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/dist-node/index.js +45 -22
- package/dist-node/index.js.map +1 -1
- package/dist-src/link/LinkOverrides.js +31 -16
- package/dist-src/text-field/TextFieldOverrides.js +13 -5
- package/dist-src/theme/ThemeProvider.js +1 -1
- package/dist-web/index.js +45 -22
- package/dist-web/index.js.map +1 -1
- package/package.json +1 -1
package/dist-node/index.js
CHANGED
|
@@ -3037,7 +3037,7 @@ function line(color) {
|
|
|
3037
3037
|
|
|
3038
3038
|
function overrideLink(theme) {
|
|
3039
3039
|
theme.props.MuiLink = {
|
|
3040
|
-
underline: '
|
|
3040
|
+
underline: 'always',
|
|
3041
3041
|
color: 'textPrimary'
|
|
3042
3042
|
};
|
|
3043
3043
|
theme.overrides.MuiLink = {
|
|
@@ -3049,30 +3049,45 @@ function overrideLink(theme) {
|
|
|
3049
3049
|
'&:focus': {
|
|
3050
3050
|
outline: 'none'
|
|
3051
3051
|
},
|
|
3052
|
-
'&:
|
|
3053
|
-
|
|
3054
|
-
},
|
|
3055
|
-
'&.MuiTypography-colorTextPrimary': {
|
|
3052
|
+
'&:disabled': {
|
|
3053
|
+
color: exports.Color.Dark100,
|
|
3056
3054
|
backgroundImage: line(exports.Color.Silver500),
|
|
3057
3055
|
'&:focus, &:hover, &:active': {
|
|
3058
|
-
color: exports.Color.
|
|
3059
|
-
backgroundImage: line(exports.Color.
|
|
3056
|
+
color: exports.Color.Dark100,
|
|
3057
|
+
backgroundImage: line(exports.Color.Silver500)
|
|
3060
3058
|
}
|
|
3061
3059
|
},
|
|
3062
|
-
'&.
|
|
3063
|
-
|
|
3060
|
+
'&.MuiLink-underlineAlways': {
|
|
3061
|
+
textDecoration: 'none',
|
|
3064
3062
|
backgroundImage: line(exports.Color.Silver500),
|
|
3063
|
+
'&:hover, &:active': {
|
|
3064
|
+
backgroundImage: line('currentColor')
|
|
3065
|
+
}
|
|
3066
|
+
},
|
|
3067
|
+
'&.MuiLink-underlineHover': {
|
|
3068
|
+
backgroundImage: 'none',
|
|
3069
|
+
'&:hover, &:active': {
|
|
3070
|
+
textDecoration: 'none',
|
|
3071
|
+
backgroundImage: line('currentColor')
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
'&.MuiLink-underlineNone': {
|
|
3075
|
+
backgroundImage: 'none',
|
|
3065
3076
|
'&:focus, &:hover, &:active': {
|
|
3066
|
-
|
|
3067
|
-
backgroundImage: line(exports.Color.Red500)
|
|
3077
|
+
backgroundImage: 'none'
|
|
3068
3078
|
}
|
|
3069
3079
|
},
|
|
3070
|
-
'&.MuiTypography-
|
|
3071
|
-
|
|
3072
|
-
|
|
3080
|
+
'&.MuiTypography-colorPrimary': {
|
|
3081
|
+
backgroundImage: 'none',
|
|
3082
|
+
'&:hover, &:active': {
|
|
3083
|
+
textDecoration: 'none',
|
|
3084
|
+
backgroundImage: line('currentColor')
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
'&.MuiTypography-colorTextPrimary, &.MuiTypography-colorTextSecondary': {
|
|
3073
3088
|
'&:focus, &:hover, &:active': {
|
|
3074
|
-
color: exports.Color.
|
|
3075
|
-
backgroundImage: line(exports.Color.
|
|
3089
|
+
color: exports.Color.Blue500,
|
|
3090
|
+
backgroundImage: line(exports.Color.Blue500)
|
|
3076
3091
|
}
|
|
3077
3092
|
}
|
|
3078
3093
|
},
|
|
@@ -3423,7 +3438,10 @@ function overrideTextField(theme) {
|
|
|
3423
3438
|
root: _objectSpread(_objectSpread({}, theme.typography.body2), {}, {
|
|
3424
3439
|
color: exports.Color.Dark500,
|
|
3425
3440
|
'&.MuiFormLabel-root': {
|
|
3426
|
-
fontSize: theme.spacing(
|
|
3441
|
+
fontSize: theme.spacing(2),
|
|
3442
|
+
[sm]: {
|
|
3443
|
+
fontSize: theme.spacing(1.75)
|
|
3444
|
+
}
|
|
3427
3445
|
},
|
|
3428
3446
|
'&$error': {
|
|
3429
3447
|
color: undefined
|
|
@@ -3468,10 +3486,12 @@ function overrideTextField(theme) {
|
|
|
3468
3486
|
input: {
|
|
3469
3487
|
textOverflow: 'ellipsis',
|
|
3470
3488
|
'&.MuiInputBase-input': {
|
|
3471
|
-
fontSize: theme.spacing(
|
|
3472
|
-
|
|
3489
|
+
fontSize: theme.spacing(2),
|
|
3490
|
+
[sm]: {
|
|
3491
|
+
fontSize: theme.spacing(1.75)
|
|
3492
|
+
}
|
|
3473
3493
|
},
|
|
3474
|
-
height: theme.spacing(
|
|
3494
|
+
height: theme.spacing(3),
|
|
3475
3495
|
[sm]: {
|
|
3476
3496
|
height: theme.spacing(2.5)
|
|
3477
3497
|
}
|
|
@@ -3610,7 +3630,10 @@ function overrideTextField(theme) {
|
|
|
3610
3630
|
color: exports.Color.Red500
|
|
3611
3631
|
},
|
|
3612
3632
|
'&.MuiFormHelperText-root': {
|
|
3613
|
-
fontSize: theme.spacing(
|
|
3633
|
+
fontSize: theme.spacing(2),
|
|
3634
|
+
[sm]: {
|
|
3635
|
+
fontSize: theme.spacing(1.75)
|
|
3636
|
+
}
|
|
3614
3637
|
}
|
|
3615
3638
|
}),
|
|
3616
3639
|
contained: {
|
|
@@ -3800,7 +3823,7 @@ function createSuperDispatchTheme() {
|
|
|
3800
3823
|
},
|
|
3801
3824
|
text: {
|
|
3802
3825
|
primary: exports.Color.Dark500,
|
|
3803
|
-
secondary: exports.Color.
|
|
3826
|
+
secondary: exports.Color.Dark300,
|
|
3804
3827
|
hint: exports.Color.Dark100,
|
|
3805
3828
|
disabled: exports.Color.Dark100
|
|
3806
3829
|
},
|