diff --git a/.changeset/pre.json b/.changeset/pre.json index 2121a7ad..896173ae 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,6 +7,7 @@ "@cscfi/csc-ui-react": "3.0.20" }, "changesets": [ + "autocomplete-external-mode", "vue-rewrite-major" ] } diff --git a/packages/csc-ui-react/CHANGELOG.md b/packages/csc-ui-react/CHANGELOG.md index 517bd5f2..84915bbf 100644 --- a/packages/csc-ui-react/CHANGELOG.md +++ b/packages/csc-ui-react/CHANGELOG.md @@ -1,5 +1,22 @@ # @cscfi/csc-ui-react +## 4.0.0-alpha.1 + +### Minor Changes + +- [#246](https://github.com/CSCfi/ui/pull/246) [`1135100`](https://github.com/CSCfi/ui/commit/11351000f2f1a07df58dec4789c6900524638656) Thanks [@razorfever](https://github.com/razorfever)! - c-autocomplete gains an external (async) data mode. A new `external` prop + turns internal filtering off so `items` can come from a server, a new + `change:query` event carries the typed query (it also fires with an empty + string whenever the panel opens — use that to load the initial list), and + the panel shows a loading row while `loading` is set with nothing to + display. The selected label now survives `items` swaps. Default filtering + behaviour is unchanged. + +### Patch Changes + +- Updated dependencies [[`1135100`](https://github.com/CSCfi/ui/commit/11351000f2f1a07df58dec4789c6900524638656)]: + - @cscfi/csc-ui@4.0.0-alpha.1 + ## 4.0.0-alpha.0 ### Major Changes diff --git a/packages/csc-ui-react/package.json b/packages/csc-ui-react/package.json index b5250a97..2bf010fa 100644 --- a/packages/csc-ui-react/package.json +++ b/packages/csc-ui-react/package.json @@ -1,6 +1,6 @@ { "name": "@cscfi/csc-ui-react", - "version": "4.0.0-alpha.0", + "version": "4.0.0-alpha.1", "description": "React components for the @cscfi/csc-ui custom elements, generated from the Custom Elements Manifest.", "author": "My CSC Team ", "type": "module", diff --git a/packages/csc-ui/CHANGELOG.md b/packages/csc-ui/CHANGELOG.md index 786295e8..09354a64 100644 --- a/packages/csc-ui/CHANGELOG.md +++ b/packages/csc-ui/CHANGELOG.md @@ -1,5 +1,17 @@ # @cscfi/csc-ui +## 4.0.0-alpha.1 + +### Minor Changes + +- [#246](https://github.com/CSCfi/ui/pull/246) [`1135100`](https://github.com/CSCfi/ui/commit/11351000f2f1a07df58dec4789c6900524638656) Thanks [@razorfever](https://github.com/razorfever)! - c-autocomplete gains an external (async) data mode. A new `external` prop + turns internal filtering off so `items` can come from a server, a new + `change:query` event carries the typed query (it also fires with an empty + string whenever the panel opens — use that to load the initial list), and + the panel shows a loading row while `loading` is set with nothing to + display. The selected label now survives `items` swaps. Default filtering + behaviour is unchanged. + ## 4.0.0-alpha.0 ### Major Changes diff --git a/packages/csc-ui/package.json b/packages/csc-ui/package.json index df9c889c..ea929cee 100644 --- a/packages/csc-ui/package.json +++ b/packages/csc-ui/package.json @@ -1,6 +1,6 @@ { "name": "@cscfi/csc-ui", - "version": "4.0.0-alpha.0", + "version": "4.0.0-alpha.1", "description": "Vue 3-based replacement for @cscfi/csc-ui — same custom element tag names, Vue v-model contract.", "type": "module", "main": "./dist/csc-ui.js",