@iroco/ui 0.6.5 → 0.8.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/lib/index.mjs.css CHANGED
@@ -1,6 +1,36 @@
1
1
  svg.svelte-1cuxg7m {
2
2
  overflow: visible; }
3
3
 
4
+ .rotate.svelte-1dns1yx {
5
+ animation: svelte-1dns1yx-rotation 2s; }
6
+
7
+ .linear.svelte-1dns1yx {
8
+ animation-timing-function: linear; }
9
+
10
+ .infinite.svelte-1dns1yx {
11
+ animation-iteration-count: infinite; }
12
+
13
+ @keyframes svelte-1dns1yx-rotation {
14
+ from {
15
+ transform: rotate(0deg); }
16
+ to {
17
+ transform: rotate(359deg); } }
18
+
19
+ .data-table.svelte-1ju5y8t {
20
+ border: 1px solid #464452;
21
+ width: 100%; }
22
+
23
+ .data-table__header.svelte-1ju5y8t {
24
+ font-size: 1.5em;
25
+ height: 4rem; }
26
+
27
+ .data-table__header__cell.svelte-1ju5y8t {
28
+ border-bottom: 1px solid #464452; }
29
+
30
+ .data-table__body__cell.svelte-1ju5y8t {
31
+ text-align: center;
32
+ vertical-align: middle; }
33
+
4
34
  .iroco-ui-radio.svelte-156c82q.svelte-156c82q.svelte-156c82q {
5
35
  color: #f2ebe3;
6
36
  position: relative;
@@ -29,7 +59,180 @@ svg.svelte-1cuxg7m {
29
59
  .iroco-ui-radio.svelte-156c82q input.svelte-156c82q:checked ~ .radio-button-color.svelte-156c82q {
30
60
  background-color: #00D692; }
31
61
 
32
- .iroco-ui-button.svelte-1dvdooy {
62
+ input.svelte-11iawkb.svelte-11iawkb {
63
+ outline: none;
64
+ text-decoration: none;
65
+ font-size: 14px; }
66
+
67
+ input.svelte-11iawkb.svelte-11iawkb:focus {
68
+ outline: none;
69
+ text-decoration: none;
70
+ font-size: 14px; }
71
+
72
+ .iroco-ui-input.svelte-11iawkb.svelte-11iawkb {
73
+ display: flex;
74
+ flex-direction: column; }
75
+
76
+ .iroco-ui-input.svelte-11iawkb > input.svelte-11iawkb {
77
+ color: #f2ebe3;
78
+ background: #211D28;
79
+ border: 1px solid #211D28;
80
+ padding: 1em 1.5em;
81
+ text-overflow: ellipsis;
82
+ white-space: nowrap;
83
+ overflow: hidden;
84
+ border-radius: 0.5em; }
85
+
86
+ .iroco-ui-input.svelte-11iawkb > input.border.svelte-11iawkb {
87
+ border: 1px solid #f2ebe3; }
88
+
89
+ .iroco-ui-input.svelte-11iawkb > input.svelte-11iawkb::placeholder {
90
+ color: rgba(242, 235, 227, 0.5); }
91
+
92
+ .iroco-ui-input.svelte-11iawkb > input.error.svelte-11iawkb {
93
+ border-color: #ff504d; }
94
+
95
+ .iroco-ui-input.svelte-11iawkb > input.readonlyInput.svelte-11iawkb {
96
+ cursor: not-allowed; }
97
+
98
+ .iroco-ui-input.svelte-11iawkb .error.svelte-11iawkb {
99
+ color: #ff504d; }
100
+
101
+ .iroco-ui-label.svelte-11iawkb.svelte-11iawkb {
102
+ color: rgba(242, 235, 227, 0.6);
103
+ font-weight: bold;
104
+ padding-bottom: 10px;
105
+ display: inline-block; }
106
+
107
+ .container-wide.svelte-hp8sdi {
108
+ width: calc(100% - 20px);
109
+ max-width: 2360px;
110
+ margin-left: auto;
111
+ margin-right: auto;
112
+ transition: max-width ease-out 200ms; }
113
+
114
+ @media all and (max-width: 2560px) {
115
+ .container-wide.svelte-hp8sdi {
116
+ max-width: 1620px; } }
117
+
118
+ @media all and (max-width: 1800px) {
119
+ .container-wide.svelte-hp8sdi {
120
+ max-width: 1280px; } }
121
+
122
+ @media all and (max-width: 1440px) {
123
+ .container-wide.svelte-hp8sdi {
124
+ max-width: 884px; } }
125
+
126
+ @media all and (max-width: 1024px) {
127
+ .container-wide.svelte-hp8sdi {
128
+ max-width: 648px; } }
129
+
130
+ @media all and (max-width: 768px) {
131
+ .container-wide.svelte-hp8sdi {
132
+ max-width: 496px; } }
133
+
134
+ @media all and (max-width: 596px) {
135
+ .container-wide.svelte-hp8sdi {
136
+ max-width: 365px; } }
137
+
138
+ @media all and (max-width: 425px) {
139
+ .container-wide.svelte-hp8sdi {
140
+ max-width: calc(100% - 60px); } }
141
+
142
+ @media all and (max-width: 375px) {
143
+ .container-wide.svelte-hp8sdi {
144
+ max-width: calc(100% - 40px); } }
145
+
146
+ @media all and (max-width: 320px) {
147
+ .container-wide.svelte-hp8sdi {
148
+ max-width: calc(100% - 20px); } }
149
+
150
+ .container-large.svelte-hp8sdi {
151
+ width: calc(100% - 20px);
152
+ max-width: 1280px;
153
+ margin-left: auto;
154
+ margin-right: auto;
155
+ transition: max-width ease-out 200ms; }
156
+
157
+ @media all and (max-width: 1440px) {
158
+ .container-large.svelte-hp8sdi {
159
+ max-width: 884px; } }
160
+
161
+ @media all and (max-width: 1024px) {
162
+ .container-large.svelte-hp8sdi {
163
+ max-width: 648px; } }
164
+
165
+ @media all and (max-width: 768px) {
166
+ .container-large.svelte-hp8sdi {
167
+ max-width: 496px; } }
168
+
169
+ @media all and (max-width: 596px) {
170
+ .container-large.svelte-hp8sdi {
171
+ max-width: 365px; } }
172
+
173
+ @media all and (max-width: 425px) {
174
+ .container-large.svelte-hp8sdi {
175
+ max-width: calc(100% - 60px); } }
176
+
177
+ @media all and (max-width: 375px) {
178
+ .container-large.svelte-hp8sdi {
179
+ max-width: calc(100% - 40px); } }
180
+
181
+ @media all and (max-width: 320px) {
182
+ .container-large.svelte-hp8sdi {
183
+ max-width: calc(100% - 20px); } }
184
+
185
+ .container-medium.svelte-hp8sdi {
186
+ width: calc(100% - 20px);
187
+ max-width: 884px;
188
+ margin-left: auto;
189
+ margin-right: auto;
190
+ transition: max-width ease-out 200ms; }
191
+
192
+ @media all and (max-width: 1024px) {
193
+ .container-medium.svelte-hp8sdi {
194
+ max-width: 648px; } }
195
+
196
+ @media all and (max-width: 768px) {
197
+ .container-medium.svelte-hp8sdi {
198
+ max-width: 496px; } }
199
+
200
+ @media all and (max-width: 596px) {
201
+ .container-medium.svelte-hp8sdi {
202
+ max-width: 365px; } }
203
+
204
+ @media all and (max-width: 425px) {
205
+ .container-medium.svelte-hp8sdi {
206
+ max-width: calc(100% - 60px); } }
207
+
208
+ @media all and (max-width: 375px) {
209
+ .container-medium.svelte-hp8sdi {
210
+ max-width: calc(100% - 40px); } }
211
+
212
+ @media all and (max-width: 320px) {
213
+ .container-medium.svelte-hp8sdi {
214
+ max-width: calc(100% - 20px); } }
215
+
216
+ .container-small.svelte-hp8sdi {
217
+ width: calc(100% - 20px);
218
+ max-width: 496px;
219
+ margin-left: auto;
220
+ margin-right: auto;
221
+ transition: max-width ease-out 200ms; }
222
+
223
+ @media all and (max-width: 425px) {
224
+ .container-small.svelte-hp8sdi {
225
+ max-width: calc(100% - 60px); } }
226
+
227
+ @media all and (max-width: 375px) {
228
+ .container-small.svelte-hp8sdi {
229
+ max-width: calc(100% - 40px); } }
230
+
231
+ @media all and (max-width: 320px) {
232
+ .container-small.svelte-hp8sdi {
233
+ max-width: calc(100% - 20px); } }
234
+
235
+ .iroco-ui-button.svelte-hp8sdi {
33
236
  cursor: pointer;
34
237
  -webkit-touch-callout: none;
35
238
  -webkit-user-select: none;
@@ -40,63 +243,110 @@ svg.svelte-1cuxg7m {
40
243
  border: none;
41
244
  border-radius: 0.5em;
42
245
  flex-shrink: 0;
43
- padding: 1em;
44
246
  margin: 1em 0em;
45
- background: #00D692;
46
247
  position: relative; }
47
248
 
48
- .iroco-ui-button.svelte-1dvdooy:active {
249
+ .iroco-ui-button--basic.svelte-hp8sdi {
250
+ background: #00D692; }
251
+
252
+ .iroco-ui-button--danger.svelte-hp8sdi {
253
+ background: #ff504d;
254
+ color: #f2ebe3; }
255
+
256
+ .iroco-ui-button--regular.svelte-hp8sdi {
257
+ padding: 1em; }
258
+
259
+ .iroco-ui-button--small.svelte-hp8sdi {
260
+ padding: 0.5em; }
261
+
262
+ .iroco-ui-button.svelte-hp8sdi:active {
49
263
  background: #f5f5f5; }
50
264
 
51
- .iroco-ui-button.disabled.svelte-1dvdooy {
265
+ .iroco-ui-button.disabled.svelte-hp8sdi {
52
266
  background-color: #f5f5f5;
53
267
  cursor: default; }
54
268
 
55
- .account__sidebar.svelte-1rnpdw0.svelte-1rnpdw0 {
269
+ .iroco-ui-button.rounded.svelte-hp8sdi {
270
+ border-radius: 10px; }
271
+
272
+ .account__navigation.svelte-1uu9ytm.svelte-1uu9ytm {
273
+ display: block;
274
+ width: 100%;
275
+ border-bottom: 1px solid #464452; }
276
+
277
+ .account__navigation--mobile.svelte-1uu9ytm.svelte-1uu9ytm {
278
+ display: none; }
279
+
280
+ .account__navigation__title-container.svelte-1uu9ytm.svelte-1uu9ytm {
281
+ display: flex;
282
+ align-items: center;
283
+ padding-left: 1em; }
284
+
285
+ .account__navigation__title-container.svelte-1uu9ytm h1.svelte-1uu9ytm {
286
+ padding-left: 1em; }
287
+
288
+ @media all and (max-width: 768px) {
289
+ .account__navigation.svelte-1uu9ytm.svelte-1uu9ytm {
290
+ display: none;
291
+ color: #f2ebe3; }
292
+ .account__navigation--mobile.svelte-1uu9ytm.svelte-1uu9ytm {
293
+ display: flex;
294
+ padding: 0 1em;
295
+ justify-content: space-between;
296
+ position: fixed;
297
+ top: 0;
298
+ z-index: 1;
299
+ width: 100%;
300
+ border-bottom: 1px solid #464452; }
301
+ .account__navigation--mobile.svelte-1uu9ytm h1.svelte-1uu9ytm {
302
+ font: bold;
303
+ font-size: 2em; }
304
+ .account__navigation--mobile__button.svelte-1uu9ytm.svelte-1uu9ytm {
305
+ background-color: transparent;
306
+ border: none;
307
+ color: #464452; }
308
+ .account__navigation--mobile__title-container.svelte-1uu9ytm.svelte-1uu9ytm {
309
+ display: flex;
310
+ align-items: center; }
311
+ .account__navigation--mobile__title-container.svelte-1uu9ytm h1.svelte-1uu9ytm {
312
+ padding-left: 0.5em; } }
313
+
314
+ .account__sidebar.svelte-jkys2k.svelte-jkys2k {
56
315
  height: 100%;
57
316
  width: 300px;
58
- position: fixed;
317
+ position: absolute;
59
318
  top: 70px;
60
- z-index: 1;
61
- overflow-x: hidden; }
319
+ overflow-x: hidden;
320
+ border-right: 1px solid #464452; }
62
321
 
63
- .account__sidebar__item_container.svelte-1rnpdw0.svelte-1rnpdw0 {
322
+ .account__sidebar__item_container.svelte-jkys2k.svelte-jkys2k {
64
323
  margin: 0;
65
324
  padding: 0;
66
325
  width: 100%;
67
326
  height: 100%; }
68
327
 
69
- .account__sidebar__item.svelte-1rnpdw0.svelte-1rnpdw0 {
70
- padding: 2em 0;
328
+ .account__sidebar__item.svelte-jkys2k.svelte-jkys2k {
329
+ padding: 2em 2em;
71
330
  text-decoration: none;
72
331
  font-size: 0.75em;
73
- border-top: 1px solid #a9a29e;
74
- display: block; }
75
-
76
- .account__sidebar__item.svelte-1rnpdw0 a.svelte-1rnpdw0 {
77
- padding-left: 1em; }
78
-
79
- .account__sidebar__item.svelte-1rnpdw0.svelte-1rnpdw0:hover {
80
- background-color: #a9a29e; }
81
-
82
- .account__sidebar__item.svelte-1rnpdw0:hover a.svelte-1rnpdw0 {
83
- color: #211D28; }
84
-
85
- .account__sidebar__item.svelte-1rnpdw0.svelte-1rnpdw0:last-child {
86
- border-bottom: 1px solid #a9a29e; }
87
-
88
- .account__sidebar__item.svelte-1rnpdw0.svelte-1rnpdw0:first-child {
89
- border: none; }
332
+ display: block;
333
+ border-top: 1px solid #464452;
334
+ border-bottom: 1px solid #464452 a;
335
+ border-bottom-padding-left: 1em; }
90
336
 
91
- .account__sidebar__item.svelte-1rnpdw0 a.svelte-1rnpdw0 {
337
+ .account__sidebar__item.svelte-jkys2k a.svelte-jkys2k {
92
338
  color: #f2ebe3;
93
339
  font-size: 2em; }
94
340
 
95
- .account__sidebar__close.svelte-1rnpdw0.svelte-1rnpdw0 {
341
+ .account__sidebar__close.svelte-jkys2k.svelte-jkys2k {
96
342
  display: none; }
97
343
 
344
+ .account__sidebar.svelte-jkys2k .active.svelte-jkys2k {
345
+ border-top: 1px solid #00D692;
346
+ border-bottom: 1px solid #00D692; }
347
+
98
348
  @media all and (max-width: 768px) {
99
- .account__sidebar.svelte-1rnpdw0.svelte-1rnpdw0 {
349
+ .account__sidebar.svelte-jkys2k.svelte-jkys2k {
100
350
  position: fixed;
101
351
  background-color: #211D28;
102
352
  top: 0;
@@ -104,11 +354,12 @@ svg.svelte-1cuxg7m {
104
354
  width: 100%;
105
355
  padding: 0;
106
356
  padding-top: 2em;
107
- margin: 0; }
108
- .account__sidebar__item_container.svelte-1rnpdw0.svelte-1rnpdw0 {
357
+ margin: 0;
358
+ border-right: none; }
359
+ .account__sidebar__item_container.svelte-jkys2k.svelte-jkys2k {
109
360
  padding: 0em;
110
361
  margin-top: 2rem; }
111
- .account__sidebar__close.svelte-1rnpdw0.svelte-1rnpdw0 {
362
+ .account__sidebar__close.svelte-jkys2k.svelte-jkys2k {
112
363
  display: block;
113
364
  position: absolute;
114
365
  right: 0;
@@ -122,43 +373,21 @@ svg.svelte-1cuxg7m {
122
373
  @use "fonts";
123
374
  @use "forms";
124
375
  @use "layouts";
125
- .account__navigation.svelte-ff4jq1.svelte-ff4jq1 {
126
- display: block;
127
- width: 100%;
128
- border-bottom: 1px solid #a9a29e; }
129
-
130
- .account__navigation--mobile.svelte-ff4jq1.svelte-ff4jq1 {
131
- display: none; }
132
-
133
- .account__navigation__title-container.svelte-ff4jq1.svelte-ff4jq1 {
134
- display: flex;
376
+ .alert.svelte-1oun6o6 {
377
+ min-height: 2em;
378
+ display: inline-flex;
135
379
  align-items: center;
136
- padding-left: 1em; }
380
+ border-radius: 0.5em;
381
+ padding: 0 1em 0 1em;
382
+ font-size: 1.2em;
383
+ justify-content: center;
384
+ margin-bottom: 1em;
385
+ cursor: pointer; }
137
386
 
138
- .account__navigation__title-container.svelte-ff4jq1 h1.svelte-ff4jq1 {
139
- padding-left: 1em; }
387
+ .alert--danger.svelte-1oun6o6 {
388
+ background-color: rgba(255, 80, 77, 0.5);
389
+ border: 1px solid #ff504d; }
140
390
 
141
- @media all and (max-width: 768px) {
142
- .account__navigation.svelte-ff4jq1.svelte-ff4jq1 {
143
- display: none;
144
- color: #f2ebe3; }
145
- .account__navigation--mobile.svelte-ff4jq1.svelte-ff4jq1 {
146
- display: flex;
147
- padding: 0 1em;
148
- justify-content: space-between;
149
- position: fixed;
150
- top: 0;
151
- width: 100%;
152
- border-bottom: 1px solid #a9a29e; }
153
- .account__navigation--mobile.svelte-ff4jq1 h1.svelte-ff4jq1 {
154
- font: bold;
155
- font-size: 2em; }
156
- .account__navigation--mobile__button.svelte-ff4jq1.svelte-ff4jq1 {
157
- background-color: transparent;
158
- border: none;
159
- color: #a9a29e; }
160
- .account__navigation--mobile__title-container.svelte-ff4jq1.svelte-ff4jq1 {
161
- display: flex;
162
- align-items: center; }
163
- .account__navigation--mobile__title-container.svelte-ff4jq1 h1.svelte-ff4jq1 {
164
- padding-left: 0.5em; } }
391
+ .alert--success.svelte-1oun6o6 {
392
+ background-color: rgba(0, 214, 146, 0.5);
393
+ border: 1px solid #00D692; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iroco/ui",
3
- "version": "0.6.5",
3
+ "version": "0.8.1",
4
4
  "description": "Iroco design system based on Svelte",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
@@ -0,0 +1,33 @@
1
+ <script lang="ts">
2
+ export let type: 'success' | 'danger' = 'success';
3
+ export let content: string;
4
+ export let callback: (e: Event) => void;
5
+
6
+ </script>
7
+
8
+ <div class={`alert alert--${type}`} on:click={callback} >
9
+ {content}
10
+ </div>
11
+
12
+ <style lang="scss">
13
+ @use '../scss/colors';
14
+ .alert {
15
+ min-height: 2em;
16
+ display: inline-flex;
17
+ align-items: center;
18
+ border-radius: 0.5em;
19
+ padding: 0 1em 0 1em;
20
+ font-size: 1.2em;
21
+ justify-content: center;
22
+ margin-bottom: 1em;
23
+ cursor: pointer;
24
+ &--danger {
25
+ background-color: rgba(colors.$red, 0.5);
26
+ border: 1px solid colors.$red;
27
+ }
28
+ &--success {
29
+ background-color: rgba(colors.$green, 0.5);
30
+ border: 1px solid colors.$green;
31
+ }
32
+ }
33
+ </style>
package/src/Button.svelte CHANGED
@@ -1,40 +1,69 @@
1
- <script lang="ts">
2
- export let type = 'button'
3
- export let disabled = false
1
+ <script lang="ts">
2
+ export let type = 'button';
3
+ export let disabled = false;
4
+ export let kind: 'danger' | 'basic' = 'basic';
5
+ export let size: 'small' | 'regular' = 'regular';
6
+ export let rounded = false;
7
+ export let id:string
4
8
  </script>
5
9
 
6
- <button class="iroco-ui-button" class:disabled {type} disabled={disabled} on:click>
7
- <slot/>
10
+ <button
11
+ {id}
12
+ class={`iroco-ui-button iroco-ui-button--${size} iroco-ui-button--${kind}`}
13
+ class:disabled
14
+ class:rounded
15
+ {type}
16
+ {disabled}
17
+ on:click
18
+ >
19
+ <slot />
8
20
  </button>
9
21
 
10
22
  <style lang="scss">
11
- @use "../scss/colors";
12
- @use "../scss/fonts";
13
- @use "../scss/containers";
14
-
15
- .iroco-ui-button {
16
- cursor: pointer;
17
- -webkit-touch-callout: none;
18
- -webkit-user-select: none;
19
- -khtml-user-select: none;
20
- -moz-user-select: none;
21
- -ms-user-select: none;
22
- user-select: none;
23
- border: none;
24
- border-radius: 0.5em;
25
- flex-shrink: 0;
26
- padding: 1em;
27
- margin: 1em 0em;
28
- background: colors.$green;
29
- position: relative;
30
-
31
- &:active {
32
- background: colors.$lightGrey;
33
- }
34
-
35
- &.disabled {
36
- background-color: colors.$lightGrey;
37
- cursor: default;
38
- }
39
- }
23
+ @use '../scss/colors';
24
+ @use '../scss/fonts';
25
+ @use '../scss/containers';
26
+
27
+ .iroco-ui-button {
28
+ cursor: pointer;
29
+ -webkit-touch-callout: none;
30
+ -webkit-user-select: none;
31
+ -khtml-user-select: none;
32
+ -moz-user-select: none;
33
+ -ms-user-select: none;
34
+ user-select: none;
35
+ border: none;
36
+ border-radius: 0.5em;
37
+ flex-shrink: 0;
38
+ margin: 1em 0em;
39
+ position: relative;
40
+
41
+ &--basic {
42
+ background: colors.$green;
43
+ }
44
+
45
+ &--danger {
46
+ background: colors.$red;
47
+ color: colors.$beige;
48
+ }
49
+ &--regular {
50
+ padding: 1em;
51
+ }
52
+ &--small {
53
+ padding: 0.5em;
54
+ }
55
+
56
+ &:active {
57
+ background: colors.$lightGrey;
58
+ }
59
+
60
+ &.disabled {
61
+ background-color: colors.$lightGrey;
62
+ cursor: default;
63
+ }
64
+
65
+ &.rounded {
66
+ border-radius: 10px;
67
+ }
68
+ }
40
69
  </style>
@@ -0,0 +1,72 @@
1
+ <script type="module" lang="ts">
2
+ import type { SvelteComponent } from 'svelte';
3
+ type TableCollumn = {
4
+ key: string;
5
+ title: string;
6
+ renderComponent?: {
7
+ component: SvelteComponent;
8
+ props?: any;
9
+ };
10
+ };
11
+
12
+ type TableRow = {
13
+ [key: string]: string | number;
14
+ };
15
+
16
+ export let rows: Array<TableRow>;
17
+
18
+ export let collumns: Array<TableCollumn>;
19
+ </script>
20
+
21
+ <table class="data-table">
22
+ <thead class="data-table__header">
23
+ <tr>
24
+ {#each collumns as collumn}
25
+ <th class="data-table__header__cell">
26
+ {collumn.title}
27
+ </th>
28
+ {/each}
29
+ </tr>
30
+ </thead>
31
+
32
+ <tbody class="data-table__body">
33
+ {#each rows as row}
34
+ <tr class="data-table__body__row">
35
+ {#each collumns as { key, renderComponent }}
36
+ <td class="data-table__body__cell">
37
+ {#if renderComponent}
38
+ <svelte:component
39
+ this={renderComponent.component}
40
+ on:click={() => renderComponent.props.onclick(row)}
41
+ />
42
+ {:else}
43
+ {row[key]}
44
+ {/if}
45
+ </td>
46
+ {/each}
47
+ </tr>
48
+ {/each}
49
+ </tbody>
50
+ </table>
51
+
52
+ <style lang="scss">
53
+ @use '../scss/colors';
54
+ .data-table {
55
+ border: 1px solid colors.$mediumGrey;
56
+ width: 100%;
57
+ &__header {
58
+ font-size: 1.5em;
59
+ height: 4rem;
60
+
61
+ &__cell {
62
+ border-bottom: 1px solid colors.$mediumGrey;
63
+ }
64
+ }
65
+ &__body {
66
+ &__cell {
67
+ text-align: center;
68
+ vertical-align: middle;
69
+ }
70
+ }
71
+ }
72
+ </style>
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ export let width = '5rem';
3
+ export let height = '5rem';
4
+ export let fill = 'currentColor';
5
+ </script>
6
+
7
+ <svg {width} {height} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
8
+ <path
9
+ d="M12 10.2857C12 10.7404 11.8194 11.1764 11.4979 11.4979C11.1764 11.8194 10.7404 12 10.2857 12L3.10371 12C2.64909 11.9999 2.21313 11.8192 1.89171 11.4977L0.502286 10.1083C0.180773 9.78687 9.70432e-05 9.35091 -2.71336e-07 8.89629L-8.99207e-07 1.71429C-9.38954e-07 1.25963 0.180611 0.823595 0.502102 0.502104C0.823593 0.180613 1.25963 9.38953e-07 1.71428 8.99206e-07L10.2857 1.49868e-07C10.7404 1.1012e-07 11.1764 0.180612 11.4979 0.502103C11.8194 0.823594 12 1.25963 12 1.71429L12 10.2857ZM10.2857 11.1429C10.513 11.1429 10.7311 11.0526 10.8918 10.8918C11.0526 10.7311 11.1429 10.513 11.1429 10.2857L11.1429 1.71429C11.1429 1.48696 11.0526 1.26894 10.8918 1.10819C10.7311 0.947449 10.513 0.857143 10.2857 0.857143L10.2857 4.71429C10.2857 5.05528 10.1503 5.3823 9.90914 5.62342C9.66802 5.86454 9.34099 6 9 6L3 6C2.65901 6 2.33198 5.86454 2.09086 5.62342C1.84974 5.38231 1.71429 5.05528 1.71429 4.71429L1.71428 0.857143C1.48696 0.857143 1.26894 0.94745 1.10819 1.1082C0.947448 1.26894 0.857142 1.48696 0.857142 1.71429L0.857142 8.89629C0.857191 9.1236 0.947529 9.34158 1.10829 9.50229L2.49771 10.8917C2.65842 11.0525 2.8764 11.1428 3.10371 11.1429L3.42857 11.1429L3.42857 9C3.42857 8.65901 3.56403 8.33198 3.80515 8.09086C4.04627 7.84975 4.37329 7.71429 4.71429 7.71429L8.14286 7.71429C8.48385 7.71429 8.81088 7.84974 9.05199 8.09086C9.29311 8.33198 9.42857 8.65901 9.42857 9L9.42857 11.1429L10.2857 11.1429ZM8.57143 11.1429L8.57143 9C8.57143 8.88634 8.52628 8.77733 8.4459 8.69695C8.36553 8.61658 8.25652 8.57143 8.14286 8.57143L4.71429 8.57143C4.60062 8.57143 4.49161 8.61658 4.41124 8.69695C4.33087 8.77733 4.28571 8.88634 4.28571 9L4.28571 11.1429L8.57143 11.1429ZM2.57143 0.857143L2.57143 4.71429C2.57143 4.82795 2.61658 4.93696 2.69695 5.01733C2.77733 5.09771 2.88633 5.14286 3 5.14286L9 5.14286C9.11366 5.14286 9.22267 5.0977 9.30305 5.01733C9.38342 4.93696 9.42857 4.82795 9.42857 4.71429L9.42857 0.857143L2.57143 0.857143Z"
10
+ {fill}
11
+ />
12
+ </svg>
@@ -0,0 +1,15 @@
1
+ <script lang="ts">
2
+ export let width = '3rem';
3
+ export let height = '3rem';
4
+ </script>
5
+
6
+ <svg
7
+ xmlns="http://www.w3.org/2000/svg"
8
+ {height}
9
+ {width}
10
+ fill="none"
11
+ viewBox="0 0 24 24"
12
+ stroke="currentColor"
13
+ >
14
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4" />
15
+ </svg>