UNPKG

@braineet/ui

Version:

Braineet design system

125 lines (124 loc) 4.72 kB
"use strict"; exports.__esModule = true; exports.default = void 0; var React = _interopRequireWildcard(require("react")); var _jsxRuntime = require("react/jsx-runtime"); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function LoaderDefault(props) { return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", _extends({ viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor" }, props, { children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("rect", { x: "1", y: "1", rx: "1", width: "10", height: "10", children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "a", begin: "0;l.end", attributeName: "x", dur: "0.2s", values: "1;13", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "d", begin: "c.end", attributeName: "y", dur: "0.2s", values: "1;13", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "g", begin: "f.end", attributeName: "x", dur: "0.2s", values: "13;1", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "j", begin: "i.end", attributeName: "y", dur: "0.2s", values: "13;1", fill: "freeze" })] }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("rect", { x: "1", y: "13", rx: "1", width: "10", height: "10", children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "b", begin: "a.end", attributeName: "y", dur: "0.2s", values: "13;1", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "e", begin: "d.end", attributeName: "x", dur: "0.2s", values: "1;13", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "h", begin: "g.end", attributeName: "y", dur: "0.2s", values: "1;13", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "k", begin: "j.end", attributeName: "x", dur: "0.2s", values: "13;1", fill: "freeze" })] }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("rect", { x: "13", y: "13", rx: "1", width: "10", height: "10", children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "c", begin: "b.end", attributeName: "x", dur: "0.2s", values: "13;1", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "f", begin: "e.end", attributeName: "y", dur: "0.2s", values: "13;1", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "i", begin: "h.end", attributeName: "x", dur: "0.2s", values: "1;13", fill: "freeze" }), /*#__PURE__*/(0, _jsxRuntime.jsx)("animate", { id: "l", begin: "k.end", attributeName: "y", dur: "0.2s", values: "1;13", fill: "freeze" })] })] })); } var _default = LoaderDefault; exports.default = _default;