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: b6e356e75c50aa3acadf54f8479f3ea2b426cbf11f90c877202604cd57db2de6
4
- data.tar.gz: 571158d41cde97770c45d54c697f5d8e14df5af8f62e3c6cc9eac58af65b22c4
3
+ metadata.gz: 730078b7d42892777e4f7ebc6e3dfeae6c31b6588ebdd3eaf2f041c3313bd274
4
+ data.tar.gz: '0425186f39cfa4975c6479e51473cce7fc1e8d1aca14e2fdff6a4e50269601ee'
5
5
  SHA512:
6
- metadata.gz: 97ab88f3550239b4a29cafa6a67134b11256629c6a3f741e746d588407ad2cf32df78d68fa7d3643e05a5d68825ec9f01a72ddac09e0e31271a6216583d4629e
7
- data.tar.gz: 3ae2070197419f5fbfe65109002eff5ad27e696857cf436dd886bb2eca53afaab19ac7272710c56f59eb37a2db5e67a56fcdaacf817399965668a273a97f70d9
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/dist/index.js"
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/dist/index.js"
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
 
@@ -1,5 +1,5 @@
1
1
  module Voidable
2
2
  module Hotwire
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voidable-hotwire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaz Walker