@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,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,19 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["background"];
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 IconAvatar from "../../IconAvatar";
8
+ import { COLOR_PRIMARY } from "../style";
9
+ import Mono from "./Mono";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
12
+ var background = _ref.background,
13
+ rest = _objectWithoutProperties(_ref, _excluded);
14
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
15
+ Icon: Mono,
16
+ background: background || COLOR_PRIMARY
17
+ }, rest));
18
+ });
19
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,46 @@
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
+ height: size,
16
+ ref: ref,
17
+ style: _objectSpread({
18
+ flex: 'none',
19
+ lineHeight: 1
20
+ }, style),
21
+ viewBox: "0 0 24 24",
22
+ width: size,
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, rest), {}, {
25
+ children: /*#__PURE__*/_jsxs("g", {
26
+ fill: "#E00054",
27
+ fillRule: "nonzero",
28
+ children: [/*#__PURE__*/_jsx("path", {
29
+ d: "M8.462 3.5h2.924l8.33 17h-1.46L10.617 4.942l-1.442.001z",
30
+ opacity: ".8"
31
+ }), /*#__PURE__*/_jsx("path", {
32
+ d: "M5.474 20.5l2.817-5.366 2.873 5.366h5.541l-8.362-17L0 20.5z"
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M12.768 3.501L21.113 20.5h1.46L14.238 3.504z",
35
+ opacity: ".4"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M14.195 3.501L22.54 20.5H24L15.666 3.504z",
38
+ opacity: ".2"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M11.34 3.501L19.683 20.5h1.464L12.81 3.504z",
41
+ opacity: ".6"
42
+ })]
43
+ })
44
+ }));
45
+ });
46
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../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,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,46 @@
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: "M8.462 3.5h2.924l8.33 17h-1.46L10.617 4.942l-1.442.001z",
30
+ opacity: ".8"
31
+ }), /*#__PURE__*/_jsx("path", {
32
+ d: "M5.474 20.5l2.817-5.366 2.873 5.366h5.541l-8.362-17L0 20.5z"
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M12.768 3.501L21.113 20.5h1.46L14.238 3.504z",
35
+ opacity: ".4"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M14.195 3.501L22.54 20.5H24L15.666 3.504z",
38
+ opacity: ".2"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M11.34 3.501L19.683 20.5h1.464L12.81 3.504z",
41
+ opacity: ".6"
42
+ })]
43
+ })
44
+ }));
45
+ });
46
+ export default Icon;
@@ -0,0 +1 @@
1
+ export { default } from "../../Stability/components/Text";
@@ -0,0 +1 @@
1
+ export { default } from "../../Stability/components/Text";
@@ -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
+ Mono: typeof Mono;
11
+ Text: typeof Text;
12
+ colorPrimary: string;
13
+ };
14
+ declare const Icons: CompoundedIcon;
15
+ export default Icons;
@@ -0,0 +1,13 @@
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 } 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
+ export default Icons;
@@ -0,0 +1,3 @@
1
+ export declare const TEXT_MULTIPLE = 0.75;
2
+ export declare const SPACE_MULTIPLE = 0.2;
3
+ export declare const COLOR_PRIMARY = "#E00054";
@@ -0,0 +1,3 @@
1
+ export var TEXT_MULTIPLE = 0.75;
2
+ export var SPACE_MULTIPLE = 0.2;
3
+ export var COLOR_PRIMARY = '#E00054';
@@ -4,6 +4,7 @@ var _excluded = ["size", "style"];
4
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
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
6
  import { forwardRef } from 'react';
7
+ import { useFillId } from "../../hooks/useFillId";
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
8
9
  import { jsxs as _jsxs } from "react/jsx-runtime";
9
10
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -11,6 +12,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
11
12
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
13
  style = _ref.style,
13
14
  rest = _objectWithoutProperties(_ref, _excluded);
15
+ var _useFillId = useFillId('baichuan'),
16
+ id = _useFillId.id,
17
+ fill = _useFillId.fill;
14
18
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
15
19
  height: size,
