/*!
 * KoliBri - The accessible HTML-Standard
 */
import './common.js';
import { a as watchValidator } from './prop.validators.js';

const validateAlignment = (component, propName, value) => {
    watchValidator(component, propName, (value) => typeof value === 'string' && alignPropTypeOptions.includes(value), new Set(alignPropTypeOptions), value, {
        defaultValue: 'top',
    });
};

const horizontalAlignOptions = ['left', 'right'];
const verticalAlignOptions = ['top', 'bottom'];
const alignPropTypeOptions = [...horizontalAlignOptions, ...verticalAlignOptions];
const validateAlign = (component, value) => {
    validateAlignment(component, '_align', value);
};

export { alignPropTypeOptions as a, validateAlignment as b, validateAlign as v };
//# sourceMappingURL=align.js.map

//# sourceMappingURL=align.js.map