"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var css = require("../theme/default/loading-indicator.m.css");
var theme_1 = require("../middleware/theme");
var vdom_1 = require("@dojo/framework/core/vdom");
var factory = vdom_1.create({ theme: theme_1.default }).properties();
exports.LoadingIndicator = factory(function LoadingIndicator(_a) {
    var theme = _a.middleware.theme;
    var classes = theme.classes(css);
    return (vdom_1.tsx("div", { classes: [theme.variant(), classes.root], role: "progressbar" },
        vdom_1.tsx("div", { classes: classes.buffer }),
        vdom_1.tsx("div", { classes: [classes.bar, classes.primary] },
            vdom_1.tsx("span", { classes: classes.inner }))));
});
exports.default = exports.LoadingIndicator;

/*# sourceMappingURL=index.js.map*/