16
20
  ref: ref,
@@ -22,72 +26,25 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
22
26
  width: size,
23
27
  xmlns: "http://www.w3.org/2000/svg"
24
28
  }, rest), {}, {
25
- children: [/*#__PURE__*/_jsx("path", {
26
- d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2z",
27
- fill: "url(#a)"
28
- }), /*#__PURE__*/_jsx("path", {
29
- d: "M14.667 2h-5.2v20h5.2V2z",
30
- fill: "url(#b)"
31
- }), /*#__PURE__*/_jsx("path", {
32
- d: "M16.8 7.733H22V22h-5.2V7.733z",
33
- fill: "url(#c)"
34
- }), /*#__PURE__*/_jsx("path", {
35
- d: "M22 2h-5.2v4.133H22V2z",
36
- fill: "url(#d)"
37
- }), /*#__PURE__*/_jsxs("defs", {
38
- children: [/*#__PURE__*/_jsxs("linearGradient", {
39
- gradientUnits: "userSpaceOnUse",
40
- id: "a",
41
- x1: "0",
42
- x2: "24.091",
43
- y1: "2",
44
- y2: "23.818",
45
- children: [/*#__PURE__*/_jsx("stop", {
46
- stopColor: "#FEC13E"
47
- }), /*#__PURE__*/_jsx("stop", {
48
- offset: "1",
49
- stopColor: "#FF6933"
50
- })]
51
- }), /*#__PURE__*/_jsxs("linearGradient", {
52
- gradientUnits: "userSpaceOnUse",
53
- id: "b",
54
- x1: "0",
55
- x2: "24.091",
56
- y1: "2",
57
- y2: "23.818",
29
+ children: [/*#__PURE__*/_jsx("defs", {
30
+ children: /*#__PURE__*/_jsxs("linearGradient", {
31
+ id: id,
32
+ x1: "17.764%",
33
+ x2: "100%",
34
+ y1: "8.678%",
35
+ y2: "91.322%",
58
36
  children: [/*#__PURE__*/_jsx("stop", {
37
+ offset: "0%",
59
38
  stopColor: "#FEC13E"
60
39
  }), /*#__PURE__*/_jsx("stop", {
61
- offset: "1",
40
+ offset: "100%",
62
41
  stopColor: "#FF6933"
63
42
  })]
64
- }), /*#__PURE__*/_jsxs("linearGradient", {
65
- gradientUnits: "userSpaceOnUse",
66
- id: "c",
67
- x1: "0",
68
- x2: "24.091",
69
- y1: "2",
70
- y2: "23.818",
71
- children: [/*#__PURE__*/_jsx("stop", {
72
- stopColor: "#FEC13E"
73
- }), /*#__PURE__*/_jsx("stop", {
74
- offset: "1",
75
- stopColor: "#FF6933"
76
- })]
77
- }), /*#__PURE__*/_jsxs("linearGradient", {
78
- gradientUnits: "userSpaceOnUse",
79
- id: "d",
80
- x1: "0",
81
- x2: "24.091",
82
- y1: "2",
83
- y2: "23.818",
84
- children: [/*#__PURE__*/_jsx("stop", {
85
- stopColor: "#FEC13E"
86
- }), /*#__PURE__*/_jsx("stop", {
87
- offset: "1",
88
- stopColor: "#FF6933"
89
- })]
90
- })]
43
+ })
44
+ }), /*#__PURE__*/_jsx("path", {
45
+ d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2zm7.334 0h-5.2v20h5.2V2zM16.8 7.733H22V22h-5.2V7.733zM22 2h-5.2v4.133H22V2z",
46
+ fill: fill,
47
+ fillRule: "nonzero"
91
48
  })]
92
49
  }));
93
50
  });
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
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
6
  import { forwardRef } from 'react';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
8
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
9
  var _ref$size = _ref.size,
11
10
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
11
  style = _ref.style,
13
12
  rest = _objectWithoutProperties(_ref, _excluded);
14
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
15
14
  fill: "currentColor",
16
15
  fillRule: "evenodd",
