/** * ColorScaleBar — affiche une échelle de couleur continue (gradient) à partir * d'une liste de stops arbitraires (hex/rgb/oklch/token). Pensé pour documenter * les échelles OKLab/séquentielles/divergentes : le consommateur fournit les * stops, le composant rend `linear-gradient(...)` via un `background` inline — * c'est sa raison d'être. Libellés d'extrémités (min/max) et orientation au * choix. * * Le style PROPRE (rayon, bordure, typo des libellés, gaps) reste token-only * (`--st-*` + fallback littéral) ; SEUL le gradient est inline. * * Props : * colors string[] - stops du gradient (≥2) * orientation? 'horizontal' | 'vertical' - défaut 'horizontal' * length? number (px) - longueur de la barre * thickness? number (px) - épaisseur de la barre * min? string - libellé d'extrémité bas/gauche * max? string - libellé d'extrémité haut/droite * label? string - libellé accessible * class? string */ export type ColorScaleBarOrientation = "horizontal" | "vertical"; import type { HTMLAttributes } from "svelte/elements"; type ColorScaleBarProps = Omit, "class"> & { colors: string[]; orientation?: ColorScaleBarOrientation; length?: number; thickness?: number; min?: string; max?: string; label?: string; class?: string; }; declare const ColorScaleBar: import("svelte").Component; type ColorScaleBar = ReturnType; export default ColorScaleBar; //# sourceMappingURL=ColorScaleBar.svelte.d.ts.map