azeriand-library 1.15.0 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ export type CardProps<T extends ElementType = 'article'> = {
5
5
  noPadding?: boolean;
6
6
  noBlur?: boolean;
7
7
  appearance?: string;
8
+ blur?: number;
8
9
  color?: string;
9
10
  intensity?: number;
10
11
  dark?: boolean;
@@ -12,4 +13,4 @@ export type CardProps<T extends ElementType = 'article'> = {
12
13
  className?: string;
13
14
  style?: React.CSSProperties;
14
15
  } & React.ComponentPropsWithoutRef<T>;
15
- export declare function Card<T extends ElementType = 'article'>({ as, children, noPadding, noBlur, appearance, color, intensity, dark, onClick, className, style, ...rest }: CardProps<T>): import("react/jsx-runtime").JSX.Element;
16
+ export declare function Card<T extends ElementType = 'article'>({ as, children, noPadding, noBlur, appearance, blur, color, intensity, dark, onClick, className, style, ...rest }: CardProps<T>): import("react/jsx-runtime").JSX.Element;
package/dist/index.esm.js CHANGED
@@ -15751,6 +15751,7 @@ function Card({
15751
15751
  noPadding,
15752
15752
  noBlur = false,
15753
15753
  appearance = "glass",
15754
+ blur = 10,
15754
15755
  color: color2 = "neutral",
15755
15756
  intensity,
15756
15757
  dark: dark2 = true,
@@ -15771,7 +15772,7 @@ function Card({
15771
15772
  setCardStyle({
15772
15773
  "--glass-color": `var(--color-${color2}-${intensityValue})`,
15773
15774
  "--card-text-color": `var(--color-${color2}-${dark2 ? "100" : "800"})`,
15774
- backdropFilter: appearance === "glass" && !noBlur ? "blur(10px)" : void 0,
15775
+ backdropFilter: appearance === "glass" && !noBlur ? `blur(${blur}px)` : void 0,
15775
15776
  ...style2
15776
15777
  });
15777
15778
  let rounded = "rounded-md";