@lobehub/icons 5.17.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.
- package/es/AMDRadeonCloud/components/Avatar.d.ts +5 -0
- package/es/AMDRadeonCloud/components/Avatar.js +25 -0
- package/es/AMDRadeonCloud/components/Color.d.ts +3 -0
- package/es/AMDRadeonCloud/components/Color.js +52 -0
- package/es/AMDRadeonCloud/components/Combine.d.ts +7 -0
- package/es/AMDRadeonCloud/components/Combine.js +33 -0
- package/es/AMDRadeonCloud/components/Mono.d.ts +3 -0
- package/es/AMDRadeonCloud/components/Mono.js +51 -0
- package/es/AMDRadeonCloud/components/Text.d.ts +3 -0
- package/es/AMDRadeonCloud/components/Text.js +40 -0
- package/es/AMDRadeonCloud/index.d.ts +15 -0
- package/es/AMDRadeonCloud/index.js +14 -0
- package/es/AMDRadeonCloud/index.mdx +114 -0
- package/es/AMDRadeonCloud/style.d.ts +7 -0
- package/es/AMDRadeonCloud/style.js +9 -0
- package/es/Chutes/components/Avatar.d.ts +5 -0
- package/es/Chutes/components/Avatar.js +25 -0
- package/es/Chutes/components/Combine.d.ts +5 -0
- package/es/Chutes/components/Combine.js +26 -0
- package/es/Chutes/components/Mono.d.ts +3 -0
- package/es/Chutes/components/Mono.js +44 -0
- package/es/Chutes/components/Text.d.ts +3 -0
- package/es/Chutes/components/Text.js +39 -0
- package/es/Chutes/index.d.ts +13 -0
- package/es/Chutes/index.js +12 -0
- package/es/Chutes/index.mdx +99 -0
- package/es/Chutes/style.d.ts +7 -0
- package/es/Chutes/style.js +9 -0
- package/es/CommandCode/components/Avatar.d.ts +5 -0
- package/es/CommandCode/components/Avatar.js +25 -0
- package/es/CommandCode/components/Color.d.ts +3 -0
- package/es/CommandCode/components/Color.js +41 -0
- package/es/CommandCode/components/Combine.d.ts +5 -0
- package/es/CommandCode/components/Combine.js +24 -0
- package/es/CommandCode/components/Mono.d.ts +3 -0
- package/es/CommandCode/components/Mono.js +41 -0
- package/es/CommandCode/components/Text.d.ts +3 -0
- package/es/CommandCode/components/Text.js +42 -0
- package/es/CommandCode/index.d.ts +13 -0
- package/es/CommandCode/index.js +12 -0
- package/es/CommandCode/index.mdx +99 -0
- package/es/CommandCode/style.d.ts +7 -0
- package/es/CommandCode/style.js +9 -0
- package/es/Decart/components/Avatar.d.ts +5 -0
- package/es/Decart/components/Avatar.js +25 -0
- package/es/Decart/components/Color.d.ts +3 -0
- package/es/Decart/components/Color.js +39 -0
- package/es/Decart/components/Combine.d.ts +7 -0
- package/es/Decart/components/Combine.js +32 -0
- package/es/Decart/components/Mono.d.ts +3 -0
- package/es/Decart/components/Mono.js +40 -0
- package/es/Decart/components/Text.d.ts +3 -0
- package/es/Decart/components/Text.js +39 -0
- package/es/Decart/index.d.ts +15 -0
- package/es/Decart/index.js +14 -0
- package/es/Decart/index.mdx +113 -0
- package/es/Decart/style.d.ts +7 -0
- package/es/Decart/style.js +9 -0
- package/es/DeepAI/index.mdx +1 -1
- package/es/DigitalOcean/components/Avatar.d.ts +5 -0
- package/es/DigitalOcean/components/Avatar.js +25 -0
- package/es/DigitalOcean/components/Combine.d.ts +5 -0
- package/es/DigitalOcean/components/Combine.js +26 -0
- package/es/DigitalOcean/components/Mono.d.ts +3 -0
- package/es/DigitalOcean/components/Mono.js +42 -0
- package/es/DigitalOcean/components/Text.d.ts +3 -0
- package/es/DigitalOcean/components/Text.js +39 -0
- package/es/DigitalOcean/index.d.ts +13 -0
- package/es/DigitalOcean/index.js +12 -0
- package/es/DigitalOcean/index.mdx +109 -0
- package/es/DigitalOcean/style.d.ts +7 -0
- package/es/DigitalOcean/style.js +9 -0
- package/es/DotsStudio/components/Avatar.d.ts +5 -0
- package/es/DotsStudio/components/Avatar.js +28 -0
- package/es/DotsStudio/components/Combine.d.ts +5 -0
- package/es/DotsStudio/components/Combine.js +26 -0
- package/es/DotsStudio/components/Mono.d.ts +3 -0
- package/es/DotsStudio/components/Mono.js +40 -0
- package/es/DotsStudio/components/Text.d.ts +3 -0
- package/es/DotsStudio/components/Text.js +39 -0
- package/es/DotsStudio/index.d.ts +13 -0
- package/es/DotsStudio/index.js +12 -0
- package/es/DotsStudio/index.mdx +99 -0
- package/es/DotsStudio/style.d.ts +7 -0
- package/es/DotsStudio/style.js +8 -0
- package/es/GmiCloud/components/Avatar.d.ts +5 -0
- package/es/GmiCloud/components/Avatar.js +25 -0
- package/es/GmiCloud/components/Combine.d.ts +5 -0
- package/es/GmiCloud/components/Combine.js +26 -0
- package/es/GmiCloud/components/Mono.d.ts +3 -0
- package/es/GmiCloud/components/Mono.js +42 -0
- package/es/GmiCloud/components/Text.d.ts +3 -0
- package/es/GmiCloud/components/Text.js +41 -0
- package/es/GmiCloud/index.d.ts +13 -0
- package/es/GmiCloud/index.js +12 -0
- package/es/GmiCloud/index.mdx +99 -0
- package/es/GmiCloud/style.d.ts +7 -0
- package/es/GmiCloud/style.js +9 -0
- package/es/Inceptron/components/Avatar.d.ts +5 -0
- package/es/Inceptron/components/Avatar.js +25 -0
- package/es/Inceptron/components/Color.d.ts +3 -0
- package/es/Inceptron/components/Color.js +60 -0
- package/es/Inceptron/components/Combine.d.ts +7 -0
- package/es/Inceptron/components/Combine.js +32 -0
- package/es/Inceptron/components/Mono.d.ts +3 -0
- package/es/Inceptron/components/Mono.js +60 -0
- package/es/Inceptron/components/Text.d.ts +3 -0
- package/es/Inceptron/components/Text.js +39 -0
- package/es/Inceptron/index.d.ts +15 -0
- package/es/Inceptron/index.js +14 -0
- package/es/Inceptron/index.mdx +113 -0
- package/es/Inceptron/style.d.ts +7 -0
- package/es/Inceptron/style.js +9 -0
- package/es/IoNet/components/Avatar.d.ts +5 -0
- package/es/IoNet/components/Avatar.js +25 -0
- package/es/IoNet/components/Combine.d.ts +5 -0
- package/es/IoNet/components/Combine.js +24 -0
- package/es/IoNet/components/Mono.d.ts +3 -0
- package/es/IoNet/components/Mono.js +40 -0
- package/es/IoNet/components/Text.d.ts +3 -0
- package/es/IoNet/components/Text.js +41 -0
- package/es/IoNet/index.d.ts +13 -0
- package/es/IoNet/index.js +12 -0
- package/es/IoNet/index.mdx +109 -0
- package/es/IoNet/style.d.ts +7 -0
- package/es/IoNet/style.js +9 -0
- package/es/Nextbit/components/Avatar.d.ts +5 -0
- package/es/Nextbit/components/Avatar.js +25 -0
- package/es/Nextbit/components/Color.d.ts +3 -0
- package/es/Nextbit/components/Color.js +39 -0
- package/es/Nextbit/components/Combine.d.ts +7 -0
- package/es/Nextbit/components/Combine.js +32 -0
- package/es/Nextbit/components/Mono.d.ts +3 -0
- package/es/Nextbit/components/Mono.js +40 -0
- package/es/Nextbit/components/Text.d.ts +3 -0
- package/es/Nextbit/components/Text.js +39 -0
- package/es/Nextbit/index.d.ts +15 -0
- package/es/Nextbit/index.js +14 -0
- package/es/Nextbit/index.mdx +113 -0
- package/es/Nextbit/style.d.ts +7 -0
- package/es/Nextbit/style.js +9 -0
- package/es/Perceptron/components/Avatar.d.ts +5 -0
- package/es/Perceptron/components/Avatar.js +25 -0
- package/es/Perceptron/components/Combine.d.ts +5 -0
- package/es/Perceptron/components/Combine.js +27 -0
- package/es/Perceptron/components/Mono.d.ts +3 -0
- package/es/Perceptron/components/Mono.js +41 -0
- package/es/Perceptron/components/Text.d.ts +3 -0
- package/es/Perceptron/components/Text.js +39 -0
- package/es/Perceptron/index.d.ts +13 -0
- package/es/Perceptron/index.js +12 -0
- package/es/Perceptron/index.mdx +109 -0
- package/es/Perceptron/style.d.ts +7 -0
- package/es/Perceptron/style.js +9 -0
- package/es/Phala/components/Avatar.d.ts +5 -0
- package/es/Phala/components/Avatar.js +25 -0
- package/es/Phala/components/Color.d.ts +3 -0
- package/es/Phala/components/Color.js +45 -0
- package/es/Phala/components/Combine.d.ts +7 -0
- package/es/Phala/components/Combine.js +32 -0
- package/es/Phala/components/Inner.d.ts +3 -0
- package/es/Phala/components/Inner.js +40 -0
- package/es/Phala/components/Mono.d.ts +3 -0
- package/es/Phala/components/Mono.js +40 -0
- package/es/Phala/components/Text.d.ts +3 -0
- package/es/Phala/components/Text.js +39 -0
- package/es/Phala/index.d.ts +15 -0
- package/es/Phala/index.js +14 -0
- package/es/Phala/index.mdx +113 -0
- package/es/Phala/style.d.ts +7 -0
- package/es/Phala/style.js +9 -0
- package/es/Reka/components/Avatar.d.ts +5 -0
- package/es/Reka/components/Avatar.js +25 -0
- package/es/Reka/components/Combine.d.ts +5 -0
- package/es/Reka/components/Combine.js +24 -0
- package/es/Reka/components/Mono.d.ts +3 -0
- package/es/Reka/components/Mono.js +40 -0
- package/es/Reka/components/Text.d.ts +3 -0
- package/es/Reka/components/Text.js +39 -0
- package/es/Reka/index.d.ts +13 -0
- package/es/Reka/index.js +12 -0
- package/es/Reka/index.mdx +109 -0
- package/es/Reka/style.d.ts +7 -0
- package/es/Reka/style.js +9 -0
- package/es/Sakana/components/Avatar.d.ts +5 -0
- package/es/Sakana/components/Avatar.js +25 -0
- package/es/Sakana/components/Color.d.ts +3 -0
- package/es/Sakana/components/Color.js +39 -0
- package/es/Sakana/components/Combine.d.ts +7 -0
- package/es/Sakana/components/Combine.js +33 -0
- package/es/Sakana/components/Mono.d.ts +3 -0
- package/es/Sakana/components/Mono.js +40 -0
- package/es/Sakana/components/Text.d.ts +3 -0
- package/es/Sakana/components/Text.js +39 -0
- package/es/Sakana/index.d.ts +15 -0
- package/es/Sakana/index.js +14 -0
- package/es/Sakana/index.mdx +113 -0
- package/es/Sakana/style.d.ts +7 -0
- package/es/Sakana/style.js +9 -0
- package/es/UnionAlpha/components/Avatar.d.ts +5 -0
- package/es/UnionAlpha/components/Avatar.js +25 -0
- package/es/UnionAlpha/components/Color.d.ts +3 -0
- package/es/UnionAlpha/components/Color.js +159 -0
- package/es/UnionAlpha/components/Combine.d.ts +7 -0
- package/es/UnionAlpha/components/Combine.js +32 -0
- package/es/UnionAlpha/components/Mono.d.ts +3 -0
- package/es/UnionAlpha/components/Mono.js +50 -0
- package/es/UnionAlpha/components/Text.d.ts +3 -0
- package/es/UnionAlpha/components/Text.js +57 -0
- package/es/UnionAlpha/index.d.ts +15 -0
- package/es/UnionAlpha/index.js +14 -0
- package/es/UnionAlpha/index.mdx +113 -0
- package/es/UnionAlpha/style.d.ts +7 -0
- package/es/UnionAlpha/style.js +9 -0
- package/es/Wafer/components/Avatar.d.ts +5 -0
- package/es/Wafer/components/Avatar.js +25 -0
- package/es/Wafer/components/Combine.d.ts +5 -0
- package/es/Wafer/components/Combine.js +24 -0
- package/es/Wafer/components/Mono.d.ts +3 -0
- package/es/Wafer/components/Mono.js +40 -0
- package/es/Wafer/components/Text.d.ts +3 -0
- package/es/Wafer/components/Text.js +39 -0
- package/es/Wafer/index.d.ts +13 -0
- package/es/Wafer/index.js +12 -0
- package/es/Wafer/index.mdx +109 -0
- package/es/Wafer/style.d.ts +7 -0
- package/es/Wafer/style.js +9 -0
- package/es/Wandb/components/Avatar.d.ts +5 -0
- package/es/Wandb/components/Avatar.js +25 -0
- package/es/Wandb/components/Color.d.ts +3 -0
- package/es/Wandb/components/Color.js +39 -0
- package/es/Wandb/components/Combine.d.ts +7 -0
- package/es/Wandb/components/Combine.js +32 -0
- package/es/Wandb/components/Mono.d.ts +3 -0
- package/es/Wandb/components/Mono.js +40 -0
- package/es/Wandb/components/Text.d.ts +3 -0
- package/es/Wandb/components/Text.js +39 -0
- package/es/Wandb/index.d.ts +15 -0
- package/es/Wandb/index.js +14 -0
- package/es/Wandb/index.mdx +113 -0
- package/es/Wandb/style.d.ts +7 -0
- package/es/Wandb/style.js +9 -0
- package/es/WaveSpeed/components/Avatar.d.ts +5 -0
- package/es/WaveSpeed/components/Avatar.js +25 -0
- package/es/WaveSpeed/components/Combine.d.ts +5 -0
- package/es/WaveSpeed/components/Combine.js +26 -0
- package/es/WaveSpeed/components/Mono.d.ts +3 -0
- package/es/WaveSpeed/components/Mono.js +40 -0
- package/es/WaveSpeed/components/Text.d.ts +3 -0
- package/es/WaveSpeed/components/Text.js +39 -0
- package/es/WaveSpeed/index.d.ts +13 -0
- package/es/WaveSpeed/index.js +12 -0
- package/es/WaveSpeed/index.mdx +99 -0
- package/es/WaveSpeed/style.d.ts +7 -0
- package/es/WaveSpeed/style.js +9 -0
- package/es/features/modelConfig.js +8 -0
- package/es/features/providerConfig.js +5 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +18 -0
- package/es/icons.js +18 -0
- package/es/toc.json +1 -1
- 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,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,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,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,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,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,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;
|