@lobehub/icons 1.65.1 → 1.67.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 +52 -52
- package/es/Clipdrop/components/Avatar.d.ts +5 -0
- package/es/Clipdrop/components/Avatar.js +28 -0
- package/es/Clipdrop/components/Combine.d.ts +5 -0
- package/es/Clipdrop/components/Combine.js +29 -0
- package/es/Clipdrop/components/Mono.d.ts +3 -0
- package/es/Clipdrop/components/Mono.js +42 -0
- package/es/Clipdrop/components/Text.d.ts +3 -0
- package/es/Clipdrop/components/Text.js +40 -0
- package/es/Clipdrop/index.d.ts +13 -0
- package/es/Clipdrop/index.js +14 -0
- package/es/Clipdrop/style.d.ts +4 -0
- package/es/Clipdrop/style.js +4 -0
- package/es/Glif/components/Avatar.d.ts +5 -0
- package/es/Glif/components/Avatar.js +28 -0
- package/es/Glif/components/Mono.d.ts +3 -0
- package/es/Glif/components/Mono.js +41 -0
- package/es/Glif/components/Text.d.ts +3 -0
- package/es/Glif/components/Text.js +44 -0
- package/es/Glif/index.d.ts +11 -0
- package/es/Glif/index.js +12 -0
- package/es/Glif/style.d.ts +4 -0
- package/es/Glif/style.js +4 -0
- package/es/Haiper/components/Avatar.d.ts +5 -0
- package/es/Haiper/components/Avatar.js +27 -0
- package/es/Haiper/components/Combine.d.ts +5 -0
- package/es/Haiper/components/Combine.js +29 -0
- package/es/Haiper/components/Mono.d.ts +3 -0
- package/es/Haiper/components/Mono.js +42 -0
- package/es/Haiper/components/Text.d.ts +3 -0
- package/es/Haiper/components/Text.js +40 -0
- package/es/Haiper/index.d.ts +13 -0
- package/es/Haiper/index.js +14 -0
- package/es/Haiper/style.d.ts +4 -0
- package/es/Haiper/style.js +4 -0
- package/es/Hedra/components/Avatar.d.ts +5 -0
- package/es/Hedra/components/Avatar.js +28 -0
- package/es/Hedra/components/Combine.d.ts +5 -0
- package/es/Hedra/components/Combine.js +29 -0
- package/es/Hedra/components/Mono.d.ts +3 -0
- package/es/Hedra/components/Mono.js +41 -0
- package/es/Hedra/components/Text.d.ts +3 -0
- package/es/Hedra/components/Text.js +41 -0
- package/es/Hedra/index.d.ts +13 -0
- package/es/Hedra/index.js +14 -0
- package/es/Hedra/style.d.ts +4 -0
- package/es/Hedra/style.js +4 -0
- package/es/Lightricks/components/Avatar.d.ts +5 -0
- package/es/Lightricks/components/Avatar.js +27 -0
- package/es/Lightricks/components/Combine.d.ts +5 -0
- package/es/Lightricks/components/Combine.js +29 -0
- package/es/Lightricks/components/Mono.d.ts +3 -0
- package/es/Lightricks/components/Mono.js +41 -0
- package/es/Lightricks/components/Text.d.ts +3 -0
- package/es/Lightricks/components/Text.js +40 -0
- package/es/Lightricks/index.d.ts +13 -0
- package/es/Lightricks/index.js +14 -0
- package/es/Lightricks/style.d.ts +4 -0
- package/es/Lightricks/style.js +4 -0
- package/es/Pika/components/Avatar.d.ts +5 -0
- package/es/Pika/components/Avatar.js +28 -0
- package/es/Pika/components/Combine.d.ts +5 -0
- package/es/Pika/components/Combine.js +29 -0
- package/es/Pika/components/Mono.d.ts +3 -0
- package/es/Pika/components/Mono.js +41 -0
- package/es/Pika/components/Text.d.ts +3 -0
- package/es/Pika/components/Text.js +40 -0
- package/es/Pika/index.d.ts +13 -0
- package/es/Pika/index.js +14 -0
- package/es/Pika/style.d.ts +4 -0
- package/es/Pika/style.js +4 -0
- package/es/PixVerse/components/Avatar.d.ts +5 -0
- package/es/PixVerse/components/Avatar.js +28 -0
- package/es/PixVerse/components/Color.d.ts +3 -0
- package/es/PixVerse/components/Color.js +67 -0
- package/es/PixVerse/components/Combine.d.ts +7 -0
- package/es/PixVerse/components/Combine.js +32 -0
- package/es/PixVerse/components/Mono.d.ts +3 -0
- package/es/PixVerse/components/Mono.js +42 -0
- package/es/PixVerse/components/Text.d.ts +3 -0
- package/es/PixVerse/components/Text.js +54 -0
- package/es/PixVerse/index.d.ts +16 -0
- package/es/PixVerse/index.js +17 -0
- package/es/PixVerse/style.d.ts +5 -0
- package/es/PixVerse/style.js +5 -0
- package/es/Sync/components/Avatar.d.ts +5 -0
- package/es/Sync/components/Avatar.js +28 -0
- package/es/Sync/components/Combine.d.ts +5 -0
- package/es/Sync/components/Combine.js +29 -0
- package/es/Sync/components/Mono.d.ts +3 -0
- package/es/Sync/components/Mono.js +41 -0
- package/es/Sync/components/Text.d.ts +3 -0
- package/es/Sync/components/Text.js +40 -0
- package/es/Sync/index.d.ts +13 -0
- package/es/Sync/index.js +14 -0
- package/es/Sync/style.d.ts +4 -0
- package/es/Sync/style.js +4 -0
- package/es/Tripo/components/Avatar.d.ts +5 -0
- package/es/Tripo/components/Avatar.js +27 -0
- package/es/Tripo/components/Color.d.ts +3 -0
- package/es/Tripo/components/Color.js +43 -0
- package/es/Tripo/components/Combine.d.ts +7 -0
- package/es/Tripo/components/Combine.js +32 -0
- package/es/Tripo/components/Mono.d.ts +3 -0
- package/es/Tripo/components/Mono.js +43 -0
- package/es/Tripo/components/Text.d.ts +3 -0
- package/es/Tripo/components/Text.js +40 -0
- package/es/Tripo/index.d.ts +15 -0
- package/es/Tripo/index.js +16 -0
- package/es/Tripo/style.d.ts +4 -0
- package/es/Tripo/style.js +4 -0
- package/es/Vidu/components/Avatar.d.ts +5 -0
- package/es/Vidu/components/Avatar.js +27 -0
- package/es/Vidu/components/Color.d.ts +3 -0
- package/es/Vidu/components/Color.js +74 -0
- package/es/Vidu/components/Combine.d.ts +7 -0
- package/es/Vidu/components/Combine.js +32 -0
- package/es/Vidu/components/Mono.d.ts +3 -0
- package/es/Vidu/components/Mono.js +41 -0
- package/es/Vidu/components/Text.d.ts +3 -0
- package/es/Vidu/components/Text.js +41 -0
- package/es/Vidu/index.d.ts +16 -0
- package/es/Vidu/index.js +17 -0
- package/es/Vidu/style.d.ts +5 -0
- package/es/Vidu/style.js +5 -0
- package/es/Xuanyuan/components/Avatar.d.ts +5 -0
- package/es/Xuanyuan/components/Avatar.js +26 -0
- package/es/Xuanyuan/components/Color.d.ts +3 -0
- package/es/Xuanyuan/components/Color.js +43 -0
- package/es/Xuanyuan/components/Combine.d.ts +7 -0
- package/es/Xuanyuan/components/Combine.js +32 -0
- package/es/Xuanyuan/components/Mono.d.ts +3 -0
- package/es/Xuanyuan/components/Mono.js +43 -0
- package/es/Xuanyuan/components/Text.d.ts +3 -0
- package/es/Xuanyuan/components/Text.js +41 -0
- package/es/Xuanyuan/index.d.ts +15 -0
- package/es/Xuanyuan/index.js +16 -0
- package/es/Xuanyuan/style.d.ts +4 -0
- package/es/Xuanyuan/style.js +4 -0
- package/es/icons.d.ts +11 -0
- package/es/icons.js +11 -0
- package/es/toc.js +200 -0
- package/package.json +1 -1
@@ -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;
|
package/es/Pika/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
package/es/Pika/style.js
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_GRADIENT, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_GRADIENT,
|
24
|
+
color: '#000',
|
25
|
+
iconMultiple: 0.65
|
26
|
+
}, rest));
|
27
|
+
});
|
28
|
+
export default Avatar;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { useFillId } from "../../hooks/useFillId";
|
14
|
+
import { TITLE } from "../style";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
17
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
18
|
+
var _ref$size = _ref.size,
|
19
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
20
|
+
style = _ref.style,
|
21
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
22
|
+
var _useFillId = useFillId(TITLE),
|
23
|
+
id = _useFillId.id,
|
24
|
+
fill = _useFillId.fill;
|
25
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
26
|
+
height: size,
|
27
|
+
ref: ref,
|
28
|
+
style: _objectSpread({
|
29
|
+
flex: 'none',
|
30
|
+
lineHeight: 1
|
31
|
+
}, style),
|
32
|
+
viewBox: "0 0 24 24",
|
33
|
+
width: size,
|
34
|
+
xmlns: "http://www.w3.org/2000/svg"
|
35
|
+
}, rest), {}, {
|
36
|
+
children: [/*#__PURE__*/_jsx("title", {
|
37
|
+
children: TITLE
|
38
|
+
}), /*#__PURE__*/_jsx("path", {
|
39
|
+
clipRule: "evenodd",
|
40
|
+
d: "M17.578 9.384c.48 0 .87.39.87.87v3.867l4.245-3.663a.435.435 0 01.72.329v10.732a.436.436 0 01-.71.339l-4.255-3.441v3.891a.87.87 0 01-.209.565l-.087.088a.87.87 0 01-.686.209L6.559 21.76v1.304a.87.87 0 01-.869.87H.87a.87.87 0 01-.87-.869v-12.81c0-.48.39-.87.87-.871h16.708zm-6.158 4.348H6.978a.435.435 0 00-.435.434v2.847c0 .24.195.434.435.434h4.442c.24 0 .434-.194.435-.434v-2.847a.435.435 0 00-.435-.434zM12.826 0a4.354 4.354 0 110 8.708 4.354 4.354 0 010-8.708zm-7.98 1.313a3.628 3.628 0 110 7.256 3.628 3.628 0 010-7.256z",
|
41
|
+
fill: fill,
|
42
|
+
fillRule: "evenodd"
|
43
|
+
}), /*#__PURE__*/_jsx("defs", {
|
44
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
45
|
+
gradientUnits: "userSpaceOnUse",
|
46
|
+
id: id,
|
47
|
+
x1: "15",
|
48
|
+
x2: "-.5",
|
49
|
+
y1: "1",
|
50
|
+
y2: "24",
|
51
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
52
|
+
stopColor: "#E8632A",
|
53
|
+
stopOpacity: ".996"
|
54
|
+
}), /*#__PURE__*/_jsx("stop", {
|
55
|
+
offset: ".586",
|
56
|
+
stopColor: "#B465E6",
|
57
|
+
stopOpacity: ".996"
|
58
|
+
}), /*#__PURE__*/_jsx("stop", {
|
59
|
+
offset: "1",
|
60
|
+
stopColor: "#979FD9",
|
61
|
+
stopOpacity: ".996"
|
62
|
+
})]
|
63
|
+
})
|
64
|
+
})]
|
65
|
+
}));
|
66
|
+
});
|
67
|
+
export default Icon;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
4
|
+
type?: 'color' | 'mono';
|
5
|
+
}
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
7
|
+
export default Combine;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["type"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconCombine from "../../features/IconCombine";
|
14
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: SPACE_MULTIPLE,
|
29
|
+
textMultiple: TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
clipRule: "evenodd",
|
38
|
+
d: "M17.578 9.384c.48 0 .87.39.87.87v3.867l4.245-3.663a.435.435 0 01.72.329v10.732a.436.436 0 01-.71.339l-4.255-3.441v3.891a.87.87 0 01-.209.565l-.087.088a.87.87 0 01-.686.209L6.559 21.76v1.304a.87.87 0 01-.869.87H.87a.87.87 0 01-.87-.869v-12.81c0-.48.39-.87.87-.871h16.708zm-6.158 4.348H6.978a.435.435 0 00-.435.434v2.847c0 .24.195.434.435.434h4.442c.24 0 .434-.194.435-.434v-2.847a.435.435 0 00-.435-.434zM12.826 0a4.354 4.354 0 110 8.708 4.354 4.354 0 010-8.708zm-7.98 1.313a3.628 3.628 0 110 7.256 3.628 3.628 0 010-7.256z"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
export default Icon;
|
@@ -0,0 +1,54 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "nonzero",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 128 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M118.225 22c-1.764 0-3.309-.327-4.633-.98-1.305-.654-2.32-1.545-3.044-2.674-.723-1.147-1.084-2.435-1.084-3.865 0-1.464.352-2.76 1.057-3.891a7.493 7.493 0 012.939-2.647c1.253-.636 2.656-.952 4.21-.952 1.428 0 2.744.282 3.944.846a6.85 6.85 0 012.912 2.514c.741 1.113 1.111 2.49 1.111 4.13 0 .212-.009.45-.027.716-.018.246-.034.475-.052.687h-11.145v-2.885h7.967l-2.248.768c0-.566-.107-1.041-.318-1.43a2.115 2.115 0 00-.821-.927 2.282 2.282 0 00-1.271-.343c-.495 0-.927.114-1.297.345-.36.22-.646.542-.821.925-.193.389-.291.864-.291 1.43v.9c0 .617.123 1.146.371 1.587.247.441.6.777 1.059 1.007.459.212 1.014.318 1.668.318.671 0 1.217-.09 1.641-.265.441-.176.9-.442 1.376-.796l3.123 3.15a6.964 6.964 0 01-2.621 1.748c-1.023.39-2.257.584-3.705.584z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M100.931 22c-1.235 0-2.453-.134-3.653-.398-1.2-.265-2.17-.609-2.91-1.032l1.64-3.945c.688.406 1.481.724 2.382.954.918.23 1.809.345 2.673.345.724 0 1.209-.063 1.456-.186.265-.125.398-.293.398-.504 0-.21-.15-.36-.45-.45a5.427 5.427 0 00-1.191-.239c-.495-.052-1.041-.114-1.641-.184a16.67 16.67 0 01-1.775-.37 5.723 5.723 0 01-1.641-.715 3.586 3.586 0 01-1.191-1.27c-.3-.548-.45-1.237-.45-2.066 0-.917.274-1.746.82-2.487.566-.743 1.395-1.334 2.489-1.775 1.112-.46 2.48-.687 4.103-.687 1.059 0 2.118.096 3.176.29 1.059.196 1.968.496 2.727.9l-1.641 3.945a7.61 7.61 0 00-2.198-.82 9.054 9.054 0 00-1.985-.24c-.759 0-1.279.071-1.561.212-.266.141-.398.3-.398.477 0 .21.15.37.45.476.3.105.698.186 1.191.24.495.052 1.033.123 1.616.21.6.07 1.191.195 1.773.37.6.16 1.146.398 1.642.716.493.318.891.75 1.191 1.296.3.53.45 1.21.45 2.04 0 .864-.275 1.676-.821 2.434-.547.74-1.377 1.342-2.489 1.8-1.111.441-2.505.663-4.182.663z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M83.193 21.735V7.255h5.69v4.367l-.926-1.244c.441-1.13 1.146-1.976 2.117-2.541.97-.564 2.136-.846 3.496-.846v5.294a14.695 14.695 0 00-.716-.08 6.731 6.731 0 00-.61-.027c-.9 0-1.64.239-2.222.716-.566.457-.848 1.26-.848 2.408v6.433h-5.981z"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
d: "M73.893 22c-1.766 0-3.31-.327-4.633-.98-1.305-.654-2.32-1.545-3.045-2.674-.723-1.147-1.084-2.435-1.084-3.865 0-1.464.354-2.76 1.059-3.891a7.479 7.479 0 012.939-2.647c1.252-.636 2.655-.952 4.207-.952 1.43 0 2.746.282 3.946.846a6.834 6.834 0 012.91 2.514c.743 1.113 1.114 2.49 1.114 4.13 0 .212-.01.45-.028.716l-.052.687H70.08v-2.885h7.969l-2.25.768c0-.566-.106-1.041-.319-1.43a2.106 2.106 0 00-.819-.927 2.28 2.28 0 00-1.27-.343c-.496 0-.928.114-1.298.345-.36.22-.646.542-.82.925-.196.389-.292.864-.292 1.43v.9c0 .617.123 1.146.37 1.587.248.441.6.777 1.06 1.007.457.212 1.014.318 1.667.318.67 0 1.218-.09 1.64-.265.442-.176.9-.442 1.378-.796l3.123 3.15a6.98 6.98 0 01-2.62 1.748c-1.024.39-2.26.584-3.706.584z"
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
44
|
+
d: "M52.548 21.736L44.71 3.206h6.724l6.38 15.644h-3.998l6.566-15.644h6.14l-7.835 18.53h-6.139z"
|
45
|
+
}), /*#__PURE__*/_jsx("path", {
|
46
|
+
d: "M28.56 21.732l6.831-8.947-.159 3.441-6.512-8.974h6.75l3.203 4.792-2.49.184 3.523-4.976h6.273l-6.539 8.683v-3.31l6.671 9.107h-6.855l-3.31-5.108 2.514.343-3.414 4.765h-6.485z"
|
47
|
+
}), /*#__PURE__*/_jsx("path", {
|
48
|
+
d: "M21.49 21.733V7.253h5.983v14.48H21.49zM24.482 6.09c-1.095 0-1.968-.292-2.621-.874a2.79 2.79 0 01-.98-2.171c0-.864.327-1.587.98-2.17C22.513.29 23.388 0 24.48 0c1.096 0 1.969.273 2.621.82.653.548.98 1.253.98 2.119 0 .916-.327 1.676-.98 2.276-.652.582-1.527.873-2.62.873"
|
49
|
+
}), /*#__PURE__*/_jsx("path", {
|
50
|
+
d: "M2 21.736V3.206h8.922c1.728 0 3.219.282 4.472.846 1.272.565 2.25 1.377 2.94 2.436.687 1.041 1.03 2.276 1.03 3.706 0 1.43-.345 2.665-1.032 3.705-.688 1.043-1.666 1.854-2.938 2.436-1.253.564-2.744.848-4.472.848H5.465l2.78-2.675v7.228H2zm6.247-6.54l-2.779-2.832h5.056c.864 0 1.5-.195 1.905-.582.425-.388.636-.918.636-1.588s-.211-1.2-.636-1.589c-.405-.387-1.04-.582-1.905-.582H5.468L8.247 5.19v10.006z"
|
51
|
+
})]
|
52
|
+
}));
|
53
|
+
});
|
54
|
+
export default Icon;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Color from './components/Color';
|
3
|
+
import Combine from './components/Combine';
|
4
|
+
import Mono from './components/Mono';
|
5
|
+
import Text from './components/Text';
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorGradient: string;
|
12
|
+
colorPrimary: string;
|
13
|
+
title: string;
|
14
|
+
};
|
15
|
+
declare const Icons: CompoundedIcon;
|
16
|
+
export default Icons;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import { COLOR_GRADIENT, COLOR_PRIMARY, TITLE } from "./style";
|
9
|
+
var Icons = Mono;
|
10
|
+
Icons.Color = Color;
|
11
|
+
Icons.Text = Text;
|
12
|
+
Icons.Combine = Combine;
|
13
|
+
Icons.Avatar = Avatar;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.colorGradient = COLOR_GRADIENT;
|
16
|
+
Icons.title = TITLE;
|
17
|
+
export default Icons;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const TITLE = "PixVerse";
|
2
|
+
export declare const TEXT_MULTIPLE = 0.7;
|
3
|
+
export declare const SPACE_MULTIPLE = 0.3;
|
4
|
+
export declare const COLOR_PRIMARY = "#9727ef";
|
5
|
+
export declare const COLOR_GRADIENT = "linear-gradient(45deg, #3961f1, #9727ef, #ff601a)";
|
@@ -0,0 +1,28 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["background"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Mono from "./Mono";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY,
|
24
|
+
color: '#fff',
|
25
|
+
iconMultiple: 0.7
|
26
|
+
}, rest));
|
27
|
+
});
|
28
|
+
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 { SPACE_MULTIPLE, 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: SPACE_MULTIPLE,
|
26
|
+
textMultiple: TEXT_MULTIPLE
|
27
|
+
}, rest));
|
28
|
+
});
|
29
|
+
export default Combine;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M12.38 15.993v3.972c-5.181 0-9.38-2.687-9.38-5.99 0-.696.187-1.363.53-1.985 1.285 2.33 4.761 4.003 8.85 4.003zM12.38 0v4.035c-4.074 0-7.54 1.65-8.835 3.96A4.113 4.113 0 013 5.979C3 2.676 7.199 0 12.38 0zM5.396 9.99c-.814.576-1.453 1.254-1.866 2.001A4.084 4.084 0 013 10.004c0-.696.192-1.382.544-2.01.413.742 1.048 1.419 1.853 1.995zm0 0c1.717-1.217 4.21-1.982 6.982-1.982v3.993c-2.774 0-5.265-.78-6.982-2.012zM12.38 8.007V4.035c5.18 0 9.378 2.687 9.378 5.99 0 .696-.187 1.363-.53 1.985-1.285-2.33-4.761-4.003-8.849-4.003zm0 15.993v-4.035c4.072 0 7.538-1.65 8.834-3.96.352.632.544 1.311.544 2.016 0 3.303-4.199 5.979-9.379 5.979zm6.982-9.99c.814-.576 1.453-1.254 1.866-2.001.343.622.53 1.29.53 1.987 0 .696-.192 1.382-.543 2.01-.414-.742-1.048-1.419-1.853-1.995zm0 0c-1.718 1.217-4.21 1.982-6.983 1.982v-3.993c2.774 0 5.265.78 6.983 2.012z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { forwardRef } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 59 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M54.455 16.223h2.715v2.715h-2.715v-2.715zM49.438 10.353c-.163-.799-.505-1.418-1.027-1.858-.522-.44-1.223-.66-2.103-.66-.75 0-1.378.138-1.883.415a3.464 3.464 0 00-1.223 1.1 4.781 4.781 0 00-.636 1.59 8.435 8.435 0 00-.196 1.835c0 .587.066 1.157.196 1.712.147.554.367 1.051.66 1.492a3.33 3.33 0 001.15 1.027c.473.26 1.035.391 1.687.391 1.028 0 1.826-.269 2.397-.807.587-.538.946-1.296 1.076-2.275h2.128c-.228 1.566-.815 2.772-1.76 3.62-.93.848-2.202 1.272-3.816 1.272-.962 0-1.818-.155-2.568-.465a5.09 5.09 0 01-1.859-1.32 5.993 5.993 0 01-1.125-2.03 8.904 8.904 0 01-.367-2.617c0-.946.123-1.827.367-2.642.245-.831.611-1.549 1.1-2.152a5.156 5.156 0 011.884-1.443C44.27 6.18 45.142 6 46.137 6c.717 0 1.386.09 2.005.269.636.163 1.19.424 1.663.783.49.358.889.815 1.199 1.37.31.537.505 1.181.587 1.931h-2.153zM27.264 6.293h1.957V8.3h.049C30.134 6.766 31.503 6 33.378 6c.832 0 1.525.114 2.08.342.554.229 1.002.547 1.344.954.343.408.58.897.71 1.468.146.554.22 1.174.22 1.858v8.316h-2.08v-8.56c0-.783-.227-1.402-.684-1.859-.456-.456-1.084-.685-1.883-.685-.636 0-1.19.098-1.663.294-.457.195-.84.473-1.15.831-.31.359-.546.783-.709 1.272-.147.473-.22.995-.22 1.565v7.142h-2.079V6.293zM20 20.625c-.244.62-.489 1.141-.733 1.565-.229.424-.49.766-.783 1.027a2.337 2.337 0 01-.954.587c-.342.13-.742.196-1.198.196-.245 0-.49-.016-.734-.049a3.465 3.465 0 01-.71-.171v-1.908c.18.082.384.147.612.196.245.065.449.098.612.098.424 0 .774-.106 1.051-.318.294-.196.514-.481.66-.856l.857-2.128-5.014-12.571h2.348l3.693 10.345h.049l3.546-10.345h2.201L20 20.625zM4.079 14.951c.016.457.122.848.318 1.174.195.31.448.563.758.758.326.18.685.31 1.076.392.408.081.823.122 1.247.122.326 0 .669-.024 1.028-.073.358-.05.684-.139.978-.27.31-.13.562-.317.758-.562.196-.26.293-.587.293-.978 0-.538-.203-.946-.61-1.223-.409-.277-.922-.497-1.542-.66a18.747 18.747 0 00-1.98-.465 12.011 12.011 0 01-2.006-.587 4.274 4.274 0 01-1.517-1.076c-.407-.457-.611-1.093-.611-1.908 0-.636.139-1.182.416-1.638.293-.457.66-.824 1.1-1.101a4.823 4.823 0 011.517-.636A6.758 6.758 0 016.989 6a9.38 9.38 0 011.981.196 4.18 4.18 0 011.59.636c.473.293.848.7 1.125 1.222.277.506.44 1.142.49 1.908h-2.08c-.032-.408-.138-.742-.318-1.003a2.038 2.038 0 00-.684-.66 2.88 2.88 0 00-.93-.342 4.118 4.118 0 00-1.003-.123c-.31 0-.627.025-.953.074a2.92 2.92 0 00-.856.269c-.261.114-.473.277-.636.489-.163.195-.245.456-.245.782 0 .36.122.66.367.905.26.229.587.424.978.587.392.147.832.277 1.321.392.49.098.978.204 1.467.318.522.114 1.028.252 1.517.415.505.163.945.383 1.32.66.392.262.702.596.93 1.003.244.408.367.914.367 1.517 0 .766-.163 1.402-.49 1.907-.31.506-.725.913-1.247 1.223a4.908 4.908 0 01-1.736.636 9.474 9.474 0 01-1.908.196c-.701 0-1.37-.073-2.005-.22a5.066 5.066 0 01-1.688-.71 3.82 3.82 0 01-1.174-1.32c-.293-.555-.456-1.223-.489-2.006h2.079z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
package/es/Sync/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Combine from "./components/Combine";
|
5
|
+
import Mono from "./components/Mono";
|
6
|
+
import Text from "./components/Text";
|
7
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
8
|
+
var Icons = Mono;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
package/es/Sync/style.js
ADDED