@nextui-org/theme
Advanced tools
Comparing version 0.0.0-dev-v2-20230525214932 to 0.0.0-dev-v2-20230526220125
@@ -13,3 +13,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* // hidden input | ||
* <span className={wrapper()} aria-hidden="true" data-checked={checked}> | ||
* <span className={wrapper()} aria-hidden="true" data-selected={selected}> | ||
* <svg className={icon()}> | ||
@@ -16,0 +16,0 @@ * // check icon |
@@ -51,4 +51,4 @@ "use strict"; | ||
"after:origin-center", | ||
"group-data-[checked=true]:after:scale-100", | ||
"group-data-[checked=true]:after:opacity-100", | ||
"group-data-[selected=true]:after:scale-100", | ||
"group-data-[selected=true]:after:opacity-100", | ||
"group-data-[hover=true]:before:bg-neutral-100", | ||
@@ -63,3 +63,3 @@ "group-data-[hover=true]:before:bg-neutral-100", | ||
], | ||
icon: "z-10 w-4 h-3 opacity-0 group-data-[checked=true]:opacity-100", | ||
icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100", | ||
label: "relative text-foreground select-none" | ||
@@ -149,4 +149,4 @@ }, | ||
"before:h-0.5", | ||
"group-data-[checked=true]:opacity-60", | ||
"group-data-[checked=true]:before:w-full" | ||
"group-data-[selected=true]:opacity-60", | ||
"group-data-[selected=true]:before:w-full" | ||
] | ||
@@ -153,0 +153,0 @@ } |
@@ -116,3 +116,3 @@ "use strict"; | ||
base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"], | ||
content: "flex-1 text-inherit select-none font-regular", | ||
content: "flex-1 text-inherit select-none font-normal", | ||
dot: ["w-2", "h-2", "ml-1", "rounded-full"], | ||
@@ -184,3 +184,3 @@ avatar: "flex-shrink-0", | ||
md: { | ||
base: "px-1 h-7 text-base", | ||
base: "px-1 h-7 text-sm", | ||
content: "px-2", | ||
@@ -191,3 +191,3 @@ closeButton: "text-lg", | ||
lg: { | ||
base: "px-2 h-8 text-lg", | ||
base: "px-2 h-8 text-base", | ||
content: "px-2", | ||
@@ -198,3 +198,3 @@ closeButton: "text-xl", | ||
xl: { | ||
base: "px-2 h-9 text-xl", | ||
base: "px-2 h-9 text-lg", | ||
content: "px-2", | ||
@@ -201,0 +201,0 @@ closeButton: "text-2xl", |
@@ -10,3 +10,3 @@ import * as tailwind_variants from 'tailwind-variants'; | ||
* ```js | ||
* const {base, svgWrapper, svg, circle, value, label} = circularProgress({...}) | ||
* const {base, svgWrapper, svg, indicator, value, label} = circularProgress({...}) | ||
* | ||
@@ -16,3 +16,4 @@ * <div className={base()} aria-label="progress" role="progressbar" aria-valuenow={value} aria-valuemin={min} aria-valuemax={max}> | ||
* <svg className={svg()}> | ||
* <circle className={circle()} style={{width: `${value}%`}} /> | ||
* <circle className={track()} /> | ||
* <circle className={indicator()} /> | ||
* </svg> | ||
@@ -86,3 +87,3 @@ * <span className={value()}>{value}</span> | ||
false: { | ||
circle: string; | ||
indicator: string; | ||
}; | ||
@@ -96,3 +97,3 @@ }; | ||
track: string; | ||
circle: string; | ||
indicator: string; | ||
value: string; | ||
@@ -160,3 +161,3 @@ }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{ | ||
false: { | ||
circle: string; | ||
indicator: string; | ||
}; | ||
@@ -163,0 +164,0 @@ }; |
@@ -34,3 +34,3 @@ "use strict"; | ||
track: "h-full stroke-neutral-300/50", | ||
circle: "h-full stroke-current", | ||
indicator: "h-full stroke-current", | ||
value: "absolute font-normal inset-0 flex items-center justify-center" | ||
@@ -99,3 +99,3 @@ }, | ||
false: { | ||
circle: "transition-all !duration-500" | ||
indicator: "transition-all !duration-500" | ||
} | ||
@@ -102,0 +102,0 @@ } |
{ | ||
"name": "@nextui-org/theme", | ||
"version": "0.0.0-dev-v2-20230525214932", | ||
"version": "0.0.0-dev-v2-20230526220125", | ||
"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 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 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
877269
36407