@chakra-ui/theme-tools
Advanced tools
Comparing version 0.0.0-v2-latest-20241002175335 to 0.0.0-v2-latest-20241107153126
@@ -9,4 +9,2 @@ type Dict = { | ||
* @param fallback - the fallback color | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -21,4 +19,2 @@ export declare const getColor: (theme: Dict, color: string, fallback?: string) => any; | ||
* @param color - the color in hex, rgb, or hsl | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -29,4 +25,2 @@ export declare const tone: (color: string) => (theme: Dict) => "dark" | "light"; | ||
* @param color - the color in hex, rgb, or hsl | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -37,4 +31,2 @@ export declare const isDark: (color: string) => (theme: Dict) => boolean; | ||
* @param color - the color in hex, rgb, or hsl | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -46,4 +38,2 @@ export declare const isLight: (color: string) => (theme: Dict) => boolean; | ||
* @param opacity - the amount of opacity the color should have (0-1) | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -55,4 +45,2 @@ export declare const transparentize: (color: string, opacity: number) => (theme: Dict) => string; | ||
* @param amount - the amount white to add (0-100) | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -64,4 +52,2 @@ export declare const whiten: (color: string, amount: number) => (theme: Dict) => string; | ||
* @param amount - the amount black to add (0-100) | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -73,4 +59,2 @@ export declare const blacken: (color: string, amount: number) => (theme: Dict) => string; | ||
* @param amount - the amount to darken (0-100) | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -82,4 +66,2 @@ export declare const darken: (color: string, amount: number) => (theme: Dict) => string; | ||
* @param amount - the amount to lighten (0-100) | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -93,4 +75,2 @@ export declare const lighten: (color: string, amount: number) => (theme: Dict) => void; | ||
* @param bg - the background color | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -109,4 +89,2 @@ export declare const contrast: (fg: string, bg: string) => (theme: Dict) => number; | ||
* @param options | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -117,4 +95,2 @@ export declare const isAccessible: (textColor: string, bgColor: string, options?: WCAG2Params) => (theme: Dict) => boolean; | ||
/** | ||
* | ||
* @deprecated This will be removed in the next major release. | ||
*/ | ||
@@ -121,0 +97,0 @@ export declare const complementary: (color: string) => (theme: Dict) => string; |
@@ -12,5 +12,2 @@ export interface BaseBreakpointConfig { | ||
}; | ||
/** | ||
* @deprecated will be deprecated pretty soon, simply pass the breakpoints as an object | ||
*/ | ||
export declare const createBreakpoints: <T extends BaseBreakpointConfig>(config: T) => Breakpoints<T>; |
{ | ||
"name": "@chakra-ui/theme-tools", | ||
"version": "0.0.0-v2-latest-20241002175335", | ||
"version": "0.0.0-v2-latest-20241107153126", | ||
"description": "Set of helpers that makes theming and styling easier", | ||
@@ -34,10 +34,10 @@ "keywords": [ | ||
"color2k": "^2.0.2", | ||
"@chakra-ui/anatomy": "0.0.0-v2-latest-20241002175335", | ||
"@chakra-ui/utils": "0.0.0-v2-latest-20241002175335" | ||
"@chakra-ui/anatomy": "0.0.0-v2-latest-20241107153126", | ||
"@chakra-ui/utils": "0.0.0-v2-latest-20241107153126" | ||
}, | ||
"peerDependencies": { | ||
"@chakra-ui/styled-system": "0.0.0-v2-latest-20241002175335" | ||
"@chakra-ui/styled-system": "0.0.0-v2-latest-20241107153126" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/styled-system": "0.0.0-v2-latest-20241002175335" | ||
"@chakra-ui/styled-system": "0.0.0-v2-latest-20241107153126" | ||
}, | ||
@@ -44,0 +44,0 @@ "exports": { |
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
28286
713
+ Added@chakra-ui/anatomy@0.0.0-v2-latest-20241107153126(transitive)
+ Added@chakra-ui/styled-system@0.0.0-v2-latest-20241107153126(transitive)
+ Added@chakra-ui/utils@0.0.0-v2-latest-20241107153126(transitive)
- Removed@chakra-ui/anatomy@0.0.0-v2-latest-20241002175335(transitive)
- Removed@chakra-ui/styled-system@0.0.0-v2-latest-20241002175335(transitive)
- Removed@chakra-ui/utils@0.0.0-v2-latest-20241002175335(transitive)