@novely/solid-renderer 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -25
- package/dist/styles/index.css +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @novely/solid-renderer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Renderer for @novely/core powered by SolidJS
|
|
4
4
|
|
|
5
5
|
## Использование
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Make sure you have [SolidJS](https://www.solidjs.com/) installed and your bundler setup dones.
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
10
|
// @see https://www.solidjs.com/docs/latest/api#render
|
|
@@ -68,27 +68,12 @@ render(
|
|
|
68
68
|
|
|
69
69
|
## CSS Variables API
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
Not documented yet.
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
| `--novely-button-hover-color` | `#ffb7a2` |
|
|
81
|
-
| `--novely-select-background-color` | `#ffe9f3` |
|
|
82
|
-
| `--novely-select-border-color` | `#ffc7df` |
|
|
83
|
-
| `--novely-select-color` | `#000000` |
|
|
84
|
-
| `--novely-dialog-color` | `#ffffff` |
|
|
85
|
-
| `--novely-dialog-border-color` | `#ffffff` |
|
|
86
|
-
| `--novely-dialog-border-radius` | `14px` |
|
|
87
|
-
| `--novely-dialog-box-shadow-color` | `#00000072` |
|
|
88
|
-
| `--novely-dialog-background-image` | `radial-gradient(#d6608998 20%, transparent 20%), radial-gradient(#d6608998 20%, transparent 20%))` |
|
|
89
|
-
| `--novely-dialog-background-color` | `#f092b4d8` |
|
|
90
|
-
| `--novely-dialog-background-position` | `0 0, 50px 50px` |
|
|
91
|
-
| `--novely-dialog-background-size` | `100px 100px` |
|
|
92
|
-
| `--novely-settings-background-image` | none |
|
|
93
|
-
| `--novely-main-menu-background-image` | none |
|
|
94
|
-
| `--novely-saves-background-image` | none |
|
|
73
|
+
## CSS Breakpoints
|
|
74
|
+
|
|
75
|
+
| Name | Description |
|
|
76
|
+
| -------------------------- | -------------------- |
|
|
77
|
+
| `(max-aspect-ratio: 0.8)` | Portrait |
|
|
78
|
+
| `(max-aspect-ratio: 0.26)` | Hyper-Wide Portrait |
|
|
79
|
+
| `(max-aspect-ratio: 0.10)` | Thermometer Portrait |
|
package/dist/styles/index.css
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
.control-panel__button--auto-mode {
|
|
146
146
|
display: none;
|
|
147
147
|
}
|
|
148
|
-
@media (
|
|
148
|
+
@media (min-aspect-ratio: .26) or (max-aspect-ratio: .1) {
|
|
149
149
|
.control-panel__button__icon {
|
|
150
150
|
display: block;
|
|
151
151
|
}
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
max-width: 100%;
|
|
309
309
|
max-height: 100%;
|
|
310
310
|
}
|
|
311
|
-
@media (
|
|
311
|
+
@media (max-aspect-ratio: .8) {
|
|
312
312
|
.action-dialog {
|
|
313
313
|
bottom: 0;
|
|
314
314
|
left: unset;
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
height: 50vh !important;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
@media only screen and (
|
|
339
|
+
@media only screen and (min-aspect-ratio: .8) and (pointer: coarse) {
|
|
340
340
|
.action-dialog-content {
|
|
341
341
|
text-shadow: none;
|
|
342
342
|
font-size: 1.32rem;
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
background: var(--novely-dialog-panel-label-background, #ffe9f3);
|
|
398
398
|
color: var(--novely-dialog-panel-label-color, #000);
|
|
399
399
|
}
|
|
400
|
-
@media (
|
|
400
|
+
@media (max-aspect-ratio: .8) {
|
|
401
401
|
.dialog-panel {
|
|
402
402
|
width: calc(100vw - .5rem);
|
|
403
403
|
}
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
display: grid;
|
|
482
482
|
overflow: hidden;
|
|
483
483
|
}
|
|
484
|
-
@media (
|
|
484
|
+
@media (min-aspect-ratio: .8) {
|
|
485
485
|
.main-menu {
|
|
486
486
|
justify-content: start;
|
|
487
487
|
}
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
display: flex;
|
|
571
571
|
overflow: hidden;
|
|
572
572
|
}
|
|
573
|
-
@media (
|
|
573
|
+
@media (max-aspect-ratio: .8) {
|
|
574
574
|
.settings {
|
|
575
575
|
flex-direction: column-reverse;
|
|
576
576
|
}
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
.settings__button {
|
|
581
581
|
min-width: 30vw;
|
|
582
582
|
}
|
|
583
|
-
@media (
|
|
583
|
+
@media (max-aspect-ratio: .8) {
|
|
584
584
|
.settings__button {
|
|
585
585
|
min-width: 80%;
|
|
586
586
|
}
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
display: flex;
|
|
605
605
|
overflow: hidden;
|
|
606
606
|
}
|
|
607
|
-
@media (
|
|
607
|
+
@media (max-aspect-ratio: .8) {
|
|
608
608
|
.saves {
|
|
609
609
|
flex-direction: column-reverse;
|
|
610
610
|
}
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
.saves__button-load__type {
|
|
627
627
|
margin-left: 1rem;
|
|
628
628
|
}
|
|
629
|
-
@media (
|
|
629
|
+
@media (max-aspect-ratio: .8) {
|
|
630
630
|
.saves__button {
|
|
631
631
|
min-width: 80%;
|
|
632
632
|
}
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
.saves__list-item {
|
|
696
696
|
display: flex;
|
|
697
697
|
}
|
|
698
|
-
@media (
|
|
698
|
+
@media (max-aspect-ratio: .8) {
|
|
699
699
|
.saves__list {
|
|
700
700
|
height: 100%;
|
|
701
701
|
}
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
/* src/styles/saves/column/column.css */
|
|
728
|
-
@media (
|
|
728
|
+
@media (max-aspect-ratio: .8) {
|
|
729
729
|
.saves__column {
|
|
730
730
|
flex-flow: column wrap;
|
|
731
731
|
justify-content: center;
|