@almadar/patterns 2.23.0 → 2.23.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-05T16:04:13.902Z",
3
+ "exportedAt": "2026-05-07T06:31:44.696Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -8800,6 +8800,12 @@
8800
8800
  ],
8801
8801
  "description": "Custom sidebar footer (optional). When omitted, the sidebar has no footer — apps that need Settings/etc. add them via navItems."
8802
8802
  },
8803
+ "currentPath": {
8804
+ "types": [
8805
+ "string"
8806
+ ],
8807
+ "description": "Active path used to highlight the matching nav item. Falls back to `useCurrentPagePath()` (set by `CurrentPagePathProvider`), then to `useLocation().pathname`. Production deploys can omit it; the studio preview passes the in-frame `?page=` value so highlighting works inside the embedded playground where `pathname` would be the studio route."
8808
+ },
8803
8809
  "onSignOut": {
8804
8810
  "types": [
8805
8811
  "function"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-05T16:04:13.902Z",
3
+ "exportedAt": "2026-05-07T06:31:44.696Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -8800,6 +8800,12 @@
8800
8800
  ],
8801
8801
  "description": "Custom sidebar footer (optional). When omitted, the sidebar has no footer — apps that need Settings/etc. add them via navItems."
8802
8802
  },
8803
+ "currentPath": {
8804
+ "types": [
8805
+ "string"
8806
+ ],
8807
+ "description": "Active path used to highlight the matching nav item. Falls back to `useCurrentPagePath()` (set by `CurrentPagePathProvider`), then to `useLocation().pathname`. Production deploys can omit it; the studio preview passes the in-frame `?page=` value so highlighting works inside the embedded playground where `pathname` would be the studio route."
8808
+ },
8803
8809
  "onSignOut": {
8804
8810
  "types": [
8805
8811
  "function"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/patterns",
3
- "version": "2.23.0",
3
+ "version": "2.23.1",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",