@zag-js/combobox 1.2.0 → 1.3.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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/dist/index.mjs +3 -2
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -3,9 +3,9 @@ export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from
|
|
|
3
3
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
4
4
|
import { CollectionOptions, ListCollection, CollectionItem } from '@zag-js/collection';
|
|
5
5
|
export { CollectionItem, CollectionOptions } from '@zag-js/collection';
|
|
6
|
-
import { DirectionProperty, CommonProperties, PropTypes,
|
|
6
|
+
import { RequiredBy, DirectionProperty, CommonProperties, PropTypes, NormalizeProps } from '@zag-js/types';
|
|
7
7
|
import * as _zag_js_core from '@zag-js/core';
|
|
8
|
-
import { Service,
|
|
8
|
+
import { Service, EventObject, Machine } from '@zag-js/core';
|
|
9
9
|
import { PositioningOptions, Placement } from '@zag-js/popper';
|
|
10
10
|
export { Placement, PositioningOptions } from '@zag-js/popper';
|
|
11
11
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ export { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from
|
|
|
3
3
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
4
4
|
import { CollectionOptions, ListCollection, CollectionItem } from '@zag-js/collection';
|
|
5
5
|
export { CollectionItem, CollectionOptions } from '@zag-js/collection';
|
|
6
|
-
import { DirectionProperty, CommonProperties, PropTypes,
|
|
6
|
+
import { RequiredBy, DirectionProperty, CommonProperties, PropTypes, NormalizeProps } from '@zag-js/types';
|
|
7
7
|
import * as _zag_js_core from '@zag-js/core';
|
|
8
|
-
import { Service,
|
|
8
|
+
import { Service, EventObject, Machine } from '@zag-js/core';
|
|
9
9
|
import { PositioningOptions, Placement } from '@zag-js/popper';
|
|
10
10
|
export { Placement, PositioningOptions } from '@zag-js/popper';
|
|
11
11
|
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createAnatomy } from '@zag-js/anatomy';
|
|
2
2
|
import { ListCollection } from '@zag-js/collection';
|
|
3
|
-
import {
|
|
3
|
+
import { raf, observeAttributes, observeChildren, clickIfLink, scrollIntoView, query, dataAttr, ariaAttr, isDownloadingEvent, isOpeningInNewTab, isContextMenuEvent, getEventKey, isLeftClick, isComposingEvent, isAnchorElement } from '@zag-js/dom-query';
|
|
4
4
|
import { getPlacement, getPlacementStyles } from '@zag-js/popper';
|
|
5
|
-
import { match,
|
|
5
|
+
import { match, remove, addOrRemove, isBoolean, isEqual, createSplitProps, ensure } from '@zag-js/utils';
|
|
6
6
|
import { ariaHidden } from '@zag-js/aria-hidden';
|
|
7
7
|
import { createGuards, createMachine } from '@zag-js/core';
|
|
8
8
|
import { trackDismissableElement } from '@zag-js/dismissable';
|
|
@@ -503,6 +503,7 @@ var machine = createMachine({
|
|
|
503
503
|
value: bindable(() => ({
|
|
504
504
|
defaultValue: prop("defaultValue"),
|
|
505
505
|
value: prop("value"),
|
|
506
|
+
isEqual,
|
|
506
507
|
hash(value) {
|
|
507
508
|
return value.join(",");
|
|
508
509
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/combobox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Core logic for the combobox widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@zag-js/anatomy": "1.
|
|
30
|
-
"@zag-js/aria-hidden": "1.
|
|
31
|
-
"@zag-js/collection": "1.
|
|
32
|
-
"@zag-js/core": "1.
|
|
33
|
-
"@zag-js/dismissable": "1.
|
|
34
|
-
"@zag-js/dom-query": "1.
|
|
35
|
-
"@zag-js/utils": "1.
|
|
36
|
-
"@zag-js/popper": "1.
|
|
37
|
-
"@zag-js/types": "1.
|
|
29
|
+
"@zag-js/anatomy": "1.3.0",
|
|
30
|
+
"@zag-js/aria-hidden": "1.3.0",
|
|
31
|
+
"@zag-js/collection": "1.3.0",
|
|
32
|
+
"@zag-js/core": "1.3.0",
|
|
33
|
+
"@zag-js/dismissable": "1.3.0",
|
|
34
|
+
"@zag-js/dom-query": "1.3.0",
|
|
35
|
+
"@zag-js/utils": "1.3.0",
|
|
36
|
+
"@zag-js/popper": "1.3.0",
|
|
37
|
+
"@zag-js/types": "1.3.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"clean-package": "2.2.0"
|