/*!
 * KoliBri - The accessible HTML-Standard
 */
'use strict';

var common = require('./common-DAAt5YQ7.js');

const validateAlignment = (component, propName, value) => {
    common.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);
};

exports.alignPropTypeOptions = alignPropTypeOptions;
exports.validateAlign = validateAlign;
exports.validateAlignment = validateAlignment;
//# sourceMappingURL=align-e4FQ7dUp.js.map

//# sourceMappingURL=align-e4FQ7dUp.js.map