Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yamada-ui/use-token

Package Overview
Dependencies
Maintainers
1
Versions
873
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 0.3.23 to 1.0.0

5

dist/index.d.ts
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 };

7

package.json
{
"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

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