@lobehub/icons 2.7.0 → 2.8.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/es/Figma/components/Avatar.d.ts +5 -0
- package/es/Figma/components/Avatar.js +25 -0
- package/es/Figma/components/Color.d.ts +3 -0
- package/es/Figma/components/Color.js +51 -0
- package/es/Figma/components/Combine.d.ts +7 -0
- package/es/Figma/components/Combine.js +32 -0
- package/es/Figma/components/Mono.d.ts +3 -0
- package/es/Figma/components/Mono.js +41 -0
- package/es/Figma/components/Text.d.ts +3 -0
- package/es/Figma/components/Text.js +39 -0
- package/es/Figma/index.d.ts +15 -0
- package/es/Figma/index.js +14 -0
- package/es/Figma/style.d.ts +7 -0
- package/es/Figma/style.js +9 -0
- package/es/Windsurf/components/Avatar.d.ts +5 -0
- package/es/Windsurf/components/Avatar.js +25 -0
- package/es/Windsurf/components/Combine.d.ts +5 -0
- package/es/Windsurf/components/Combine.js +29 -0
- package/es/Windsurf/components/Mono.d.ts +3 -0
- package/es/Windsurf/components/Mono.js +41 -0
- package/es/Windsurf/components/Text.d.ts +3 -0
- package/es/Windsurf/components/Text.js +40 -0
- package/es/Windsurf/index.d.ts +13 -0
- package/es/Windsurf/index.js +12 -0
- package/es/Windsurf/style.d.ts +7 -0
- package/es/Windsurf/style.js +9 -0
- package/es/icons.d.ts +2 -0
- package/es/icons.js +2 -0
- package/es/toc.js +36 -0
- package/package.json +1 -1
@@ -0,0 +1,25 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Color from "./Color";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Color,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
height: size,
|
23
|
+
style: _objectSpread({
|
24
|
+
flex: 'none',
|
25
|
+
lineHeight: 1
|
26
|
+
}, style),
|
27
|
+
viewBox: "0 0 24 24",
|
28
|
+
width: size,
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
30
|
+
}, rest), {}, {
|
31
|
+
children: [/*#__PURE__*/_jsx("title", {
|
32
|
+
children: TITLE
|
33
|
+
}), /*#__PURE__*/_jsx("path", {
|
34
|
+
d: "M4 20a4 4 0 014-4h4v4a4 4 0 01-8 0z",
|
35
|
+
fill: "#24CB71"
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M12 0v8h4a4 4 0 000-8h-4z",
|
38
|
+
fill: "#FF7237"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M15.967 16a4 4 0 100-8 4 4 0 000 8z",
|
41
|
+
fill: "#00B6FF"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M4 4a4 4 0 004 4h4V0H8a4 4 0 00-4 4z",
|
44
|
+
fill: "#FF3737"
|
45
|
+
}), /*#__PURE__*/_jsx("path", {
|
46
|
+
d: "M4 12a4 4 0 004 4h4V8H8a4 4 0 00-4 4z",
|
47
|
+
fill: "#874FFF"
|
48
|
+
})]
|
49
|
+
}));
|
50
|
+
});
|
51
|
+
export default Icon;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
4
|
+
type?: 'color' | 'mono';
|
5
|
+
}
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
7
|
+
export default Combine;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["type"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import IconCombine from "../../features/IconCombine";
|
14
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import Mono from "./Mono";
|
17
|
+
import Text from "./Text";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
20
|
+
var _ref$type = _ref.type,
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
25
|
+
Icon: Icon,
|
26
|
+
Text: Text,
|
27
|
+
"aria-label": TITLE,
|
28
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,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 { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 24 24",
|
30
|
+
width: size,
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M6.082 8.241C4.83 7.441 4 6.057 4 4.483 4 2.007 6.05 0 8.578 0h7.844C18.95 0 21 2.007 21 4.483c0 1.574-.829 2.959-2.082 3.758C20.17 9.041 21 10.426 21 12c0 2.476-2.05 4.483-4.578 4.483h-.084A4.615 4.615 0 0113.24 15.3v4.176C13.24 21.98 11.145 24 8.599 24 6.076 24 4 21.998 4 19.517c0-1.574.829-2.959 2.082-3.758C4.829 14.959 4 13.574 4 12c0-1.574.829-2.959 2.082-3.759zM13.24 12c0 1.676 1.387 3.034 3.098 3.034h.084c1.711 0 3.099-1.358 3.099-3.034 0-1.676-1.388-3.034-3.1-3.034h-.083c-1.71 0-3.098 1.358-3.098 3.034zm-1.48-3.034H8.578C6.867 8.966 5.48 10.324 5.48 12c0 1.672 1.382 3.029 3.089 3.034H11.76V8.966zm-3.182 7.517h-.01c-1.707.005-3.089 1.362-3.089 3.034 0 1.67 1.403 3.034 3.12 3.034 1.74 0 3.161-1.381 3.161-3.075v-2.993H8.578zm3.182-8.966H8.578c-1.711 0-3.099-1.358-3.099-3.034 0-1.676 1.388-3.034 3.1-3.034h3.181v6.068zm4.662 0H13.24V1.45h3.182c1.711 0 3.099 1.358 3.099 3.034 0 1.676-1.388 3.034-3.1 3.034z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
var _excluded = ["size", "style"];
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
12
|
+
import { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "nonzero",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 70 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
d: "M61.486 19.526c-.905 0-1.718-.172-2.439-.515-.702-.344-1.266-.805-1.69-1.384-.408-.596-.61-1.283-.61-2.06 0-1.013.332-1.836.997-2.469.665-.633 1.617-1.067 2.855-1.301l3.244-.65c.646-.128 1.09-.326 1.33-.598.24-.27.36-.668.36-1.193l.332 3.173-4.656.977c-.628.126-1.118.351-1.469.677-.333.326-.499.778-.499 1.356 0 .597.231 1.076.693 1.438.48.36 1.127.541 1.94.542.666 0 1.276-.145 1.83-.434a3.248 3.248 0 001.83-2.983V9.356c0-.651-.241-1.157-.722-1.519-.462-.38-1.1-.57-1.912-.57-1.035 0-1.83.254-2.384.76-.554.507-.878 1.22-.97 2.142l-2.44-.325c.093-.958.389-1.78.888-2.467.499-.706 1.164-1.248 1.995-1.628.832-.38 1.82-.569 2.966-.569 1.626 0 2.873.407 3.742 1.22C67.566 7.213 68 8.262 68 9.546v9.572h-2.411v-1.762c-.24.596-.73 1.112-1.47 1.546-.72.416-1.598.624-2.633.624zm-24.392-.407V5.587h2.411v1.519c.185-.525.591-.977 1.22-1.357.628-.38 1.358-.569 2.189-.569.814 0 1.563.172 2.246.515.683.344 1.127.86 1.33 1.546.24-.633.684-1.13 1.331-1.492a4.39 4.39 0 012.217-.569c1.404 0 2.476.398 3.215 1.193.74.796 1.11 1.953 1.11 3.471v9.275h-2.468v-8.95c0-.903-.203-1.581-.61-2.033-.388-.47-.961-.705-1.718-.705-.832 0-1.479.289-1.94.867-.444.561-.666 1.384-.666 2.468v8.353h-2.466v-8.95c0-.903-.204-1.581-.61-2.033-.388-.47-.961-.705-1.719-.705-.832 0-1.478.289-1.94.867-.444.561-.666 1.384-.666 2.468v8.353h-2.466zM27.66 24c-1.719 0-3.114-.389-4.186-1.166-1.072-.777-1.755-1.862-2.051-3.254l2.412-.516c.203.886.637 1.573 1.303 2.062.665.506 1.505.759 2.522.759 1.219 0 2.134-.307 2.744-.922.628-.597.942-1.491.942-2.685v-2.142c-.277.668-.794 1.21-1.552 1.627-.74.416-1.57.624-2.494.624-1.22 0-2.292-.271-3.216-.814a5.802 5.802 0 01-2.162-2.332c-.517-.994-.776-2.143-.776-3.444 0-1.32.259-2.477.776-3.471.517-.995 1.229-1.763 2.134-2.305.924-.56 2.005-.841 3.244-.841.924 0 1.764.208 2.522.623.775.398 1.302.895 1.58 1.492V5.587h2.411v12.69c0 1.193-.24 2.215-.72 3.065-.48.868-1.183 1.528-2.107 1.98-.905.451-2.014.678-3.326.678zm-.056-7.756c1.183 0 2.125-.407 2.827-1.22.72-.814 1.081-1.89 1.082-3.228 0-1.355-.36-2.44-1.082-3.254-.72-.813-1.663-1.22-2.827-1.22-1.182 0-2.134.407-2.855 1.22-.702.814-1.053 1.899-1.053 3.254 0 1.338.36 2.414 1.08 3.228.722.813 1.665 1.22 2.828 1.22zM16.17 19.119V5.587h2.467v13.532h-2.467zM16.14 3.85V0h2.522v3.851h-2.522zM2 19.12V0h2.605v19.119H2zm.527-8.082V8.732h10.616v2.306H2.527zm0-8.705V0h11.641v2.332H2.527z"
|
36
|
+
})]
|
37
|
+
}));
|
38
|
+
});
|
39
|
+
export default Icon;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import Avatar from './components/Avatar';
|
2
|
+
import Color from './components/Color';
|
3
|
+
import Combine from './components/Combine';
|
4
|
+
import Mono from './components/Mono';
|
5
|
+
import Text from './components/Text';
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
7
|
+
Avatar: typeof Avatar;
|
8
|
+
Color: typeof Color;
|
9
|
+
Combine: typeof Combine;
|
10
|
+
Text: typeof Text;
|
11
|
+
colorPrimary: string;
|
12
|
+
title: string;
|
13
|
+
};
|
14
|
+
declare const Icons: CompoundedIcon;
|
15
|
+
export default Icons;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Color from "./components/Color";
|
3
|
+
import Combine from "./components/Combine";
|
4
|
+
import Mono from "./components/Mono";
|
5
|
+
import Text from "./components/Text";
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
7
|
+
var Icons = Mono;
|
8
|
+
Icons.Color = Color;
|
9
|
+
Icons.Text = Text;
|
10
|
+
Icons.Combine = Combine;
|
11
|
+
Icons.Avatar = Avatar;
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
13
|
+
Icons.title = TITLE;
|
14
|
+
export default Icons;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const TITLE = "Figma";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.85;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.15;
|
4
|
+
export declare const COLOR_PRIMARY = "#000";
|
5
|
+
export declare const AVATAR_BACKGROUND = "#000";
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'Figma';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.85;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.15;
|
4
|
+
export var COLOR_PRIMARY = '#000';
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
18
|
+
Icon: Mono,
|
19
|
+
"aria-label": TITLE,
|
20
|
+
background: AVATAR_BACKGROUND,
|
21
|
+
color: AVATAR_COLOR,
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
23
|
+
}, rest));
|
24
|
+
});
|
25
|
+
export default Avatar;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
5
|
+
export default Combine;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
10
|
+
import { memo } from 'react';
|
11
|
+
import IconCombine from "../../features/IconCombine";
|
12
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
13
|
+
import Mono from "./Mono";
|
14
|
+
import Text from "./Text";
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
16
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
18
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
19
|
+
Icon: Mono,
|
20
|
+
Text: Text,
|
21
|
+
"aria-label": TITLE,
|
22
|
+
iconProps: {
|
23
|
+
shape: 'square'
|
24
|
+
},
|
25
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
26
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
27
|
+
}, rest));
|
28
|
+
});
|
29
|
+
export default Combine;
|
@@ -0,0 +1,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 { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 24 24",
|
30
|
+
width: size,
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M23.78 5.004h-.228a2.187 2.187 0 00-2.18 2.196v4.912c0 .98-.804 1.775-1.76 1.775a1.818 1.818 0 01-1.472-.773L13.168 5.95a2.197 2.197 0 00-1.81-.95c-1.134 0-2.154.972-2.154 2.173v4.94c0 .98-.797 1.775-1.76 1.775-.57 0-1.136-.289-1.472-.773L.408 5.098C.282 4.918 0 5.007 0 5.228v4.284c0 .216.066.426.188.604l5.475 7.889c.324.466.8.812 1.351.938 1.377.316 2.645-.754 2.645-2.117V11.89c0-.98.787-1.775 1.76-1.775h.002c.586 0 1.135.288 1.472.773l4.972 7.163a2.15 2.15 0 001.81.95c1.158 0 2.151-.973 2.151-2.173v-4.939c0-.98.787-1.775 1.76-1.775h.194c.122 0 .22-.1.22-.222V5.225a.221.221 0 00-.22-.222z"
|
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 { memo } from 'react';
|
13
|
+
import { TITLE } from "../style";
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
17
|
+
var _ref$size = _ref.size,
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
19
|
+
style = _ref.style,
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
22
|
+
fill: "currentColor",
|
23
|
+
fillRule: "evenodd",
|
24
|
+
height: size,
|
25
|
+
style: _objectSpread({
|
26
|
+
flex: 'none',
|
27
|
+
lineHeight: 1
|
28
|
+
}, style),
|
29
|
+
viewBox: "0 0 111 24",
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
31
|
+
}, rest), {}, {
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
33
|
+
children: TITLE
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
35
|
+
clipRule: "evenodd",
|
36
|
+
d: "M33.412 7.182h-1.715a.316.316 0 00-.315.316v13.79c0 .174.14.316.315.316h1.715a.316.316 0 00.316-.317V7.498a.316.316 0 00-.316-.316zm-1.772-5.18h1.828c.174 0 .315.141.315.316V4.57a.316.316 0 01-.315.316H31.64a.316.316 0 01-.315-.316V2.318c0-.175.141-.317.315-.317zM43.676 6.79c-1.927 0-3.324.671-4.218 1.653a.457.457 0 01-.782-.322v-.623a.316.316 0 00-.316-.316h-1.686a.316.316 0 00-.316.316v13.79c0 .174.142.316.316.316h1.687a.316.316 0 00.316-.317v-8.729c0-3.025.587-3.697 3.8-3.697s3.742.533 3.742 3.557v8.868c0 .175.142.317.316.317h1.715a.316.316 0 00.316-.317v-9.513c0-3.445-1.956-4.986-4.889-4.986v.003h-.001zm17.518 1.849a.457.457 0 00.782-.322V2.319c0-.175.142-.316.316-.316h1.687c.174 0 .316.141.316.316v18.97a.316.316 0 01-.316.316h-1.687a.316.316 0 01-.316-.316v-.819c.017-.418-.489-.62-.782-.322-.81 1.008-2.374 1.848-4.47 1.848-3.685 0-6.088-2.632-6.088-7.533 0-5.18 2.68-7.673 6.172-7.673 2.095 0 3.604.84 4.386 1.849zm-8.018 5.767c0 4.733.587 5.434 4.414 5.434 3.8 0 4.386-.701 4.386-5.434 0-4.733-.559-5.461-4.386-5.461s-4.414.728-4.414 5.461zm20.924-.894l-2.763-.476c-2.04-.364-2.404-.98-2.404-2.045.028-1.457.587-2.184 3.296-2.184 2.538 0 3.35.752 3.525 2.376.017.16.152.284.313.284h1.677c.18 0 .326-.151.316-.333-.163-2.788-2.709-4.346-5.746-4.346-3.408 0-5.67 1.82-5.67 4.426 0 2.38 1.844 3.417 4.05 3.837l3.046.56c1.676.31 2.235.87 2.235 1.933 0 1.709-.587 2.437-3.464 2.437s-3.673-.832-3.858-2.518a.315.315 0 00-.313-.282h-1.687a.318.318 0 00-.317.325c.08 3.004 2.797 4.493 6.034 4.493 3.52 0 5.949-1.82 5.949-4.566 0-2.408-1.845-3.501-4.219-3.921zm12.21 6.414c3.128 0 3.715-.672 3.715-3.697V7.502c0-.174.141-.316.316-.316h1.714c.175 0 .316.142.316.316v13.79a.316.316 0 01-.316.316h-1.714a.316.316 0 01-.316-.317v-.6c-.007-.429-.45-.642-.755-.343-.892.98-2.289 1.652-4.161 1.652-2.877 0-4.833-1.54-4.833-4.986V7.501c0-.175.142-.317.316-.317h1.715c.174 0 .316.142.316.317v8.868c0 3.024.558 3.557 3.687 3.557zm19.782-12.744v-1.85c0-.727.588-1.316 1.314-1.316h1.276a.316.316 0 00.315-.317V2.317a.316.316 0 00-.315-.317h-.885c-2.514 0-4.051 1.4-4.051 3.81v1.372h-1.859c-1.647.002-2.94.229-3.803 1.26-.317.302-.755.076-.755-.36V7.5a.316.316 0 00-.315-.317h-1.715a.316.316 0 00-.316.317v13.789c0 .174.141.316.316.316h1.715a.316.316 0 00.315-.316v-8.645c0-2.857.727-3.528 3.855-3.528h2.562V21.29c0 .175.141.317.316.317h1.715a.316.316 0 00.315-.317V9.116h2.593a.316.316 0 00.315-.317V7.501a.316.316 0 00-.315-.317h-2.593v-.002zM21.834 18.008a.561.561 0 001.091.005l3.933-15.772A.318.318 0 0127.166 2h1.963c.21 0 .363.199.31.403l-4.947 18.972a.305.305 0 01-.295.228h-3.502a.31.31 0 01-.3-.234L16.285 5.5a.56.56 0 00-.543-.42h-.036a.562.562 0 00-.542.42l-4.11 15.87a.31.31 0 01-.299.234H7.253a.304.304 0 01-.295-.228L2.011 2.403A.321.321 0 012.32 2h1.963c.145 0 .272.1.308.241l3.932 15.772a.56.56 0 001.09-.005l3.78-15.764A.316.316 0 0113.7 2h4.047c.146 0 .273.1.307.244l3.779 15.764z"
|
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;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import Avatar from "./components/Avatar";
|
2
|
+
import Combine from "./components/Combine";
|
3
|
+
import Mono from "./components/Mono";
|
4
|
+
import Text from "./components/Text";
|
5
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
6
|
+
var Icons = Mono;
|
7
|
+
Icons.Text = Text;
|
8
|
+
Icons.Combine = Combine;
|
9
|
+
Icons.Avatar = Avatar;
|
10
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
11
|
+
Icons.title = TITLE;
|
12
|
+
export default Icons;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const TITLE = "Windsurf";
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.7;
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export declare const COLOR_PRIMARY = "#fff";
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
6
|
+
export declare const AVATAR_COLOR = "#000";
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.75;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export var TITLE = 'Windsurf';
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.7;
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
4
|
+
export var COLOR_PRIMARY = '#fff';
|
5
|
+
|
6
|
+
// Avatar constants
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
8
|
+
export var AVATAR_COLOR = '#000';
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.75;
|
package/es/icons.d.ts
CHANGED
@@ -63,6 +63,7 @@ export { default as Exa, type CompoundedIcon as ExaProps } from './Exa';
|
|
63
63
|
export { default as Fal, type CompoundedIcon as FalProps } from './Fal';
|
64
64
|
export { default as FastGPT, type CompoundedIcon as FastGPTProps } from './FastGPT';
|
65
65
|
export { default as Featherless, type CompoundedIcon as FeatherlessProps } from './Featherless';
|
66
|
+
export { default as Figma, type CompoundedIcon as FigmaProps } from './Figma';
|
66
67
|
export { default as Fireworks, type CompoundedIcon as FireworksProps } from './Fireworks';
|
67
68
|
export { default as FishAudio, type CompoundedIcon as FishAudioProps } from './FishAudio';
|
68
69
|
export { default as Flora, type CompoundedIcon as FloraProps } from './Flora';
|
@@ -200,6 +201,7 @@ export { default as Vllm, type CompoundedIcon as VllmProps } from './Vllm';
|
|
200
201
|
export { default as Volcengine, type CompoundedIcon as VolcengineProps } from './Volcengine';
|
201
202
|
export { default as Voyage, type CompoundedIcon as VoyageProps } from './Voyage';
|
202
203
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
204
|
+
export { default as Windsurf, type CompoundedIcon as WindsurfProps } from './Windsurf';
|
203
205
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
204
206
|
export { default as XAI, type CompoundedIcon as XAIProps } from './XAI';
|
205
207
|
export { default as Xinference, type CompoundedIcon as XinferenceProps } from './Xinference';
|
package/es/icons.js
CHANGED
@@ -63,6 +63,7 @@ export { default as Exa } from "./Exa";
|
|
63
63
|
export { default as Fal } from "./Fal";
|
64
64
|
export { default as FastGPT } from "./FastGPT";
|
65
65
|
export { default as Featherless } from "./Featherless";
|
66
|
+
export { default as Figma } from "./Figma";
|
66
67
|
export { default as Fireworks } from "./Fireworks";
|
67
68
|
export { default as FishAudio } from "./FishAudio";
|
68
69
|
export { default as Flora } from "./Flora";
|
@@ -200,6 +201,7 @@ export { default as Vllm } from "./Vllm";
|
|
200
201
|
export { default as Volcengine } from "./Volcengine";
|
201
202
|
export { default as Voyage } from "./Voyage";
|
202
203
|
export { default as Wenxin } from "./Wenxin";
|
204
|
+
export { default as Windsurf } from "./Windsurf";
|
203
205
|
export { default as WorkersAI } from "./WorkersAI";
|
204
206
|
export { default as XAI } from "./XAI";
|
205
207
|
export { default as Xinference } from "./Xinference";
|
package/es/toc.js
CHANGED
@@ -1176,6 +1176,24 @@ var toc = [{
|
|
1176
1176
|
"hasTextColor": false
|
1177
1177
|
},
|
1178
1178
|
"title": "featherless.ai"
|
1179
|
+
}, {
|
1180
|
+
"color": "#000",
|
1181
|
+
"desc": "https://figma.com",
|
1182
|
+
"docsUrl": "figma",
|
1183
|
+
"fullTitle": "Figma",
|
1184
|
+
"group": "application",
|
1185
|
+
"id": "Figma",
|
1186
|
+
"param": {
|
1187
|
+
"hasAvatar": true,
|
1188
|
+
"hasBrand": false,
|
1189
|
+
"hasBrandColor": false,
|
1190
|
+
"hasColor": true,
|
1191
|
+
"hasCombine": true,
|
1192
|
+
"hasText": true,
|
1193
|
+
"hasTextCn": false,
|
1194
|
+
"hasTextColor": false
|
1195
|
+
},
|
1196
|
+
"title": "Figma"
|
1179
1197
|
}, {
|
1180
1198
|
"color": "#5019C5",
|
1181
1199
|
"desc": "https://fireworks.ai",
|
@@ -3663,6 +3681,24 @@ var toc = [{
|
|
3663
3681
|
"hasTextColor": false
|
3664
3682
|
},
|
3665
3683
|
"title": "Wenxin"
|
3684
|
+
}, {
|
3685
|
+
"color": "#fff",
|
3686
|
+
"desc": "https://windsurf.com",
|
3687
|
+
"docsUrl": "windsurf",
|
3688
|
+
"fullTitle": "Windsurf",
|
3689
|
+
"group": "application",
|
3690
|
+
"id": "Windsurf",
|
3691
|
+
"param": {
|
3692
|
+
"hasAvatar": true,
|
3693
|
+
"hasBrand": false,
|
3694
|
+
"hasBrandColor": false,
|
3695
|
+
"hasColor": false,
|
3696
|
+
"hasCombine": true,
|
3697
|
+
"hasText": true,
|
3698
|
+
"hasTextCn": false,
|
3699
|
+
"hasTextColor": false
|
3700
|
+
},
|
3701
|
+
"title": "Windsurf"
|
3666
3702
|
}, {
|
3667
3703
|
"color": "#F38020",
|
3668
3704
|
"desc": "https://developers.cloudflare.com/workers-ai",
|