Files
klz-cables.com/.pnpm-store/v10/files/ad/85524efdfb60a7ebd29a7984ed4d656fb99c22bc4312cfc424261f8a5f6053b4d80e5de14f4046c29c14004c3b961887c4e2d0d64561b67be237e761abc385
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

55 lines
1.7 KiB
Plaintext

import { CSSValue } from '../syntax/parser';
import { Color } from './color';
import { ITypeDescriptor } from '../ITypeDescriptor';
import { LengthPercentage } from './length-percentage';
export declare const enum CSSImageType {
URL = 0,
LINEAR_GRADIENT = 1,
RADIAL_GRADIENT = 2
}
export declare const isLinearGradient: (background: ICSSImage) => background is CSSLinearGradientImage;
export declare const isRadialGradient: (background: ICSSImage) => background is CSSRadialGradientImage;
export interface UnprocessedGradientColorStop {
color: Color;
stop: LengthPercentage | null;
}
export interface GradientColorStop {
color: Color;
stop: number;
}
export interface ICSSImage {
type: CSSImageType;
}
export interface CSSURLImage extends ICSSImage {
url: string;
type: CSSImageType.URL;
}
export declare type GradientCorner = [LengthPercentage, LengthPercentage];
interface ICSSGradientImage extends ICSSImage {
stops: UnprocessedGradientColorStop[];
}
export interface CSSLinearGradientImage extends ICSSGradientImage {
angle: number | GradientCorner;
type: CSSImageType.LINEAR_GRADIENT;
}
export declare const enum CSSRadialShape {
CIRCLE = 0,
ELLIPSE = 1
}
export declare const enum CSSRadialExtent {
CLOSEST_SIDE = 0,
FARTHEST_SIDE = 1,
CLOSEST_CORNER = 2,
FARTHEST_CORNER = 3
}
export declare type CSSRadialSize = CSSRadialExtent | LengthPercentage[];
export interface CSSRadialGradientImage extends ICSSGradientImage {
type: CSSImageType.RADIAL_GRADIENT;
shape: CSSRadialShape;
size: CSSRadialSize;
position: LengthPercentage[];
}
export declare const image: ITypeDescriptor<ICSSImage>;
export declare function isSupportedImage(value: CSSValue): boolean;
export {};