@lobehub/icons 1.80.0 → 1.82.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 +46 -42
- package/es/Flowith/components/Avatar.d.ts +5 -0
- package/es/Flowith/components/Avatar.js +27 -0
- package/es/Flowith/components/Combine.d.ts +5 -0
- package/es/Flowith/components/Combine.js +26 -0
- package/es/Flowith/components/Mono.d.ts +3 -0
- package/es/Flowith/components/Mono.js +42 -0
- package/es/Flowith/components/Text.d.ts +3 -0
- package/es/Flowith/components/Text.js +40 -0
- package/es/Flowith/index.d.ts +13 -0
- package/es/Flowith/index.js +14 -0
- package/es/Flowith/style.d.ts +4 -0
- package/es/Flowith/style.js +4 -0
- package/es/Infinigence/components/Avatar.d.ts +5 -0
- package/es/Infinigence/components/Avatar.js +26 -0
- package/es/Infinigence/components/Color.d.ts +3 -0
- package/es/Infinigence/components/Color.js +43 -0
- package/es/Infinigence/components/Combine.d.ts +7 -0
- package/es/Infinigence/components/Combine.js +32 -0
- package/es/Infinigence/components/Mono.d.ts +3 -0
- package/es/Infinigence/components/Mono.js +43 -0
- package/es/Infinigence/components/Text.d.ts +3 -0
- package/es/Infinigence/components/Text.js +44 -0
- package/es/Infinigence/components/TextCn.d.ts +3 -0
- package/es/Infinigence/components/TextCn.js +44 -0
- package/es/Infinigence/index.d.ts +17 -0
- package/es/Infinigence/index.js +18 -0
- package/es/Infinigence/style.d.ts +4 -0
- package/es/Infinigence/style.js +4 -0
- package/es/Lambda/components/Avatar.d.ts +5 -0
- package/es/Lambda/components/Avatar.js +27 -0
- package/es/Lambda/components/Combine.d.ts +5 -0
- package/es/Lambda/components/Combine.js +26 -0
- package/es/Lambda/components/Mono.d.ts +3 -0
- package/es/Lambda/components/Mono.js +41 -0
- package/es/Lambda/components/Text.d.ts +3 -0
- package/es/Lambda/components/Text.js +40 -0
- package/es/Lambda/index.d.ts +13 -0
- package/es/Lambda/index.js +14 -0
- package/es/Lambda/style.d.ts +4 -0
- package/es/Lambda/style.js +4 -0
- package/es/MCP/components/Avatar.d.ts +5 -0
- package/es/MCP/components/Avatar.js +27 -0
- package/es/MCP/components/Combine.d.ts +5 -0
- package/es/MCP/components/Combine.js +29 -0
- package/es/MCP/components/Mono.d.ts +3 -0
- package/es/MCP/components/Mono.js +43 -0
- package/es/MCP/components/Text.d.ts +3 -0
- package/es/MCP/components/Text.js +40 -0
- package/es/MCP/index.d.ts +13 -0
- package/es/MCP/index.js +14 -0
- package/es/MCP/style.d.ts +4 -0
- package/es/MCP/style.js +4 -0
- package/es/Make/components/Avatar.d.ts +5 -0
- package/es/Make/components/Avatar.js +26 -0
- package/es/Make/components/Color.d.ts +3 -0
- package/es/Make/components/Color.js +135 -0
- package/es/Make/components/Combine.d.ts +7 -0
- package/es/Make/components/Combine.js +32 -0
- package/es/Make/components/Mono.d.ts +3 -0
- package/es/Make/components/Mono.js +45 -0
- package/es/Make/components/Text.d.ts +3 -0
- package/es/Make/components/Text.js +42 -0
- package/es/Make/index.d.ts +15 -0
- package/es/Make/index.js +16 -0
- package/es/Make/style.d.ts +4 -0
- package/es/Make/style.js +4 -0
- package/es/Manus/components/Avatar.d.ts +5 -0
- package/es/Manus/components/Avatar.js +28 -0
- package/es/Manus/components/Combine.d.ts +5 -0
- package/es/Manus/components/Combine.js +26 -0
- package/es/Manus/components/Mono.d.ts +3 -0
- package/es/Manus/components/Mono.js +46 -0
- package/es/Manus/components/Text.d.ts +3 -0
- package/es/Manus/components/Text.js +40 -0
- package/es/Manus/index.d.ts +13 -0
- package/es/Manus/index.js +14 -0
- package/es/Manus/style.d.ts +4 -0
- package/es/Manus/style.js +4 -0
- package/es/Monica/components/Avatar.d.ts +5 -0
- package/es/Monica/components/Avatar.js +26 -0
- package/es/Monica/components/Color.d.ts +3 -0
- package/es/Monica/components/Color.js +73 -0
- package/es/Monica/components/Combine.d.ts +7 -0
- package/es/Monica/components/Combine.js +32 -0
- package/es/Monica/components/Mono.d.ts +3 -0
- package/es/Monica/components/Mono.js +44 -0
- package/es/Monica/components/Text.d.ts +3 -0
- package/es/Monica/components/Text.js +40 -0
- package/es/Monica/index.d.ts +16 -0
- package/es/Monica/index.js +17 -0
- package/es/Monica/style.d.ts +5 -0
- package/es/Monica/style.js +5 -0
- package/es/N8n/components/Avatar.d.ts +5 -0
- package/es/N8n/components/Avatar.js +26 -0
- package/es/N8n/components/Color.d.ts +3 -0
- package/es/N8n/components/Color.js +42 -0
- package/es/N8n/components/Combine.d.ts +7 -0
- package/es/N8n/components/Combine.js +32 -0
- package/es/N8n/components/Mono.d.ts +3 -0
- package/es/N8n/components/Mono.js +42 -0
- package/es/N8n/components/Text.d.ts +3 -0
- package/es/N8n/components/Text.js +40 -0
- package/es/N8n/index.d.ts +15 -0
- package/es/N8n/index.js +16 -0
- package/es/N8n/style.d.ts +4 -0
- package/es/N8n/style.js +4 -0
- package/es/OpenWebUI/components/Avatar.d.ts +5 -0
- package/es/OpenWebUI/components/Avatar.js +28 -0
- package/es/OpenWebUI/components/Combine.d.ts +5 -0
- package/es/OpenWebUI/components/Combine.js +26 -0
- package/es/OpenWebUI/components/Mono.d.ts +3 -0
- package/es/OpenWebUI/components/Mono.js +44 -0
- package/es/OpenWebUI/components/Text.d.ts +3 -0
- package/es/OpenWebUI/components/Text.js +40 -0
- package/es/OpenWebUI/index.d.ts +13 -0
- package/es/OpenWebUI/index.js +14 -0
- package/es/OpenWebUI/style.d.ts +4 -0
- package/es/OpenWebUI/style.js +4 -0
- package/es/Railway/components/Avatar.d.ts +5 -0
- package/es/Railway/components/Avatar.js +27 -0
- package/es/Railway/components/Combine.d.ts +5 -0
- package/es/Railway/components/Combine.js +26 -0
- package/es/Railway/components/Mono.d.ts +3 -0
- package/es/Railway/components/Mono.js +43 -0
- package/es/Railway/components/Text.d.ts +3 -0
- package/es/Railway/components/Text.js +40 -0
- package/es/Railway/index.d.ts +14 -0
- package/es/Railway/index.js +15 -0
- package/es/Railway/style.d.ts +5 -0
- package/es/Railway/style.js +5 -0
- package/es/Yandex/components/Avatar.d.ts +5 -0
- package/es/Yandex/components/Avatar.js +28 -0
- package/es/Yandex/components/Combine.d.ts +5 -0
- package/es/Yandex/components/Combine.js +26 -0
- package/es/Yandex/components/Mono.d.ts +3 -0
- package/es/Yandex/components/Mono.js +41 -0
- package/es/Yandex/components/Text.d.ts +3 -0
- package/es/Yandex/components/Text.js +40 -0
- package/es/Yandex/index.d.ts +13 -0
- package/es/Yandex/index.js +14 -0
- package/es/Yandex/style.d.ts +4 -0
- package/es/Yandex/style.js +4 -0
- package/es/features/providerConfig.js +4 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +11 -0
- package/es/icons.js +11 -0
- package/es/toc.js +200 -0
- package/package.json +2 -2
@@ -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 2h20v20H2V2zm1.768 18.237h16.459V3.761H3.768v16.476zm3.515-14.91l3.479 6.176-3.871 7.154h2.493l2.58-4.883 2.747 4.883h2.54L9.82 5.324l-2.538.002z"
|
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: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 108 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: "M6.732 17.667h8.292v4.002H2V.6h4.732v17.068zM50.207 6.04a5.415 5.415 0 00-2.877.75 6.748 6.748 0 00-1.949 1.839h-.062c-.65-1.594-2.196-2.595-4.145-2.595-2.598 0-3.929 1.437-4.579 2.408h-.093l-.216-2.064h-3.835v15.286h4.578v-8.905a3.157 3.157 0 01.185-1.187c.278-.787.99-1.72 2.196-1.72 1.486 0 2.167 1.313 2.167 3.251v8.566h4.579v-8.928c-.003-.414.06-.826.184-1.221.14-.473.426-.888.815-1.185.389-.298.862-.463 1.35-.472 1.517 0 2.23 1.281 2.23 3.503v8.314h4.576v-9.013c0-4.563-2.197-6.627-5.104-6.627zM85.71 0h4.703v21.656H86.36l-.216-2.25h-.062C85.12 21.125 83.296 22 81.346 22c-3.588 0-6.465-3.093-6.465-7.846-.031-5.158 3.154-8.128 6.775-8.128 1.857 0 3.31.657 3.99 1.72h.064V0zm0 12.84a7.843 7.843 0 00-.063-.842c-.278-1.282-1.3-2.345-2.752-2.345-2.136 0-3.248 1.938-3.248 4.346 0 2.594 1.268 4.22 3.217 4.22a2.733 2.733 0 001.776-.632c.5-.415.839-.994.957-1.637a4.06 4.06 0 00.126-1.095l-.013-2.014zm20.29-.22v9.036h-4.054l-.278-1.531h-.094C100.582 21.343 99.028 22 97.226 22c-3.074 0-4.905-2.25-4.905-4.69 0-3.97 3.998-5.136 8.91-5.136v-.917c0-.811-.434-1.97-2.762-1.97a8.72 8.72 0 00-3.552.812l-1.508-2.718c1.055-.593 3.134-1.344 5.899-1.344 5.059 0 6.692 3.001 6.692 6.596v-.013zm-4.613 2.364c-2.599 0-4.706.178-4.717 2.1 0 1.227 1.115 1.557 2.17 1.557a2.553 2.553 0 001.505-.476c.441-.315.773-.76.948-1.275a3.41 3.41 0 00.094-.812v-1.095zm-28.325-1.25c0 5.498-3.42 8.245-6.84 8.245-1.74 0-3.419-.656-4.488-2.466h-.044l-.181 2.122h-3.82V.013h4.636v8.175h.06c.885-1.313 2.441-2.154 4.519-2.154 3.573 0 6.197 3.028 6.169 7.713l-.01-.013zm-4.735.189c0-2.364-1.04-4.25-3.204-4.25-1.252 0-2.412.97-2.718 2.343-.061.287-.092.58-.09.875v2.25c-.003.284.027.567.09.843a2.85 2.85 0 00.97 1.604c.494.408 1.11.635 1.748.644 1.996.013 3.214-1.55 3.214-4.296l-.01-.013zm-37.94-1.313v9.035H26.35l-.278-1.53h-.094c-.995 1.218-2.546 1.875-4.347 1.875-3.077.015-4.896-2.227-4.896-4.667 0-3.97 4-5.136 8.91-5.136v-.93c0-.811-.433-1.97-2.761-1.97a8.7 8.7 0 00-3.55.812l-1.51-2.718c1.058-.593 3.137-1.344 5.901-1.344 5.05 0 6.682 3.001 6.682 6.596l-.019-.023zm-4.612 2.363c-2.599 0-4.706.179-4.717 2.1 0 1.227 1.115 1.558 2.17 1.558a2.554 2.554 0 001.506-.477c.44-.314.771-.76.947-1.274.064-.266.095-.539.094-.812v-1.095z"
|
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,27 @@
|
|
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 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
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY,
|
24
|
+
color: '#000'
|
25
|
+
}, rest));
|
26
|
+
});
|
27
|
+
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,43 @@
|
|
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: "M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313 4.313 0 016.016 0 4.116 4.116 0 011.204 3.54 4.3 4.3 0 013.609 1.18l.05.05a4.115 4.115 0 010 5.9l-8.706 8.537a.274.274 0 000 .393l1.788 1.754a.823.823 0 010 1.18.863.863 0 01-1.203 0l-1.788-1.753a1.92 1.92 0 010-2.754l8.706-8.538a2.47 2.47 0 000-3.54l-.05-.049a2.588 2.588 0 00-3.607-.003l-7.172 7.034-.002.002-.098.097a.863.863 0 01-1.204 0 .823.823 0 010-1.18l7.273-7.133a2.47 2.47 0 00-.003-3.537z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
d: "M14.485 4.703a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a4.115 4.115 0 000 5.9 4.314 4.314 0 006.016 0l7.12-6.982a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a2.588 2.588 0 01-3.61 0 2.47 2.47 0 010-3.54l7.12-6.982z"
|
40
|
+
})]
|
41
|
+
}));
|
42
|
+
});
|
43
|
+
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 335 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 .292h4.736l6.341 15.503h.25L19.67.292h4.736v21.394H20.69V6.99h-.198L14.59 21.624h-2.775L5.911 6.957h-.198v14.73H2V.291zM35.44 22c-1.565 0-2.92-.345-4.068-1.034-1.148-.69-2.038-1.654-2.67-2.894-.626-1.24-.939-2.688-.939-4.345 0-1.658.313-3.11.939-4.357.632-1.246 1.522-2.214 2.67-2.904 1.147-.69 2.503-1.034 4.068-1.034 1.564 0 2.92.345 4.068 1.034 1.147.69 2.033 1.658 2.66 2.904.632 1.247.949 2.7.949 4.357s-.317 3.105-.95 4.345c-.626 1.24-1.512 2.204-2.66 2.894C38.36 21.656 37.005 22 35.44 22zm.02-3.03c.849 0 1.558-.233 2.129-.7.57-.473.994-1.107 1.272-1.9.285-.795.427-1.68.427-2.654 0-.982-.142-1.87-.427-2.664-.278-.8-.703-1.438-1.272-1.911-.57-.474-1.28-.71-2.128-.71-.87 0-1.593.236-2.17.71-.57.473-.998 1.11-1.283 1.911-.278.794-.417 1.682-.417 2.664 0 .975.14 1.86.417 2.653.285.794.713 1.428 1.283 1.901.577.467 1.3.7 2.17.7zm16.806 2.998c-1.258 0-2.384-.323-3.379-.97-.994-.649-1.78-1.589-2.357-2.822-.577-1.232-.866-2.73-.866-4.491 0-1.783.292-3.287.876-4.513.591-1.233 1.387-2.163 2.389-2.79 1.001-.633 2.117-.95 3.348-.95.938 0 1.71.16 2.315.48.605.314 1.085.694 1.44 1.14.355.438.63.852.824 1.242h.156V.292h3.786v21.394h-3.713V19.16h-.23c-.194.39-.476.804-.844 1.243-.369.431-.855.8-1.46 1.107-.605.306-1.367.46-2.285.46zm1.054-3.102c.8 0 1.481-.216 2.044-.648.564-.438.991-1.048 1.283-1.828.292-.78.438-1.688.438-2.726s-.146-1.94-.438-2.706c-.285-.766-.71-1.361-1.272-1.786-.556-.425-1.242-.637-2.055-.637-.842 0-1.544.219-2.107.658-.563.438-.987 1.044-1.272 1.817-.286.774-.428 1.658-.428 2.654 0 1.003.142 1.897.428 2.685.291.78.72 1.396 1.282 1.849.57.445 1.27.668 2.097.668zM71.915 22c-1.607 0-2.994-.334-4.162-1.003-1.161-.676-2.055-1.63-2.68-2.862-.626-1.24-.94-2.699-.94-4.377 0-1.65.314-3.1.94-4.346.632-1.253 1.515-2.228 2.649-2.925 1.133-.703 2.465-1.055 3.994-1.055.988 0 1.92.16 2.796.48.883.314 1.662.801 2.336 1.463.682.662 1.217 1.504 1.606 2.528.39 1.017.585 2.229.585 3.635v1.16H65.907v-2.549h9.512c-.007-.724-.163-1.368-.47-1.932a3.416 3.416 0 00-1.282-1.348c-.543-.327-1.175-.491-1.899-.491-.771 0-1.45.188-2.033.564-.584.37-1.04.857-1.367 1.463a4.209 4.209 0 00-.49 1.974v2.225c0 .933.17 1.734.511 2.402.341.662.817 1.17 1.429 1.526.612.348 1.328.522 2.149.522a4.56 4.56 0 001.491-.23c.445-.16.831-.393 1.158-.7a2.92 2.92 0 00.74-1.138l3.526.397a5.505 5.505 0 01-1.273 2.444c-.618.69-1.41 1.226-2.377 1.609-.967.376-2.073.564-3.317.564zM86.009.292v21.394h-3.776V.293h3.776zm29.619 7.219h-3.901a4.862 4.862 0 00-.615-1.703 4.578 4.578 0 00-1.116-1.274 4.652 4.652 0 00-1.523-.784 5.934 5.934 0 00-1.826-.271c-1.161 0-2.19.292-3.087.877-.897.578-1.599 1.428-2.107 2.549-.507 1.114-.761 2.476-.761 4.084 0 1.637.254 3.016.761 4.137.515 1.114 1.217 1.957 2.107 2.528.897.564 1.923.846 3.077.846.64 0 1.238-.083 1.794-.25a4.914 4.914 0 001.513-.763 4.653 4.653 0 001.783-2.904l3.901.02a8.414 8.414 0 01-.949 2.863 8.436 8.436 0 01-1.888 2.361 8.709 8.709 0 01-2.733 1.588c-1.043.376-2.2.564-3.473.564-1.877 0-3.553-.435-5.027-1.306-1.475-.87-2.636-2.127-3.484-3.771-.849-1.643-1.272-3.614-1.272-5.913 0-2.305.427-4.276 1.282-5.912.855-1.644 2.02-2.9 3.494-3.771C103.052.436 104.721 0 106.585 0c1.189 0 2.295.167 3.317.501a8.499 8.499 0 012.733 1.473 7.85 7.85 0 011.971 2.361c.521.926.862 1.985 1.022 3.176zM125.993 22c-1.564 0-2.92-.345-4.068-1.034-1.147-.69-2.037-1.654-2.67-2.894-.626-1.24-.938-2.688-.938-4.345 0-1.658.312-3.11.938-4.357.633-1.246 1.523-2.214 2.67-2.904 1.148-.69 2.504-1.034 4.068-1.034 1.565 0 2.921.345 4.068 1.034 1.147.69 2.034 1.658 2.66 2.904.632 1.247.949 2.7.949 4.357s-.317 3.105-.949 4.345c-.626 1.24-1.513 2.204-2.66 2.894-1.147.69-2.503 1.034-4.068 1.034zm.021-3.03c.848 0 1.558-.233 2.128-.7.57-.473.994-1.107 1.272-1.9.285-.795.428-1.68.428-2.654 0-.982-.143-1.87-.428-2.664-.278-.8-.702-1.438-1.272-1.911-.57-.474-1.28-.71-2.128-.71-.869 0-1.592.236-2.169.71-.571.473-.998 1.11-1.283 1.911-.278.794-.418 1.682-.418 2.664 0 .975.14 1.86.418 2.653.285.794.712 1.428 1.283 1.901.577.467 1.3.7 2.169.7zm14.637-6.685v9.401h-3.776V5.641h3.608v2.726h.188a4.585 4.585 0 011.763-2.141c.813-.53 1.819-.794 3.015-.794 1.105 0 2.068.237 2.889.71.827.474 1.467 1.16 1.919 2.058.459.899.685 1.989.678 3.27v10.216h-3.776v-9.631c0-1.072-.278-1.912-.835-2.518-.549-.605-1.31-.908-2.284-.908-.66 0-1.248.146-1.762.438-.508.286-.908.7-1.2 1.243-.285.544-.427 1.202-.427 1.975zm22.122-6.644v2.925h-9.21V5.641h9.21zm-6.936-3.844h3.776V16.86c0 .509.076.899.229 1.17.16.265.369.446.626.544.257.097.542.146.855.146a3.7 3.7 0 00.647-.052c.202-.035.355-.067.459-.094l.636 2.956c-.201.07-.49.146-.865.23a7.124 7.124 0 01-1.356.146c-.946.028-1.798-.115-2.556-.428a3.973 3.973 0 01-1.804-1.484c-.438-.668-.654-1.504-.647-2.507V1.797zM172.851 22c-1.606 0-2.993-.334-4.161-1.003-1.162-.676-2.055-1.63-2.681-2.862-.626-1.24-.939-2.699-.939-4.377 0-1.65.313-3.1.939-4.346.633-1.253 1.516-2.228 2.649-2.925 1.134-.703 2.465-1.055 3.995-1.055.988 0 1.919.16 2.796.48a6.32 6.32 0 012.336 1.463c.681.662 1.217 1.504 1.606 2.528.39 1.017.584 2.229.584 3.635v1.16h-13.131v-2.549h9.512c-.007-.724-.163-1.368-.469-1.932a3.418 3.418 0 00-1.283-1.348c-.542-.327-1.175-.491-1.898-.491-.772 0-1.45.188-2.034.564a3.88 3.88 0 00-1.367 1.463 4.212 4.212 0 00-.49 1.974v2.225c0 .933.17 1.734.511 2.402.341.662.817 1.17 1.429 1.526.612.348 1.328.522 2.148.522.55 0 1.047-.077 1.492-.23.445-.16.831-.393 1.158-.7.327-.306.574-.686.74-1.138l3.526.397a5.52 5.52 0 01-1.272 2.444c-.619.69-1.412 1.226-2.379 1.609-.966.376-2.072.564-3.317.564zm13.062-16.359l3.233 5.923 3.286-5.923h3.995l-4.83 8.023 4.913 8.022h-3.974l-3.39-5.776-3.358 5.776h-4.006l4.882-8.022-4.757-8.023h4.006zm21.434 0v2.925h-9.21V5.641h9.21zm-6.936-3.844h3.776V16.86c0 .509.076.899.229 1.17.16.265.369.446.626.544a2.4 2.4 0 00.855.146 3.7 3.7 0 00.647-.052c.202-.035.355-.067.459-.094l.636 2.956c-.201.07-.49.146-.866.23-.368.083-.82.132-1.356.146-.945.028-1.797-.115-2.555-.428a3.973 3.973 0 01-1.804-1.484c-.438-.668-.654-1.504-.647-2.507V1.797zm17.546 19.89V.291h8.011c1.641 0 3.018.307 4.13.92 1.12.613 1.965 1.455 2.535 2.528.577 1.065.866 2.277.866 3.635 0 1.372-.289 2.59-.866 3.656-.577 1.066-1.429 1.905-2.555 2.518-1.127.606-2.514.909-4.162.909h-5.309v-3.186h4.787c.96 0 1.745-.168 2.357-.502.612-.334 1.064-.794 1.356-1.379.3-.585.449-1.257.449-2.016 0-.759-.149-1.428-.449-2.006-.292-.578-.747-1.027-1.366-1.347-.612-.327-1.401-.491-2.368-.491h-3.546v18.155h-3.87zm18.736 0V5.64h3.66v2.674h.169c.29-.926.792-1.64 1.502-2.141.716-.509 1.533-.763 2.451-.763.208 0 .44.01.697.032.266.013.484.038.658.073v3.478c-.159-.055-.413-.104-.762-.146a6.967 6.967 0 00-.991-.073c-.689 0-1.307.15-1.857.45-.542.292-.97.699-1.282 1.221-.312.523-.468 1.125-.468 1.808v9.432h-3.777zm17.973.313c-1.563 0-2.919-.345-4.066-1.034-1.147-.69-2.038-1.654-2.671-2.894-.627-1.24-.939-2.688-.939-4.345 0-1.658.312-3.11.939-4.357.633-1.246 1.524-2.214 2.671-2.904 1.147-.69 2.503-1.034 4.066-1.034 1.566 0 2.922.345 4.069 1.034 1.148.69 2.035 1.658 2.659 2.904.633 1.247.948 2.7.948 4.357s-.315 3.105-.948 4.345c-.624 1.24-1.511 2.204-2.659 2.894-1.147.69-2.503 1.034-4.069 1.034zm.021-3.03c.848 0 1.558-.233 2.13-.7.569-.473.994-1.107 1.27-1.9.287-.795.428-1.68.428-2.654 0-.982-.141-1.87-.428-2.664-.276-.8-.701-1.438-1.27-1.911-.572-.474-1.282-.71-2.13-.71-.868 0-1.591.236-2.169.71-.569.473-.997 1.11-1.282 1.911-.278.794-.419 1.682-.419 2.664 0 .975.141 1.86.419 2.653.285.794.713 1.428 1.282 1.901.578.467 1.301.7 2.169.7zM273.55 5.641v2.925h-9.213V5.641h9.213zm-6.936-3.844h3.775V16.86c0 .509.077.899.23 1.17.159.265.367.446.624.544.257.097.541.146.856.146.236 0 .45-.018.646-.052.202-.035.355-.067.459-.094l.636 2.956c-.202.07-.489.146-.866.23-.367.083-.82.132-1.355.146-.945.028-1.799-.115-2.555-.428a3.97 3.97 0 01-1.805-1.484c-.437-.668-.655-1.504-.645-2.507V1.797zM283.524 22c-1.567 0-2.922-.345-4.069-1.034-1.148-.69-2.038-1.654-2.671-2.894-.625-1.24-.94-2.688-.94-4.345 0-1.658.315-3.11.94-4.357.633-1.246 1.523-2.214 2.671-2.904 1.147-.69 2.502-1.034 4.069-1.034 1.563 0 2.919.345 4.066 1.034 1.147.69 2.035 1.658 2.659 2.904.633 1.247.951 2.7.951 4.357s-.318 3.105-.951 4.345c-.624 1.24-1.512 2.204-2.659 2.894-1.147.69-2.503 1.034-4.066 1.034zm.018-3.03c.851 0 1.557-.233 2.13-.7.569-.473.994-1.107 1.272-1.9.285-.795.429-1.68.429-2.654 0-.982-.144-1.87-.429-2.664-.278-.8-.703-1.438-1.272-1.911-.573-.474-1.279-.71-2.13-.71-.869 0-1.591.236-2.169.71-.569.473-.997 1.11-1.282 1.911-.278.794-.416 1.682-.416 2.664 0 .975.138 1.86.416 2.653.285.794.713 1.428 1.282 1.901.578.467 1.3.7 2.169.7zm17.85 3.03c-1.6 0-2.971-.352-4.119-1.055-1.141-.704-2.022-1.675-2.64-2.915-.612-1.246-.918-2.681-.918-4.304 0-1.629.312-3.067.94-4.314.624-1.253 1.508-2.228 2.649-2.925 1.147-.703 2.503-1.055 4.066-1.055 1.301 0 2.454.24 3.454.72 1.007.474 1.812 1.146 2.408 2.017.6.864.94 1.873 1.022 3.03h-3.607a3.477 3.477 0 00-1.043-1.933c-.542-.522-1.27-.784-2.182-.784-.771 0-1.447.21-2.031.627-.585.411-1.041 1.003-1.368 1.776-.318.773-.48 1.7-.48 2.779 0 1.093.162 2.034.48 2.82.321.78.768 1.383 1.346 1.807.585.418 1.27.627 2.053.627.557 0 1.056-.104 1.493-.313a3.018 3.018 0 001.117-.93c.297-.404.502-.895.615-1.473h3.607c-.088 1.135-.422 2.142-1 3.02-.578.87-1.362 1.552-2.356 2.047-.994.487-2.163.731-3.506.731zm16.953 0c-1.567 0-2.922-.345-4.07-1.034-1.147-.69-2.037-1.654-2.667-2.894-.628-1.24-.94-2.688-.94-4.345 0-1.658.312-3.11.94-4.357.63-1.246 1.52-2.214 2.667-2.904 1.148-.69 2.503-1.034 4.07-1.034 1.563 0 2.919.345 4.066 1.034 1.147.69 2.034 1.658 2.662 2.904.63 1.247.948 2.7.948 4.357s-.318 3.105-.948 4.345c-.628 1.24-1.515 2.204-2.662 2.894S319.908 22 318.345 22zm.021-3.03c.848 0 1.557-.233 2.126-.7.57-.473.995-1.107 1.273-1.9.285-.795.429-1.68.429-2.654 0-.982-.144-1.87-.429-2.664-.278-.8-.703-1.438-1.273-1.911-.569-.474-1.278-.71-2.126-.71-.869 0-1.594.236-2.169.71-.572.473-1.001 1.11-1.285 1.911-.279.794-.416 1.682-.416 2.664 0 .975.137 1.86.416 2.653.284.794.713 1.428 1.285 1.901.575.467 1.3.7 2.169.7zM333 .292v21.394h-3.776V.293H333z"
|
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;
|
package/es/MCP/index.js
ADDED
@@ -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;
|
package/es/MCP/style.js
ADDED
@@ -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 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
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|
@@ -0,0 +1,135 @@
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
11
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
14
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
15
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
16
|
+
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; }
|
17
|
+
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; }
|
18
|
+
import { forwardRef } from 'react';
|
19
|
+
import { useFillIds } from "../../hooks/useFillId";
|
20
|
+
import { TITLE } from "../style";
|
21
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
23
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
24
|
+
var _ref$size = _ref.size,
|
25
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
26
|
+
style = _ref.style,
|
27
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
28
|
+
var _useFillIds = useFillIds(TITLE, 3),
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 3),
|
30
|
+
a = _useFillIds2[0],
|
31
|
+
b = _useFillIds2[1],
|
32
|
+
c = _useFillIds2[2];
|
33
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
34
|
+
height: size,
|
35
|
+
ref: ref,
|
36
|
+
style: _objectSpread({
|
37
|
+
flex: 'none',
|
38
|
+
lineHeight: 1
|
39
|
+
}, style),
|
40
|
+
viewBox: "0 0 24 24",
|
41
|
+
width: size,
|
42
|
+
xmlns: "http://www.w3.org/2000/svg"
|
43
|
+
}, rest), {}, {
|
44
|
+
children: [/*#__PURE__*/_jsx("title", {
|
45
|
+
children: TITLE
|
46
|
+
}), /*#__PURE__*/_jsx("path", {
|
47
|
+
d: "M6.989 4.036L.062 17.818a.577.577 0 00.257.774l3.733 1.876a.577.577 0 00.775-.256L11.753 6.43a.577.577 0 00-.257-.775L7.763 3.78a.575.575 0 00-.774.257z",
|
48
|
+
fill: a.fill
|
49
|
+
}), /*#__PURE__*/_jsx("path", {
|
50
|
+
d: "M19.245 3.832h4.179c.318 0 .577.26.577.577v15.425a.578.578 0 01-.577.578h-4.179a.578.578 0 01-.577-.578V4.41c0-.318.259-.577.577-.577z",
|
51
|
+
fill: b.fill
|
52
|
+
}), /*#__PURE__*/_jsx("path", {
|
53
|
+
d: "M12.815 4.085L9.85 19.108a.576.576 0 00.453.677l4.095.826c.314.063.62-.14.681-.454l2.964-15.022a.577.577 0 00-.453-.677l-4.096-.827a.577.577 0 00-.68.454z",
|
54
|
+
fill: c.fill
|
55
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
56
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
57
|
+
gradientUnits: "userSpaceOnUse",
|
58
|
+
id: a.id,
|
59
|
+
x1: "1.5",
|
60
|
+
x2: "12",
|
61
|
+
y1: "19.5",
|
62
|
+
y2: "0",
|
63
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
64
|
+
stopColor: "#F0F"
|
65
|
+
}), /*#__PURE__*/_jsx("stop", {
|
66
|
+
offset: ".17",
|
67
|
+
stopColor: "#E90CF9"
|
68
|
+
}), /*#__PURE__*/_jsx("stop", {
|
69
|
+
offset: ".54",
|
70
|
+
stopColor: "#C023ED"
|
71
|
+
}), /*#__PURE__*/_jsx("stop", {
|
72
|
+
offset: ".73",
|
73
|
+
stopColor: "#B02DE9"
|
74
|
+
}), /*#__PURE__*/_jsx("stop", {
|
75
|
+
offset: "1",
|
76
|
+
stopColor: "#B02DE9"
|
77
|
+
})]
|
78
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
79
|
+
gradientUnits: "userSpaceOnUse",
|
80
|
+
id: b.id,
|
81
|
+
x1: "0",
|
82
|
+
x2: "24",
|
83
|
+
y1: "24",
|
84
|
+
y2: "0",
|
85
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
86
|
+
stopColor: "#B02DE9"
|
87
|
+
}), /*#__PURE__*/_jsx("stop", {
|
88
|
+
offset: ".02",
|
89
|
+
stopColor: "#B02DE9"
|
90
|
+
}), /*#__PURE__*/_jsx("stop", {
|
91
|
+
offset: ".8",
|
92
|
+
stopColor: "#6D00CC"
|
93
|
+
}), /*#__PURE__*/_jsx("stop", {
|
94
|
+
offset: "1",
|
95
|
+
stopColor: "#6D00CC"
|
96
|
+
})]
|
97
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
98
|
+
gradientUnits: "userSpaceOnUse",
|
99
|
+
id: c.id,
|
100
|
+
x1: "0",
|
101
|
+
x2: "24",
|
102
|
+
y1: "24",
|
103
|
+
y2: "0",
|
104
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
105
|
+
stopColor: "#F0F"
|
106
|
+
}), /*#__PURE__*/_jsx("stop", {
|
107
|
+
offset: ".02",
|
108
|
+
stopColor: "#F0F"
|
109
|
+
}), /*#__PURE__*/_jsx("stop", {
|
110
|
+
offset: ".09",
|
111
|
+
stopColor: "#E90CF9"
|
112
|
+
}), /*#__PURE__*/_jsx("stop", {
|
113
|
+
offset: ".23",
|
114
|
+
stopColor: "#C023ED"
|
115
|
+
}), /*#__PURE__*/_jsx("stop", {
|
116
|
+
offset: ".3",
|
117
|
+
stopColor: "#B02DE9"
|
118
|
+
}), /*#__PURE__*/_jsx("stop", {
|
119
|
+
offset: ".42",
|
120
|
+
stopColor: "#A42BE3"
|
121
|
+
}), /*#__PURE__*/_jsx("stop", {
|
122
|
+
offset: ".63",
|
123
|
+
stopColor: "#8626D5"
|
124
|
+
}), /*#__PURE__*/_jsx("stop", {
|
125
|
+
offset: ".85",
|
126
|
+
stopColor: "#6021C3"
|
127
|
+
}), /*#__PURE__*/_jsx("stop", {
|
128
|
+
offset: "1",
|
129
|
+
stopColor: "#6021C3"
|
130
|
+
})]
|
131
|
+
})]
|
132
|
+
})]
|
133
|
+
}));
|
134
|
+
});
|
135
|
+
export default Icon;
|
@@ -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,32 @@
|
|
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 = ["type"];
|
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 IconCombine from "../../features/IconCombine";
|
14
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: SPACE_MULTIPLE,
|
29
|
+
textMultiple: TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|