@sb1/ffe-form-react 20.1.0 → 20.1.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/es/InputGroup.js +0 -2
- package/lib/InputGroup.js +0 -2
- package/package.json +2 -2
- package/types/InputGroup.d.ts +0 -1
package/es/InputGroup.js
CHANGED
|
@@ -74,7 +74,6 @@ export var InputGroup = function (_a) {
|
|
|
74
74
|
id: id,
|
|
75
75
|
'aria-invalid': isInvalid ? 'true' : 'false',
|
|
76
76
|
'aria-describedby': ariaDescribedBy,
|
|
77
|
-
onColoredBg: onColoredBg,
|
|
78
77
|
};
|
|
79
78
|
var modifiedChildren = getChildrenWithExtraProps(children, extraProps);
|
|
80
79
|
return (React.createElement("div", __assign({ className: classNames('ffe-input-group', {
|
|
@@ -97,6 +96,5 @@ export var InputGroup = function (_a) {
|
|
|
97
96
|
React.isValidElement(fieldMessage) &&
|
|
98
97
|
React.cloneElement(fieldMessage, {
|
|
99
98
|
id: fieldMessageId,
|
|
100
|
-
onColoredBg: onColoredBg,
|
|
101
99
|
})));
|
|
102
100
|
};
|
package/lib/InputGroup.js
CHANGED
|
@@ -103,7 +103,6 @@ var InputGroup = function (_a) {
|
|
|
103
103
|
id: id,
|
|
104
104
|
'aria-invalid': isInvalid ? 'true' : 'false',
|
|
105
105
|
'aria-describedby': ariaDescribedBy,
|
|
106
|
-
onColoredBg: onColoredBg,
|
|
107
106
|
};
|
|
108
107
|
var modifiedChildren = getChildrenWithExtraProps(children, extraProps);
|
|
109
108
|
return (react_1.default.createElement("div", __assign({ className: (0, classnames_1.default)('ffe-input-group', {
|
|
@@ -126,7 +125,6 @@ var InputGroup = function (_a) {
|
|
|
126
125
|
react_1.default.isValidElement(fieldMessage) &&
|
|
127
126
|
react_1.default.cloneElement(fieldMessage, {
|
|
128
127
|
id: fieldMessageId,
|
|
129
|
-
onColoredBg: onColoredBg,
|
|
130
128
|
})));
|
|
131
129
|
};
|
|
132
130
|
exports.InputGroup = InputGroup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-form-react",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.1",
|
|
4
4
|
"description": "React component for form elements in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "d19672882758fd973c1a098ebfe2f829717ccd34"
|
|
49
49
|
}
|
package/types/InputGroup.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ type ChildrenExtraProps = {
|
|
|
4
4
|
id: string;
|
|
5
5
|
'aria-invalid': 'true' | 'false';
|
|
6
6
|
'aria-describedby': string | undefined;
|
|
7
|
-
onColoredBg?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export interface InputGroupProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
10
9
|
/** The id that will be used on the input child if you don't want a generated one */
|