@rcarls/rc-navigation-rail 0.4.0 → 0.4.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # @rcarls/rc-navigation-rail
2
+
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @rcarls/rc-common@0.4.1
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - dce5749: Replace the navigation rail's shadow-DOM fallback toggle with a consumer-authored light-DOM
14
+ button, and align collapsed and expanded item layouts across the default and reference themes.
15
+ - 4f77b8c: `rc-navigation-rail` no longer renders an internal `nav` landmark or exposes
16
+ the `label` property and attribute, matching the fix already applied to
17
+ `rc-navigation-bar`. Wrap it in a labeled native `<nav>` element instead.
18
+
19
+ BREAKING CHANGE: remove the `label` property/attribute and stop rendering an
20
+ internal `<nav aria-label>`; `rc-navigation-rail` now renders a plain `div`
21
+ for its `nav` part and expects the consumer to own landmark semantics.
22
+
23
+ - ccca8e2: Add navigation bar and rail packages with shared active-indicator positioning.
24
+
25
+ ### Patch Changes
26
+
27
+ - 3efe74a: Center navigation rail header content on the inline axis and remove Material
28
+ elevation from FABs placed in the header slot.
29
+ - 6f91e7a: Fix collapsed `rc-navigation-rail` items so the whole item's box wraps icon and
30
+ label, not just the icon. The shared component pulled the label out of flow
31
+ (`position: absolute`), so a theme's whole-item background or focus ring only
32
+ covered the icon; Material's detached-pill layout now lives in its own theme
33
+ stylesheet instead of the shared base. Substrate's collapsed rail also grows
34
+ from `5rem` to `6rem` so single-word labels like "Settings" stop wrapping.
35
+ - 55e8ab5: Preserve UA-like control and surface styling until an optional theme supplies decorative tokens.
36
+ Restore themed button hover and pressed state layers, including a pointer-origin Material ripple.
37
+ - e95e204: Document the `label`, `expanded`, `default-expanded`, `active-selector`, and
38
+ `indicator-target` attributes, document the previously-missing
39
+ `--rc-navigation-rail-indicator-border` and
40
+ `--rc-navigation-rail-item-text-decoration` custom properties, and correct
41
+ `--rc-navigation-rail-indicator-bg`, `--rc-navigation-rail-indicator-radius`,
42
+ `--rc-navigation-rail-indicator-duration`, `--rc-navigation-rail-focus-ring`,
43
+ and `--rc-navigation-rail-active-color`, which documented values from the
44
+ Material and Substrate theme recipes instead of the component's own base
45
+ defaults.
46
+ - 8c567e0: Fix `expanded` so assigning `undefined` releases control back to
47
+ `default-expanded`, matching the library's controlled/uncontrolled convention
48
+ used by `rc-switch`'s `checked` and other value-like properties. It previously
49
+ ignored `undefined` writes entirely, permanently locking the rail once
50
+ `expanded` had been set once.
51
+ - e88eff8: Use the system link accent as the theme-free active-link fallback for navigation
52
+ bar and rail destinations.
53
+ - Updated dependencies [e57277f]
54
+ - Updated dependencies [ccca8e2]
55
+ - Updated dependencies [037b1b3]
56
+ - @rcarls/rc-common@0.4.0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.4.0",
6
+ "version": "0.4.1",
7
7
  "description": "Navigation rail layout that styles consumer-authored links.",
8
8
  "repository": {
9
9
  "type": "git",
@@ -45,7 +45,7 @@
45
45
  "test:browser:firefox": "vitest --run --project=firefox"
46
46
  },
47
47
  "dependencies": {
48
- "@rcarls/rc-common": "workspace:*"
48
+ "@rcarls/rc-common": "0.4.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@custom-elements-manifest/analyzer": "0.11.0",
@@ -62,4 +62,4 @@
62
62
  "peerDependencies": {
63
63
  "lit": "^3.0.0"
64
64
  }
65
- }
65
+ }