@nextui-org/theme
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -72,3 +72,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -134,3 +134,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -188,3 +188,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -242,3 +242,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -304,3 +304,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -366,3 +366,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -420,3 +420,3 @@ base: string; | ||
}; | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
@@ -423,0 +423,0 @@ base: string; |
@@ -155,3 +155,3 @@ "use strict"; | ||
closeButton: "relative text-inherit translate-x-1 -translate-y-1", | ||
iconWrapper: "flex-none relative w-9 h-9 rounded-full", | ||
iconWrapper: "flex-none relative w-9 h-9 rounded-full grid place-items-center", | ||
alertIcon: "fill-current w-6 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" | ||
@@ -203,9 +203,9 @@ }, | ||
base: "gap-x-0", | ||
iconWrapper: "!bg-transparent !shadow-none" | ||
iconWrapper: "!bg-transparent !shadow-none !border-none" | ||
} | ||
}, | ||
hasDescription: { | ||
hasContent: { | ||
false: { | ||
base: "items-start", | ||
mainWrapper: "justify-center" | ||
mainWrapper: "justify-center items-center" | ||
} | ||
@@ -212,0 +212,0 @@ } |
@@ -282,3 +282,3 @@ "use strict"; | ||
innerWrapper: "text-primary", | ||
inputWrapper: ["bg-primary-50", "hover:bg-primary-100", "focus-within:bg-primary-50"], | ||
inputWrapper: ["bg-primary-100", "hover:bg-primary-50", "focus-within:bg-primary-50"], | ||
segment: "text-primary-300 data-[editable=true]:data-[placeholder=true]:text-primary-300 data-[editable=true]:text-primary", | ||
@@ -293,3 +293,3 @@ label: "text-primary" | ||
innerWrapper: "text-secondary", | ||
inputWrapper: ["bg-secondary-50", "hover:bg-secondary-100", "focus-within:bg-secondary-50"], | ||
inputWrapper: ["bg-secondary-100", "hover:bg-secondary-50", "focus-within:bg-secondary-50"], | ||
segment: "text-secondary-300 data-[editable=true]:data-[placeholder=true]:text-secondary-300 data-[editable=true]:text-secondary", | ||
@@ -304,3 +304,3 @@ label: "text-secondary" | ||
innerWrapper: "text-success-600 dark:text-success", | ||
inputWrapper: ["bg-success-50", "hover:bg-success-100", "focus-within:bg-success-50"], | ||
inputWrapper: ["bg-success-100", "hover:bg-success-50", "focus-within:bg-success-50"], | ||
segment: "text-success-400 data-[editable=true]:data-[placeholder=true]:text-success-400 data-[editable=true]:text-success-600 data-[editable=true]:focus:text-success-600", | ||
@@ -315,3 +315,3 @@ label: "text-success-600 dark:text-success" | ||
innerWrapper: "text-warning-600 dark:text-warning", | ||
inputWrapper: ["bg-warning-50", "hover:bg-warning-100", "focus-within:bg-warning-50"], | ||
inputWrapper: ["bg-warning-100", "hover:bg-warning-50", "focus-within:bg-warning-50"], | ||
segment: "text-warning-400 data-[editable=true]:data-[placeholder=true]:text-warning-400 data-[editable=true]:text-warning-600 data-[editable=true]:focus:text-warning-600", | ||
@@ -326,3 +326,3 @@ label: "text-warning-600 dark:text-warning" | ||
innerWrapper: "text-danger", | ||
inputWrapper: ["bg-danger-50", "hover:bg-danger-100", "focus-within:bg-danger-50"], | ||
inputWrapper: ["bg-danger-100", "hover:bg-danger-50", "focus-within:bg-danger-50"], | ||
segment: "text-danger-300 data-[editable=true]:data-[placeholder=true]:text-danger-300 data-[editable=true]:text-danger", | ||
@@ -333,6 +333,71 @@ label: "text-danger" | ||
{ | ||
variant: ["bordered", "faded"], | ||
variant: "faded", | ||
color: "primary", | ||
class: { | ||
innerWrapper: "text-primary", | ||
inputWrapper: [ | ||
"hover:border-primary", | ||
"focus-within:border-primary", | ||
"focus-within:hover:border-primary" | ||
], | ||
label: "text-primary" | ||
} | ||
}, | ||
{ | ||
variant: "faded", | ||
color: "secondary", | ||
class: { | ||
innerWrapper: "text-secondary", | ||
inputWrapper: [ | ||
"hover:border-secondary", | ||
"focus-within:border-secondary", | ||
"focus-within:hover:border-secondary" | ||
], | ||
label: "text-secondary" | ||
} | ||
}, | ||
{ | ||
variant: "faded", | ||
color: "success", | ||
class: { | ||
innerWrapper: "text-success", | ||
inputWrapper: [ | ||
"hover:border-success", | ||
"focus-within:border-success", | ||
"focus-within:hover:border-success" | ||
], | ||
label: "text-success" | ||
} | ||
}, | ||
{ | ||
variant: "faded", | ||
color: "warning", | ||
class: { | ||
innerWrapper: "text-warning", | ||
inputWrapper: [ | ||
"hover:border-warning", | ||
"focus-within:border-warning", | ||
"focus-within:hover:border-warning" | ||
], | ||
label: "text-warning" | ||
} | ||
}, | ||
{ | ||
variant: "faded", | ||
color: "danger", | ||
class: { | ||
innerWrapper: "text-danger", | ||
inputWrapper: [ | ||
"hover:border-danger", | ||
"focus-within:border-danger", | ||
"focus-within:hover:border-danger" | ||
], | ||
label: "text-danger" | ||
} | ||
}, | ||
{ | ||
variant: "bordered", | ||
color: "primary", | ||
class: { | ||
innerWrapper: "text-primary", | ||
inputWrapper: ["focus-within:border-primary", "focus-within:hover:border-primary"], | ||
@@ -343,3 +408,3 @@ label: "text-primary" | ||
{ | ||
variant: ["bordered", "faded"], | ||
variant: "bordered", | ||
color: "secondary", | ||
@@ -353,3 +418,3 @@ class: { | ||
{ | ||
variant: ["bordered", "faded"], | ||
variant: "bordered", | ||
color: "success", | ||
@@ -363,3 +428,3 @@ class: { | ||
{ | ||
variant: ["bordered", "faded"], | ||
variant: "bordered", | ||
color: "warning", | ||
@@ -373,3 +438,3 @@ class: { | ||
{ | ||
variant: ["bordered", "faded"], | ||
variant: "bordered", | ||
color: "danger", | ||
@@ -376,0 +441,0 @@ class: { |
@@ -143,3 +143,3 @@ "use strict"; | ||
"bg-default-100", | ||
"data-[hover=true]:bg-default-50", | ||
"data-[hover=true]:bg-default-200", | ||
"group-data-[focus=true]:bg-default-100" | ||
@@ -146,0 +146,0 @@ ] |
@@ -87,3 +87,3 @@ "use strict"; | ||
slots: { | ||
base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden", | ||
base: "w-full relative flex flex-col gap-1 p-1 overflow-clip", | ||
list: "w-full flex flex-col gap-0.5 outline-none", | ||
@@ -90,0 +90,0 @@ emptyContent: [ |
@@ -87,3 +87,3 @@ "use strict"; | ||
slots: { | ||
base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden", | ||
base: "w-full relative flex flex-col gap-1 p-1 overflow-clip", | ||
list: "w-full flex flex-col gap-0.5 outline-none", | ||
@@ -90,0 +90,0 @@ emptyContent: [ |
@@ -25,7 +25,17 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -166,7 +176,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -292,7 +312,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -418,7 +448,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -559,7 +599,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -700,7 +750,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -826,7 +886,17 @@ size: { | ||
default: {}; | ||
primary: {}; | ||
secondary: {}; | ||
success: {}; | ||
warning: {}; | ||
danger: {}; | ||
primary: { | ||
selectorIcon: string; | ||
}; | ||
secondary: { | ||
selectorIcon: string; | ||
}; | ||
success: { | ||
selectorIcon: string; | ||
}; | ||
warning: { | ||
selectorIcon: string; | ||
}; | ||
danger: { | ||
selectorIcon: string; | ||
}; | ||
}; | ||
@@ -833,0 +903,0 @@ size: { |
@@ -113,4 +113,4 @@ "use strict"; | ||
"bg-default-100", | ||
"data-[hover=true]:bg-default-50", | ||
"group-data-[focus=true]:bg-default-50" | ||
"data-[hover=true]:bg-default-200", | ||
"group-data-[focus=true]:bg-default-200" | ||
] | ||
@@ -166,7 +166,17 @@ }, | ||
default: {}, | ||
primary: {}, | ||
secondary: {}, | ||
success: {}, | ||
warning: {}, | ||
danger: {} | ||
primary: { | ||
selectorIcon: "text-primary" | ||
}, | ||
secondary: { | ||
selectorIcon: "text-secondary" | ||
}, | ||
success: { | ||
selectorIcon: "text-success" | ||
}, | ||
warning: { | ||
selectorIcon: "text-warning" | ||
}, | ||
danger: { | ||
selectorIcon: "text-danger" | ||
} | ||
}, | ||
@@ -297,3 +307,3 @@ size: { | ||
value: "group-data-[has-value=true]:text-default-foreground", | ||
trigger: ["bg-default-100", "data-[hover=true]:bg-default-50"] | ||
trigger: ["bg-default-100", "data-[hover=true]:bg-default-200"] | ||
} | ||
@@ -300,0 +310,0 @@ }, |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "The default theme for NextUI components", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
"tailwind-merge": "^2.5.2", | ||
"@nextui-org/shared-utils": "2.1.1" | ||
"@nextui-org/shared-utils": "2.1.2" | ||
}, | ||
@@ -50,0 +50,0 @@ "peerDependencies": { |
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
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 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
1738001
71551
+ Added@nextui-org/shared-utils@2.1.2(transitive)
- Removed@nextui-org/shared-utils@2.1.1(transitive)