@lobehub/icons 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -43
- package/es/Ai302/components/Avatar.d.ts +5 -0
- package/es/Ai302/components/Avatar.js +24 -0
- package/es/Ai302/components/Color.d.ts +3 -0
- package/es/Ai302/components/Color.js +45 -0
- package/es/Ai302/components/Combine.d.ts +7 -0
- package/es/Ai302/components/Combine.js +32 -0
- package/es/Ai302/components/Inner.d.ts +3 -0
- package/es/Ai302/components/Inner.js +40 -0
- package/es/Ai302/components/Mono.d.ts +3 -0
- package/es/Ai302/components/Mono.js +48 -0
- package/es/Ai302/components/Text.d.ts +3 -0
- package/es/Ai302/components/Text.js +40 -0
- package/es/Ai302/index.d.ts +15 -0
- package/es/Ai302/index.js +14 -0
- package/es/Ai302/style.d.ts +7 -0
- package/es/Ai302/style.js +9 -0
- 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/features/providerConfig.js +9 -3
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +3 -0
- package/es/icons.js +3 -0
- package/es/toc.js +54 -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 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;
|
@@ -16,6 +16,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
16
16
|
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; }
|
17
17
|
import { memo } from 'react';
|
18
18
|
import Ai21 from "../Ai21";
|
19
|
+
import Ai302 from "../Ai302";
|
19
20
|
import Ai360 from "../Ai360";
|
20
21
|
import AiHubMix from "../AiHubMix";
|
21
22
|
import AiMass from "../AiMass";
|
@@ -161,6 +162,7 @@ export var providerMappings = [{
|
|
161
162
|
}, props));
|
162
163
|
}),
|
163
164
|
Icon: Azure,
|
165
|
+
combineMultiple: 0.9,
|
164
166
|
keywords: [ModelProvider.Azure]
|
165
167
|
}, {
|
166
168
|
Icon: Moonshot,
|
@@ -185,7 +187,6 @@ export var providerMappings = [{
|
|
185
187
|
keywords: [ModelProvider.Minimax]
|
186
188
|
}, {
|
187
189
|
Icon: Mistral,
|
188
|
-
combineMultiple: 1.08,
|
189
190
|
keywords: [ModelProvider.Mistral]
|
190
191
|
}, {
|
191
192
|
Combine: /*#__PURE__*/memo(function (_ref4) {
|
@@ -217,7 +218,7 @@ export var providerMappings = [{
|
|
217
218
|
keywords: [ModelProvider.OpenRouter]
|
218
219
|
}, {
|
219
220
|
Icon: ZeroOne,
|
220
|
-
combineMultiple:
|
221
|
+
combineMultiple: 1,
|
221
222
|
keywords: [ModelProvider.ZeroOne]
|
222
223
|
}, {
|
223
224
|
Icon: Together,
|
@@ -266,7 +267,7 @@ export var providerMappings = [{
|
|
266
267
|
keywords: [ModelProvider.Baichuan]
|
267
268
|
}, {
|
268
269
|
Icon: BurnCloud,
|
269
|
-
combineMultiple: 1.
|
270
|
+
combineMultiple: 1.2,
|
270
271
|
keywords: [ModelProvider.BurnCloud]
|
271
272
|
}, {
|
272
273
|
Icon: AiMass,
|
@@ -423,7 +424,12 @@ export var providerMappings = [{
|
|
423
424
|
keywords: [ModelProvider.Xinference]
|
424
425
|
}, {
|
425
426
|
Icon: Fal,
|
427
|
+
combineMultiple: 0.8,
|
426
428
|
keywords: [ModelProvider.Fal]
|
429
|
+
}, {
|
430
|
+
Icon: Ai302,
|
431
|
+
combineMultiple: 0.9,
|
432
|
+
keywords: [ModelProvider.Ai302]
|
427
433
|
}, {
|
428
434
|
Icon: AiHubMix,
|
429
435
|
combineMultiple: 0.9,
|
package/es/icons.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export { default as Adobe, type CompoundedIcon as AdobeProps } from './Adobe';
|
2
2
|
export { default as AdobeFirefly, type CompoundedIcon as AdobeFireflyProps } from './AdobeFirefly';
|
3
3
|
export { default as Ai21, type CompoundedIcon as Ai21Props } from './Ai21';
|
4
|
+
export { default as Ai302, type CompoundedIcon as Ai302Props } from './Ai302';
|
4
5
|
export { default as Ai360, type CompoundedIcon as Ai360Props } from './Ai360';
|
5
6
|
export { default as AiHubMix, type CompoundedIcon as AiHubMixProps } from './AiHubMix';
|
6
7
|
export { default as AiMass, type CompoundedIcon as AiMassProps } from './AiMass';
|
@@ -63,6 +64,7 @@ export { default as Exa, type CompoundedIcon as ExaProps } from './Exa';
|
|
63
64
|
export { default as Fal, type CompoundedIcon as FalProps } from './Fal';
|
64
65
|
export { default as FastGPT, type CompoundedIcon as FastGPTProps } from './FastGPT';
|
65
66
|
export { default as Featherless, type CompoundedIcon as FeatherlessProps } from './Featherless';
|
67
|
+
export { default as Figma, type CompoundedIcon as FigmaProps } from './Figma';
|
66
68
|
export { default as Fireworks, type CompoundedIcon as FireworksProps } from './Fireworks';
|
67
69
|
export { default as FishAudio, type CompoundedIcon as FishAudioProps } from './FishAudio';
|
68
70
|
export { default as Flora, type CompoundedIcon as FloraProps } from './Flora';
|
@@ -200,6 +202,7 @@ export { default as Vllm, type CompoundedIcon as VllmProps } from './Vllm';
|
|
200
202
|
export { default as Volcengine, type CompoundedIcon as VolcengineProps } from './Volcengine';
|
201
203
|
export { default as Voyage, type CompoundedIcon as VoyageProps } from './Voyage';
|
202
204
|
export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
|
205
|
+
export { default as Windsurf, type CompoundedIcon as WindsurfProps } from './Windsurf';
|
203
206
|
export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './WorkersAI';
|
204
207
|
export { default as XAI, type CompoundedIcon as XAIProps } from './XAI';
|
205
208
|
export { default as Xinference, type CompoundedIcon as XinferenceProps } from './Xinference';
|
package/es/icons.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export { default as Adobe } from "./Adobe";
|
2
2
|
export { default as AdobeFirefly } from "./AdobeFirefly";
|
3
3
|
export { default as Ai21 } from "./Ai21";
|
4
|
+
export { default as Ai302 } from "./Ai302";
|
4
5
|
export { default as Ai360 } from "./Ai360";
|
5
6
|
export { default as AiHubMix } from "./AiHubMix";
|
6
7
|
export { default as AiMass } from "./AiMass";
|
@@ -63,6 +64,7 @@ export { default as Exa } from "./Exa";
|
|
63
64
|
export { default as Fal } from "./Fal";
|
64
65
|
export { default as FastGPT } from "./FastGPT";
|
65
66
|
export { default as Featherless } from "./Featherless";
|
67
|
+
export { default as Figma } from "./Figma";
|
66
68
|
export { default as Fireworks } from "./Fireworks";
|
67
69
|
export { default as FishAudio } from "./FishAudio";
|
68
70
|
export { default as Flora } from "./Flora";
|
@@ -200,6 +202,7 @@ export { default as Vllm } from "./Vllm";
|
|
200
202
|
export { default as Volcengine } from "./Volcengine";
|
201
203
|
export { default as Voyage } from "./Voyage";
|
202
204
|
export { default as Wenxin } from "./Wenxin";
|
205
|
+
export { default as Windsurf } from "./Windsurf";
|
203
206
|
export { default as WorkersAI } from "./WorkersAI";
|
204
207
|
export { default as XAI } from "./XAI";
|
205
208
|
export { default as Xinference } from "./Xinference";
|
package/es/toc.js
CHANGED
@@ -53,6 +53,24 @@ var toc = [{
|
|
53
53
|
"hasTextColor": false
|
54
54
|
},
|
55
55
|
"title": "AI21"
|
56
|
+
}, {
|
57
|
+
"color": "#8E47FF",
|
58
|
+
"desc": "https://302.ai/",
|
59
|
+
"docsUrl": "ai302",
|
60
|
+
"fullTitle": "302.AI",
|
61
|
+
"group": "provider",
|
62
|
+
"id": "Ai302",
|
63
|
+
"param": {
|
64
|
+
"hasAvatar": true,
|
65
|
+
"hasBrand": false,
|
66
|
+
"hasBrandColor": false,
|
67
|
+
"hasColor": true,
|
68
|
+
"hasCombine": true,
|
69
|
+
"hasText": true,
|
70
|
+
"hasTextCn": false,
|
71
|
+
"hasTextColor": false
|
72
|
+
},
|
73
|
+
"title": "302.AI"
|
56
74
|
}, {
|
57
75
|
"color": "#006ffb",
|
58
76
|
"colorGradient": "linear-gradient(to bottom, #12B7FA, #006ffb)",
|
@@ -1176,6 +1194,24 @@ var toc = [{
|
|
1176
1194
|
"hasTextColor": false
|
1177
1195
|
},
|
1178
1196
|
"title": "featherless.ai"
|
1197
|
+
}, {
|
1198
|
+
"color": "#000",
|
1199
|
+
"desc": "https://figma.com",
|
1200
|
+
"docsUrl": "figma",
|
1201
|
+
"fullTitle": "Figma",
|
1202
|
+
"group": "application",
|
1203
|
+
"id": "Figma",
|
1204
|
+
"param": {
|
1205
|
+
"hasAvatar": true,
|
1206
|
+
"hasBrand": false,
|
1207
|
+
"hasBrandColor": false,
|
1208
|
+
"hasColor": true,
|
1209
|
+
"hasCombine": true,
|
1210
|
+
"hasText": true,
|
1211
|
+
"hasTextCn": false,
|
1212
|
+
"hasTextColor": false
|
1213
|
+
},
|
1214
|
+
"title": "Figma"
|
1179
1215
|
}, {
|
1180
1216
|
"color": "#5019C5",
|
1181
1217
|
"desc": "https://fireworks.ai",
|
@@ -3663,6 +3699,24 @@ var toc = [{
|
|
3663
3699
|
"hasTextColor": false
|
3664
3700
|
},
|
3665
3701
|
"title": "Wenxin"
|
3702
|
+
}, {
|
3703
|
+
"color": "#fff",
|
3704
|
+
"desc": "https://windsurf.com",
|
3705
|
+
"docsUrl": "windsurf",
|
3706
|
+
"fullTitle": "Windsurf",
|
3707
|
+
"group": "application",
|
3708
|
+
"id": "Windsurf",
|
3709
|
+
"param": {
|
3710
|
+
"hasAvatar": true,
|
3711
|
+
"hasBrand": false,
|
3712
|
+
"hasBrandColor": false,
|
3713
|
+
"hasColor": false,
|
3714
|
+
"hasCombine": true,
|
3715
|
+
"hasText": true,
|
3716
|
+
"hasTextCn": false,
|
3717
|
+
"hasTextColor": false
|
3718
|
+
},
|
3719
|
+
"title": "Windsurf"
|
3666
3720
|
}, {
|
3667
3721
|
"color": "#F38020",
|
3668
3722
|
"desc": "https://developers.cloudflare.com/workers-ai",
|