@justeattakeaway/pie-icons-vue
Version:
PIE Design System Icon set for Vue
45 lines (40 loc) • 2.41 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var helper = require('./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.cjs');
var configsVue = require('./packages/tools/pie-icons-configs/configs-vue.cjs');
var IconPie = {
name: 'IconPie',
props: {
size: configsVue.iconSize.regular,
},
functional: true,
render (h, ctx) {
ctx.data = configsVue.updateContextData(ctx, 'c-pieIcon c-pieIcon--pie', 'IconPie');
return h('svg', helper.default([{
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
role: 'presentation',
focusable: 'false',
fill: 'currentColor',
viewBox: '0 0 16 16',
},
}, ctx.data]), [h('path', {
attrs: {
d: 'M8.053 6.906c.105 0 .21-.044.288-.122a.412.412 0 0 0 .123-.29c0-.244-.184-.813-.411-.813-.228 0-.412.595-.412.814 0 .105.044.21.123.289a.412.412 0 0 0 .289.122Z',
},
}), h('path', {
attrs: {
d: 'M5.979 6.346s.096.061.149.079c.043.009.078.017.122.017h.044a.337.337 0 0 0 .157-.052.5.5 0 0 0 .123-.114c.149-.166.411-.735.236-.884a.185.185 0 0 0-.122-.035c-.228 0-.595.245-.727.385-.043.035-.07.088-.096.14a.355.355 0 0 0-.035.167c0 .052.018.113.035.166a.387.387 0 0 0 .105.131h.009Z',
},
}), h('path', {
attrs: {
d: 'M9.566 6.381a.416.416 0 0 0 .158.044h.026s.088 0 .131-.018a.444.444 0 0 0 .14-.078.416.416 0 0 0 .14-.28c0-.053 0-.105-.017-.158a.444.444 0 0 0-.079-.14c-.131-.14-.516-.376-.744-.376-.043 0-.087.009-.113.035-.175.149.078.718.236.884.035.044.079.07.122.096v-.009Z',
},
}), h('path', {
attrs: {
d: 'M14.773 7.387h-.202L13.547 5.41c-.55-.858-1.452-1.4-2.52-1.514-.35-.035-.63-.28-.796-.481-.332-.385-.971-.84-2.17-.84h-.113c-1.2 0-1.847.455-2.17.84-.175.201-.447.446-.85.481-1.014.105-1.907.656-2.493 1.566l-.989 1.925h-.218V8.7h.84l1.04 4.734h9.827L13.976 8.7h.796V7.387ZM3.563 6.12c.333-.517.876-.85 1.55-.919.62-.061 1.19-.385 1.662-.936.271-.315.788-.385 1.173-.385h.113c.385 0 .902.07 1.173.385.472.542 1.041.866 1.715.936a1.998 1.998 0 0 1 1.461.857l.682 1.322H2.916l.648-1.269v.009Zm8.313 6.002H4.16L3.406 8.7h9.223l-.753 3.421Z',
},
})]);
},
};
exports.default = IconPie;