'use strict';

var icons = require('./icons-DbL3LSmP.js');
var Effect = require('./Effect-BIlTHtLK.js');
require('./index-9ZJx0550.js');

const variants = ['primary', 'secondary', 'tertiary'];
const scaleValues = ['small', 'default', 'large'];
const sizes = ['xs', 'sm', 'md', 'lg'];
const textSizes = [...sizes, 'xl'];
const inputTypes = ['text', 'email', 'password', 'tel', 'url', 'search', 'number'];
const iconSizes = [...sizes, 'inherit'];
const iconWeights = ['thin', 'medium', 'bold', 'filled'];
const iconNames = [
    'Logo',
    'actions',
    'adduser',
    'alert',
    'apple',
    'arrow-down',
    'arrow-left',
    'arrow-right',
    'arrow-up',
    'book',
    'bookmark',
    'checkmark',
    'chevron-down',
    'chevron-left',
    'chevron-right',
    'chevron-up',
    'close-l',
    'close-sm',
    'cog',
    'computer',
    'dashboard',
    'delete',
    'download',
    'edit',
    'external',
    'facebook',
    'favorite',
    'filter',
    'group',
    'hide',
    'home',
    'info',
    'instagram',
    'letter',
    'linkedin',
    'logout',
    'map',
    'minus',
    'navigation',
    'plus',
    'qr-scan',
    'question',
    'reader',
    'reset',
    'school',
    'search',
    'send',
    'settings',
    'share',
    'shopping-cart',
    'show',
    'snapchat',
    'sort',
    'speech-bubble',
    'star',
    'student',
    'upload',
    'user',
    'warn-circle',
    'warn-triangle',
    'whatsapp',
    'world',
    'x',
    'youtube',
];

function run(effect) {
    return Effect.runPromise(effect).catch(error => {
        console.error('Unhandled error in Effect:', error);
    });
}

exports.clearIconCache = icons.clearIconCache;
exports.iconNames = iconNames;
exports.iconSizes = iconSizes;
exports.iconWeights = iconWeights;
exports.inputTypes = inputTypes;
exports.run = run;
exports.scaleValues = scaleValues;
exports.sizes = sizes;
exports.textSizes = textSizes;
exports.variants = variants;
