@zag-js/color-picker 0.71.0 → 0.73.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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -660,7 +660,7 @@ function connect(state, send, normalize) {
|
|
|
660
660
|
onFocus(event) {
|
|
661
661
|
if (!interactive) return;
|
|
662
662
|
send({ type: "CHANNEL_INPUT.FOCUS", channel });
|
|
663
|
-
event.
|
|
663
|
+
event.currentTarget.select();
|
|
664
664
|
},
|
|
665
665
|
onBlur(event) {
|
|
666
666
|
if (!interactive) return;
|
package/dist/index.mjs
CHANGED
|
@@ -658,7 +658,7 @@ function connect(state, send, normalize) {
|
|
|
658
658
|
onFocus(event) {
|
|
659
659
|
if (!interactive) return;
|
|
660
660
|
send({ type: "CHANNEL_INPUT.FOCUS", channel });
|
|
661
|
-
event.
|
|
661
|
+
event.currentTarget.select();
|
|
662
662
|
},
|
|
663
663
|
onBlur(event) {
|
|
664
664
|
if (!interactive) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/color-picker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.0",
|
|
4
4
|
"description": "Core logic for the color-picker widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/core": "0.
|
|
31
|
-
"@zag-js/anatomy": "0.
|
|
32
|
-
"@zag-js/dom-query": "0.
|
|
33
|
-
"@zag-js/dismissable": "0.
|
|
34
|
-
"@zag-js/dom-event": "0.
|
|
35
|
-
"@zag-js/utils": "0.
|
|
36
|
-
"@zag-js/form-utils": "0.
|
|
37
|
-
"@zag-js/color-utils": "0.
|
|
38
|
-
"@zag-js/popper": "0.
|
|
39
|
-
"@zag-js/text-selection": "0.
|
|
40
|
-
"@zag-js/types": "0.
|
|
30
|
+
"@zag-js/core": "0.73.0",
|
|
31
|
+
"@zag-js/anatomy": "0.73.0",
|
|
32
|
+
"@zag-js/dom-query": "0.73.0",
|
|
33
|
+
"@zag-js/dismissable": "0.73.0",
|
|
34
|
+
"@zag-js/dom-event": "0.73.0",
|
|
35
|
+
"@zag-js/utils": "0.73.0",
|
|
36
|
+
"@zag-js/form-utils": "0.73.0",
|
|
37
|
+
"@zag-js/color-utils": "0.73.0",
|
|
38
|
+
"@zag-js/popper": "0.73.0",
|
|
39
|
+
"@zag-js/text-selection": "0.73.0",
|
|
40
|
+
"@zag-js/types": "0.73.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"clean-package": "2.2.0"
|