@zag-js/combobox 0.55.0 → 0.56.0

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/dist/index.d.mts CHANGED
@@ -178,7 +178,10 @@ interface PublicContext<T extends CollectionItem = CollectionItem> extends Direc
178
178
  */
179
179
  collection: Collection<any>;
180
180
  /**
181
- * Whether to allow multiple selection
181
+ * Whether to allow multiple selection.
182
+ *
183
+ * **Good to know:** When `multiple` is `true`, the `selectionBehavior` is automatically set to `clear`.
184
+ * It is recommended to render the selected items in a separate container.
182
185
  */
183
186
  multiple?: boolean;
184
187
  /**
package/dist/index.d.ts CHANGED
@@ -178,7 +178,10 @@ interface PublicContext<T extends CollectionItem = CollectionItem> extends Direc
178
178
  */
179
179
  collection: Collection<any>;
180
180
  /**
181
- * Whether to allow multiple selection
181
+ * Whether to allow multiple selection.
182
+ *
183
+ * **Good to know:** When `multiple` is `true`, the `selectionBehavior` is automatically set to `clear`.
184
+ * It is recommended to render the selected items in a separate container.
182
185
  */
183
186
  multiple?: boolean;
184
187
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/combobox",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "description": "Core logic for the combobox widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -27,16 +27,16 @@
27
27
  "url": "https://github.com/chakra-ui/zag/issues"
28
28
  },
29
29
  "dependencies": {
30
- "@zag-js/anatomy": "0.55.0",
31
- "@zag-js/aria-hidden": "0.55.0",
32
- "@zag-js/collection": "0.55.0",
33
- "@zag-js/core": "0.55.0",
34
- "@zag-js/dismissable": "0.55.0",
35
- "@zag-js/dom-query": "0.55.0",
36
- "@zag-js/dom-event": "0.55.0",
37
- "@zag-js/utils": "0.55.0",
38
- "@zag-js/popper": "0.55.0",
39
- "@zag-js/types": "0.55.0"
30
+ "@zag-js/anatomy": "0.56.0",
31
+ "@zag-js/aria-hidden": "0.56.0",
32
+ "@zag-js/collection": "0.56.0",
33
+ "@zag-js/core": "0.56.0",
34
+ "@zag-js/dismissable": "0.56.0",
35
+ "@zag-js/dom-query": "0.56.0",
36
+ "@zag-js/dom-event": "0.56.0",
37
+ "@zag-js/utils": "0.56.0",
38
+ "@zag-js/popper": "0.56.0",
39
+ "@zag-js/types": "0.56.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "clean-package": "2.2.0"
@@ -185,7 +185,10 @@ interface PublicContext<T extends CollectionItem = CollectionItem>
185
185
  */
186
186
  collection: Collection<any>
187
187
  /**
188
- * Whether to allow multiple selection
188
+ * Whether to allow multiple selection.
189
+ *
190
+ * **Good to know:** When `multiple` is `true`, the `selectionBehavior` is automatically set to `clear`.
191
+ * It is recommended to render the selected items in a separate container.
189
192
  */
190
193
  multiple?: boolean
191
194
  /**