@doist/reactist 29.1.0 → 29.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/CHANGELOG.md +7 -0
- package/dist/reactist.cjs.development.js +13 -10
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/select-field/select-field.js +12 -9
- package/es/select-field/select-field.js.map +1 -1
- package/es/text-area/text-area.js +1 -1
- package/es/text-area/text-area.js.map +1 -1
- package/lib/select-field/select-field.js +12 -9
- package/lib/select-field/select-field.js.map +1 -1
- package/lib/text-area/text-area.js +1 -1
- package/lib/text-area/text-area.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [29.1.1](https://github.com/Doist/reactist/compare/v29.1.0...v29.1.1) (2025-12-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Prevent characterCountElement prop from being set on DOM elements ([#986](https://github.com/Doist/reactist/issues/986)) ([432e7c8](https://github.com/Doist/reactist/commit/432e7c8e1b7ec9496fc026ba141e51df9fb41425))
|
|
9
|
+
|
|
3
10
|
## [29.1.0](https://github.com/Doist/reactist/compare/v29.0.0...v29.1.0) (2025-11-13)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1231,15 +1231,18 @@ var modules_1fa9b208 = {"selectWrapper":"_7f5f473c","bordered":"_63e2fa62","erro
|
|
|
1231
1231
|
|
|
1232
1232
|
var SelectField = React__namespace.forwardRef(function SelectField(_a, ref) {
|
|
1233
1233
|
var _b = _a.variant, variant = _b === void 0 ? 'default' : _b, id = _a.id, label = _a.label, value = _a.value, auxiliaryLabel = _a.auxiliaryLabel, message = _a.message, tone = _a.tone, maxWidth = _a.maxWidth, children = _a.children, hidden = _a.hidden, ariaDescribedBy = _a["aria-describedby"], originalOnChange = _a.onChange, props = tslib.__rest(_a, ["variant", "id", "label", "value", "auxiliaryLabel", "message", "tone", "maxWidth", "children", "hidden", 'aria-describedby', "onChange"]);
|
|
1234
|
-
return (React__namespace.createElement(BaseField, { variant: variant, id: id, label: label, value: value, auxiliaryLabel: auxiliaryLabel, message: message, tone: tone, maxWidth: maxWidth, hidden: hidden, "aria-describedby": ariaDescribedBy }, function (
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1234
|
+
return (React__namespace.createElement(BaseField, { variant: variant, id: id, label: label, value: value, auxiliaryLabel: auxiliaryLabel, message: message, tone: tone, maxWidth: maxWidth, hidden: hidden, "aria-describedby": ariaDescribedBy }, function (_a) {
|
|
1235
|
+
_a.characterCountElement; var extraProps = tslib.__rest(_a, ["characterCountElement"]);
|
|
1236
|
+
return (React__namespace.createElement(Box$1, { "data-testid": "select-wrapper", className: [
|
|
1237
|
+
modules_1fa9b208.selectWrapper,
|
|
1238
|
+
tone === 'error' ? modules_1fa9b208.error : null,
|
|
1239
|
+
variant === 'bordered' ? modules_1fa9b208.bordered : null,
|
|
1240
|
+
] },
|
|
1241
|
+
React__namespace.createElement("select", tslib.__assign({}, props, extraProps, { ref: ref, onChange: function (event) {
|
|
1242
|
+
originalOnChange === null || originalOnChange === void 0 ? void 0 : originalOnChange(event);
|
|
1243
|
+
} }), children),
|
|
1244
|
+
React__namespace.createElement(SelectChevron, { "aria-hidden": true })));
|
|
1245
|
+
}));
|
|
1243
1246
|
});
|
|
1244
1247
|
function SelectChevron(props) {
|
|
1245
1248
|
return (React__namespace.createElement("svg", tslib.__assign({ width: "16", height: "16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
@@ -1304,7 +1307,7 @@ var TextArea = React__namespace.forwardRef(function TextArea(_a, ref) {
|
|
|
1304
1307
|
tone === 'error' ? modules_2728c236.error : null,
|
|
1305
1308
|
variant === 'bordered' ? modules_2728c236.bordered : null,
|
|
1306
1309
|
], maxWidth: maxWidth, maxLength: maxLength }, function (_a) {
|
|
1307
|
-
var onChange = _a.onChange
|
|
1310
|
+
var onChange = _a.onChange; _a.characterCountElement; var extraProps = tslib.__rest(_a, ["onChange", "characterCountElement"]);
|
|
1308
1311
|
return (React__namespace.createElement(Box$1, { width: "full", display: "flex", className: modules_2728c236.innerContainer, ref: containerRef },
|
|
1309
1312
|
React__namespace.createElement("textarea", tslib.__assign({}, props, extraProps, { ref: combinedRef, rows: rows, className: textAreaClassName, maxLength: maxLength, onChange: function (event) {
|
|
1310
1313
|
originalOnChange === null || originalOnChange === void 0 ? void 0 : originalOnChange(event);
|