@chakra-ui/clickable
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Change Log | ||
## 1.1.1 | ||
### Patch Changes | ||
- [`1a04a41bd`](https://github.com/chakra-ui/chakra-ui/commit/1a04a41bd2285069011a738fff422ba1a6fcce94) | ||
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Update import of | ||
shared utils from `react-utils` to `utils` | ||
- Updated dependencies | ||
[[`1a04a41bd`](https://github.com/chakra-ui/chakra-ui/commit/1a04a41bd2285069011a738fff422ba1a6fcce94), | ||
[`e481ba491`](https://github.com/chakra-ui/chakra-ui/commit/e481ba4914a7f163d93d4c22e2e457f1afb08721)]: | ||
- @chakra-ui/utils@1.5.1 | ||
## 1.1.0 | ||
@@ -4,0 +17,0 @@ |
@@ -154,3 +154,3 @@ "use strict"; | ||
var handleMouseDown = React.useCallback(function (event) { | ||
if ((0, _reactUtils.isRightClick)(event)) return; | ||
if ((0, _utils.isRightClick)(event)) return; | ||
@@ -175,3 +175,3 @@ if (isDisabled) { | ||
var handleMouseUp = React.useCallback(function (event) { | ||
if ((0, _reactUtils.isRightClick)(event)) return; | ||
if ((0, _utils.isRightClick)(event)) return; | ||
@@ -178,0 +178,0 @@ if (!isButton) { |
@@ -5,4 +5,4 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import { dataAttr } from "@chakra-ui/utils"; | ||
import { mergeRefs, isRightClick } from "@chakra-ui/react-utils"; | ||
import { dataAttr, isRightClick } from "@chakra-ui/utils"; | ||
import { mergeRefs } from "@chakra-ui/react-utils"; | ||
import * as React from "react"; | ||
@@ -9,0 +9,0 @@ import { useEventListeners } from "./use-event-listeners"; |
@@ -34,3 +34,3 @@ import * as React from "react"; | ||
ref: (value: any) => void; | ||
type: "reset" | "submit" | "button" | undefined; | ||
type: "button" | "reset" | "submit" | undefined; | ||
"aria-disabled": boolean | undefined; | ||
@@ -86,3 +86,3 @@ disabled: boolean | undefined; | ||
unselectable?: "on" | "off" | undefined; | ||
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
inputMode?: "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
is?: string | undefined; | ||
@@ -98,6 +98,6 @@ 'aria-activedescendant'?: string | undefined; | ||
'aria-controls'?: string | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined; | ||
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined; | ||
'aria-describedby'?: string | undefined; | ||
'aria-details'?: string | undefined; | ||
'aria-dropeffect'?: "copy" | "none" | "execute" | "link" | "move" | "popup" | undefined; | ||
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined; | ||
'aria-errormessage'?: string | undefined; | ||
@@ -107,3 +107,3 @@ 'aria-expanded'?: boolean | "true" | "false" | undefined; | ||
'aria-grabbed'?: boolean | "true" | "false" | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined; | ||
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid" | undefined; | ||
'aria-hidden'?: boolean | "true" | "false" | undefined; | ||
@@ -348,3 +348,3 @@ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined; | ||
unselectable?: "on" | "off" | undefined; | ||
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
inputMode?: "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
is?: string | undefined; | ||
@@ -360,6 +360,6 @@ 'aria-activedescendant'?: string | undefined; | ||
'aria-controls'?: string | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined; | ||
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined; | ||
'aria-describedby'?: string | undefined; | ||
'aria-details'?: string | undefined; | ||
'aria-dropeffect'?: "copy" | "none" | "execute" | "link" | "move" | "popup" | undefined; | ||
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined; | ||
'aria-errormessage'?: string | undefined; | ||
@@ -369,3 +369,3 @@ 'aria-expanded'?: boolean | "true" | "false" | undefined; | ||
'aria-grabbed'?: boolean | "true" | "false" | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined; | ||
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid" | undefined; | ||
'aria-hidden'?: boolean | "true" | "false" | undefined; | ||
@@ -372,0 +372,0 @@ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined; |
{ | ||
"name": "@chakra-ui/clickable", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "React hook and component that implements native button interactions", | ||
@@ -54,3 +54,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/utils": "1.5.0" | ||
"@chakra-ui/utils": "1.5.1" | ||
}, | ||
@@ -57,0 +57,0 @@ "peerDependencies": { |
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
105256
+ Added@chakra-ui/utils@1.5.1(transitive)
- Removed@chakra-ui/utils@1.5.0(transitive)
Updated@chakra-ui/utils@1.5.1