@almadar/patterns 2.22.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
  "mappings": {
5
5
  "page-header": {
6
6
  "component": "PageHeader",
@@ -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
  "contracts": {
5
5
  "form": {
6
6
  "emits": [
package/dist/index.d.ts CHANGED
@@ -5554,6 +5554,10 @@ export declare const registry: {
5554
5554
  types: string[];
5555
5555
  description: string;
5556
5556
  };
5557
+ currentPath: {
5558
+ types: string[];
5559
+ description: string;
5560
+ };
5557
5561
  onSignOut: {
5558
5562
  types: string[];
5559
5563
  description: string;
@@ -22252,6 +22256,10 @@ export declare const PATTERN_REGISTRY: {
22252
22256
  types: string[];
22253
22257
  description: string;
22254
22258
  };
22259
+ currentPath: {
22260
+ types: string[];
22261
+ description: string;
22262
+ };
22255
22263
  onSignOut: {
22256
22264
  types: string[];
22257
22265
  description: string;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/patterns-registry.json
2
2
  var patterns_registry_default = {
3
3
  version: "1.0.0",
4
- exportedAt: "2026-05-05T16:04:13.902Z",
4
+ exportedAt: "2026-05-07T06:31:44.696Z",
5
5
  patterns: {
6
6
  "entity-table": {
7
7
  type: "entity-table",
@@ -8801,6 +8801,12 @@ var patterns_registry_default = {
8801
8801
  ],
8802
8802
  description: "Custom sidebar footer (optional). When omitted, the sidebar has no footer \u2014 apps that need Settings/etc. add them via navItems."
8803
8803
  },
8804
+ currentPath: {
8805
+ types: [
8806
+ "string"
8807
+ ],
8808
+ 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."
8809
+ },
8804
8810
  onSignOut: {
8805
8811
  types: [
8806
8812
  "function"
@@ -26730,7 +26736,7 @@ var integrators_registry_default = {
26730
26736
  // src/component-mapping.json
26731
26737
  var component_mapping_default = {
26732
26738
  version: "1.0.0",
26733
- exportedAt: "2026-05-05T16:04:13.902Z",
26739
+ exportedAt: "2026-05-07T06:31:44.696Z",
26734
26740
  mappings: {
26735
26741
  "page-header": {
26736
26742
  component: "PageHeader",
@@ -28541,7 +28547,7 @@ var component_mapping_default = {
28541
28547
  // src/event-contracts.json
28542
28548
  var event_contracts_default = {
28543
28549
  version: "1.0.0",
28544
- exportedAt: "2026-05-05T16:04:13.902Z",
28550
+ exportedAt: "2026-05-07T06:31:44.696Z",
28545
28551
  contracts: {
28546
28552
  form: {
28547
28553
  emits: [