@nextui-org/theme
Advanced tools
Comparing version 0.0.0-dev-v2-20230501173002 to 0.0.0-dev-v2-20230505232443
@@ -68,2 +68,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
true: string; | ||
false: string; | ||
}; | ||
@@ -121,2 +122,3 @@ disableAnimation: { | ||
true: string; | ||
false: string; | ||
}; | ||
@@ -123,0 +125,0 @@ disableAnimation: { |
@@ -120,3 +120,2 @@ "use strict"; | ||
"gap-1.5", | ||
"[&>svg]:max-w-[2em]", | ||
"data-[focus-visible=true]:outline-none", | ||
@@ -132,8 +131,8 @@ "data-[focus-visible=true]:ring-2", | ||
solid: "", | ||
bordered: "border-2 !bg-transparent", | ||
light: "!bg-transparent", | ||
bordered: "border-2 bg-transparent", | ||
light: "bg-transparent", | ||
flat: "", | ||
faded: "border-2", | ||
shadow: "", | ||
ghost: "border-2 !bg-transparent" | ||
ghost: "border-2 bg-transparent" | ||
}, | ||
@@ -148,8 +147,8 @@ size: { | ||
color: { | ||
neutral: colorVariants.solid.neutral, | ||
primary: colorVariants.solid.primary, | ||
secondary: colorVariants.solid.secondary, | ||
success: colorVariants.solid.success, | ||
warning: colorVariants.solid.warning, | ||
danger: colorVariants.solid.danger | ||
neutral: "", | ||
primary: "", | ||
secondary: "", | ||
success: "", | ||
warning: "", | ||
danger: "" | ||
}, | ||
@@ -177,3 +176,4 @@ radius: { | ||
isIconOnly: { | ||
true: "p-0 gap-0" | ||
true: "p-0 gap-0", | ||
false: "[&>svg]:max-w-[2em]" | ||
}, | ||
@@ -197,2 +197,32 @@ disableAnimation: { | ||
{ | ||
variant: "solid", | ||
color: "neutral", | ||
class: colorVariants.solid.neutral | ||
}, | ||
{ | ||
variant: "solid", | ||
color: "primary", | ||
class: colorVariants.solid.primary | ||
}, | ||
{ | ||
variant: "solid", | ||
color: "secondary", | ||
class: colorVariants.solid.secondary | ||
}, | ||
{ | ||
variant: "solid", | ||
color: "success", | ||
class: colorVariants.solid.success | ||
}, | ||
{ | ||
variant: "solid", | ||
color: "warning", | ||
class: colorVariants.solid.warning | ||
}, | ||
{ | ||
variant: "solid", | ||
color: "danger", | ||
class: colorVariants.solid.danger | ||
}, | ||
{ | ||
variant: "shadow", | ||
@@ -320,3 +350,3 @@ color: "neutral", | ||
color: "neutral", | ||
class: [colorVariants.light.neutral, "hover:!bg-neutral-100"] | ||
class: [colorVariants.light.neutral, "data-[hover=true]:bg-neutral-100"] | ||
}, | ||
@@ -326,3 +356,3 @@ { | ||
color: "primary", | ||
class: [colorVariants.light.primary, "hover:!bg-primary-50"] | ||
class: [colorVariants.light.primary, "data-[hover=true]:bg-primary-50"] | ||
}, | ||
@@ -332,3 +362,3 @@ { | ||
color: "secondary", | ||
class: [colorVariants.light.secondary, "hover:!bg-secondary-100"] | ||
class: [colorVariants.light.secondary, "data-[hover=true]:bg-secondary-100"] | ||
}, | ||
@@ -338,3 +368,3 @@ { | ||
color: "success", | ||
class: [colorVariants.light.success, "hover:!bg-success-50"] | ||
class: [colorVariants.light.success, "data-[hover=true]:bg-success-50"] | ||
}, | ||
@@ -344,3 +374,3 @@ { | ||
color: "warning", | ||
class: [colorVariants.light.warning, "hover:!bg-warning-50"] | ||
class: [colorVariants.light.warning, "data-[hover=true]:bg-warning-50"] | ||
}, | ||
@@ -350,3 +380,3 @@ { | ||
color: "danger", | ||
class: [colorVariants.light.danger, "hover:!bg-danger-50"] | ||
class: [colorVariants.light.danger, "data-[hover=true]:bg-danger-50"] | ||
}, | ||
@@ -353,0 +383,0 @@ { |
@@ -38,3 +38,4 @@ export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.js'; | ||
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.js'; | ||
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.js'; | ||
import 'tailwind-variants'; | ||
import 'tailwind-variants/dist/config'; |
@@ -94,6 +94,15 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
}; | ||
disableAnimation: { | ||
true: {}; | ||
false: { | ||
copyIcon: string; | ||
checkIcon: string; | ||
}; | ||
}; | ||
}, unknown, { | ||
base: string; | ||
pre: string; | ||
copy: string[]; | ||
copyButton: string[]; | ||
copyIcon: string[]; | ||
checkIcon: string[]; | ||
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{ | ||
@@ -171,2 +180,9 @@ variant: { | ||
}; | ||
disableAnimation: { | ||
true: {}; | ||
false: { | ||
copyIcon: string; | ||
checkIcon: string; | ||
}; | ||
}; | ||
}, unknown>>; | ||
@@ -173,0 +189,0 @@ type SnippetVariantProps = VariantProps<typeof snippet>; |
@@ -105,12 +105,10 @@ "use strict"; | ||
slots: { | ||
base: "inline-flex items-center justify-between space-x-3 rounded-md", | ||
base: "inline-flex items-center justify-between rounded-md", | ||
pre: "bg-transparent text-inherit font-mono whitespace-pre-wrap", | ||
copy: [ | ||
"z-10 appearance-none outline-none rounded-sm", | ||
"data-[focus-visible=true]:outline-none", | ||
"data-[focus-visible=true]:ring-1", | ||
"data-[focus-visible=true]:ring-primary", | ||
"data-[focus-visible=true]:ring-offset-2", | ||
"data-[focus-visible=true]:ring-offset-transparent", | ||
"data-[focus-visible=true]:dark:ring-offset-transparent" | ||
copyButton: ["group", "relative", "z-10", "text-inherit", "data-[hover=true]:bg-transparent"], | ||
copyIcon: [ | ||
"absolute text-inherit opacity-100 scale-100 group-data-[copied=true]:opacity-0 group-data-[copied=true]:scale-50" | ||
], | ||
checkIcon: [ | ||
"absolute text-inherit opacity-0 scale-50 group-data-[copied=true]:opacity-100 group-data-[copied=true]:scale-100" | ||
] | ||
@@ -189,2 +187,9 @@ }, | ||
} | ||
}, | ||
disableAnimation: { | ||
true: {}, | ||
false: { | ||
copyIcon: "transition-transform-opacity", | ||
checkIcon: "transition-transform-opacity" | ||
} | ||
} | ||
@@ -197,3 +202,4 @@ }, | ||
radius: "lg", | ||
fullWidth: false | ||
fullWidth: false, | ||
disableAnimation: false | ||
}, | ||
@@ -200,0 +206,0 @@ compoundVariants: [ |
@@ -40,2 +40,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js'; | ||
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js'; | ||
export { absoluteFullClasses, baseStyles, focusVisibleClasses, ringClasses, translateCenterClasses } from './utils/classes.js'; | ||
@@ -42,0 +43,0 @@ export { SlotsToClasses } from './utils/types.js'; |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "0.0.0-dev-v2-20230501173002", | ||
"version": "0.0.0-dev-v2-20230505232443", | ||
"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
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
889687
246
36729