@lobehub/icons 1.3.0 → 1.4.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.
Files changed (65) hide show
  1. package/es/Automatic/components/Avatar.d.ts +5 -0
  2. package/es/Automatic/components/Avatar.js +19 -0
  3. package/es/Automatic/components/Color.d.ts +3 -0
  4. package/es/Automatic/components/Color.js +46 -0
  5. package/es/Automatic/components/Combine.d.ts +7 -0
  6. package/es/Automatic/components/Combine.js +25 -0
  7. package/es/Automatic/components/Mono.d.ts +3 -0
  8. package/es/Automatic/components/Mono.js +46 -0
  9. package/es/Automatic/components/Text.d.ts +1 -0
  10. package/es/Automatic/components/Text.js +1 -0
  11. package/es/Automatic/index.d.ts +15 -0
  12. package/es/Automatic/index.js +13 -0
  13. package/es/Automatic/style.d.ts +3 -0
  14. package/es/Automatic/style.js +3 -0
  15. package/es/Baichuan/components/Color.js +18 -61
  16. package/es/Baichuan/components/Mono.js +4 -65
  17. package/es/Baichuan/components/Text.js +4 -8
  18. package/es/Dalle/style.d.ts +1 -1
  19. package/es/Dalle/style.js +1 -1
  20. package/es/IconCombine/index.d.ts +1 -1
  21. package/es/IconCombine/index.js +1 -1
  22. package/es/Minimax/components/Color.js +18 -38
  23. package/es/Minimax/components/Mono.js +4 -7
  24. package/es/Minimax/components/Text.js +4 -10
  25. package/es/Mistral/components/Avatar.d.ts +5 -0
  26. package/es/Mistral/components/Avatar.js +21 -0
  27. package/es/Mistral/components/Color.d.ts +3 -0
  28. package/es/Mistral/components/Color.js +50 -0
  29. package/es/Mistral/components/Combine.d.ts +7 -0
  30. package/es/Mistral/components/Combine.js +25 -0
  31. package/es/Mistral/components/Mono.d.ts +3 -0
  32. package/es/Mistral/components/Mono.js +49 -0
  33. package/es/Mistral/components/Text.d.ts +3 -0
  34. package/es/Mistral/components/Text.js +31 -0
  35. package/es/Mistral/index.d.ts +16 -0
  36. package/es/Mistral/index.js +14 -0
  37. package/es/Mistral/style.d.ts +4 -0
  38. package/es/Mistral/style.js +4 -0
  39. package/es/Ollama/components/Mono.js +4 -9
  40. package/es/Ollama/components/Text.d.ts +2 -4
  41. package/es/Ollama/components/Text.js +13 -7
  42. package/es/Ollama/style.d.ts +1 -1
  43. package/es/Ollama/style.js +1 -1
  44. package/es/Stability/components/Avatar.d.ts +5 -0
  45. package/es/Stability/components/Avatar.js +19 -0
  46. package/es/Stability/components/BrandColor.d.ts +3 -0
  47. package/es/Stability/components/BrandColor.js +57 -0
  48. package/es/Stability/components/BrandMono.d.ts +3 -0
  49. package/es/Stability/components/BrandMono.js +36 -0
  50. package/es/Stability/components/Color.d.ts +3 -0
  51. package/es/Stability/components/Color.js +57 -0
  52. package/es/Stability/components/Combine.d.ts +7 -0
  53. package/es/Stability/components/Combine.js +25 -0
  54. package/es/Stability/components/Mono.d.ts +3 -0
  55. package/es/Stability/components/Mono.js +36 -0
  56. package/es/Stability/components/Text.d.ts +3 -0
  57. package/es/Stability/components/Text.js +31 -0
  58. package/es/Stability/index.d.ts +20 -0
  59. package/es/Stability/index.js +18 -0
  60. package/es/Stability/style.d.ts +4 -0
  61. package/es/Stability/style.js +4 -0
  62. package/es/components/ColorPreview/index.js +15 -18
  63. package/es/index.d.ts +3 -0
  64. package/es/index.js +3 -0
  65. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["type"];
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
+ import { memo } from 'react';
7
+ import IconCombine from "../../IconCombine";
8
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE } from "../style";
9
+ import Color from "./Color";
10
+ import Mono from "./Mono";
11
+ import Text from "./Text";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ var Combine = /*#__PURE__*/memo(function (_ref) {
14
+ var _ref$type = _ref.type,
15
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
16
+ rest = _objectWithoutProperties(_ref, _excluded);
17
+ var Icon = type === 'color' ? Color : Mono;
18
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
19
+ Icon: Icon,
20
+ Text: Text,
21
+ spaceMultiple: SPACE_MULTIPLE,
22
+ textMultiple: TEXT_MULTIPLE
23
+ }, rest));
24
+ });
25
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,36 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
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
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
+ var _ref$size = _ref.size,
11
+ size = _ref$size === void 0 ? '1em' : _ref$size,
12
+ style = _ref.style,
13
+ rest = _objectWithoutProperties(_ref, _excluded);
14
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
15
+ fill: "currentColor",
16
+ fillRule: "evenodd",
17
+ height: size,
18
+ ref: ref,
19
+ style: _objectSpread({
20
+ flex: 'none',
21
+ lineHeight: 1
22
+ }, style),
23
+ viewBox: "0 0 24 24",
24
+ width: size,
25
+ xmlns: "http://www.w3.org/2000/svg"
26
+ }, rest), {}, {
27
+ children: /*#__PURE__*/_jsxs("g", {
28
+ children: [/*#__PURE__*/_jsx("path", {
29
+ d: "M7.223 21c4.252 0 7.018-2.22 7.018-5.56 0-2.59-1.682-4.236-4.69-4.918l-1.93-.571c-1.694-.375-2.683-.825-2.45-1.975.194-.957.773-1.497 2.122-1.497 4.285 0 5.873 1.497 5.873 1.497v-3.6S11.62 3 7.293 3C3.213 3 1 5.07 1 8.273c0 2.59 1.534 4.097 4.645 4.812l.334.083c.473.144 1.112.335 1.916.572 1.59.375 1.999.773 1.999 1.966 0 1.09-1.15 1.71-2.67 1.71C2.841 17.416 1 15.231 1 15.231v3.989S2.152 21 7.223 21z"
30
+ }), /*#__PURE__*/_jsx("path", {
31
+ d: "M20.374 20.73c1.505 0 2.626-1.073 2.626-2.526 0-1.484-1.089-2.526-2.626-2.526-1.505 0-2.594 1.042-2.594 2.526 0 1.484 1.089 2.526 2.594 2.526z"
32
+ })]
33
+ })
34
+ }));
35
+ });
36
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,31 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
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
+ import { forwardRef } from 'react';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
+ var _ref$size = _ref.size,
10
+ size = _ref$size === void 0 ? '1em' : _ref$size,
11
+ style = _ref.style,
12
+ rest = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
14
+ fill: "currentColor",
15
+ fillRule: "evenodd",
16
+ height: size,
17
+ ref: ref,
18
+ style: _objectSpread({
19
+ flex: 'none',
20
+ lineHeight: 1,
21
+ width: 'fit-content'
22
+ }, style),
23
+ viewBox: "0 0 202 24",
24
+ xmlns: "http://www.w3.org/2000/svg"
25
+ }, rest), {}, {
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M177.697 7.549c1.414 0 2.635.302 3.664.907a6.125 6.125 0 012.38 2.533c.559 1.084.838 2.349.838 3.795 0 1.433-.28 2.692-.838 3.776a6.125 6.125 0 01-2.38 2.533c-1.029.605-2.25.907-3.664.907-1.415 0-2.636-.302-3.665-.907a6.125 6.125 0 01-2.38-2.533c-.558-1.084-.838-2.343-.838-3.776 0-1.446.28-2.711.838-3.795a6.125 6.125 0 012.38-2.533c1.03-.605 2.25-.907 3.665-.907zm-22.013 0c1.766 0 3.158.374 4.174 1.12 1.017.748 1.61 1.765 1.78 3.053l-3.55.219a1.87 1.87 0 00-.392-.825 2.15 2.15 0 00-.787-.592c-.325-.149-.712-.223-1.16-.223-.602 0-1.108.126-1.521.378-.413.252-.62.588-.62 1.007 0 .334.134.616.401.847.267.23.726.416 1.375.556l2.53.51c1.36.28 2.374.729 3.041 1.349.668.62 1.002 1.433 1.002 2.442 0 .917-.269 1.722-.806 2.414-.537.693-1.271 1.232-2.203 1.617-.932.386-2.004.579-3.218.579-1.851 0-3.324-.387-4.42-1.162-1.095-.774-1.737-1.83-1.925-3.166l3.814-.2c.115.564.395.994.838 1.289.443.294 1.01.442 1.702.442.68 0 1.227-.132 1.643-.397.416-.264.627-.606.633-1.025a1.084 1.084 0 00-.446-.87c-.291-.228-.74-.402-1.347-.524l-2.422-.483c-1.366-.273-2.38-.747-3.045-1.421s-.997-1.534-.997-2.579c0-.899.244-1.673.733-2.323.488-.65 1.177-1.151 2.066-1.504.89-.352 1.932-.528 3.127-.528zm-82.058 0c.922 0 1.783.147 2.58.442a5.816 5.816 0 012.095 1.326c.597.589 1.063 1.328 1.397 2.218.334.89.5 1.93.5 3.121v1.066h-9.522c0 .702.13 1.3.387 1.804a2.77 2.77 0 001.097 1.166c.474.274 1.035.41 1.684.41.431 0 .826-.06 1.184-.182.358-.121.664-.303.92-.546.254-.243.448-.541.582-.893l3.587.237a4.895 4.895 0 01-1.115 2.255c-.562.64-1.284 1.139-2.167 1.494-.883.355-1.901.533-3.054.533-1.439 0-2.675-.293-3.71-.88a5.945 5.945 0 01-2.39-2.496c-.558-1.078-.837-2.355-.837-3.831 0-1.44.279-2.703.837-3.79.559-1.088 1.346-1.935 2.363-2.543 1.016-.607 2.21-.911 3.582-.911zM9.556 2.811c1.384 0 2.593.237 3.628.71 1.034.474 1.84 1.134 2.417 1.978.576.844.873 1.822.892 2.934h-3.778c-.073-.735-.386-1.306-.938-1.713-.552-.407-1.302-.61-2.248-.61-.644 0-1.187.089-1.63.268-.443.18-.781.427-1.015.743-.234.316-.35.674-.35 1.075-.013.334.059.626.213.875.155.249.37.463.642.642.273.18.589.334.947.465.269.098.55.184.847.26l1.975.473c.813.182 1.56.425 2.24.73.68.303 1.268.676 1.766 1.12.497.443.884.966 1.16 1.567.276.601.418 1.29.424 2.068-.006 1.142-.296 2.131-.87 2.966-.573.835-1.399 1.482-2.476 1.941-1.077.459-2.374.688-3.892.688-1.505 0-2.814-.23-3.928-.693-1.113-.461-1.981-1.146-2.603-2.054-.622-.908-.949-2.034-.979-3.376h3.814c.043.626.223 1.146.542 1.563.319.416.746.728 1.284.938.537.21 1.145.314 1.825.314.667 0 1.249-.097 1.743-.291.495-.195.879-.465 1.152-.811.273-.346.41-.744.41-1.194 0-.419-.124-.771-.37-1.057-.245-.285-.603-.528-1.074-.729-.376-.16-.82-.309-1.33-.446l-2.425-.61c-1.572-.383-2.813-.982-3.723-1.796-.91-.814-1.362-1.91-1.356-3.289-.006-1.13.295-2.117.905-2.961.61-.844 1.45-1.504 2.517-1.977 1.069-.474 2.282-.711 3.642-.711zM35.2 7.549c.777 0 1.522.091 2.235.273a5.89 5.89 0 011.903.848c.555.382.994.873 1.315 1.471.322.599.483 1.314.483 2.146v9.44h-3.678v-1.941h-.11a3.892 3.892 0 01-.9 1.152c-.377.332-.829.59-1.357.775-.528.185-1.138.278-1.83.278-.892 0-1.687-.157-2.385-.47a3.77 3.77 0 01-1.652-1.393c-.404-.617-.606-1.387-.606-2.31 0-.778.143-1.43.428-1.96a3.466 3.466 0 011.166-1.275 5.642 5.642 0 011.68-.729c.47-.123.96-.218 1.466-.287l1.472-.166.542-.068.466-.066c.497-.076.858-.19 1.083-.342.224-.152.337-.377.337-.674v-.055c0-.577-.18-1.024-.542-1.34-.361-.315-.872-.473-1.534-.473-.698 0-1.253.153-1.666.46a2.16 2.16 0 00-.82 1.152l-3.586-.291c.182-.85.54-1.587 1.074-2.21.534-.622 1.225-1.102 2.071-1.44.847-.336 1.829-.505 2.945-.505zm12.9-4.483v7.016h.118c.17-.377.417-.76.742-1.153.325-.391.75-.72 1.275-.984.525-.264 1.179-.396 1.961-.396 1.02 0 1.96.266 2.822.797.862.532 1.551 1.33 2.067 2.397.516 1.066.774 2.4.774 4.004 0 1.561-.25 2.878-.751 3.95s-1.18 1.883-2.04 2.433c-.858.55-1.819.824-2.88.824-.753 0-1.392-.124-1.917-.373a3.927 3.927 0 01-1.288-.943 4.688 4.688 0 01-.765-1.153h-.173v2.242h-3.823V3.067H48.1zM24.12 4.378v3.353h2.631v2.916h-2.631v6.779c0 .358.055.636.164.834.11.197.263.335.46.414.197.08.426.119.687.119.182 0 .364-.017.546-.05l.42-.078.61 2.889-.272.078-.346.088-.202.048c-.352.082-.78.132-1.284.15-.934.036-1.752-.088-2.453-.374-.701-.285-1.246-.729-1.634-1.33-.389-.601-.58-1.36-.574-2.278v-7.29h-1.911V7.732h1.91l.001-3.353h3.878zm113.82 3.353v8.219c.007.826.228 1.479.665 1.959.437.48 1.023.72 1.757.72.468 0 .905-.108 1.311-.324a2.5 2.5 0 00.988-.961c.252-.425.375-.95.369-1.576V7.73h3.878v13.996h-3.724v-2.542h-.145a4.14 4.14 0 01-1.57 1.977c-.732.498-1.623.747-2.672.747-.935 0-1.757-.213-2.468-.638-.71-.425-1.263-1.03-1.66-1.813-.398-.784-.6-1.722-.606-2.816v-8.91h3.878zM64.314 3.066v18.66h-3.878V3.067h3.878zm55.431-.875c.595 0 1.14.046 1.634.137l.453.088c.273.057.491.11.653.158l-.692 2.916a4.898 4.898 0 00-.56-.137 3.59 3.59 0 00-.678-.064c-.57 0-.968.132-1.192.397-.225.264-.337.633-.337 1.107v.937l2.785.001v2.916h-2.786v11.08h-3.868v-11.08h-1.976V7.73h1.975V6.72c0-1.015.2-1.856.597-2.524a3.775 3.775 0 011.634-1.504c.692-.334 1.478-.5 2.358-.5zm48.54 5.54v13.996h-3.878V7.73h3.878zm-57.088 0v13.996h-3.878V7.73h3.878zM95.41 3.066c1.876 0 3.49.372 4.844 1.116 1.353.744 2.395 1.812 3.127 3.203.73 1.391 1.097 3.055 1.097 4.993 0 1.944-.366 3.614-1.097 5.012a7.608 7.608 0 01-3.141 3.216c-1.363.747-2.99 1.12-4.884 1.12h-6.61V3.067h6.664zm34.22-.875c.595 0 1.14.046 1.634.137l.453.088.302.066c.137.032.254.063.351.092l-.691 2.916a4.898 4.898 0 00-.56-.137 3.59 3.59 0 00-.678-.064c-.57 0-.968.132-1.193.397-.225.264-.337.633-.337 1.107v.937l2.786.001v2.916h-2.787l.001 11.08h-3.869v-11.08h-1.975V7.73h1.974l.001-1.011c0-1.015.199-1.856.596-2.524a3.775 3.775 0 011.635-1.504c.691-.334 1.477-.5 2.357-.5zm65.545 5.358c.971 0 1.818.213 2.54.638.722.425 1.284 1.03 1.684 1.818.4.786.601 1.723.601 2.81v8.912h-3.878v-8.219c.006-.857-.212-1.526-.656-2.01-.443-.482-1.052-.724-1.83-.724-.521 0-.981.113-1.378.338a2.318 2.318 0 00-.929.98c-.222.427-.335.942-.341 1.544v8.09h-3.878V7.732h3.696v2.47h.163c.31-.815.829-1.46 1.557-1.937.728-.477 1.611-.715 2.65-.715zm-157.89 7.69c-.121.08-.287.15-.496.214-.21.064-.445.122-.706.173l-.391.073-.392.064-.71.105a4.794 4.794 0 00-1.192.319c-.34.146-.604.341-.792.587-.188.247-.282.552-.282.916 0 .529.192.931.578 1.207.385.277.875.415 1.47.415.57 0 1.074-.114 1.511-.342.437-.227.78-.536 1.029-.924.249-.39.373-.83.373-1.322V15.24zm140.43-4.729c-.65 0-1.194.186-1.634.556-.44.37-.771.875-.993 1.513-.221.637-.332 1.363-.332 2.177 0 .814.11 1.54.332 2.178.222.638.553 1.14.993 1.508.44.367.984.551 1.634.551.643 0 1.18-.184 1.611-.551.431-.368.757-.87.979-1.508.221-.638.332-1.364.332-2.178 0-.814-.11-1.54-.332-2.177-.222-.638-.548-1.142-.979-1.513-.43-.37-.968-.556-1.611-.556zm-126.757.128c-.63 0-1.163.167-1.597.501-.434.334-.767.808-.997 1.421-.23.614-.346 1.337-.346 2.169 0 .832.115 1.558.346 2.178.23.62.564 1.1 1.001 1.444.437.343.968.515 1.593.515.632 0 1.166-.175 1.603-.524.437-.35.769-.836.996-1.458.228-.623.342-1.341.342-2.155 0-.808-.113-1.519-.337-2.132-.225-.614-.555-1.094-.992-1.44-.437-.346-.974-.52-1.612-.52zm44.243-4.192H92.69v11.9h2.503c1.165 0 2.147-.208 2.945-.624.798-.416 1.399-1.063 1.802-1.94.404-.878.606-2.013.606-3.404 0-1.379-.202-2.506-.606-3.38-.403-.875-1.002-1.519-1.797-1.932-.796-.413-1.776-.62-2.94-.62zm-21.511 4c-.589 0-1.11.136-1.562.406-.452.27-.805.632-1.06 1.084a3.04 3.04 0 00-.381 1.274l-.006.106h5.867c0-.558-.121-1.053-.364-1.485a2.65 2.65 0 00-1.006-1.016c-.428-.246-.924-.369-1.488-.369zM109.266 2c.576 0 1.07.193 1.48.579.409.385.614.845.614 1.38 0 .54-.205 1.004-.615 1.39-.41.385-.903.578-1.48.578-.576 0-1.069-.193-1.478-.578-.41-.386-.615-.85-.615-1.39 0-.535.205-.995.615-1.38.41-.386.902-.579 1.479-.579zm57.088 0c.576 0 1.07.193 1.479.579.41.385.614.845.614 1.38 0 .54-.204 1.004-.614 1.39-.41.385-.903.578-1.48.578-.576 0-1.069-.193-1.479-.578-.41-.386-.614-.85-.614-1.39 0-.535.205-.995.614-1.38.41-.386.903-.579 1.48-.579z"
28
+ })
29
+ }));
30
+ });
31
+ export default Icon;
@@ -0,0 +1,20 @@
1
+ import Avatar from './components/Avatar';
2
+ import BrandColor from './components/BrandColor';
3
+ import BrandMono from './components/BrandMono';
4
+ import Color from './components/Color';
5
+ import Combine from './components/Combine';
6
+ import Mono from './components/Mono';
7
+ import Text from './components/Text';
8
+ export type CompoundedIcon = typeof Mono & {
9
+ Avatar: typeof Avatar;
10
+ Brand: typeof BrandMono;
11
+ BrandColor: typeof BrandColor;
12
+ Color: typeof Color;
13
+ Combine: typeof Combine;
14
+ Mono: typeof Mono;
15
+ Text: typeof Text;
16
+ colorGradient: string;
17
+ colorPrimary: string;
18
+ };
19
+ declare const Icons: CompoundedIcon;
20
+ export default Icons;
@@ -0,0 +1,18 @@
1
+ import Avatar from "./components/Avatar";
2
+ import BrandColor from "./components/BrandColor";
3
+ import BrandMono from "./components/BrandMono";
4
+ import Color from "./components/Color";
5
+ import Combine from "./components/Combine";
6
+ import Mono from "./components/Mono";
7
+ import Text from "./components/Text";
8
+ import { COLOR_GRADIENT, COLOR_PRIMARY } from "./style";
9
+ var Icons = Mono;
10
+ Icons.Color = Color;
11
+ Icons.Text = Text;
12
+ Icons.Combine = Combine;
13
+ Icons.Avatar = Avatar;
14
+ Icons.Brand = BrandMono;
15
+ Icons.BrandColor = BrandColor;
16
+ Icons.colorPrimary = COLOR_PRIMARY;
17
+ Icons.colorGradient = COLOR_GRADIENT;
18
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TEXT_MULTIPLE = 0.75;
2
+ export declare const SPACE_MULTIPLE = 0.2;
3
+ export declare const COLOR_PRIMARY = "#330066";
4
+ export declare const COLOR_GRADIENT = "linear-gradient(to bottom, #9D39FF, #A380FF)";
@@ -0,0 +1,4 @@
1
+ export var TEXT_MULTIPLE = 0.75;
2
+ export var SPACE_MULTIPLE = 0.2;
3
+ export var COLOR_PRIMARY = '#330066';
4
+ export var COLOR_GRADIENT = 'linear-gradient(to bottom, #9D39FF, #A380FF)';
@@ -1,40 +1,37 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
2
  var _templateObject, _templateObject2;
