Socket
Socket
Sign inDemoInstall

@yamada-ui/utils

Package Overview
Dependencies
2
Maintainers
0
Versions
306
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1-dev-20240630233559

4

dist/color.d.ts

@@ -6,4 +6,4 @@ import { Dict } from './index.types.js';

declare const tones: readonly [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
declare const isGray: (colorScheme: string) => boolean;
declare const isAccessible: (colorScheme: string) => boolean;
declare const isGray: (colorScheme: string) => colorScheme is "gray" | "neutral";
declare const isAccessible: (colorScheme: string) => colorScheme is "yellow" | "cyan" | "lime";
declare const getColor: (color: string, fallback?: string) => (theme?: Dict, colorMode?: ColorMode) => string;

@@ -10,0 +10,0 @@ declare const lightenColor: (color: string, amount: number) => (theme?: Dict, colorMode?: ColorMode) => string;

declare const noop: () => void;
declare const runIfFunc: <T, U extends any[]>(valOrFunc: T | ((...funcArgs: U) => T), ...args: U) => T;
declare const handlerAll: <T extends (event: any, ...args: any[]) => void>(...funcs: (T | undefined)[]) => (event: T extends (event: infer R, ...args: any[]) => any ? R : never, ...args: T extends (event: any, ...args: infer R_1) => any ? R_1 : never) => void;
declare const runIfFunc: <T, U extends Array<any>>(valOrFunc: T | ((...funcArgs: U) => T), ...args: U) => T;
declare const handlerAll: <T extends (event: any, ...args: any[]) => void>(...funcs: (T | undefined)[]) => (event: T extends (event: infer R, ...args: any[]) => any ? R : never, ...args: T extends (event: any, ...args: infer R) => any ? R : never) => void;
declare const funcAll: <T extends (...args: any[]) => any>(...funcs: (T | undefined)[]) => (...args: T extends (...args: infer R) => any ? R : never) => void;
export { funcAll, handlerAll, noop, runIfFunc };

@@ -8,3 +8,3 @@ type Primitive = null | undefined | string | number | boolean | symbol | bigint;

type ObjectLiteral = {};
type StringLiteral = string & ObjectLiteral;
type StringLiteral = string & {};
type Union<T> = T | StringLiteral;

@@ -11,0 +11,0 @@ type Length = string | 0 | number;

{
"name": "@yamada-ui/utils",
"version": "1.3.0",
"version": "1.3.1-dev-20240630233559",
"description": "Yamada UI utils",

@@ -5,0 +5,0 @@ "keywords": [

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc