@sequencing/design-system 1.0.24 → 1.0.25

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.
@@ -2666,10 +2666,17 @@
2666
2666
  },
2667
2667
  "onRequestHomePage": {
2668
2668
  "defaultValue": null,
2669
- "description": "Called when a user clicks on the site's logo",
2669
+ "description": "Called when a user clicks on the site's logo, provide url argument to callback.\nTypically used to make soft navigation in your framework (React, NextJs, etc).\ne.g. for NextJs `onRequestHomePage={(url) => router.push(url)}`\nurl argument is the `homePageUrl` prop value.",
2670
2670
  "name": "onRequestHomePage",
2671
2671
  "required": false,
2672
- "type": "(() => void)"
2672
+ "type": "((url: string) => void)"
2673
+ },
2674
+ "homePageUrl": {
2675
+ "defaultValue": "/",
2676
+ "description": "The URL of the site's home page. It will be used when the user clicks on the site's logo.\n\nPLEASE NOTE: If you want to use the SOFT navigation from your framework (React, NextJs, etc), you should\npath the `onRequestHomePage` prop and call the navigation method in the callback.\ne.g. for NextJs `onRequestHomePage={(url) => router.push(url)}`\nWARNING: Do not change or modify url argument inside your callback, because you will have undocumented behavior\nwith your navigation. Your goal is only call the navigation method with the url argument.\nDefault value is `/`.\nWithout the `onRequestHomePage` prop, the component will use the default behavior of the anchor tag.",
2677
+ "name": "homePageUrl",
2678
+ "required": false,
2679
+ "type": "string"
2673
2680
  },
2674
2681
  "onRequestMyAccount": {
2675
2682
  "defaultValue": null,