@lobehub/icons 1.81.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 +27 -23
- 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/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,46 @@
|
|
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: "M8.047 1.163A.936.936 0 119.863.709c.063.256.132.508.2.76l.005.016c.158.58.315 1.16.416 1.771a.936.936 0 11-1.847.305c-.085-.517-.203-.949-.346-1.473v-.002c-.075-.274-.157-.573-.244-.923zM3.67 2.753a.936.936 0 00.428 1.252c.667.327 1.245.65 1.818 1.295a.936.936 0 001.4-1.242C6.5 3.138 5.66 2.687 4.922 2.325a.936.936 0 00-1.252.428z"
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
clipRule: "evenodd",
|
40
|
+
d: "M15.672 21.284c-.17-.036-.356-.075-.546-.117-.7-.152-1.65-.365-2.097-.513l-.033-.011-.032-.012c-.198-.074-.534-.156-1.09-.283l-.103-.023c-.48-.11-1.07-.244-1.63-.413-.578-.176-1.294-.437-1.903-.862-.638-.446-1.364-1.232-1.404-2.412a5.024 5.024 0 01.009-.51 2.716 2.716 0 01-.65-1.24 2.632 2.632 0 01.03-1.275c.083-.317.21-.594.316-.8.036-.07.073-.14.11-.206-.35-.111-.747-.248-1.133-.412-.503-.215-1.218-.57-1.752-1.141a2.798 2.798 0 01-.71-1.327 2.55 2.55 0 01.226-1.68c.604-1.208 1.757-1.635 2.782-1.672.926-.033 1.912.226 2.795.536.804.282 1.955.807 2.933 1.264.322-.529.747-1.126 1.149-1.608l.08-.095.092-.084a3.43 3.43 0 012.06-.887 3.559 3.559 0 011.059.08l.036.008.023.007h.003l.002.001s.002 0-.477 1.786l.479-1.786.208.058.19.102c.964.516 1.238 1.406 1.31 1.876a2.9 2.9 0 01-.008.903l-.003.018v.005l-1.858-.37 1.857.371-.01.054-.3 1.19c-.058.292-.065.459-.062.547a.286.286 0 00.016.107v.001c.013.03.043.095.154.263.043.066.088.131.144.214l.058.084c.08.118.174.257.274.412.623.97.684 1.902.68 2.499v.026l.238.078.103.032.153.049c.076.024.173.056.267.09.11-.202.407-.636.945-.636.702 0 .99.987.99.987.275 1.838-.98 8.013-2.794 9.164-1.386.88-2.413-.427-3.176-2.437zM8.72 12.868c.118-.119.47-.37 1.136-.445a4.337 4.337 0 012.228.365c.623.276 1.053.908 1.233 1.667.088.371.104.731.066 1.025-.04.31-.128.465-.169.511-.05.058-.228.157-.721.053a3.417 3.417 0 01-.764-.266l-.006-.003a.936.936 0 00-.861 1.662h.001l.003.002.008.004.024.012a4.888 4.888 0 00.34.152c.215.086.52.194.866.267.615.13 1.75.23 2.52-.652.37-.424.548-.98.615-1.501a4.789 4.789 0 00-.1-1.697c-.268-1.128-.976-2.362-2.297-2.948a6.208 6.208 0 00-3.195-.513c-.619.07-1.211.242-1.69.504l-.02-.006h-.004c-1.183-.338-3.536-1.01-2.956-2.17.44-.88 1.643-.807 3.275-.234.663.232 1.584.647 2.453 1.051.27.125.534.25.784.367l.974.454c.693-.832.962-1.29 1.2-1.695.163-.278.312-.53.573-.862l.025-.032a9.902 9.902 0 01.146-.18.895.895 0 01.02-.017c.642-.567 1.389-.36 1.389-.36.427.228.318.806.318.806l-.296 1.178c-.284 1.386.03 1.845.547 2.6.09.133.188.275.29.433.412.643.392 1.26.377 1.765-.01.324-.019.602.09.809.224.425 1.06.69 1.61.862.132.042.247.078.333.11l.059.023c-.078.24-.148.489-.218.737-.313 1.103-.623 2.202-1.55 2.53-.632.225-1.263.214-1.71.156-.786-.17-1.716-.379-2.066-.495-.363-.135-.871-.25-1.424-.377-1.316-.3-2.883-.656-3.331-1.462a.975.975 0 01-.125-.447c-.026-.74.234-1.404.234-1.404s-.403.002-.685-.27a.853.853 0 01-.238-.431c-.03-.13-.042-.28-.025-.44.008 0 .012-.008.012-.028 0-.234.234-.702.702-1.17z"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
d: "M14.077.604a.936.936 0 01.315 1.285c-.355.584-.561 1.181-.786 2.081a.936.936 0 11-1.816-.454c.243-.971.504-1.778 1.002-2.598a.936.936 0 011.285-.314z"
|
43
|
+
})]
|
44
|
+
}));
|
45
|
+
});
|
46
|
+
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 130 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: "M115.595 21.601h-1.123v-6.594h1.521c.41 1.74 1.002 3.008 1.776 3.805.772.797 1.775 1.195 3.007 1.195.893 0 1.581-.181 2.065-.543.507-.387.761-.906.761-1.558 0-.677-.303-1.329-.906-1.957-.604-.652-1.582-1.34-2.934-2.065-1.837-.99-3.153-1.969-3.95-2.935-.797-.99-1.195-2.101-1.195-3.333 0-.797.145-1.534.434-2.21.313-.7.725-1.305 1.232-1.812a5.372 5.372 0 011.884-1.16A6.282 6.282 0 01120.522 2c.748 0 1.486.109 2.211.326.747.217 1.399.52 1.956.906l.652-.87h.942v5.471h-1.413c-.556-1.376-1.136-2.367-1.739-2.97-.58-.605-1.293-.906-2.138-.906-.676 0-1.22.18-1.63.543-.387.362-.58.845-.58 1.45 0 .676.29 1.316.87 1.92.603.603 1.594 1.268 2.971 1.992a24.33 24.33 0 012.5 1.558c.7.508 1.268 1.027 1.703 1.558.435.508.747 1.051.942 1.63.217.556.326 1.16.326 1.812 0 .846-.158 1.606-.471 2.283a4.965 4.965 0 01-1.341 1.739c-.579.483-1.281.857-2.101 1.123-.797.266-1.692.399-2.681.399-1.04 0-2.006-.133-2.899-.399-.894-.29-1.63-.7-2.21-1.232l-.797 1.268zM104.037 8.34c0-.966-.025-1.726-.072-2.282-.049-.58-.182-1.014-.399-1.304-.217-.314-.543-.52-.978-.616-.411-.12-.978-.218-1.703-.29v-1.45h8.188v10.979c0 1.473.012 2.633.037 3.478.047.822.12 1.437.217 1.848.072.314.156.568.254.76.097.17.253.315.471.436.217.096.507.169.869.217.387.024.881.036 1.486.036v1.413l-7.211.435-.398-3.224h-.145c-.627 1.014-1.51 1.799-2.645 2.355-1.135.555-2.403.833-3.804.833-2.585 0-4.553-.918-5.906-2.754-1.039-1.4-1.558-3.394-1.558-5.978V8.341c0-.99-.024-1.764-.072-2.32-.049-.579-.182-1.014-.399-1.303-.193-.29-.495-.484-.906-.58-.41-.12-.978-.218-1.703-.29v-1.45h8.116v10.254c0 2.44.302 4.215.906 5.326.604 1.087 1.57 1.63 2.898 1.63 1.426 0 2.525-.651 3.298-1.956.773-1.256 1.159-3.104 1.159-5.543V8.34zM70.538 15.696c0 .99.024 1.775.073 2.355.072.555.205.99.398 1.304.218.29.532.483.942.58.435.097 1.015.169 1.74.217v1.45H62.278v-1.45c.7-.048 1.255-.12 1.666-.217.435-.097.761-.29.978-.58.242-.29.399-.7.471-1.232.073-.531.11-1.256.11-2.174V11.42a65.04 65.04 0 00-.073-3.442c-.049-.893-.109-1.497-.181-1.811a2.504 2.504 0 00-.29-.761 1.044 1.044 0 00-.544-.471c-.241-.12-.543-.193-.906-.217a10.756 10.756 0 00-1.376-.073V3.413l6.992-1.377.471 3.189h.145c.797-1.015 1.74-1.8 2.826-2.355 1.087-.556 2.283-.834 3.587-.834 1.546 0 2.79.218 3.732.653.966.41 1.824 1.11 2.573 2.101.41.555.772 1.28 1.087 2.174.313.87.47 2.077.47 3.623v5.109c0 .99.025 1.775.073 2.355.073.555.205.99.399 1.304.217.29.53.483.942.58.41.097.966.169 1.666.217v1.45h-11.34v-1.45c.724-.024 1.292-.084 1.703-.18.434-.122.76-.327.978-.617.217-.29.362-.7.435-1.232.072-.555.108-1.28.108-2.174v-4.927c0-1.232-.072-2.27-.217-3.116-.145-.845-.387-1.522-.725-2.029-.314-.532-.736-.906-1.268-1.123-.531-.242-1.195-.363-1.992-.363-.774 0-1.438.218-1.993.653-.556.434-1.039 1.038-1.45 1.811-.217.435-.41 1.003-.58 1.703a10.183 10.183 0 00-.217 2.138v5zM53.248 11.275c-2.03.918-3.563 1.776-4.602 2.573-1.014.773-1.521 1.582-1.521 2.428 0 .7.193 1.256.58 1.666.386.41.869.616 1.449.616.58 0 1.123-.097 1.63-.29a4.473 4.473 0 001.304-.833c.363-.338.64-.737.834-1.196.217-.483.326-.99.326-1.522v-3.442zm0-1.92V7.833c0-1.4-.254-2.415-.761-3.043-.483-.652-1.244-.978-2.283-.978-.7 0-1.232.193-1.594.58-.362.362-.7.978-1.014 1.847-.218.604-.532 1.075-.942 1.413-.387.338-.93.508-1.63.508-.677 0-1.196-.206-1.559-.616-.362-.411-.543-.99-.543-1.74 0-1.159.628-2.077 1.884-2.753 1.28-.677 3.2-1.015 5.76-1.015 2.706 0 4.638.496 5.798 1.486 1.16.966 1.739 2.597 1.739 4.891v7.935c0 2.053.41 3.08 1.232 3.08.459 0 .881-.157 1.268-.471l.543 1.05c-.338.604-.87 1.087-1.594 1.45-.7.338-1.497.507-2.391.507-1.111 0-1.957-.338-2.536-1.015-.58-.676-.87-1.63-.87-2.862h-.181c-.7 1.256-1.606 2.21-2.718 2.862-1.11.652-2.379.979-3.804.979-1.521 0-2.741-.423-3.66-1.268-.917-.87-1.376-1.993-1.376-3.37 0-1.063.471-2.053 1.413-2.971.942-.942 2.512-1.86 4.71-2.754l5.109-2.21zM10.406 15.623c0 1.015.024 1.812.072 2.392.049.58.181 1.026.399 1.34.217.29.531.483.942.58.41.097.978.169 1.703.217v1.45H2.072v-1.45c.725-.048 1.305-.12 1.74-.217.434-.097.76-.29.978-.58.217-.29.362-.7.435-1.232.072-.555.108-1.292.108-2.21V11.42a67.37 67.37 0 00-.072-3.442c-.024-.917-.085-1.546-.181-1.884-.073-.314-.17-.555-.29-.724-.097-.193-.266-.338-.507-.435-.218-.12-.508-.193-.87-.217A11.115 11.115 0 002 4.645V3.413l6.993-1.377.435 3.153h.217c1.014-1.136 2.029-1.945 3.043-2.428 1.04-.483 2.235-.725 3.587-.725 1.595 0 2.911.278 3.95.834A5.491 5.491 0 0122.58 5.26h.145a9.028 9.028 0 013.115-2.355c1.208-.58 2.5-.87 3.877-.87 1.45 0 2.706.182 3.768.544 1.087.362 1.933.881 2.537 1.558.483.555.833 1.28 1.05 2.174.242.893.363 2.137.363 3.732v5.58c0 .99.024 1.775.072 2.354.073.58.218 1.027.435 1.34.217.315.531.52.942.617.41.097.978.169 1.703.217v1.45h-11.45v-1.45c.725-.024 1.293-.084 1.703-.18.435-.122.761-.327.979-.617.241-.314.386-.736.435-1.268.072-.531.108-1.256.108-2.174v-4.746c0-1.256-.072-2.319-.217-3.189-.145-.87-.375-1.57-.689-2.101-.313-.532-.736-.906-1.268-1.123-.507-.242-1.135-.363-1.884-.363-.845 0-1.545.206-2.101.616-.531.411-.978.942-1.34 1.595-.629 1.135-.943 2.548-.943 4.239v4.782c0 .99.024 1.776.073 2.355.048.58.18 1.027.398 1.34.218.315.532.52.942.617.435.097 1.027.169 1.776.217v1.45H15.623v-1.45c.725-.048 1.293-.12 1.703-.217.435-.097.76-.29.978-.58.242-.29.387-.7.435-1.232.073-.555.109-1.292.109-2.21v-4.746c0-1.256-.073-2.319-.218-3.189-.145-.87-.386-1.57-.724-2.101-.314-.532-.737-.906-1.268-1.123-.532-.242-1.196-.363-1.993-.363-.797 0-1.461.194-1.993.58-.507.387-.93.906-1.268 1.558a7.755 7.755 0 00-.725 1.993 10.5 10.5 0 00-.253 2.319v4.782z"
|
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_GRADIENT, 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_GRADIENT
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|
@@ -0,0 +1,73 @@
|
|
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 { useFillId } from "../../hooks/useFillId";
|
14
|
+
import { TITLE } from "../style";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
17
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
18
|
+
var _ref$size = _ref.size,
|
19
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
20
|
+
style = _ref.style,
|
21
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
22
|
+
var _useFillId = useFillId(TITLE),
|
23
|
+
id = _useFillId.id,
|
24
|
+
fill = _useFillId.fill;
|
25
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
26
|
+
height: size,
|
27
|
+
ref: ref,
|
28
|
+
style: _objectSpread({
|
29
|
+
flex: 'none',
|
30
|
+
lineHeight: 1
|
31
|
+
}, style),
|
32
|
+
viewBox: "0 0 24 24",
|
33
|
+
width: size,
|
34
|
+
xmlns: "http://www.w3.org/2000/svg"
|
35
|
+
}, rest), {}, {
|
36
|
+
children: [/*#__PURE__*/_jsx("title", {
|
37
|
+
children: TITLE
|
38
|
+
}), /*#__PURE__*/_jsx("circle", {
|
39
|
+
cx: "12",
|
40
|
+
cy: "12",
|
41
|
+
fill: fill,
|
42
|
+
r: "12"
|
43
|
+
}), /*#__PURE__*/_jsx("ellipse", {
|
44
|
+
cx: "12",
|
45
|
+
cy: "12",
|
46
|
+
fill: "#fff",
|
47
|
+
rx: "9.75",
|
48
|
+
ry: "8.438"
|
49
|
+
}), /*#__PURE__*/_jsx("path", {
|
50
|
+
d: "M16.207 10.195a.96.96 0 111.357 1.357l-1.114 1.114 1.473.85a.96.96 0 11-.96 1.662l-2.444-1.411a1.003 1.003 0 01-.072-.046.962.962 0 01-.236-1.53l1.996-1.996zM7.688 9.937a1.5 1.5 0 00-1.5 1.5v2.25a1.5 1.5 0 003 0v-2.25a1.5 1.5 0 00-1.5-1.5z",
|
51
|
+
fill: "#1E1E1E"
|
52
|
+
}), /*#__PURE__*/_jsx("defs", {
|
53
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
54
|
+
gradientUnits: "userSpaceOnUse",
|
55
|
+
id: id,
|
56
|
+
x1: "0",
|
57
|
+
x2: "24",
|
58
|
+
y1: "12.281",
|
59
|
+
y2: "12.281",
|
60
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
61
|
+
stopColor: "#A83FE0"
|
62
|
+
}), /*#__PURE__*/_jsx("stop", {
|
63
|
+
offset: ".477",
|
64
|
+
stopColor: "#515FFB"
|
65
|
+
}), /*#__PURE__*/_jsx("stop", {
|
66
|
+
offset: "1",
|
67
|
+
stopColor: "#2BB5DD"
|
68
|
+
})]
|
69
|
+
})
|
70
|
+
})]
|
71
|
+
}));
|
72
|
+
});
|
73
|
+
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;
|
@@ -0,0 +1,44 @@
|
|
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
|
+
clipRule: "evenodd",
|
38
|
+
d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12zm0-3.563c5.385 0 9.75-3.777 9.75-8.437 0-4.66-4.365-8.438-9.75-8.438S2.25 7.34 2.25 12s4.365 8.438 9.75 8.438z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M16.207 10.195a.96.96 0 111.357 1.357l-1.114 1.114 1.473.85a.96.96 0 11-.96 1.662l-2.444-1.411a1.003 1.003 0 01-.072-.046.962.962 0 01-.236-1.53l1.996-1.996zM7.688 9.937a1.5 1.5 0 00-1.5 1.5v2.25a1.5 1.5 0 003 0v-2.25a1.5 1.5 0 00-1.5-1.5z"
|
41
|
+
})]
|
42
|
+
}));
|
43
|
+
});
|
44
|
+
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 107 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 21.731V0h7.035l4.472 14.22h.178L18.097 0h7.065v21.731h-4.501v-8.585l.06-8.287h-.21l-5.097 16.872h-3.636L6.68 4.86h-.238l.09 8.347v8.525H2zM36.12 22c-1.213 0-2.306-.178-3.28-.536a7.24 7.24 0 01-2.533-1.64 7.136 7.136 0 01-1.64-2.593c-.377-1.033-.566-2.196-.566-3.488 0-1.65.318-3.09.954-4.322a6.953 6.953 0 012.742-2.921c1.193-.696 2.633-1.044 4.323-1.044 1.192 0 2.275.189 3.249.567a6.942 6.942 0 012.504 1.64 7.136 7.136 0 011.64 2.593c.397 1.013.596 2.176.596 3.487 0 1.63-.318 3.07-.954 4.323a6.995 6.995 0 01-2.743 2.891C39.24 21.652 37.81 22 36.12 22zm-.03-3.547c.715 0 1.341-.169 1.878-.507.556-.357.974-.884 1.252-1.58.298-.695.447-1.57.447-2.623 0-.795-.08-1.48-.239-2.057-.158-.596-.397-1.093-.715-1.49a2.796 2.796 0 00-1.133-.865 3.489 3.489 0 00-1.46-.298 3.602 3.602 0 00-1.908.507c-.537.338-.954.855-1.252 1.55-.298.696-.447 1.58-.447 2.653 0 .795.08 1.49.238 2.087.179.576.427 1.063.745 1.46.318.378.696.666 1.133.865a3.49 3.49 0 001.46.298zm10.513 3.28V5.752h4.202l.178 2.892h.18c.437-1.073 1.112-1.868 2.026-2.385.915-.537 1.938-.805 3.07-.805.796 0 1.531.13 2.207.388a4.44 4.44 0 011.788 1.132c.517.517.915 1.203 1.193 2.057.298.835.447 1.848.447 3.04v9.66h-4.382v-8.705c0-.894-.11-1.64-.328-2.236-.199-.596-.517-1.033-.954-1.312-.437-.298-1.013-.447-1.729-.447-.755 0-1.391.18-1.908.537a3.551 3.551 0 00-1.192 1.401 4.263 4.263 0 00-.418 1.878v8.883h-4.38zm18.593 0V5.752h4.383v15.978h-4.382zm0-18.036V0h4.383v3.696h-4.382zM80.026 22c-1.193 0-2.276-.188-3.25-.566a7.39 7.39 0 01-2.533-1.699 7.657 7.657 0 01-1.61-2.623c-.358-1.014-.537-2.137-.537-3.369 0-1.689.328-3.15.984-4.382A6.944 6.944 0 0175.882 6.5c1.212-.696 2.643-1.044 4.293-1.044 1.37 0 2.583.259 3.636.775 1.074.517 1.928 1.232 2.564 2.147.636.914.984 1.977 1.043 3.19h-4.292c-.08-.557-.269-1.024-.567-1.402a2.47 2.47 0 00-1.073-.835c-.417-.198-.894-.298-1.43-.298-.756 0-1.402.2-1.938.597-.537.377-.934.924-1.193 1.64-.258.695-.387 1.52-.387 2.473 0 1.053.139 1.928.417 2.623.298.676.706 1.193 1.222 1.55.537.338 1.153.507 1.849.507.636 0 1.172-.109 1.61-.328a2.57 2.57 0 001.073-.924c.278-.397.437-.844.476-1.341h4.263c-.06 1.252-.417 2.345-1.073 3.279-.636.914-1.5 1.63-2.593 2.146-1.093.497-2.345.745-3.756.745zm15.24 0a6.64 6.64 0 01-2.624-.506 5.436 5.436 0 01-2.026-1.55c-.557-.696-.984-1.56-1.282-2.594-.298-1.033-.448-2.236-.448-3.607 0-1.848.259-3.378.776-4.59.536-1.233 1.281-2.157 2.235-2.773.974-.616 2.097-.924 3.369-.924.834 0 1.58.13 2.235.388.643.237 1.231.602 1.73 1.073a4.24 4.24 0 011.102 1.61h.239l.179-2.773h4.203v15.978h-4.383V18.93h-.239c-.357.934-.983 1.68-1.878 2.236-.894.556-1.956.835-3.188.835zm1.67-3.547c.814 0 1.48-.189 1.996-.566.527-.366.94-.872 1.193-1.46a4.958 4.958 0 00.387-1.938v-1.52c0-.696-.129-1.342-.387-1.938a3.418 3.418 0 00-1.193-1.461c-.516-.378-1.182-.566-1.997-.566-.715 0-1.341.168-1.878.506-.537.338-.954.855-1.252 1.55-.298.696-.447 1.59-.447 2.683 0 1.053.149 1.938.447 2.653.298.696.715 1.213 1.252 1.55.537.338 1.163.507 1.878.507z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Color from './components/Color';
|
3
|
+
import Combine from './components/Combine';
|
4
|
+
import Mono from './components/Mono';
|
5
|
+
import Text from './components/Text';
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorGradient: string;
|
12
|
+
colorPrimary: string;
|
13
|
+
title: string;
|
14
|
+
};
|
15
|
+
declare const Icons: CompoundedIcon;
|
16
|
+
export default Icons;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
|
9
|
+
var Icons = Mono;
|
10
|
+
Icons.Color = Color;
|
11
|
+
Icons.Text = Text;
|
12
|
+
Icons.Combine = Combine;
|
13
|
+
Icons.Avatar = Avatar;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
16
|
+
Icons.title = TITLE;
|
17
|
+
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 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,42 @@
|
|
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
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1
|
27
|
+
}, style),
|
28
|
+
viewBox: "0 0 24 24",
|
29
|
+
width: size,
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M24 8.4c0 1.325-1.102 2.4-2.462 2.4-1.146 0-2.11-.765-2.384-1.8h-3.436c-.602 0-1.115.424-1.214 1.003l-.101.592a2.38 2.38 0 01-.8 1.405c.412.354.704.844.8 1.405l.1.592A1.222 1.222 0 0015.719 15h.975c.273-1.035 1.237-1.8 2.384-1.8 1.36 0 2.461 1.075 2.461 2.4S20.436 18 19.078 18c-1.147 0-2.11-.765-2.384-1.8h-.975c-1.204 0-2.23-.848-2.428-2.005l-.101-.592a1.222 1.222 0 00-1.214-1.003H10.97c-.308.984-1.246 1.7-2.356 1.7-1.11 0-2.048-.716-2.355-1.7H4.817c-.308.984-1.246 1.7-2.355 1.7C1.102 14.3 0 13.225 0 11.9s1.102-2.4 2.462-2.4c1.183 0 2.172.815 2.408 1.9h1.337c.236-1.085 1.225-1.9 2.408-1.9 1.184 0 2.172.815 2.408 1.9h.952c.601 0 1.115-.424 1.213-1.003l.102-.592c.198-1.157 1.225-2.005 2.428-2.005h3.436c.274-1.035 1.238-1.8 2.384-1.8C22.898 6 24 7.075 24 8.4zm-1.23 0c0 .663-.552 1.2-1.232 1.2-.68 0-1.23-.537-1.23-1.2 0-.663.55-1.2 1.23-1.2.68 0 1.231.537 1.231 1.2zM2.461 13.1c.68 0 1.23-.537 1.23-1.2 0-.663-.55-1.2-1.23-1.2-.68 0-1.231.537-1.231 1.2 0 .663.55 1.2 1.23 1.2zm6.153 0c.68 0 1.231-.537 1.231-1.2 0-.663-.55-1.2-1.23-1.2-.68 0-1.231.537-1.231 1.2 0 .663.55 1.2 1.23 1.2zm10.462 3.7c.68 0 1.23-.537 1.23-1.2 0-.663-.55-1.2-1.23-1.2-.68 0-1.23.537-1.23 1.2 0 .663.55 1.2 1.23 1.2z",
|
37
|
+
fill: "#EA4B71",
|
38
|
+
fillRule: "evenodd"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
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;
|