@novely/solid-renderer 0.3.0 → 0.4.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.
@@ -1,26 +1,38 @@
1
+ /* src/styles/global/global.css */
2
+ canvas,
3
+ img {
4
+ -webkit-user-select: none;
5
+ user-select: none;
6
+ -webkit-tap-highlight-color: #0000;
7
+ -webkit-tap-highlight-color: transparent;
8
+ -webkit-touch-callout: none;
9
+ }
10
+
11
+ /* src/styles/global/index.css */
12
+
1
13
  /* src/styles/root/root.css */
2
14
  .root {
15
+ background-repeat: var(--novely-root-background-repeat, no-repeat);
16
+ background-position: var(--novely-root-background-position, center);
17
+ background-size: var(--novely-root-background-size, cover);
3
18
  width: 100vw;
4
19
  height: 100vh;
5
- font-size: 1rem;
6
20
  font-family:
7
21
  ui-sans-serif,
8
22
  system-ui,
9
23
  -apple-system,
10
24
  BlinkMacSystemFont,
11
- "Segoe UI",
25
+ Segoe UI,
12
26
  Roboto,
13
- "Helvetica Neue",
27
+ Helvetica Neue,
14
28
  Arial,
15
- "Noto Sans",
29
+ Noto Sans,
16
30
  sans-serif,
17
- "Apple Color Emoji",
18
- "Segoe UI Emoji",
19
- "Segoe UI Symbol",
20
- "Noto Color Emoji";
21
- background-repeat: var(--novely-root-background-repeat, no-repeat);
22
- background-position: var(--novely-root-background-position, center);
23
- background-size: var(--novely-root-background-size, cover);
31
+ Apple Color Emoji,
32
+ Segoe UI Emoji,
33
+ Segoe UI Symbol,
34
+ Noto Color Emoji;
35
+ font-size: 1rem;
24
36
  }
25
37
  .root,
