@nextui-org/theme
Advanced tools
Comparing version 0.0.0-dev-v2-20230407125356 to 0.0.0-dev-v2-20230407131834
@@ -8,7 +8,7 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* | ||
* const { base, arrow } = popover({...}) | ||
* const { base, trigger, arrow } = popover({...}) | ||
* | ||
* @example | ||
* <div> | ||
* <button>your trigger</button> | ||
* <button className={trigger()} aria-expanded="true/false">your trigger</button> | ||
* <div className={base()}> | ||
@@ -100,4 +100,11 @@ * // popover content | ||
}; | ||
isTriggerForeground: { | ||
true: {}; | ||
false: { | ||
trigger: string[]; | ||
}; | ||
}; | ||
}, unknown, { | ||
base: string[]; | ||
trigger: never[]; | ||
arrow: string[]; | ||
@@ -184,2 +191,8 @@ }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{ | ||
}; | ||
isTriggerForeground: { | ||
true: {}; | ||
false: { | ||
trigger: string[]; | ||
}; | ||
}; | ||
}, unknown>>; | ||
@@ -186,0 +199,0 @@ type PopoverVariantProps = VariantProps<typeof popover>; |
@@ -128,2 +128,3 @@ "use strict"; | ||
], | ||
trigger: [], | ||
arrow: [ | ||
@@ -200,2 +201,8 @@ "-z-10", | ||
true: { base: "animate-none" } | ||
}, | ||
isTriggerForeground: { | ||
true: {}, | ||
false: { | ||
trigger: ["aria-expanded:scale-95", "aria-expanded:opacity-70", "subpixel-antialiased"] | ||
} | ||
} | ||
@@ -206,3 +213,5 @@ }, | ||
color: "neutral", | ||
radius: "lg" | ||
radius: "lg", | ||
disableAnimation: false, | ||
isTriggerForeground: false | ||
}, | ||
@@ -209,0 +218,0 @@ compoundVariants: [ |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "0.0.0-dev-v2-20230407125356", | ||
"version": "0.0.0-dev-v2-20230407131834", | ||
"description": "The default theme for NextUI components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
663854
27831