diff --git a/.changeset/text-input-merge-input-props.md b/.changeset/text-input-merge-input-props.md deleted file mode 100644 index 5bdf6b746..000000000 --- a/.changeset/text-input-merge-input-props.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cube-dev/ui-kit': patch ---- - -Fix `inputProps` on `TextInput`, `TextArea`, `PasswordInput`, `SearchInput`, `NumberInput` and `CommandTextArea`. Each of these passes its own React Aria props down under the same `inputProps` name as the caller's, and one side was overwriting the other wholesale: `TextInput`, `TextArea`, `NumberInput` and `CommandTextArea` dropped the caller's `inputProps` entirely, while `PasswordInput` and `SearchInput` did the opposite and replaced the hook's value tracking, ids and ARIA attributes with it. The two are now merged, so a key you set wins and event handlers are chained rather than replaced. diff --git a/CHANGELOG.md b/CHANGELOG.md index b2071b279..070e58560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @cube-dev/ui-kit +## 0.169.1 + +### Patch Changes + +- [#1360](https://github.com/cube-js/cube-ui-kit/pull/1360) [`167ef87d`](https://github.com/cube-js/cube-ui-kit/commit/167ef87d5373ba61e30c46baee4280b7acfa1481) Thanks [@tenphi](https://github.com/tenphi)! - Fix `inputProps` on `TextInput`, `TextArea`, `PasswordInput`, `SearchInput`, `NumberInput` and `CommandTextArea`. Each of these passes its own React Aria props down under the same `inputProps` name as the caller's, and one side was overwriting the other wholesale: `TextInput`, `TextArea`, `NumberInput` and `CommandTextArea` dropped the caller's `inputProps` entirely, while `PasswordInput` and `SearchInput` did the opposite and replaced the hook's value tracking, ids and ARIA attributes with it. The two are now merged, so a key you set wins and event handlers are chained rather than replaced. + ## 0.169.0 ### Minor Changes diff --git a/package.json b/package.json index bd54b1e1e..fb2cc6f74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cube-dev/ui-kit", - "version": "0.169.0", + "version": "0.169.1", "type": "module", "description": "UIKit for Cube Projects", "repository": {