@zag-js/pin-input 0.81.1 → 0.82.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.js CHANGED
@@ -4,7 +4,6 @@ var anatomy$1 = require('@zag-js/anatomy');
4
4
  var domQuery = require('@zag-js/dom-query');
5
5
  var utils = require('@zag-js/utils');
6
6
  var core = require('@zag-js/core');
7
- var formUtils = require('@zag-js/form-utils');
8
7
 
9
8
  // src/pin-input.anatomy.ts
10
9
  var anatomy = anatomy$1.createAnatomy("pinInput").parts("root", "label", "input", "control");
@@ -447,7 +446,7 @@ var invoke = {
447
446
  valueAsString: ctx.valueAsString
448
447
  });
449
448
  const inputEl = dom.getHiddenInputEl(ctx);
450
- formUtils.dispatchInputValueEvent(inputEl, { value: ctx.valueAsString });
449
+ domQuery.dispatchInputValueEvent(inputEl, { value: ctx.valueAsString });
451
450
  }
452
451
  };
453
452
  var set = {
package/dist/index.mjs CHANGED
@@ -1,8 +1,7 @@
1
1
  import { createAnatomy } from '@zag-js/anatomy';
2
- import { createScope, queryAll, dataAttr, visuallyHiddenStyle, ariaAttr, getBeforeInputValue, getNativeEvent, isComposingEvent, isModifierKey, getEventKey, raf } from '@zag-js/dom-query';
2
+ import { createScope, queryAll, dataAttr, visuallyHiddenStyle, ariaAttr, getBeforeInputValue, getNativeEvent, isComposingEvent, isModifierKey, getEventKey, raf, dispatchInputValueEvent } from '@zag-js/dom-query';
3
3
  import { invariant, compact, isEqual } from '@zag-js/utils';
4
4
  import { createMachine, choose } from '@zag-js/core';
5
- import { dispatchInputValueEvent } from '@zag-js/form-utils';
6
5
 
7
6
  // src/pin-input.anatomy.ts
8
7
  var anatomy = createAnatomy("pinInput").parts("root", "label", "input", "control");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/pin-input",
3
- "version": "0.81.1",
3
+ "version": "0.82.0",
4
4
  "description": "Core logic for the pin-input widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -26,12 +26,11 @@
26
26
  "url": "https://github.com/chakra-ui/zag/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@zag-js/anatomy": "0.81.1",
30
- "@zag-js/dom-query": "0.81.1",
31
- "@zag-js/form-utils": "0.81.1",
32
- "@zag-js/utils": "0.81.1",
33
- "@zag-js/core": "0.81.1",
34
- "@zag-js/types": "0.81.1"
29
+ "@zag-js/anatomy": "0.82.0",
30
+ "@zag-js/dom-query": "0.82.0",
31
+ "@zag-js/utils": "0.82.0",
32
+ "@zag-js/core": "0.82.0",
33
+ "@zag-js/types": "0.82.0"
35
34
  },
36
35
  "devDependencies": {
37
36
  "clean-package": "2.2.0"