@rcarls/rc-navigation-rail 0.4.0 → 0.4.2

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