carbon-react 106.2.0 → 106.2.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.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Carbon [](https://www.npmjs.com/package/carbon-react)
|
|
1
|
+
# Carbon [](https://www.npmjs.com/package/carbon-react) [](https://github.com/Sage/carbon/actions/workflows/cypress.yml)
|
|
2
2
|
|
|
3
3
|
Carbon is a [React](https://facebook.github.io/react/) component library developed by Sage.
|
|
4
4
|
|
|
@@ -9,6 +9,7 @@ import { FieldsetStyle } from "../fieldset/fieldset.style";
|
|
|
9
9
|
import StyledInlineInputs from "../inline-inputs/inline-inputs.style";
|
|
10
10
|
import { FORM_BUTTON_ALIGNMENTS } from "./form.config";
|
|
11
11
|
import StyledSearch from "../search/search.style";
|
|
12
|
+
import StyledTextarea from "../textarea/textarea.style";
|
|
12
13
|
export const StyledFormContent = styled.div`
|
|
13
14
|
${({
|
|
14
15
|
stickyFooter
|
|
@@ -72,6 +73,7 @@ export const StyledForm = styled.form`
|
|
|
72
73
|
fieldSpacing
|
|
73
74
|
}) => css`
|
|
74
75
|
&
|
|
76
|
+
${StyledTextarea},
|
|
75
77
|
${StyledFormField},
|
|
76
78
|
${StyledFieldset},
|
|
77
79
|
${FieldsetStyle},
|
|
@@ -80,6 +82,11 @@ export const StyledForm = styled.form`
|
|
|
80
82
|
margin-bottom: ${formBottomMargins(fieldSpacing)};
|
|
81
83
|
}
|
|
82
84
|
|
|
85
|
+
${StyledTextarea}
|
|
86
|
+
${StyledFormField} {
|
|
87
|
+
margin-bottom: 4px;
|
|
88
|
+
}
|
|
89
|
+
|
|
83
90
|
${StyledInlineInputs} {
|
|
84
91
|
${StyledFormField} {
|
|
85
92
|
margin-bottom: 0;
|
|
@@ -27,6 +27,8 @@ var _form = require("./form.config");
|
|
|
27
27
|
|
|
28
28
|
var _search = _interopRequireDefault(require("../search/search.style"));
|
|
29
29
|
|
|
30
|
+
var _textarea = _interopRequireDefault(require("../textarea/textarea.style"));
|
|
31
|
+
|
|
30
32
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
31
33
|
|
|
32
34
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
@@ -98,6 +100,7 @@ const StyledForm = _styledComponents.default.form`
|
|
|
98
100
|
fieldSpacing
|
|
99
101
|
}) => (0, _styledComponents.css)`
|
|
100
102
|
&
|
|
103
|
+
${_textarea.default},
|
|
101
104
|
${_formField.default},
|
|
102
105
|
${_fieldset.StyledFieldset},
|
|
103
106
|
${_fieldset2.FieldsetStyle},
|
|
@@ -106,6 +109,11 @@ const StyledForm = _styledComponents.default.form`
|
|
|
106
109
|
margin-bottom: ${formBottomMargins(fieldSpacing)};
|
|
107
110
|
}
|
|
108
111
|
|
|
112
|
+
${_textarea.default}
|
|
113
|
+
${_formField.default} {
|
|
114
|
+
margin-bottom: 4px;
|
|
115
|
+
}
|
|
116
|
+
|
|
109
117
|
${_inlineInputs.default} {
|
|
110
118
|
${_formField.default} {
|
|
111
119
|
margin-bottom: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "106.2.
|
|
3
|
+
"version": "106.2.1",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"engineStrict": true,
|
|
6
6
|
"engines": {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"conventional-changelog-conventionalcommits": "^4.5.0",
|
|
112
112
|
"core-js": "^3.20.3",
|
|
113
113
|
"cross-env": "^5.2.0",
|
|
114
|
-
"cypress": "^9.
|
|
114
|
+
"cypress": "^9.6.0",
|
|
115
115
|
"cypress-axe": "^0.14.0",
|
|
116
116
|
"cypress-cucumber-preprocessor": "^4.3.1",
|
|
117
117
|
"cypress-each": "^1.11.0",
|