@nextui-org/theme
Advanced tools
Comparing version 0.0.0-dev-v2-20230409022144 to 0.0.0-dev-v2-20230409142211
@@ -8,3 +8,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* | ||
* const {base, heading, indicator, trigger, leftIndicator, title, subtitle, content } = accordionItem({...}) | ||
* const {base, heading, indicator, trigger, startContent, title, subtitle, content } = accordionItem({...}) | ||
* | ||
@@ -15,3 +15,3 @@ * @example | ||
* <button className={trigger())}> | ||
* <div className={leftIndicator()}> | ||
* <div className={startContent()}> | ||
* // content | ||
@@ -80,3 +80,3 @@ * </div> | ||
trigger: string; | ||
leftIndicator: string; | ||
startContent: string; | ||
indicator: string; | ||
@@ -83,0 +83,0 @@ titleWrapper: string; |
@@ -54,3 +54,3 @@ "use strict"; | ||
trigger: "py-2 flex w-full gap-3 outline-none items-center", | ||
leftIndicator: "flex-shrink-0", | ||
startContent: "flex-shrink-0", | ||
indicator: "text-neutral-400", | ||
@@ -57,0 +57,0 @@ titleWrapper: "flex-1 flex flex-col text-left", |
@@ -8,3 +8,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* | ||
* const {base, wrapper, thumb, thumbIcon, label} = toggle({...}) | ||
* const {base, wrapper, thumb, thumbIcon, label, startIcon, endIcon} = toggle({...}) | ||
* | ||
@@ -15,7 +15,7 @@ * @example | ||
* <span className={wrapper()} aria-hidden="true" data-checked={checked}> | ||
* <svg className={leftIcon()}>...</svg> | ||
* <svg className={startIcon()}>...</svg> | ||
* <span className={thumb()}> | ||
* <svg className={thumbIcon()}>...</svg> | ||
* </span> | ||
* <svg className={rightIcon()}>...</svg> | ||
* <svg className={endIcon()}>...</svg> | ||
* </span> | ||
@@ -50,4 +50,4 @@ * <span className={label()}>Label</span> | ||
thumb: string; | ||
leftIcon: string; | ||
rightIcon: string; | ||
startIcon: string; | ||
endIcon: string; | ||
right: string; | ||
@@ -59,4 +59,4 @@ label: string; | ||
thumb: string; | ||
leftIcon: string; | ||
rightIcon: string; | ||
startIcon: string; | ||
endIcon: string; | ||
label: string; | ||
@@ -67,4 +67,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -75,4 +75,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -83,4 +83,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -107,4 +107,4 @@ }; | ||
thumb: string; | ||
leftIcon: string[]; | ||
rightIcon: string[]; | ||
startIcon: string[]; | ||
endIcon: string[]; | ||
}; | ||
@@ -116,4 +116,4 @@ }; | ||
thumb: string[]; | ||
leftIcon: string; | ||
rightIcon: string; | ||
startIcon: string; | ||
endIcon: string; | ||
thumbIcon: string; | ||
@@ -146,4 +146,4 @@ label: string; | ||
thumb: string; | ||
leftIcon: string; | ||
rightIcon: string; | ||
startIcon: string; | ||
endIcon: string; | ||
right: string; | ||
@@ -155,4 +155,4 @@ label: string; | ||
thumb: string; | ||
leftIcon: string; | ||
rightIcon: string; | ||
startIcon: string; | ||
endIcon: string; | ||
label: string; | ||
@@ -163,4 +163,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -171,4 +171,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -179,4 +179,4 @@ }; | ||
thumb: string; | ||
rightIcon: string; | ||
leftIcon: string; | ||
endIcon: string; | ||
startIcon: string; | ||
label: string; | ||
@@ -203,4 +203,4 @@ }; | ||
thumb: string; | ||
leftIcon: string[]; | ||
rightIcon: string[]; | ||
startIcon: string[]; | ||
endIcon: string[]; | ||
}; | ||
@@ -207,0 +207,0 @@ }; |
@@ -64,4 +64,4 @@ "use strict"; | ||
], | ||
leftIcon: "z-0 absolute left-1.5 text-current", | ||
rightIcon: "z-0 absolute right-1.5 text-neutral-600", | ||
startIcon: "z-0 absolute left-1.5 text-current", | ||
endIcon: "z-0 absolute right-1.5 text-neutral-600", | ||
thumbIcon: "text-black", | ||
@@ -110,4 +110,4 @@ label: "relative text-foreground select-none" | ||
thumb: "w-3 h-3 text-[0.5rem]", | ||
leftIcon: "text-[0.5rem] left-1", | ||
rightIcon: "text-[0.5rem] right-1", | ||
startIcon: "text-[0.5rem] left-1", | ||
endIcon: "text-[0.5rem] right-1", | ||
right: "text-[0.5rem]", | ||
@@ -119,4 +119,4 @@ label: "text-xs" | ||
thumb: "w-3 h-3 text-[0.6rem]", | ||
leftIcon: "text-[0.6rem] left-1", | ||
rightIcon: "text-[0.6rem] right-1", | ||
startIcon: "text-[0.6rem] left-1", | ||
endIcon: "text-[0.6rem] right-1", | ||
label: "text-sm" | ||
@@ -127,4 +127,4 @@ }, | ||
thumb: "w-4 h-4 text-xs", | ||
rightIcon: "text-xs", | ||
leftIcon: "text-xs", | ||
endIcon: "text-xs", | ||
startIcon: "text-xs", | ||
label: "text-base" | ||
@@ -135,4 +135,4 @@ }, | ||
thumb: "w-5 h-5 text-sm", | ||
rightIcon: "text-sm", | ||
leftIcon: "text-sm", | ||
endIcon: "text-sm", | ||
startIcon: "text-sm", | ||
label: "text-lg" | ||
@@ -143,4 +143,4 @@ }, | ||
thumb: "w-6 h-6 text-base", | ||
rightIcon: "text-base", | ||
leftIcon: "text-base", | ||
endIcon: "text-base", | ||
startIcon: "text-base", | ||
label: "text-xl" | ||
@@ -165,5 +165,5 @@ } | ||
false: { | ||
wrapper: "transition-background !duration-500", | ||
wrapper: "transition-background", | ||
thumb: "transition-transform !ease-soft-spring !duration-500", | ||
leftIcon: [ | ||
startIcon: [ | ||
"opacity-0", | ||
@@ -175,3 +175,3 @@ "scale-50", | ||
], | ||
rightIcon: [ | ||
endIcon: [ | ||
"opacity-100", | ||
@@ -178,0 +178,0 @@ "transition-transform-opacity", |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "0.0.0-dev-v2-20230409022144", | ||
"version": "0.0.0-dev-v2-20230409142211", | ||
"description": "The default theme for NextUI components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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 too big to display
Sorry, the diff of this file is not supported yet
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
711366