/*!
 * KoliBri - The accessible HTML-Standard
 */
import { createPropDefinition } from "./helpers/factory";
import { normalizeString } from "./helpers/normalizers";
export const progressVariantOptions = ['bar', 'cycle'];
export const variantProgressProp = createPropDefinition('variant', 'bar', (value) => {
    const str = normalizeString(value);
    if (progressVariantOptions.includes(str)) {
        return str;
    }
    throw new Error(`Invalid progress variant: ${str}`);
}, () => true);
//# sourceMappingURL=variant-progress.js.map
