@rbui/core
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@rbui/core", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -71,13 +71,13 @@ { | ||
"noImplicitAny": true, | ||
// "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ | ||
"strictNullChecks": true, | ||
"strictFunctionTypes": true, | ||
// "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */ | ||
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ | ||
"strictBindCallApply": true, | ||
"strictPropertyInitialization": true, | ||
"noImplicitThis": true, | ||
// "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */ | ||
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ | ||
"alwaysStrict": true, | ||
// "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */ | ||
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */ | ||
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ | ||
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
@@ -84,0 +84,0 @@ // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ |
@@ -0,1 +1,4 @@ | ||
declare type OnlyOne<T> = Pick<T, Exclude<keyof T, keyof T>> & { | ||
[K in keyof T]-?: Pick<T, K> & Partial<Record<Exclude<keyof T, K>, false | undefined>>; | ||
}[keyof T]; | ||
export interface Variant { | ||
@@ -16,2 +19,3 @@ (variants?: { | ||
} | ||
export declare type Color = OnlyOne<Colors>; | ||
export interface White { | ||
@@ -67,3 +71,3 @@ white?: boolean; | ||
export interface Horizontal { | ||
horizontal?: boolean | Breakpoints | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; | ||
horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; | ||
} | ||
@@ -73,1 +77,2 @@ export interface Flush { | ||
} | ||
export {}; |
{ | ||
"name": "@rbui/core", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "cjs/index.js", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -71,13 +71,13 @@ { | ||
"noImplicitAny": true, | ||
// "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ | ||
"strictNullChecks": true, | ||
"strictFunctionTypes": true, | ||
// "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */ | ||
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ | ||
"strictBindCallApply": true, | ||
"strictPropertyInitialization": true, | ||
"noImplicitThis": true, | ||
// "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */ | ||
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ | ||
"alwaysStrict": true, | ||
// "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */ | ||
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */ | ||
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ | ||
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
@@ -84,0 +84,0 @@ // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ |
@@ -0,1 +1,4 @@ | ||
declare type OnlyOne<T> = Pick<T, Exclude<keyof T, keyof T>> & { | ||
[K in keyof T]-?: Pick<T, K> & Partial<Record<Exclude<keyof T, K>, false | undefined>>; | ||
}[keyof T]; | ||
export interface Variant { | ||
@@ -16,2 +19,3 @@ (variants?: { | ||
} | ||
export declare type Color = OnlyOne<Colors>; | ||
export interface White { | ||
@@ -67,3 +71,3 @@ white?: boolean; | ||
export interface Horizontal { | ||
horizontal?: boolean | Breakpoints | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; | ||
horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; | ||
} | ||
@@ -73,1 +77,2 @@ export interface Flush { | ||
} | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1796
108272