voidable-hotwire 0.4.1 → 0.4.3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 730078b7d42892777e4f7ebc6e3dfeae6c31b6588ebdd3eaf2f041c3313bd274
|
|
4
|
+
data.tar.gz: '0425186f39cfa4975c6479e51473cce7fc1e8d1aca14e2fdff6a4e50269601ee'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7f262b40653c8f19fb275b1b09ba3501e6c1a09b220061f3af29ff25a8792aef598d99090866a7559e7f976a3a26420896f316d23b62698b7e59a5aeb4a9b6f
|
|
7
|
+
data.tar.gz: 1b86d128e2d00e2d9acb4827c216e08b596da5ef940920dd4a6a892b94acbf0e82c3725c58141e7f5076a552c0b09f29aaf61029b61fc447279ffbb4c6e05332
|
data/config/importmap.rb
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
pin "@voidable/ui", to: "https://cdn.jsdelivr.net/npm/@voidable/ui@0.5.2
|
|
1
|
+
pin "@voidable/ui", to: "https://cdn.jsdelivr.net/npm/@voidable/ui@0.5.2/+esm"
|
|
2
2
|
pin "@voidable/ui-hotwire", to: "https://cdn.jsdelivr.net/npm/@voidable/ui-hotwire@0.3.0/dist/index.js"
|
|
@@ -21,7 +21,7 @@ module Voidable
|
|
|
21
21
|
append_to_file importmap, <<~RUBY
|
|
22
22
|
|
|
23
23
|
# Voidable UI
|
|
24
|
-
pin "@voidable/ui", to: "https://cdn.jsdelivr.net/npm/@voidable/ui@0.5.2
|
|
24
|
+
pin "@voidable/ui", to: "https://cdn.jsdelivr.net/npm/@voidable/ui@0.5.2/+esm"
|
|
25
25
|
pin "@voidable/ui-hotwire", to: "https://cdn.jsdelivr.net/npm/@voidable/ui-hotwire@0.3.0/dist/index.js"
|
|
26
26
|
RUBY
|
|
27
27
|
say "Pinned @voidable/ui and @voidable/ui-hotwire in importmap", :green
|
|
@@ -9,6 +9,9 @@ html {
|
|
|
9
9
|
body {
|
|
10
10
|
min-height: 100dvh;
|
|
11
11
|
line-height: var(--void-leading-normal);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body:has(.app-shell) {
|
|
12
15
|
display: flex;
|
|
13
16
|
}
|
|
14
17
|
|
|
@@ -27,6 +30,7 @@ a { color: inherit; text-decoration: none; }
|
|
|
27
30
|
left: 0;
|
|
28
31
|
height: 100dvh;
|
|
29
32
|
z-index: 20;
|
|
33
|
+
overflow: visible;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
/* Sidebar header */
|
|
@@ -204,7 +208,7 @@ a { color: inherit; text-decoration: none; }
|
|
|
204
208
|
margin-left: auto;
|
|
205
209
|
}
|
|
206
210
|
|
|
207
|
-
.sidebar-footer void-popover .void-popover-body {
|
|
211
|
+
.sidebar-footer void-popover[position="top"] .void-popover-body {
|
|
208
212
|
left: auto;
|
|
209
213
|
right: 0;
|
|
210
214
|
}
|
|
@@ -272,8 +276,8 @@ a { color: inherit; text-decoration: none; }
|
|
|
272
276
|
display: contents;
|
|
273
277
|
}
|
|
274
278
|
|
|
275
|
-
/* Main content area */
|
|
276
|
-
.app-main {
|
|
279
|
+
/* Main content area (sidebar-specific overrides scoped under .app-shell for switching-layout compat) */
|
|
280
|
+
.app-shell > .app-main {
|
|
277
281
|
flex: 1;
|
|
278
282
|
min-width: 0;
|
|
279
283
|
display: flex;
|
|
@@ -290,6 +294,9 @@ a { color: inherit; text-decoration: none; }
|
|
|
290
294
|
border-bottom: 1px solid var(--void-color-border);
|
|
291
295
|
background: var(--void-color-bg-secondary);
|
|
292
296
|
flex-shrink: 0;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.app-shell .app-content-header {
|
|
293
300
|
position: sticky;
|
|
294
301
|
top: 0;
|
|
295
302
|
z-index: 10;
|
|
@@ -325,10 +332,13 @@ a { color: inherit; text-decoration: none; }
|
|
|
325
332
|
|
|
326
333
|
.app-content-body {
|
|
327
334
|
flex: 1;
|
|
335
|
+
overflow-y: auto;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.app-shell .app-content-body {
|
|
328
339
|
display: flex;
|
|
329
340
|
flex-direction: column;
|
|
330
341
|
overflow-x: hidden;
|
|
331
|
-
overflow-y: auto;
|
|
332
342
|
padding: var(--void-space-6);
|
|
333
343
|
}
|
|
334
344
|
|