@lobehub/icons 1.40.0 → 1.42.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 +260 -3
- package/es/Ai360/style.d.ts +1 -1
- package/es/Ai360/style.js +1 -1
- package/es/AiMass/style.d.ts +1 -1
- package/es/AiMass/style.js +1 -1
- package/es/CogVideo/components/Avatar.d.ts +5 -0
- package/es/CogVideo/components/Avatar.js +27 -0
- package/es/CogVideo/components/Color.d.ts +3 -0
- package/es/CogVideo/components/Color.js +475 -0
- package/es/CogVideo/components/Combine.d.ts +7 -0
- package/es/CogVideo/components/Combine.js +30 -0
- package/es/CogVideo/components/Mono.d.ts +3 -0
- package/es/CogVideo/components/Mono.js +26 -0
- package/es/CogVideo/components/Text.d.ts +3 -0
- package/es/CogVideo/components/Text.js +39 -0
- package/es/CogVideo/index.d.ts +16 -0
- package/es/CogVideo/index.js +14 -0
- package/es/CogVideo/style.d.ts +4 -0
- package/es/CogVideo/style.js +4 -0
- package/es/CogView/components/Avatar.d.ts +5 -0
- package/es/CogView/components/Avatar.js +26 -0
- package/es/CogView/components/Color.d.ts +3 -0
- package/es/CogView/components/Color.js +593 -0
- package/es/CogView/components/Combine.d.ts +7 -0
- package/es/CogView/components/Combine.js +30 -0
- package/es/CogView/components/Mono.d.ts +3 -0
- package/es/CogView/components/Mono.js +26 -0
- package/es/CogView/components/Text.d.ts +3 -0
- package/es/CogView/components/Text.js +49 -0
- package/es/CogView/index.d.ts +16 -0
- package/es/CogView/index.js +14 -0
- package/es/CogView/style.d.ts +4 -0
- package/es/CogView/style.js +4 -0
- package/es/Kling/components/Avatar.d.ts +5 -0
- package/es/Kling/components/Avatar.js +26 -0
- package/es/Kling/components/Color.d.ts +3 -0
- package/es/Kling/components/Color.js +128 -0
- package/es/Kling/components/Combine.d.ts +7 -0
- package/es/Kling/components/Combine.js +30 -0
- package/es/Kling/components/Mono.d.ts +3 -0
- package/es/Kling/components/Mono.js +40 -0
- package/es/Kling/components/Text.d.ts +3 -0
- package/es/Kling/components/Text.js +38 -0
- package/es/Kling/index.d.ts +16 -0
- package/es/Kling/index.js +14 -0
- package/es/Kling/style.d.ts +4 -0
- package/es/Kling/style.js +4 -0
- package/es/Luma/components/Avatar.d.ts +5 -0
- package/es/Luma/components/Avatar.js +26 -0
- package/es/Luma/components/Color.d.ts +3 -0
- package/es/Luma/components/Color.js +143 -0
- package/es/Luma/components/Combine.d.ts +7 -0
- package/es/Luma/components/Combine.js +30 -0
- package/es/Luma/components/Mono.d.ts +3 -0
- package/es/Luma/components/Mono.js +43 -0
- package/es/Luma/components/Text.d.ts +3 -0
- package/es/Luma/components/Text.js +38 -0
- package/es/Luma/index.d.ts +16 -0
- package/es/Luma/index.js +14 -0
- package/es/Luma/style.d.ts +4 -0
- package/es/Luma/style.js +4 -0
- package/es/Runway/components/Avatar.d.ts +5 -0
- package/es/Runway/components/Avatar.js +25 -0
- package/es/Runway/components/Combine.d.ts +5 -0
- package/es/Runway/components/Combine.js +24 -0
- package/es/Runway/components/Mono.d.ts +3 -0
- package/es/Runway/components/Mono.js +39 -0
- package/es/Runway/components/Text.d.ts +3 -0
- package/es/Runway/components/Text.js +38 -0
- package/es/Runway/index.d.ts +13 -0
- package/es/Runway/index.js +12 -0
- package/es/Runway/style.d.ts +4 -0
- package/es/Runway/style.js +4 -0
- package/es/Viggle/components/Avatar.d.ts +5 -0
- package/es/Viggle/components/Avatar.js +25 -0
- package/es/Viggle/components/Combine.d.ts +5 -0
- package/es/Viggle/components/Combine.js +24 -0
- package/es/Viggle/components/Mono.d.ts +3 -0
- package/es/Viggle/components/Mono.js +40 -0
- package/es/Viggle/components/Text.d.ts +3 -0
- package/es/Viggle/components/Text.js +38 -0
- package/es/Viggle/index.d.ts +13 -0
- package/es/Viggle/index.js +12 -0
- package/es/Viggle/style.d.ts +4 -0
- package/es/Viggle/style.js +4 -0
- package/es/features/index.d.ts +9 -0
- package/es/features/index.js +9 -0
- package/es/icons.d.ts +93 -0
- package/es/icons.js +93 -0
- package/es/index.d.ts +2 -96
- package/es/index.js +3 -96
- package/package.json +9 -4
@@ -0,0 +1,26 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { forwardRef } from 'react';
|
11
|
+
import Color from "./Color";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
14
|
+
var _ref$size = _ref.size,
|
15
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
16
|
+
style = _ref.style,
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
18
|
+
return /*#__PURE__*/_jsx(Color, _objectSpread({
|
19
|
+
ref: ref,
|
20
|
+
size: size,
|
21
|
+
style: _objectSpread({
|
22
|
+
filter: 'grayscale(100%)'
|
23
|
+
}, style)
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Icon;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { forwardRef } from 'react';
|
11
|
+
import { TITLE } from "../style";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
14
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
15
|
+
var _ref$size = _ref.size,
|
16
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
17
|
+
style = _ref.style,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
20
|
+
fill: "currentColor",
|
21
|
+
fillRule: "evenodd",
|
22
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1
|
27
|
+
}, style),
|
28
|
+
viewBox: "0 0 94 24",
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
30
|
+
}, rest), {}, {
|
31
|
+
children: [/*#__PURE__*/_jsx("title", {
|
32
|
+
children: TITLE
|
33
|
+
}), /*#__PURE__*/_jsx("g", {
|
34
|
+
clipPath: "url(#a)",
|
35
|
+
children: /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M57.218 3.84c-.406-.425-.609-.96-.609-1.606 0-.665.203-1.2.61-1.625.406-.406.922-.609 1.55-.609s1.145.203 1.551.61c.406.405.61.94.61 1.624 0 .628-.204 1.163-.61 1.588-.406.424-.923.646-1.55.646-.629 0-1.145-.222-1.552-.628zM2.831 16.08a5.813 5.813 0 002.326 2.252c.997.517 2.16.794 3.49.85 1.328 0 2.492-.259 3.488-.757a5.555 5.555 0 002.326-2.142c.554-.923.831-1.994.831-3.212 0-.074-.037-.13-.092-.185a.278.278 0 00-.203-.074l-3.526-.184c-.203 0-.296.092-.296.277 0 .793-.24 1.421-.701 1.901-.462.48-1.07.72-1.828.72-.757 0-1.366-.24-1.828-.72-.461-.48-.701-1.107-.701-1.901V7.07c0-.794.24-1.44.701-1.92.462-.499 1.071-.739 1.828-.739.757 0 1.366.24 1.828.72.461.48.701 1.108.701 1.92 0 .185.093.277.296.277l3.526-.24a.278.278 0 00.203-.074.264.264 0 00.092-.203c0-1.2-.277-2.252-.83-3.175a5.633 5.633 0 00-2.327-2.123C11.12 1.015 9.975.757 8.646.757c-1.33 0-2.492.258-3.49.794a5.813 5.813 0 00-2.325 2.252C2.277 4.763 2 5.871 2 7.145v5.538c0 1.292.277 2.419.83 3.397zm43.68 2.585L41.508 1.31l-.019-.111c0-.166.093-.258.277-.258h3.785c.184 0 .295.092.35.258l2.844 11.686c.018.056.037.074.074.074.036 0 .055-.019.073-.074L51.698 1.2c.056-.166.167-.258.351-.258h3.711c.092 0 .166.036.221.11.056.074.056.148.019.259l-5.077 17.354c-.055.166-.166.258-.314.258h-3.766c-.166 0-.277-.092-.332-.258zm30.277 0l-3.6-12.683-.019-.111c0-.166.093-.259.277-.259h3.637c.185 0 .296.093.314.277l1.477 6.96c.018.074.037.111.074.111s.055-.037.074-.11l1.606-6.98c.055-.165.147-.258.314-.258h3.175c.184 0 .295.093.35.259l1.68 7.015c.02.056.038.074.075.074s.055-.019.073-.074l1.662-7.015c.055-.166.166-.259.35-.259l3.62.056c.091 0 .165.037.202.092.037.055.056.148.037.24L88.53 18.665c-.055.166-.166.258-.314.258H84.58c-.185 0-.296-.092-.351-.258l-1.643-5.982c-.019-.055-.037-.074-.074-.074s-.056.019-.074.074l-1.385 5.982c-.055.166-.166.258-.314.258h-3.636c-.167 0-.277-.074-.314-.258zm-48.61-6.504a8.958 8.958 0 01-.277 2.239c-.35 1.44-1.033 2.585-2.086 3.415-1.034.831-2.307 1.256-3.821 1.256-1.459.037-2.732-.37-3.766-1.2-1.034-.813-1.736-1.939-2.087-3.342-.202-.701-.295-1.477-.295-2.307 0-.942.11-1.773.314-2.493.388-1.348 1.09-2.4 2.123-3.175 1.034-.757 2.29-1.145 3.748-1.145 1.458 0 2.677.388 3.692 1.145 1.015.757 1.717 1.809 2.105 3.138.24.776.35 1.588.35 2.456v.013zm-8.16.07c.001-.587.056-1.082.148-1.486.296-1.108.923-1.662 1.883-1.662.48 0 .868.148 1.182.443.314.296.535.702.664 1.237.11.477.166.973.166 1.486 0 .514-.055 1.009-.147 1.45-.148.535-.388.978-.702 1.292a1.53 1.53 0 01-1.163.461c-.48 0-.886-.166-1.2-.48-.332-.314-.554-.738-.683-1.292a7.085 7.085 0 01-.148-1.45zm16.819-6.49a.297.297 0 01.203-.092h3.526c.074 0 .148.037.203.093.056.055.093.129.093.221v11.483c0 2.345-.647 4.025-1.957 5.04C37.594 23.502 35.95 24 33.957 24c-.739 0-1.532-.074-2.345-.203-.166-.018-.24-.13-.24-.332l.13-3.176c0-.129.037-.203.092-.24.074-.037.147-.055.24-.018.683.148 1.31.24 1.883.24.941 0 1.68-.222 2.234-.665.554-.443.812-1.144.812-2.104l-.166.184c-.59.61-1.459.923-2.585.923-1.089 0-2.086-.24-2.99-.738-.905-.499-1.57-1.366-1.957-2.622-.259-.812-.388-1.827-.388-3.027 0-1.311.148-2.4.462-3.231.387-1.052.978-1.902 1.827-2.548.83-.628 1.81-.941 2.917-.941 1.182 0 2.105.369 2.75 1.126.038.037.075.055.093.037.037 0 .056-.037.056-.093v-.627a.208.208 0 01.055-.203zm-.074 6.407c0-.462-.018-.831-.055-1.09a2.702 2.702 0 00-.203-.756c-.13-.37-.351-.665-.628-.887-.296-.221-.646-.313-1.052-.313-.776 0-1.33.406-1.662 1.2-.24.48-.37 1.107-.37 1.901 0 .83.112 1.459.315 1.846.147.351.369.646.664.868.296.222.647.332 1.071.332.85 0 1.403-.387 1.68-1.181.148-.388.24-1.034.24-1.92zm19.92 6.443c0 .092.037.166.092.221.056.056.13.093.203.093h3.527a.297.297 0 00.203-.093.306.306 0 00.092-.221V5.945a.306.306 0 00-.092-.222.297.297 0 00-.203-.092h-3.527a.296.296 0 00-.203.092.306.306 0 00-.092.222V18.59zm17.206-5.446c-.018.203-.129.313-.314.313h-7.55a.141.141 0 00-.093.037c-.037.019-.037.056-.018.093.037.184.11.443.24.738.203.35.498.646.886.868.388.221.886.332 1.459.332 1.033 0 1.864-.35 2.455-1.052.074-.092.148-.13.221-.13.074 0 .148.038.204.111l1.901 2.253c.074.055.092.129.092.203 0 .074-.037.129-.092.203-.572.646-1.292 1.144-2.142 1.495-.849.35-1.772.517-2.787.517-1.496 0-2.788-.332-3.822-1.015-1.052-.683-1.809-1.625-2.27-2.843-.351-.85-.517-1.92-.517-3.213 0-.886.129-1.753.387-2.566.425-1.274 1.126-2.27 2.123-2.99.979-.72 2.16-1.09 3.508-1.09 1.09 0 2.068.24 2.917.739.868.48 1.55 1.163 2.086 2.03.535.868.886 1.847 1.052 2.936.074.517.093 1.181.074 2.03zm-7.864-2.807a2.05 2.05 0 00-.13.536c-.036.092 0 .129.093.129h3.526c.074 0 .092-.037.092-.11 0-.13-.037-.315-.092-.518-.11-.424-.332-.757-.628-.978-.314-.222-.683-.332-1.144-.332-.868.018-1.422.443-1.717 1.273z"
|
38
|
+
})
|
39
|
+
}), /*#__PURE__*/_jsx("defs", {
|
40
|
+
children: /*#__PURE__*/_jsx("clipPath", {
|
41
|
+
id: "a",
|
42
|
+
children: /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M0 0h94v24H0z"
|
44
|
+
})
|
45
|
+
})
|
46
|
+
})]
|
47
|
+
}));
|
48
|
+
});
|
49
|
+
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,26 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["background", "size"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var background = _ref.background,
|
17
|
+
size = _ref.size,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
20
|
+
Icon: Color,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
background: background || COLOR_PRIMARY,
|
23
|
+
size: size
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|
@@ -0,0 +1,128 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
9
|
+
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."); }
|
10
|
+
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); }
|
11
|
+
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; }
|
12
|
+
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; } }
|
13
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
14
|
+
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; }
|
15
|
+
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; }
|
16
|
+
import { forwardRef } from 'react';
|
17
|
+
import { useFillIds } from "../../hooks/useFillId";
|
18
|
+
import { TITLE } from "../style";
|
19
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
20
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
21
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
22
|
+
var _ref$size = _ref.size,
|
23
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
24
|
+
style = _ref.style,
|
25
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
26
|
+
var _useFillIds = useFillIds(TITLE, 4),
|
27
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 4),
|
28
|
+
a = _useFillIds2[0],
|
29
|
+
b = _useFillIds2[1],
|
30
|
+
c = _useFillIds2[2],
|
31
|
+
d = _useFillIds2[3];
|
32
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
33
|
+
height: size,
|
34
|
+
ref: ref,
|
35
|
+
style: _objectSpread({
|
36
|
+
flex: 'none',
|
37
|
+
lineHeight: 1
|
38
|
+
}, style),
|
39
|
+
viewBox: "0 0 24 24",
|
40
|
+
width: size,
|
41
|
+
xmlns: "http://www.w3.org/2000/svg"
|
42
|
+
}, rest), {}, {
|
43
|
+
children: [/*#__PURE__*/_jsx("title", {
|
44
|
+
children: TITLE
|
45
|
+
}), /*#__PURE__*/_jsx("path", {
|
46
|
+
d: "M5.412 13.775A23.193 23.193 0 017.41 9.32c3.17-5.492 7.795-8.757 10.33-7.294C12.038-1.266 4.598.944 1.122 6.964A13.378 13.378 0 00.085 9.22c-.259.739.092 1.534.77 1.926l4.557 2.63z",
|
47
|
+
fill: a.fill
|
48
|
+
}), /*#__PURE__*/_jsx("path", {
|
49
|
+
d: "M18.588 10.164a23.188 23.188 0 01-1.999 4.455c-3.17 5.492-7.795 8.758-10.33 7.294 5.703 3.293 13.143 1.082 16.619-4.938a13.392 13.392 0 001.037-2.255c.259-.738-.092-1.534-.77-1.925l-4.557-2.63z",
|
50
|
+
fill: b.fill
|
51
|
+
}), /*#__PURE__*/_jsx("path", {
|
52
|
+
d: "M16.59 14.62c3.17-5.492 3.686-11.13 1.15-12.594C15.207.563 10.582 3.83 7.41 9.32c2.074-3.59 5.809-5.315 8.344-3.852 2.534 1.464 2.908 5.56.835 9.151z",
|
53
|
+
fill: c.fill
|
54
|
+
}), /*#__PURE__*/_jsx("path", {
|
55
|
+
d: "M7.41 9.32c-3.17 5.492-3.686 11.13-1.15 12.593 2.534 1.464 7.159-1.802 10.33-7.294-2.074 3.591-5.809 5.316-8.344 3.852-2.534-1.463-2.908-5.56-.835-9.15z",
|
56
|
+
fill: d.fill
|
57
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
58
|
+
children: [/*#__PURE__*/_jsxs("radialGradient", {
|
59
|
+
cx: "0",
|
60
|
+
cy: "0",
|
61
|
+
gradientTransform: "matrix(7.47772 -12.51022 17.14368 10.24728 5.173 13.637)",
|
62
|
+
gradientUnits: "userSpaceOnUse",
|
63
|
+
id: a.id,
|
64
|
+
r: "1",
|
65
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
66
|
+
offset: ".095",
|
67
|
+
stopColor: "#FFF959"
|
68
|
+
}), /*#__PURE__*/_jsx("stop", {
|
69
|
+
offset: ".326",
|
70
|
+
stopColor: "#0DF35E"
|
71
|
+
}), /*#__PURE__*/_jsx("stop", {
|
72
|
+
offset: ".64",
|
73
|
+
stopColor: "#0BF2F9"
|
74
|
+
}), /*#__PURE__*/_jsx("stop", {
|
75
|
+
offset: "1",
|
76
|
+
stopColor: "#04A6F0"
|
77
|
+
})]
|
78
|
+
}), /*#__PURE__*/_jsxs("radialGradient", {
|
79
|
+
cx: "0",
|
80
|
+
cy: "0",
|
81
|
+
gradientTransform: "rotate(120.868 6.491 10.491) scale(14.5747 19.9728)",
|
82
|
+
gradientUnits: "userSpaceOnUse",
|
83
|
+
id: b.id,
|
84
|
+
r: "1",
|
85
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
86
|
+
offset: ".095",
|
87
|
+
stopColor: "#FFF959"
|
88
|
+
}), /*#__PURE__*/_jsx("stop", {
|
89
|
+
offset: ".326",
|
90
|
+
stopColor: "#0DF35E"
|
91
|
+
}), /*#__PURE__*/_jsx("stop", {
|
92
|
+
offset: ".64",
|
93
|
+
stopColor: "#0BF2F9"
|
94
|
+
}), /*#__PURE__*/_jsx("stop", {
|
95
|
+
offset: "1",
|
96
|
+
stopColor: "#04A6F0"
|
97
|
+
})]
|
98
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
99
|
+
gradientUnits: "userSpaceOnUse",
|
100
|
+
id: c.id,
|
101
|
+
x1: "15.578",
|
102
|
+
x2: "18.062",
|
103
|
+
y1: "1.798",
|
104
|
+
y2: "9.861",
|
105
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
106
|
+
stopColor: "#003EFF"
|
107
|
+
}), /*#__PURE__*/_jsx("stop", {
|
108
|
+
offset: "1",
|
109
|
+
stopColor: "#0BFFE7"
|
110
|
+
})]
|
111
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
112
|
+
gradientUnits: "userSpaceOnUse",
|
113
|
+
id: d.id,
|
114
|
+
x1: "8.422",
|
115
|
+
x2: "5.938",
|
116
|
+
y1: "22.142",
|
117
|
+
y2: "14.079",
|
118
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
119
|
+
stopColor: "#003EFF"
|
120
|
+
}), /*#__PURE__*/_jsx("stop", {
|
121
|
+
offset: "1",
|
122
|
+
stopColor: "#0BFFE7"
|
123
|
+
})]
|
124
|
+
})]
|
125
|
+
})]
|
126
|
+
}));
|
127
|
+
});
|
128
|
+
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,30 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["type"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import Mono from "./Mono";
|
15
|
+
import Text from "./Text";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var _ref$type = _ref.type,
|
19
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
var Icon = type === 'color' ? Color : Mono;
|
22
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
23
|
+
Icon: Icon,
|
24
|
+
Text: Text,
|
25
|
+
"aria-label": TITLE,
|
26
|
+
spaceMultiple: SPACE_MULTIPLE,
|
27
|
+
textMultiple: TEXT_MULTIPLE
|
28
|
+
}, rest));
|
29
|
+
});
|
30
|
+
export default Combine;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { forwardRef } from 'react';
|
11
|
+
import { TITLE } from "../style";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
14
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
15
|
+
var _ref$size = _ref.size,
|
16
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
17
|
+
style = _ref.style,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
20
|
+
fill: "currentColor",
|
21
|
+
fillRule: "evenodd",
|
22
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1
|
27
|
+
}, style),
|
28
|
+
viewBox: "0 0 24 24",
|
29
|
+
width: size,
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M5.493 21.234c-1.112-1.451-1.109-4.263-.081-7.459l-4.557-2.63a1.683 1.683 0 01-.85-1.304 1.505 1.505 0 01.08-.622 13.18 13.18 0 011.037-2.255c3.476-6.02 10.916-8.23 16.619-4.938.46.266.82.67 1.081 1.184.785 1.545.685 4.096-.234 6.954l4.557 2.631c.339.196.596.492.736.832a1.53 1.53 0 01.034 1.093 13.146 13.146 0 01-1.037 2.255c-3.476 6.02-10.916 8.23-16.619 4.938a2.6 2.6 0 01-.766-.68zm11.096-6.615c-2.073 3.591-5.808 5.316-8.343 3.852-1.267-.731-1.994-2.122-2.145-3.778-.095-1.035.036-2.173.4-3.32.217-.684.517-1.37.902-2.039l.008-.014c2.073-3.59 5.808-5.315 8.343-3.852.633.366 1.13.895 1.49 1.54.986 1.772.922 4.415-.285 6.914-.111.23-.232.457-.362.683l-.008.014z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["size", "style"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { forwardRef } from 'react';
|
11
|
+
import { TITLE } from "../style";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
14
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
15
|
+
var _ref$size = _ref.size,
|
16
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
17
|
+
style = _ref.style,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
20
|
+
fill: "currentColor",
|
21
|
+
fillRule: "evenodd",
|
22
|
+
height: size,
|
23
|
+
ref: ref,
|
24
|
+
style: _objectSpread({
|
25
|
+
flex: 'none',
|
26
|
+
lineHeight: 1
|
27
|
+
}, style),
|
28
|
+
viewBox: "0 0 80 24",
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
30
|
+
}, rest), {}, {
|
31
|
+
children: [/*#__PURE__*/_jsx("title", {
|
32
|
+
children: TITLE
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
34
|
+
d: "M74.74 8.828c-.539-2.284-1.416-3.083-3.726-3.331a10.18 10.18 0 00-1.957-.042c-3.072.249-4.067 1.338-4.067 4.392 0 1.57-.013 3.14.005 4.71.023 2.076.969 3.5 2.996 3.865 1.362.244 2.879.175 4.22-.168 1.723-.437 2.488-1.946 2.307-3.863h-4.586v-2.918h8.088c0 .527.017 1.048.035 1.565.038 1.13.075 2.237-.075 3.317-.4 2.926-2.839 5.147-6.288 5.556-1.726.204-3.596.052-5.28-.398-3.13-.839-4.854-3.392-4.874-6.632-.013-1.875-.003-3.75 0-5.626.002-4.039 1.66-6.147 5.633-6.943 2.703-.542 5.398-.459 7.892.903 2.155 1.179 3.124 3.054 3.035 5.608h-3.352l-.005.005zM57.685 21.748h-3.159V5.638h-9.198v16.074h-3.24V2.697h15.597v19.051zM30.807 18.849h-8.205V2.513h-3.13v19.16h11.335v-2.824zM36.876 21.735h-3.023V2.511h3.023v19.224zM2 21.735h3.022v-9.117h.042l8.12 9.056h3.747l-8.12-9.056h-.125l8.12-9.993h-3.748l-8.036 9.89V2.511H2v19.224z"
|
35
|
+
})]
|
36
|
+
}));
|
37
|
+
});
|
38
|
+
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,26 @@
|
|
1
|
+
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); }
|
2
|
+
var _excluded = ["background", "size"];
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
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; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
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); }
|
8
|
+
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; }
|
9
|
+
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; }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var background = _ref.background,
|
17
|
+
size = _ref.size,
|
18
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
19
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
20
|
+
Icon: Color,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
background: background || COLOR_PRIMARY,
|
23
|
+
size: size
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|