carbon-react 106.4.2 → 106.5.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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import styled, { css } from "styled-components";
|
|
2
2
|
import { margin } from "styled-system";
|
|
3
|
+
import InputPresentationStyle from "../../__internal__/input/input-presentation.style";
|
|
3
4
|
import StyledInput from "../../__internal__/input/input.style";
|
|
4
5
|
import { StyledLabelContainer } from "../../__internal__/label/label.style";
|
|
5
6
|
import InputIconToggleStyle from "../../__internal__/input-icon-toggle/input-icon-toggle.style";
|
|
@@ -11,8 +12,10 @@ const StyledTextarea = styled.div`
|
|
|
11
12
|
${StyledInput} {
|
|
12
13
|
resize: none;
|
|
13
14
|
min-height: ${MIN_HEIGHT}px;
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
${InputPresentationStyle} {
|
|
18
|
+
padding: var(--spacing150) var(--spacing200);
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
${({
|
|
@@ -9,6 +9,8 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
9
9
|
|
|
10
10
|
var _styledSystem = require("styled-system");
|
|
11
11
|
|
|
12
|
+
var _inputPresentation = _interopRequireDefault(require("../../__internal__/input/input-presentation.style"));
|
|
13
|
+
|
|
12
14
|
var _input = _interopRequireDefault(require("../../__internal__/input/input.style"));
|
|
13
15
|
|
|
14
16
|
var _label = require("../../__internal__/label/label.style");
|
|
@@ -31,8 +33,10 @@ const StyledTextarea = _styledComponents.default.div`
|
|
|
31
33
|
${_input.default} {
|
|
32
34
|
resize: none;
|
|
33
35
|
min-height: ${MIN_HEIGHT}px;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
${_inputPresentation.default} {
|
|
39
|
+
padding: var(--spacing150) var(--spacing200);
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
${({
|