@skirbi/pinta 0.0.34 → 0.0.35

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/Changes CHANGED
@@ -1,5 +1,12 @@
1
1
  Revision history for @skirbi/pinta
2
2
 
3
+ 0.0.35 2026-09-09 13:39:26Z
4
+
5
+ * The shared semtic-nav-item/-group link recipe no longer hardcodes
6
+ sidebar-style white-space/width. semtic-sidenav keeps full-width wrapping
7
+ links; semtic-nav (the topbar) now gets nowrap, content-sized links
8
+ instead, since both share the same item/group elements.
9
+
3
10
  0.0.34 2026-09-09 05:03:02Z
4
11
 
5
12
  * :user-invalid fields are styled, so a field failing the browser's own
package/lib/index.mjs CHANGED
@@ -2,4 +2,4 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
- const VERSION = "0.0.34";
5
+ const VERSION = "0.0.35";
@@ -2080,11 +2080,6 @@
2080
2080
 
2081
2081
  align-items: flex-start;
2082
2082
 
2083
- /* These two mess a bit with horizontal navigation bars */
2084
- white-space: normal;
2085
- width: 100%;
2086
- /* end messing */
2087
-
2088
2083
  overflow-wrap: break-word;
2089
2084
  overflow: visible;
2090
2085
 
@@ -2110,6 +2105,19 @@
2110
2105
  var(--skirbi-transition-ease, ease);
2111
2106
  }
2112
2107
 
2108
+ /* Sidenav items always stack full-width and wrap; the topbar's
2109
+ * horizontal bar needs the opposite -- items sized to their content,
2110
+ * sitting side by side. */
2111
+ semtic-sidenav [semtic-nav-link] {
2112
+ white-space: normal;
2113
+ width: 100%;
2114
+ }
2115
+
2116
+ semtic-nav [semtic-nav-link] {
2117
+ white-space: nowrap;
2118
+ width: auto;
2119
+ }
2120
+
2113
2121
  /* A group header with no href and no action names the items under it
2114
2122
  * rather than doing anything, so it should not offer the affordances of
2115
2123
  * one that does: no pointer, no hover response. */
package/package.json CHANGED
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "sideEffects": false,
34
34
  "type": "module",
35
- "version": "0.0.34"
35
+ "version": "0.0.35"
36
36
  }