17
16
  height: size,
@@ -24,69 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
24
23
  width: size,
25
24
  xmlns: "http://www.w3.org/2000/svg"
26
25
  }, rest), {}, {
27
- children: [/*#__PURE__*/_jsx("path", {
28
- d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2z"
29
- }), /*#__PURE__*/_jsx("path", {
30
- d: "M14.667 2h-5.2v20h5.2V2z"
31
- }), /*#__PURE__*/_jsx("path", {
32
- d: "M16.8 7.733H22V22h-5.2V7.733z"
33
- }), /*#__PURE__*/_jsx("path", {
34
- d: "M22 2h-5.2v4.133H22V2z"
35
- }), /*#__PURE__*/_jsxs("defs", {
36
- children: [/*#__PURE__*/_jsxs("linearGradient", {
37
- gradientUnits: "userSpaceOnUse",
38
- id: "a",
39
- x1: "0",
40
- x2: "24.091",
41
- y1: "2",
42
- y2: "23.818",
43
- children: [/*#__PURE__*/_jsx("stop", {
44
- stopColor: "#FEC13E"
45
- }), /*#__PURE__*/_jsx("stop", {
46
- offset: "1",
47
- stopColor: "#FF6933"
48
- })]
49
- }), /*#__PURE__*/_jsxs("linearGradient", {
50
- gradientUnits: "userSpaceOnUse",
51
- id: "b",
52
- x1: "0",
53
- x2: "24.091",
54
- y1: "2",
55
- y2: "23.818",
56
- children: [/*#__PURE__*/_jsx("stop", {
57
- stopColor: "#FEC13E"
58
- }), /*#__PURE__*/_jsx("stop", {
59
- offset: "1",
60
- stopColor: "#FF6933"
61
- })]
62
- }), /*#__PURE__*/_jsxs("linearGradient", {
63
- gradientUnits: "userSpaceOnUse",
64
- id: "c",
65
- x1: "0",
66
- x2: "24.091",
67
- y1: "2",
68
- y2: "23.818",
69
- children: [/*#__PURE__*/_jsx("stop", {
70
- stopColor: "#FEC13E"
71
- }), /*#__PURE__*/_jsx("stop", {
72
- offset: "1",
73
- stopColor: "#FF6933"
74
- })]
75
- }), /*#__PURE__*/_jsxs("linearGradient", {
76
- gradientUnits: "userSpaceOnUse",
77
- id: "d",
78
- x1: "0",
79
- x2: "24.091",
80
- y1: "2",
81
- y2: "23.818",
82
- children: [/*#__PURE__*/_jsx("stop", {
83
- stopColor: "#FEC13E"
84
- }), /*#__PURE__*/_jsx("stop", {
85
- offset: "1",
86
- stopColor: "#FF6933"
87
- })]
88
- })]
89
- })]
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M7.333 2h-3.2l-2 4.333V17.8L0 22h5.2l2.028-4.2L7.333 2zm7.334 0h-5.2v20h5.2V2zM16.8 7.733H22V22h-5.2V7.733zM22 2h-5.2v4.133H22V2z"
28
+ })
90
29
  }));
91
30
  });
92
31
  export default Icon;
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
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
6
  import { forwardRef } from 'react';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
8
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
9
  var _ref$size = _ref.size,
11
10
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
11
  style = _ref.style,
13
12
  rest = _objectWithoutProperties(_ref, _excluded);
14
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
15
14
  fill: "currentColor",
16
15
  fillRule: "evenodd",
17
16
  height: size,
@@ -24,12 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
24
23
  viewBox: "0 0 45 24",
25
24
  xmlns: "http://www.w3.org/2000/svg"
