@superdispatch/ui 0.24.2 → 0.24.3
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 +34 -20
- package/dist-node/index.js.map +1 -1
- package/dist-src/link/LinkOverrides.js +31 -16
- package/dist-src/text-field/TextFieldOverrides.js +2 -3
- package/dist-src/theme/ThemeProvider.js +1 -1
- package/dist-web/index.js +34 -20
- 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
|
},
|
|
@@ -3468,10 +3483,9 @@ function overrideTextField(theme) {
|
|
|
3468
3483
|
input: {
|
|
3469
3484
|
textOverflow: 'ellipsis',
|
|
3470
3485
|
'&.MuiInputBase-input': {
|
|
3471
|
-
fontSize: theme.spacing(1.75)
|
|
3472
|
-
padding: theme.spacing(0.75, 1)
|
|
3486
|
+
fontSize: theme.spacing(1.75)
|
|
3473
3487
|
},
|
|
3474
|
-
height: theme.spacing(
|
|
3488
|
+
height: theme.spacing(3),
|
|
3475
3489
|
[sm]: {
|
|
3476
3490
|
height: theme.spacing(2.5)
|
|
3477
3491
|
}
|
|
@@ -3800,7 +3814,7 @@ function createSuperDispatchTheme() {
|
|
|
3800
3814
|
},
|
|
3801
3815
|
text: {
|
|
3802
3816
|
primary: exports.Color.Dark500,
|
|
3803
|
-
secondary: exports.Color.
|
|
3817
|
+
secondary: exports.Color.Dark300,
|
|
3804
3818
|
hint: exports.Color.Dark100,
|
|
3805
3819
|
disabled: exports.Color.Dark100
|
|
3806
3820
|
},
|