@lobehub/icons 1.91.0 → 1.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -39
- package/es/Cerebras/components/Avatar.d.ts +5 -0
- package/es/Cerebras/components/Avatar.js +27 -0
- package/es/Cerebras/components/BrandColor.d.ts +3 -0
- package/es/Cerebras/components/BrandColor.js +46 -0
- package/es/Cerebras/components/BrandMono.d.ts +3 -0
- package/es/Cerebras/components/BrandMono.js +45 -0
- package/es/Cerebras/components/Color.d.ts +3 -0
- package/es/Cerebras/components/Color.js +45 -0
- package/es/Cerebras/components/Combine.d.ts +7 -0
- package/es/Cerebras/components/Combine.js +32 -0
- package/es/Cerebras/components/Mono.d.ts +3 -0
- package/es/Cerebras/components/Mono.js +44 -0
- package/es/Cerebras/components/Text.d.ts +3 -0
- package/es/Cerebras/components/Text.js +53 -0
- package/es/Cerebras/index.d.ts +19 -0
- package/es/Cerebras/index.js +20 -0
- package/es/Cerebras/style.d.ts +4 -0
- package/es/Cerebras/style.js +4 -0
- package/es/DeepInfra/components/Avatar.d.ts +5 -0
- package/es/DeepInfra/components/Avatar.js +26 -0
- package/es/DeepInfra/components/Color.d.ts +3 -0
- package/es/DeepInfra/components/Color.js +43 -0
- package/es/DeepInfra/components/Combine.d.ts +7 -0
- package/es/DeepInfra/components/Combine.js +32 -0
- package/es/DeepInfra/components/Mono.d.ts +3 -0
- package/es/DeepInfra/components/Mono.js +43 -0
- package/es/DeepInfra/components/Text.d.ts +3 -0
- package/es/DeepInfra/components/Text.js +42 -0
- package/es/DeepInfra/index.d.ts +15 -0
- package/es/DeepInfra/index.js +16 -0
- package/es/DeepInfra/style.d.ts +4 -0
- package/es/DeepInfra/style.js +4 -0
- package/es/Doc2X/components/Avatar.d.ts +5 -0
- package/es/Doc2X/components/Avatar.js +29 -0
- package/es/Doc2X/components/Color.d.ts +3 -0
- package/es/Doc2X/components/Color.js +54 -0
- package/es/Doc2X/components/Combine.d.ts +7 -0
- package/es/Doc2X/components/Combine.js +32 -0
- package/es/Doc2X/components/Mono.d.ts +3 -0
- package/es/Doc2X/components/Mono.js +54 -0
- package/es/Doc2X/components/Text.d.ts +3 -0
- package/es/Doc2X/components/Text.js +40 -0
- package/es/Doc2X/index.d.ts +15 -0
- package/es/Doc2X/index.js +16 -0
- package/es/Doc2X/style.d.ts +4 -0
- package/es/Doc2X/style.js +4 -0
- package/es/DreamMachine/components/Avatar.d.ts +5 -0
- package/es/DreamMachine/components/Avatar.js +25 -0
- package/es/DreamMachine/components/Combine.d.ts +5 -0
- package/es/DreamMachine/components/Combine.js +29 -0
- package/es/DreamMachine/components/Mono.d.ts +3 -0
- package/es/DreamMachine/components/Mono.js +45 -0
- package/es/DreamMachine/components/Text.d.ts +3 -0
- package/es/DreamMachine/components/Text.js +40 -0
- package/es/DreamMachine/index.d.ts +13 -0
- package/es/DreamMachine/index.js +14 -0
- package/es/DreamMachine/style.d.ts +4 -0
- package/es/DreamMachine/style.js +4 -0
- package/es/Exa/components/Avatar.d.ts +5 -0
- package/es/Exa/components/Avatar.js +30 -0
- package/es/Exa/components/Color.d.ts +3 -0
- package/es/Exa/components/Color.js +42 -0
- package/es/Exa/components/Combine.d.ts +7 -0
- package/es/Exa/components/Combine.js +32 -0
- package/es/Exa/components/Mono.d.ts +3 -0
- package/es/Exa/components/Mono.js +42 -0
- package/es/Exa/components/Text.d.ts +3 -0
- package/es/Exa/components/Text.js +40 -0
- package/es/Exa/index.d.ts +15 -0
- package/es/Exa/index.js +16 -0
- package/es/Exa/style.d.ts +4 -0
- package/es/Exa/style.js +4 -0
- package/es/Flora/components/Avatar.d.ts +5 -0
- package/es/Flora/components/Avatar.js +25 -0
- package/es/Flora/components/Combine.d.ts +5 -0
- package/es/Flora/components/Combine.js +29 -0
- package/es/Flora/components/Mono.d.ts +3 -0
- package/es/Flora/components/Mono.js +41 -0
- package/es/Flora/components/Text.d.ts +3 -0
- package/es/Flora/components/Text.js +41 -0
- package/es/Flora/index.d.ts +13 -0
- package/es/Flora/index.js +14 -0
- package/es/Flora/style.d.ts +4 -0
- package/es/Flora/style.js +4 -0
- package/es/Kera/components/Avatar.js +1 -1
- package/es/NotebookLM/components/Avatar.d.ts +5 -0
- package/es/NotebookLM/components/Avatar.js +25 -0
- package/es/NotebookLM/components/Combine.d.ts +5 -0
- package/es/NotebookLM/components/Combine.js +29 -0
- package/es/NotebookLM/components/Mono.d.ts +3 -0
- package/es/NotebookLM/components/Mono.js +41 -0
- package/es/NotebookLM/components/Text.d.ts +3 -0
- package/es/NotebookLM/components/Text.js +40 -0
- package/es/NotebookLM/index.d.ts +13 -0
- package/es/NotebookLM/index.js +14 -0
- package/es/NotebookLM/style.d.ts +4 -0
- package/es/NotebookLM/style.js +4 -0
- package/es/RSSHub/components/Avatar.d.ts +5 -0
- package/es/RSSHub/components/Avatar.js +29 -0
- package/es/RSSHub/components/Color.d.ts +3 -0
- package/es/RSSHub/components/Color.js +52 -0
- package/es/RSSHub/components/Combine.d.ts +7 -0
- package/es/RSSHub/components/Combine.js +32 -0
- package/es/RSSHub/components/Mono.d.ts +3 -0
- package/es/RSSHub/components/Mono.js +53 -0
- package/es/RSSHub/components/Text.d.ts +3 -0
- package/es/RSSHub/components/Text.js +40 -0
- package/es/RSSHub/index.d.ts +15 -0
- package/es/RSSHub/index.js +16 -0
- package/es/RSSHub/style.d.ts +4 -0
- package/es/RSSHub/style.js +4 -0
- package/es/SearchApi/components/Avatar.d.ts +5 -0
- package/es/SearchApi/components/Avatar.js +25 -0
- package/es/SearchApi/components/Combine.d.ts +5 -0
- package/es/SearchApi/components/Combine.js +29 -0
- package/es/SearchApi/components/Mono.d.ts +3 -0
- package/es/SearchApi/components/Mono.js +41 -0
- package/es/SearchApi/components/Text.d.ts +3 -0
- package/es/SearchApi/components/Text.js +40 -0
- package/es/SearchApi/index.d.ts +13 -0
- package/es/SearchApi/index.js +14 -0
- package/es/SearchApi/style.d.ts +4 -0
- package/es/SearchApi/style.js +4 -0
- package/es/TopazLabs/components/Avatar.d.ts +5 -0
- package/es/TopazLabs/components/Avatar.js +25 -0
- package/es/TopazLabs/components/Combine.d.ts +5 -0
- package/es/TopazLabs/components/Combine.js +29 -0
- package/es/TopazLabs/components/Mono.d.ts +3 -0
- package/es/TopazLabs/components/Mono.js +41 -0
- package/es/TopazLabs/components/Text.d.ts +3 -0
- package/es/TopazLabs/components/Text.js +58 -0
- package/es/TopazLabs/index.d.ts +13 -0
- package/es/TopazLabs/index.js +14 -0
- package/es/TopazLabs/style.d.ts +4 -0
- package/es/TopazLabs/style.js +4 -0
- package/es/VectorizerAI/components/Avatar.d.ts +5 -0
- package/es/VectorizerAI/components/Avatar.js +30 -0
- package/es/VectorizerAI/components/Combine.d.ts +7 -0
- package/es/VectorizerAI/components/Combine.js +29 -0
- package/es/VectorizerAI/components/Mono.d.ts +3 -0
- package/es/VectorizerAI/components/Mono.js +41 -0
- package/es/VectorizerAI/components/Text.d.ts +3 -0
- package/es/VectorizerAI/components/Text.js +40 -0
- package/es/VectorizerAI/index.d.ts +13 -0
- package/es/VectorizerAI/index.js +14 -0
- package/es/VectorizerAI/style.d.ts +4 -0
- package/es/VectorizerAI/style.js +4 -0
- package/es/Yuanbao/components/Avatar.d.ts +5 -0
- package/es/Yuanbao/components/Avatar.js +26 -0
- package/es/Yuanbao/components/Color.d.ts +3 -0
- package/es/Yuanbao/components/Color.js +134 -0
- package/es/Yuanbao/components/Combine.d.ts +7 -0
- package/es/Yuanbao/components/Combine.js +32 -0
- package/es/Yuanbao/components/Mono.d.ts +3 -0
- package/es/Yuanbao/components/Mono.js +41 -0
- package/es/Yuanbao/components/Text.d.ts +3 -0
- package/es/Yuanbao/components/Text.js +40 -0
- package/es/Yuanbao/index.d.ts +15 -0
- package/es/Yuanbao/index.js +16 -0
- package/es/Yuanbao/style.d.ts +4 -0
- package/es/Yuanbao/style.js +4 -0
- package/es/icons.d.ts +12 -0
- package/es/icons.js +12 -0
- package/es/toc.js +230 -14
- package/package.json +1 -1
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 123 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M2.66 15.28c1.725.527 3.494.79 5.307.79.915 0 1.699-.052 2.35-.158v-2.266l-2.403-.21c-1.425-.123-2.548-.365-3.366-.725-.819-.36-1.408-.878-1.77-1.554-.36-.676-.54-1.585-.54-2.727 0-1.422.198-2.546.594-3.372.396-.825 1.043-1.422 1.94-1.791.898-.37 2.121-.554 3.67-.554 2.042 0 4.04.238 5.994.712l-.58 3.714a32.589 32.589 0 00-2.338-.382 17.44 17.44 0 00-2.072-.118c-.898 0-1.637.044-2.218.132v2.265l2.165.185c2.112.193 3.626.698 4.541 1.514.916.817 1.373 2.077 1.373 3.78 0 1.915-.532 3.303-1.597 4.163-1.065.861-2.795 1.291-5.188 1.291-2.341 0-4.515-.29-6.522-.87l.66-3.82zm21.44 1.238c1.496 0 3.054-.228 4.673-.685l.58 3.24c-1.742.58-3.66.87-5.755.87-2.323 0-3.996-.54-5.017-1.62-1.02-1.08-1.531-2.859-1.531-5.335 0-2.459.524-4.233 1.57-5.322 1.048-1.089 2.742-1.633 5.084-1.633 1.566 0 2.776.132 3.63.395.854.264 1.461.703 1.822 1.317.36.615.541 1.493.541 2.635 0 1.124-.229 1.993-.686 2.608-.458.615-1.232 1.054-2.324 1.317-1.091.264-2.64.395-4.647.395v1.66c.493.105 1.18.158 2.06.158zm-.159-7.06c-.721 0-1.219.079-1.492.237-.272.158-.409.457-.409.896v1.686h1.558c.722 0 1.219-.084 1.492-.25.273-.167.409-.48.409-.936V9.458h-1.558zM38.49 6.033c2.024 0 3.493.347 4.409 1.04.915.694 1.373 1.814 1.373 3.36v9.141h-2.297l-1.162-1.317c-1.338 1.124-2.852 1.686-4.541 1.686-1.567 0-2.707-.347-3.42-1.04-.713-.694-1.069-1.796-1.069-3.307 0-1.124.216-1.993.647-2.608.431-.615 1.157-1.054 2.178-1.317 1.021-.264 2.465-.396 4.33-.396h.687v-1.66c-.37-.105-.916-.157-1.637-.157-1.584 0-3.265.228-5.043.685l-.555-3.24c1.83-.58 3.864-.87 6.1-.87zm-.74 10.722c.722 0 1.215-.079 1.479-.237.264-.158.396-.457.396-.896V13.7H37.96c-.721 0-1.219.084-1.491.25-.273.167-.41.48-.41.936v1.87h1.69zM49.605 6.402l1.32 1.818c1.18-1.142 2.465-1.88 3.855-2.213l.29 4.505c-.457.07-1.011.232-1.663.487-.65.255-1.135.496-1.452.724v7.851h-4.647V6.402h2.297zm12.33 13.54c-1.355 0-2.45-.232-3.287-.697-.836-.466-1.447-1.208-1.835-2.226-.387-1.019-.58-2.363-.58-4.031 0-1.669.193-3.012.58-4.03.388-1.02.995-1.762 1.822-2.227.828-.465 1.928-.698 3.3-.698.775 0 1.602.053 2.483.158.88.105 1.54.228 1.98.369l-.396 3.267c-.863-.246-1.822-.37-2.878-.37-.704 0-1.202.154-1.492.462-.29.307-.436.82-.436 1.54v4.901c.423.105.986.158 1.69.158 1.127 0 2.253-.228 3.38-.685l.422 3.24c-1.425.58-3.01.87-4.752.87zm6.786-.368V2.397l4.542-.342V6.98c1.144-.632 2.517-.948 4.119-.948 1.232 0 2.191.25 2.878.75.686.501 1.03 1.2 1.03 2.095v10.696h-4.648V9.853h-1.346c-.74 0-1.246.088-1.518.263-.273.176-.41.492-.41.949v8.51h-4.647zm25.506 0l-.766-2.872h-5.148l-.766 2.872H82.9L87.283 3.11h7.208l4.383 16.465h-4.647zm-4.99-6.27h3.3l-1.531-5.77h-.238l-1.531 5.77zm18.931-7.271c1.32 0 2.376.233 3.168.698.792.465 1.373 1.203 1.743 2.213.37 1.01.554 2.358.554 4.044 0 1.686-.184 3.038-.554 4.057-.37 1.019-.951 1.76-1.743 2.226-.792.466-1.848.698-3.168.698-1.179 0-2.139-.167-2.878-.5v4.162l-4.647.369V6.402h2.297l.871 1.264c.44-.562 1.021-.974 1.743-1.238.722-.263 1.593-.395 2.614-.395zm.475 9.695V9.563h-2.27c-.423 0-.709.048-.859.145-.149.097-.224.277-.224.54v6.191h2.297c.405 0 .682-.048.832-.145.149-.096.224-.285.224-.566zm7.552-8.773l4.647-.606v13.225h-4.647V6.955zm2.297-1.95c-.669 0-1.18-.07-1.532-.21a1.319 1.319 0 01-.752-.738c-.15-.351-.225-.86-.225-1.528 0-.966.176-1.629.528-1.989.352-.36 1.013-.54 1.981-.54.968 0 1.628.18 1.98.54.352.36.528 1.023.528 1.99 0 .965-.176 1.62-.528 1.962-.352.342-1.012.513-1.98.513z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Mono,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: COLOR_PRIMARY,
|
21
|
+
color: '#fff',
|
22
|
+
iconMultiple: 0.7
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
Text: Text,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
iconProps: {
|
23
|
+
shape: 'square'
|
24
|
+
},
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
27
|
+
}, rest));
|
28
|
+
});
|
29
|
+
export default Combine;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M2 15.357V22h6.65v-6.643H2zM15.32 15.357V8.714H8.67v6.643h6.65zM22 8.643V2h-6.65v6.643H22z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,58 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 125 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsxs("g", {
|
36
|
+
clipPath: "url(#a)",
|
37
|
+
children: [/*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M16.32 4.698V2H2v2.698h5.811v15.566h2.699V4.698h5.81zM72.567 3.868h2.698v13.698h7.68v2.699H72.566V3.868z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
clipRule: "evenodd",
|
41
|
+
d: "M12.689 14.038a6.538 6.538 0 1113.075 0 6.538 6.538 0 01-13.075 0zm6.538-3.84a3.84 3.84 0 100 7.68 3.84 3.84 0 000-7.68zM30.227 24v-4.662a5.86 5.86 0 003.638 1.238c3.548 0 6.33-2.98 6.33-6.538 0-3.559-2.782-6.538-6.33-6.538a5.86 5.86 0 00-3.638 1.238v-.927h-2.698v16.19h2.698zm3.535-13.802c-1.955 0-3.736 1.667-3.736 3.84s1.781 3.84 3.736 3.84c1.954 0 3.736-1.667 3.736-3.84s-1.782-3.84-3.736-3.84zM51.604 8.733A5.86 5.86 0 0047.972 7.5c-3.547 0-6.33 2.98-6.33 6.538 0 3.558 2.783 6.538 6.33 6.538a5.86 5.86 0 003.632-1.233v.921h2.698V7.811h-2.698v.922zm.208 5.305c0-2.173-1.775-3.84-3.73-3.84-1.954 0-3.742 1.667-3.742 3.84s1.788 3.84 3.743 3.84c1.954 0 3.729-1.667 3.729-3.84zM89.69 7.5a5.86 5.86 0 013.632 1.233V7.81h2.698v12.453h-2.698v-.921a5.861 5.861 0 01-3.633 1.233c-3.547 0-6.33-2.98-6.33-6.538 0-3.559 2.783-6.538 6.33-6.538zm.11 2.698c1.954 0 3.73 1.667 3.73 3.84s-1.776 3.84-3.73 3.84c-1.955 0-3.743-1.667-3.743-3.84s1.788-3.84 3.743-3.84z"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M67.585 9.887V7.812h-11v2.698h6.896l-7.103 7.679v2.076h11v-2.699h-6.896l7.103-7.679zM117.233 7.475c-1.252 0-2.571.21-3.536 1.002-1.008.826-1.679 2.134-1.263 3.691.336 1.256 1.165 2.014 2.097 2.468.851.414 1.842.599 2.619.744l.018.003c.867.162 1.506.283 2.002.502.425.189.606.39.696.685.094.306-.082.683-.385.922-.453.358-1.214.625-2.041.625-1.402 0-2.495-.786-3.011-1.874l-2.428 1.114c.926 1.952 2.925 3.193 5.439 3.193 1.336 0 2.925-.211 3.928-1.004 1.044-.825 1.752-2.158 1.272-3.733-.374-1.225-1.452-1.924-2.369-2.33-.798-.354-1.725-.526-2.468-.664l-.137-.025c-.85-.159-1.476-.291-1.948-.52-.395-.193-.61-.36-.707-.726-.1-.369.017-.732.4-1.047.427-.349 1.117-.594 1.822-.594 1.342 0 2.291.62 2.791 1.745l2.455-1.057c-.941-2.118-2.877-3.12-5.246-3.12z"
|
44
|
+
}), /*#__PURE__*/_jsx("path", {
|
45
|
+
clipRule: "evenodd",
|
46
|
+
d: "M101.001 8.738V4.076h-2.698v16.189H101v-.927a5.859 5.859 0 003.639 1.238c3.547 0 6.33-2.98 6.33-6.538 0-3.558-2.783-6.538-6.33-6.538a5.859 5.859 0 00-3.639 1.238zm-.201 5.3c0 2.173 1.781 3.84 3.735 3.84 1.955 0 3.737-1.667 3.737-3.84s-1.782-3.84-3.737-3.84c-1.954 0-3.735 1.667-3.735 3.84z"
|
47
|
+
})]
|
48
|
+
}), /*#__PURE__*/_jsx("defs", {
|
49
|
+
children: /*#__PURE__*/_jsx("clipPath", {
|
50
|
+
id: "a",
|
51
|
+
children: /*#__PURE__*/_jsx("path", {
|
52
|
+
d: "M0 0h125v24H0z"
|
53
|
+
})
|
54
|
+
})
|
55
|
+
})]
|
56
|
+
}));
|
57
|
+
});
|
58
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background", "size"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
size = _ref.size,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
22
|
+
Icon: Mono,
|
23
|
+
"aria-label": TITLE,
|
24
|
+
background: background || COLOR_PRIMARY,
|
25
|
+
color: '#fff',
|
26
|
+
iconMultiple: 0.65,
|
27
|
+
size: size
|
28
|
+
}, rest));
|
29
|
+
});
|
30
|
+
export default Avatar;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
4
|
+
type?: 'color' | 'mono';
|
5
|
+
}
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
7
|
+
export default Combine;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Avatar from "./Avatar";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Avatar,
|
20
|
+
Text: Text,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
iconProps: {
|
23
|
+
shape: 'square'
|
24
|
+
},
|
25
|
+
spaceMultiple: SPACE_MULTIPLE,
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
27
|
+
}, rest));
|
28
|
+
});
|
29
|
+
export default Combine;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M16.698 0h.177c.636 0 1.236.136 1.78.402.367.209.678.467.94.776.43.539.742 1.178.918 1.918.163.646.24 1.365.247 2.119.007.503 0 .998-.02 1.48 0 .014.027 0 .091-.029.367-.187.72-.395 1.06-.625.325-.144.636-.144.897-.014.141.057.212.215.212.503 0 .359-.064.675-.184.97-.17.43-.445.825-.833 1.17a4.096 4.096 0 01-1.258.754c-.056.022-.092.058-.092.1l-.17 1.768a28.1 28.1 0 01-.656 3.807 23.267 23.267 0 01-1.23 3.304 10.034 10.034 0 01-1.752 2.658 8.75 8.75 0 01-2.006 1.61 9.225 9.225 0 01-2.876 1.077c-1.017.215-2.07.287-3.144.237a7.018 7.018 0 01-2.995-.79 5.155 5.155 0 01-1.293-1.042 5.122 5.122 0 01-1.053-2.414 7.58 7.58 0 01-.12-1.149 3.788 3.788 0 01.07-1.15c.199-1.048.446-2.118.736-3.217l1.08-4.382a36.33 36.33 0 00.41-1.94c.184-.933.24-1.824.163-2.657a2.73 2.73 0 00-.445-1.394c-.205-.23-.445-.359-.72-.359a1.299 1.299 0 00-.884.273l-1.328.97a1.539 1.539 0 01-.806.309c-.204.014-.353-.03-.452-.13-.092-.093-.141-.244-.155-.452-.05-.848.17-1.595.657-2.241a4.38 4.38 0 011.067-.963A5.724 5.724 0 014.645.395C5.232.251 5.868.208 6.553.237c.685.05 1.293.259 1.837.632.381.287.706.647.953 1.063.615.977.89 2.076.834 3.283a15.265 15.265 0 01-.46 3.434l-1.073 4.669a39.637 39.637 0 00-.495 2.6 12.27 12.27 0 00-.056 2.392c.056.503.29.912.692 1.235.226.173.495.288.792.36.268.057.565.093.904.1a4.932 4.932 0 002.875-.948c.424-.302.82-.646 1.187-1.034a9.423 9.423 0 001.413-2.04 16.146 16.146 0 001.343-3.85 35.7 35.7 0 00.424-2.249 6.548 6.548 0 01-2.862-.797 4.711 4.711 0 01-1.024-.848 4.72 4.72 0 01-.834-1.278 6.2 6.2 0 01-.494-2.35 5.136 5.136 0 01.211-1.81A4.276 4.276 0 0113.992.934c.431-.36.933-.61 1.498-.762.389-.1.791-.158 1.201-.165L16.698 0zm.382 2.766a.448.448 0 00-.417.23c-.036.057-.057.114-.085.179l-.057.187-.028.2v.216a4 4 0 00.021.431c.015.13.036.273.071.395l.042.216c.022.072.036.144.071.215.014.072.043.137.07.202l.085.193.106.187c.036.065.078.115.12.173l.142.165.155.158c.1.1.212.187.311.266.1.079.212.143.325.208a51.6 51.6 0 00.057-1.81v-.36c0-.114-.021-.23-.036-.337l-.05-.323-.07-.31a.593.593 0 00-.07-.171l-.113-.194a.728.728 0 00-.389-.302l-.17-.029h-.084l-.007.015z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "nonzero",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 176 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M173.834.835v20.85h-3.146V.835h3.146zM152.376 21.685h-3.339L156.54.835h3.634l7.503 20.85h-3.339l-5.895-17.062h-.163l-5.904 17.062zm.56-8.165h10.832v2.647h-10.832V13.52zM144.257 21.878a1.977 1.977 0 01-1.436-.59c-.4-.401-.6-.883-.6-1.446 0-.557.2-1.032.6-1.425.401-.4.879-.601 1.436-.601.556 0 1.035.2 1.435.6.401.394.601.87.601 1.426 0 .373-.095.716-.285 1.028-.184.305-.428.55-.733.733a1.943 1.943 0 01-1.018.275zM133.041 21.684V6.047h2.942V8.53h.163a3.78 3.78 0 011.506-1.986c.726-.488 1.548-.732 2.464-.732a13.022 13.022 0 011.293.07v2.912a5.43 5.43 0 00-.652-.112 6.21 6.21 0 00-.936-.07c-.72 0-1.361.152-1.924.457a3.404 3.404 0 00-1.324 1.252c-.326.53-.489 1.134-.489 1.813v9.549h-3.043zM122.954 22c-1.541 0-2.867-.33-3.98-.988-1.107-.665-1.962-1.598-2.566-2.8-.597-1.207-.896-2.623-.896-4.245 0-1.601.299-3.013.896-4.235.604-1.221 1.446-2.175 2.525-2.86 1.086-.686 2.355-1.029 3.807-1.029.883 0 1.738.146 2.566.438.828.292 1.571.75 2.229 1.374.659.625 1.178 1.436 1.558 2.433.38.991.57 2.196.57 3.615v1.079h-12.43v-2.28h9.447c0-.802-.163-1.51-.488-2.128a3.694 3.694 0 00-1.375-1.477c-.584-.36-1.269-.54-2.056-.54-.855 0-1.602.211-2.24.632a4.237 4.237 0 00-1.466 1.629 4.706 4.706 0 00-.509 2.168v1.782c0 1.045.183 1.934.55 2.667.373.733.892 1.293 1.557 1.68.665.38 1.443.57 2.332.57a4.84 4.84 0 001.578-.244c.475-.17.885-.421 1.231-.754.347-.332.611-.743.795-1.231l2.881.519a5.223 5.223 0 01-1.242 2.23c-.591.63-1.334 1.123-2.23 1.476-.889.346-1.904.519-3.044.519zM100.519 21.685v-2.087l8.47-10.761v-.143h-8.195V6.047h11.992v2.22l-8.144 10.628v.143h8.429v2.647h-12.552zM93.706 21.684V6.047h3.044v15.637h-3.044zm1.537-18.05c-.53 0-.984-.176-1.364-.529-.373-.36-.56-.787-.56-1.283 0-.502.187-.93.56-1.282.38-.36.835-.54 1.364-.54.53 0 .98.18 1.354.54.38.352.57.78.57 1.282 0 .496-.19.923-.57 1.283a1.9 1.9 0 01-1.354.53zM82.703 21.684V6.047h2.942V8.53h.163a3.78 3.78 0 011.507-1.986c.726-.488 1.547-.732 2.464-.732a13.016 13.016 0 011.293.07v2.912a5.458 5.458 0 00-.652-.112 6.217 6.217 0 00-.937-.07c-.72 0-1.36.152-1.924.457a3.403 3.403 0 00-1.323 1.252c-.326.53-.489 1.134-.489 1.813v9.549h-3.044zM72.016 22c-1.466 0-2.745-.336-3.838-1.008-1.093-.672-1.941-1.612-2.545-2.82-.604-1.208-.906-2.62-.906-4.235 0-1.622.302-3.04.906-4.256.604-1.215 1.452-2.158 2.545-2.83 1.093-.672 2.372-1.008 3.838-1.008 1.466 0 2.745.336 3.838 1.008 1.093.672 1.941 1.615 2.545 2.83.604 1.215.906 2.634.906 4.256 0 1.615-.302 3.027-.906 4.235-.604 1.208-1.452 2.148-2.545 2.82-1.093.672-2.372 1.008-3.838 1.008zm.01-2.556c.95 0 1.738-.25 2.362-.753.625-.502 1.086-1.17 1.385-2.005.305-.835.458-1.755.458-2.76 0-.997-.153-1.913-.458-2.748-.299-.842-.76-1.517-1.385-2.026-.624-.51-1.412-.764-2.362-.764-.957 0-1.75.255-2.382.764-.624.509-1.09 1.184-1.395 2.026-.298.835-.448 1.75-.448 2.749 0 1.004.15 1.924.448 2.759.306.834.77 1.503 1.395 2.005.631.502 1.425.753 2.382.753zM62.23 6.047V8.49H53.69V6.047h8.541zM55.98 2.3h3.043v14.793c0 .59.088 1.035.265 1.333.176.292.404.492.682.6.285.103.594.154.927.154.244 0 .458-.017.64-.051.184-.034.327-.062.428-.082l.55 2.515a5.118 5.118 0 01-.753.203 5.967 5.967 0 01-1.222.122 5.357 5.357 0 01-2.24-.427 3.842 3.842 0 01-1.68-1.385c-.427-.624-.64-1.408-.64-2.351V2.3zM45.252 22c-1.514 0-2.817-.343-3.91-1.029-1.086-.692-1.92-1.645-2.504-2.86-.584-1.215-.876-2.607-.876-4.174 0-1.588.299-2.99.896-4.205.598-1.221 1.44-2.175 2.525-2.86 1.086-.686 2.365-1.029 3.838-1.029 1.188 0 2.247.22 3.176.662.93.434 1.68 1.045 2.25 1.832.577.788.92 1.707 1.029 2.76h-2.963c-.163-.734-.536-1.365-1.12-1.894-.577-.53-1.35-.794-2.321-.794-.848 0-1.592.224-2.23.672-.63.44-1.123 1.072-1.476 1.893-.353.815-.53 1.778-.53 2.892 0 1.14.174 2.124.52 2.952.346.828.835 1.47 1.466 1.924.638.455 1.388.682 2.25.682.577 0 1.1-.105 1.568-.316a3.202 3.202 0 001.19-.926c.327-.4.554-.882.683-1.446h2.962a5.757 5.757 0 01-.987 2.708c-.55.794-1.286 1.419-2.21 1.874-.915.454-1.991.682-3.226.682zM28.578 22c-1.54 0-2.867-.33-3.98-.988-1.106-.665-1.961-1.598-2.566-2.8-.597-1.207-.895-2.623-.895-4.245 0-1.601.298-3.013.895-4.235.605-1.221 1.446-2.175 2.525-2.86 1.086-.686 2.355-1.029 3.808-1.029.882 0 1.737.146 2.565.438.828.292 1.571.75 2.23 1.374.658.625 1.177 1.436 1.557 2.433.38.991.57 2.196.57 3.615v1.079h-12.43v-2.28h9.448c0-.802-.163-1.51-.49-2.128a3.695 3.695 0 00-1.373-1.477c-.584-.36-1.27-.54-2.057-.54-.855 0-1.602.211-2.24.632a4.236 4.236 0 00-1.466 1.629 4.702 4.702 0 00-.509 2.168v1.782c0 1.045.184 1.934.55 2.667.373.733.893 1.293 1.558 1.68.665.38 1.442.57 2.331.57a4.84 4.84 0 001.578-.244c.475-.17.886-.421 1.232-.754.346-.332.61-.743.794-1.231l2.881.519a5.217 5.217 0 01-1.242 2.23c-.59.63-1.334 1.123-2.23 1.476-.889.346-1.903.519-3.044.519zM5.4.835l5.803 16.982h.234L17.24.835h3.4l-7.503 20.85H9.503L2 .835h3.4z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Color,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|