@zag-js/avatar
Advanced tools
Comparing version 0.0.0-dev-20230712155253 to 0.0.0-dev-20230712171319
@@ -115,4 +115,4 @@ "use strict"; | ||
var import_core = require("@zag-js/core"); | ||
var import_mutation_observer = require("@zag-js/mutation-observer"); | ||
var import_utils = require("@zag-js/utils"); | ||
var import_mutation_observer = require("@zag-js/mutation-observer"); | ||
function machine(userContext) { | ||
@@ -119,0 +119,0 @@ const ctx = (0, import_utils.compact)(userContext); |
{ | ||
"name": "@zag-js/avatar", | ||
"version": "0.0.0-dev-20230712155253", | ||
"version": "0.0.0-dev-20230712171319", | ||
"description": "Core logic for the avatar widget implemented as a state machine", | ||
@@ -31,8 +31,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.0.0-dev-20230712155253", | ||
"@zag-js/mutation-observer": "0.0.0-dev-20230712155253", | ||
"@zag-js/core": "0.0.0-dev-20230712155253", | ||
"@zag-js/dom-query": "0.0.0-dev-20230712155253", | ||
"@zag-js/utils": "0.0.0-dev-20230712155253", | ||
"@zag-js/types": "0.0.0-dev-20230712155253" | ||
"@zag-js/anatomy": "0.0.0-dev-20230712171319", | ||
"@zag-js/mutation-observer": "0.0.0-dev-20230712171319", | ||
"@zag-js/core": "0.0.0-dev-20230712171319", | ||
"@zag-js/dom-query": "0.0.0-dev-20230712171319", | ||
"@zag-js/utils": "0.0.0-dev-20230712171319", | ||
"@zag-js/types": "0.0.0-dev-20230712171319" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
import { dataAttr } from "@zag-js/dom-query" | ||
import { NormalizeProps, type PropTypes } from "@zag-js/types" | ||
import type { NormalizeProps, PropTypes } from "@zag-js/types" | ||
import { parts } from "./avatar.anatomy" | ||
import { dom } from "./avatar.dom" | ||
import { Send, State } from "./avatar.types" | ||
import type { Send, State } from "./avatar.types" | ||
@@ -7,0 +7,0 @@ export function connect<T extends PropTypes>(state: State, send: Send, normalize: NormalizeProps<T>) { |
import { createMachine } from "@zag-js/core" | ||
import { observeAttributes, observeChildren } from "@zag-js/mutation-observer" | ||
import { compact } from "@zag-js/utils" | ||
import { observeAttributes, observeChildren } from "@zag-js/mutation-observer" | ||
import { MachineContext, MachineState, UserDefinedContext } from "./avatar.types" | ||
import { dom } from "./avatar.dom" | ||
import type { MachineContext, MachineState, UserDefinedContext } from "./avatar.types" | ||
@@ -7,0 +7,0 @@ export function machine(userContext: UserDefinedContext) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40266
+ Added@zag-js/anatomy@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/core@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/mutation-observer@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/store@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/types@0.0.0-dev-20230712171319(transitive)
+ Added@zag-js/utils@0.0.0-dev-20230712171319(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/core@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/mutation-observer@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/store@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/types@0.0.0-dev-20230712155253(transitive)
- Removed@zag-js/utils@0.0.0-dev-20230712155253(transitive)