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.
@@ -103,7 +103,7 @@ export default {
103
103
  inputWidth: 100,
104
104
  warnOverLimit: false,
105
105
  enforceCharacterLimit: true,
106
- label: "",
106
+ label: "Textarea",
107
107
  labelHelp: "",
108
108
  labelInline: false,
109
109
  labelWidth: 30,
@@ -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
- margin-top: 5px;
15
- margin-bottom: 5px;
15
+ }
16
+
17
+ ${InputPresentationStyle} {
18
+ padding: var(--spacing150) var(--spacing200);
16
19
  }
17
20
 
18
21
  ${({
@@ -118,7 +118,7 @@ var _default = {
118
118
  inputWidth: 100,
119
119
  warnOverLimit: false,
120
120
  enforceCharacterLimit: true,
121
- label: "",
121
+ label: "Textarea",
122
122
  labelHelp: "",
123
123
  labelInline: false,
124
124
  labelWidth: 30,
@@ -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
- margin-top: 5px;
35
- margin-bottom: 5px;
36
+ }
37
+
38
+ ${_inputPresentation.default} {
39
+ padding: var(--spacing150) var(--spacing200);
36
40
  }
37
41
 
38
42
  ${({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "106.4.2",
3
+ "version": "106.5.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {