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

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

const validateSuggestions = (component, value) => {
    common.watchJsonArrayString(component, '_suggestions', (item) => typeof item === 'string' || typeof item === 'number', value, undefined, {
        hooks: {
            afterPatch: (value) => {
                if (Array.isArray(value) && value.length) {
                    common.a11yHint('Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.');
                }
            },
        },
    });
};

exports.validateSuggestions = validateSuggestions;
//# sourceMappingURL=suggestions-hTUeCecL.js.map

//# sourceMappingURL=suggestions-hTUeCecL.js.map