@lobehub/icons 1.41.0 → 1.43.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 +249 -3
- package/es/Ai360/style.d.ts +1 -1
- package/es/Ai360/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/icons.d.ts +6 -0
- package/es/icons.js +6 -0
- package/package.json +5 -4
@@ -0,0 +1,143 @@
|
|
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, 5),
|
27
|
+
_useFillIds2 = _slicedToArray(_useFillIds, 5),
|
28
|
+
a = _useFillIds2[0],
|
29
|
+
b = _useFillIds2[1],
|
30
|
+
c = _useFillIds2[2],
|
31
|
+
d = _useFillIds2[3],
|
32
|
+
e = _useFillIds2[4];
|
33
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
34
|
+
height: size,
|
35
|
+
ref: ref,
|
36
|
+
style: _objectSpread({
|
37
|
+
flex: 'none',
|
38
|
+
lineHeight: 1
|
39
|
+
}, style),
|
40
|
+
viewBox: "0 0 24 24",
|
41
|
+
width: size,
|
42
|
+
xmlns: "http://www.w3.org/2000/svg"
|
43
|
+
}, rest), {}, {
|
44
|
+
children: [/*#__PURE__*/_jsx("title", {
|
45
|
+
children: TITLE
|
46
|
+
}), /*#__PURE__*/_jsx("path", {
|
47
|
+
d: "M2 5.999L12.392 0v24L2 18V5.999z",
|
48
|
+
fill: "#000"
|
49
|
+
}), /*#__PURE__*/_jsx("path", {
|
50
|
+
d: "M12.392 24L2 18l10.392-6 10.393 6-10.393 6z",
|
51
|
+
fill: a.fill
|
52
|
+
}), /*#__PURE__*/_jsx("path", {
|
53
|
+
d: "M12.392 24L2 18l10.392-6 10.393 6-10.393 6z",
|
54
|
+
fill: b.fill
|
55
|
+
}), /*#__PURE__*/_jsx("path", {
|
56
|
+
d: "M2 5.999L12.392 0v24L2 18V5.999z",
|
57
|
+
fill: c.fill,
|
58
|
+
style: {
|
59
|
+
mixBlendMode: 'screen'
|
60
|
+
}
|
61
|
+
}), /*#__PURE__*/_jsx("path", {
|
62
|
+
d: "M12.392 24L2 18l10.392-6 10.393 6-10.393 6z",
|
63
|
+
fill: d.fill,
|
64
|
+
style: {
|
65
|
+
mixBlendMode: 'overlay'
|
66
|
+
}
|
67
|
+
}), /*#__PURE__*/_jsx("path", {
|
68
|
+
d: "M2 5.999L12.392 0v24L2 18V5.999z",
|
69
|
+
fill: e.fill,
|
70
|
+
style: {
|
71
|
+
mixBlendMode: 'overlay'
|
72
|
+
}
|
73
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
74
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
75
|
+
gradientUnits: "userSpaceOnUse",
|
76
|
+
id: a.id,
|
77
|
+
x1: "2",
|
78
|
+
x2: "22.785",
|
79
|
+
y1: "18",
|
80
|
+
y2: "18",
|
81
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
82
|
+
stopColor: "#00A"
|
83
|
+
}), /*#__PURE__*/_jsx("stop", {
|
84
|
+
offset: "1",
|
85
|
+
stopColor: "#A78DFF"
|
86
|
+
})]
|
87
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
88
|
+
gradientUnits: "userSpaceOnUse",
|
89
|
+
id: b.id,
|
90
|
+
x1: "2",
|
91
|
+
x2: "22.785",
|
92
|
+
y1: "18",
|
93
|
+
y2: "18",
|
94
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
95
|
+
stopColor: "#00A"
|
96
|
+
}), /*#__PURE__*/_jsx("stop", {
|
97
|
+
offset: "1",
|
98
|
+
stopColor: "#A78DFF"
|
99
|
+
})]
|
100
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
101
|
+
gradientUnits: "userSpaceOnUse",
|
102
|
+
id: c.id,
|
103
|
+
x1: "13.748",
|
104
|
+
x2: "4.672",
|
105
|
+
y1: "22.642",
|
106
|
+
y2: "3.745",
|
107
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
108
|
+
stopColor: "#004EFF"
|
109
|
+
}), /*#__PURE__*/_jsx("stop", {
|
110
|
+
offset: "1",
|
111
|
+
stopColor: "#0FF"
|
112
|
+
})]
|
113
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
114
|
+
gradientUnits: "userSpaceOnUse",
|
115
|
+
id: d.id,
|
116
|
+
x1: "2",
|
117
|
+
x2: "22.785",
|
118
|
+
y1: "18",
|
119
|
+
y2: "18",
|
120
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
121
|
+
stopColor: "#00A"
|
122
|
+
}), /*#__PURE__*/_jsx("stop", {
|
123
|
+
offset: "1",
|
124
|
+
stopColor: "#A78DFF"
|
125
|
+
})]
|
126
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
127
|
+
gradientUnits: "userSpaceOnUse",
|
128
|
+
id: e.id,
|
129
|
+
x1: "13.748",
|
130
|
+
x2: "4.672",
|
131
|
+
y1: "22.642",
|
132
|
+
y2: "3.745",
|
133
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
134
|
+
stopColor: "#004EFF"
|
135
|
+
}), /*#__PURE__*/_jsx("stop", {
|
136
|
+
offset: "1",
|
137
|
+
stopColor: "#0FF"
|
138
|
+
})]
|
139
|
+
})]
|
140
|
+
})]
|
141
|
+
}));
|
142
|
+
});
|
143
|
+
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,43 @@
|
|
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
|
+
d: "M12.393 24L2 17.998l10.393-6 10.392 6-10.393 6z",
|
36
|
+
fillOpacity: ".66"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M2 5.999L12.393 0v24L2 18V5.999z",
|
39
|
+
fillOpacity: ".66"
|
40
|
+
})]
|
41
|
+
}));
|
42
|
+
});
|
43
|
+
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 111 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: "M2 2h2.314v17.355h8.926v2.15H2V2zm28.402 12.066c0 1.065-.137 2.075-.413 3.03-.257.956-.68 1.8-1.267 2.535-.57.716-1.323 1.295-2.26 1.735-.936.423-2.074.634-3.415.634-1.34 0-2.48-.211-3.416-.634-.937-.44-1.699-1.019-2.287-1.735a7.47 7.47 0 01-1.267-2.535 11.616 11.616 0 01-.386-3.03V2h2.315v11.736c0 .79.082 1.551.247 2.286.166.735.441 1.387.827 1.956.386.57.9 1.028 1.543 1.377.642.331 1.45.496 2.424.496.973 0 1.781-.165 2.424-.496a4.311 4.311 0 001.543-1.377 5.67 5.67 0 00.826-1.956c.166-.735.248-1.497.248-2.286V2h2.314v12.066zM35.171 2h3.443l6.612 15.29h.055L51.948 2h3.36v19.504h-2.313V5.14h-.056l-6.997 16.364h-1.405L37.54 5.14h-.055v16.364H35.17V2zm31.328 0h2.177l8.292 19.504h-2.7l-1.983-4.793h-9.752l-2.011 4.793h-2.618L66.5 2zm1.047 2.975h-.055l-4.05 9.587h7.962l-3.857-9.587zM93.563 2h2.177l8.292 19.504h-2.7l-1.983-4.793h-9.753l-2.01 4.793h-2.618L93.563 2zm1.047 2.975h-.055l-4.05 9.587h7.962L94.61 4.975zM106.624 2h2.314v19.504h-2.314V2z"
|
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;
|
package/es/Luma/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Color from "./components/Color";
|
3
|
+
import Combine from "./components/Combine";
|
4
|
+
import Mono from "./components/Mono";
|
5
|
+
import Text from "./components/Text";
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
7
|
+
var Icons = Mono;
|
8
|
+
Icons.Color = Color;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
package/es/Luma/style.js
ADDED
@@ -0,0 +1,25 @@
|
|
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"];
|
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 Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var background = _ref.background,
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
18
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
"aria-label": TITLE,
|
21
|
+
background: background || COLOR_PRIMARY,
|
22
|
+
color: '#000'
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,24 @@
|
|
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
|
+
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; }
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
|
+
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); }
|
7
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
8
|
+
import { memo } from 'react';
|
9
|
+
import IconCombine from "../../features/IconCombine";
|
10
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
11
|
+
import Mono from "./Mono";
|
12
|
+
import Text from "./Text";
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
15
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
16
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
17
|
+
Icon: Mono,
|
18
|
+
Text: Text,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
spaceMultiple: SPACE_MULTIPLE,
|
21
|
+
textMultiple: TEXT_MULTIPLE
|
22
|
+
}, rest));
|
23
|
+
});
|
24
|
+
export default Combine;
|
@@ -0,0 +1,39 @@
|
|
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
|
+
d: "M17.86 22.992c-2.669.245-4.887-2.876-6.597-4.454C10.398 24.759 1 24.177 1 17.86V6.15c0-.921.244-1.861.733-2.65C2.635 1.977 4.383.98 6.15 1h11.71c6.316 0 6.918 9.398.677 10.243l2.97 2.951c3.252 3.064.808 8.929-3.646 8.797zm-1.428-3.721c1.842 1.898 4.774-1.034 2.876-2.876l-5.132-5.132H11.3v2.876l4.436 4.436.696.696zM4.12 17.842c-.037 2.632 4.117 2.632 4.06 0V6.132c.038-1.316-1.353-2.35-2.612-1.955-.057.019-.113.037-.15.056-.79.301-1.335 1.09-1.317 1.936v11.673h.02zm13.74-9.68c2.632.037 2.632-4.098 0-4.06h-6.973c.526 1.109.395 2.857.413 4.06h6.56z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
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 94 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: "M2 5.33h3.425l.33 1.774C6.415 5.701 7.859 5 9.385 5a5.56 5.56 0 012.002.392l-.805 4.105a3.938 3.938 0 00-2.001-.536c-1.382 0-2.517.928-2.517 3.012v6.622H2V5.33zm10.79 8.335V5.248h4.125V12.9c0 1.547.887 2.373 2.187 2.373 1.32 0 2.455-1.011 2.455-3.24V5.269h4.126v13.286h-3.445l-.454-1.754c-.66 1.052-2.27 2.063-4.27 2.063-2.703-.02-4.725-1.712-4.725-5.198zM27.807 5.33h3.404l.454 1.754c.64-1.053 2.228-2.063 4.208-2.063 2.62 0 4.6 1.67 4.6 5.157v8.438H36.41v-7.592c0-1.568-.804-2.414-2.145-2.414-1.238 0-2.373 1.011-2.373 3.301v6.725h-4.064l-.02-13.306zm13.574-.082h4.064l2.414 9.056 2.145-5.962-1.052-3.094h4.044l2.62 9.056 2.33-9.056h4.086L57.7 18.616h-4.167l-1.795-5.323-1.856 5.323h-4.147L41.382 5.248zm20.878 6.684c0-4.56 3.3-6.911 6.333-6.911 1.856 0 3.197.742 3.858 1.506l.37-1.197h3.755v13.203h-3.568l-.557-1.3c-.557.66-1.754 1.61-4.044 1.61-3.28 0-6.147-2.682-6.147-6.911zm10.335 0c0-2.146-1.382-3.466-3.136-3.466-1.774 0-3.135 1.34-3.135 3.466 0 2.124 1.361 3.465 3.135 3.465 1.754 0 3.136-1.32 3.136-3.465zM80.805 24l2.25-6.086L77.71 5.248h4.374l2.97 8.272 2.682-8.272h4.27L84.974 24h-4.167z"
|
35
|
+
})]
|
36
|
+
}));
|
37
|
+
});
|
38
|
+
export default Icon;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Combine from './components/Combine';
|
3
|
+
import Mono from './components/Mono';
|
4
|
+
import Text from './components/Text';
|
5
|
+
export type CompoundedIcon = typeof Mono & {
|
6
|
+
Avatar: typeof Avatar;
|
7
|
+
Combine: typeof Combine;
|
8
|
+
Text: typeof Text;
|
9
|
+
colorPrimary: string;
|
10
|
+
title: string;
|
11
|
+
};
|
12
|
+
declare const Icons: CompoundedIcon;
|
13
|
+
export default Icons;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Combine from "./components/Combine";
|
3
|
+
import Mono from "./components/Mono";
|
4
|
+
import Text from "./components/Text";
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
6
|
+
var Icons = Mono;
|
7
|
+
Icons.Text = Text;
|
8
|
+
Icons.Combine = Combine;
|
9
|
+
Icons.Avatar = Avatar;
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
11
|
+
Icons.title = TITLE;
|
12
|
+
export default Icons;
|
@@ -0,0 +1,25 @@
|
|
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"];
|
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 Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var background = _ref.background,
|
17
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
18
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
"aria-label": TITLE,
|
21
|
+
background: background || COLOR_PRIMARY,
|
22
|
+
color: '#fff'
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,24 @@
|
|
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
|
+
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; }
|
3
|
+
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; }
|
4
|
+
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; }
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
|
+
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); }
|
7
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
8
|
+
import { memo } from 'react';
|
9
|
+
import IconCombine from "../../features/IconCombine";
|
10
|
+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
|
11
|
+
import Mono from "./Mono";
|
12
|
+
import Text from "./Text";
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
15
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
16
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
17
|
+
Icon: Mono,
|
18
|
+
Text: Text,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
spaceMultiple: SPACE_MULTIPLE,
|
21
|
+
textMultiple: TEXT_MULTIPLE
|
22
|
+
}, rest));
|
23
|
+
});
|
24
|
+
export default Combine;
|