26
25
  }, rest), {}, {
27
- children: [/*#__PURE__*/_jsx("path", {
28
- clipRule: "evenodd",
29
- d: "M2 2v2.712h8.136L9.57 7.198H4.26v14.576h2.712v-1.356h9.717v1.356h2.938V7.198H12.51l.677-2.486h8.362V2H2zm4.972 16.045v-2.938h9.717v2.825l-9.717.113zm0-8.361v2.937l9.717-.113V9.684H6.972z"
30
- }), /*#__PURE__*/_jsx("path", {
31
- d: "M28.893 2.113h-2.825v10.735c0 1.92-1.133 4.988-2.712 7.231L25.729 22c1.873-2.578 3.164-6.667 3.164-8.927V2.113zM32.96 3.017h2.712v16.61h-2.711V3.017zM42.452 2H39.74v19.661h2.712V2z"
32
- })]
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M2 2v2.712h8.136L9.57 7.198H4.26v14.576h2.712v-1.356h9.717v1.356h2.938V7.198H12.51l.677-2.486h8.362V2H2zm4.972 16.045v-2.938h9.717v2.825l-9.717.113zm0-8.361v2.937l9.717-.113V9.684H6.972zm21.921-7.571h-2.825v10.735c0 1.92-1.133 4.988-2.712 7.231L25.729 22c1.873-2.578 3.164-6.667 3.164-8.927V2.113zm4.067.904h2.712v16.61h-2.711l-.001-16.61zM42.452 2H39.74v19.661h2.712V2z"
28
+ })
33
29
  }));
34
30
  });
35
31
  export default Icon;
@@ -1,3 +1,3 @@
1
- export declare const TEXT_MULTIPLE = 0.75;
1
+ export declare const TEXT_MULTIPLE = 0.7;
2
2
  export declare const SPACE_MULTIPLE = 0.2;
3
3
  export declare const COLOR_PRIMARY = "#000";
package/es/Dalle/style.js CHANGED
@@ -1,3 +1,3 @@
1
- export var TEXT_MULTIPLE = 0.75;
1
+ export var TEXT_MULTIPLE = 0.7;
2
2
  export var SPACE_MULTIPLE = 0.2;
3
3
  export var COLOR_PRIMARY = '#000';
@@ -3,7 +3,7 @@ import { type FlexboxProps } from 'react-layout-kit';
3
3
  import { IconType } from "../types";
