@vanilla-extract/sprinkles
Advanced tools
Comparing version 0.2.1 to 0.2.2
# @vanilla-extract/sprinkles | ||
## 0.2.2 | ||
### Patch Changes | ||
- [#100](https://github.com/seek-oss/vanilla-extract/pull/100) [`9edf2df`](https://github.com/seek-oss/vanilla-extract/commit/9edf2dfc2fa05720d267732b88f07e0d53131ef3) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Allow readonly arrays for responsive array properties | ||
## 0.2.1 | ||
@@ -4,0 +10,0 @@ |
@@ -37,3 +37,3 @@ import { CSSProperties } from '@vanilla-extract/css'; | ||
declare type Values<Property, Result> = { | ||
[Value in Property extends ReadonlyArray<any> ? Property[number] : keyof Property]: Result; | ||
[Value in Property extends ReadonlyArray<any> ? Property[number] : Property extends Array<any> ? Property[number] : keyof Property]: Result; | ||
}; | ||
@@ -40,0 +40,0 @@ declare type UnconditionalAtomicStyles<Properties extends AtomicProperties> = { |
@@ -1,9 +0,8 @@ | ||
export declare type RA1<Value> = [Value]; | ||
export declare type RA2<Value> = [Value, Value]; | ||
export declare type RA3<Value> = [Value, Value, Value]; | ||
export declare type RA4<Value> = [Value, Value, Value, Value]; | ||
export declare type RA5<Value> = [Value, Value, Value, Value, Value]; | ||
export declare type RA6<Value> = [Value, Value, Value, Value, Value, Value]; | ||
export declare type RA7<Value> = [Value, Value, Value, Value, Value, Value, Value]; | ||
export declare type RA8<Value> = [ | ||
export declare type RA1<Value> = readonly [Value]; | ||
export declare type RA2<Value> = readonly [Value, Value]; | ||
export declare type RA3<Value> = readonly [Value, Value, Value]; | ||
export declare type RA4<Value> = readonly [Value, Value, Value, Value]; | ||
export declare type RA5<Value> = readonly [Value, Value, Value, Value, Value]; | ||
export declare type RA6<Value> = readonly [Value, Value, Value, Value, Value, Value]; | ||
export declare type RA7<Value> = readonly [ | ||
Value, | ||
@@ -15,3 +14,12 @@ Value, | ||
Value, | ||
Value | ||
]; | ||
export declare type RA8<Value> = readonly [ | ||
Value, | ||
Value, | ||
Value, | ||
Value, | ||
Value, | ||
Value, | ||
Value, | ||
Value | ||
@@ -18,0 +26,0 @@ ]; |
{ | ||
"name": "@vanilla-extract/sprinkles", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Zero-runtime atomic CSS framework for vanilla-extract", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
50410
794