@chakra-ui/clickable
Advanced tools
Comparing version 2.0.7 to 2.0.8
{ | ||
"name": "@chakra-ui/clickable", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "React hook and component that implements native button interactions", | ||
@@ -34,4 +34,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/react-utils": "2.0.4", | ||
"@chakra-ui/utils": "2.0.7" | ||
"@chakra-ui/react-utils": "2.0.5", | ||
"@chakra-ui/utils": "2.0.8" | ||
}, | ||
@@ -42,3 +42,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@chakra-ui/system": "2.2.5", | ||
"@chakra-ui/system": "2.2.6", | ||
"react": "^18.0.0" | ||
@@ -52,3 +52,4 @@ }, | ||
"build:fast": "tsup src/index.ts" | ||
} | ||
}, | ||
"readme": "# @chakra-ui/clickable\n\nReact hook that implements all the interactions of a native `button` component\nwith support for making it focusable even if it is disabled.\n\nIt can be used with both native button elements or other elements (like `div`).\n\n## Installation\n\n```jsx\nimport { useClickable } from \"@chakra-ui/clickable\"\n```\n\n## Usage\n\n```jsx\n// create a clickable primitive\nconst Clickable = (props) => {\n const clickable = useClickable(props)\n return <chakra.button display=\"inline-flex\" {...clickable} />\n}\n\n// use the clickable primitive\nconst Example = () => (\n <Clickable\n as=\"div\"\n onClick={(event) => {\n alert(\"clicked\")\n }}\n _active={{ bg: \"blue\", color: \"white\" }}\n _disabled={{ opacity: 0.4, pointerEvents: \"none\" }}\n >\n Clickable\n </Clickable>\n)\n```\n" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
50956
6
976
1
+ Added@chakra-ui/react-utils@2.0.5(transitive)
+ Added@chakra-ui/utils@2.0.8(transitive)
- Removed@chakra-ui/react-utils@2.0.4(transitive)
- Removed@chakra-ui/utils@2.0.7(transitive)
Updated@chakra-ui/react-utils@2.0.5
Updated@chakra-ui/utils@2.0.8