Socket
Socket
Sign inDemoInstall

@yamada-ui/use-token

Package Overview
Dependencies
Maintainers
0
Versions
780
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/use-token - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18-dev-20240624070421

4

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc