enwawa-ui 1.0.7
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/.babelrc.json +16 -0
- package/.eslintrc.cjs +37 -0
- package/.husky/pre-commit +6 -0
- package/.prettierignore +6 -0
- package/.prettierrc +4 -0
- package/.storybook/main.ts +21 -0
- package/.storybook/preview.tsx +57 -0
- package/.vscode/settings.json +14 -0
- package/CHANGELOG.md +118 -0
- package/auto.config.ts +34 -0
- package/constants.ts +1 -0
- package/createIndexes.js +34 -0
- package/index.ts +5 -0
- package/package.json +94 -0
- package/placeholder.ts +1 -0
- package/readme.md +1 -0
- package/rollup.config.mjs +48 -0
- package/stories/Introduction.mdx +221 -0
- package/stories/assets/backgrounds/bg-1.png +0 -0
- package/stories/assets/carousel/login/1st.png +0 -0
- package/stories/assets/icons/code-brackets.svg +1 -0
- package/stories/assets/icons/colors.svg +1 -0
- package/stories/assets/icons/comments.svg +1 -0
- package/stories/assets/icons/direction.svg +1 -0
- package/stories/assets/icons/flow.svg +1 -0
- package/stories/assets/icons/plugin.svg +1 -0
- package/stories/assets/icons/repo.svg +1 -0
- package/stories/assets/icons/stackalt.svg +1 -0
- package/stories/assets/icons/wawa-isotype.svg +4 -0
- package/stories/assets/icons/wawa-logo.svg +6 -0
- package/stories/atoms/AtAvatar/AtAvatar.stories.tsx +61 -0
- package/stories/atoms/AtAvatar/index.tsx +46 -0
- package/stories/atoms/AtButton/AtButton.stories.ts +88 -0
- package/stories/atoms/AtButton/index.tsx +69 -0
- package/stories/atoms/AtButton/styles.ts +13 -0
- package/stories/atoms/AtCheckBox/AtCheckBox.stories.tsx +30 -0
- package/stories/atoms/AtCheckBox/index.tsx +38 -0
- package/stories/atoms/AtDatePicker/AtDatePicker.stories.tsx +45 -0
- package/stories/atoms/AtDatePicker/index.tsx +93 -0
- package/stories/atoms/AtDivider/AtDivider.stories.tsx +57 -0
- package/stories/atoms/AtDivider/index.tsx +44 -0
- package/stories/atoms/AtImage/AtImage.stories.tsx +66 -0
- package/stories/atoms/AtImage/index.tsx +41 -0
- package/stories/atoms/AtLogo/AtLogo.stories.ts +47 -0
- package/stories/atoms/AtLogo/index.tsx +22 -0
- package/stories/atoms/AtLogo/styles.ts +26 -0
- package/stories/atoms/AtNumberInput/AtNumberInput.stories.ts +40 -0
- package/stories/atoms/AtNumberInput/index.tsx +138 -0
- package/stories/atoms/AtNumberInput/styles.tsx +7 -0
- package/stories/atoms/AtPasswordInput/AtPasswordInput.stories.ts +24 -0
- package/stories/atoms/AtPasswordInput/index.tsx +11 -0
- package/stories/atoms/AtRadio/AtRadio.stories.tsx +36 -0
- package/stories/atoms/AtRadio/index.tsx +44 -0
- package/stories/atoms/AtSelect/AtSelect.stories.tsx +132 -0
- package/stories/atoms/AtSelect/index.tsx +229 -0
- package/stories/atoms/AtSelect/styles.tsx +8 -0
- package/stories/atoms/AtText/AtText.stories.ts +104 -0
- package/stories/atoms/AtText/index.tsx +65 -0
- package/stories/atoms/AtTextInput/AtTextInput.stories.ts +40 -0
- package/stories/atoms/AtTextInput/index.tsx +85 -0
- package/stories/atoms/AtTitle/AtTitle.stories.ts +103 -0
- package/stories/atoms/AtTitle/index.tsx +77 -0
- package/stories/atoms/AtTitle/styles.ts +7 -0
- package/stories/atoms/index.ts +14 -0
- package/stories/molecules/MlBreadCrumb/MlBreadCrumb.stories.tsx +123 -0
- package/stories/molecules/MlBreadCrumb/index.tsx +29 -0
- package/stories/molecules/MlCard/MlCard.stories.tsx +55 -0
- package/stories/molecules/MlCard/index.tsx +100 -0
- package/stories/molecules/MlCard/styles.tsx +22 -0
- package/stories/molecules/MlCarousel/MlCarousel.stories.tsx +98 -0
- package/stories/molecules/MlCarousel/index.tsx +67 -0
- package/stories/molecules/MlDropdown/MlDropdown.stories.tsx +121 -0
- package/stories/molecules/MlDropdown/index.tsx +97 -0
- package/stories/molecules/MlFormItem/MlFormItem.stories.tsx +33 -0
- package/stories/molecules/MlFormItem/index.tsx +100 -0
- package/stories/molecules/MlRadioGroup/MlRadioGroup.stories.ts +40 -0
- package/stories/molecules/MlRadioGroup/index.tsx +60 -0
- package/stories/molecules/index.ts +6 -0
- package/stories/organisms/OrAlert/OrAlert.stories.tsx +136 -0
- package/stories/organisms/OrAlert/index.tsx +64 -0
- package/stories/organisms/OrCol/OrCol.stories.tsx +33 -0
- package/stories/organisms/OrCol/index.tsx +108 -0
- package/stories/organisms/OrCol/styles.ts +86 -0
- package/stories/organisms/OrContent/index.tsx +6 -0
- package/stories/organisms/OrCountryCard/OrCountryCard.stories.ts +19 -0
- package/stories/organisms/OrCountryCard/index.tsx +55 -0
- package/stories/organisms/OrFlagGrid/OrFlagGrid.stories.ts +41 -0
- package/stories/organisms/OrFlagGrid/index.tsx +54 -0
- package/stories/organisms/OrFrom/index.tsx +10 -0
- package/stories/organisms/OrHeader/index.tsx +6 -0
- package/stories/organisms/OrLayout/index.tsx +6 -0
- package/stories/organisms/OrLoginLayout/OrLoginLayout.stories.tsx +34 -0
- package/stories/organisms/OrLoginLayout/index.tsx +63 -0
- package/stories/organisms/OrLoginLayout/styles.tsx +16 -0
- package/stories/organisms/OrRow/OrRow.stories.tsx +48 -0
- package/stories/organisms/OrRow/index.tsx +71 -0
- package/stories/organisms/OrRow/styles.ts +24 -0
- package/stories/organisms/OrSider/index.tsx +6 -0
- package/stories/organisms/OrSimpleBanner/OrSimpleBanner.stories.ts +18 -0
- package/stories/organisms/OrSimpleBanner/index.tsx +26 -0
- package/stories/organisms/OrSimpleBanner/styles.ts +12 -0
- package/stories/organisms/OrSpace/OrSpace.stories.tsx +169 -0
- package/stories/organisms/OrSpace/index.tsx +43 -0
- package/stories/organisms/OrSpaceCompact/OrSpaceCompact.stories.tsx +94 -0
- package/stories/organisms/OrSpaceCompact/index.tsx +35 -0
- package/stories/organisms/index.ts +14 -0
- package/stories/templates/TmLoginCountry/TmLoginCountry.stories.ts +44 -0
- package/stories/templates/TmLoginCountry/index.tsx +64 -0
- package/stories/templates/TmLoginCountry/styles.tsx +14 -0
- package/stories/templates/TmLoginPhone/TmLoginPhone.stories.tsx +49 -0
- package/stories/templates/TmLoginPhone/index.tsx +191 -0
- package/stories/templates/TmLoginPhone/styles.tsx +31 -0
- package/stories/templates/index.ts +2 -0
- package/theme.tsx +56 -0
- package/tsconfig.json +38 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { Meta } from '@storybook/blocks';
|
|
2
|
+
import Code from './assets/icons/code-brackets.svg';
|
|
3
|
+
import Colors from './assets/icons/colors.svg';
|
|
4
|
+
import Comments from './assets/icons/comments.svg';
|
|
5
|
+
import Direction from './assets/icons/direction.svg';
|
|
6
|
+
import Flow from './assets/icons/flow.svg';
|
|
7
|
+
import Plugin from './assets/icons/plugin.svg';
|
|
8
|
+
import Repo from './assets/icons/repo.svg';
|
|
9
|
+
import StackAlt from './assets/icons/stackalt.svg';
|
|
10
|
+
|
|
11
|
+
<Meta title="Example/Introduction" />
|
|
12
|
+
|
|
13
|
+
<style>
|
|
14
|
+
{`
|
|
15
|
+
.subheading {
|
|
16
|
+
--mediumdark: '#999999';
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
font-size: 13px;
|
|
19
|
+
color: #999;
|
|
20
|
+
letter-spacing: 6px;
|
|
21
|
+
line-height: 24px;
|
|
22
|
+
text-transform: uppercase;
|
|
23
|
+
margin-bottom: 12px;
|
|
24
|
+
margin-top: 40px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.link-list {
|
|
28
|
+
display: grid;
|
|
29
|
+
grid-template-columns: 1fr;
|
|
30
|
+
grid-template-rows: 1fr 1fr;
|
|
31
|
+
row-gap: 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (min-width: 620px) {
|
|
35
|
+
.link-list {
|
|
36
|
+
row-gap: 20px;
|
|
37
|
+
column-gap: 20px;
|
|
38
|
+
grid-template-columns: 1fr 1fr;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media all and (-ms-high-contrast:none) {
|
|
43
|
+
.link-list {
|
|
44
|
+
display: -ms-grid;
|
|
45
|
+
-ms-grid-columns: 1fr 1fr;
|
|
46
|
+
-ms-grid-rows: 1fr 1fr;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.link-item {
|
|
51
|
+
display: block;
|
|
52
|
+
padding: 20px;
|
|
53
|
+
border: 1px solid #00000010;
|
|
54
|
+
border-radius: 5px;
|
|
55
|
+
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
56
|
+
color: #333333;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: flex-start;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.link-item:hover {
|
|
62
|
+
border-color: #1EA7FD50;
|
|
63
|
+
transform: translate3d(0, -3px, 0);
|
|
64
|
+
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.link-item:active {
|
|
68
|
+
border-color: #1EA7FD;
|
|
69
|
+
transform: translate3d(0, 0, 0);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.link-item strong {
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
display: block;
|
|
75
|
+
margin-bottom: 2px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.link-item img {
|
|
79
|
+
height: 40px;
|
|
80
|
+
width: 40px;
|
|
81
|
+
margin-right: 15px;
|
|
82
|
+
flex: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.link-item span,
|
|
86
|
+
.link-item p {
|
|
87
|
+
margin: 0;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
line-height: 20px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.tip {
|
|
93
|
+
display: inline-block;
|
|
94
|
+
border-radius: 1em;
|
|
95
|
+
font-size: 11px;
|
|
96
|
+
line-height: 12px;
|
|
97
|
+
font-weight: 700;
|
|
98
|
+
background: #E7FDD8;
|
|
99
|
+
color: #66BF3C;
|
|
100
|
+
padding: 4px 12px;
|
|
101
|
+
margin-right: 10px;
|
|
102
|
+
vertical-align: top;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.tip-wrapper {
|
|
106
|
+
font-size: 13px;
|
|
107
|
+
line-height: 20px;
|
|
108
|
+
margin-top: 40px;
|
|
109
|
+
margin-bottom: 40px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.tip-wrapper code {
|
|
113
|
+
font-size: 12px;
|
|
114
|
+
display: inline-block;
|
|
115
|
+
}
|
|
116
|
+
`}
|
|
117
|
+
</style>
|
|
118
|
+
|
|
119
|
+
# Welcome to Storybook
|
|
120
|
+
|
|
121
|
+
Storybook helps you build UI components in isolation from your app's business logic, data, and context.
|
|
122
|
+
That makes it easy to develop hard-to-reach states. Save these UI states as **stories** to revisit during development, testing, or QA.
|
|
123
|
+
|
|
124
|
+
Browse example stories now by navigating to them in the sidebar.
|
|
125
|
+
View their code in the `stories` directory to learn how they work.
|
|
126
|
+
We recommend building UIs with a [**component-driven**](https://componentdriven.org) process starting with atomic components and ending with pages.
|
|
127
|
+
|
|
128
|
+
<div className="subheading">Configure</div>
|
|
129
|
+
|
|
130
|
+
<div className="link-list">
|
|
131
|
+
<a
|
|
132
|
+
className="link-item"
|
|
133
|
+
href="https://storybook.js.org/docs/react/addons/addon-types"
|
|
134
|
+
target="_blank"
|
|
135
|
+
>
|
|
136
|
+
<img src={Plugin} alt="plugin" />
|
|
137
|
+
<span>
|
|
138
|
+
<strong>Presets for popular tools</strong>
|
|
139
|
+
Easy setup for TypeScript, SCSS and more.
|
|
140
|
+
</span>
|
|
141
|
+
</a>
|
|
142
|
+
<a
|
|
143
|
+
className="link-item"
|
|
144
|
+
href="https://storybook.js.org/docs/react/configure/webpack"
|
|
145
|
+
target="_blank"
|
|
146
|
+
>
|
|
147
|
+
<img src={StackAlt} alt="Build" />
|
|
148
|
+
<span>
|
|
149
|
+
<strong>Build configuration</strong>
|
|
150
|
+
How to customize webpack and Babel
|
|
151
|
+
</span>
|
|
152
|
+
</a>
|
|
153
|
+
<a
|
|
154
|
+
className="link-item"
|
|
155
|
+
href="https://storybook.js.org/docs/react/configure/styling-and-css"
|
|
156
|
+
target="_blank"
|
|
157
|
+
>
|
|
158
|
+
<img src={Colors} alt="colors" />
|
|
159
|
+
<span>
|
|
160
|
+
<strong>Styling</strong>
|
|
161
|
+
How to load and configure CSS libraries
|
|
162
|
+
</span>
|
|
163
|
+
</a>
|
|
164
|
+
<a
|
|
165
|
+
className="link-item"
|
|
166
|
+
href="https://storybook.js.org/docs/react/get-started/setup#configure-storybook-for-your-stack"
|
|
167
|
+
target="_blank"
|
|
168
|
+
>
|
|
169
|
+
<img src={Flow} alt="flow" />
|
|
170
|
+
<span>
|
|
171
|
+
<strong>Data</strong>
|
|
172
|
+
Providers and mocking for data libraries
|
|
173
|
+
</span>
|
|
174
|
+
</a>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div className="subheading">Learn</div>
|
|
178
|
+
|
|
179
|
+
<div className="link-list">
|
|
180
|
+
<a className="link-item" href="https://storybook.js.org/docs" target="_blank">
|
|
181
|
+
<img src={Repo} alt="repo" />
|
|
182
|
+
<span>
|
|
183
|
+
<strong>Storybook documentation</strong>
|
|
184
|
+
Configure, customize, and extend
|
|
185
|
+
</span>
|
|
186
|
+
</a>
|
|
187
|
+
<a
|
|
188
|
+
className="link-item"
|
|
189
|
+
href="https://storybook.js.org/tutorials/"
|
|
190
|
+
target="_blank"
|
|
191
|
+
>
|
|
192
|
+
<img src={Direction} alt="direction" />
|
|
193
|
+
<span>
|
|
194
|
+
<strong>In-depth guides</strong>
|
|
195
|
+
Best practices from leading teams
|
|
196
|
+
</span>
|
|
197
|
+
</a>
|
|
198
|
+
<a
|
|
199
|
+
className="link-item"
|
|
200
|
+
href="https://github.com/storybookjs/storybook"
|
|
201
|
+
target="_blank"
|
|
202
|
+
>
|
|
203
|
+
<img src={Code} alt="code" />
|
|
204
|
+
<span>
|
|
205
|
+
<strong>GitHub project</strong>
|
|
206
|
+
View the source and add issues
|
|
207
|
+
</span>
|
|
208
|
+
</a>
|
|
209
|
+
<a className="link-item" href="https://discord.gg/storybook" target="_blank">
|
|
210
|
+
<img src={Comments} alt="comments" />
|
|
211
|
+
<span>
|
|
212
|
+
<strong>Discord chat</strong>
|
|
213
|
+
Chat with maintainers and the community
|
|
214
|
+
</span>
|
|
215
|
+
</a>
|
|
216
|
+
</div>
|
|
217
|
+
|
|
218
|
+
<div className="tip-wrapper">
|
|
219
|
+
<span className="tip">Tip</span>Edit the Markdown in{' '}
|
|
220
|
+
<code>stories/Introduction.stories.mdx</code>
|
|
221
|
+
</div>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/code-brackets</title><g id="illustration/code-brackets" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Combined-Shape" fill="#87E6E5" d="M11.4139325,12 C11.7605938,12 12,12.5059743 12,13.3779712 L12,17.4951758 L6.43502246,23.3839989 C5.85499251,23.9978337 5.85499251,25.0021663 6.43502246,25.6160011 L12,31.5048242 L12,35.6220288 C12,36.4939606 11.7605228,37 11.4139325,37 C11.2725831,37 11.1134406,36.9158987 10.9453839,36.7379973 L0.435022463,25.6160011 C-0.145007488,25.0021663 -0.145007488,23.9978337 0.435022463,23.3839989 L10.9453839,12.2620027 C11.1134051,12.0841663 11.2725831,12 11.4139325,12 Z M36.5860675,12 C36.7274169,12 36.8865594,12.0841013 37.0546161,12.2620027 L47.5649775,23.3839989 C48.1450075,23.9978337 48.1450075,25.0021663 47.5649775,25.6160011 L37.0546161,36.7379973 C36.8865949,36.9158337 36.7274169,37 36.5860675,37 C36.2394062,37 36,36.4940257 36,35.6220288 L36,31.5048242 L41.5649775,25.6160011 C42.1450075,25.0021663 42.1450075,23.9978337 41.5649775,23.3839989 L36,17.4951758 L36,13.3779712 C36,12.5060394 36.2394772,12 36.5860675,12 Z"/><rect id="Rectangle-7-Copy-5" width="35.57" height="4" x="5.009" y="22.662" fill="#A0DB77" rx="2" transform="translate(22.793959, 24.662305) rotate(-75.000000) translate(-22.793959, -24.662305)"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/colors</title><g id="illustration/colors" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><circle id="Oval" cx="23.763" cy="16.192" r="13.271" fill="#FC521F" opacity=".6"/><circle id="Oval-Copy" cx="15.468" cy="32.308" r="13.271" fill="#66BF3C" opacity=".6"/><path id="Combined-Shape" fill="#FF5F95" d="M15.4683651,19.0362231 C21.5434817,19.0362231 26.6652087,23.1181689 28.2404554,28.6889694 C26.8420385,29.1906678 25.3344184,29.4637769 23.7630101,29.4637769 C17.6878936,29.4637769 12.5661666,25.3818311 10.9909199,19.8110306 C12.3898993,19.3092302 13.8972501,19.0362231 15.4683651,19.0362231 Z"/><circle id="Oval-Copy-2" cx="32.532" cy="32.308" r="13.271" fill="#1EA7FD" opacity=".6"/><path id="Combined-Shape" fill="#87E6E5" d="M24.00025,22.1417324 C26.897967,24.5762286 28.7397972,28.2268506 28.7397972,32.3076552 C28.7397972,36.3884597 26.897967,40.0390817 24.00025,42.4735779 C21.1018087,40.038637 19.2602028,36.3882111 19.2602028,32.3076552 C19.2602028,28.2815316 21.0530043,24.6741393 23.8838362,22.2402492 Z"/><path id="Combined-Shape" fill="#FBD178" d="M32.5316349,19.0362231 C33.9415155,19.0362231 35.3000478,19.2560712 36.5748203,19.6633557 C35.0489179,25.3104816 29.8909911,29.4637769 23.7630101,29.4637769 C22.3527608,29.4637769 20.9938866,29.2438138 19.7188247,28.8363247 C21.2451195,23.1900077 26.403293,19.0362231 32.5316349,19.0362231 Z"/><path id="Combined-Shape" fill="#FFF" d="M24.00025,22.1417324 L24.0124326,22.1519799 C24.1747744,22.288701 24.3337918,22.4292434 24.4893463,22.5734686 L24.3896855,22.4820008 C24.4671836,22.552408 24.5438453,22.6237194 24.619654,22.6959185 L24.4893463,22.5734686 C24.5690639,22.6473803 24.6478719,22.7222591 24.7257519,22.7980864 L24.619654,22.6959185 C24.6907654,22.7636441 24.7611262,22.8321506 24.8307226,22.9014245 L24.7257519,22.7980864 C24.8120661,22.8821258 24.8972403,22.9673303 24.981249,23.0536745 L24.8307226,22.9014245 C24.9073006,22.9776475 24.9829531,23.0547994 25.0576619,23.132862 L25.057852,23.1330605 C25.3140855,23.4007967 25.559391,23.679459 25.7928375,23.9681079 L25.7230574,23.8825538 C25.7985998,23.9743942 25.8729325,24.0672672 25.9460311,24.1611484 L25.7928375,23.9681079 C25.8624256,24.0541514 25.93096,24.1410823 25.998421,24.228881 L25.9460311,24.1611484 C26.0074362,24.2400115 26.0679704,24.319586 26.1276194,24.3998576 L25.998421,24.228881 C26.0663495,24.317288 26.1331896,24.4065749 26.1989214,24.4967216 L26.1276194,24.3998576 C26.204848,24.5037867 26.2805926,24.6088841 26.3548219,24.7151187 L26.1989214,24.4967216 C26.2678555,24.59126 26.3355706,24.6867441 26.4020436,24.7831507 L26.3548219,24.7151187 C26.4130013,24.798383 26.4702498,24.8823459 26.5265523,24.9669921 L26.4020436,24.7831507 C26.4678788,24.8786322 26.5324956,24.9750187 26.5958716,25.0722875 L26.5959296,25.0723765 C26.736338,25.2878741 26.870709,25.5077955 26.9987399,25.7318073 L26.9410662,25.6319089 C26.9973106,25.7283602 27.0523736,25.8255849 27.1062352,25.9235633 L26.9987399,25.7318073 C27.0539848,25.8284676 27.1080492,25.9258895 27.1609136,26.0240532 L27.1606656,26.0235927 C27.2696676,26.2259984 27.3733426,26.4310837 27.4717677,26.6391379 L27.4715275,26.6386302 C27.5541941,26.8133735 27.6329386,26.9896914 27.7079006,27.1679911 C27.7630163,27.299081 27.8161443,27.431391 27.8671831,27.5647345 L27.804312,27.4036517 C27.8391482,27.4912057 27.8730792,27.5792182 27.9060936,27.6676774 L27.8671831,27.5647345 C27.906613,27.6677486 27.9447959,27.7713796 27.9817136,27.8756091 L27.9060936,27.6676774 C27.946474,27.7758735 27.9854831,27.884738 28.0230997,27.9942498 L27.9817136,27.8756091 C28.0144978,27.9681688 28.0462842,28.0612004 28.0770597,28.1546911 L28.0230997,27.9942498 C28.0618265,28.1069941 28.0990774,28.2204244 28.1348294,28.3345177 L28.0770597,28.1546911 C28.1112208,28.2584663 28.1441365,28.3628071 28.175789,28.4676958 L28.1756797,28.4673338 L28.2408136,28.6893554 C28.2284694,28.6937793 28.2161167,28.6981854 28.2037557,28.7025737 L28.2404554,28.6889694 C27.9517707,28.7925384 27.6584322,28.8863659 27.3608394,28.97006 L27.3609965,28.9702524 C27.0695498,29.0519815 26.7741843,29.1241944 26.4751174,29.1863314 L26.5385665,29.1730829 C26.3901218,29.2046704 26.2407589,29.2337757 26.0905233,29.2603535 L26.4751174,29.1863314 C26.3367402,29.215082 26.1975707,29.2416755 26.0576458,29.2660754 L26.0905233,29.2603535 C25.9366833,29.2875689 25.7819282,29.312134 25.6263069,29.334 L26.0576458,29.2660754 C25.9017815,29.2932549 25.7449801,29.3177127 25.5872928,29.3393985 L25.6263069,29.334 C25.493366,29.3526793 25.3597929,29.3693888 25.2256182,29.3840982 L25.5872928,29.3393985 C25.4326976,29.360659 25.277251,29.3792552 25.1210012,29.3951396 L25.2256182,29.3840982 C25.0570566,29.4025774 24.8875455,29.4178998 24.7171453,29.4300052 L25.1210012,29.3951396 C24.9661341,29.4108835 24.810478,29.4239634 24.6540799,29.4343333 L24.7171453,29.4300052 C24.5612618,29.4410793 24.4046342,29.4494611 24.2473088,29.4551045 L24.6540799,29.4343333 C24.5098436,29.4438967 24.3649762,29.4511552 24.2195147,29.4560724 L24.2473088,29.4551045 C24.0865878,29.4608697 23.9251385,29.4637769 23.7630101,29.4637769 L23.3130142,29.4562912 C23.2993121,29.4558347 23.2856153,29.4553574 23.2719237,29.4548593 C22.9596275,29.4434959 22.6502324,29.4213577 22.3439491,29.3888006 L22.3886972,29.3934808 C22.2468147,29.3788837 22.105595,29.3620515 21.9650736,29.3430199 L22.3439491,29.3888006 C22.1914515,29.3725905 22.0397254,29.3537976 21.8888152,29.3324664 L21.9650736,29.3430199 C21.8025527,29.3210088 21.6409661,29.2960557 21.4803691,29.2682161 L21.8888152,29.3324664 C21.7352182,29.3107553 21.5824665,29.2864149 21.4306071,29.2594919 L21.4803691,29.2682161 C21.3506285,29.2457255 21.2215338,29.221351 21.0931142,29.1951218 L21.4306071,29.2594919 C21.2772401,29.2323016 21.1247833,29.2024774 20.973285,29.1700676 L21.0931142,29.1951218 C20.9267071,29.1611338 20.7614335,29.1240315 20.5973571,29.0838786 L20.973285,29.1700676 C20.825476,29.138447 20.6785795,29.1043653 20.5326403,29.0678674 L20.5973571,29.0838786 C20.4596684,29.0501832 20.3228227,29.0143396 20.1868576,28.9763851 L20.5326403,29.0678674 C20.3930822,29.0329653 20.2543997,28.9958536 20.1166319,28.9565718 L20.1169729,28.956669 L19.7188247,28.8363247 L19.7188247,28.8363247 L19.7880988,28.5894836 C19.8166627,28.4914193 19.8463277,28.3938241 19.8770797,28.2967124 L19.8480041,28.389868 C19.888904,28.2573207 19.931824,28.1256601 19.9767281,27.9949221 L19.8770797,28.2967124 C19.9117081,28.1873592 19.9477148,28.0786191 19.9850793,27.9705124 L19.9853117,27.9700125 C20.1152243,27.5939638 20.2618428,27.2250995 20.4240731,26.8647811 L20.345088,27.0439391 C20.3899401,26.9402428 20.4360767,26.8372321 20.4834778,26.7349269 L20.4240731,26.8647811 C20.461061,26.78263 20.4988604,26.7009231 20.5374612,26.6196707 L20.4834778,26.7349269 C20.5344734,26.6248636 20.5869326,26.515617 20.6408302,26.4072119 L20.5374612,26.6196707 C20.5871241,26.5151329 20.6381134,26.4113474 20.6904074,26.308336 L20.6408302,26.4072119 C20.681671,26.3250682 20.7233378,26.2434076 20.7658197,26.1622412 L20.7658807,26.1619302 C20.8435258,26.013775 20.923959,25.866962 21.0070529,25.7218685 C21.2050227,25.3759931 21.4182299,25.0398756 21.6456589,24.7144306 L21.5286537,24.8848257 C21.5876708,24.7975143 21.6476996,24.7109431 21.7087233,24.6251289 L21.6456589,24.7144306 C21.6993229,24.6376387 21.7537788,24.5614411 21.8090146,24.4858495 L21.7087233,24.6251289 C21.7826333,24.5211934 21.8580028,24.4183683 21.9348018,24.3166836 L21.8090146,24.4858495 C21.8722751,24.3992759 21.9365587,24.3134973 22.0018475,24.2285315 L22.0016895,24.2288802 C22.3179789,23.8171232 22.6576794,23.4247699 23.0189296,23.053491 L22.8296293,23.2521975 C22.9033796,23.1732135 22.9780829,23.095131 23.0537208,23.0179683 L23.0189296,23.053491 C23.083529,22.9870982 23.1488175,22.9213793 23.2147836,22.8563459 L23.0537208,23.0179683 C23.131055,22.9390752 23.2093662,22.8611436 23.2886348,22.7841931 L23.2147836,22.8563459 C23.2821211,22.7899605 23.3501645,22.7242893 23.4189017,22.6593447 L23.2886348,22.7841931 C23.3852399,22.6904132 23.4832671,22.5980904 23.582681,22.5072602 L23.4189017,22.6593447 C23.4912637,22.5909753 23.5643945,22.523411 23.6382797,22.4566663 L23.582681,22.5072602 C23.6715916,22.4260264 23.7616113,22.3459865 23.8527148,22.2671658 L23.8525967,22.2671923 C23.8915062,22.2336043 23.9304941,22.2002638 23.9696766,22.1671464 L24.00025,22.1417324 Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/comments</title><g id="illustration/comments" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Path" fill="#96D07C" d="M2.52730803,17.9196415 C2.44329744,17.9745167 2.36370847,18.000488 2.29303375,18.000488 C2.1197031,18.000488 2,17.8443588 2,17.5752855 L2,4 C2,1.790861 3.790861,3.23296945e-13 6,3.23296945e-13 L33.9995117,3.23296945e-13 C36.2086507,3.23296945e-13 37.9995117,1.790861 37.9995117,4 L37.9995117,9.999512 C37.9995117,12.208651 36.2086507,13.999512 33.9995117,13.999512 L8,13.999512 C7.83499225,13.999512 7.6723181,13.9895206 7.51254954,13.9701099 L2.52730803,17.9196415 Z"/><path id="Path" fill="#73E1E0" d="M7.51066,44.9703679 L2.52730803,47.9186655 C2.44329744,47.9735407 2.36370847,47.999512 2.29303375,47.999512 C2.1197031,47.999512 2,47.8433828 2,47.5743095 L2,35 C2,32.790861 3.790861,31 6,31 L26,31 C28.209139,31 30,32.790861 30,35 L30,41 C30,43.209139 28.209139,45 26,45 L8,45 C7.8343417,45 7.67103544,44.9899297 7.51066,44.9703679 Z"/><path id="Path" fill="#FFD476" d="M46,19.5 L46,33.0747975 C46,33.3438708 45.8802969,33.5 45.7069663,33.5 C45.6362915,33.5 45.5567026,33.4740287 45.472692,33.4191535 L40.4887103,29.4704446 C40.3285371,29.489956 40.1654415,29.5 40,29.5 L18,29.5 C15.790861,29.5 14,27.709139 14,25.5 L14,19.5 C14,17.290861 15.790861,15.5 18,15.5 L42,15.5 C44.209139,15.5 46,17.290861 46,19.5 Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/direction</title><g id="illustration/direction" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Combined-Shape" fill="#FFD476" d="M23.4917015,33.6030641 L2.93840258,31.4321033 C2.38917316,31.3740904 1.99096346,30.8818233 2.04897631,30.3325939 C2.0747515,30.0885705 2.18934861,29.8625419 2.37095722,29.6975265 L34.2609105,0.721285325 C34.6696614,0.349881049 35.3021022,0.38015648 35.6735064,0.788907393 C35.9232621,1.06377731 36.0001133,1.45442096 35.8730901,1.80341447 L24.5364357,32.9506164 C24.3793473,33.3822133 23.9484565,33.6513092 23.4917015,33.6030641 L23.4917015,33.6030641 Z"/><path id="Combined-Shape-Copy" fill="#FFC445" d="M24.3163597,33.2881029 C24.0306575,33.0138462 23.9337246,32.5968232 24.069176,32.2246735 L35.091923,1.9399251 C35.2266075,1.56988243 35.5659249,1.31333613 35.9586669,1.28460955 C36.5094802,1.24432106 36.9886628,1.65818318 37.0289513,2.20899647 L40.2437557,46.1609256 C40.2644355,46.4436546 40.1641446,46.7218752 39.9678293,46.9263833 C39.5853672,47.3248067 38.9523344,47.3377458 38.5539111,46.9552837 L24.3163597,33.2881029 L24.3163597,33.2881029 Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/flow</title><g id="illustration/flow" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Combined-Shape" fill="#79C9FC" fill-rule="nonzero" d="M30,29 C32.7614237,29 35,26.7614237 35,24 C35,14.6111593 27.3888407,7 18,7 C8.61115925,7 1,14.6111593 1,24 C1,33.3888407 8.61115925,41 18,41 C19.3333404,41 20.6447683,40.8466238 21.9154603,40.5471706 C19.5096374,39.3319645 17.5510566,37.8612875 16.0456579,36.1314815 C14.1063138,33.9030427 12.769443,31.0725999 12.0293806,27.6556449 C11.360469,26.565281 11,25.3082308 11,24 C11,20.1340068 14.1340068,17 18,17 C21.8659932,17 25,20.1340068 25,24 C25,26.125 27.7040312,29 30,29 Z"/><path id="Combined-Shape-Copy" fill="#FFC445" fill-rule="nonzero" d="M42,29 C44.7614237,29 47,26.7614237 47,24 C47,14.6111593 39.3888407,7 30,7 C20.6111593,7 13,14.6111593 13,24 C13,33.3888407 20.6111593,41 30,41 C31.3333404,41 32.6447683,40.8466238 33.9154603,40.5471706 C31.5096374,39.3319645 29.4051056,37.9781963 28.0456579,36.1314815 C26.0625,33.4375 23,27.1875 23,24 C23,20.1340068 26.1340068,17 30,17 C33.8659932,17 37,20.1340068 37,24 C37.02301,26.3435241 39.7040312,29 42,29 Z" transform="translate(30.000000, 24.000000) scale(-1, -1) translate(-30.000000, -24.000000)"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/plugin</title><g id="illustration/plugin" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Combined-Shape" fill="#79C9FC" d="M26,15.3994248 C26,15.4091303 26,15.4188459 26,15.4285714 L26,21.4694881 C25.8463595,21.4969567 25.6941676,21.51275 25.5873784,21.51275 C25.4974117,21.51275 25.4230979,21.4768034 25.377756,21.4206259 L25.2660784,21.2822603 L25.1317423,21.1657666 C24.2436317,20.3956144 23.100098,19.9633214 21.895551,19.9633214 C19.2039137,19.9633214 17,22.1075558 17,24.7804643 C17,27.4533728 19.2039137,29.5976071 21.895551,29.5976071 C23.1972122,29.5976071 24.3149423,29.2878193 25.1231445,28.3613697 C25.4542273,27.9818463 25.568273,27.9073214 25.5873784,27.9073214 C25.681532,27.9073214 25.8352452,27.9239643 26,27.9524591 L26,32.5714286 C26,32.5811541 26,32.5908697 26,32.6005752 L26,33 C26,35.209139 24.209139,37 22,37 L4,37 C1.790861,37 0,35.209139 0,33 L0,15 C0,12.790861 1.790861,11 4,11 L22,11 C24.209139,11 26,12.790861 26,15 L26,15.3994248 Z"/><path id="Path" fill="#87E6E5" d="M27.9998779,32.5714286 C27.9998779,33.3604068 28.6572726,34 29.4682101,34 L46.5315458,34 C47.3424832,34 47.9998779,33.3604068 47.9998779,32.5714286 L47.9998779,15.4285714 C47.9998779,14.6395932 47.3424832,14 46.5315458,14 L29.4682101,14 C28.6572726,14 27.9998779,14.6395932 27.9998779,15.4285714 L27.9998779,21.8355216 C27.9334367,22.2650514 27.8567585,22.6454496 27.746391,22.8084643 C27.4245309,23.2838571 26.2402709,23.51275 25.5873784,23.51275 C24.8705773,23.51275 24.2322714,23.1857725 23.8214379,22.6767605 C23.3096996,22.2329909 22.6349941,21.9633214 21.895551,21.9633214 C20.2963823,21.9633214 19,23.2245992 19,24.7804643 C19,26.3363293 20.2963823,27.5976071 21.895551,27.5976071 C22.5398535,27.5976071 23.2399343,27.477727 23.6160247,27.0466112 C24.1396029,26.4464286 24.7367044,25.9073214 25.5873784,25.9073214 C26.2402709,25.9073214 27.5912951,26.1766031 27.8226692,26.6116071 C27.8819199,26.7230038 27.9403239,26.921677 27.9998779,27.1556219 L27.9998779,32.5714286 Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/repo</title><g id="illustration/repo" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Rectangle-62-Copy" fill="#B7F0EF" d="M27.2217723,9.04506931 L41.2217723,6.2682098 C43.3886973,5.83840648 45.4937616,7.2466219 45.9235649,9.41354696 C45.9743993,9.66983721 46,9.93049166 46,10.1917747 L46,32.581381 C46,34.4904961 44.650862,36.1335143 42.7782277,36.5049459 L28.7782277,39.2818054 C26.6113027,39.7116087 24.5062384,38.3033933 24.0764351,36.1364682 C24.0256007,35.880178 24,35.6195235 24,35.3582405 L24,12.9686342 C24,11.0595191 25.349138,9.4165009 27.2217723,9.04506931 Z" opacity=".7"/><path id="Combined-Shape" fill="#87E6E5" d="M6.77822775,6.2682098 L20.7782277,9.04506931 C22.650862,9.4165009 24,11.0595191 24,12.9686342 L24,35.3582405 C24,37.5673795 22.209139,39.3582405 20,39.3582405 C19.738717,39.3582405 19.4780625,39.3326398 19.2217723,39.2818054 L5.22177225,36.5049459 C3.34913798,36.1335143 2,34.4904961 2,32.581381 L2,10.1917747 C2,7.98263571 3.790861,6.19177471 6,6.19177471 C6.26128305,6.19177471 6.5219375,6.21737537 6.77822775,6.2682098 Z"/><path id="Rectangle-63-Copy-2" fill="#61C1FD" d="M22,10 C23.1666667,10.2291667 24.0179036,10.625 24.5537109,11.1875 C25.0895182,11.75 25.5716146,12.875 26,14.5625 C26,29.3020833 26,37.5208333 26,39.21875 C26,40.9166667 26.4241536,42.9583333 27.2724609,45.34375 L24.5537109,41.875 L22.9824219,45.34375 C22.327474,43.1979167 22,41.2291667 22,39.4375 C22,37.6458333 22,27.8333333 22,10 Z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1" viewBox="0 0 48 48"><title>illustration/stackalt</title><g id="illustration/stackalt" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Combined-Shape" fill="#FFAE00" d="M23.8628277,0 L23.8628277,48 L3.32291648,36.2491883 L3.32155653,11.9499781 L23.8628277,0 Z M23.8670509,0 L44.408322,11.9499781 L44.4069621,36.2491883 L23.8670509,48 L23.8670509,0 Z" opacity=".196"/><path id="Rectangle-46-Copy-3" fill="#66BF3C" d="M15.8232279,19.1155258 L24.7368455,21.4714881 C29.6053842,22.7582937 33.4077423,26.5606518 34.694548,31.4291905 L37.0505103,40.3428082 C37.6150232,42.4786032 36.3412474,44.6676353 34.2054524,45.2321482 C33.5569474,45.4035549 32.87575,45.4091235 32.2245294,45.2483418 L23.3459013,43.0562718 C18.2976962,41.809906 14.3561301,37.8683399 13.1097642,32.8201348 L10.9176943,23.9415066 C10.3881737,21.7967682 11.6975664,19.6288529 13.8423049,19.0993322 C14.4935255,18.9385505 15.1747229,18.9441191 15.8232279,19.1155258 Z" opacity=".5" transform="translate(23.999997, 32.166058) rotate(-45.000000) translate(-23.999997, -32.166058)"/><path id="Rectangle-46-Copy-2" fill="#FFAE00" d="M15.8232279,11.2216893 L24.7368455,13.5776516 C29.6053842,14.8644572 33.4077423,18.6668153 34.694548,23.5353541 L37.0505103,32.4489717 C37.6150232,34.5847667 36.3412474,36.7737988 34.2054524,37.3383117 C33.5569474,37.5097184 32.87575,37.515287 32.2245294,37.3545053 L23.3459013,35.1624353 C18.2976962,33.9160695 14.3561301,29.9745034 13.1097642,24.9262983 L10.9176943,16.0476701 C10.3881737,13.9029317 11.6975664,11.7350164 13.8423049,11.2054957 C14.4935255,11.044714 15.1747229,11.0502826 15.8232279,11.2216893 Z" opacity=".5" transform="translate(23.999997, 24.272222) rotate(-45.000000) translate(-23.999997, -24.272222)"/><path id="Rectangle-46-Copy" fill="#FC521F" d="M15.8232279,3.32785281 L24.7368455,5.68381509 C29.6053842,6.97062075 33.4077423,10.7729788 34.694548,15.6415176 L37.0505103,24.5551352 C37.6150232,26.6909302 36.3412474,28.8799623 34.2054524,29.4444752 C33.5569474,29.6158819 32.87575,29.6214505 32.2245294,29.4606688 L23.3459013,27.2685988 C18.2976962,26.022233 14.3561301,22.0806669 13.1097642,17.0324618 L10.9176943,8.15383364 C10.3881737,6.00909519 11.6975664,3.84117987 13.8423049,3.31165925 C14.4935255,3.15087753 15.1747229,3.15644615 15.8232279,3.32785281 Z" opacity=".5" transform="translate(23.999997, 16.378385) rotate(-45.000000) translate(-23.999997, -16.378385)"/></g></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="90" height="38" viewBox="0 0 90 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M59.8049 1.25092L50.5152 30.6089C49.3915 34.2038 46.0701 36.6253 42.2993 36.6253C38.3786 36.6253 34.9574 33.9791 33.9585 30.1845L29.913 14.7067L25.9424 30.1596C24.9685 33.9541 21.5223 36.6253 17.6016 36.6253C13.8558 36.6253 10.5345 34.2038 9.38573 30.6339L0.0460733 1.27588C-0.153706 0.651773 0.320766 0.00270747 0.99502 0.00270747H11.3835C11.808 0.00270747 12.1826 0.277312 12.3325 0.701704L18.5506 20.1988L21.8719 6.34363C22.7709 2.62396 26.0922 0.00270747 29.913 0.00270747C33.7338 0.00270747 37.0801 2.62396 37.9541 6.34363L41.4003 20.6232L47.5185 0.701704C47.6434 0.277312 48.018 0.00270747 48.4675 0.00270747H58.881C59.5302 -0.0472211 60.0047 0.60185 59.8049 1.25092Z" fill="white"/>
|
|
3
|
+
<path d="M82.4286 1.17953C84.8531 1.97992 86.6838 3.55569 87.9208 5.88182C89.1577 8.20795 89.7762 11.6346 89.7762 16.1368V36.6968H78.3713L76.9116 31.9945C76.1942 33.5202 75.0067 34.7458 73.3986 35.6713C71.7658 36.5967 69.8114 37.072 67.4859 37.072C64.047 37.072 61.3999 36.0465 59.5197 33.9955C57.6642 31.9445 56.7241 28.843 56.7241 24.741C56.7241 20.639 57.6642 17.5375 59.5197 15.4865C61.3752 13.4355 64.0223 12.41 67.4859 12.41C69.8114 12.41 71.7905 12.8852 73.3986 13.8107C75.0314 14.7361 76.1942 15.9617 76.9116 17.4874V16.1618C76.9116 13.9107 76.5158 12.2099 75.7241 11.0593C74.9325 9.90878 73.3491 9.33349 70.9741 9.33349H61.7463C61.2515 9.33349 60.8804 8.83324 61.0288 8.35801L63.478 0.529213C63.577 0.229067 63.8739 0.00396403 64.1955 0.00396403H72.409C76.6642 -0.0460603 80.0041 0.379142 82.4286 1.17953ZM76.0952 26.967C76.6395 26.4418 76.8869 25.7164 76.8869 24.716C76.8869 23.7405 76.6148 22.9901 76.0952 22.4649C75.551 21.9396 74.6109 21.6895 73.2502 21.6895C71.8895 21.6895 70.9247 21.9396 70.3804 22.4649C69.8114 22.9901 69.5392 23.7155 69.5392 24.716C69.5392 25.6914 69.8114 26.4418 70.3804 26.967C70.9247 27.4923 71.8895 27.7424 73.2502 27.7424C74.6109 27.7424 75.5757 27.4673 76.0952 26.967Z" fill="white"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="243" height="50" viewBox="0 0 243 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M80.6606 1.68715L68.1313 41.2831C66.6157 46.1316 62.1361 49.3976 57.0503 49.3976C51.7624 49.3976 47.1481 45.8286 45.8009 40.7107L40.3445 19.8353L34.9893 40.677C33.6757 45.7949 29.0277 49.3976 23.7398 49.3976C18.6877 49.3976 14.2081 46.1316 12.6588 41.3168L0.0621403 1.72081C-0.207307 0.879064 0.432627 0.00365164 1.34201 0.00365164H15.3533C15.9259 0.00365164 16.4311 0.374018 16.6331 0.946408L25.0197 27.2427L29.4993 8.55584C30.7118 3.539 35.1914 0.00365164 40.3445 0.00365164C45.4977 0.00365164 50.011 3.539 51.1898 8.55584L55.8378 27.8151L64.0896 0.946408C64.258 0.374018 64.7632 0.00365164 65.3695 0.00365164H79.4144C80.2901 -0.0636884 80.9301 0.811732 80.6606 1.68715Z" fill="white"/>
|
|
3
|
+
<path d="M111.174 1.59087C114.444 2.67037 116.913 4.79566 118.582 7.93297C120.25 11.0703 121.084 15.6919 121.084 21.7642V49.494H105.702L103.733 43.1519C102.766 45.2097 101.164 46.8627 98.9952 48.1109C96.793 49.359 94.157 50 91.0205 50C86.3825 50 82.8122 48.6169 80.2763 45.8506C77.7738 43.0844 76.5059 38.9013 76.5059 33.3688C76.5059 27.8364 77.7738 23.6533 80.2763 20.887C82.7789 18.1208 86.3491 16.7377 91.0205 16.7377C94.157 16.7377 96.8264 17.3787 98.9952 18.6268C101.197 19.875 102.766 21.528 103.733 23.5858V21.7979C103.733 18.7618 103.199 16.4678 102.132 14.916C101.064 13.3642 98.9285 12.5883 95.7252 12.5883H83.2794C82.612 12.5883 82.1115 11.9136 82.3117 11.2727L85.615 0.713764C85.7485 0.308949 86.1489 0.0053464 86.5827 0.0053464H97.6606C103.4 -0.0621228 107.904 0.511359 111.174 1.59087ZM102.632 36.3712C103.366 35.6628 103.7 34.6845 103.7 33.3351C103.7 32.0195 103.333 31.0074 102.632 30.299C101.898 29.5906 100.63 29.2532 98.795 29.2532C96.9598 29.2532 95.6585 29.5906 94.9245 30.299C94.157 31.0074 93.79 31.9857 93.79 33.3351C93.79 34.6508 94.157 35.6628 94.9245 36.3712C95.6585 37.0796 96.9598 37.417 98.795 37.417C100.63 37.417 101.932 37.0459 102.632 36.3712Z" fill="white"/>
|
|
4
|
+
<path d="M201.745 1.68715L189.309 41.2831C187.805 46.1316 183.359 49.3976 178.311 49.3976C173.063 49.3976 168.483 45.8286 167.146 40.7107L161.73 19.8353L156.415 40.677C155.111 45.7949 150.498 49.3976 145.249 49.3976C140.235 49.3976 135.789 46.1316 134.251 41.3168L121.748 1.72081C121.481 0.879064 122.116 0.00365164 123.019 0.00365164H136.925C137.494 0.00365164 137.995 0.374018 138.196 0.946408L146.52 27.2427L150.966 8.55584C152.169 3.539 156.615 0.00365164 161.73 0.00365164C166.845 0.00365164 171.324 3.539 172.494 8.55584L177.108 27.8151L185.298 0.946408C185.465 0.374018 185.967 0.00365164 186.568 0.00365164H200.475C201.378 -0.0636884 202.013 0.811732 201.745 1.68715Z" fill="white"/>
|
|
5
|
+
<path d="M232.727 1.59087C236.041 2.67037 238.544 4.79566 240.235 7.93297C241.926 11.0703 242.771 15.6919 242.771 21.7642V49.494H227.181L225.186 43.1519C224.205 45.2097 222.582 46.8627 220.384 48.1109C218.152 49.359 215.48 50 212.301 50C207.6 50 203.982 48.6169 201.412 45.8506C198.875 43.0844 197.59 38.9013 197.59 33.3688C197.59 27.8364 198.875 23.6533 201.412 20.887C203.948 18.1208 207.567 16.7377 212.301 16.7377C215.48 16.7377 218.185 17.3787 220.384 18.6268C222.616 19.875 224.205 21.528 225.186 23.5858V21.7979C225.186 18.7618 224.645 16.4678 223.563 14.916C222.48 13.3642 220.316 12.5883 217.069 12.5883H204.455C203.779 12.5883 203.272 11.9136 203.475 11.2727L206.823 0.713764C206.958 0.308949 207.364 0.0053464 207.803 0.0053464H219.031C224.848 -0.0621228 229.413 0.511359 232.727 1.59087ZM224.104 36.3712C224.848 35.6628 225.186 34.6845 225.186 33.3351C225.186 32.0195 224.814 31.0074 224.104 30.299C223.36 29.5906 222.075 29.2532 220.215 29.2532C218.355 29.2532 217.036 29.5906 216.292 30.299C215.514 31.0074 215.142 31.9857 215.142 33.3351C215.142 34.6508 215.514 35.6628 216.292 36.3712C217.036 37.0796 218.355 37.417 220.215 37.417C222.075 37.417 223.36 37.0459 224.104 36.3712Z" fill="white"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { UserOutlined } from '@ant-design/icons';
|
|
4
|
+
import { AtAvatar } from '.';
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
title: 'Atoms/AtAvatar',
|
|
8
|
+
component: AtAvatar,
|
|
9
|
+
tags: ['autodocs'],
|
|
10
|
+
argTypes: {
|
|
11
|
+
icon: {
|
|
12
|
+
control: 'text',
|
|
13
|
+
},
|
|
14
|
+
size: {
|
|
15
|
+
options: ['large', 'small', 'default', 100],
|
|
16
|
+
control: {
|
|
17
|
+
type: 'select',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
} satisfies Meta<typeof AtAvatar>;
|
|
22
|
+
|
|
23
|
+
export default meta;
|
|
24
|
+
type Story = StoryObj<typeof meta>;
|
|
25
|
+
|
|
26
|
+
export const Basic: Story = {
|
|
27
|
+
args: {
|
|
28
|
+
icon: 'W',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const WithIcon: Story = {
|
|
33
|
+
args: {
|
|
34
|
+
icon: <UserOutlined></UserOutlined>,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const DifferentShapes: Story = {
|
|
39
|
+
args: {
|
|
40
|
+
shape: 'square',
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const DifferentSizes: Story = {
|
|
45
|
+
args: {
|
|
46
|
+
size: 'large',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const DraggableAvatar: Story = {
|
|
51
|
+
args: {
|
|
52
|
+
draggable: true,
|
|
53
|
+
icon: <UserOutlined></UserOutlined>,
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export const WithCrossOrigin: Story = {
|
|
58
|
+
args: {
|
|
59
|
+
crossOrigin: 'anonymous',
|
|
60
|
+
},
|
|
61
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Avatar as AntAvatar } from 'antd';
|
|
3
|
+
|
|
4
|
+
interface AtAvatarProps {
|
|
5
|
+
/**
|
|
6
|
+
* This attribute defines the alternative text describing the image
|
|
7
|
+
*/
|
|
8
|
+
alt?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Letter type unit distance between left and right sides
|
|
11
|
+
*/
|
|
12
|
+
gap?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Custom icon type for an icon avatar
|
|
15
|
+
*/
|
|
16
|
+
icon?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* The shape of avatar
|
|
19
|
+
*/
|
|
20
|
+
shape?: 'circle' | 'square';
|
|
21
|
+
/**
|
|
22
|
+
* The size of the avatar
|
|
23
|
+
*/
|
|
24
|
+
size?: 'large' | 'small' | 'default' | number;
|
|
25
|
+
/**
|
|
26
|
+
* The address of the image for an image avatar or image element
|
|
27
|
+
*/
|
|
28
|
+
src?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the picture is allowed to be dragged
|
|
31
|
+
*/
|
|
32
|
+
draggable?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* CORS settings attributes
|
|
35
|
+
*/
|
|
36
|
+
crossOrigin?: 'anonymous' | 'use-credentials';
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export const AtAvatar: React.FC<AtAvatarProps> = (props) => {
|
|
40
|
+
return <AntAvatar {...props} />;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
AtAvatar.defaultProps = {
|
|
44
|
+
shape: 'circle',
|
|
45
|
+
size: 'default',
|
|
46
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AtButton } from '.';
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Atoms/AtButton',
|
|
6
|
+
component: AtButton,
|
|
7
|
+
tags: ['autodocs'],
|
|
8
|
+
argTypes: {
|
|
9
|
+
shape: {
|
|
10
|
+
options: ['circle', 'default', 'round', 'none'],
|
|
11
|
+
},
|
|
12
|
+
size: {
|
|
13
|
+
options: ['large', 'middle', 'small', 'none'],
|
|
14
|
+
},
|
|
15
|
+
type: {
|
|
16
|
+
options: [
|
|
17
|
+
'dashed',
|
|
18
|
+
'default',
|
|
19
|
+
'ghost',
|
|
20
|
+
'link',
|
|
21
|
+
'primary',
|
|
22
|
+
'text',
|
|
23
|
+
'none',
|
|
24
|
+
],
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
} satisfies Meta<typeof AtButton>;
|
|
28
|
+
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
|
|
32
|
+
export const Basic: Story = {
|
|
33
|
+
args: {
|
|
34
|
+
id: '1',
|
|
35
|
+
type: 'primary',
|
|
36
|
+
value: 'primary',
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const Secondary: Story = {
|
|
41
|
+
args: {
|
|
42
|
+
id: '2',
|
|
43
|
+
type: 'default',
|
|
44
|
+
value: 'default',
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const Dashed: Story = {
|
|
49
|
+
args: {
|
|
50
|
+
id: '3',
|
|
51
|
+
type: 'dashed',
|
|
52
|
+
value: 'dashed',
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export const Link: Story = {
|
|
57
|
+
args: {
|
|
58
|
+
id: '4',
|
|
59
|
+
type: 'link',
|
|
60
|
+
value: 'link',
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export const Text: Story = {
|
|
65
|
+
args: {
|
|
66
|
+
id: '5',
|
|
67
|
+
type: 'text',
|
|
68
|
+
value: 'text',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const Dangerous: Story = {
|
|
73
|
+
args: {
|
|
74
|
+
id: '6',
|
|
75
|
+
type: 'primary',
|
|
76
|
+
value: 'primary',
|
|
77
|
+
danger: true,
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const Circle: Story = {
|
|
82
|
+
args: {
|
|
83
|
+
id: '7',
|
|
84
|
+
type: 'primary',
|
|
85
|
+
value: 'A',
|
|
86
|
+
shape: 'circle',
|
|
87
|
+
},
|
|
88
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonShape, ButtonSize, ButtonType } from 'antd/es/button';
|
|
3
|
+
import { StyledButton } from './styles';
|
|
4
|
+
|
|
5
|
+
export interface AtButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* The ID for input
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The button content value
|
|
12
|
+
*/
|
|
13
|
+
value?: string;
|
|
14
|
+
/**
|
|
15
|
+
*Option to fit button width to its parent width
|
|
16
|
+
*/
|
|
17
|
+
block?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
*Set the danger status of button
|
|
20
|
+
*/
|
|
21
|
+
danger?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Disabled state of button
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Set the original html type of button, see: MDN
|
|
28
|
+
*/
|
|
29
|
+
htmlType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Set the icon component of button
|
|
32
|
+
*/
|
|
33
|
+
icon?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Set the loading status of button
|
|
36
|
+
*/
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Can be set button
|
|
40
|
+
*/
|
|
41
|
+
shape?: ButtonShape;
|
|
42
|
+
/**
|
|
43
|
+
* Set the size of button
|
|
44
|
+
*/
|
|
45
|
+
size?: ButtonSize;
|
|
46
|
+
/**
|
|
47
|
+
* Can be set to primary ghost dashed link text
|
|
48
|
+
*/
|
|
49
|
+
type?: ButtonType;
|
|
50
|
+
/**
|
|
51
|
+
* Set the handler to handle click
|
|
52
|
+
*/
|
|
53
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement> &
|
|
54
|
+
React.MouseEventHandler<HTMLButtonElement>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export const AtButton: React.FC<AtButtonProps> = ({ value, ...props }) => {
|
|
58
|
+
return <StyledButton {...props}>{value}</StyledButton>;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
AtButton.defaultProps = {
|
|
62
|
+
block: false,
|
|
63
|
+
danger: false,
|
|
64
|
+
disabled: false,
|
|
65
|
+
shape: 'default',
|
|
66
|
+
size: 'middle',
|
|
67
|
+
type: 'default',
|
|
68
|
+
htmlType: 'button',
|
|
69
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { styled } from 'styled-components';
|
|
2
|
+
import { AtButtonProps } from '.';
|
|
3
|
+
import { Button } from 'antd';
|
|
4
|
+
|
|
5
|
+
type AtButtonAttrs = AtButtonProps;
|
|
6
|
+
|
|
7
|
+
export const StyledButton = styled(Button) <AtButtonAttrs>`
|
|
8
|
+
&,
|
|
9
|
+
&.ant-btn-primary,
|
|
10
|
+
&.ant-btn-primary.ant-btn-dangerous {
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AtCheckbox } from '.';
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Atoms/AtCheckbox',
|
|
6
|
+
component: AtCheckbox,
|
|
7
|
+
tags: ['autodocs'],
|
|
8
|
+
args: {
|
|
9
|
+
children: 'Checkbox',
|
|
10
|
+
},
|
|
11
|
+
} satisfies Meta<typeof AtCheckbox>;
|
|
12
|
+
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
|
|
16
|
+
export const Basic: Story = {
|
|
17
|
+
args: {},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const Indeterminate: Story = {
|
|
21
|
+
args: {
|
|
22
|
+
indeterminate: true,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const Disabled: Story = {
|
|
27
|
+
args: {
|
|
28
|
+
disabled: true,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Checkbox as AntCheckbox, CheckboxProps } from 'antd';
|
|
3
|
+
|
|
4
|
+
interface AtCheckboxProps {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies whether the checkbox is selected
|
|
7
|
+
*/
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the initial state: whether or not the checkbox is selected
|
|
11
|
+
*/
|
|
12
|
+
defaultChecked?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* If disable checkbox
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The indeterminate checked state of checkbox
|
|
19
|
+
*/
|
|
20
|
+
indeterminate?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The callback function that is triggered when the state changes
|
|
23
|
+
*/
|
|
24
|
+
onChange?: CheckboxProps['onChange'];
|
|
25
|
+
/**
|
|
26
|
+
* children of checkbox
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const AtCheckbox: React.FC<AtCheckboxProps> = (props) => {
|
|
32
|
+
return <AntCheckbox {...props}>{props.children}</AntCheckbox>;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
AtCheckbox.defaultProps = {
|
|
36
|
+
disabled: false,
|
|
37
|
+
indeterminate: false,
|
|
38
|
+
};
|