26
38
  .root * {
@@ -34,42 +46,43 @@
34
46
  background-color: var(--novely-button-background-color, #ffe9f3);
35
47
  border: 4px solid var(--novely-button-border-color, #ffc7df);
36
48
  color: var(--novely-button-color, #000);
37
- margin: 0.4rem 0;
38
- padding: 0.4rem;
39
- font-size: 1.02rem;
40
- line-height: 1.2;
41
49
  cursor: pointer;
50
+ -webkit-user-select: none;
42
51
  user-select: none;
43
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
52
+ -webkit-tap-highlight-color: #0000;
44
53
  -webkit-tap-highlight-color: transparent;
45
54
  -webkit-touch-callout: none;
55
+ margin: .4rem 0;
56
+ padding: .4rem;
57
+ font-size: 1.02rem;
58
+ line-height: 1.2;
46
59
  }
47
60
  .button:hover {
48
- background-color: var(--novely-button-hover-background-color, #ffffff);
61
+ background-color: var(--novely-button-hover-background-color, #fff);
49
62
  border-color: var(--novely-button-hover-border-color, #ffc6d8);
50
63
  color: var(--novely-button-hover-color, #ffb7a2);
51
64
  }
52
65
  .button[aria-disabled=true] {
53
66
  cursor: not-allowed;
54
- opacity: 0.9;
67
+ opacity: .9;
55
68
  }
56
69
 
57
70
  /* src/styles/button/index.css */
58
71
 
59
72
  /* src/styles/characters/characters.css */
60
73
  .characters {
74
+ justify-content: center;
75
+ align-items: flex-end;
61
76
  width: 100vw;
62
77
  height: 100vh;
63
- overflow: hidden;
64
78
  display: flex;
65
- align-items: flex-end;
66
- justify-content: center;
79
+ overflow: hidden;
67
80
  }
68
81
  .characters > canvas {
69
- position: relative;
70
82
  min-width: unset;
71
- max-height: 85vh;
72
83
  max-width: 50vw;
84
+ max-height: 85vh;
85
+ position: relative;
73
86
  }
74
87
 
75
88
  /* src/styles/characters/index.css */
@@ -77,25 +90,36 @@
77
90
  /* src/styles/control-panel/control-panel.css */
78
91
  .control-panel {
79
92
  z-index: 23;
80
- position: fixed;
81
- display: flex;
82
93
  justify-content: end;
83
- right: 0.4rem;
84
- bottom: 0.4rem;
94
+ display: flex;
95
+ position: fixed;
96
+ bottom: .4rem;
97
+ right: .4rem;
98
+ }
99
+ .control-panel--center {
100
+ bottom: calc(var(--novely-dialog-border-width, 3px) + .4rem);
101
+ justify-content: center;
102
+ width: 75%;
103
+ left: 50%;
104
+ right: 50%;
105
+ transform: translateX(-50%);
106
+ }
107
+ @media (orientation: portrait) {
108
+ .control-panel--center {
109
+ width: 75%;
110
+ }
85
111
  }
86
112
 
87
113
  /* src/styles/control-panel/button/button.css */
88
114
  .control-panel__button {
89
115
  border: 2px solid var(--novely-button-border-color, #ffc7df);
116
+ height: 2rem;
90
117
  margin: 0;
91
- padding: 0.2rem 0.4rem;
118
+ padding: .2rem .4rem;
92
119
  font-size: 1rem;
93
120
  line-height: 1;
94
- height: 2rem;
95
- }
96
- .control-panel__button__icon {
97
- display: none;
98
121
  }
122
+ .control-panel__button__icon,
99
123
  .control-panel__button--auto-mode {
100
124
  display: none;
101
125
  }
@@ -106,11 +130,11 @@
106
130
  .control-panel__button__content {
107
131
  clip: rect(0 0 0 0);
108
132
  clip-path: inset(50%);
109
- height: 1px;
110
- overflow: hidden;
111
- position: absolute;
112
133
  white-space: nowrap;
113
134
  width: 1px;
135
+ height: 1px;
136
+ position: absolute;
137
+ overflow: hidden;
114
138
  }
115
139
  }
116
140
  @media (prefers-reduced-motion: no-preference) {
@@ -123,42 +147,53 @@
123
147
 
124
148
  /* src/styles/action-text/action-text.css */
125
149
  .action-text {
126
- position: absolute;
127
- inset: 0;
128
150
  z-index: 2;
129
- max-width: 100%;
130
- max-width: 100vw;
131
- display: none;
132
151
  text-align: center;
152
+ max-width: 100vw;
133
153
  font-size: 1.5rem;
134
- user-select: none;
135
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
136
- -webkit-tap-highlight-color: transparent;
137
- -webkit-touch-callout: none;
154
+ display: none;
155
+ position: absolute;
156
+ top: 0;
157
+ bottom: 0;
158
+ left: 0;
159
+ right: 0;
138
160
  }
139
161
  .action-text[data-shown=true] {
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- background: var(--novely-fullscreen-backgroun-color, rgba(0, 0, 0, 0.3));
144
- text-shadow: var( --novely-fullscreen-text-shadow, 2px 2px 4px rgba(0, 0, 0, 0.5) );
162
+ background: var(--novely-fullscreen-background-color, #0000004d);
163
+ text-shadow: var(--novely-fullscreen-text-shadow, 2px 2px 4px #00000080);
145
164
  color: var(--novely-fullscreen-text-color, white);
165
+ justify-content: center;
166
+ align-items: center;
167
+ display: flex;
146
168
  }
147
169
  .action-text[data-shown=true] > span {
148
170
  cursor: pointer;
171
+ -webkit-user-select: none;
149
172
  user-select: none;
150
173
  word-wrap: break-word;
151
174
  word-break: break-word;
152
175
  }
176
+ .action-text[data-shown=true]:focus-visible > span {
177
+ text-decoration: underline;
178
+ }
179
+ .action-text,
180
+ .action-text > span {
181
+ -webkit-user-select: none;
182
+ user-select: none;
183
+ -webkit-tap-highlight-color: #0000;
184
+ -webkit-tap-highlight-color: transparent;
185
+ -webkit-touch-callout: none;
186
+ touch-action: none;
187
+ }
153
188
 
154
189
  /* src/styles/action-text/index.css */
155
190
 
156
191
  /* src/styles/select/select.css */
157
192
  .select {
158
- width: 100%;
159
- display: flex;
160
193
  flex-direction: column;
161
194
  align-items: start;
195
+ width: 100%;
196
+ display: flex;
162
197
  }
163
198
 
164
199
  /* src/styles/select/select/select.css */
@@ -166,8 +201,8 @@
166
201
  background-color: var(--novely-select-background-color, #ffe9f3);
167
202
  border: 4px solid var(--novely-select-border-color, #ffc7df);
168
203
  color: var(--novely-select-color, #000);
169
- margin: 0.4rem 0;
170
- padding: 0.4rem;
204
+ margin: .4rem 0;
205
+ padding: .4rem;
171
206
  font-size: 1.02rem;
172
207
  }
173
208
 
@@ -175,87 +210,94 @@
175
210
  .select__label {
176
211
  background: var(--novely-select-label-background, #ffe9f3);
177
212
  color: var(--novely-select-color, #000);
178
- font-size: 1.02rem;
179
- padding: 0.25rem 0.5rem;
180
- border-radius: 0.25rem;
213
+ -webkit-user-select: none;
181
214
  user-select: none;
215
+ border-radius: .25rem;
216
+ padding: .25rem .5rem;
217
+ font-size: 1.02rem;
182
218
  }
183
219
 
184
220
  /* src/styles/select/index.css */
185
221
 
186
222
  /* src/styles/action-dialog/action-dialog.css */
187
223
  .action-dialog {
188
- min-height: 26vh;
189
- width: 75%;
190
- position: fixed;
191
- left: 50%;
192
- transform: translateX(-50%);
193
- bottom: 0.4rem;
194
224
  z-index: 22;
195
225
  text-align: left;
196
- flex-direction: column;
197
- justify-content: flex-end;
198
226
  cursor: default;
227
+ -webkit-user-select: none;
199
228
  user-select: none;
229
+ flex-direction: column;
230
+ justify-content: flex-end;
231
+ width: 75%;
232
+ min-height: 26vh;
233
+ position: fixed;
234
+ bottom: .4rem;
235
+ left: 50%;
236
+ transform: translateX(-50%);
237
+ }
238
+ .action-dialog--visible {
239
+ display: flex;
240
+ }
241
+ .action-dialog--hidden {
242
+ display: none;
200
243
  }
201
244
  .action-dialog-container {
202
- height: 100%;
203
- min-height: 18vh;
204
- flex-grow: 1;
205
- color: var(--novely-dialog-color, #ffffff);
206
- border: 3px solid var(--novely-dialog-border-color, #ffffff);
245
+ color: var(--novely-dialog-color, #fff);
246
+ border: var(--novely-dialog-border-width, 3px) solid var(--novely-dialog-border-color, #fff);
207
247
  border-radius: var(--novely-dialog-border-radius, 14px);
208
248
  box-shadow: 1px 1px 4px var(--novely-dialog-box-shadow-color, #00000072);
209
249
  background-image: var(--novely-dialog-background-image, radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%));
210
250
  background-color: var(--novely-dialog-background-color, #f092b4d8);
211
251
  background-position: var(--novely-dialog-background-position, 0 0, 50px 50px);
212
252
  background-size: var(--novely-dialog-background-size, 100px 100px);
213
- display: flex;
214
253
  flex-wrap: nowrap;
254
+ flex-grow: 1;
255
+ height: 100%;
256
+ min-height: 18vh;
215
257
  padding-bottom: 2.8rem;
258
+ display: flex;
216
259
  }
217
260
  .action-dialog-person {
218
- max-height: 25vh;
219
261
  max-width: 25vw;
262
+ max-height: 25vh;
220
263
  }
221
264
  .action-dialog-name,
222
265
  .action-dialog-content {
223
- display: block;
224
- padding: 1vmin;
225
266
  margin: 0;
267
+ padding: 1vmin;
268
+ display: block;
226
269
  }
227
270
  .action-dialog-name {
228
- font-size: 1.4375rem;
229
- line-height: 1.2;
230
- background: #ffffff;
271
+ background: #fff;
231
272
  border-radius: 7px 7px 0 0;
232
- width: -moz-fit-content;
233
273
  width: fit-content;
234
274
  margin-left: 5vmin;
275
+ font-size: 1.4375rem;
276
+ line-height: 1.2;
235
277
  box-shadow: 1px 1px 3px #00000042;
236
278
  }
237
279
  .action-dialog-content {
280
+ text-shadow:
281
+ 1px 1px #000,
282
+ -1px -1px #000,
283
+ 1px -1px #000,
284
+ -1px 1px #000;
238
285
  width: 100%;
239
286
  font-size: 2.2375rem;
240
287
  line-height: 1.2;
241
- text-shadow:
242
- 1px 1px 0 black,
243
- -1px -1px 0 black,
244
- 1px -1px 0 black,
245
- -1px 1px 0 black;
246
288
  }
247
289
  .action-dialog-person > canvas,
248
290
  .action-dialog-person > img {
249
- max-height: 100%;
250
- max-width: 100%;
251
291
  object-fit: contain;
292
+ max-width: 100%;
293
+ max-height: 100%;
252
294
  }
253
295
  @media (orientation: portrait) {
254
296
  .action-dialog {
255
- width: 100%;
256
297
  bottom: 0;
257
298
  left: unset;
258
299
  transform: unset;
300
+ width: 100%;
259
301
  }
260
302
  .action-dialog-name {
261
303
  font-size: 1.02rem;
@@ -272,50 +314,52 @@
272
314
  }
273
315
  @media only screen and (orientation: landscape) and (pointer: coarse) {
274
316
  .action-dialog-content {
317
+ text-shadow: none;
275
318
  font-size: 1.32rem;
276
319
  line-height: 1.15;
277
320
  }
278
- .action-dialog-content {
279
- text-shadow: none;
280
- }
281
321
  }
282
322
 
283
323
  /* src/styles/action-dialog/index.css */
284
324
 
285
325
  /* src/styles/dialog/dialog.css */
286
326
  .dialog {
287
- position: absolute;
288
- inset: 0;
289
327
  z-index: 20;
328
+ position: absolute;
329
+ top: 0;
330
+ bottom: 0;
331
+ left: 0;
332
+ right: 0;
290
333
  }
291
334
  .dialog-container {
335
+ justify-content: center;
336
+ align-items: center;
292
337
  min-height: 100vh;
293
338
  display: flex;
294
- align-items: center;
295
- justify-content: center;
296
339
  }
297
340
  .dialog-fix {
298
- display: inline-block;
299
- height: 100vh;
300
341
  vertical-align: middle;
342
+ height: 100vh;
343
+ display: inline-block;
301
344
  }
302
345
  .dialog-panel {
303
346
  text-align: left;
304
347
  z-index: 21;
305
- min-height: 40vh;
348
+ flex-direction: column;
349
+ align-items: stretch;
306
350
  min-width: 50vw;
307
351
  max-width: 100vw;
308
- padding-left: 0.25rem;
309
- padding-right: 0.25rem;
352
+ min-height: 40vh;
353
+ padding-left: .25rem;
354
+ padding-right: .25rem;
310
355
  display: flex;
311
- flex-direction: column;
312
- align-items: stretch;
313
356
  }
314
357
  .dialog-panel-label {
358
+ -webkit-user-select: none;
315
359
  user-select: none;
360
+ border-radius: .25rem;
361
+ padding: .25rem .5rem;
316
362
  font-size: 1.2375rem;
317
- padding: 0.25rem 0.5rem;
318
- border-radius: 0.25rem;
319
363
  }
320
364
  .dialog-panel-label[data-used=true] {
321
365
  background: var(--novely-dialog-panel-label-background, #ffe9f3);
@@ -323,7 +367,7 @@
323
367
  }
324
368
  @media (orientation: portrait) {
325
369
  .dialog-panel {
326
- width: calc(100vw - 0.5rem);
370
+ width: calc(100vw - .5rem);
327
371
  }
328
372
  }
329
373
 
@@ -331,56 +375,56 @@
331
375
 
332
376
  /* src/styles/input-dialog/input-dialog.css */
333
377
  .input-dialog-label {
334
- display: flex;
335
378
  flex-direction: column;
336
- align-items: center;
337
379
  justify-content: center;
338
- font-size: 1.2375rem;
380
+ align-items: center;
339
381
  width: 100%;
382
+ font-size: 1.2375rem;
383
+ display: flex;
340
384
  }
341
385
  .input-dialog-label > span {
342
- margin: 0.4rem 0;
343
386
  min-height: 1rem;
344
- min-height: 1lh;
387
+ -webkit-user-select: none;
345
388
  user-select: none;
346
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
389
+ -webkit-tap-highlight-color: #0000;
347
390
  -webkit-tap-highlight-color: transparent;
348
391
  -webkit-touch-callout: none;
392
+ min-height: 1lh;
393
+ margin: .4rem 0;
349
394
  }
350
395
  .input-dialog-label > input {
351
396
  min-width: 10rem;
352
397
  max-width: 100%;
353
398
  }
354
399
  .input-dialog-panel {
355
- justify-content: center;
356
- align-items: center;
357
- color: rgb(255, 255, 255);
358
- border: 3px solid #ffffff;
359
- border-radius: 14px;
360
- box-shadow: 1px 1px 4px #00000072;
361
- background-image: radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%);
400
+ color: #fff;
362
401
  background-color: #f092b4d8;
402
+ background-image: radial-gradient(#d6608998 20%, #0000 20%), radial-gradient(#d6608998 20%, #0000 20%);
363
403
  background-position: 0 0, 50px 50px;
364
404
  background-size: 100px 100px;
405
+ border: 3px solid #fff;
406
+ border-radius: 14px;
407
+ justify-content: center;
408
+ align-items: center;
409
+ box-shadow: 1px 1px 4px #00000072;
365
410
  }
366
411
 
367
412
  /* src/styles/input-dialog/button/button.css */
368
413
  .dialog-input__button {
369
- font-size: 1.2375rem;
370
- padding: 0.4rem 0.6rem;
371
- width: -moz-fit-content;
372
414
  width: fit-content;
415
+ padding: .4rem .6rem;
416
+ font-size: 1.2375rem;
373
417
  }
374
418
 
375
419
  /* src/styles/input-dialog/index.css */
376
420
 
377
421
  /* src/styles/main-menu/main-menu.css */
378
422
  .main-menu {
379
- overflow: hidden;
380
423
  background-image: var(--novely-main-menu-background-image);
424
+ align-content: center;
381
425
  padding: 0 1rem;
382
426
  display: grid;
383
- align-content: center;
427
+ overflow: hidden;
384
428
  }
385
429
  @media (orientation: landscape) {
386
430
  .main-menu {
@@ -397,44 +441,44 @@
397
441
 
398
442
  /* src/styles/loading/loading.css */
399
443
  .loading {
400
- overflow: hidden;
401
- background: black;
402
- display: flex;
444
+ background: #000;
403
445
  justify-content: center;
404
446
  align-items: center;
447
+ display: flex;
448
+ overflow: hidden;
405
449
  }
406
450
 
407
451
  /* src/styles/loading/animation/animation.css */
408
452
  .loading__animation {
409
- display: inline-block;
410
- position: relative;
411
453
  width: 80px;
412
454
  height: 80px;
455
+ display: inline-block;
456
+ position: relative;
413
457
  }
414
458
  .loading__animation div {
415
- position: absolute;
416
- top: 33px;
459
+ background: #fff;
460
+ border-radius: 50%;
417
461
  width: 13px;
418
462
  height: 13px;
419
- border-radius: 50%;
420
- background: #fff;
421
463
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
464
+ position: absolute;
465
+ top: 33px;
422
466
  }
423
- .loading__animation div:nth-child(1) {
467
+ .loading__animation div:first-child {
468
+ animation: .6s infinite lds-ellipsis1;
424
469
  left: 8px;
425
- animation: lds-ellipsis1 0.6s infinite;
426
470
  }
427
471
  .loading__animation div:nth-child(2) {
472
+ animation: .6s infinite lds-ellipsis2;
428
473
  left: 8px;
429
- animation: lds-ellipsis2 0.6s infinite;
430
474
  }
431
475
  .loading__animation div:nth-child(3) {
476
+ animation: .6s infinite lds-ellipsis2;
432
477
  left: 32px;
433
- animation: lds-ellipsis2 0.6s infinite;
434
478
  }
435
479
  .loading__animation div:nth-child(4) {
480
+ animation: .6s infinite lds-ellipsis3;
436
481
  left: 56px;
437
- animation: lds-ellipsis3 0.6s infinite;
438
482
  }
439
483
  @keyframes lds-ellipsis1 {
440
484
  0% {
@@ -454,10 +498,10 @@
454
498
  }
455
499
  @keyframes lds-ellipsis2 {
456
500
  0% {
457
- transform: translate(0, 0);
501
+ transform: translate(0);
458
502
  }
459
503
  100% {
460
- transform: translate(24px, 0);
504
+ transform: translate(24px);
461
505
  }
462
506
  }
463
507
 
@@ -465,11 +509,11 @@
465
509
 
466
510
  /* src/styles/settings/settings.css */
467
511
  .settings {
468
- padding: 0 1rem;
469
- gap: 1rem;
470
- overflow: hidden;
471
512
  background-image: var(--novely-settings-background-image);
513
+ gap: 1rem;
514
+ padding: 0 1rem;
472
515
  display: flex;
516
+ overflow: hidden;
473
517
  }
474
518
  @media (orientation: portrait) {
475
519
  .settings {
@@ -489,22 +533,21 @@
489
533
 
490
534
  /* src/styles/settings/column/column.css */
491
535
  .settings__column {
492
- display: flex;
493
- align-items: center;
536
+ flex-flow: column wrap;
494
537
  justify-content: center;
495
- flex-direction: column;
496
- flex-wrap: wrap;
538
+ align-items: center;
539
+ display: flex;
497
540
  }
498
541
 
499
542
  /* src/styles/settings/index.css */
500
543
 
501
544
  /* src/styles/saves/saves.css */
502
545
  .saves {
503
- padding: 0 1rem;
504
- gap: 1rem;
505
- overflow: hidden;
506
546
  background-image: var(--novely-saves-background-image);
547
+ gap: 1rem;
548
+ padding: 0 1rem;
507
549
  display: flex;
550
+ overflow: hidden;
508
551
  }
509
552
  @media (orientation: portrait) {
510
553
  .saves {
@@ -537,30 +580,29 @@
537
580
 
538
581
  /* src/styles/saves/list/list.css */
539
582
  .saves__list-container {
583
+ justify-content: center;
584
+ align-items: center;
540
585
  width: 100%;
541
586
  height: 100%;
542
587
  display: flex;
543
- align-items: center;
544
- justify-content: center;
545
588
  overflow: hidden;
546
589
  }
547
590
  .saves__list {
548
- width: 100%;
549
- height: 80%;
550
591
  padding: 0 1rem;
551
- display: grid;
552
- align-content: flex-start;
553
- justify-content: center;
592
+ border-radius: var(--novely-saves-list-border-radius, 14px);
593
+ background-color: var(--novely-saves-list-background-color, #ffffff57);
594
+ place-content: flex-start center;
554
595
  justify-items: stretch;
596
+ width: 100%;
597
+ height: 80%;
598
+ margin-top: 0;
599
+ margin-bottom: 0;
600
+ padding-left: 0;
601
+ padding-right: 0;
555
602
  list-style: none;
603
+ display: grid;
556
604
  overflow-y: scroll;
557
- padding-inline-start: 0;
558
- padding-inline-end: 0;
559
- margin-block-start: 0;
560
- margin-block-end: 0;
561
605
  touch-action: auto !important;
562
- border-radius: var(--novely-saves-list-border-radius, 14px);
563
- background-color: var(--novely-saves-list-background-color, #ffffff57);
564
606
  }
565
607
  .saves__list::-webkit-scrollbar {
566
608
  width: 14px;
@@ -580,10 +622,11 @@
580
622
  scrollbar-color: var(--novely-scrollbar-thumb-hover-bg-color, #ffc6d8);
581
623
  }
582
624
  .saves__list--empty {
583
- display: flex;
584
- align-items: center;
625
+ -webkit-user-select: none;
585
626
  user-select: none;
586
627
  color: var(--novely-saves-list-empty-color, black);
628
+ align-items: center;
629
+ display: flex;
587
630
  }
588
631
  .saves__list-item {
589
632
  display: flex;
@@ -603,11 +646,10 @@
603
646
  /* src/styles/saves/column/column.css */
604
647
  @media (orientation: portrait) {
605
648
  .saves__column {
606
- display: flex;
607
- align-items: center;
649
+ flex-flow: column wrap;
608
650
  justify-content: center;
609
- flex-direction: column;
610
- flex-wrap: wrap;
651
+ align-items: center;
652
+ display: flex;
611
653
  }
612
654
  }
613
655
 
package/dist/utils.d.ts CHANGED
@@ -7,4 +7,5 @@ declare const createImage: (src: string) => HTMLImageElement;
7
7
  declare const canvasDrawImages: (canvas: HTMLCanvasElement | undefined, ctx: CanvasRenderingContext2D | undefined, images: HTMLImageElement[]) => readonly [HTMLCanvasElement, CanvasRenderingContext2D];
8
8
  declare const url: <T extends string>(str: T) => `url(${T})`;
9
9
  declare const escape: (str: string) => string;
10
- export { isCSSImage, canvasDrawImages, url, createImage, capitalize, escape };
10
+ declare const onKey: (cb: (event: KeyboardEvent) => void, ...keys: string[]) => (e: KeyboardEvent) => void;
11
+ export { isCSSImage, canvasDrawImages, url, createImage, capitalize, escape, onKey };