@manuscripts/style-guide 3.7.4 → 3.8.1
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.
|
@@ -34,7 +34,7 @@ const selectStyles = (theme, error, variant, listMaxHeight) => ({
|
|
|
34
34
|
: theme.colors.text.greyMuted || theme.colors.text.secondary,
|
|
35
35
|
backgroundColor: !state.isDisabled ? '#F2FBFC' : 'transparent',
|
|
36
36
|
},
|
|
37
|
-
padding: state.isFocused ? '0 1px 0 7px' : '
|
|
37
|
+
padding: state.isFocused ? '0 1px 0 7px' : '1px 2px 1px 8px',
|
|
38
38
|
backgroundColor: state.isDisabled
|
|
39
39
|
? '#F5F5F5'
|
|
40
40
|
: state.isFocused
|
|
@@ -28,7 +28,7 @@ const selectStyles = (theme, error, variant, listMaxHeight) => ({
|
|
|
28
28
|
: theme.colors.text.greyMuted || theme.colors.text.secondary,
|
|
29
29
|
backgroundColor: !state.isDisabled ? '#F2FBFC' : 'transparent',
|
|
30
30
|
},
|
|
31
|
-
padding: state.isFocused ? '0 1px 0 7px' : '
|
|
31
|
+
padding: state.isFocused ? '0 1px 0 7px' : '1px 2px 1px 8px',
|
|
32
32
|
backgroundColor: state.isDisabled
|
|
33
33
|
? '#F5F5F5'
|
|
34
34
|
: state.isFocused
|
|
@@ -19,5 +19,8 @@ export interface IconButtonProps extends Omit<MuiIconButtonProps, 'size'> {
|
|
|
19
19
|
bordered?: boolean;
|
|
20
20
|
size?: MuiIconButtonProps['size'];
|
|
21
21
|
danger?: boolean;
|
|
22
|
+
href?: string;
|
|
23
|
+
target?: React.HTMLAttributeAnchorTarget;
|
|
24
|
+
rel?: string;
|
|
22
25
|
}
|
|
23
26
|
export declare const IconButton: ({ bordered, danger, color, size, ...props }: IconButtonProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manuscripts/style-guide",
|
|
3
3
|
"description": "Shared components for Manuscripts applications",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.8.1",
|
|
5
5
|
"repository": "github:Atypon-OpenSource/manuscripts-style-guide",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "dist/cjs",
|