3
- import { CopyButton } from '@lobehub/ui';
3
+ import { CopyButton, Tooltip } from '@lobehub/ui';
4
4
  import { createStyles } from 'antd-style';
5
5
  import { memo } from 'react';
6
6
  import { Flexbox } from 'react-layout-kit';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
8
  var useStyles = createStyles(function (_ref) {
10
9
  var css = _ref.css,
11
10
  token = _ref.token,
12
11
  cx = _ref.cx;
13
12
  return {
14
- btn: cx('copy-button', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n top: 4px;\n right: 4px;\n opacity: 0;\n "])))),
15
- container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n min-width: 98px;\n height: 98px;\n padding-inline: 16px;\n\n font-family: ", ";\n line-height: 1;\n\n background: ", ";\n border: 1px solid ", ";\n border-radius: ", "px;\n\n &:hover {\n .copy-button {\n opacity: 1;\n }\n }\n "])), token.fontFamilyCode, token.colorBgContainer, token.colorBorder, token.borderRadius)
13
+ btn: cx('copy-button', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n opacity: 0;\n "])))),
14
+ container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n width: 98px;\n height: 98px;\n\n background: ", ";\n border: 1px solid ", ";\n border-radius: ", "px;\n\n &:hover {\n .copy-button {\n opacity: 1;\n }\n }\n "])), token.colorBgContainer, token.colorBorder, token.borderRadius)
16
15
  };
17
16
  });
18
17
  var IconPreview = /*#__PURE__*/memo(function (_ref2) {
19
18
  var color = _ref2.color;
20
19
  var _useStyles = useStyles(),
21
20
  styles = _useStyles.styles;
22
- return /*#__PURE__*/_jsxs(Flexbox, {
23
- align: 'center',
24
- className: styles.container,
25
- justify: 'center',
26
- style: {
27
- background: color
28
- },
29
- children: [/*#__PURE__*/_jsx("div", {
21
+ return /*#__PURE__*/_jsx(Tooltip, {
22
+ title: color,
23
+ children: /*#__PURE__*/_jsx(Flexbox, {
24
+ align: 'center',
25
+ className: styles.container,
26
+ justify: 'center',
30
27
  style: {
31
- color: '#fff'
28
+ background: color
32
29
  },
33
- children: color
34
- }), /*#__PURE__*/_jsx(CopyButton, {
35
- className: styles.btn,
36
- content: color
37
- })]
30
+ children: /*#__PURE__*/_jsx(CopyButton, {
31
+ className: styles.btn,
32
+ content: color
33
+ })
34
+ })
38
35
  });
39
36
  });
40
37
  export default IconPreview;
package/es/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
2
+ export { default as Automatic, type CompoundedIcon as AutomaticProps } from './Automatic';
2
3
  export { default as Baichuan, type CompoundedIcon as BaichuanProps } from './Baichuan';
3
4
  export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
4
5
  export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
@@ -7,9 +8,11 @@ export { default as Gemini, type CompoundedIcon as GeminiProps } from './Gemini'
7
8
  export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
8
9
  export { default as IconCombine, type IconCombineProps } from './IconCombine';
9
10
  export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
11
+ export { default as Mistral, type CompoundedIcon as MistralProps } from './Mistral';
10
12
  export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama';
11
13
  export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI';
12
14
  export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
15
+ export { default as Stability, type CompoundedIcon as StabilityProps } from './Stability';
13
16
  export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Tongyi';
14
17
  export type { IconType } from './types';
15
18
  export { default as Wenxin, type CompoundedIcon as WenxinProps } from './Wenxin';
package/es/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { default as Anthropic } from "./Anthropic";
2
+ export { default as Automatic } from "./Automatic";
2
3
  export { default as Baichuan } from "./Baichuan";
3
4
  export { default as ChatGLM } from "./ChatGLM";
4
5
  export { default as Cohere } from "./Cohere";
@@ -7,9 +8,11 @@ export { default as Gemini } from "./Gemini";
7
8
  export { default as IconAvatar } from "./IconAvatar";
8
9
  export { default as IconCombine } from "./IconCombine";
9
10
  export { default as Minimax } from "./Minimax";
11
+ export { default as Mistral } from "./Mistral";
10
12
  export { default as Ollama } from "./Ollama";
11
13
  export { default as OpenAI } from "./OpenAI";
12
14
  export { default as Spark } from "./Spark";
15
+ export { default as Stability } from "./Stability";
13
16
  export { default as Tongyi } from "./Tongyi";
14
17
  export { default as Wenxin } from "./Wenxin";
15
18
  export { default as Zhipu } from "./Zhipu";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/icons",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Popular LLM model brand svg logo and icon collection",
5
5
  "keywords": [
6
6
  "lobehub",