@yamada-ui/use-token
Advanced tools
Comparing version 1.1.17 to 1.1.18-dev-20240624070421
@@ -8,5 +8,5 @@ import { Theme, StyledTheme, ColorMode } from '@yamada-ui/core'; | ||
*/ | ||
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: Theme[M] | number | undefined) => Y | undefined; | ||
declare const getToken: <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: Theme[M] | number | undefined) => (theme: StyledTheme, colorMode: ColorMode) => Y | undefined; | ||
declare const useToken: <Y extends string | number = string, M extends keyof Omit<Theme, "components" | "colorSchemes" | "themeSchemes"> = "animations" | "blurs" | "borders" | "breakpoints" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionDuration" | "transitionEasing" | "transitionProperty" | "zIndices">(name: M, path: Theme[M] | number | undefined) => Y | undefined; | ||
declare const getToken: <Y extends string | number = string, M extends keyof Omit<Theme, "components" | "colorSchemes" | "themeSchemes"> = "animations" | "blurs" | "borders" | "breakpoints" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionDuration" | "transitionEasing" | "transitionProperty" | "zIndices">(name: M, path: Theme[M] | number | undefined) => (theme: StyledTheme, colorMode: ColorMode) => Y | undefined; | ||
export { getToken, useToken }; |
{ | ||
"name": "@yamada-ui/use-token", | ||
"version": "1.1.17", | ||
"version": "1.1.18-dev-20240624070421", | ||
"description": "Yamada UI useToken custom hook", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/core": "1.8.0", | ||
"@yamada-ui/core": "1.9.0-dev-20240624070421", | ||
"@yamada-ui/utils": "1.3.0" | ||
@@ -31,0 +31,0 @@ }, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
18560
144
1
+ Added@yamada-ui/core@1.9.0-dev-20240624070421(transitive)
- Removed@yamada-ui/core@1.8.0(transitive)