Commit updated Javascript packages

This commit is contained in:
Owncast
2020-10-20 05:04:18 +00:00
parent 5d03ecb694
commit a88734348a
6368 changed files with 603959 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _lodash = _interopRequireDefault(require("lodash"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _default() {
return function ({
addUtilities,
e,
theme,
variants
}) {
const generators = [(value, modifier) => ({
[`.${e(`rounded${modifier}`)}`]: {
borderRadius: `${value}`
}
}), (value, modifier) => ({
[`.${e(`rounded-t${modifier}`)}`]: {
borderTopLeftRadius: `${value}`,
borderTopRightRadius: `${value}`
},
[`.${e(`rounded-r${modifier}`)}`]: {
borderTopRightRadius: `${value}`,
borderBottomRightRadius: `${value}`
},
[`.${e(`rounded-b${modifier}`)}`]: {
borderBottomRightRadius: `${value}`,
borderBottomLeftRadius: `${value}`
},
[`.${e(`rounded-l${modifier}`)}`]: {
borderTopLeftRadius: `${value}`,
borderBottomLeftRadius: `${value}`
}
}), (value, modifier) => ({
[`.${e(`rounded-tl${modifier}`)}`]: {
borderTopLeftRadius: `${value}`
},
[`.${e(`rounded-tr${modifier}`)}`]: {
borderTopRightRadius: `${value}`
},
[`.${e(`rounded-br${modifier}`)}`]: {
borderBottomRightRadius: `${value}`
},
[`.${e(`rounded-bl${modifier}`)}`]: {
borderBottomLeftRadius: `${value}`
}
})];
const utilities = _lodash.default.flatMap(generators, generator => {
return _lodash.default.flatMap(theme('borderRadius'), (value, modifier) => {
return generator(value, modifier === 'default' ? '' : `-${modifier}`);
});
});
addUtilities(utilities, variants('borderRadius'));
};
}