@zag-js/combobox 1.35.1 → 1.35.3
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/combobox.connect.js +3 -3
- package/dist/combobox.connect.mjs +1 -1
- package/dist/combobox.machine.js +334 -407
- package/dist/combobox.machine.mjs +336 -405
- package/dist/combobox.types.d.mts +3 -2
- package/dist/combobox.types.d.ts +3 -2
- package/dist/index.js +6 -6
- package/package.json +11 -11
package/dist/combobox.connect.js
CHANGED
|
@@ -36,8 +36,8 @@ module.exports = __toCommonJS(combobox_connect_exports);
|
|
|
36
36
|
var import_dom_query = require("@zag-js/dom-query");
|
|
37
37
|
var import_popper = require("@zag-js/popper");
|
|
38
38
|
var import_utils = require("@zag-js/utils");
|
|
39
|
-
var import_combobox = require("./combobox.anatomy.
|
|
40
|
-
var dom = __toESM(require("./combobox.dom.
|
|
39
|
+
var import_combobox = require("./combobox.anatomy.js");
|
|
40
|
+
var dom = __toESM(require("./combobox.dom.js"));
|
|
41
41
|
function connect(service, normalize) {
|
|
42
42
|
const { context, prop, state, send, scope, computed, event } = service;
|
|
43
43
|
const translations = prop("translations");
|
|
@@ -75,7 +75,7 @@ function connect(service, normalize) {
|
|
|
75
75
|
value: context.get("value"),
|
|
76
76
|
valueAsString: computed("valueAsString"),
|
|
77
77
|
hasSelectedItems: computed("hasSelectedItems"),
|
|
78
|
-
selectedItems:
|
|
78
|
+
selectedItems: computed("selectedItems"),
|
|
79
79
|
collection: prop("collection"),
|
|
80
80
|
multiple: !!prop("multiple"),
|
|
81
81
|
disabled: !!disabled,
|
|
@@ -51,7 +51,7 @@ function connect(service, normalize) {
|
|
|
51
51
|
value: context.get("value"),
|
|
52
52
|
valueAsString: computed("valueAsString"),
|
|
53
53
|
hasSelectedItems: computed("hasSelectedItems"),
|
|
54
|
-
selectedItems:
|
|
54
|
+
selectedItems: computed("selectedItems"),
|
|
55
55
|
collection: prop("collection"),
|
|
56
56
|
multiple: !!prop("multiple"),
|
|
57
57
|
disabled: !!disabled,
|