@uncinc/uncinc-react-kitchen-sink 2.8.11 → 2.8.13
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.
|
@@ -40,7 +40,7 @@ export namespace Button {
|
|
|
40
40
|
let target_1: PropTypes.Requireable<string>;
|
|
41
41
|
export { target_1 as target };
|
|
42
42
|
let forwardRef_1: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
43
|
-
current: PropTypes.Requireable<
|
|
43
|
+
current: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
44
44
|
}> | null | undefined>>;
|
|
45
45
|
export { forwardRef_1 as forwardRef };
|
|
46
46
|
}
|
|
@@ -90,7 +90,7 @@ Button.propTypes = {
|
|
|
90
90
|
htmlType: PropTypes.oneOf(['button', 'submit', 'reset']),
|
|
91
91
|
target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),
|
|
92
92
|
forwardRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
93
|
-
current: PropTypes.
|
|
93
|
+
current: PropTypes.element
|
|
94
94
|
})])
|
|
95
95
|
};
|
|
96
96
|
export default withMapping(Button);
|
|
@@ -6,16 +6,31 @@
|
|
|
6
6
|
flex-wrap: nowrap;
|
|
7
7
|
align-items: center;
|
|
8
8
|
|
|
9
|
+
&__link,
|
|
10
|
+
&__link:hover,
|
|
11
|
+
&__link:active,
|
|
12
|
+
&__link:focus {
|
|
13
|
+
text-decoration: inherit;
|
|
14
|
+
color: inherit;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__button,
|
|
18
|
+
&__delete-button {
|
|
19
|
+
padding: 0;
|
|
20
|
+
border: 0;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
9
25
|
&__delete-button {
|
|
10
26
|
// Expanding the clickable area by adding padding,
|
|
11
27
|
// and compensating this, using negative margin.
|
|
12
28
|
margin: -10px;
|
|
13
|
-
border: 0;
|
|
14
29
|
padding: 10px;
|
|
15
|
-
background-color: transparent;
|
|
16
|
-
cursor: pointer;
|
|
17
30
|
}
|
|
18
31
|
|
|
32
|
+
&--stretch-clickable-area .Tag__link,
|
|
33
|
+
&--stretch-clickable-area .Tag__button,
|
|
19
34
|
&--stretch-clickable-area .Tag__delete-button {
|
|
20
35
|
margin: 0;
|
|
21
36
|
padding: 0;
|