@streamscloud/kit 0.94.0 → 0.94.1

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.
@@ -98,7 +98,9 @@ const scrollDown = () => {
98
98
  </Popover>
99
99
  {/if}
100
100
  {#if trailingItems && trailingItems.length > 0}
101
- <div class="nav-rail__divider" role="separator"></div>
101
+ {#if overflowItems.length > 0}
102
+ <div class="nav-rail__divider" role="separator"></div>
103
+ {/if}
102
104
  {#each trailingItems as item (item.id)}
103
105
  <NavRailItem item={item} showLabel={showLabels} />
104
106
  {/each}
@@ -221,6 +223,7 @@ Purely presentational: the consumer owns active state, routing and feature gatin
221
223
 
222
224
  .nav-rail__divider {
223
225
  flex-shrink: 0;
226
+ margin-block: calc(var(--_nav-rail--item-gap) / -3);
224
227
  width: 2rem;
225
228
  height: 1px;
226
229
  background: var(--_nav-rail--divider-color);
@@ -5,7 +5,7 @@ type Props = {
5
5
  brand?: Snippet;
6
6
  /** Rail tiles, in display order. */
7
7
  items: NavRailItemData[];
8
- /** Tiles after a divider that follows `items` and the "More" tile. Never counted by `maxVisibleItems` and never moved into "More". */
8
+ /** Tiles after `items`, set off by a divider while the "More" tile is shown. Never counted by `maxVisibleItems` and never moved into "More". */
9
9
  trailingItems?: NavRailItemData[];
10
10
  /** Number of `items` shown as tiles; the rest move into a trailing "More" tile that opens them in a menu. All tiles show when not set. */
11
11
  maxVisibleItems?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/kit",
3
- "version": "0.94.0",
3
+ "version": "0.94.1",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",