@zag-js/color-picker 1.3.0 → 1.3.2
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -230,7 +230,8 @@ function connect(service, normalize) {
|
|
|
230
230
|
valueAsString,
|
|
231
231
|
value,
|
|
232
232
|
setOpen(nextOpen) {
|
|
233
|
-
|
|
233
|
+
const open2 = state.hasTag("open");
|
|
234
|
+
if (open2 === nextOpen) return;
|
|
234
235
|
send({ type: nextOpen ? "OPEN" : "CLOSE" });
|
|
235
236
|
},
|
|
236
237
|
setValue(value2) {
|
package/dist/index.mjs
CHANGED
|
@@ -228,7 +228,8 @@ function connect(service, normalize) {
|
|
|
228
228
|
valueAsString,
|
|
229
229
|
value,
|
|
230
230
|
setOpen(nextOpen) {
|
|
231
|
-
|
|
231
|
+
const open2 = state.hasTag("open");
|
|
232
|
+
if (open2 === nextOpen) return;
|
|
232
233
|
send({ type: nextOpen ? "OPEN" : "CLOSE" });
|
|
233
234
|
},
|
|
234
235
|
setValue(value2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/color-picker",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Core logic for the color-picker widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/core": "1.3.
|
|
31
|
-
"@zag-js/anatomy": "1.3.
|
|
32
|
-
"@zag-js/dom-query": "1.3.
|
|
33
|
-
"@zag-js/dismissable": "1.3.
|
|
34
|
-
"@zag-js/utils": "1.3.
|
|
35
|
-
"@zag-js/color-utils": "1.3.
|
|
36
|
-
"@zag-js/popper": "1.3.
|
|
37
|
-
"@zag-js/types": "1.3.
|
|
30
|
+
"@zag-js/core": "1.3.2",
|
|
31
|
+
"@zag-js/anatomy": "1.3.2",
|
|
32
|
+
"@zag-js/dom-query": "1.3.2",
|
|
33
|
+
"@zag-js/dismissable": "1.3.2",
|
|
34
|
+
"@zag-js/utils": "1.3.2",
|
|
35
|
+
"@zag-js/color-utils": "1.3.2",
|
|
36
|
+
"@zag-js/popper": "1.3.2",
|
|
37
|
+
"@zag-js/types": "1.3.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"clean-package": "2.2.0"
|