@yamada-ui/use-token
Advanced tools
Comparing version 0.3.23 to 1.0.0
import * as _yamada_ui_core from '@yamada-ui/core'; | ||
/** | ||
* `useToken` is a custom hook for retrieving tokens from the theme. | ||
* | ||
* @see Docs https://yamada-ui.com/hooks/use-token | ||
*/ | ||
declare const useToken: <Y extends string | number = string, M extends "animations" | "blurs" | "borders" | "breakpoints" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionDuration" | "transitionEasing" | "transitionProperty" | "zIndices" = "animations" | "blurs" | "borders" | "breakpoints" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionDuration" | "transitionEasing" | "transitionProperty" | "zIndices">(name: M, path: number | _yamada_ui_core.GeneratedTheme[M] | undefined) => Y | undefined; | ||
export { useToken }; |
{ | ||
"name": "@yamada-ui/use-token", | ||
"version": "0.3.23", | ||
"version": "1.0.0", | ||
"description": "Yamada UI useToken custom hook", | ||
@@ -18,2 +18,3 @@ "keywords": [ | ||
}, | ||
"homepage": "https://yamada-ui.com", | ||
"repository": { | ||
@@ -28,4 +29,4 @@ "type": "git", | ||
"dependencies": { | ||
"@yamada-ui/core": "0.15.4", | ||
"@yamada-ui/utils": "0.5.1" | ||
"@yamada-ui/core": "1.0.0", | ||
"@yamada-ui/utils": "1.0.0" | ||
}, | ||
@@ -32,0 +33,0 @@ "devDependencies": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
16422
144
0
+ Added@yamada-ui/core@1.0.0(transitive)
+ Added@yamada-ui/portal@1.0.0(transitive)
+ Added@yamada-ui/utils@1.0.0(transitive)
- Removed@yamada-ui/core@0.15.4(transitive)
- Removed@yamada-ui/portal@0.3.11(transitive)
- Removed@yamada-ui/utils@0.5.1(transitive)
Updated@yamada-ui/core@1.0.0
Updated@yamada-ui/utils@1.0.0