@lobehub/icons 5.7.0 → 5.9.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 +105 -104
- package/es/AirJelly/components/Avatar.d.ts +5 -0
- package/es/AirJelly/components/Avatar.js +25 -0
- package/es/AirJelly/components/Color.d.ts +3 -0
- package/es/AirJelly/components/Color.js +39 -0
- package/es/AirJelly/components/Combine.d.ts +7 -0
- package/es/AirJelly/components/Combine.js +32 -0
- package/es/AirJelly/components/Mono.d.ts +3 -0
- package/es/AirJelly/components/Mono.js +40 -0
- package/es/AirJelly/components/Text.d.ts +3 -0
- package/es/AirJelly/components/Text.js +39 -0
- package/es/AirJelly/index.d.ts +15 -0
- package/es/AirJelly/index.js +14 -0
- package/es/AirJelly/style.d.ts +7 -0
- package/es/AirJelly/style.js +9 -0
- package/es/Devin/components/Avatar.d.ts +5 -0
- package/es/Devin/components/Avatar.js +25 -0
- package/es/Devin/components/Color.d.ts +3 -0
- package/es/Devin/components/Color.js +45 -0
- package/es/Devin/components/Combine.d.ts +7 -0
- package/es/Devin/components/Combine.js +32 -0
- package/es/Devin/components/Mono.d.ts +3 -0
- package/es/Devin/components/Mono.js +44 -0
- package/es/Devin/components/Text.d.ts +3 -0
- package/es/Devin/components/Text.js +38 -0
- package/es/Devin/index.d.ts +15 -0
- package/es/Devin/index.js +14 -0
- package/es/Devin/style.d.ts +7 -0
- package/es/Devin/style.js +9 -0
- package/es/Kiro/components/Avatar.d.ts +5 -0
- package/es/Kiro/components/Avatar.js +25 -0
- package/es/Kiro/components/Color.d.ts +3 -0
- package/es/Kiro/components/Color.js +45 -0
- package/es/Kiro/components/Combine.d.ts +7 -0
- package/es/Kiro/components/Combine.js +32 -0
- package/es/Kiro/components/Mono.d.ts +3 -0
- package/es/Kiro/components/Mono.js +40 -0
- package/es/Kiro/components/Text.d.ts +3 -0
- package/es/Kiro/components/Text.js +43 -0
- package/es/Kiro/index.d.ts +15 -0
- package/es/Kiro/index.js +14 -0
- package/es/Kiro/style.d.ts +7 -0
- package/es/Kiro/style.js +9 -0
- package/es/MetaAI/components/Color.js +132 -65
- package/es/MetaAI/components/Mono.js +1 -2
- package/es/Moxt/components/Avatar.d.ts +5 -0
- package/es/Moxt/components/Avatar.js +25 -0
- package/es/Moxt/components/Color.d.ts +3 -0
- package/es/Moxt/components/Color.js +44 -0
- package/es/Moxt/components/Combine.d.ts +7 -0
- package/es/Moxt/components/Combine.js +32 -0
- package/es/Moxt/components/Mono.d.ts +3 -0
- package/es/Moxt/components/Mono.js +43 -0
- package/es/Moxt/components/Text.d.ts +3 -0
- package/es/Moxt/components/Text.js +39 -0
- package/es/Moxt/index.d.ts +15 -0
- package/es/Moxt/index.js +14 -0
- package/es/Moxt/style.d.ts +7 -0
- package/es/Moxt/style.js +9 -0
- package/es/OpenHuman/components/Avatar.d.ts +5 -0
- package/es/OpenHuman/components/Avatar.js +25 -0
- package/es/OpenHuman/components/Combine.d.ts +5 -0
- package/es/OpenHuman/components/Combine.js +29 -0
- package/es/OpenHuman/components/Mono.d.ts +3 -0
- package/es/OpenHuman/components/Mono.js +40 -0
- package/es/OpenHuman/components/Text.d.ts +3 -0
- package/es/OpenHuman/components/Text.js +39 -0
- package/es/OpenHuman/index.d.ts +13 -0
- package/es/OpenHuman/index.js +12 -0
- package/es/OpenHuman/style.d.ts +7 -0
- package/es/OpenHuman/style.js +9 -0
- package/es/PixVerse/components/Avatar.js +2 -2
- package/es/PixVerse/components/Color.js +46 -23
- package/es/PixVerse/components/Mono.js +5 -2
- package/es/PixVerse/index.js +1 -2
- package/es/PixVerse/style.d.ts +4 -5
- package/es/PixVerse/style.js +4 -5
- package/es/SillyTavern/components/Avatar.d.ts +5 -0
- package/es/SillyTavern/components/Avatar.js +25 -0
- package/es/SillyTavern/components/Color.d.ts +3 -0
- package/es/SillyTavern/components/Color.js +42 -0
- package/es/SillyTavern/components/Combine.d.ts +7 -0
- package/es/SillyTavern/components/Combine.js +32 -0
- package/es/SillyTavern/components/Mono.d.ts +3 -0
- package/es/SillyTavern/components/Mono.js +45 -0
- package/es/SillyTavern/components/Text.d.ts +3 -0
- package/es/SillyTavern/components/Text.js +39 -0
- package/es/SillyTavern/index.d.ts +15 -0
- package/es/SillyTavern/index.js +14 -0
- package/es/SillyTavern/style.d.ts +7 -0
- package/es/SillyTavern/style.js +9 -0
- package/es/Slock/components/Avatar.d.ts +5 -0
- package/es/Slock/components/Avatar.js +25 -0
- package/es/Slock/components/Combine.d.ts +5 -0
- package/es/Slock/components/Combine.js +29 -0
- package/es/Slock/components/Inner.d.ts +3 -0
- package/es/Slock/components/Inner.js +42 -0
- package/es/Slock/components/Mono.d.ts +3 -0
- package/es/Slock/components/Mono.js +40 -0
- package/es/Slock/components/Text.d.ts +3 -0
- package/es/Slock/components/Text.js +39 -0
- package/es/Slock/index.d.ts +13 -0
- package/es/Slock/index.js +12 -0
- package/es/Slock/style.d.ts +7 -0
- package/es/Slock/style.js +9 -0
- package/es/WorldRouter/components/Avatar.d.ts +5 -0
- package/es/WorldRouter/components/Avatar.js +25 -0
- package/es/WorldRouter/components/Combine.d.ts +5 -0
- package/es/WorldRouter/components/Combine.js +26 -0
- package/es/WorldRouter/components/Mono.d.ts +3 -0
- package/es/WorldRouter/components/Mono.js +40 -0
- package/es/WorldRouter/components/Text.d.ts +3 -0
- package/es/WorldRouter/components/Text.js +38 -0
- package/es/WorldRouter/index.d.ts +13 -0
- package/es/WorldRouter/index.js +12 -0
- package/es/WorldRouter/style.d.ts +7 -0
- package/es/WorldRouter/style.js +9 -0
- package/es/Yuanbao/components/Color.js +6 -9
- package/es/Yuanbao/components/Mono.js +2 -2
- package/es/ZeroOne/components/Avatar.js +2 -2
- package/es/ZeroOne/components/Combine.js +2 -2
- package/es/ZeroOne/components/Mono.js +4 -1
- package/es/ZeroOne/index.d.ts +2 -0
- package/es/ZeroOne/index.js +2 -0
- package/es/features/agentConfig.js +4 -0
- package/es/icons.d.ts +8 -0
- package/es/icons.js +8 -0
- package/es/toc.json +1 -1
- package/package.json +1 -1
|
@@ -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,43 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
var _excluded = ["size", "style"];
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
|
+
import { 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: "M12.03 11.936v6.22L6.477 15.05l-.002-6.21 5.557 3.095z"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M10.646.36a2.77 2.77 0 012.729 0l8.284 4.713A2.623 2.623 0 0123 7.347v9.34c0 .936-.511 1.803-1.341 2.276l-8.23 4.678a2.77 2.77 0 01-2.727.001l-8.36-4.745A2.623 2.623 0 011 16.621v-4.553l.001-.002H1V7.36c0-.936.51-1.803 1.34-2.276L10.646.36zm1.882 4.12a1.03 1.03 0 00-1.015 0L5.612 7.838a.975.975 0 00-.498.846v6.643c0 .349.19.671.499.846l5.883 3.349a1.03 1.03 0 001.011.002l5.875-3.306a.977.977 0 00.503-.848v-6.71c0-.349-.19-.671-.5-.847l-5.857-3.331z"
|
|
40
|
+
})]
|
|
41
|
+
}));
|
|
42
|
+
});
|
|
43
|
+
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 65 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: "M51.87 6.849s.565-.027.295.444l-4.57 7.31a.8.8 0 000 .811l4.55 7.115h-.05c.144.359-.088.467-.098.471h-3.763a.694.694 0 01-.615-.366l-2.361-4.003a.356.356 0 00-.614 0l-2.336 4.003a.694.694 0 01-.616.366H37.56c-.073-.026-.22-.105-.097-.419l4.623-7.141a.798.798 0 000-.811L37.487 7.33c-.295-.47.295-.47.295-.47h3.664c.246 0 .468.13.591.34l2.36 3.845a.356.356 0 00.616 0l2.504-3.883c.147-.183.37-.313.59-.313h3.762zm7.11-4.358c.37 0 .689.314.689.733v3.61h2.706v.025c.369 0 .663.315.663.707v2.067c0 .392-.294.706-.663.706h-2.706v7.246c-.049 1.588 1.558 1.596 1.574 1.596h1.23c.196 0 .565.131.565.811v2.276c0 .392-.295.732-.688.732h-3.148c-1.918 0-3.492-1.674-3.492-3.715V10.34h-1.525c-.368 0-.663-.314-.663-.706V7.566c0-.392.295-.707.663-.707h1.5V3.224c0-.393.296-.733.689-.733h2.606zM29.52 6.075c4.386 0 7.943 3.783 7.943 8.45 0 4.666-3.557 8.45-7.944 8.45-4.386 0-7.943-3.784-7.943-8.45 0-4.667 3.557-8.45 7.944-8.45zM5.934 1c.12 0 .29.153.294.157l4.255 7.115c.123.21.443.21.566 0l4.328-7.115c.048-.102.26-.155.27-.157h3.173c.37 0 .689.314.689.732V22.19c0 .393-.295.733-.689.733h-2.828c-.369 0-.688-.314-.688-.733V9.005c0-.55-.345 0-.345 0l-3.64 6.068a.667.667 0 01-1.155 0l-3.64-5.937s-.27-.419-.32 0v13.053a.752.752 0 01-.688.76H2.64C2.28 22.93 2 22.606 2 22.214V1.732C2 1.34 2.295 1 2.688 1h3.247zm23.584 9.209c-2.241 0-4.058 1.933-4.058 4.316 0 2.384 1.817 4.316 4.058 4.316 2.24 0 4.058-1.932 4.058-4.316 0-2.383-1.817-4.316-4.058-4.316z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export default Icon;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
colorPrimary: string;
|
|
12
|
+
title: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
export default Icons;
|
package/es/Moxt/index.js
ADDED
|
@@ -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 = "Moxt";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#29C16A";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
|
6
|
+
export declare const AVATAR_COLOR = "#29C16A";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.75;
|
package/es/Moxt/style.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'Moxt';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export var COLOR_PRIMARY = '#29C16A';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = '#fff';
|
|
8
|
+
export var AVATAR_COLOR = COLOR_PRIMARY;
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.75;
|
|
@@ -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,29 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
|
12
|
+
import { 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
|
+
iconProps: {
|
|
23
|
+
shape: 'square'
|
|
24
|
+
},
|
|
25
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
|
26
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
|
27
|
+
}, rest));
|
|
28
|
+
});
|
|
29
|
+
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: "M8.46 8.03c3.754-2.568 6.512-2.523 9.28.081 3.337 3.419 3.256 11.234 1.22 14.409-.887 1.459-2.36 1.946-4.313.976-.917-.455-1.39-.784-2.198-1.465-.621-.436-1.052-.585-2.197-.407l-1.791.407c-1.547.244-3.103-.544-3.745-1.058-1.218-.977-1.544-1.791-1.71-3.093-.162-4.314 2.771-8.012 5.455-9.85zM12.05 0a2.652 2.652 0 110 5.305 2.652 2.652 0 010-5.305z"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
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 135 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: "M27.635 7.603c.83 0 1.579.144 2.244.432.68.289 1.254.684 1.723 1.185a5.12 5.12 0 011.11 1.776c.273.683.41 1.42.41 2.21 0 .789-.137 1.525-.41 2.208a5.121 5.121 0 01-1.11 1.776 4.992 4.992 0 01-1.723 1.185c-.665.288-1.413.433-2.244.433a5.22 5.22 0 01-2.245-.525 4.423 4.423 0 01-1.746-1.548h-.068V24h-1.542V7.876h1.542v1.845h.068a4.157 4.157 0 011.746-1.572c.74-.364 1.489-.546 2.245-.546zM10.366 2c1.194 0 2.298.213 3.31.638a7.849 7.849 0 012.653 1.776 7.893 7.893 0 011.769 2.665c.423 1.032.634 2.163.634 3.393s-.211 2.36-.634 3.393a8.142 8.142 0 01-1.769 2.688 8.02 8.02 0 01-2.652 1.754c-1.013.425-2.117.637-3.31.637-1.195 0-2.306-.212-3.334-.637a8.342 8.342 0 01-2.652-1.754 8.326 8.326 0 01-1.746-2.688C2.212 12.833 2 11.701 2 10.472c0-1.23.212-2.36.635-3.393A8.067 8.067 0 014.38 4.414a8.158 8.158 0 012.652-1.776C8.061 2.213 9.173 2 10.366 2zm30.64 5.603c.831 0 1.564.144 2.2.432a4.35 4.35 0 011.586 1.139 4.64 4.64 0 01.953 1.662c.227.637.34 1.321.34 2.05v.341c0 .122-.008.252-.023.388h-8.797c.015.531.12 1.033.317 1.503s.469.88.816 1.23c.348.349.756.63 1.225.842.469.198.975.296 1.519.296.8 0 1.489-.181 2.063-.546.59-.38 1.036-.813 1.338-1.298l1.156.91c-.634.805-1.337 1.382-2.108 1.731a5.769 5.769 0 01-2.45.525c-.785 0-1.519-.137-2.199-.41a5.296 5.296 0 01-1.722-1.185 5.72 5.72 0 01-1.157-1.777 5.976 5.976 0 01-.408-2.23c0-.806.136-1.55.408-2.233a5.404 5.404 0 011.134-1.777c.484-.5 1.05-.888 1.7-1.16a5.138 5.138 0 012.109-.433zM80.3 13.774c0 .562.045 1.07.135 1.526.091.455.242.85.454 1.184.226.32.522.57.884.752.378.182.847.274 1.406.274.408 0 .8-.084 1.178-.251a2.96 2.96 0 001.044-.752c.302-.35.544-.782.726-1.298.181-.531.271-1.154.271-1.867V7.876h1.542v8.313a34.68 34.68 0 00.091 2.345H86.56a20.701 20.701 0 01-.09-1.822h-.047c-.302.622-.794 1.131-1.474 1.526-.68.38-1.397.57-2.153.57-1.345 0-2.358-.403-3.038-1.207-.665-.805-.998-1.868-.998-3.189V7.876H80.3v5.898zm35.752-6.171c.574 0 1.11.083 1.609.25.499.151.938.387 1.316.706.377.318.672.721.883 1.207.212.485.319 1.055.319 1.708v4.669c0 .41.014.835.045 1.275.03.44.075.813.135 1.116h-1.382c-.046-.258-.083-.539-.114-.843-.03-.303-.045-.599-.045-.887h-.046c-.483.713-1.035 1.229-1.655 1.548-.604.303-1.338.456-2.199.456-.408 0-.831-.062-1.27-.183a3.472 3.472 0 01-1.178-.546 3.345 3.345 0 01-.885-1.003c-.227-.41-.34-.91-.34-1.503 0-.82.204-1.465.612-1.935.424-.486.983-.843 1.678-1.07.695-.243 1.489-.396 2.381-.457a33.726 33.726 0 012.812-.113v-.342c0-.926-.243-1.617-.726-2.072-.484-.455-1.187-.684-2.108-.684-.635 0-1.225.115-1.769.342a4.235 4.235 0 00-1.384.911l-.861-1.025c.438-.44 1.013-.804 1.723-1.093.726-.288 1.542-.432 2.449-.432zm-61.505 0c1.345 0 2.35.402 3.015 1.207.68.804 1.021 1.867 1.021 3.188v6.536h-1.542v-5.898a7.84 7.84 0 00-.136-1.527 2.98 2.98 0 00-.476-1.16 2.1 2.1 0 00-.885-.775c-.363-.182-.824-.274-1.383-.274-.408 0-.808.084-1.201.251a2.9 2.9 0 00-1.02.775c-.303.334-.545.766-.726 1.298-.182.516-.272 1.13-.272 1.844v5.466h-1.542v-8.312a35.123 35.123 0 00-.09-2.346h1.473a20.51 20.51 0 01.09 1.821h.046c.302-.622.794-1.123 1.474-1.503a4.227 4.227 0 012.154-.591zm9.75 1.798h8.752v-6.99h1.633v16.123H73.05v-7.629h-8.751v7.63h-1.633V2.41h1.633v6.991zm39.72-1.798c1.345 0 2.35.402 3.015 1.207.68.804 1.021 1.867 1.021 3.188v6.536h-1.542v-5.898c0-1.124-.212-2.027-.635-2.71-.408-.683-1.111-1.026-2.108-1.026-.56 0-1.036.114-1.429.342a2.813 2.813 0 00-.93.911 4.021 4.021 0 00-.499 1.253 6.61 6.61 0 00-.158 1.457v5.671h-1.542v-6.218c0-.516-.038-.987-.113-1.412-.076-.425-.212-.782-.409-1.07a1.694 1.694 0 00-.77-.683c-.333-.167-.757-.25-1.27-.25-.363 0-.733.083-1.11.25a2.968 2.968 0 00-.999.775c-.287.334-.52.767-.702 1.298-.181.516-.273 1.13-.273 1.844v5.466h-1.542v-8.312a34.928 34.928 0 00-.09-2.346h1.474a20.682 20.682 0 01.09 1.821h.046a3.569 3.569 0 011.383-1.503 3.914 3.914 0 012.108-.591c.287 0 .583.03.885.09.317.061.62.183.906.365.302.167.575.395.817.683.257.289.475.66.657 1.116.363-.728.855-1.283 1.474-1.663.635-.394 1.383-.591 2.245-.591zm25.28 0c1.345 0 2.35.402 3.015 1.207.681.804 1.021 1.867 1.021 3.188v6.536h-1.542v-5.898c0-.562-.045-1.071-.136-1.527a2.982 2.982 0 00-.476-1.16 2.103 2.103 0 00-.885-.775c-.363-.182-.824-.274-1.383-.274-.408 0-.808.084-1.201.251a2.907 2.907 0 00-1.021.775c-.302.334-.544.766-.725 1.298-.182.516-.272 1.13-.272 1.844v5.466h-1.542v-8.312c0-.289-.007-.661-.022-1.117a25.194 25.194 0 00-.068-1.229h1.473c.03.288.053.607.069.956.015.349.022.638.022.865h.045c.302-.622.794-1.123 1.474-1.503a4.225 4.225 0 012.154-.591zm-11.024 5.602c-.634 0-1.277.03-1.926.09a7.584 7.584 0 00-1.746.32c-.514.152-.937.38-1.27.683-.332.303-.499.706-.499 1.207 0 .38.068.699.204.957.151.258.348.47.59.638.242.151.506.266.793.341.302.061.605.091.907.091.544 0 1.028-.091 1.451-.273a3.27 3.27 0 001.066-.775c.287-.334.506-.713.657-1.138.151-.425.228-.873.228-1.344v-.797h-.455zM10.366 3.435c-1.027 0-1.957.19-2.788.569a6.262 6.262 0 00-2.087 1.549 6.603 6.603 0 00-1.314 2.232 7.964 7.964 0 00-.453 2.687c0 .94.15 1.837.453 2.687.302.85.74 1.595 1.314 2.233a6.41 6.41 0 002.087 1.525c.831.38 1.76.57 2.788.57 1.028 0 1.95-.19 2.767-.57a6.344 6.344 0 002.108-1.525 6.603 6.603 0 001.316-2.233c.302-.85.453-1.746.453-2.687 0-.941-.151-1.837-.453-2.687a6.602 6.602 0 00-1.316-2.232 6.198 6.198 0 00-2.108-1.55c-.816-.379-1.739-.568-2.767-.568zM27.476 8.9c-.59 0-1.135.114-1.633.342a3.71 3.71 0 00-1.292.911c-.363.38-.65.835-.861 1.367a4.701 4.701 0 00-.296 1.685c0 .607.099 1.177.296 1.708.211.516.498.964.86 1.344.364.38.794.683 1.293.911a4.121 4.121 0 001.633.318c.634 0 1.201-.105 1.7-.318a3.642 3.642 0 001.247-.911 4.1 4.1 0 00.794-1.366 5.188 5.188 0 00.272-1.686c0-.592-.09-1.147-.272-1.663a3.821 3.821 0 00-.794-1.366 3.51 3.51 0 00-1.247-.934c-.499-.227-1.066-.342-1.7-.342zm13.53 0c-.514 0-.99.1-1.428.296-.438.182-.825.44-1.157.775a3.658 3.658 0 00-.793 1.116c-.197.41-.31.842-.34 1.298h7.233c-.046-1.002-.37-1.83-.975-2.483-.59-.668-1.437-1.002-2.54-1.002z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export default Icon;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Combine from './components/Combine';
|
|
3
|
+
import Mono from './components/Mono';
|
|
4
|
+
import Text from './components/Text';
|
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
|
6
|
+
Avatar: typeof Avatar;
|
|
7
|
+
Combine: typeof Combine;
|
|
8
|
+
Text: typeof Text;
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
declare const Icons: CompoundedIcon;
|
|
13
|
+
export default Icons;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Combine from "./components/Combine";
|
|
3
|
+
import Mono from "./components/Mono";
|
|
4
|
+
import Text from "./components/Text";
|
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
6
|
+
var Icons = Mono;
|
|
7
|
+
Icons.Text = Text;
|
|
8
|
+
Icons.Combine = Combine;
|
|
9
|
+
Icons.Avatar = Avatar;
|
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
11
|
+
Icons.title = TITLE;
|
|
12
|
+
export default Icons;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TITLE = "OpenHuman";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.7;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#000";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.75;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'OpenHuman';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.7;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export var COLOR_PRIMARY = '#000';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.75;
|
|
@@ -10,12 +10,12 @@ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("
|
|
|
10
10
|
import { memo } from 'react';
|
|
11
11
|
import IconAvatar from "../../features/IconAvatar";
|
|
12
12
|
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
|
13
|
-
import
|
|
13
|
+
import Color from "./Color";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
16
16
|
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17
17
|
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
-
Icon:
|
|
18
|
+
Icon: Color,
|
|
19
19
|
"aria-label": TITLE,
|
|
20
20
|
background: AVATAR_BACKGROUND,
|
|
21
21
|
color: AVATAR_COLOR,
|
|
@@ -7,10 +7,16 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
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
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
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; }
|
|
10
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; }
|
|
11
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; }
|
|
12
18
|
import { memo } from 'react';
|
|
13
|
-
import {
|
|
19
|
+
import { useFillIds } from "../../hooks/useFillId";
|
|
14
20
|
import { TITLE } from "../style";
|
|
15
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
22
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -19,9 +25,10 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
19
25
|
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
20
26
|
style = _ref.style,
|
|
21
27
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
var _useFillIds = useFillIds(TITLE, 2),
|
|
29
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 2),
|
|
30
|
+
a = _useFillIds2[0],
|
|
31
|
+
b = _useFillIds2[1];
|
|
25
32
|
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
26
33
|
height: size,
|
|
27
34
|
style: _objectSpread({
|
|
@@ -35,31 +42,47 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
35
42
|
children: [/*#__PURE__*/_jsx("title", {
|
|
36
43
|
children: TITLE
|
|
37
44
|
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
d: "M10.998 23.837L5 21.015V5.569c0-.733.32-1.547.84-2.065l1.386-1.387 6.064 19.729c.426 1.377-.987 2.605-2.292 1.991z",
|
|
46
|
+
fill: a.fill
|
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
48
|
+
d: "M19.36 8.43L12.517.905A2.765 2.765 0 008.517.81L5.84 3.504c-.511.584-.803 1.198-.803 1.93V20.88l13.699-8.219a2.765 2.765 0 00.623-4.23",
|
|
49
|
+
fill: b.fill
|
|
50
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
51
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
52
|
+
gradientUnits: "userSpaceOnUse",
|
|
53
|
+
id: a.id,
|
|
54
|
+
x1: "-5.894",
|
|
55
|
+
x2: "13.185",
|
|
56
|
+
y1: "5.53",
|
|
57
|
+
y2: "23.781",
|
|
58
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
59
|
+
stopColor: "#FE9E58"
|
|
60
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
61
|
+
offset: ".396",
|
|
62
|
+
stopColor: "#E470EC"
|
|
63
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
64
|
+
offset: "1",
|
|
65
|
+
stopColor: "#442FBA"
|
|
66
|
+
})]
|
|
67
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
44
68
|
gradientUnits: "userSpaceOnUse",
|
|
45
|
-
id: id,
|
|
46
|
-
x1: "15",
|
|
47
|
-
x2: "
|
|
48
|
-
y1: "
|
|
49
|
-
y2: "
|
|
69
|
+
id: b.id,
|
|
70
|
+
x1: "15.931",
|
|
71
|
+
x2: "-3.149",
|
|
72
|
+
y1: "5.396",
|
|
73
|
+
y2: "23.647",
|
|
50
74
|
children: [/*#__PURE__*/_jsx("stop", {
|
|
51
|
-
stopColor: "#
|
|
52
|
-
stopOpacity: ".996"
|
|
75
|
+
stopColor: "#FFA052"
|
|
53
76
|
}), /*#__PURE__*/_jsx("stop", {
|
|
54
|
-
offset: ".
|
|
55
|
-
stopColor: "#
|
|
56
|
-
stopOpacity: ".
|
|
77
|
+
offset: ".396",
|
|
78
|
+
stopColor: "#E36CFA",
|
|
79
|
+
stopOpacity: ".8"
|
|
57
80
|
}), /*#__PURE__*/_jsx("stop", {
|
|
58
81
|
offset: "1",
|
|
59
|
-
stopColor: "#
|
|
60
|
-
stopOpacity: ".
|
|
82
|
+
stopColor: "#442FBA",
|
|
83
|
+
stopOpacity: ".7"
|
|
61
84
|
})]
|
|
62
|
-
})
|
|
85
|
+
})]
|
|
63
86
|
})]
|
|
64
87
|
}));
|
|
65
88
|
});
|
|
@@ -33,8 +33,11 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
33
33
|
children: [/*#__PURE__*/_jsx("title", {
|
|
34
34
|
children: TITLE
|
|
35
35
|
}), /*#__PURE__*/_jsx("path", {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
d: "M10.998 23.837L5 21.015V5.569c0-.733.32-1.547.84-2.065l1.386-1.387 6.064 19.729c.426 1.377-.987 2.605-2.292 1.991z",
|
|
37
|
+
opacity: ".8"
|
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
39
|
+
d: "M19.36 8.43L12.517.905A2.765 2.765 0 008.517.81L5.84 3.504c-.511.584-.803 1.198-.803 1.93V20.88l13.699-8.219a2.765 2.765 0 00.623-4.23",
|
|
40
|
+
opacity: ".8"
|
|
38
41
|
})]
|
|
39
42
|
}));
|
|
40
43
|
});
|
package/es/PixVerse/index.js
CHANGED
|
@@ -3,13 +3,12 @@ import Color from "./components/Color";
|
|
|
3
3
|
import Combine from "./components/Combine";
|
|
4
4
|
import Mono from "./components/Mono";
|
|
5
5
|
import Text from "./components/Text";
|
|
6
|
-
import {
|
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
7
|
var Icons = Mono;
|
|
8
8
|
Icons.Color = Color;
|
|
9
9
|
Icons.Text = Text;
|
|
10
10
|
Icons.Combine = Combine;
|
|
11
11
|
Icons.Avatar = Avatar;
|
|
12
12
|
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
-
Icons.colorGradient = COLOR_GRADIENT;
|
|
14
13
|
Icons.title = TITLE;
|
|
15
14
|
export default Icons;
|
package/es/PixVerse/style.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export declare const TITLE = "PixVerse";
|
|
2
|
-
export declare const COMBINE_TEXT_MULTIPLE = 0.
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
3
|
export declare const COMBINE_SPACE_MULTIPLE = 0.3;
|
|
4
|
-
export declare const COLOR_PRIMARY = "#
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const AVATAR_COLOR = "#000";
|
|
4
|
+
export declare const COLOR_PRIMARY = "#000";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
|
8
7
|
export declare const AVATAR_ICON_MULTIPLE = 0.65;
|
package/es/PixVerse/style.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export var TITLE = 'PixVerse';
|
|
2
|
-
export var COMBINE_TEXT_MULTIPLE = 0.
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
3
|
export var COMBINE_SPACE_MULTIPLE = 0.3;
|
|
4
|
-
export var COLOR_PRIMARY = '#
|
|
5
|
-
export var COLOR_GRADIENT = 'linear-gradient(45deg, #3961f1, #9727ef, #ff601a)';
|
|
4
|
+
export var COLOR_PRIMARY = '#000';
|
|
6
5
|
|
|
7
6
|
// Avatar constants
|
|
8
|
-
export var AVATAR_BACKGROUND =
|
|
9
|
-
export var AVATAR_COLOR = '#
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
|
10
9
|
export var AVATAR_ICON_MULTIPLE = 0.65;
|