@lobehub/icons 5.18.0 → 5.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +112 -106
- 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 +4 -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,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Union Alpha
|
|
3
|
+
description: https://union-alpha.com
|
|
4
|
+
category: Model
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
import { UnionAlpha } 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>
|
|
16
|
+
{
|
|
17
|
+
<Flexbox gap={16} horizontal>
|
|
18
|
+
<UnionAlpha size={64} />
|
|
19
|
+
<UnionAlpha.Color size={64} />
|
|
20
|
+
</Flexbox>
|
|
21
|
+
}
|
|
22
|
+
</DocsPreview>
|
|
23
|
+
|
|
24
|
+
```tsx
|
|
25
|
+
import { UnionAlpha } from '@lobehub/icons';
|
|
26
|
+
import { Flexbox } from '@lobehub/ui';
|
|
27
|
+
|
|
28
|
+
export default () => (
|
|
29
|
+
<Flexbox gap={16} horizontal>
|
|
30
|
+
<UnionAlpha size={64} />
|
|
31
|
+
<UnionAlpha.Color size={64} />
|
|
32
|
+
</Flexbox>
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Text
|
|
37
|
+
|
|
38
|
+
<DocsPreview>{<UnionAlpha.Text size={48} />}</DocsPreview>
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { UnionAlpha } from '@lobehub/icons';
|
|
42
|
+
|
|
43
|
+
export default () => <UnionAlpha.Text size={48} />;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Combine
|
|
47
|
+
|
|
48
|
+
<DocsPreview>
|
|
49
|
+
{
|
|
50
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
51
|
+
<UnionAlpha.Combine size={64} />
|
|
52
|
+
<UnionAlpha.Combine size={64} type={'color'} />
|
|
53
|
+
</Flexbox>
|
|
54
|
+
}
|
|
55
|
+
</DocsPreview>
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
import { UnionAlpha } from '@lobehub/icons';
|
|
59
|
+
import { Flexbox } from '@lobehub/ui';
|
|
60
|
+
|
|
61
|
+
export default () => (
|
|
62
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
63
|
+
<UnionAlpha.Combine size={64} />
|
|
64
|
+
<UnionAlpha.Combine size={64} type={'color'} />
|
|
65
|
+
</Flexbox>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Avatars
|
|
70
|
+
|
|
71
|
+
<DocsPreview>
|
|
72
|
+
{
|
|
73
|
+
<Flexbox gap={16} horizontal>
|
|
74
|
+
<UnionAlpha.Avatar size={64} />
|
|
75
|
+
<UnionAlpha.Avatar size={64} shape={'square'} />
|
|
76
|
+
</Flexbox>
|
|
77
|
+
}
|
|
78
|
+
</DocsPreview>
|
|
79
|
+
|
|
80
|
+
```tsx
|
|
81
|
+
import { UnionAlpha } from '@lobehub/icons';
|
|
82
|
+
import { Flexbox } from '@lobehub/ui';
|
|
83
|
+
|
|
84
|
+
export default () => (
|
|
85
|
+
<Flexbox gap={16} horizontal>
|
|
86
|
+
<UnionAlpha.Avatar size={64} />
|
|
87
|
+
<UnionAlpha.Avatar size={64} shape={'square'} />
|
|
88
|
+
</Flexbox>
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Colors
|
|
93
|
+
|
|
94
|
+
<DocsPreview>
|
|
95
|
+
{
|
|
96
|
+
<Flexbox gap={16} horizontal>
|
|
97
|
+
<ColorPreview color={UnionAlpha.colorPrimary} />
|
|
98
|
+
</Flexbox>
|
|
99
|
+
}
|
|
100
|
+
</DocsPreview>
|
|
101
|
+
|
|
102
|
+
```tsx
|
|
103
|
+
import { UnionAlpha } from '@lobehub/icons';
|
|
104
|
+
import { Flexbox } from '@lobehub/ui';
|
|
105
|
+
|
|
106
|
+
import ColorPreview from '../components/ColorPreview';
|
|
107
|
+
|
|
108
|
+
export default () => (
|
|
109
|
+
<Flexbox gap={16} horizontal>
|
|
110
|
+
<ColorPreview color={UnionAlpha.colorPrimary} />
|
|
111
|
+
</Flexbox>
|
|
112
|
+
);
|
|
113
|
+
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TITLE = "UnionAlpha";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.7;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#1A1A1A";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#1A1A1A";
|
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'UnionAlpha';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.7;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
+
export var COLOR_PRIMARY = '#1A1A1A';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.7;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Mono from "./Mono";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
+
Icon: Mono,
|
|
19
|
+
"aria-label": TITLE,
|
|
20
|
+
background: AVATAR_BACKGROUND,
|
|
21
|
+
color: AVATAR_COLOR,
|
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Avatar;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
|
3
|
+
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>;
|
|
4
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
5
|
+
export default Combine;
|
|
@@ -0,0 +1,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,40 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
var _excluded = ["size", "style"];
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import { TITLE } from "../style";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
19
|
+
style = _ref.style,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
height: size,
|
|
25
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 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
|
+
d: "M0 12c0 6.617 5.395 12 12.026 12H24V0H12.026C5.395 0 0 5.383 0 12m3.518 0c0-4.81 3.861-8.726 8.608-8.726S20.733 7.189 20.733 12c0 4.81-3.861 8.726-8.607 8.726-4.747 0-8.608-3.915-8.608-8.726"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
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
|
+
fill: "currentColor",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
height: size,
|
|
25
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 86 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: "M27 15.485c0 4.583 3.731 8.311 8.318 8.311H43.6V7.174h-8.282C30.73 7.174 27 10.902 27 15.485m2.433 0c0-3.332 2.671-6.044 5.954-6.044s5.953 2.712 5.953 6.044-2.67 6.044-5.953 6.044-5.954-2.712-5.954-6.044M52.465 5.286c.03-1.79 1.308-3.088 3.036-3.088h2.519V0h-2.483c-3.125 0-5.395 2.349-5.395 5.588 0 .65.01 1.243.016 1.585h-3.273v2.268h3.251v14.355h2.33V9.439h4.542V7.171h-4.545c-.004-.451-.008-1.32.002-1.887zm22.002 9.982c-.107-4.815-3.473-8.444-7.83-8.444h-.07c-2.285 0-4.384.853-5.915 2.399-1.543 1.56-2.384 3.722-2.367 6.089.038 5.153 3.848 8.484 9.707 8.484H71.3v-2.268h-3.203c-4.214 0-6.857-1.899-7.307-5.225h13.68v-1.035zm-13.631-1.302c.515-2.932 2.78-4.876 5.732-4.876h.069c2.583 0 4.71 1.988 5.274 4.876zm16.602-6.792v16.622h2.328V9.44h5.237V7.174zM18.746 21.635 14.874 10q-.024-.074-.051-.144l-.073-.193h-2.92l-.07.193q-.027.068-.052.142L7.87 21.561 3.528 7.173H1l5.011 16.55.016.05.073.228h3.433l3.741-11.25L17.015 24h3.433l5.1-16.828H23.09z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
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,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Wafer
|
|
3
|
+
description: https://wafer.ai
|
|
4
|
+
category: Provider
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
import { Wafer } 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>
|
|
16
|
+
{
|
|
17
|
+
<Flexbox gap={16} horizontal>
|
|
18
|
+
<Wafer size={64} />
|
|
19
|
+
</Flexbox>
|
|
20
|
+
}
|
|
21
|
+
</DocsPreview>
|
|
22
|
+
|
|
23
|
+
```tsx
|
|
24
|
+
import { Wafer } from '@lobehub/icons';
|
|
25
|
+
import { Flexbox } from '@lobehub/ui';
|
|
26
|
+
|
|
27
|
+
export default () => (
|
|
28
|
+
<Flexbox gap={16} horizontal>
|
|
29
|
+
<Wafer size={64} />
|
|
30
|
+
</Flexbox>
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Text
|
|
35
|
+
|
|
36
|
+
<DocsPreview>{<Wafer.Text size={48} />}</DocsPreview>
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
import { Wafer } from '@lobehub/icons';
|
|
40
|
+
|
|
41
|
+
export default () => <Wafer.Text size={48} />;
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Combine
|
|
45
|
+
|
|
46
|
+
<DocsPreview>
|
|
47
|
+
{
|
|
48
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
49
|
+
<Wafer.Combine size={64} />
|
|
50
|
+
</Flexbox>
|
|
51
|
+
}
|
|
52
|
+
</DocsPreview>
|
|
53
|
+
|
|
54
|
+
```tsx
|
|
55
|
+
import { Wafer } from '@lobehub/icons';
|
|
56
|
+
import { Flexbox } from '@lobehub/ui';
|
|
57
|
+
|
|
58
|
+
export default () => (
|
|
59
|
+
<Flexbox gap={16} align={'flex-start'}>
|
|
60
|
+
<Wafer.Combine size={64} />
|
|
61
|
+
</Flexbox>
|
|
62
|
+
);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Avatars
|
|
66
|
+
|
|
67
|
+
<DocsPreview>
|
|
68
|
+
{
|
|
69
|
+
<Flexbox gap={16} horizontal>
|
|
70
|
+
<Wafer.Avatar size={64} />
|
|
71
|
+
<Wafer.Avatar size={64} shape={'square'} />
|
|
72
|
+
</Flexbox>
|
|
73
|
+
}
|
|
74
|
+
</DocsPreview>
|
|
75
|
+
|
|
76
|
+
```tsx
|
|
77
|
+
import { Wafer } from '@lobehub/icons';
|
|
78
|
+
import { Flexbox } from '@lobehub/ui';
|
|
79
|
+
|
|
80
|
+
export default () => (
|
|
81
|
+
<Flexbox gap={16} horizontal>
|
|
82
|
+
<Wafer.Avatar size={64} />
|
|
83
|
+
<Wafer.Avatar size={64} shape={'square'} />
|
|
84
|
+
</Flexbox>
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Colors
|
|
89
|
+
|
|
90
|
+
<DocsPreview>
|
|
91
|
+
{
|
|
92
|
+
<Flexbox gap={16} horizontal>
|
|
93
|
+
<ColorPreview color={Wafer.colorPrimary} />
|
|
94
|
+
</Flexbox>
|
|
95
|
+
}
|
|
96
|
+
</DocsPreview>
|
|
97
|
+
|
|
98
|
+
```tsx
|
|
99
|
+
import { Wafer } from '@lobehub/icons';
|
|
100
|
+
import { Flexbox } from '@lobehub/ui';
|
|
101
|
+
|
|
102
|
+
import ColorPreview from '../components/ColorPreview';
|
|
103
|
+
|
|
104
|
+
export default () => (
|
|
105
|
+
<Flexbox gap={16} horizontal>
|
|
106
|
+
<ColorPreview color={Wafer.colorPrimary} />
|
|
107
|
+
</Flexbox>
|
|
108
|
+
);
|
|
109
|
+
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TITLE = "Wafer";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.75;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.1;
|
|
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 = 'Wafer';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.75;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.1;
|
|
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: "M2.529 3.269c.868 0 1.563-.692 1.563-1.556S3.397.156 2.529.156C1.66.156.966.848.966 1.713c0 .864.694 1.556 1.563 1.556m.551 7.034c1.332-.317 2.17-1.643 1.853-2.968-.319-1.326-1.65-2.162-2.982-1.845C.62 5.807-.219 7.133.1 8.46a2.463 2.463 0 0 0 2.981 1.844M3.08 22.668c1.332-.318 2.17-1.643 1.853-2.97a2.486 2.486 0 0 0-2.982-1.844C.62 18.171-.219 19.497.1 20.823s1.65 2.162 2.981 1.845m.986-8.591c0-.865-.695-1.556-1.563-1.556-.869 0-1.563.691-1.563 1.556 0 .864.694 1.556 1.563 1.556.868 0 1.563-.691 1.563-1.556m7.988-.172a2.484 2.484 0 0 0-2.489 2.479c0 1.354 1.1 2.479 2.49 2.479a2.485 2.485 0 0 0 2.489-2.48c-.03-1.382-1.13-2.478-2.49-2.478m0 7.089c-.868 0-1.563.692-1.563 1.557 0 .864.695 1.556 1.563 1.556.869 0 1.563-.692 1.563-1.556-.029-.865-.723-1.557-1.563-1.557m0-9.251c.869 0 1.563-.692 1.563-1.557 0-.864-.694-1.556-1.563-1.556-.868 0-1.563.692-1.563 1.556s.695 1.557 1.563 1.557m.23-6.196c.84-.144 1.418-.922 1.273-1.758-.144-.836-.926-1.412-1.765-1.268-.84.144-1.419.922-1.274 1.758s.926 1.384 1.766 1.268m11.03 4.093a2.48 2.48 0 0 0 0-3.487c-.955-.951-2.547-.951-3.502 0a2.48 2.48 0 0 0 0 3.487c.955.98 2.547.98 3.502 0m-1.737-6.371c.868 0 1.563-.692 1.563-1.556S22.446.156 21.578.156c-.869 0-1.563.692-1.563 1.557 0 .864.694 1.556 1.563 1.556m0 9.281c-.869 0-1.563.692-1.563 1.556s.694 1.557 1.563 1.557c.868 0 1.563-.692 1.563-1.557-.03-.864-.724-1.556-1.563-1.556m0 6.169c-.869 0-1.563.691-1.563 1.556s.694 1.556 1.563 1.556c.868 0 1.563-.691 1.563-1.556-.03-.864-.724-1.556-1.563-1.556",
|
|
35
|
+
fill: "#fcbc32"
|
|
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,40 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
var _excluded = ["size", "style"];
|
|
5
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import { TITLE } from "../style";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
19
|
+
style = _ref.style,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
height: size,
|
|
25
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 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
|
+
d: "M2.529 3.269c.868 0 1.563-.692 1.563-1.556S3.397.156 2.529.156C1.66.156.966.848.966 1.713c0 .864.694 1.556 1.563 1.556m.551 7.034c1.332-.317 2.17-1.643 1.853-2.968-.319-1.326-1.65-2.162-2.982-1.845C.62 5.807-.219 7.133.1 8.46a2.463 2.463 0 0 0 2.981 1.844M3.08 22.668c1.332-.318 2.17-1.643 1.853-2.97a2.486 2.486 0 0 0-2.982-1.844C.62 18.171-.219 19.497.1 20.823s1.65 2.162 2.981 1.845m.986-8.591c0-.865-.695-1.556-1.563-1.556-.869 0-1.563.691-1.563 1.556 0 .864.694 1.556 1.563 1.556.868 0 1.563-.691 1.563-1.556m7.988-.172a2.484 2.484 0 0 0-2.489 2.479c0 1.354 1.1 2.479 2.49 2.479a2.485 2.485 0 0 0 2.489-2.48c-.03-1.382-1.13-2.478-2.49-2.478m0 7.089c-.868 0-1.563.692-1.563 1.557 0 .864.695 1.556 1.563 1.556.869 0 1.563-.692 1.563-1.556-.029-.865-.723-1.557-1.563-1.557m0-9.251c.869 0 1.563-.692 1.563-1.557 0-.864-.694-1.556-1.563-1.556-.868 0-1.563.692-1.563 1.556s.695 1.557 1.563 1.557m.23-6.196c.84-.144 1.418-.922 1.273-1.758-.144-.836-.926-1.412-1.765-1.268-.84.144-1.419.922-1.274 1.758s.926 1.384 1.766 1.268m11.03 4.093a2.48 2.48 0 0 0 0-3.487c-.955-.951-2.547-.951-3.502 0a2.48 2.48 0 0 0 0 3.487c.955.98 2.547.98 3.502 0m-1.737-6.371c.868 0 1.563-.692 1.563-1.556S22.446.156 21.578.156c-.869 0-1.563.692-1.563 1.557 0 .864.694 1.556 1.563 1.556m0 9.281c-.869 0-1.563.692-1.563 1.556s.694 1.557 1.563 1.557c.868 0 1.563-.692 1.563-1.557-.03-.864-.724-1.556-1.563-1.556m0 6.169c-.869 0-1.563.691-1.563 1.556s.694 1.556 1.563 1.556c.868 0 1.563-.691 1.563-1.556-.03-.864-.724-1.556-1.563-1.556"
|
|
37
|
+
})]
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
export default Icon;
|