4
4
  export interface IconCombineProps extends FlexboxProps {
5
5
  Icon: IconType;
6
- Text: IconType;
6
+ Text?: IconType;
7
7
  color?: string;
8
8
  extra?: string;
9
9
  extraClassName?: string;
@@ -39,7 +39,7 @@ var IconCombine = /*#__PURE__*/memo(function (_ref) {
39
39
  style: {
40
40
  marginRight: size * spaceMultiple
41
41
  }
42
- }), showText && /*#__PURE__*/_jsx(Text, {
42
+ }), showText && Text && /*#__PURE__*/_jsx(Text, {
43
43
  size: size * textMultiple
44
44
  }), extra && /*#__PURE__*/_jsx("span", {
45
45
  className: extraClassName,
@@ -4,6 +4,7 @@ var _excluded = ["size", "style"];
4
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
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
6
  import { forwardRef } from 'react';
7
+ import { useFillId } from "../../hooks/useFillId";
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
8
9
  import { jsxs as _jsxs } from "react/jsx-runtime";
9
10
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -11,6 +12,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
11
12
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
13
  style = _ref.style,
13
14
  rest = _objectWithoutProperties(_ref, _excluded);
15
+ var _useFillId = useFillId('minimax'),
16
+ id = _useFillId.id,
17
+ fill = _useFillId.fill;
14
18
  return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
15
19
  height: size,
16
20
  ref: ref,
@@ -22,49 +26,25 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
22
26
  width: size,
23
27
  xmlns: "http://www.w3.org/2000/svg"
24
28
  }, rest), {}, {
25
- children: [/*#__PURE__*/_jsxs("g", {
26
- clipPath: "url(#a)",
27
- children: [/*#__PURE__*/_jsx("path", {
28
- d: "M9.815 4.093a.789.789 0 011.578 0v11.65a.652.652 0 101.304 0V4.093a2.093 2.093 0 00-4.186 0v14.168a.766.766 0 11-1.533 0V9.177a2.07 2.07 0 10-4.141 0v3.843a.766.766 0 11-1.532 0v-1.393a.652.652 0 10-1.305 0v1.393a2.07 2.07 0 104.142 0V9.177a.766.766 0 011.532 0v9.084a2.07 2.07 0 104.141 0V4.093z",
29
- fill: "url(#b)"
30
- }), /*#__PURE__*/_jsx("path", {
31
- d: "M15.49 4.093a.789.789 0 011.577 0v12.639a2.048 2.048 0 104.096 0V9.177a.766.766 0 111.532 0v6.634a.652.652 0 001.305 0V9.177a2.07 2.07 0 10-4.142 0v7.555a.744.744 0 01-1.487 0V4.093a2.093 2.093 0 10-4.186 0v16.08a.744.744 0 11-1.488 0v-1.956a.652.652 0 00-1.304 0v1.956a2.048 2.048 0 104.096 0V4.093z",
32
- fill: "url(#c)"
33
- })]
34
- }), /*#__PURE__*/_jsxs("defs", {
35
- children: [/*#__PURE__*/_jsxs("linearGradient", {
36
- gradientUnits: "userSpaceOnUse",
37
- id: "b",
38
- x1: "0",
39
- x2: "24.023",
40
- y1: "12.122",
41
- y2: "12.122",
29
+ children: [/*#__PURE__*/_jsx("defs", {
30
+ children: /*#__PURE__*/_jsxs("linearGradient", {
31
+ id: id,
32
+ x1: "0%",
33
+ x2: "100.182%",
34
+ y1: "50.057%",
35
+ y2: "50.057%",
42
36
  children: [/*#__PURE__*/_jsx("stop", {
37
+ offset: "0%",
43
38
  stopColor: "#E2167E"
44
39
  }), /*#__PURE__*/_jsx("stop", {
45
- offset: "1",
40
+ offset: "100%",
46
41
  stopColor: "#FE603C"
47
42
  })]
48
- }), /*#__PURE__*/_jsxs("linearGradient", {
49
- gradientUnits: "userSpaceOnUse",
50
- id: "c",
51
- x1: "0",
52
- x2: "24.023",
53
- y1: "12.122",
54
- y2: "12.122",
55
- children: [/*#__PURE__*/_jsx("stop", {
56
- stopColor: "#E2167E"
57
- }), /*#__PURE__*/_jsx("stop", {
58
- offset: "1",
59
- stopColor: "#FE603C"
60
- })]
61
- }), /*#__PURE__*/_jsx("clipPath", {
62
- id: "a",
63
- children: /*#__PURE__*/_jsx("path", {
64
- d: "M0 0h24v24H0z",
65
- fill: "#fff"
66
- })
67
- })]
43
+ })
44
+ }), /*#__PURE__*/_jsx("path", {
45
+ d: "M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z",
46
+ fill: fill,
47
+ fillRule: "nonzero"
68
48
  })]
69
49
  }));
70
50
  });
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
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
6
  import { forwardRef } from 'react';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
8
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
9
  var _ref$size = _ref.size,
11
10
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
11
  style = _ref.style,
13
12
  rest = _objectWithoutProperties(_ref, _excluded);
14
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
15
14
  fill: "currentColor",
16
15
  fillRule: "evenodd",
17
16
  height: size,
@@ -24,11 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
24
23
  width: size,
25
24
  xmlns: "http://www.w3.org/2000/svg"
26
25
  }, rest), {}, {
27
- children: [/*#__PURE__*/_jsx("path", {
28
- d: "M9.815 4.093a.789.789 0 011.578 0v11.65a.652.652 0 101.304 0V4.093a2.093 2.093 0 00-4.186 0v14.168a.766.766 0 11-1.533 0V9.177a2.07 2.07 0 10-4.141 0v3.843a.766.766 0 11-1.532 0v-1.393a.652.652 0 10-1.305 0v1.393a2.07 2.07 0 104.142 0V9.177a.766.766 0 011.532 0v9.084a2.07 2.07 0 104.141 0V4.093z"
29
- }), /*#__PURE__*/_jsx("path", {
30
- d: "M15.49 4.093a.789.789 0 011.577 0v12.639a2.048 2.048 0 104.096 0V9.177a.766.766 0 111.532 0v6.634a.652.652 0 001.305 0V9.177a2.07 2.07 0 10-4.142 0v7.555a.744.744 0 01-1.487 0V4.093a2.093 2.093 0 10-4.186 0v16.08a.744.744 0 11-1.488 0v-1.956a.652.652 0 00-1.304 0v1.956a2.048 2.048 0 104.096 0V4.093z"
31
- })]
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"
28
+ })
32
29
  }));
