@lobehub/icons 5.18.0 → 5.19.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 (263) hide show
  1. package/es/AMDRadeonCloud/components/Avatar.d.ts +5 -0
  2. package/es/AMDRadeonCloud/components/Avatar.js +25 -0
  3. package/es/AMDRadeonCloud/components/Color.d.ts +3 -0
  4. package/es/AMDRadeonCloud/components/Color.js +52 -0
  5. package/es/AMDRadeonCloud/components/Combine.d.ts +7 -0
  6. package/es/AMDRadeonCloud/components/Combine.js +33 -0
  7. package/es/AMDRadeonCloud/components/Mono.d.ts +3 -0
  8. package/es/AMDRadeonCloud/components/Mono.js +51 -0
  9. package/es/AMDRadeonCloud/components/Text.d.ts +3 -0
  10. package/es/AMDRadeonCloud/components/Text.js +40 -0
  11. package/es/AMDRadeonCloud/index.d.ts +15 -0
  12. package/es/AMDRadeonCloud/index.js +14 -0
  13. package/es/AMDRadeonCloud/index.mdx +114 -0
  14. package/es/AMDRadeonCloud/style.d.ts +7 -0
  15. package/es/AMDRadeonCloud/style.js +9 -0
  16. package/es/Chutes/components/Avatar.d.ts +5 -0
  17. package/es/Chutes/components/Avatar.js +25 -0
  18. package/es/Chutes/components/Combine.d.ts +5 -0
  19. package/es/Chutes/components/Combine.js +26 -0
  20. package/es/Chutes/components/Mono.d.ts +3 -0
  21. package/es/Chutes/components/Mono.js +44 -0
  22. package/es/Chutes/components/Text.d.ts +3 -0
  23. package/es/Chutes/components/Text.js +39 -0
  24. package/es/Chutes/index.d.ts +13 -0
  25. package/es/Chutes/index.js +12 -0
  26. package/es/Chutes/index.mdx +99 -0
  27. package/es/Chutes/style.d.ts +7 -0
  28. package/es/Chutes/style.js +9 -0
  29. package/es/CommandCode/components/Avatar.d.ts +5 -0
  30. package/es/CommandCode/components/Avatar.js +25 -0
  31. package/es/CommandCode/components/Color.d.ts +3 -0
  32. package/es/CommandCode/components/Color.js +41 -0
  33. package/es/CommandCode/components/Combine.d.ts +5 -0
  34. package/es/CommandCode/components/Combine.js +24 -0
  35. package/es/CommandCode/components/Mono.d.ts +3 -0
  36. package/es/CommandCode/components/Mono.js +41 -0
  37. package/es/CommandCode/components/Text.d.ts +3 -0
  38. package/es/CommandCode/components/Text.js +42 -0
  39. package/es/CommandCode/index.d.ts +13 -0
  40. package/es/CommandCode/index.js +12 -0
  41. package/es/CommandCode/index.mdx +99 -0
  42. package/es/CommandCode/style.d.ts +7 -0
  43. package/es/CommandCode/style.js +9 -0
  44. package/es/Decart/components/Avatar.d.ts +5 -0
  45. package/es/Decart/components/Avatar.js +25 -0
  46. package/es/Decart/components/Color.d.ts +3 -0
  47. package/es/Decart/components/Color.js +39 -0
  48. package/es/Decart/components/Combine.d.ts +7 -0
  49. package/es/Decart/components/Combine.js +32 -0
  50. package/es/Decart/components/Mono.d.ts +3 -0
  51. package/es/Decart/components/Mono.js +40 -0
  52. package/es/Decart/components/Text.d.ts +3 -0
  53. package/es/Decart/components/Text.js +39 -0
  54. package/es/Decart/index.d.ts +15 -0
  55. package/es/Decart/index.js +14 -0
  56. package/es/Decart/index.mdx +113 -0
  57. package/es/Decart/style.d.ts +7 -0
  58. package/es/Decart/style.js +9 -0
  59. package/es/DeepAI/index.mdx +1 -1
  60. package/es/DigitalOcean/components/Avatar.d.ts +5 -0
  61. package/es/DigitalOcean/components/Avatar.js +25 -0
  62. package/es/DigitalOcean/components/Combine.d.ts +5 -0
  63. package/es/DigitalOcean/components/Combine.js +26 -0
  64. package/es/DigitalOcean/components/Mono.d.ts +3 -0
  65. package/es/DigitalOcean/components/Mono.js +42 -0
  66. package/es/DigitalOcean/components/Text.d.ts +3 -0
  67. package/es/DigitalOcean/components/Text.js +39 -0
  68. package/es/DigitalOcean/index.d.ts +13 -0
  69. package/es/DigitalOcean/index.js +12 -0
  70. package/es/DigitalOcean/index.mdx +109 -0
  71. package/es/DigitalOcean/style.d.ts +7 -0
  72. package/es/DigitalOcean/style.js +9 -0
  73. package/es/DotsStudio/components/Avatar.d.ts +5 -0
  74. package/es/DotsStudio/components/Avatar.js +28 -0
  75. package/es/DotsStudio/components/Combine.d.ts +5 -0
  76. package/es/DotsStudio/components/Combine.js +26 -0
  77. package/es/DotsStudio/components/Mono.d.ts +3 -0
  78. package/es/DotsStudio/components/Mono.js +40 -0
  79. package/es/DotsStudio/components/Text.d.ts +3 -0
  80. package/es/DotsStudio/components/Text.js +39 -0
  81. package/es/DotsStudio/index.d.ts +13 -0
  82. package/es/DotsStudio/index.js +12 -0
  83. package/es/DotsStudio/index.mdx +99 -0
  84. package/es/DotsStudio/style.d.ts +7 -0
  85. package/es/DotsStudio/style.js +8 -0
  86. package/es/GmiCloud/components/Avatar.d.ts +5 -0
  87. package/es/GmiCloud/components/Avatar.js +25 -0
  88. package/es/GmiCloud/components/Combine.d.ts +5 -0
  89. package/es/GmiCloud/components/Combine.js +26 -0
  90. package/es/GmiCloud/components/Mono.d.ts +3 -0
  91. package/es/GmiCloud/components/Mono.js +42 -0
  92. package/es/GmiCloud/components/Text.d.ts +3 -0
  93. package/es/GmiCloud/components/Text.js +41 -0
  94. package/es/GmiCloud/index.d.ts +13 -0
  95. package/es/GmiCloud/index.js +12 -0
  96. package/es/GmiCloud/index.mdx +99 -0
  97. package/es/GmiCloud/style.d.ts +7 -0
  98. package/es/GmiCloud/style.js +9 -0
  99. package/es/Inceptron/components/Avatar.d.ts +5 -0
  100. package/es/Inceptron/components/Avatar.js +25 -0
  101. package/es/Inceptron/components/Color.d.ts +3 -0
  102. package/es/Inceptron/components/Color.js +60 -0
  103. package/es/Inceptron/components/Combine.d.ts +7 -0
  104. package/es/Inceptron/components/Combine.js +32 -0
  105. package/es/Inceptron/components/Mono.d.ts +3 -0
  106. package/es/Inceptron/components/Mono.js +60 -0
  107. package/es/Inceptron/components/Text.d.ts +3 -0
  108. package/es/Inceptron/components/Text.js +39 -0
  109. package/es/Inceptron/index.d.ts +15 -0
  110. package/es/Inceptron/index.js +14 -0
  111. package/es/Inceptron/index.mdx +113 -0
  112. package/es/Inceptron/style.d.ts +7 -0
  113. package/es/Inceptron/style.js +9 -0
  114. package/es/IoNet/components/Avatar.d.ts +5 -0
  115. package/es/IoNet/components/Avatar.js +25 -0
  116. package/es/IoNet/components/Combine.d.ts +5 -0
  117. package/es/IoNet/components/Combine.js +24 -0
  118. package/es/IoNet/components/Mono.d.ts +3 -0
  119. package/es/IoNet/components/Mono.js +40 -0
  120. package/es/IoNet/components/Text.d.ts +3 -0
  121. package/es/IoNet/components/Text.js +41 -0
  122. package/es/IoNet/index.d.ts +13 -0
  123. package/es/IoNet/index.js +12 -0
  124. package/es/IoNet/index.mdx +109 -0
  125. package/es/IoNet/style.d.ts +7 -0
  126. package/es/IoNet/style.js +9 -0
  127. package/es/Nextbit/components/Avatar.d.ts +5 -0
  128. package/es/Nextbit/components/Avatar.js +25 -0
  129. package/es/Nextbit/components/Color.d.ts +3 -0
  130. package/es/Nextbit/components/Color.js +39 -0
  131. package/es/Nextbit/components/Combine.d.ts +7 -0
  132. package/es/Nextbit/components/Combine.js +32 -0
  133. package/es/Nextbit/components/Mono.d.ts +3 -0
  134. package/es/Nextbit/components/Mono.js +40 -0
  135. package/es/Nextbit/components/Text.d.ts +3 -0
  136. package/es/Nextbit/components/Text.js +39 -0
  137. package/es/Nextbit/index.d.ts +15 -0
  138. package/es/Nextbit/index.js +14 -0
  139. package/es/Nextbit/index.mdx +113 -0
  140. package/es/Nextbit/style.d.ts +7 -0
  141. package/es/Nextbit/style.js +9 -0
  142. package/es/Perceptron/components/Avatar.d.ts +5 -0
  143. package/es/Perceptron/components/Avatar.js +25 -0
  144. package/es/Perceptron/components/Combine.d.ts +5 -0
  145. package/es/Perceptron/components/Combine.js +27 -0
  146. package/es/Perceptron/components/Mono.d.ts +3 -0
  147. package/es/Perceptron/components/Mono.js +41 -0
  148. package/es/Perceptron/components/Text.d.ts +3 -0
  149. package/es/Perceptron/components/Text.js +39 -0
  150. package/es/Perceptron/index.d.ts +13 -0
  151. package/es/Perceptron/index.js +12 -0
  152. package/es/Perceptron/index.mdx +109 -0
  153. package/es/Perceptron/style.d.ts +7 -0
  154. package/es/Perceptron/style.js +9 -0
  155. package/es/Phala/components/Avatar.d.ts +5 -0
  156. package/es/Phala/components/Avatar.js +25 -0
  157. package/es/Phala/components/Color.d.ts +3 -0
  158. package/es/Phala/components/Color.js +45 -0
  159. package/es/Phala/components/Combine.d.ts +7 -0
  160. package/es/Phala/components/Combine.js +32 -0
  161. package/es/Phala/components/Inner.d.ts +3 -0
  162. package/es/Phala/components/Inner.js +40 -0
  163. package/es/Phala/components/Mono.d.ts +3 -0
  164. package/es/Phala/components/Mono.js +40 -0
  165. package/es/Phala/components/Text.d.ts +3 -0
  166. package/es/Phala/components/Text.js +39 -0
  167. package/es/Phala/index.d.ts +15 -0
  168. package/es/Phala/index.js +14 -0
  169. package/es/Phala/index.mdx +113 -0
  170. package/es/Phala/style.d.ts +7 -0
  171. package/es/Phala/style.js +9 -0
  172. package/es/Reka/components/Avatar.d.ts +5 -0
  173. package/es/Reka/components/Avatar.js +25 -0
  174. package/es/Reka/components/Combine.d.ts +5 -0
  175. package/es/Reka/components/Combine.js +24 -0
  176. package/es/Reka/components/Mono.d.ts +3 -0
  177. package/es/Reka/components/Mono.js +40 -0
  178. package/es/Reka/components/Text.d.ts +3 -0
  179. package/es/Reka/components/Text.js +39 -0
  180. package/es/Reka/index.d.ts +13 -0
  181. package/es/Reka/index.js +12 -0
  182. package/es/Reka/index.mdx +109 -0
  183. package/es/Reka/style.d.ts +7 -0
  184. package/es/Reka/style.js +9 -0
  185. package/es/Sakana/components/Avatar.d.ts +5 -0
  186. package/es/Sakana/components/Avatar.js +25 -0
  187. package/es/Sakana/components/Color.d.ts +3 -0
  188. package/es/Sakana/components/Color.js +39 -0
  189. package/es/Sakana/components/Combine.d.ts +7 -0
  190. package/es/Sakana/components/Combine.js +33 -0
  191. package/es/Sakana/components/Mono.d.ts +3 -0
  192. package/es/Sakana/components/Mono.js +40 -0
  193. package/es/Sakana/components/Text.d.ts +3 -0
  194. package/es/Sakana/components/Text.js +39 -0
  195. package/es/Sakana/index.d.ts +15 -0
  196. package/es/Sakana/index.js +14 -0
  197. package/es/Sakana/index.mdx +113 -0
  198. package/es/Sakana/style.d.ts +7 -0
  199. package/es/Sakana/style.js +9 -0
  200. package/es/UnionAlpha/components/Avatar.d.ts +5 -0
  201. package/es/UnionAlpha/components/Avatar.js +25 -0
  202. package/es/UnionAlpha/components/Color.d.ts +3 -0
  203. package/es/UnionAlpha/components/Color.js +159 -0
  204. package/es/UnionAlpha/components/Combine.d.ts +7 -0
  205. package/es/UnionAlpha/components/Combine.js +32 -0
  206. package/es/UnionAlpha/components/Mono.d.ts +3 -0
  207. package/es/UnionAlpha/components/Mono.js +50 -0
  208. package/es/UnionAlpha/components/Text.d.ts +3 -0
  209. package/es/UnionAlpha/components/Text.js +57 -0
  210. package/es/UnionAlpha/index.d.ts +15 -0
  211. package/es/UnionAlpha/index.js +14 -0
  212. package/es/UnionAlpha/index.mdx +113 -0
  213. package/es/UnionAlpha/style.d.ts +7 -0
  214. package/es/UnionAlpha/style.js +9 -0
  215. package/es/Wafer/components/Avatar.d.ts +5 -0
  216. package/es/Wafer/components/Avatar.js +25 -0
  217. package/es/Wafer/components/Combine.d.ts +5 -0
  218. package/es/Wafer/components/Combine.js +24 -0
  219. package/es/Wafer/components/Mono.d.ts +3 -0
  220. package/es/Wafer/components/Mono.js +40 -0
  221. package/es/Wafer/components/Text.d.ts +3 -0
  222. package/es/Wafer/components/Text.js +39 -0
  223. package/es/Wafer/index.d.ts +13 -0
  224. package/es/Wafer/index.js +12 -0
  225. package/es/Wafer/index.mdx +109 -0
  226. package/es/Wafer/style.d.ts +7 -0
  227. package/es/Wafer/style.js +9 -0
  228. package/es/Wandb/components/Avatar.d.ts +5 -0
  229. package/es/Wandb/components/Avatar.js +25 -0
  230. package/es/Wandb/components/Color.d.ts +3 -0
  231. package/es/Wandb/components/Color.js +39 -0
  232. package/es/Wandb/components/Combine.d.ts +7 -0
  233. package/es/Wandb/components/Combine.js +32 -0
  234. package/es/Wandb/components/Mono.d.ts +3 -0
  235. package/es/Wandb/components/Mono.js +40 -0
  236. package/es/Wandb/components/Text.d.ts +3 -0
  237. package/es/Wandb/components/Text.js +39 -0
  238. package/es/Wandb/index.d.ts +15 -0
  239. package/es/Wandb/index.js +14 -0
  240. package/es/Wandb/index.mdx +113 -0
  241. package/es/Wandb/style.d.ts +7 -0
  242. package/es/Wandb/style.js +9 -0
  243. package/es/WaveSpeed/components/Avatar.d.ts +5 -0
  244. package/es/WaveSpeed/components/Avatar.js +25 -0
  245. package/es/WaveSpeed/components/Combine.d.ts +5 -0
  246. package/es/WaveSpeed/components/Combine.js +26 -0
  247. package/es/WaveSpeed/components/Mono.d.ts +3 -0
  248. package/es/WaveSpeed/components/Mono.js +40 -0
  249. package/es/WaveSpeed/components/Text.d.ts +3 -0
  250. package/es/WaveSpeed/components/Text.js +39 -0
  251. package/es/WaveSpeed/index.d.ts +13 -0
  252. package/es/WaveSpeed/index.js +12 -0
  253. package/es/WaveSpeed/index.mdx +99 -0
  254. package/es/WaveSpeed/style.d.ts +7 -0
  255. package/es/WaveSpeed/style.js +9 -0
  256. package/es/features/modelConfig.js +4 -0
  257. package/es/features/providerConfig.js +5 -0
  258. package/es/features/providerEnum.d.ts +1 -0
  259. package/es/features/providerEnum.js +1 -0
  260. package/es/icons.d.ts +18 -0
  261. package/es/icons.js +18 -0
  262. package/es/toc.json +1 -1
  263. package/package.json +1 -1
