@chakra-ui/styled-system
Advanced tools
Comparing version 1.7.0 to 1.7.1
# Change Log | ||
## 1.7.1 | ||
### Patch Changes | ||
- [`e8113d3ca`](https://github.com/chakra-ui/chakra-ui/commit/e8113d3ca66e9d45ac2dbb7109ff8904cbfd1134) | ||
[#3340](https://github.com/chakra-ui/chakra-ui/pull/3340) Thanks | ||
[@MohamedSayed008](https://github.com/MohamedSayed008)! - Export `Recursive*` | ||
types from theme, styled-system | ||
* [`4943a15c0`](https://github.com/chakra-ui/chakra-ui/commit/4943a15c084fd2e66ab0dbf273233630d006dc5a) | ||
[#3306](https://github.com/chakra-ui/chakra-ui/pull/3306) Thanks | ||
[@TimKolberger](https://github.com/TimKolberger)! - Fixed an issue where | ||
TypeScript did not allow custom breakpoint names in ResponsiveObject | ||
## 1.7.0 | ||
@@ -4,0 +18,0 @@ |
@@ -277,2 +277,6 @@ // regenerate by running | ||
| "px" | ||
| "0.5" | ||
| "1.5" | ||
| "2.5" | ||
| "3.5" | ||
| "max" | ||
@@ -360,2 +364,10 @@ | "min" | ||
| "-px" | ||
| "0.5" | ||
| "-0.5" | ||
| "1.5" | ||
| "-1.5" | ||
| "2.5" | ||
| "-2.5" | ||
| "3.5" | ||
| "-3.5" | ||
textStyles: never | ||
@@ -362,0 +374,0 @@ transition: never |
@@ -17,7 +17,7 @@ import { Dict } from "@chakra-ui/utils"; | ||
declare type PseudoSelectorDefinition<D> = D | RecursivePseudo<D>; | ||
declare type RecursivePseudo<D> = { | ||
export declare type RecursivePseudo<D> = { | ||
[K in PseudoKeys]?: PseudoSelectorDefinition<D> & D; | ||
}; | ||
declare type CSSDefinition<D> = D | string | RecursiveCSSSelector<D | string>; | ||
interface RecursiveCSSSelector<D> { | ||
export interface RecursiveCSSSelector<D> { | ||
[selector: string]: CSSDefinition<D> & D; | ||
@@ -24,0 +24,0 @@ } |
import { ThemeTypings } from "../theming.types"; | ||
export declare type ResponsiveArray<T> = Array<T | null>; | ||
export declare type ResponsiveObject<T> = Partial<Record<ThemeTypings["breakpoints"], T>>; | ||
export declare type ResponsiveObject<T> = Partial<Record<ThemeTypings["breakpoints"] | string, T>>; | ||
export declare type ResponsiveValue<T> = T | ResponsiveArray<T> | ResponsiveObject<T>; | ||
@@ -5,0 +5,0 @@ export declare type Length = string | 0 | number; |
{ | ||
"name": "@chakra-ui/styled-system", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Style function for css-in-js building component libraries", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
737492
6414