@lobehub/icons 2.45.0 → 2.47.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 +57 -57
- package/es/Ai2/components/Avatar.d.ts +5 -0
- package/es/Ai2/components/Avatar.js +25 -0
- package/es/Ai2/components/Color.d.ts +3 -0
- package/es/Ai2/components/Color.js +39 -0
- package/es/Ai2/components/Combine.d.ts +7 -0
- package/es/Ai2/components/Combine.js +32 -0
- package/es/Ai2/components/Mono.d.ts +3 -0
- package/es/Ai2/components/Mono.js +40 -0
- package/es/Ai2/components/Text.d.ts +3 -0
- package/es/Ai2/components/Text.js +39 -0
- package/es/Ai2/index.d.ts +16 -0
- package/es/Ai2/index.js +14 -0
- package/es/Ai2/style.d.ts +7 -0
- package/es/Ai2/style.js +9 -0
- package/es/Arcee/components/Avatar.d.ts +5 -0
- package/es/Arcee/components/Avatar.js +25 -0
- package/es/Arcee/components/Color.d.ts +3 -0
- package/es/Arcee/components/Color.js +39 -0
- package/es/Arcee/components/Combine.d.ts +7 -0
- package/es/Arcee/components/Combine.js +32 -0
- package/es/Arcee/components/Mono.d.ts +3 -0
- package/es/Arcee/components/Mono.js +40 -0
- package/es/Arcee/components/Text.d.ts +3 -0
- package/es/Arcee/components/Text.js +39 -0
- package/es/Arcee/index.d.ts +16 -0
- package/es/Arcee/index.js +14 -0
- package/es/Arcee/style.d.ts +7 -0
- package/es/Arcee/style.js +9 -0
- package/es/CodeFlicker/components/Avatar.d.ts +5 -0
- package/es/CodeFlicker/components/Avatar.js +25 -0
- package/es/CodeFlicker/components/Color.d.ts +3 -0
- package/es/CodeFlicker/components/Color.js +185 -0
- package/es/CodeFlicker/components/Combine.d.ts +7 -0
- package/es/CodeFlicker/components/Combine.js +32 -0
- package/es/CodeFlicker/components/Mono.d.ts +3 -0
- package/es/CodeFlicker/components/Mono.js +42 -0
- package/es/CodeFlicker/components/Text.d.ts +3 -0
- package/es/CodeFlicker/components/Text.js +43 -0
- package/es/CodeFlicker/index.d.ts +15 -0
- package/es/CodeFlicker/index.js +14 -0
- package/es/CodeFlicker/style.d.ts +7 -0
- package/es/CodeFlicker/style.js +9 -0
- package/es/CyberCut/components/Avatar.d.ts +5 -0
- package/es/CyberCut/components/Avatar.js +25 -0
- package/es/CyberCut/components/Combine.d.ts +5 -0
- package/es/CyberCut/components/Combine.js +27 -0
- package/es/CyberCut/components/Mono.d.ts +3 -0
- package/es/CyberCut/components/Mono.js +64 -0
- package/es/CyberCut/components/Text.d.ts +3 -0
- package/es/CyberCut/components/Text.js +42 -0
- package/es/CyberCut/index.d.ts +13 -0
- package/es/CyberCut/index.js +12 -0
- package/es/CyberCut/style.d.ts +7 -0
- package/es/CyberCut/style.js +9 -0
- package/es/DeepCogito/components/Avatar.d.ts +5 -0
- package/es/DeepCogito/components/Avatar.js +25 -0
- package/es/DeepCogito/components/Color.d.ts +3 -0
- package/es/DeepCogito/components/Color.js +39 -0
- package/es/DeepCogito/components/Combine.d.ts +7 -0
- package/es/DeepCogito/components/Combine.js +32 -0
- package/es/DeepCogito/components/Mono.d.ts +3 -0
- package/es/DeepCogito/components/Mono.js +40 -0
- package/es/DeepCogito/components/Text.d.ts +3 -0
- package/es/DeepCogito/components/Text.js +39 -0
- package/es/DeepCogito/index.d.ts +16 -0
- package/es/DeepCogito/index.js +14 -0
- package/es/DeepCogito/style.d.ts +7 -0
- package/es/DeepCogito/style.js +9 -0
- package/es/EssentialAI/components/Avatar.d.ts +5 -0
- package/es/EssentialAI/components/Avatar.js +25 -0
- package/es/EssentialAI/components/Color.d.ts +3 -0
- package/es/EssentialAI/components/Color.js +58 -0
- package/es/EssentialAI/components/Combine.d.ts +7 -0
- package/es/EssentialAI/components/Combine.js +32 -0
- package/es/EssentialAI/components/Mono.d.ts +3 -0
- package/es/EssentialAI/components/Mono.js +40 -0
- package/es/EssentialAI/components/Text.d.ts +3 -0
- package/es/EssentialAI/components/Text.js +39 -0
- package/es/EssentialAI/index.d.ts +16 -0
- package/es/EssentialAI/index.js +15 -0
- package/es/EssentialAI/style.d.ts +8 -0
- package/es/EssentialAI/style.js +10 -0
- package/es/Inception/components/Avatar.d.ts +5 -0
- package/es/Inception/components/Avatar.js +25 -0
- package/es/Inception/components/Combine.d.ts +5 -0
- package/es/Inception/components/Combine.js +26 -0
- package/es/Inception/components/Mono.d.ts +3 -0
- package/es/Inception/components/Mono.js +40 -0
- package/es/Inception/components/Text.d.ts +3 -0
- package/es/Inception/components/Text.js +47 -0
- package/es/Inception/index.d.ts +13 -0
- package/es/Inception/index.js +12 -0
- package/es/Inception/style.d.ts +7 -0
- package/es/Inception/style.js +9 -0
- package/es/KwaiKAT/components/Avatar.d.ts +5 -0
- package/es/KwaiKAT/components/Avatar.js +25 -0
- package/es/KwaiKAT/components/Combine.d.ts +5 -0
- package/es/KwaiKAT/components/Combine.js +26 -0
- package/es/KwaiKAT/components/Mono.d.ts +3 -0
- package/es/KwaiKAT/components/Mono.js +42 -0
- package/es/KwaiKAT/components/Text.d.ts +3 -0
- package/es/KwaiKAT/components/Text.js +44 -0
- package/es/KwaiKAT/components/TextColor.d.ts +3 -0
- package/es/KwaiKAT/components/TextColor.js +46 -0
- package/es/KwaiKAT/index.d.ts +15 -0
- package/es/KwaiKAT/index.js +14 -0
- package/es/KwaiKAT/style.d.ts +7 -0
- package/es/KwaiKAT/style.js +9 -0
- package/es/LobeHub/components/Color.js +343 -27
- package/es/LobeHub/components/Mono.js +21 -21
- package/es/LobeHub/components/Morden.d.ts +3 -0
- package/es/LobeHub/components/Morden.js +40 -0
- package/es/LobeHub/index.d.ts +2 -0
- package/es/LobeHub/index.js +2 -0
- package/es/LobeHub/style.d.ts +1 -1
- package/es/LobeHub/style.js +1 -1
- package/es/Morph/components/Avatar.d.ts +5 -0
- package/es/Morph/components/Avatar.js +25 -0
- package/es/Morph/components/Color.d.ts +3 -0
- package/es/Morph/components/Color.js +39 -0
- package/es/Morph/components/Combine.d.ts +7 -0
- package/es/Morph/components/Combine.js +32 -0
- package/es/Morph/components/Mono.d.ts +3 -0
- package/es/Morph/components/Mono.js +40 -0
- package/es/Morph/components/Text.d.ts +3 -0
- package/es/Morph/components/Text.js +42 -0
- package/es/Morph/index.d.ts +16 -0
- package/es/Morph/index.js +14 -0
- package/es/Morph/style.d.ts +7 -0
- package/es/Morph/style.js +9 -0
- package/es/Nova/components/Color.js +51 -105
- package/es/Nova/components/Mono.js +4 -13
- package/es/Nova/style.d.ts +2 -2
- package/es/Nova/style.js +1 -1
- package/es/Relace/components/Avatar.d.ts +5 -0
- package/es/Relace/components/Avatar.js +25 -0
- package/es/Relace/components/Combine.d.ts +5 -0
- package/es/Relace/components/Combine.js +26 -0
- package/es/Relace/components/Mono.d.ts +3 -0
- package/es/Relace/components/Mono.js +40 -0
- package/es/Relace/components/Text.d.ts +3 -0
- package/es/Relace/components/Text.js +39 -0
- package/es/Relace/index.d.ts +13 -0
- package/es/Relace/index.js +12 -0
- package/es/Relace/style.d.ts +7 -0
- package/es/Relace/style.js +9 -0
- package/es/Replicate/index.d.ts +1 -0
- package/es/Replicate/index.js +1 -0
- package/es/SearchApi/components/Mono.js +1 -1
- package/es/SearchApi/components/Text.js +2 -2
- package/es/SearchApi/style.d.ts +3 -3
- package/es/SearchApi/style.js +3 -3
- package/es/StreamLake/components/Avatar.d.ts +5 -0
- package/es/StreamLake/components/Avatar.js +25 -0
- package/es/StreamLake/components/Color.d.ts +3 -0
- package/es/StreamLake/components/Color.js +39 -0
- package/es/StreamLake/components/Combine.d.ts +7 -0
- package/es/StreamLake/components/Combine.js +32 -0
- package/es/StreamLake/components/Mono.d.ts +3 -0
- package/es/StreamLake/components/Mono.js +40 -0
- package/es/StreamLake/components/Text.d.ts +3 -0
- package/es/StreamLake/components/Text.js +39 -0
- package/es/StreamLake/index.d.ts +15 -0
- package/es/StreamLake/index.js +14 -0
- package/es/StreamLake/style.d.ts +7 -0
- package/es/StreamLake/style.js +9 -0
- package/es/features/modelConfig.js +33 -1
- package/es/features/providerConfig.js +5 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +11 -0
- package/es/icons.js +11 -0
- package/es/toc.js +205 -6
- package/package.json +3 -3
|
@@ -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,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
|
+
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: "M7.941 2c.23 0 .452.073.638.21.186.136.325.328.397.55l.593 1.814c.073.221.212.413.397.55.186.136.409.21.638.21h2.791c.23 0 .452-.074.638-.21a1.11 1.11 0 00.397-.55l.594-1.815a1.11 1.11 0 01.397-.55c.185-.136.408-.209.637-.209h1.7c.23 0 .453.073.639.21.185.136.324.328.397.55l.652 1.994c.118.361.41.635.77.728l2.957.752c.236.06.446.199.596.394.15.195.23.436.231.684v9.376c0 .248-.081.488-.231.684a1.09 1.09 0 01-.595.394l-2.957.752a1.086 1.086 0 00-.477.263 1.114 1.114 0 00-.293.465l-.653 1.994a1.11 1.11 0 01-.396.55c-.186.136-.41.21-.638.21h-1.702c-.229 0-.452-.073-.637-.21a1.11 1.11 0 01-.397-.55l-.364-1.11a1.131 1.131 0 01.15-1.002 1.074 1.074 0 01.885-.462h2.85c.29 0 .567-.116.772-.325.204-.208.32-.49.32-.785V6.444c0-.294-.116-.577-.32-.785a1.08 1.08 0 00-.771-.326h-3.273c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v7.778c0 .295-.114.578-.319.786a1.08 1.08 0 01-.771.325h-2.182a1.08 1.08 0 01-.771-.325 1.122 1.122 0 01-.32-.786V6.444c0-.294-.115-.577-.32-.785a1.081 1.081 0 00-.77-.326H5.454c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v11.112c0 .294.116.577.32.785.205.209.482.326.772.326h2.85a1.075 1.075 0 01.885.461 1.122 1.122 0 01.15 1.001l-.364 1.112a1.11 1.11 0 01-.397.55c-.185.136-.408.209-.637.209H6.24c-.229 0-.452-.073-.638-.21a1.11 1.11 0 01-.397-.55l-.652-1.994a1.114 1.114 0 00-.294-.465 1.086 1.086 0 00-.477-.263l-2.956-.752a1.09 1.09 0 01-.595-.394A1.124 1.124 0 010 16.688V7.312c0-.248.081-.489.231-.684.15-.195.36-.334.595-.394l2.957-.753c.178-.045.342-.136.477-.263.134-.127.235-.287.293-.464l.653-1.995a1.11 1.11 0 01.397-.55C5.788 2.075 6.01 2 6.24 2h1.701z",
|
|
35
|
+
fill: "#99D52A"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
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,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 { 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: "M7.941 2c.23 0 .452.073.638.21.186.136.325.328.397.55l.593 1.814c.073.221.212.413.397.55.186.136.409.21.638.21h2.791c.23 0 .452-.074.638-.21a1.11 1.11 0 00.397-.55l.594-1.815a1.11 1.11 0 01.397-.55c.185-.136.408-.209.637-.209h1.7c.23 0 .453.073.639.21.185.136.324.328.397.55l.652 1.994c.118.361.41.635.77.728l2.957.752c.236.06.446.199.596.394.15.195.23.436.231.684v9.376c0 .248-.081.488-.231.684a1.09 1.09 0 01-.595.394l-2.957.752a1.086 1.086 0 00-.477.263 1.114 1.114 0 00-.293.465l-.653 1.994a1.11 1.11 0 01-.396.55c-.186.136-.41.21-.638.21h-1.702c-.229 0-.452-.073-.637-.21a1.11 1.11 0 01-.397-.55l-.364-1.11a1.131 1.131 0 01.15-1.002 1.074 1.074 0 01.885-.462h2.85c.29 0 .567-.116.772-.325.204-.208.32-.49.32-.785V6.444c0-.294-.116-.577-.32-.785a1.08 1.08 0 00-.771-.326h-3.273c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v7.778c0 .295-.114.578-.319.786a1.08 1.08 0 01-.771.325h-2.182a1.08 1.08 0 01-.771-.325 1.122 1.122 0 01-.32-.786V6.444c0-.294-.115-.577-.32-.785a1.081 1.081 0 00-.77-.326H5.454c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v11.112c0 .294.116.577.32.785.205.209.482.326.772.326h2.85a1.075 1.075 0 01.885.461 1.122 1.122 0 01.15 1.001l-.364 1.112a1.11 1.11 0 01-.397.55c-.185.136-.408.209-.637.209H6.24c-.229 0-.452-.073-.638-.21a1.11 1.11 0 01-.397-.55l-.652-1.994a1.114 1.114 0 00-.294-.465 1.086 1.086 0 00-.477-.263l-2.956-.752a1.09 1.09 0 01-.595-.394A1.124 1.124 0 010 16.688V7.312c0-.248.081-.489.231-.684.15-.195.36-.334.595-.394l2.957-.753c.178-.045.342-.136.477-.263.134-.127.235-.287.293-.464l.653-1.995a1.11 1.11 0 01.397-.55C5.788 2.075 6.01 2 6.24 2h1.701z"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
export default Icon;
|
|
@@ -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 { 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 75 24",
|
|
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: "M53.311 6.71c1.059 0 2.022.248 2.884.746l.171.103a5.852 5.852 0 012.123 2.335c.51.99.764 2.103.764 3.336 0 1.233-.254 2.346-.764 3.335a5.852 5.852 0 01-2.123 2.336c-.906.566-1.925.848-3.055.848-.971 0-1.842-.211-2.605-.638a4.689 4.689 0 01-1.52-1.351v5.715a.52.52 0 01-.145.38.523.523 0 01-.381.145h-1.312a.523.523 0 01-.381-.144.52.52 0 01-.145-.38V7.465a.52.52 0 01.145-.381.523.523 0 01.381-.144h1.178c.143 0 .279.036.381.131.09.084.135.195.152.317l.005.053v.002l.07 1.238a4.841 4.841 0 011.6-1.359c.77-.409 1.63-.612 2.577-.612zm-.475 2.068c-.658.01-1.302.2-1.861.549-.575.366-1.023.883-1.343 1.556-.32.673-.482 1.455-.482 2.347 0 .837.142 1.576.424 2.22l.058.127.001.002c.29.635.755 1.174 1.341 1.553l.113.068c.57.328 1.22.495 1.881.483h.006a3.658 3.658 0 002.006-.551 3.653 3.653 0 001.341-1.553l.001-.002c.32-.673.482-1.454.482-2.347v-.003a5.412 5.412 0 00-.483-2.347 3.654 3.654 0 00-1.342-1.553l-.11-.066c-.548-.321-1.18-.483-1.898-.483h-.135zM26 6.71c1.192 0 2.27.282 3.227.847a5.985 5.985 0 012.148 2.154l.104.184a6.83 6.83 0 01.815 3.335l-.003.229c-.032 1.137-.301 2.174-.812 3.106a6.016 6.016 0 01-2.252 2.338c-.957.565-2.035.846-3.227.846-1.192 0-2.27-.28-3.228-.846a6.014 6.014 0 01-2.251-2.338l-.1-.188c-.446-.883-.683-1.857-.712-2.918l-.004-.229a6.833 6.833 0 01.815-3.334v-.001a6.01 6.01 0 012.252-2.338l.181-.103c.912-.496 1.929-.743 3.047-.743zm0 2.104c-.767 0-1.436.183-2.015.544-.58.363-1.031.873-1.355 1.538a5.27 5.27 0 00-.488 2.33v.004c0 .837.145 1.571.43 2.207l.058.126.001.002c.295.631.765 1.164 1.354 1.537l.11.065c.553.318 1.186.48 1.905.48.766 0 1.436-.184 2.015-.545.58-.363 1.031-.874 1.355-1.539a5.27 5.27 0 00.488-2.33v-.006a5.271 5.271 0 00-.49-2.333 3.643 3.643 0 00-1.353-1.536l-.11-.065c-.553-.318-1.187-.48-1.905-.48z"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M4.238 2.484c.233 0 .418.105.542.297l.024.039.002.002.001.003 4.69 8.954 4.677-8.954a.631.631 0 01.233-.254c.1-.06.214-.087.336-.087h1.687c.146 0 .28.043.382.145a.52.52 0 01.145.38v15.985a.52.52 0 01-.145.381.523.523 0 01-.382.144h-1.384a.523.523 0 01-.381-.144.503.503 0 01-.143-.327l-.002-.053V6.634l-4.321 8.268-.003.006a.625.625 0 01-.566.335h-.34a.625.625 0 01-.565-.335l-.002-.003-.001-.003L4.4 6.646v12.348a.52.52 0 01-.144.381.523.523 0 01-.382.144H2.526a.523.523 0 01-.381-.144.52.52 0 01-.145-.38V3.008a.52.52 0 01.145-.38.523.523 0 01.381-.145h1.712zM43.572 6.71c.264 0 .499.017.703.05.136.02.26.075.346.178.087.102.12.232.12.37v1.336a.504.504 0 01-.151.336l-.006.005-.006.005a.487.487 0 01-.33.107.81.81 0 01-.09-.006 6.63 6.63 0 00-.817-.047h-.008a4.055 4.055 0 00-2.845.968 3.557 3.557 0 00-1.043 2.544v.01c-.007.12-.01.24-.01.361v4.562h3.056c.145 0 .28.042.382.144a.52.52 0 01.144.38v.981a.52.52 0 01-.144.381.522.522 0 01-.382.144h-8.197a.523.523 0 01-.381-.144.52.52 0 01-.145-.38v-.982a.52.52 0 01.145-.38.522.522 0 01.38-.144h2.778V8.97H34.44a.523.523 0 01-.382-.144.52.52 0 01-.145-.38v-.981a.52.52 0 01.145-.381.523.523 0 01.382-.144h4.335c.143 0 .279.036.38.131a.54.54 0 01.158.37v.002l.087 1.518a4.59 4.59 0 011.53-1.567l.002-.002c.77-.456 1.65-.682 2.64-.682zM63.755 2c.145 0 .28.042.381.144a.52.52 0 01.145.38v6.113a4.405 4.405 0 011.51-1.332l.002-.001a5.303 5.303 0 012.53-.593c.953 0 1.784.197 2.488.596l.13.078c.644.399 1.143.97 1.496 1.706.378.786.563 1.732.563 2.831v7.072a.52.52 0 01-.144.381.523.523 0 01-.382.144h-1.312a.523.523 0 01-.381-.144.52.52 0 01-.145-.38v-6.73a4.221 4.221 0 00-.516-2.226 2.523 2.523 0 00-.187-.264l-.07-.084c-.506-.571-1.219-.865-2.162-.865h-.003a3.45 3.45 0 00-1.792.457c-.52.314-.935.776-1.19 1.327l-.002.002c-.286.587-.433 1.3-.433 2.146v6.236a.52.52 0 01-.145.381.523.523 0 01-.381.144h-1.312a.523.523 0 01-.381-.144.52.52 0 01-.145-.38V2.524a.52.52 0 01.145-.38.523.523 0 01.381-.145h1.312z"
|
|
39
|
+
})]
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
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 = "Morph";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.25;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#000";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
|
6
|
+
export declare const AVATAR_COLOR = "#99d52a";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'Morph';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.25;
|
|
4
|
+
export var COLOR_PRIMARY = '#000';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#99d52a';
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -25,132 +25,78 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
25
25
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
26
26
|
style = _ref.style,
|
|
27
27
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
28
|
-
var _useFillIds = useFillIds(TITLE,
|
|
29
|
-
_useFillIds2 = _slicedToArray(_useFillIds,
|
|
28
|
+
var _useFillIds = useFillIds(TITLE, 3),
|
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 3),
|
|
30
30
|
a = _useFillIds2[0],
|
|
31
31
|
b = _useFillIds2[1],
|
|
32
|
-
c = _useFillIds2[2]
|
|
33
|
-
d = _useFillIds2[3];
|
|
32
|
+
c = _useFillIds2[2];
|
|
34
33
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
35
34
|
height: size,
|
|
36
35
|
style: _objectSpread({
|
|
37
36
|
flex: 'none',
|
|
38
37
|
lineHeight: 1
|
|
39
38
|
}, style),
|
|
40
|
-
viewBox: "0 0
|
|
39
|
+
viewBox: "0 0 33 32",
|
|
41
40
|
width: size,
|
|
42
41
|
xmlns: "http://www.w3.org/2000/svg"
|
|
43
42
|
}, rest), {}, {
|
|
44
43
|
children: [/*#__PURE__*/_jsx("title", {
|
|
45
44
|
children: TITLE
|
|
46
|
-
}), /*#__PURE__*/
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
clipRule: "evenodd",
|
|
51
|
-
d: "M18.946 12.273a2.25 2.25 0 100-.818h-8.219v.818h8.22zm3.645-.41a1.432 1.432 0 11-2.863 0 1.432 1.432 0 012.863 0z",
|
|
52
|
-
fill: b.fill,
|
|
53
|
-
fillRule: "evenodd"
|
|
54
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
55
|
-
clipRule: "evenodd",
|
|
56
|
-
d: "M18.091 14.727h-4.705v-.818h5.523V18h1.637v4.091h-4.091v-4.09h1.636v-3.274zm-.818 6.546v-2.455h2.454v2.455h-2.454z",
|
|
57
|
-
fill: c.fill,
|
|
58
|
-
fillRule: "evenodd"
|
|
59
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
60
|
-
clipRule: "evenodd",
|
|
61
|
-
d: "M18.091 9h-4.705v.818h5.523v-4.09h2.375L18.5 1.273l-2.783 4.453h2.374V9zm.41-6.183L17.192 4.91h2.615L18.5 2.817z",
|
|
62
|
-
fill: d.fill,
|
|
63
|
-
fillRule: "evenodd"
|
|
64
|
-
}), /*#__PURE__*/_jsxs("defs", {
|
|
65
|
-
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
66
|
-
gradientUnits: "userSpaceOnUse",
|
|
45
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
46
|
+
mask: a.fill,
|
|
47
|
+
children: [/*#__PURE__*/_jsx("mask", {
|
|
48
|
+
height: "32",
|
|
67
49
|
id: a.id,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
offset: ".75",
|
|
82
|
-
stopColor: "#FC5978"
|
|
83
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
84
|
-
offset: "1",
|
|
85
|
-
stopColor: "#FF6D32"
|
|
86
|
-
})]
|
|
87
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
88
|
-
gradientUnits: "userSpaceOnUse",
|
|
50
|
+
maskUnits: "userSpaceOnUse",
|
|
51
|
+
style: {
|
|
52
|
+
maskType: 'luminance'
|
|
53
|
+
},
|
|
54
|
+
width: "32",
|
|
55
|
+
x: "0",
|
|
56
|
+
y: "0",
|
|
57
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
58
|
+
d: "M31.8 0H0v32h31.8z",
|
|
59
|
+
fill: "#fff"
|
|
60
|
+
})
|
|
61
|
+
}), /*#__PURE__*/_jsx("mask", {
|
|
62
|
+
height: "32",
|
|
89
63
|
id: b.id,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
64
|
+
maskUnits: "userSpaceOnUse",
|
|
65
|
+
style: {
|
|
66
|
+
maskType: 'alpha'
|
|
67
|
+
},
|
|
68
|
+
width: "32",
|
|
69
|
+
x: "0",
|
|
70
|
+
y: "0",
|
|
71
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
72
|
+
d: "m17.865 23.28 1.533 1.543c.07.07.092.175.055.267l-2.398 6.118A1.24 1.24 0 0 1 15.9 32c-.51 0-.969-.315-1.155-.793l-3.451-8.804-5.582 5.617a.246.246 0 0 1-.35 0l-1.407-1.415a.25.25 0 0 1 0-.352l6.89-6.932a1.3 1.3 0 0 1 .834-.398 1.25 1.25 0 0 1 1.232.79l2.992 7.63 1.557-3.977a.248.248 0 0 1 .408-.085zm8.224-19.3-5.583 5.617-3.45-8.805a1.24 1.24 0 0 0-1.43-.762c-.414.092-.744.407-.899.805l-2.38 6.072a.25.25 0 0 0 .055.267l1.533 1.543c.127.127.34.082.407-.085L15.9 4.655l2.991 7.629a1.24 1.24 0 0 0 2.035.425l6.922-6.965a.25.25 0 0 0 0-.352L26.44 3.977a.246.246 0 0 0-.35 0zM8.578 17.566l-3.953-1.567 7.582-3.01c.49-.195.815-.685.785-1.24a1.3 1.3 0 0 0-.395-.84l-6.886-6.93a.246.246 0 0 0-.35 0L3.954 5.395a.25.25 0 0 0 0 .353l5.583 5.617-8.75 3.472a1.25 1.25 0 0 0 0 2.325l6.079 2.412a.24.24 0 0 0 .266-.055l1.533-1.542a.25.25 0 0 0-.085-.41zm22.434-2.73-6.08-2.412a.24.24 0 0 0-.265.055l-1.533 1.542a.25.25 0 0 0 .084.41L27.172 16l-7.583 3.01a1.255 1.255 0 0 0-.785 1.24c.018.317.172.614.395.84l6.89 6.931a.246.246 0 0 0 .35 0l1.406-1.415a.25.25 0 0 0 0-.352l-5.582-5.617 8.75-3.472a1.25 1.25 0 0 0 0-2.325z",
|
|
73
|
+
fill: "#fff"
|
|
74
|
+
})
|
|
75
|
+
}), /*#__PURE__*/_jsx("g", {
|
|
76
|
+
mask: b.fill,
|
|
77
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
78
|
+
d: "M-2.915 34.125h37.448V-2.109H-2.915z",
|
|
79
|
+
fill: c.fill
|
|
80
|
+
})
|
|
81
|
+
})]
|
|
82
|
+
}), /*#__PURE__*/_jsx("defs", {
|
|
83
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
110
84
|
gradientUnits: "userSpaceOnUse",
|
|
111
85
|
id: c.id,
|
|
112
|
-
x1: "
|
|
113
|
-
x2: "
|
|
114
|
-
y1: "
|
|
115
|
-
y2: "
|
|
116
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
|
117
|
-
stopColor: "#43E3E4"
|
|
118
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
119
|
-
offset: ".25",
|
|
120
|
-
stopColor: "#4A9FFF"
|
|
121
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
122
|
-
offset: ".5",
|
|
123
|
-
stopColor: "#AA4BFB"
|
|
124
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
125
|
-
offset: ".75",
|
|
126
|
-
stopColor: "#FC5978"
|
|
127
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
128
|
-
offset: "1",
|
|
129
|
-
stopColor: "#FF6D32"
|
|
130
|
-
})]
|
|
131
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
132
|
-
gradientUnits: "userSpaceOnUse",
|
|
133
|
-
id: d.id,
|
|
134
|
-
x1: "3.5",
|
|
135
|
-
x2: "20.5",
|
|
136
|
-
y1: "3.5",
|
|
137
|
-
y2: "21.5",
|
|
86
|
+
x1: "33.663",
|
|
87
|
+
x2: "-2.086",
|
|
88
|
+
y1: "33.633",
|
|
89
|
+
y2: "-1.901",
|
|
138
90
|
children: [/*#__PURE__*/_jsx("stop", {
|
|
139
|
-
stopColor: "#
|
|
91
|
+
stopColor: "#ff6200"
|
|
140
92
|
}), /*#__PURE__*/_jsx("stop", {
|
|
141
|
-
offset: ".
|
|
142
|
-
stopColor: "#
|
|
93
|
+
offset: ".399",
|
|
94
|
+
stopColor: "#e433ff"
|
|
143
95
|
}), /*#__PURE__*/_jsx("stop", {
|
|
144
|
-
offset: ".
|
|
145
|
-
stopColor: "#
|
|
146
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
147
|
-
offset: ".75",
|
|
148
|
-
stopColor: "#FC5978"
|
|
149
|
-
}), /*#__PURE__*/_jsx("stop", {
|
|
150
|
-
offset: "1",
|
|
151
|
-
stopColor: "#FF6D32"
|
|
96
|
+
offset: ".96",
|
|
97
|
+
stopColor: "#6842ff"
|
|
152
98
|
})]
|
|
153
|
-
})
|
|
99
|
+
})
|
|
154
100
|
})]
|
|
155
101
|
}));
|
|
156
102
|
});
|
|
@@ -19,30 +19,21 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
19
19
|
style = _ref.style,
|
|
20
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
21
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
-
fill: "
|
|
23
|
-
fillRule: "evenodd",
|
|
22
|
+
fill: "none",
|
|
24
23
|
height: size,
|
|
25
24
|
style: _objectSpread({
|
|
26
25
|
flex: 'none',
|
|
27
26
|
lineHeight: 1
|
|
28
27
|
}, style),
|
|
29
|
-
viewBox: "0 0
|
|
28
|
+
viewBox: "0 0 33 32",
|
|
30
29
|
width: size,
|
|
31
30
|
xmlns: "http://www.w3.org/2000/svg"
|
|
32
31
|
}, rest), {}, {
|
|
33
32
|
children: [/*#__PURE__*/_jsx("title", {
|
|
34
33
|
children: TITLE
|
|
35
34
|
}), /*#__PURE__*/_jsx("path", {
|
|
36
|
-
d: "
|
|
37
|
-
|
|
38
|
-
clipRule: "evenodd",
|
|
39
|
-
d: "M18.946 12.273a2.25 2.25 0 100-.818h-8.219v.818h8.22zm3.645-.41a1.432 1.432 0 11-2.863 0 1.432 1.432 0 012.863 0z"
|
|
40
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
41
|
-
clipRule: "evenodd",
|
|
42
|
-
d: "M18.091 14.727h-4.705v-.818h5.523V18h1.637v4.091h-4.091v-4.09h1.636v-3.274zm-.818 6.546v-2.455h2.454v2.455h-2.454z"
|
|
43
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
44
|
-
clipRule: "evenodd",
|
|
45
|
-
d: "M18.091 9h-4.705v.818h5.523v-4.09h2.375L18.5 1.273l-2.783 4.453h2.374V9zm.41-6.183L17.192 4.91h2.615L18.5 2.817z"
|
|
35
|
+
d: "m17.865 23.28 1.533 1.543c.07.07.092.175.055.267l-2.398 6.118A1.24 1.24 0 0 1 15.9 32c-.51 0-.969-.315-1.155-.793l-3.451-8.804-5.582 5.617a.246.246 0 0 1-.35 0l-1.407-1.415a.25.25 0 0 1 0-.352l6.89-6.932a1.3 1.3 0 0 1 .834-.398 1.25 1.25 0 0 1 1.232.79l2.992 7.63 1.557-3.977a.248.248 0 0 1 .408-.085zm8.224-19.3-5.583 5.617-3.45-8.805a1.24 1.24 0 0 0-1.43-.762c-.414.092-.744.407-.899.805l-2.38 6.072a.25.25 0 0 0 .055.267l1.533 1.543c.127.127.34.082.407-.085L15.9 4.655l2.991 7.629a1.24 1.24 0 0 0 2.035.425l6.922-6.965a.25.25 0 0 0 0-.352L26.44 3.977a.246.246 0 0 0-.35 0zM8.578 17.566l-3.953-1.567 7.582-3.01c.49-.195.815-.685.785-1.24a1.3 1.3 0 0 0-.395-.84l-6.886-6.93a.246.246 0 0 0-.35 0L3.954 5.395a.25.25 0 0 0 0 .353l5.583 5.617-8.75 3.472a1.25 1.25 0 0 0 0 2.325l6.079 2.412a.24.24 0 0 0 .266-.055l1.533-1.542a.25.25 0 0 0-.085-.41zm22.434-2.73-6.08-2.412a.24.24 0 0 0-.265.055l-1.533 1.542a.25.25 0 0 0 .084.41L27.172 16l-7.583 3.01a1.255 1.255 0 0 0-.785 1.24c.018.317.172.614.395.84l6.89 6.931a.246.246 0 0 0 .35 0l1.406-1.415a.25.25 0 0 0 0-.352l-5.582-5.617 8.75-3.472a1.25 1.25 0 0 0 0-2.325z",
|
|
36
|
+
fill: "currentColor"
|
|
46
37
|
})]
|
|
47
38
|
}));
|
|
48
39
|
});
|
package/es/Nova/style.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const TITLE = "Nova";
|
|
|
2
2
|
export declare const COMBINE_TEXT_MULTIPLE = 0.6;
|
|
3
3
|
export declare const COMBINE_SPACE_MULTIPLE = 0.1;
|
|
4
4
|
export declare const COLOR_PRIMARY = "#222F3E";
|
|
5
|
-
export declare const COLOR_GRADIENT = "linear-gradient(
|
|
6
|
-
export declare const AVATAR_BACKGROUND = "linear-gradient(
|
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(-45deg, #ff6200, #e433ff 39.9%, #6842ff 96%)";
|
|
6
|
+
export declare const AVATAR_BACKGROUND = "linear-gradient(-45deg, #ff6200, #e433ff 39.9%, #6842ff 96%)";
|
|
7
7
|
export declare const AVATAR_COLOR = "#fff";
|
|
8
8
|
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
package/es/Nova/style.js
CHANGED
|
@@ -2,7 +2,7 @@ export var TITLE = 'Nova';
|
|
|
2
2
|
export var COMBINE_TEXT_MULTIPLE = 0.6;
|
|
3
3
|
export var COMBINE_SPACE_MULTIPLE = 0.1;
|
|
4
4
|
export var COLOR_PRIMARY = '#222F3E';
|
|
5
|
-
export var COLOR_GRADIENT = 'linear-gradient(
|
|
5
|
+
export var COLOR_GRADIENT = 'linear-gradient(-45deg, #ff6200, #e433ff 39.9%, #6842ff 96%)';
|
|
6
6
|
|
|
7
7
|
// Avatar constants
|
|
8
8
|
export var AVATAR_BACKGROUND = COLOR_GRADIENT;
|
|
@@ -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,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
5
|
+
export default Combine;
|
|
@@ -0,0 +1,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
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
|
12
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Mono from "./Mono";
|
|
14
|
+
import Text from "./Text";
|
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
19
|
+
Icon: Mono,
|
|
20
|
+
Text: Text,
|
|
21
|
+
"aria-label": TITLE,
|
|
22
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
|
23
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
|
24
|
+
}, rest));
|
|
25
|
+
});
|
|
26
|
+
export default Combine;
|