33
30
  });
34
31
  export default Icon;
@@ -5,13 +5,12 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
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
6
  import { forwardRef } from 'react';
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
- import { jsxs as _jsxs } from "react/jsx-runtime";
9
8
  var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
9
  var _ref$size = _ref.size,
11
10
  size = _ref$size === void 0 ? '1em' : _ref$size,
12
11
  style = _ref.style,
13
12
  rest = _objectWithoutProperties(_ref, _excluded);
14
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
13
+ return /*#__PURE__*/_jsx("svg", _objectSpread(_objectSpread({
15
14
  fill: "currentColor",
16
15
  fillRule: "evenodd",
17
16
  height: size,
@@ -24,14 +23,9 @@ var Icon = /*#__PURE__*/forwardRef(function (_ref, ref) {
24
23
  viewBox: "0 0 114 24",
25
24
  xmlns: "http://www.w3.org/2000/svg"
26
25
  }, rest), {}, {
27
- children: [/*#__PURE__*/_jsx("path", {
28
- d: "M2 22V2h4.23l4.41 6.828L14.93 2h3.988v20l-3.987-.06V9.25l-3.263 4.714H9.674L6.23 9.25V22H2zM26.471 2h-3.867v20h3.867V2zM30.036 2h4.049l7.492 12.387V2h3.988v20h-3.988L34.085 9.734V21.94h-4.049V2zM53.118 2h-4.109v20h4.109V2zM56.622 2v20h4.23V9.25l3.444 4.714h1.994l3.263-4.713V21.94l3.988.06V2h-3.988l-4.29 6.828L60.852 2h-4.23z"
29
- }), /*#__PURE__*/_jsx("path", {
30
- clipRule: "evenodd",
31
- d: "M76.079 22l6.344-20h5.076l6.404 20h-4.471l-.89-3.021h-7.139L80.49 22h-4.41zm6.369-6.405h5.078l-2.505-8.338-2.573 8.338z"
32
- }), /*#__PURE__*/_jsx("path", {
33
- d: "M111.97 2h-4.774l-3.619 6.082L99.885 2h-4.592l5.961 9.985L95.294 22h4.591l3.698-6.113 3.613 6.053h4.774l-6.025-9.956L111.97 2z"
34
- })]
26
+ children: /*#__PURE__*/_jsx("path", {
27
+ d: "M2 22V2h4.23l4.41 6.828L14.93 2h3.988v20l-3.987-.06V9.25l-3.263 4.714H9.674L6.23 9.25V22H2zM26.471 2h-3.867v20h3.867V2zm3.565 0h4.049l7.492 12.387V2h3.988v20h-3.988L34.085 9.734V21.94h-4.049V2zm23.082 0h-4.109v20h4.109V2zm3.504 0v20h4.23V9.25l3.444 4.714h1.994l3.263-4.713V21.94l3.988.06V2h-3.988l-4.29 6.828L60.852 2h-4.23zm19.457 20l6.344-20h5.076l6.404 20h-4.471l-.89-3.021h-7.139L80.49 22h-4.411zm6.369-6.405h5.078l-2.505-8.338-2.573 8.338zM111.97 2h-4.774l-3.619 6.082L99.885 2h-4.592l5.961 9.985L95.294 22h4.591l3.698-6.113 3.613 6.053h4.774l-6.025-9.956L111.97 2z"
28
+ })
35
29
  }));
36
30
  });
37
31
  export default Icon;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;