rk-rich-editor 1.0.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/README.md +99 -0
- package/dist/RK Editor.png +0 -0
- package/dist/RK Editor.svg +55 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/placeholder.svg +1 -0
- package/dist/rk-editor.es.js +19475 -0
- package/dist/rk-editor.umd.js +489 -0
- package/dist/robots.txt +14 -0
- package/package.json +107 -0
package/README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
A powerful, highly-configurable Rich Text Editor for React applications, featuring an extended toolbar, HTML source mode, and advanced plugins like Mentions and Variables.
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/rk-rich-editor)
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install the package via npm, yarn, or pnpm:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install rk-rich-editor
|
|
11
|
+
# or
|
|
12
|
+
yarn add rk-rich-editor
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
- **Visual & HTML Modes**: Switch seamlessly between a WYSIWYG visual editor and a powerful Monaco-based HTML source editor.
|
|
17
|
+
- **Customizable Tools**: Pick and choose exactly which formatting buttons and tools to show in the toolbar.
|
|
18
|
+
- **Variables & Mentions**: Built-in support for mentioning users and inserting variables, with fully customizable trigger characters.
|
|
19
|
+
- **Media & Tables**: Easily insert images, iframe media wrappers, and complex tables.
|
|
20
|
+
|
|
21
|
+
## Usage Example
|
|
22
|
+
|
|
23
|
+
Here is a complete example of how to use `<RkEditor />` in your React project, including how to configure specific tools and custom trigger characters like `@` for mentions and `$` for variables.
|
|
24
|
+
|
|
25
|
+
```tsx
|
|
26
|
+
import React, { useState } from 'react';
|
|
27
|
+
import { RkEditor } from 'rk-rich-editor';
|
|
28
|
+
import 'rk-rich-editor/dist/style.css'; // Don't forget to import the CSS block!
|
|
29
|
+
|
|
30
|
+
export default function MyEditor() {
|
|
31
|
+
const [content, setContent] = useState('<p>Hello world!</p>');
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<div style={{ padding: '20px', maxWidth: '800px', margin: '0 auto' }}>
|
|
35
|
+
<h2>My Custom Editor</h2>
|
|
36
|
+
|
|
37
|
+
<RkEditor
|
|
38
|
+
initialContent={content}
|
|
39
|
+
onContentChange={(newContent) => setContent(newContent)}
|
|
40
|
+
|
|
41
|
+
// Configuration Object
|
|
42
|
+
config={{
|
|
43
|
+
minHeight: 400,
|
|
44
|
+
placeholder: 'Start typing... Use @ to tag users and $ to insert a variable!',
|
|
45
|
+
|
|
46
|
+
// 1. Pick exactly which tools to show in the toolbar
|
|
47
|
+
allowedTools: [
|
|
48
|
+
'modeSwitch', // Allow switching to HTML mode
|
|
49
|
+
'bold', 'italic', 'underline',
|
|
50
|
+
'bulletList', 'orderedList',
|
|
51
|
+
'heading', 'textColor', 'link', 'image'
|
|
52
|
+
],
|
|
53
|
+
|
|
54
|
+
// 2. Custom Trigger Characters
|
|
55
|
+
mentionTrigger: '@',
|
|
56
|
+
variableTrigger: '$',
|
|
57
|
+
|
|
58
|
+
// 3. Define the options that appear when triggering
|
|
59
|
+
mentions: [
|
|
60
|
+
{ id: '1', label: 'JohnDoe', description: 'Admin' },
|
|
61
|
+
{ id: '2', label: 'JaneSmith', description: 'Editor' }
|
|
62
|
+
],
|
|
63
|
+
variables: [
|
|
64
|
+
{ id: 'company_name', label: 'Company Name' },
|
|
65
|
+
{ id: 'current_date', label: 'Today Date' }
|
|
66
|
+
]
|
|
67
|
+
}}
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<div style={{ marginTop: '20px' }}>
|
|
71
|
+
<h3>Raw HTML Output:</h3>
|
|
72
|
+
<pre>{content}</pre>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## API Reference
|
|
80
|
+
|
|
81
|
+
### Component Props
|
|
82
|
+
|
|
83
|
+
| Prop | Type | Default | Description |
|
|
84
|
+
|------|------|---------|-------------|
|
|
85
|
+
| `initialContent` | `string` | `''` | Initial HTML string. |
|
|
86
|
+
| `onContentChange`| `(content: string) => void` | `undefined` | Callback fired when the editor content changes. |
|
|
87
|
+
| `config` | `EditorConfig` | `{}` | Advanced configuration object (see below). |
|
|
88
|
+
| `showMenuBar` | `boolean` | `true` | Shows or hides the top File/Edit/View menu bar. |
|
|
89
|
+
| `className` | `string` | `undefined` | Custom CSS class for the wrapper. |
|
|
90
|
+
|
|
91
|
+
### `EditorConfig` Options
|
|
92
|
+
|
|
93
|
+
- `allowedTools`: Array of strings defining which extended toolbar items to render (e.g. `['bold', 'italic', 'heading', 'image', 'history']`).
|
|
94
|
+
- `mentionTrigger`: String character(s) to open the mentions dropdown (default: `@`).
|
|
95
|
+
- `variableTrigger`: String character(s) to open the variables dropdown (default: `{{`).
|
|
96
|
+
- `mentions`: Array of `MentionItem` objects.
|
|
97
|
+
- `variables`: Array of `VariableItem` objects.
|
|
98
|
+
- `minHeight` / `maxHeight`: Number (in pixels) defining height constraints.
|
|
99
|
+
- `placeholder`: String to show when the editor is empty.
|
|
Binary file
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="513" height="474">
|
|
3
|
+
<path d="M0 0 C169.29 0 338.58 0 513 0 C513 156.09 513 312.18 513 473 C343.71 473 174.42 473 0 473 C0 316.91 0 160.82 0 0 Z " fill="#FAFBF8" transform="translate(0,0)"/>
|
|
4
|
+
<path d="M0 0 C114 0 114 0 119 2 C120.216875 2.0825 121.43375 2.165 122.6875 2.25 C128.30010028 2.87011876 132.41806957 5.88646271 137 9 C137.88945312 9.59039062 138.77890625 10.18078125 139.6953125 10.7890625 C156.43889877 22.38077607 167.78512878 37.34880282 172.54199219 57.26977539 C173.40623907 62.4216266 173.26514794 67.64005289 173.29516602 72.8527832 C173.3065889 74.2265867 173.32688385 75.60034932 173.35668945 76.97387695 C173.61418644 88.8777182 171.56475319 98.93140391 167 110 C166.34 110 165.68 110 165 110 C164.814375 110.804375 164.62875 111.60875 164.4375 112.4375 C162.45355609 117.35423056 159.35400595 120.93951194 156 125 C155.55914062 125.59941406 155.11828125 126.19882813 154.6640625 126.81640625 C151.49045318 130.96133236 147.63227665 133.90091579 143.375 136.875 C142.81216309 137.26880859 142.24932617 137.66261719 141.66943359 138.06835938 C138.84995328 139.97198951 136.39479164 141.48664126 133 142 C137.64614384 151.64269518 142.62763547 160.96528775 148.1171875 170.15234375 C151.53715004 175.87758759 154.86055759 181.65786386 158.1875 187.4375 C158.817771 188.53167236 159.44804199 189.62584473 160.09741211 190.75317383 C161.3986074 193.01210918 162.69963037 195.27114379 164.00048828 197.53027344 C166.0374428 201.06633142 168.07897036 204.59973784 170.12109375 208.1328125 C170.79860175 209.30540966 171.47609218 210.47801696 172.15356445 211.65063477 C173.4315359 213.86235625 174.70998912 216.07379946 175.98901367 218.28491211 C177.66490876 221.18678979 179.33441796 224.09219285 181 227 C181.50756836 227.88155762 182.01513672 228.76311523 182.53808594 229.67138672 C182.99731445 230.47979004 183.45654297 231.28819336 183.9296875 232.12109375 C184.33171387 232.82548584 184.73374023 233.52987793 185.14794922 234.25561523 C186 236 186 236 186 238 C169.17 238 152.34 238 135 238 C131.04 230.74 127.08 223.48 123 216 C118.58209556 208.24107222 118.58209556 208.24107222 114.140625 200.49609375 C110.11206368 193.47170587 106.17533594 186.39577785 102.24658203 179.31518555 C97.30706042 170.44935856 92.15137493 161.75733737 87 153 C73.14 152.67 59.28 152.34 45 152 C45 180.38 45 208.76 45 238 C30.15 238 15.3 238 0 238 C0 159.46 0 80.92 0 0 Z " fill="#12364F" transform="translate(95,94)"/>
|
|
5
|
+
<path d="M0 0 C1.1471196 0.00848969 2.2942392 0.01697937 3.47612 0.02572632 C7.13478067 0.05927444 10.79122586 0.1345642 14.44921875 0.2109375 C16.93160877 0.24103492 19.41403337 0.2684111 21.89648438 0.29296875 C27.97731656 0.35907067 34.05685938 0.45943611 40.13671875 0.5859375 C38.72092079 3.52101744 37.2764093 5.73800198 35.07421875 8.1484375 C32.27842206 11.27213628 29.58795102 14.45330257 26.94921875 17.7109375 C23.41126553 22.06255969 19.79779223 26.33826086 16.13671875 30.5859375 C11.88894236 35.51898905 7.7122541 40.49913768 3.60546875 45.55078125 C-4.20455099 55.15265678 -12.0786183 64.69934764 -20.10107422 74.12451172 C-23.39845673 78.00874762 -26.58439973 81.97008927 -29.74609375 85.96484375 C-32.82172218 89.77249444 -35.9976073 93.49343532 -39.18359375 97.20898438 C-41.229809 99.60505539 -43.11265934 101.96000463 -44.86328125 104.5859375 C-43.89283792 113.6558502 -34.14201827 123.42801513 -28.9140625 130.60668945 C-23.84387148 137.57602668 -18.9535329 144.65793282 -14.09814453 151.77783203 C-8.46154457 160.03102684 -2.72522656 168.2149104 3.01171875 176.3984375 C7.69399063 183.07758816 12.34313638 189.77755166 16.95263672 196.50708008 C20.64604297 201.89111108 24.38734426 207.24077162 28.13671875 212.5859375 C32.61171303 218.97027086 37.0796443 225.35920838 41.51171875 231.7734375 C41.98222656 232.45083984 42.45273437 233.12824219 42.9375 233.82617188 C46.13671875 238.46941489 46.13671875 238.46941489 46.13671875 239.5859375 C38.85991009 239.81463243 31.5840311 239.97194489 24.30444336 240.08032227 C21.82980727 240.12551001 19.35541051 240.18687529 16.8815918 240.26489258 C13.31889825 240.3744148 9.75938543 240.42518003 6.1953125 240.46484375 C5.09400497 240.51129532 3.99269745 240.55774689 2.85801697 240.60560608 C-4.6721905 240.61052547 -4.6721905 240.61052547 -8.03175354 237.72059631 C-9.844914 235.42449201 -11.37551039 233.10279711 -12.86328125 230.5859375 C-13.55784424 229.59505127 -14.25240723 228.60416504 -14.96801758 227.58325195 C-15.5380249 226.714021 -16.10803223 225.84479004 -16.6953125 224.94921875 C-17.34951172 223.95857422 -18.00371094 222.96792969 -18.67773438 221.94726562 C-19.33708984 220.94115234 -19.99644531 219.93503906 -20.67578125 218.8984375 C-24.90061915 212.46239091 -29.18290248 206.09050701 -33.6875 199.84765625 C-39.78784036 191.38411368 -45.51158097 182.67743873 -51.25878906 173.97216797 C-56.54786687 165.96812906 -61.8892039 158.02319533 -67.51586914 150.25134277 C-70.05197304 146.74766302 -72.48469579 143.19716122 -74.86328125 139.5859375 C-78.3875477 141.03892454 -80.08158195 142.81368667 -82.36328125 145.8359375 C-86.3291768 150.95948617 -90.4949753 155.86963314 -94.73828125 160.76269531 C-95.22941406 161.33084961 -95.72054687 161.89900391 -96.2265625 162.484375 C-96.88072144 163.23726807 -96.88072144 163.23726807 -97.5480957 164.00537109 C-97.98210693 164.52695801 -98.41611816 165.04854492 -98.86328125 165.5859375 C-99.37648926 166.1366391 -99.88969727 166.6873407 -100.41845703 167.25473022 C-102.3832806 170.42495048 -102.26221905 172.74782123 -102.2956543 176.46582031 C-102.30584595 177.14915436 -102.3160376 177.8324884 -102.32653809 178.53652954 C-102.35664962 180.78745746 -102.36593078 183.0379597 -102.375 185.2890625 C-102.39184813 186.85277722 -102.40999856 188.41647842 -102.42939758 189.98016357 C-102.47688947 194.09004488 -102.5067039 198.19987131 -102.53283691 202.30993652 C-102.56264664 206.50621374 -102.60917553 210.70230193 -102.65429688 214.8984375 C-102.74032071 223.12751128 -102.80766989 231.35660227 -102.86328125 239.5859375 C-104.18328125 239.5859375 -105.50328125 239.5859375 -106.86328125 239.5859375 C-107.21519531 238.93906982 -107.56710937 238.29220215 -107.9296875 237.62573242 C-117.95199579 219.22478749 -128.1344401 200.93378957 -138.7421875 182.86328125 C-139.25644287 181.97535889 -139.77069824 181.08743652 -140.30053711 180.17260742 C-141.33120508 178.46663537 -142.42070844 176.79468616 -143.56860352 175.1652832 C-148.3399829 168.18759195 -148.80868412 162.23465543 -148.67578125 153.8984375 C-148.7231543 152.12243164 -148.7231543 152.12243164 -148.77148438 150.31054688 C-148.73847326 141.89271341 -148.73847326 141.89271341 -146.37060547 138.35717773 C-144.61716996 136.62399028 -142.80109554 135.10659283 -140.86328125 133.5859375 C-131.35249661 122.0937394 -126.05047816 108.96259451 -122.86328125 94.5859375 C-122.68821045 93.80839111 -122.51313965 93.03084473 -122.33276367 92.22973633 C-117.90796401 67.31233877 -124.42923808 42.61164137 -138.68164062 22.14892578 C-140.95011766 19.14834934 -143.63472314 16.54526836 -146.4296875 14.0390625 C-147.86328125 11.5859375 -147.86328125 11.5859375 -147.86328125 1.5859375 C-133.01328125 1.5859375 -118.16328125 1.5859375 -102.86328125 1.5859375 C-102.86328125 37.2259375 -102.86328125 72.8659375 -102.86328125 109.5859375 C-98.69539828 105.43847739 -98.69539828 105.43847739 -94.91796875 101.0546875 C-94.40387451 100.41547363 -93.88978027 99.77625977 -93.36010742 99.11767578 C-92.82490479 98.44720215 -92.28970215 97.77672852 -91.73828125 97.0859375 C-87.57025033 91.90662909 -83.36550301 86.76878833 -79.05078125 81.7109375 C-75.33224526 77.3457854 -71.70584682 72.92084627 -68.140625 68.4296875 C-60.81639339 59.28382024 -53.34540806 50.25652914 -45.67578125 41.3984375 C-41.29367683 36.3355058 -37.12119698 31.14500745 -33.02026367 25.8527832 C-28.33431135 19.8386227 -23.36904408 14.07411273 -18.35791016 8.33007812 C-16.66114436 6.44410554 -16.66114436 6.44410554 -14.93432617 3.42529297 C-11.08176766 -1.16260202 -5.5256936 -0.15393438 0 0 Z " fill="#13364F" transform="translate(402.86328125,92.4140625)"/>
|
|
6
|
+
<path d="M0 0 C9.466875 -0.061875 18.93375 -0.12375 28.6875 -0.1875 C31.66998779 -0.21481201 34.65247559 -0.24212402 37.7253418 -0.27026367 C40.09162999 -0.27902624 42.45792271 -0.28667072 44.82421875 -0.29296875 C46.05096313 -0.30831665 47.27770752 -0.32366455 48.54162598 -0.33947754 C49.71858032 -0.33984009 50.89553467 -0.34020264 52.1081543 -0.34057617 C53.63704536 -0.35056892 53.63704536 -0.35056892 55.19682312 -0.36076355 C58.46211992 0.05947396 60.31227681 1.14174097 63 3 C63.66902344 3.43699219 64.33804688 3.87398437 65.02734375 4.32421875 C72.21210321 9.45199186 78.28445003 16.42372513 80.5625 25.15625 C81.13515523 28.87850902 81.18419637 32.55627282 81.1875 36.3125 C81.19974609 37.03373047 81.21199219 37.75496094 81.22460938 38.49804688 C81.25342303 49.20712126 77.54527967 59.24512923 70 67 C60.8843365 73.98518276 53.72408978 75.29562187 42.3828125 75.1953125 C40.77007446 75.19229126 40.77007446 75.19229126 39.12475586 75.18920898 C35.12479358 75.17877847 31.12489231 75.15085595 27.125 75.125 C18.17375 75.08375 9.2225 75.0425 0 75 C0 50.25 0 25.5 0 0 Z " fill="#FBFCFB" transform="translate(141,132)"/>
|
|
7
|
+
<path d="M0 0 C7.89373269 2.79071358 14.36223834 7.51305305 18.0234375 15.12890625 C21.36335268 23.93831556 20.67983018 32.390586 17 41 C13.138508 47.88091409 7.92965065 51.53517468 1 55 C-6.1088955 55.52360137 -13.83083447 56.09012957 -20 52 C-22.63953552 49.5396922 -24.86410306 46.90380274 -27 44 C-27.71800781 43.09636719 -28.43601562 42.19273437 -29.17578125 41.26171875 C-31.46833098 37.1626202 -31.57803137 34.23045751 -31.4375 29.625 C-31.42428711 28.86985107 -31.41107422 28.11470215 -31.39746094 27.33666992 C-31.22255606 21.95251463 -30.54561045 17.81847692 -28 13 C-27.46375 11.96875 -26.9275 10.9375 -26.375 9.875 C-19.22571552 1.220603 -10.88972339 -1.25280004 0 0 Z " fill="#1C3B51" transform="translate(331,368)"/>
|
|
8
|
+
<path d="M0 0 C30.91569767 0 30.91569767 0 40.37109375 9.03515625 C45.9689586 15.78749682 45.75302596 24.6424724 45 33 C43.65288972 40.23313268 39.01656081 46.0345817 33.1640625 50.35546875 C22.95508272 56.52989538 11.95090254 54 0 54 C0 36.18 0 18.36 0 0 Z " fill="#264458" transform="translate(179,369)"/>
|
|
9
|
+
<path d="M0 0 C4.455 -0.12375 8.91 -0.2475 13.5 -0.375 C14.88896484 -0.42962402 16.27792969 -0.48424805 17.70898438 -0.54052734 C24.68231696 -0.63408186 29.23708735 -0.28939352 34.56445312 4.42602539 C38.54517959 8.79060762 39.55968488 12.93055002 39.35546875 18.6875 C38.59140668 23.65810157 36.49628835 27.66996591 32.75 31 C32.1725 31.33 31.595 31.66 31 32 C31.76496491 36.84477779 34.71520218 40.83082207 37.20507812 44.95507812 C40 49.69077758 40 49.69077758 40 53 C36.37 53 32.74 53 29 53 C28.38253906 51.71222656 27.76507813 50.42445313 27.12890625 49.09765625 C26.27519424 47.41837658 25.41962745 45.74003895 24.5625 44.0625 C24.16095703 43.21236328 23.75941406 42.36222656 23.34570312 41.48632812 C22.92353516 40.67744141 22.50136719 39.86855469 22.06640625 39.03515625 C21.5086853 37.91185913 21.5086853 37.91185913 20.93969727 36.76586914 C18.3184896 34.03227071 18.3184896 34.03227071 10 34 C10 40.27 10 46.54 10 53 C6.7 53 3.4 53 0 53 C0 35.51 0 18.02 0 0 Z " fill="#1B3C52" transform="translate(361,369)"/>
|
|
10
|
+
<path d="M0 0 C11.88 0 23.76 0 36 0 C36 2.97 36 5.94 36 9 C27.75 9 19.5 9 11 9 C11 12.96 11 16.92 11 21 C18.26 21 25.52 21 33 21 C33 24.3 33 27.6 33 31 C25.74 31 18.48 31 11 31 C11 35.29 11 39.58 11 44 C19.58 44 28.16 44 37 44 C37 46.97 37 49.94 37 53 C24.79 53 12.58 53 0 53 C0 35.51 0 18.02 0 0 Z " fill="#213F54" transform="translate(132,369)"/>
|
|
11
|
+
<path d="M0 0 C13.86 0 27.72 0 42 0 C42 2.97 42 5.94 42 9 C37.05 9 32.1 9 27 9 C27 23.85 27 38.7 27 54 C23.37 54 19.74 54 16 54 C16 39.15 16 24.3 16 9 C10.72 9 5.44 9 0 9 C0 6.03 0 3.06 0 0 Z " fill="#234055" transform="translate(253,369)"/>
|
|
12
|
+
<path d="M0 0 C3.85976713 3.09914216 6.01866255 5.89722806 6.86328125 10.87109375 C7.56237732 18.09508649 7.20082408 23.87986272 2.86328125 29.87109375 C0.23273881 32.87742797 -1.58667751 34.58994662 -5.5703125 35.3125 C-9.6629715 35.50101772 -12.38143651 35.28157323 -16.01171875 33.30859375 C-21.43835425 27.08392362 -22.70334061 23.03712257 -22.39453125 14.8125 C-21.95246269 9.76889959 -21.43873657 5.56371691 -18.26171875 1.43359375 C-13.41808401 -2.12790238 -5.3281023 -2.81503028 0 0 Z " fill="#F4F6F5" transform="translate(333.13671875,379.12890625)"/>
|
|
13
|
+
<path d="M0 0 C15.55555556 0 15.55555556 0 20.546875 4.296875 C23.99503076 8.33826186 24.29545921 11.59235393 24.3125 16.875 C24.32925781 18.06867188 24.34601563 19.26234375 24.36328125 20.4921875 C23.65293765 27.35120415 20.89838917 30.10161083 16 35 C10.72 35 5.44 35 0 35 C0 23.45 0 11.9 0 0 Z " fill="#F1F3F2" transform="translate(189,378)"/>
|
|
14
|
+
<path d="M0 0 C7.59 0 15.18 0 23 0 C23 0.33 23 0.66 23 1 C17.39 1 11.78 1 6 1 C6.33 2.98 6.66 4.96 7 7 C7.33 6.67 7.66 6.34 8 6 C10.35313555 5.92728259 12.70833668 5.91629132 15.0625 5.9375 C16.35285156 5.94652344 17.64320313 5.95554687 18.97265625 5.96484375 C19.97167969 5.97644531 20.97070312 5.98804688 22 6 C22 6.33 22 6.66 22 7 C15.565 7.495 15.565 7.495 9 8 C8.67 19.88 8.34 31.76 8 44 C12.62 44 17.24 44 22 44 C23.98 44.66 25.96 45.32 28 46 C28 46.66 28 47.32 28 48 C28.66 48.33 29.32 48.66 30 49 C26.60136617 51.04348237 23.85579897 51.29835885 19.921875 51.4140625 C18.87612305 51.44967285 17.83037109 51.4852832 16.75292969 51.52197266 C15.43196289 51.55597168 14.11099609 51.5899707 12.75 51.625 C8.5425 51.74875 4.335 51.8725 0 52 C0 34.84 0 17.68 0 0 Z " fill="#0B3047" transform="translate(180,370)"/>
|
|
15
|
+
<path d="M0 0 C3.3 0 6.6 0 10 0 C10 17.49 10 34.98 10 53 C6.7 53 3.4 53 0 53 C0 35.51 0 18.02 0 0 Z " fill="#0F3048" transform="translate(235,369)"/>
|
|
16
|
+
<path d="M0 0 C4.29 0 8.58 0 13 0 C13 0.66 13 1.32 13 2 C13.928125 2.1546875 13.928125 2.1546875 14.875 2.3125 C17 3 17 3 19 6 C19.50835292 9.8973724 19.32962183 11.50556726 17.125 14.8125 C14.48136185 17.53389222 13.76286254 17.97548642 9.9609375 18.09765625 C6.640625 18.06510417 3.3203125 18.03255208 0 18 C0 12.06 0 6.12 0 0 Z " fill="#E8EDEB" transform="translate(371,377)"/>
|
|
17
|
+
<path d="M0 0 C7.59 0 15.18 0 23 0 C23 0.33 23 0.66 23 1 C15.74 1 8.48 1 1 1 C1 17.17 1 33.34 1 50 C2.32 49.34 3.64 48.68 5 48 C5.62923969 45.35838054 6.01298513 43.05129295 6.25 40.375 C6.32734375 39.66859375 6.4046875 38.9621875 6.484375 38.234375 C6.67281611 36.4912947 6.83858869 34.74579076 7 33 C7.33 33 7.66 33 8 33 C8 36.63 8 40.26 8 44 C8.94101563 43.97679687 9.88203125 43.95359375 10.8515625 43.9296875 C12.71941406 43.90261719 12.71941406 43.90261719 14.625 43.875 C15.85476562 43.85179687 17.08453125 43.82859375 18.3515625 43.8046875 C21.94316041 43.9969572 24.66661175 44.69741444 28 46 C28 46.66 28 47.32 28 48 C28.66 48.33 29.32 48.66 30 49 C26.60136617 51.04348237 23.85579897 51.29835885 19.921875 51.4140625 C18.87612305 51.44967285 17.83037109 51.4852832 16.75292969 51.52197266 C15.43196289 51.55597168 14.11099609 51.5899707 12.75 51.625 C8.5425 51.74875 4.335 51.8725 0 52 C0 34.84 0 17.68 0 0 Z " fill="#0A283E" transform="translate(180,370)"/>
|
|
18
|
+
<path d="M0 0 C-1.75 4.875 -1.75 4.875 -4 6 C-6.2072923 6.07092842 -8.41667452 6.08415025 -10.625 6.0625 C-11.81351562 6.05347656 -13.00203125 6.04445313 -14.2265625 6.03515625 C-15.14179688 6.02355469 -16.05703125 6.01195312 -17 6 C-17 5.34 -17 4.68 -17 4 C-18.65 3.67 -20.3 3.34 -22 3 C-21.375 1.0625 -21.375 1.0625 -20 -1 C-13.2917876 -2.91663211 -6.44100601 -2.5764024 0 0 Z " fill="#153348" transform="translate(336,417)"/>
|
|
19
|
+
<path d="M0 0 C3.3 0 6.6 0 10 0 C10 17.49 10 34.98 10 53 C6.7 53 3.4 53 0 53 C0 52.67 0 52.34 0 52 C2.97 51.505 2.97 51.505 6 51 C6 50.01 6 49.02 6 48 C6.495 47.505 6.495 47.505 7 47 C7.12221525 45.55815707 7.17772758 44.11056856 7.20532227 42.66381836 C7.22526749 41.7429393 7.24521271 40.82206024 7.26576233 39.87327576 C7.29083107 38.37172691 7.29083107 38.37172691 7.31640625 36.83984375 C7.33718735 35.82024063 7.35796844 34.80063751 7.37937927 33.75013733 C7.44498852 30.47932952 7.50381234 27.20843863 7.5625 23.9375 C7.60567442 21.72590272 7.64928834 19.51431397 7.69335938 17.30273438 C7.8006814 11.86857849 7.90242623 6.43433918 8 1 C5.36 1 2.72 1 0 1 C0 0.67 0 0.34 0 0 Z " fill="#455867" transform="translate(235,369)"/>
|
|
20
|
+
<path d="M0 0 C0.8125 1.640625 0.8125 1.640625 1 4 C-0.60093717 6.12245458 -2.1384466 7.88251053 -4 9.75 C-5.02180962 10.81156114 -6.04264195 11.87406383 -7.0625 12.9375 C-7.56523437 13.45570313 -8.06796875 13.97390625 -8.5859375 14.5078125 C-11.05144463 17.1095355 -13.30241612 19.89197183 -15.5625 22.671875 C-17 24 -17 24 -20 24 C-19.47792969 23.44054687 -18.95585937 22.88109375 -18.41796875 22.3046875 C-11.86955124 15.17138506 -5.90891465 7.66502199 0 0 Z " fill="#D2D8DB" transform="translate(398,147)"/>
|
|
21
|
+
<path d="M0 0 C0.66 0.99 1.32 1.98 2 3 C-2.625 8.875 -2.625 8.875 -6 10 C-7.1446875 11.2684375 -7.1446875 11.2684375 -8.3125 12.5625 C-11 15 -11 15 -14.3125 15.3125 C-15.6428125 15.1578125 -15.6428125 15.1578125 -17 15 C-17.33 15.66 -17.66 16.32 -18 17 C-18.66 16.34 -19.32 15.68 -20 15 C-19.12988281 14.63648438 -19.12988281 14.63648438 -18.2421875 14.265625 C-10.119084 10.78046508 -4.87215106 7.45152515 0 0 Z " fill="#425463" transform="translate(216,191)"/>
|
|
22
|
+
<path d="M0 0 C2.97 0 5.94 0 9 0 C9 1.98 9 3.96 9 6 C5.04 6 1.08 6 -3 6 C-3.33 5.34 -3.66 4.68 -4 4 C-1.69 4 0.62 4 3 4 C3.33 3.01 3.66 2.02 4 1 C2.68 0.67 1.36 0.34 0 0 Z " fill="#10334E" transform="translate(158,371)"/>
|
|
23
|
+
<path d="M0 0 C0.99 0 1.98 0 3 0 C1.43754389 3.83511953 -1.10365784 6.10365784 -4 9 C-4.33 9.721875 -4.66 10.44375 -5 11.1875 C-6.42996439 13.77931046 -8.26113837 14.13509633 -11 15 C-9.37331769 11.3069915 -7.08687593 8.38370805 -4.5625 5.25 C-3.78003906 4.26515625 -2.99757813 3.2803125 -2.19140625 2.265625 C-1.46824219 1.51796875 -0.74507813 0.7703125 0 0 Z " fill="#2B414F" transform="translate(384,101)"/>
|
|
24
|
+
<path d="M0 0 C0.33 0.99 0.66 1.98 1 3 C1.66 3 2.32 3 3 3 C3 5.64 3 8.28 3 11 C2.01 11 1.02 11 0 11 C-2.10770759 8.11165997 -3 6.61537605 -3 3 C-1.5 1.3125 -1.5 1.3125 0 0 Z " fill="#122E44" transform="translate(296,320)"/>
|
|
25
|
+
<path d="M0 0 C2 2 2 2 2.1953125 4.6015625 C2.17210937 5.59929687 2.14890625 6.59703125 2.125 7.625 C2.10695312 8.62789063 2.08890625 9.63078125 2.0703125 10.6640625 C2.03550781 11.82035156 2.03550781 11.82035156 2 13 C0.68 12.34 -0.64 11.68 -2 11 C-2 7.7 -2 4.4 -2 1 C-1.34 0.67 -0.68 0.34 0 0 Z " fill="#0D2C41" transform="translate(221,386)"/>
|
|
26
|
+
<path d="M0 0 C0.33 0.66 0.66 1.32 1 2 C-0.3125 4.625 -0.3125 4.625 -2 7 C-2.66 7 -3.32 7 -4 7 C-4.226875 7.78375 -4.45375 8.5675 -4.6875 9.375 C-6 12 -6 12 -8.625 13.3125 C-9.40875 13.539375 -10.1925 13.76625 -11 14 C-8.93687686 10.33584124 -6.64127824 7.29451872 -3.8125 4.1875 C-3.09707031 3.39730469 -2.38164062 2.60710937 -1.64453125 1.79296875 C-1.10183594 1.20128906 -0.55914062 0.60960937 0 0 Z " fill="#D0D7DB" transform="translate(318,241)"/>
|
|
27
|
+
<path d="M0 0 C4 2 4 2 5.25 4.625 C5.4975 5.40875 5.745 6.1925 6 7 C4.35 5.68 2.7 4.36 1 3 C-0.65 4.98 -2.3 6.96 -4 9 C-4.99 8.67 -5.98 8.34 -7 8 C-4.69 5.36 -2.38 2.72 0 0 Z " fill="#C0CACE" transform="translate(326,231)"/>
|
|
28
|
+
<path d="M0 0 C0.33 0 0.66 0 1 0 C1.92017937 8.77578475 1.92017937 8.77578475 -0.3359375 11.77734375 C-2 13.125 -2 13.125 -5 15 C-3.33333333 10 -1.66666667 5 0 0 Z " fill="#233C4F" transform="translate(222,176)"/>
|
|
29
|
+
<path d="M0 0 C1.34256904 4.36334936 1.02789735 8.60513243 0.9375 13.125 C0.99194366 15.62940839 1.26798166 17.6209404 2 20 C1.01 20.33 0.02 20.66 -1 21 C-2.32859782 17.13318546 -1.93166472 13.37697461 -1.625 9.375 C-1.58117187 8.694375 -1.53734375 8.01375 -1.4921875 7.3125 C-1.13317252 2.26634505 -1.13317252 2.26634505 0 0 Z " fill="#596E7C" transform="translate(311,387)"/>
|
|
30
|
+
<path d="M0 0 C0.33 0.99 0.66 1.98 1 3 C-0.3125 5.1875 -0.3125 5.1875 -2 7 C-2.66 7 -3.32 7 -4 7 C-4.33 8.32 -4.66 9.64 -5 11 C-5.99 11 -6.98 11 -8 11 C-6.63629701 8.00779732 -5.05091917 5.70973471 -2.875 3.25 C-2.33617187 2.63640625 -1.79734375 2.0228125 -1.2421875 1.390625 C-0.62730469 0.70226562 -0.62730469 0.70226562 0 0 Z " fill="#324958" transform="translate(372,116)"/>
|
|
31
|
+
<path d="M0 0 C0 2.62113708 -0.31292445 4.50935112 -1 7 C-1.66 7 -2.32 7 -3 7 C-3.66 8.98 -4.32 10.96 -5 13 C-5.85276722 10.58292094 -6.12087895 9.35996549 -5.29296875 6.89453125 C-4.92816406 6.20746094 -4.56335938 5.52039063 -4.1875 4.8125 C-3.83042969 4.11769531 -3.47335937 3.42289063 -3.10546875 2.70703125 C-2 1 -2 1 0 0 Z " fill="#374B5C" transform="translate(263,197)"/>
|
|
32
|
+
<path d="M0 0 C0.33 0 0.66 0 1 0 C1.33 5.28 1.66 10.56 2 16 C0.68 16.33 -0.64 16.66 -2 17 C-1.34 11.39 -0.68 5.78 0 0 Z " fill="#485E6E" transform="translate(213,390)"/>
|
|
33
|
+
<path d="M0 0 C0.99 0 1.98 0 3 0 C3.33 2.97 3.66 5.94 4 9 C2.68 9 1.36 9 0 9 C0 6.03 0 3.06 0 0 Z " fill="#25475D" transform="translate(340,392)"/>
|
|
34
|
+
<path d="M0 0 C0.33 1.32 0.66 2.64 1 4 C-0.43359375 5.921875 -0.43359375 5.921875 -2.4375 7.75 C-3.09621094 8.36359375 -3.75492187 8.9771875 -4.43359375 9.609375 C-5.20896484 10.29773438 -5.20896484 10.29773438 -6 11 C-6.66 10.67 -7.32 10.34 -8 10 C-5.36 6.7 -2.72 3.4 0 0 Z " fill="#C9D0D2" transform="translate(398,147)"/>
|
|
35
|
+
<path d="M0 0 C0.66 0.99 1.32 1.98 2 3 C0.38405168 5.04119788 -1.2856382 7.04072937 -3 9 C-3.66 9 -4.32 9 -5 9 C-3.7508258 5.54074837 -2.32472205 2.85306797 0 0 Z " fill="#32485B" transform="translate(216,191)"/>
|
|
36
|
+
<path d="M0 0 C4.875 4.625 4.875 4.625 6 8 C3.11562221 6.70700306 1.12780579 5.34058637 -1 3 C-0.67 2.01 -0.34 1.02 0 0 Z " fill="#3B5263" transform="translate(307,412)"/>
|
|
37
|
+
<path d="M0 0 C0.66 0.99 1.32 1.98 2 3 C-1.44615385 7.8 -1.44615385 7.8 -4.25 8.8125 C-4.8275 8.874375 -5.405 8.93625 -6 9 C-4.47291037 5.56404834 -2.40072955 2.88087546 0 0 Z " fill="#3D515F" transform="translate(354,137)"/>
|
|
38
|
+
<path d="M0 0 C1.37245106 2.74490212 0.93580311 4.12060581 0 7 C-2.0625 8.3125 -2.0625 8.3125 -4 9 C-3.35455571 5.51460083 -1.89865603 2.97180943 0 0 Z " fill="#344A5A" transform="translate(306,376)"/>
|
|
39
|
+
<path d="M0 0 C0.33 1.32 0.66 2.64 1 4 C-1.4375 6.75 -1.4375 6.75 -4 9 C-4.66 8.67 -5.32 8.34 -6 8 C-4.02 5.36 -2.04 2.72 0 0 Z " fill="#CED5D8" transform="translate(368,183)"/>
|
|
40
|
+
<path d="M0 0 C1 3 1 3 0.375 5.0625 C-1.40232276 7.56690935 -3.1198813 8.09048883 -6 9 C-4.47291037 5.56404834 -2.40072955 2.88087546 0 0 Z " fill="#3E525E" transform="translate(379,107)"/>
|
|
41
|
+
<path d="M0 0 C0 0.66 0 1.32 0 2 C1.65 2 3.3 2 5 2 C4.34 2.66 3.68 3.32 3 4 C0.6171875 3.9765625 0.6171875 3.9765625 -2.125 3.625 C-3.03507812 3.51414062 -3.94515625 3.40328125 -4.8828125 3.2890625 C-5.58148438 3.19367188 -6.28015625 3.09828125 -7 3 C-3.375 0 -3.375 0 0 0 Z " fill="#133044" transform="translate(377,400)"/>
|
|
42
|
+
<path d="M0 0 C0.33 0.66 0.66 1.32 1 2 C-0.25 4.625 -0.25 4.625 -2 7 C-2.99 7 -3.98 7 -5 7 C-3.70700306 4.11562221 -2.34058637 2.12780579 0 0 Z " fill="#394F5F" transform="translate(260,228)"/>
|
|
43
|
+
<path d="M0 0 C2 2 2 2 2.3125 4.9375 C2 8 2 8 -1 11 C-0.67 7.37 -0.34 3.74 0 0 Z " fill="#BBC7CC" transform="translate(388,381)"/>
|
|
44
|
+
<path d="M0 0 C0.99 0.33 1.98 0.66 3 1 C1.49760034 4.61941735 0.17854707 7.7321794 -2 11 C-1.85957123 9.35369672 -1.71250671 7.70795821 -1.5625 6.0625 C-1.48128906 5.14597656 -1.40007812 4.22945313 -1.31640625 3.28515625 C-1 1 -1 1 0 0 Z " fill="#C9D4D6" transform="translate(302,378)"/>
|
|
45
|
+
<path d="M0 0 C2 4 2 4 1.8125 6.1875 C1.4103125 7.0846875 1.4103125 7.0846875 1 8 C0.01 8.33 -0.98 8.66 -2 9 C-1.34 6.03 -0.68 3.06 0 0 Z " fill="#31495D" transform="translate(278,195)"/>
|
|
46
|
+
<path d="M0 0 C0.66 0.33 1.32 0.66 2 1 C2 1.99 2 2.98 2 4 C-1.3 3.67 -4.6 3.34 -8 3 C-8 2.67 -8 2.34 -8 2 C-6.865625 1.855625 -5.73125 1.71125 -4.5625 1.5625 C-1.19222799 1.38828522 -1.19222799 1.38828522 0 0 Z " fill="#2B4557" transform="translate(331,412)"/>
|
|
47
|
+
<path d="M0 0 C0.6875 1.8125 0.6875 1.8125 1 4 C-0.4375 5.75 -0.4375 5.75 -2 7 C-2.99 6.67 -3.98 6.34 -5 6 C-3.35 4.02 -1.7 2.04 0 0 Z " fill="#334B5D" transform="translate(266,221)"/>
|
|
48
|
+
<path d="M0 0 C0.33 0.99 0.66 1.98 1 3 C0.34 3.66 -0.32 4.32 -1 5 C-1.69748583 6.31747324 -2.36959957 7.64914193 -3 9 C-3.75 7.3125 -3.75 7.3125 -4 5 C-2.0625 2.25 -2.0625 2.25 0 0 Z " fill="#D2DADE" transform="translate(361,192)"/>
|
|
49
|
+
<path d="M0 0 C-0.6875 2.375 -0.6875 2.375 -2 5 C-4.625 6.3125 -4.625 6.3125 -7 7 C-3.86206897 0 -3.86206897 0 0 0 Z " fill="#405363" transform="translate(322,179)"/>
|
|
50
|
+
<path d="M0 0 C0.66 0.66 1.32 1.32 2 2 C0.02 3.98 -1.96 5.96 -4 8 C-4.66 7.67 -5.32 7.34 -6 7 C-4.02 4.69 -2.04 2.38 0 0 Z " fill="#D2D8D9" transform="translate(415,127)"/>
|
|
51
|
+
<path d="M0 0 C0.33 0 0.66 0 1 0 C1 1.98 1 3.96 1 6 C-0.32 6 -1.64 6 -3 6 C-1.125 1.125 -1.125 1.125 0 0 Z " fill="#0B2C43" transform="translate(277,414)"/>
|
|
52
|
+
<path d="M0 0 C2 1 2 1 3 3 C0.64561267 4.42944945 -0.48032433 5.08661261 -3.25 4.625 C-3.8275 4.41875 -4.405 4.2125 -5 4 C-3.35 2.68 -1.7 1.36 0 0 Z " fill="#485F70" transform="translate(312,371)"/>
|
|
53
|
+
<path d="M0 0 C0.66 0.33 1.32 0.66 2 1 C0.95125002 3.62187494 0.35068687 4.79371361 -2.125 6.25 C-2.74375 6.4975 -3.3625 6.745 -4 7 C-2.68 4.69 -1.36 2.38 0 0 Z " fill="#D3DADC" transform="translate(257,210)"/>
|
|
54
|
+
<path d="M0 0 C2.125 0.375 2.125 0.375 4 1 C2.35 2.65 0.7 4.3 -1 6 C-1.625 4.125 -1.625 4.125 -2 2 C-1.34 1.34 -0.68 0.68 0 0 Z " fill="#D7E0E1" transform="translate(360,126)"/>
|
|
55
|
+
</svg>
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" fill="none"><rect width="1200" height="1200" fill="#EAEAEA" rx="3"/><g opacity=".5"><g opacity=".5"><path fill="#FAFAFA" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/></g><path stroke="url(#a)" stroke-width="2.418" d="M0-1.209h553.581" transform="scale(1 -1) rotate(45 1163.11 91.165)"/><path stroke="url(#b)" stroke-width="2.418" d="M404.846 598.671h391.726"/><path stroke="url(#c)" stroke-width="2.418" d="M599.5 795.742V404.017"/><path stroke="url(#d)" stroke-width="2.418" d="m795.717 796.597-391.441-391.44"/><path fill="#fff" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/><g clip-path="url(#e)"><path fill="#666" fill-rule="evenodd" d="M616.426 586.58h-31.434v16.176l3.553-3.554.531-.531h9.068l.074-.074 8.463-8.463h2.565l7.18 7.181V586.58Zm-15.715 14.654 3.698 3.699 1.283 1.282-2.565 2.565-1.282-1.283-5.2-5.199h-6.066l-5.514 5.514-.073.073v2.876a2.418 2.418 0 0 0 2.418 2.418h26.598a2.418 2.418 0 0 0 2.418-2.418v-8.317l-8.463-8.463-7.181 7.181-.071.072Zm-19.347 5.442v4.085a6.045 6.045 0 0 0 6.046 6.045h26.598a6.044 6.044 0 0 0 6.045-6.045v-7.108l1.356-1.355-1.282-1.283-.074-.073v-17.989h-38.689v23.43l-.146.146.146.147Z" clip-rule="evenodd"/></g><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/></g><defs><linearGradient id="a" x1="554.061" x2="-.48" y1=".083" y2=".087" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="796.912" x2="404.507" y1="599.963" y2="599.965" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="600.792" x2="600.794" y1="403.677" y2="796.082" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="404.85" x2="796.972" y1="403.903" y2="796.02" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><clipPath id="e"><path fill="#fff" d="M581.364 580.535h38.689v38.689h-38.689z"/></clipPath></defs></svg>
|