@deque/cauldron-react 6.1.0-canary.6817bbd1 → 6.1.0-canary.9bf6c09d
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/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2342,7 +2342,7 @@ var TextField = /** @class */ (function (_super) {
|
|
|
2342
2342
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2343
2343
|
_a.onChange;
|
|
2344
2344
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2345
|
-
_a.defaultValue; var _b = _a.error, error = _b === void 0 ? null : _b, requiredText = _a.requiredText, multiline = _a.multiline, ariaDescribedby = _a["aria-describedby"], other = tslib.__rest(_a, ["label", "fieldRef", "value", "onChange", "defaultValue", "error", "requiredText", "multiline", 'aria-describedby']);
|
|
2345
|
+
_a.defaultValue; var _b = _a.error, error = _b === void 0 ? null : _b, requiredText = _a.requiredText, multiline = _a.multiline, ariaDescribedby = _a["aria-describedby"], className = _a.className, other = tslib.__rest(_a, ["label", "fieldRef", "value", "onChange", "defaultValue", "error", "requiredText", "multiline", 'aria-describedby', "className"]);
|
|
2346
2346
|
// typescript can't infer the type so it's complaining about
|
|
2347
2347
|
// textarea and input props being incompatible
|
|
2348
2348
|
// we should probably fix this
|
|
@@ -2359,7 +2359,7 @@ var TextField = /** @class */ (function (_super) {
|
|
|
2359
2359
|
}), htmlFor: this.inputId },
|
|
2360
2360
|
React__default["default"].createElement("span", null, label),
|
|
2361
2361
|
isRequired && (React__default["default"].createElement("span", { className: "Field__required-text" }, requiredText))),
|
|
2362
|
-
React__default["default"].createElement(Field, tslib.__assign({ className: classNames__default["default"]({
|
|
2362
|
+
React__default["default"].createElement(Field, tslib.__assign({ className: classNames__default["default"](className, {
|
|
2363
2363
|
'Field__text-input': !multiline,
|
|
2364
2364
|
Field__textarea: multiline,
|
|
2365
2365
|
'Field--has-error': error
|
package/package.json
CHANGED