@@ -0,0 +1,99 @@
1
+ ---
2
+ title: Chutes
3
+ description: https://chutes.ai
4
+ category: Provider
5
+ ---
6
+
7
+ import { Chutes } from '@lobehub/icons';
8
+ import { Flexbox } from '@lobehub/ui';
9
+
10
+ import ColorPreview from '../components/ColorPreview';
11
+ import DocsPreview from '../components/DocsPreview';
12
+
13
+ ## Icons
14
+
15
+ <DocsPreview>{<Chutes size={64} />}</DocsPreview>
16
+
17
+ ```tsx
18
+ import { Chutes } from '@lobehub/icons';
19
+ import { Flexbox } from '@lobehub/ui';
20
+
21
+ export default () => <Chutes size={64} />;
22
+ ```
23
+
24
+ ## Text
25
+
26
+ <DocsPreview>{<Chutes.Text size={48} />}</DocsPreview>
27
+
28
+ ```tsx
29
+ import { Chutes } from '@lobehub/icons';
30
+
31
+ export default () => <Chutes.Text size={48} />;
32
+ ```
33
+
34
+ ## Combine
35
+
36
+ <DocsPreview>
37
+ {
38
+ <Flexbox gap={16} align={'flex-start'}>
39
+ <Chutes.Combine size={64} />
40
+ </Flexbox>
41
+ }
42
+ </DocsPreview>
43
+
44
+ ```tsx
45
+ import { Chutes } from '@lobehub/icons';
46
+ import { Flexbox } from '@lobehub/ui';
47
+
48
+ export default () => (
49
+ <Flexbox gap={16} align={'flex-start'}>
50
+ <Chutes.Combine size={64} />
51
+ </Flexbox>
52
+ );
53
+ ```
54
+
55
+ ## Avatars
56
+
57
+ <DocsPreview>
58
+ {
59
+ <Flexbox gap={16} horizontal>
60
+ <Chutes.Avatar size={64} />
61
+ <Chutes.Avatar size={64} shape={'square'} />
62
+ </Flexbox>
63
+ }
64
+ </DocsPreview>
65
+
66
+ ```tsx
67
+ import { Chutes } from '@lobehub/icons';
68
+ import { Flexbox } from '@lobehub/ui';
69
+
70
+ export default () => (
71
+ <Flexbox gap={16} horizontal>
72
+ <Chutes.Avatar size={64} />
73
+ <Chutes.Avatar size={64} shape={'square'} />
74
+ </Flexbox>
75
+ );
76
+ ```
77
+
78
+ ## Colors
79
+
80
+ <DocsPreview>
81
+ {
82
+ <Flexbox gap={16} horizontal>
83
+ <ColorPreview color={Chutes.colorPrimary} />
84
+ </Flexbox>
85
+ }
86
+ </DocsPreview>
87
+
88
+ ```tsx
89
+ import { Chutes } from '@lobehub/icons';
90
+ import { Flexbox } from '@lobehub/ui';
91
+
92
+ import ColorPreview from '../components/ColorPreview';
93
+
94
+ export default () => (
95
+ <Flexbox gap={16} horizontal>
96
+ <ColorPreview color={Chutes.colorPrimary} />
97
+ </Flexbox>
98
+ );
99
+ ```
@@ -0,0 +1,7 @@
1
+ export declare const TITLE = "Chutes";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.75;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.1;
4
+ export declare const COLOR_PRIMARY = "#0D0D0D";
5
+ export declare const AVATAR_BACKGROUND = "#0D0D0D";
6
+ export declare const AVATAR_COLOR = "#fff";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.6;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'Chutes';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.75;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.1;
4
+ export var COLOR_PRIMARY = '#0D0D0D';
5
+
6
+ // Avatar constants
7
+ export var AVATAR_BACKGROUND = COLOR_PRIMARY;
8
+ export var AVATAR_COLOR = '#fff';
9
+ export var AVATAR_ICON_MULTIPLE = 0.6;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -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
+ 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
+ clipRule: "evenodd",
35
+ d: "m 12.146 0.975 h -0.444 c -2.786 0 -4.777 0.002 -6.29 0.206 -1.485 0.2 -2.363 0.577 -3.008 1.223 s -1.023 1.523 -1.223 3.008 c -0.203 1.513 -0.206 3.504 -0.206 6.29 v 0.444 c 0 2.786 0.002 4.777 0.206 6.29 0.2 1.485 0.577 2.363 1.223 3.008 0.645 0.645 1.523 1.023 3.008 1.222 1.513 0.203 3.504 0.205 6.29 0.205 h 0.444 c 2.786 0 4.777 -0.002 6.29 -0.205 1.485 -0.2 2.363 -0.577 3.008 -1.222 0.645 -0.646 1.023 -1.523 1.222 -3.008 0.203 -1.513 0.205 -3.504 0.205 -6.29 v -0.444 c 0 -2.786 -0.002 -4.777 -0.205 -6.29 -0.2 -1.485 -0.577 -2.363 -1.222 -3.008 -0.646 -0.645 -1.523 -1.023 -3.008 -1.223 -1.513 -0.203 -3.504 -0.206 -6.29 -0.206 z m -10.432 0.739 c -1.714 1.714 -1.714 4.472 -1.714 9.988 v 0.444 c 0 5.516 0 8.274 1.714 9.988 1.714 1.714 4.472 1.714 9.988 1.714 h 0.444 c 5.516 0 8.274 0 9.988 -1.714 s 1.714 -4.472 1.714 -9.988 v -0.444 c 0 -5.516 0 -8.274 -1.714 -9.988 -1.714 -1.714 -4.472 -1.714 -9.988 -1.714 h -0.444 c -5.516 0 -8.274 0 -9.988 1.714 z M 16.408 4.586 c -1.573 0 -2.853 1.28 -2.853 2.854 v 1.223 h -3.261 v -1.223 c 0 -1.574 -1.28 -2.854 -2.853 -2.854 -1.574 0 -2.854 1.28 -2.854 2.854 s 1.28 2.853 2.854 2.853 h 1.223 v 3.261 h -1.223 c -1.574 0 -2.854 1.28 -2.854 2.854 0 1.574 1.28 2.853 2.854 2.853 1.573 0 2.853 -1.28 2.853 -2.853 v -1.223 h 3.261 v 1.223 c 0 1.574 1.28 2.853 2.853 2.853 1.574 0 2.853 -1.28 2.853 -2.853 0 -1.574 -1.28 -2.854 -2.853 -2.854 h -1.223 v -3.261 h 1.223 c 1.574 0 2.853 -1.28 2.853 -2.853 s -1.28 -2.854 -2.853 -2.854 z m -1.223 4.076 v -1.223 c 0 -0.677 0.546 -1.223 1.223 -1.223 0.677 0 1.223 0.546 1.223 1.223 0 0.677 -0.546 1.223 -1.223 1.223 z m -7.745 0 c -0.677 0 -1.223 -0.546 -1.223 -1.223 0 -0.677 0.546 -1.223 1.223 -1.223 0.677 0 1.223 0.546 1.223 1.223 v 1.223 z m 2.853 4.892 v -3.261 h 3.261 v 3.261 z m 6.115 4.076 c -0.677 0 -1.223 -0.546 -1.223 -1.223 v -1.223 h 1.223 c 0.677 0 1.223 0.546 1.223 1.223 0 0.677 -0.546 1.223 -1.223 1.223 z m -8.968 0 c -0.677 0 -1.223 -0.546 -1.223 -1.223 0 -0.677 0.546 -1.223 1.223 -1.223 h 1.223 v 1.223 c 0 0.677 -0.546 1.223 -1.223 1.223 z",
36
+ fill: "#8C4EDD",
37
+ fillRule: "evenodd"
38
+ })]
39
+ }));
40
+ });
41
+ export default Icon;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
4
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
5
+ export default Combine;
@@ -0,0 +1,24 @@
1
+ '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 Text from "./Text";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var Combine = /*#__PURE__*/memo(function (_ref) {
16
+ var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
17
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
18
+ Text: Text,
19
+ "aria-label": TITLE,
20
+ spaceMultiple: COMBINE_SPACE_MULTIPLE,
21
+ textMultiple: COMBINE_TEXT_MULTIPLE
22
+ }, rest));
23
+ });
24
+ 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,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: "M19.334 0a4.67 4.67 0 0 0-4.666 4.668v2H9.334v-2A4.67 4.67 0 0 0 4.668 0 4.67 4.67 0 0 0 0 4.668a4.67 4.67 0 0 0 4.668 4.665h2v5.334h-2A4.67 4.67 0 0 0 0 19.334 4.67 4.67 0 0 0 4.668 24a4.67 4.67 0 0 0 4.666-4.666v-2h5.334v2A4.67 4.67 0 0 0 19.334 24 4.67 4.67 0 0 0 24 19.334a4.67 4.67 0 0 0-4.666-4.667h-2V9.333h2A4.67 4.67 0 0 0 24 4.668 4.673 4.673 0 0 0 19.334 0m-2 6.666v-2c0-1.107.893-2 2-2s2 .893 2 2-.893 2-2 2zm-12.668 0c-1.107 0-2-.893-2-2s.893-2 2-2 2 .893 2 2v2zm4.666 8V9.334h5.334v5.334zm10.002 6.667c-1.107 0-2-.893-2-2v-2h2c1.107 0 2 .892 2 2 0 1.107-.893 2-2 2m-14.668 0c-1.107 0-2-.893-2-2 0-1.108.893-2 2-2h2v2c0 1.107-.893 2-2 2"
38
+ })]
39
+ }));
40
+ });
41
+ 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,42 @@
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 96 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: "M28.702 2.006h10.49V22H36.33V6.005h-.954V22h-2.86V6.005h-.954V22h-2.86zm-11.446 0h10.49V22h-2.861V6.005h-.954V22h-2.86V6.005h-.954V22h-2.86zm30.514 0h7.628V22h-2.86V6.005H50.63V22h-2.86zM2 2.006h6.675v7.997h-2.86V6.005H4.86V18h.953v-3.999h2.86V22H2zM16.299 22H9.624V2.006h6.675zM11.53 6.005v11.997h1.907V6.005zM63.03 22h-6.675V6.005h2.86v-4h3.815zm-3.816-11.994v7.998h.954v-7.998zM46.816 22h-2.861v-4H43v4h-2.86V2.006h6.675zM42.998 6.005v3.999h.954V6.005z"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M86.398 22h-6.554V6h2.809V2h3.745zm-3.746-12v8h.936v-8zM64.895 2.002h6.553V10H68.64V6h-.936v12h.936v-4h2.808v8h-6.553zm14.039 19.995h-6.552V2.002h6.552zm-4.69-15.985v11.972h1.868V6.012zm19.644 8.578H91.09v3.657h2.798V22h-6.573V2.004h6.573zm-3.83-9.261v5.92h1.036v-5.92z",
38
+ fillOpacity: ".66"
39
+ })]
40
+ }));
41
+ });
42
+ 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,99 @@
1
+ ---
2
+ title: Command Code
3
+ description: https://commandcode.ai
4
+ category: Application
5
+ ---
6
+
7
+ import { CommandCode } from '@lobehub/icons';
8
+ import { Flexbox } from '@lobehub/ui';
9
+
10
+ import ColorPreview from '../components/ColorPreview';
11
+ import DocsPreview from '../components/DocsPreview';
12
+
13
+ ## Icons
14
+
15
+ <DocsPreview>{<CommandCode size={64} />}</DocsPreview>
16
+
17
+ ```tsx
18
+ import { CommandCode } from '@lobehub/icons';
19
+ import { Flexbox } from '@lobehub/ui';
20
+
21
+ export default () => <CommandCode size={64} />;
22
+ ```
23
+
24
+ ## Text
25
+
26
+ <DocsPreview>{<CommandCode.Text size={48} />}</DocsPreview>
27
+
28
+ ```tsx
29
+ import { CommandCode } from '@lobehub/icons';
30
+
31
+ export default () => <CommandCode.Text size={48} />;
32
+ ```
33
+
34
+ ## Combine
35
+
36
+ <DocsPreview>
37
+ {
38
+ <Flexbox gap={16} align={'flex-start'}>
39
+ <CommandCode.Combine size={64} />
40
+ </Flexbox>
41
+ }
42
+ </DocsPreview>
43
+
44
+ ```tsx
45
+ import { CommandCode } from '@lobehub/icons';
46
+ import { Flexbox } from '@lobehub/ui';
47
+
48
+ export default () => (
49
+ <Flexbox gap={16} align={'flex-start'}>
50
+ <CommandCode.Combine size={64} />
51
+ </Flexbox>
52
+ );
53
+ ```
54
+
55
+ ## Avatars
56
+
57
+ <DocsPreview>
58
+ {
59
+ <Flexbox gap={16} horizontal>
60
+ <CommandCode.Avatar size={64} />
61
+ <CommandCode.Avatar size={64} shape={'square'} />
62
+ </Flexbox>
63
+ }
64
+ </DocsPreview>
65
+
66
+ ```tsx
67
+ import { CommandCode } from '@lobehub/icons';
68
+ import { Flexbox } from '@lobehub/ui';
69
+
70
+ export default () => (
71
+ <Flexbox gap={16} horizontal>
72
+ <CommandCode.Avatar size={64} />
73
+ <CommandCode.Avatar size={64} shape={'square'} />
74
+ </Flexbox>
75
+ );
76
+ ```
77
+
78
+ ## Colors
79
+
80
+ <DocsPreview>
81
+ {
82
+ <Flexbox gap={16} horizontal>
83
+ <ColorPreview color={CommandCode.colorPrimary} />
84
+ </Flexbox>
85
+ }
86
+ </DocsPreview>
87
+
88
+ ```tsx
89
+ import { CommandCode } from '@lobehub/icons';
90
+ import { Flexbox } from '@lobehub/ui';
91
+
92
+ import ColorPreview from '../components/ColorPreview';
93
+
94
+ export default () => (
95
+ <Flexbox gap={16} horizontal>
96
+ <ColorPreview color={CommandCode.colorPrimary} />
97
+ </Flexbox>
98
+ );
99
+ ```
@@ -0,0 +1,7 @@
1
+ export declare const TITLE = "Command Code";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 1;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.3;
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.6;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'Command Code';
2
+ export var COMBINE_TEXT_MULTIPLE = 1;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.3;
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.6;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -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,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ 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
+ 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: "m14.606 7.852-.627 4.129c-.014.095.145.135.186.048 1.193-2.551 2.912-2.936 5.738-2.944h.359c.201 0 .356.174.328.369l-.166 1.156a.457.457 0 0 0 .46.516h3.095c.202 0 .357.174.329.369l-.225 1.559a.33.33 0 0 1-.328.278H14.22a.46.46 0 0 0-.46.39l-1.423 9.875a.33.33 0 0 1-.329.279h-1.975a.327.327 0 0 1-.328-.369l.77-5.341a.457.457 0 0 0-.461-.516h-1.16a.327.327 0 0 1-.329-.369l.495-3.432a.457.457 0 0 0-.46-.517H.642a.327.327 0 0 1-.328-.369l.224-1.558a.33.33 0 0 1 .329-.279h4.817a.46.46 0 0 0 .46-.39l.187-1.301a.33.33 0 0 1 .329-.28h3.784c.761 0 1.406-.546 1.512-1.281l.969-6.72a.33.33 0 0 1 .328-.278h1.976c.201 0 .356.174.328.369z",
35
+ fill: "#2548f6"
36
+ })]
37
+ }));
38
+ });
39
+ 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'> {
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,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;