@zag-js/toast 0.0.0-dev-20220703123907 → 0.0.0-dev-20220703125047

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
@@ -296,6 +296,7 @@ var import_core3 = require("@zag-js/core");
296
296
  var dataAttr = (guard) => {
297
297
  return guard ? "" : void 0;
298
298
  };
299
+ var MAX_Z_INDEX = 2147483647;
299
300
  var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
300
301
  var runIfFn2 = (v, ...a) => {
301
302
  const res = typeof v === "function" ? v(...a) : v;
@@ -310,7 +311,6 @@ function addDomEvent(target, eventName, handler, options) {
310
311
  node == null ? void 0 : node.removeEventListener(eventName, handler, options);
311
312
  };
312
313
  }
313
- var MAX_Z_INDEX = 2147483647;
314
314
  function trackDocumentVisibility(_doc, callback) {
315
315
  const doc = cast(_doc);
316
316
  return addDomEvent(doc, "visibilitychange", () => {
package/dist/index.mjs CHANGED
@@ -271,6 +271,7 @@ import { createMachine as createMachine2, ref } from "@zag-js/core";
271
271
  var dataAttr = (guard) => {
272
272
  return guard ? "" : void 0;
273
273
  };
274
+ var MAX_Z_INDEX = 2147483647;
274
275
  var hasProp = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
275
276
  var runIfFn2 = (v, ...a) => {
276
277
  const res = typeof v === "function" ? v(...a) : v;
@@ -285,7 +286,6 @@ function addDomEvent(target, eventName, handler, options) {
285
286
  node == null ? void 0 : node.removeEventListener(eventName, handler, options);
286
287
  };
287
288
  }
288
- var MAX_Z_INDEX = 2147483647;
289
289
  function trackDocumentVisibility(_doc, callback) {
290
290
  const doc = cast(_doc);
291
291
  return addDomEvent(doc, "visibilitychange", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/toast",
3
- "version": "0.0.0-dev-20220703123907",
3
+ "version": "0.0.0-dev-20220703125047",
4
4
  "description": "Core logic for the toast widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -29,9 +29,9 @@
29
29
  "url": "https://github.com/chakra-ui/zag/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@zag-js/core": "0.0.0-dev-20220703123907",
33
- "@zag-js/dom-utils": "0.0.0-dev-20220703123907",
34
- "@zag-js/types": "0.0.0-dev-20220703123907",
32
+ "@zag-js/core": "0.0.0-dev-20220703125047",
33
+ "@zag-js/dom-utils": "0.0.0-dev-20220703125047",
34
+ "@zag-js/types": "0.0.0-dev-20220703125047",
35
35
  "@zag-js/utils": "0.1.2"
36
36
  },
37
37
  "scripts": {