@lobehub/icons 5.1.0 → 5.2.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 +1 -0
- package/es/BriaAI/components/Avatar.d.ts +5 -0
- package/es/BriaAI/components/Avatar.js +25 -0
- package/es/BriaAI/components/Color.d.ts +3 -0
- package/es/BriaAI/components/Color.js +57 -0
- package/es/BriaAI/components/Combine.d.ts +7 -0
- package/es/BriaAI/components/Combine.js +32 -0
- package/es/BriaAI/components/Mono.d.ts +3 -0
- package/es/BriaAI/components/Mono.js +52 -0
- package/es/BriaAI/components/Text.d.ts +3 -0
- package/es/BriaAI/components/Text.js +42 -0
- package/es/BriaAI/index.d.ts +15 -0
- package/es/BriaAI/index.js +14 -0
- package/es/BriaAI/style.d.ts +7 -0
- package/es/BriaAI/style.js +9 -0
- package/es/GeminiCLI/components/Avatar.d.ts +5 -0
- package/es/GeminiCLI/components/Avatar.js +25 -0
- package/es/GeminiCLI/components/Color.d.ts +3 -0
- package/es/GeminiCLI/components/Color.js +66 -0
- package/es/GeminiCLI/components/Combine.d.ts +7 -0
- package/es/GeminiCLI/components/Combine.js +32 -0
- package/es/GeminiCLI/components/Mono.d.ts +3 -0
- package/es/GeminiCLI/components/Mono.js +43 -0
- package/es/GeminiCLI/components/Text.d.ts +3 -0
- package/es/GeminiCLI/components/Text.js +39 -0
- package/es/GeminiCLI/index.d.ts +16 -0
- package/es/GeminiCLI/index.js +14 -0
- package/es/GeminiCLI/style.d.ts +7 -0
- package/es/GeminiCLI/style.js +9 -0
- package/es/Obsidian/components/Avatar.d.ts +5 -0
- package/es/Obsidian/components/Avatar.js +25 -0
- package/es/Obsidian/components/Color.d.ts +3 -0
- package/es/Obsidian/components/Color.js +45 -0
- package/es/Obsidian/components/Combine.d.ts +7 -0
- package/es/Obsidian/components/Combine.js +32 -0
- package/es/Obsidian/components/Mono.d.ts +3 -0
- package/es/Obsidian/components/Mono.js +44 -0
- package/es/Obsidian/components/Text.d.ts +3 -0
- package/es/Obsidian/components/Text.js +39 -0
- package/es/Obsidian/index.d.ts +16 -0
- package/es/Obsidian/index.js +14 -0
- package/es/Obsidian/style.d.ts +7 -0
- package/es/Obsidian/style.js +9 -0
- package/es/PrunaAI/components/Avatar.d.ts +5 -0
- package/es/PrunaAI/components/Avatar.js +25 -0
- package/es/PrunaAI/components/Color.d.ts +3 -0
- package/es/PrunaAI/components/Color.js +153 -0
- package/es/PrunaAI/components/Combine.d.ts +7 -0
- package/es/PrunaAI/components/Combine.js +32 -0
- package/es/PrunaAI/components/Mono.d.ts +3 -0
- package/es/PrunaAI/components/Mono.js +54 -0
- package/es/PrunaAI/components/Text.d.ts +3 -0
- package/es/PrunaAI/components/Text.js +39 -0
- package/es/PrunaAI/index.d.ts +15 -0
- package/es/PrunaAI/index.js +14 -0
- package/es/PrunaAI/style.d.ts +7 -0
- package/es/PrunaAI/style.js +9 -0
- package/es/Reve/components/Avatar.d.ts +5 -0
- package/es/Reve/components/Avatar.js +25 -0
- package/es/Reve/components/Combine.d.ts +5 -0
- package/es/Reve/components/Combine.js +26 -0
- package/es/Reve/components/Mono.d.ts +3 -0
- package/es/Reve/components/Mono.js +40 -0
- package/es/Reve/components/Text.d.ts +3 -0
- package/es/Reve/components/Text.js +41 -0
- package/es/Reve/index.d.ts +13 -0
- package/es/Reve/index.js +12 -0
- package/es/Reve/style.d.ts +7 -0
- package/es/Reve/style.js +9 -0
- package/es/features/agentConfig.js +44 -12
- package/es/icons.d.ts +5 -0
- package/es/icons.js +5 -0
- package/es/toc.js +90 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TITLE = "Gemini CLI";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.75;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.3;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#1E1E2E";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#1E1E2E";
|
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'Gemini CLI';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.75;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.3;
|
|
4
|
+
export var COLOR_PRIMARY = '#1E1E2E';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Mono from "./Mono";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
+
Icon: Mono,
|
|
19
|
+
"aria-label": TITLE,
|
|
20
|
+
background: AVATAR_BACKGROUND,
|
|
21
|
+
color: AVATAR_COLOR,
|
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Avatar;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { memo } 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__*/memo(function (_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
|
+
style: _objectSpread({
|
|
24
|
+
flex: 'none',
|
|
25
|
+
lineHeight: 1
|
|
26
|
+
}, style),
|
|
27
|
+
viewBox: "0 0 24 24",
|
|
28
|
+
width: size,
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
30
|
+
}, rest), {}, {
|
|
31
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
32
|
+
children: TITLE
|
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
34
|
+
d: "M9.643 14.012c.615-.183 1.605-.465 2.745-.534-.684-1.725-.849-3.235-.716-4.579.153-1.552.7-2.847 1.234-3.95.114-.235.223-.454.328-.664.149-.297.289-.577.42-.86.217-.47.378-.885.46-1.27.08-.38.08-.719-.014-1.044-.095-.325-.297-.675-.681-1.06a1.6 1.6 0 00-1.475.36l-4.95 4.453a1.602 1.602 0 00-.512.952l-.427 2.83c.67.592 2.327 2.317 3.335 4.71.09.213.174.432.253.656zM5.855 9.937c-.024.1-.057.197-.099.29L3.14 16.058a1.602 1.602 0 00.313 1.772l4.117 4.24c2.102-3.102 1.795-6.02.835-8.3-.728-1.73-1.832-3.083-2.55-3.833z",
|
|
35
|
+
fill: "#A88BFA"
|
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
37
|
+
d: "M8.52 22.57c.073.01.146.018.22.02.781.023 2.095.091 3.16.288.87.16 2.593.642 4.011 1.056 1.082.316 2.197-.548 2.354-1.664.115-.814.33-1.735.725-2.58l-.009.004c-.67-1.87-1.523-3.077-2.417-3.847a5.294 5.294 0 00-2.777-1.258c-1.541-.216-2.952.189-3.841.45.532 2.218.368 4.828-1.425 7.53z",
|
|
38
|
+
fill: "#A88BFA"
|
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
40
|
+
d: "M19.676 18.538a69.072 69.072 0 001.858-2.952.811.811 0 00-.061-.901c-.516-.684-1.504-2.075-2.042-3.362-.554-1.323-.636-3.378-.64-4.378a1.708 1.708 0 00-.359-1.051L15.235 1.83a3.757 3.757 0 01-.076.545c-.107.503-.307 1.004-.536 1.498-.135.29-.29.601-.446.915-.105.21-.21.42-.31.626-.517 1.068-.998 2.227-1.132 3.59-.125 1.262.046 2.73.814 4.484.128.01.257.025.386.043a6.364 6.364 0 013.327 1.506c.916.79 1.743 1.921 2.414 3.5z",
|
|
41
|
+
fill: "#A88BFA"
|
|
42
|
+
})]
|
|
43
|
+
}));
|
|
44
|
+
});
|
|
45
|
+
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 { COMBINE_SPACE_MULTIPLE, COMBINE_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: COMBINE_SPACE_MULTIPLE,
|
|
29
|
+
textMultiple: COMBINE_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 { memo } 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__*/memo(function (_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
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
width: size,
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
32
|
+
}, rest), {}, {
|
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
34
|
+
children: TITLE
|
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
36
|
+
d: "M9.643 14.012c.615-.183 1.605-.465 2.745-.534-.684-1.725-.849-3.235-.716-4.579.153-1.552.7-2.847 1.234-3.95.114-.235.223-.454.328-.664.149-.297.289-.577.42-.86.217-.47.378-.885.46-1.27.08-.38.08-.719-.014-1.044-.095-.325-.297-.675-.681-1.06a1.6 1.6 0 00-1.475.36l-4.95 4.453a1.602 1.602 0 00-.512.952l-.427 2.83c.67.592 2.327 2.317 3.335 4.71.09.213.174.432.253.656zM5.855 9.937c-.024.1-.057.197-.099.29L3.14 16.058a1.602 1.602 0 00.313 1.772l4.117 4.24c2.102-3.102 1.795-6.02.835-8.3-.728-1.73-1.832-3.083-2.55-3.833z"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M8.52 22.57c.073.01.146.018.22.02.781.023 2.095.091 3.16.288.87.16 2.593.642 4.011 1.056 1.082.316 2.197-.548 2.354-1.664.115-.814.33-1.735.725-2.58l-.009.004c-.67-1.87-1.523-3.077-2.417-3.847a5.294 5.294 0 00-2.777-1.258c-1.541-.216-2.952.189-3.841.45.532 2.218.368 4.828-1.425 7.53z"
|
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
40
|
+
d: "M19.676 18.538a69.072 69.072 0 001.858-2.952.811.811 0 00-.061-.901c-.516-.684-1.504-2.075-2.042-3.362-.554-1.323-.636-3.378-.64-4.378a1.708 1.708 0 00-.359-1.051L15.235 1.83a3.757 3.757 0 01-.076.545c-.107.503-.307 1.004-.536 1.498-.135.29-.29.601-.446.915-.105.21-.21.42-.31.626-.517 1.068-.998 2.227-1.132 3.59-.125 1.262.046 2.73.814 4.484.128.01.257.025.386.043a6.364 6.364 0 013.327 1.506c.916.79 1.743 1.921 2.414 3.5z"
|
|
41
|
+
})]
|
|
42
|
+
}));
|
|
43
|
+
});
|
|
44
|
+
export default Icon;
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { memo } 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__*/memo(function (_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
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 144 24",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, rest), {}, {
|
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
33
|
+
children: TITLE
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M14.694 1C7.322 1 2 5.638 2 12s5.322 11 12.694 11c7.344 0 12.665-4.638 12.665-11S22.038 1 14.694 1zm0 4.31c4.43 0 7.611 2.647 7.611 6.69 0 4.043-3.18 6.69-7.61 6.69-4.46 0-7.641-2.647-7.641-6.69 0-4.043 3.181-6.69 7.64-6.69zM34.183 20.89c1.07 1.159 3.062 2.11 5.678 2.11 5.352 0 8.473-3.686 8.473-8.146 0-4.49-3.121-8.176-8.473-8.176-2.616 0-4.608.982-5.678 2.111V1.327h-4.757v21.346h4.757v-1.784zm-.149-6.125c0-2.468 2.111-4.251 4.846-4.251 2.616 0 4.816 1.546 4.816 4.34 0 2.795-2.2 4.31-4.816 4.31-2.735 0-4.846-1.753-4.846-4.22v-.18zM48.841 20.086C50.655 21.93 54.133 23 57.761 23c4.905 0 8.591-1.784 8.591-5.44 0-3.568-3.508-4.252-7.521-4.728-3.39-.386-4.43-.475-4.43-1.338 0-.802 1.07-1.308 3.092-1.308 2.438 0 4.548.744 5.975 2.052l2.468-2.854c-1.576-1.517-4.519-2.706-8.205-2.706-4.965 0-8.027 2.14-8.027 5.352 0 3.359 3.121 4.102 6.867 4.578 3.508.416 4.995.416 4.995 1.457 0 .98-1.308 1.397-3.449 1.397-2.676 0-5.143-.832-7.016-2.557l-2.26 3.181zM68.068 5.4h4.846V1.327h-4.846V5.4zm4.787 1.605h-4.757v15.668h4.757V7.006zM89.11 20.89v1.783h4.757V1.327H89.11V8.79c-1.07-1.13-3.062-2.11-5.678-2.11-5.351 0-8.473 3.686-8.473 8.175 0 4.46 3.122 8.146 8.473 8.146 2.616 0 4.608-.951 5.678-2.11zm.149-6.125v.178c0 2.468-2.11 4.222-4.846 4.222-2.616 0-4.816-1.516-4.816-4.31 0-2.796 2.2-4.341 4.816-4.341 2.735 0 4.846 1.783 4.846 4.25zM96.753 5.4h4.846V1.327h-4.846V5.4zm4.786 1.605h-4.756v15.668h4.756V7.006zM110.214 23c2.765 0 5.024-.803 6.451-2.052.803 1.487 2.706 2.379 6.184 1.725v-3.508c-1.665.356-2.021-.03-2.021-.863v-5.708c0-3.924-2.944-5.916-7.938-5.916-4.311 0-7.76 1.873-8.741 4.698l4.281 1.159c.476-1.219 2.111-2.11 4.252-2.11 2.527 0 3.537.95 3.537 2.14v.089l-6.243.565c-3.686.357-6.392 1.873-6.392 4.935 0 3.092 2.765 4.846 6.63 4.846zm6.005-6.333c0 1.814-2.705 2.854-5.143 2.854-1.843 0-2.884-.535-2.884-1.546 0-1.04.833-1.427 2.468-1.575l5.559-.565v.832zM124.479 22.673h4.757V15.18c0-2.705 1.487-4.281 4.073-4.281 2.438 0 3.716 1.605 3.716 4.251v7.522h4.757v-8.92c0-4.34-2.765-7.075-6.838-7.075-2.527 0-4.489.952-5.708 2.23V7.005h-4.757v15.668z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
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,14 @@
|
|
|
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
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
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,7 @@
|
|
|
1
|
+
export declare const TITLE = "Obsidian";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#A88BFA";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
|
6
|
+
export declare const AVATAR_COLOR = "#A88BFA";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'Obsidian';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export var COLOR_PRIMARY = '#A88BFA';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = '#000';
|
|
8
|
+
export var AVATAR_COLOR = COLOR_PRIMARY;
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Color from "./Color";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
+
Icon: Color,
|
|
19
|
+
"aria-label": TITLE,
|
|
20
|
+
background: AVATAR_BACKGROUND,
|
|
21
|
+
color: AVATAR_COLOR,
|
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Avatar;
|
|
@@ -0,0 +1,153 @@
|
|
|
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 { memo } 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__*/memo(function (_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, 4),
|
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 4),
|
|
30
|
+
a = _useFillIds2[0],
|
|
31
|
+
b = _useFillIds2[1],
|
|
32
|
+
c = _useFillIds2[2],
|
|
33
|
+
d = _useFillIds2[3];
|
|
34
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
35
|
+
height: size,
|
|
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: "M4.59.467C6.08.234 7.737.335 9.156.934c.784.33 1.496.817 2.06 1.475V2.3a.964.964 0 01.282-.705c.474-.484 1.076-.701 1.752-.602v.001c.26.038.617.15.806.519.08.156.101.31.107.419.006.108-.001.215-.008.295v.002c-.072.849-.209 1.692-.409 2.52 4.28.711 7.336 4.085 7.77 8.392.146.092.273.215.383.395.23.378.261.83.125 1.213a1.317 1.317 0 01-.56.689c-.342 2.261-1.323 4.169-2.944 5.694l-.35.314a9.272 9.272 0 01-5.363 2.19c-5.062.345-9.323-3.21-10.035-8.153-.015-.008-.03-.015-.044-.024-.534-.332-.756-.907-.65-1.445.076-.383.312-.723.66-.932.264-2.336 1.218-4.323 2.855-5.942a9.833 9.833 0 01-.655-.526l-.233-.211c-.11-.103-.317-.333-.323-.668a.775.775 0 01.079-.36c-.38-1.248-.582-2.498-.712-3.792a2.72 2.72 0 01-.016-.369c0-.165.059-.29.105-.365L3.843.84l.006-.008c.1-.149.231-.222.317-.257h.001a2 2 0 01.422-.107z",
|
|
48
|
+
fill: "#fff"
|
|
49
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
50
|
+
d: "M3.486 14.123c0-4.555 3.852-8.248 8.604-8.248 4.752 0 8.604 3.693 8.604 8.248s-3.852 8.248-8.604 8.248c-4.752 0-8.604-3.693-8.604-8.248z",
|
|
51
|
+
fill: a.fill
|
|
52
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
53
|
+
d: "M9.841 21.61c3.93 0 7.115-3.89 7.115-8.69 0-2.736-1.036-5.177-2.655-6.77 3.682.934 6.397 4.15 6.397 7.973 0 4.556-3.852 8.247-8.604 8.247a8.845 8.845 0 01-4.428-1.174 5.945 5.945 0 002.175.414z",
|
|
54
|
+
fill: b.fill
|
|
55
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
56
|
+
d: "M5.289 1.896c1.036.913 2.062 1.83 2.999 2.845a.017.017 0 010 .02l-.006.004a2.495 2.495 0 01-.565.121c-.162.014-.405.094-.125.279-.36.208.734.435.832.457.247.053.498.082.753.085.223.253.435.515.636.787a.03.03 0 01.003.024.026.026 0 01-.017.018A3.685 3.685 0 017.212 6.4c-.87-.37-1.313-1.131-1.534-2.01a14.735 14.735 0 01-.404-2.487c-.001-.015.003-.017.015-.007z",
|
|
57
|
+
fill: c.fill
|
|
58
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
59
|
+
d: "M5.525 1.803c1.175-.052 2.466.104 3.48.713.24.345.429.753.565 1.225.155.534.128 1.04-.078 1.52l-.459-.42a.07.07 0 01-.02-.067 2.02 2.02 0 00-.01-.924c-.028-.114-.083-.255-.226-.138a.063.063 0 00-.013.017.062.062 0 00-.005.021 2.252 2.252 0 01-.159.627c0 .003-.005.006-.005.006-.003.003-.008.005-.013.004a.018.018 0 01-.008-.004l-3.056-2.56c-.015-.012-.013-.02.007-.02z",
|
|
60
|
+
fill: d.fill
|
|
61
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
62
|
+
d: "M9.004 2.516c.899.515 1.576 1.322 1.794 2.324.11.502-.01.951-.358 1.35a.022.022 0 01-.015.008l-.009-.001-.008-.005-.918-.93c.207-.48.233-.987.078-1.521a4.102 4.102 0 00-.565-1.225zM7.59 5.165c.367.123.738.136 1.113.04a.038.038 0 01.02 0 .03.03 0 01.018.01l.434.493a3.788 3.788 0 01-.754-.086c-.098-.022-1.193-.249-.831-.457z",
|
|
63
|
+
fill: "#69A45C"
|
|
64
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
65
|
+
d: "M6.418 13.681a2.41 2.41 0 012.412-2.406 2.409 2.409 0 012.413 2.406 2.409 2.409 0 01-2.413 2.406 2.409 2.409 0 01-2.412-2.406zM12.674 13.681a2.41 2.41 0 012.412-2.406 2.41 2.41 0 012.414 2.406 2.41 2.41 0 01-2.414 2.406 2.409 2.409 0 01-2.412-2.406z",
|
|
66
|
+
fill: "#fff"
|
|
67
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
68
|
+
d: "M13.346 17.24c-.017.665-.621 1.331-1.342 1.331-.731 0-1.342-.665-1.342-1.383l.002-.036c.043-.012.135-.01.304.023.075.014.163.033.258.055.29.064.654.148 1 .148.359 0 .663-.058.877-.099a6.21 6.21 0 01.152-.027.94.94 0 01.09-.011z",
|
|
69
|
+
fill: "#FF94FB"
|
|
70
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
71
|
+
clipRule: "evenodd",
|
|
72
|
+
d: "M10.784 16.896c.063.004.14.014.23.031.08.015.172.035.269.057h-.002c.295.067.633.141.945.141.333 0 .617-.053.83-.093a6 6 0 01.158-.029h.002c.038-.006.08-.011.116-.014l.273-.015-.007.273c-.01.405-.198.796-.479 1.084-.282.29-.675.492-1.115.492-.881 0-1.593-.789-1.594-1.635 0-.03.003-.054.003-.059l.016-.177.173-.045a.597.597 0 01.182-.011zm.159.53c.113.49.56.893 1.061.894.281 0 .55-.13.755-.34.123-.127.216-.277.272-.433a4.425 4.425 0 01-.805.083c-.189 0-.382-.023-.563-.054l-.492-.1c-.085-.02-.162-.037-.228-.05z",
|
|
73
|
+
fill: "#36124C",
|
|
74
|
+
fillRule: "evenodd"
|
|
75
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
76
|
+
d: "M9.212 12.196c.755 0 1.366.67 1.366 1.497 0 .826-.611 1.498-1.366 1.498-.754 0-1.366-.672-1.366-1.498 0-.126.015-.247.042-.364a.505.505 0 00.967-.2.503.503 0 00-.613-.492c.248-.273.592-.441.97-.441z",
|
|
77
|
+
fill: "#36124C"
|
|
78
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
79
|
+
clipRule: "evenodd",
|
|
80
|
+
d: "M8.882 11c1.484 0 2.69 1.2 2.69 2.68a2.686 2.686 0 01-2.69 2.683 2.686 2.686 0 01-2.688-2.682 2.686 2.686 0 012.688-2.682zm0 .503a2.182 2.182 0 00-2.184 2.178c0 1.201.978 2.177 2.184 2.178a2.182 2.182 0 002.186-2.178 2.182 2.182 0 00-2.186-2.178z",
|
|
81
|
+
fill: "#36124C",
|
|
82
|
+
fillRule: "evenodd"
|
|
83
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
84
|
+
d: "M15.468 12.196c.755 0 1.366.67 1.366 1.497 0 .827-.611 1.498-1.366 1.498-.754 0-1.366-.672-1.366-1.498 0-.126.015-.247.042-.364a.505.505 0 00.967-.2.504.504 0 00-.613-.492c.248-.273.591-.441.97-.441z",
|
|
85
|
+
fill: "#36124C"
|
|
86
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
87
|
+
clipRule: "evenodd",
|
|
88
|
+
d: "M15.135 11c1.484 0 2.688 1.2 2.688 2.68a2.686 2.686 0 01-2.688 2.683c-1.484 0-2.69-1.2-2.69-2.682a2.686 2.686 0 012.69-2.682zm0 .503a2.182 2.182 0 00-2.185 2.178c0 1.201.978 2.178 2.185 2.178a2.182 2.182 0 002.185-2.178 2.182 2.182 0 00-2.185-2.178z",
|
|
89
|
+
fill: "#36124C",
|
|
90
|
+
fillRule: "evenodd"
|
|
91
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
92
|
+
clipRule: "evenodd",
|
|
93
|
+
d: "M4.686 1.114c2.797-.44 6.114.404 6.948 3.487.003.012.005.012.009 0a10.23 10.23 0 00.223-2.314.308.308 0 01.09-.23c.335-.344.732-.484 1.194-.416.36.052.372.222.347.532a16.06 16.06 0 01-.572 3.107.019.019 0 00.008.021c.002.002.005.002.009.002 4.45.406 7.649 3.817 7.948 8.224 0 .007.003.013.006.02.004.005.009.01.014.013.181.105.298.108.426.317.244.4.07.981-.413 1.08a.084.084 0 00-.066.069c-.294 2.412-1.334 4.388-3.117 5.924a8.615 8.615 0 01-4.982 2.032c-4.832.329-8.883-3.15-9.39-7.95a.038.038 0 00-.006-.018.04.04 0 00-.017-.012c-.088-.033-.2-.051-.274-.098-.605-.376-.426-1.208.252-1.362a.027.027 0 00.017-.01.027.027 0 00.008-.016c.208-2.624 1.309-4.779 3.302-6.463a.018.018 0 00.006-.014.018.018 0 00-.01-.012c-.197-.12-.414-.227-.593-.357a9.223 9.223 0 01-.905-.746c-.141-.132-.179-.283.027-.373a.024.024 0 00.014-.028c-.434-1.304-.654-2.616-.793-4.006a2.135 2.135 0 01-.014-.303c0-.007.003-.014.006-.02a.036.036 0 01.017-.012c.067-.027.16-.05.28-.068zm7.975 4.988a.026.026 0 00-.008.01c-.15.411-.332.81-.546 1.193-.2.355-.392.744-.758.791a1.719 1.719 0 01-1.129-.269c-.148-.234.1-.412.262-.537a.028.028 0 00.01-.033.406.406 0 00-.169-.185.04.04 0 00-.04 0c-.803.479-1.66.517-2.56.335a.167.167 0 00-.137.03c-1.972 1.484-3.09 3.468-3.355 5.949-.023.206-.052.347-.087.424-.143.302-.375.377-.685.455-.014.004-.014.007 0 .01.446.112.707.296.774.789.408 3 2.356 5.658 5.315 6.641.173.066.35.122.53.168 4.46 1.148 8.726-1.615 9.764-6.004.052-.216.106-.522.165-.915.054-.355.275-.582.634-.651.02-.005.092-.037.014-.048-.388-.055-.59-.307-.626-.679a10.9 10.9 0 00-.12-.914c-.568-3.067-2.716-5.5-5.745-6.311a9.136 9.136 0 00-1.492-.251c-.004 0-.008 0-.01.002zM11 6.488a.588.588 0 00-.19.138.061.061 0 00-.01.02.038.038 0 000 .02.14.14 0 00.06.085.024.024 0 00.017.003.026.026 0 00.018-.009.533.533 0 00.12-.244c.004-.015-.001-.02-.015-.013zM5.274 1.903c.063.84.198 1.67.403 2.487.221.879.663 1.64 1.534 2.01a3.685 3.685 0 002.587.136.029.029 0 00.02-.03.032.032 0 00-.005-.013c-.2-.27-.413-.533-.636-.786l-.436-.493a.031.031 0 00-.016-.01.04.04 0 00-.02 0 1.92 1.92 0 01-1.113-.04c-.28-.183-.037-.264.124-.278.19-.018.379-.058.565-.121.002 0 .005-.003.006-.004a.011.011 0 00.004-.006c.001-.004 0-.01-.004-.014C7.351 3.726 6.325 2.81 5.29 1.897c-.011-.01-.018-.009-.016.006zm.249-.1c-.02 0-.022.008-.006.02l3.056 2.56c.003.003.01.004.014.003a.011.011 0 00.007-.003 2.235 2.235 0 00.162-.634c0-.007.003-.014.006-.02a.049.049 0 01.014-.017c.141-.118.197.023.225.138.075.303.077.619.009.923a.074.074 0 00.021.068l.46.419v.002l.917.93c.005.003.01.005.016.005l.008-.001a.036.036 0 00.008-.006c.348-.399.467-.85.358-1.352-.22-1.001-.896-1.809-1.795-2.323-1.014-.609-2.305-.763-3.48-.712z",
|
|
94
|
+
fill: "#36124C",
|
|
95
|
+
fillRule: "evenodd"
|
|
96
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
97
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
98
|
+
gradientUnits: "userSpaceOnUse",
|
|
99
|
+
id: b.id,
|
|
100
|
+
x1: "17.021",
|
|
101
|
+
x2: "8.931",
|
|
102
|
+
y1: "22.37",
|
|
103
|
+
y2: "7.457",
|
|
104
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
105
|
+
stopColor: "#6B21A8"
|
|
106
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
107
|
+
offset: "1",
|
|
108
|
+
stopColor: "#8636C9"
|
|
109
|
+
})]
|
|
110
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
111
|
+
gradientUnits: "userSpaceOnUse",
|
|
112
|
+
id: c.id,
|
|
113
|
+
x1: "6.472",
|
|
114
|
+
x2: "8.833",
|
|
115
|
+
y1: "1.89",
|
|
116
|
+
y2: "6.601",
|
|
117
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
118
|
+
stopColor: "#8FD376"
|
|
119
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
120
|
+
offset: "1",
|
|
121
|
+
stopColor: "#80C567"
|
|
122
|
+
})]
|
|
123
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
124
|
+
gradientUnits: "userSpaceOnUse",
|
|
125
|
+
id: d.id,
|
|
126
|
+
x1: "6.472",
|
|
127
|
+
x2: "8.833",
|
|
128
|
+
y1: "1.89",
|
|
129
|
+
y2: "6.601",
|
|
130
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
131
|
+
stopColor: "#8FD376"
|
|
132
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
133
|
+
offset: "1",
|
|
134
|
+
stopColor: "#80C567"
|
|
135
|
+
})]
|
|
136
|
+
}), /*#__PURE__*/_jsxs("radialGradient", {
|
|
137
|
+
cx: "0",
|
|
138
|
+
cy: "0",
|
|
139
|
+
gradientTransform: "matrix(9.00763 0 0 8.63477 7.129 14.847)",
|
|
140
|
+
gradientUnits: "userSpaceOnUse",
|
|
141
|
+
id: a.id,
|
|
142
|
+
r: "1",
|
|
143
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
144
|
+
stopColor: "#AC51FF"
|
|
145
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
146
|
+
offset: "1",
|
|
147
|
+
stopColor: "#9B36F6"
|
|
148
|
+
})]
|
|
149
|
+
})]
|
|
150
|
+
})]
|
|
151
|
+
}));
|
|
152
|
+
});
|
|
153
|
+
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 { COMBINE_SPACE_MULTIPLE, COMBINE_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: COMBINE_SPACE_MULTIPLE,
|
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
|
30
|
+
}, rest));
|
|
31
|
+
});
|
|
32
|
+
export default Combine;
|