@liberation-data/desk 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/setup.css +17 -1
- package/dist/desk.css +17 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/src/css/setup.css +17 -1
package/dist/css/setup.css
CHANGED
|
@@ -104,10 +104,23 @@
|
|
|
104
104
|
|
|
105
105
|
/* ── Wizard ── */
|
|
106
106
|
|
|
107
|
+
/*
|
|
108
|
+
* ONE SIZE FOR EVERY STEP, not a floor with taller steps growing past it.
|
|
109
|
+
*
|
|
110
|
+
* `min-height` meant a step with an extra field was a taller card than the step before it, so the
|
|
111
|
+
* pane changed shape as somebody moved through setup and the buttons they were reaching for moved
|
|
112
|
+
* with it. Worse within a step: a choice that swaps one field for two resized the pane under the
|
|
113
|
+
* pointer.
|
|
114
|
+
*
|
|
115
|
+
* A fixed height costs a step that genuinely needs more room, which is why the content area
|
|
116
|
+
* scrolls rather than being clipped, and why the height is a token an app can raise once for all
|
|
117
|
+
* of its steps. `max-height` keeps the whole thing on a short screen.
|
|
118
|
+
*/
|
|
107
119
|
.desk-wizard {
|
|
108
120
|
box-sizing: border-box;
|
|
109
121
|
width: min(640px, 100%);
|
|
110
|
-
|
|
122
|
+
height: var(--desk-wizard-height, 520px);
|
|
123
|
+
max-height: 100%;
|
|
111
124
|
display: flex;
|
|
112
125
|
flex-direction: column;
|
|
113
126
|
border: 1px solid var(--desk-rule);
|
|
@@ -121,6 +134,9 @@
|
|
|
121
134
|
|
|
122
135
|
.desk-wizard-content {
|
|
123
136
|
flex: 1;
|
|
137
|
+
/* The card's height is fixed, so a step that needs more room scrolls inside it. */
|
|
138
|
+
min-height: 0;
|
|
139
|
+
overflow-y: auto;
|
|
124
140
|
display: flex;
|
|
125
141
|
flex-direction: column;
|
|
126
142
|
align-items: center;
|
package/dist/desk.css
CHANGED
|
@@ -2716,10 +2716,23 @@
|
|
|
2716
2716
|
|
|
2717
2717
|
/* ── Wizard ── */
|
|
2718
2718
|
|
|
2719
|
+
/*
|
|
2720
|
+
* ONE SIZE FOR EVERY STEP, not a floor with taller steps growing past it.
|
|
2721
|
+
*
|
|
2722
|
+
* `min-height` meant a step with an extra field was a taller card than the step before it, so the
|
|
2723
|
+
* pane changed shape as somebody moved through setup and the buttons they were reaching for moved
|
|
2724
|
+
* with it. Worse within a step: a choice that swaps one field for two resized the pane under the
|
|
2725
|
+
* pointer.
|
|
2726
|
+
*
|
|
2727
|
+
* A fixed height costs a step that genuinely needs more room, which is why the content area
|
|
2728
|
+
* scrolls rather than being clipped, and why the height is a token an app can raise once for all
|
|
2729
|
+
* of its steps. `max-height` keeps the whole thing on a short screen.
|
|
2730
|
+
*/
|
|
2719
2731
|
.desk-wizard {
|
|
2720
2732
|
box-sizing: border-box;
|
|
2721
2733
|
width: min(640px, 100%);
|
|
2722
|
-
|
|
2734
|
+
height: var(--desk-wizard-height, 520px);
|
|
2735
|
+
max-height: 100%;
|
|
2723
2736
|
display: flex;
|
|
2724
2737
|
flex-direction: column;
|
|
2725
2738
|
border: 1px solid var(--desk-rule);
|
|
@@ -2733,6 +2746,9 @@
|
|
|
2733
2746
|
|
|
2734
2747
|
.desk-wizard-content {
|
|
2735
2748
|
flex: 1;
|
|
2749
|
+
/* The card's height is fixed, so a step that needs more room scrolls inside it. */
|
|
2750
|
+
min-height: 0;
|
|
2751
|
+
overflow-y: auto;
|
|
2736
2752
|
display: flex;
|
|
2737
2753
|
flex-direction: column;
|
|
2738
2754
|
align-items: center;
|
package/llms.txt
CHANGED
|
@@ -465,7 +465,7 @@ Every value reads a `--desk-*` token; redefine tokens, never override selectors.
|
|
|
465
465
|
`--desk-surface`, `--desk-titlebar`, `--desk-ink`, `--desk-muted`, `--desk-rule`, `--desk-accent`,
|
|
466
466
|
`--desk-ok|warn|bad`, `--desk-on-accent`. Spacing `--desk-space-1..7` = 4, 8, 12, 16, 24, 32, 48 px. Also
|
|
467
467
|
`--desk-radius`, `--desk-control-height`, `--desk-control-radius`, `--desk-font`, `--desk-font-mono`,
|
|
468
|
-
`--desk-ease`, `--desk-dock-size`, `--desk-dock-glass`, `--desk-inset-bottom`.
|
|
468
|
+
`--desk-ease`, `--desk-dock-size`, `--desk-dock-glass`, `--desk-inset-bottom`, `--desk-wizard-height`.
|
|
469
469
|
|
|
470
470
|
Light and dark follow `prefers-color-scheme`; `data-theme="light" | "dark"` on the root wins.
|
|
471
471
|
|
package/package.json
CHANGED
package/src/css/setup.css
CHANGED
|
@@ -103,10 +103,23 @@
|
|
|
103
103
|
|
|
104
104
|
/* ── Wizard ── */
|
|
105
105
|
|
|
106
|
+
/*
|
|
107
|
+
* ONE SIZE FOR EVERY STEP, not a floor with taller steps growing past it.
|
|
108
|
+
*
|
|
109
|
+
* `min-height` meant a step with an extra field was a taller card than the step before it, so the
|
|
110
|
+
* pane changed shape as somebody moved through setup and the buttons they were reaching for moved
|
|
111
|
+
* with it. Worse within a step: a choice that swaps one field for two resized the pane under the
|
|
112
|
+
* pointer.
|
|
113
|
+
*
|
|
114
|
+
* A fixed height costs a step that genuinely needs more room, which is why the content area
|
|
115
|
+
* scrolls rather than being clipped, and why the height is a token an app can raise once for all
|
|
116
|
+
* of its steps. `max-height` keeps the whole thing on a short screen.
|
|
117
|
+
*/
|
|
106
118
|
.desk-wizard {
|
|
107
119
|
box-sizing: border-box;
|
|
108
120
|
width: min(640px, 100%);
|
|
109
|
-
|
|
121
|
+
height: var(--desk-wizard-height, 520px);
|
|
122
|
+
max-height: 100%;
|
|
110
123
|
display: flex;
|
|
111
124
|
flex-direction: column;
|
|
112
125
|
border: 1px solid var(--desk-rule);
|
|
@@ -120,6 +133,9 @@
|
|
|
120
133
|
|
|
121
134
|
.desk-wizard-content {
|
|
122
135
|
flex: 1;
|
|
136
|
+
/* The card's height is fixed, so a step that needs more room scrolls inside it. */
|
|
137
|
+
min-height: 0;
|
|
138
|
+
overflow-y: auto;
|
|
123
139
|
display: flex;
|
|
124
140
|
flex-direction: column;
|
|
125
141
|
align-items: center;
|