@sequencing/design-system 1.0.67 → 1.0.68

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.
@@ -42,11 +42,15 @@ export interface HeaderProps {
42
42
  * Typically used to make soft navigation in your framework (React, NextJs, etc).
43
43
  * e.g. for NextJs `onRequestHomePage={(url) => router.push(url)}`
44
44
  * url argument is the `homePageUrl` prop value.
45
+ * NOTE: When ``preventHardNavigation`` is disabled, it has no effect and the user will be hard redirected
46
+ * to ``homePageUrl``.
45
47
  */
46
48
  onRequestHomePage?: (homePageUrl: string) => void;
47
49
  /**
48
50
  * Called when an authenticated user clicks on the My Account link inside the main right HeaderChip.
49
- * The url parameter is ``myAccountUrl``
51
+ * The url parameter is ``myAccountUrl``.
52
+ * NOTE: When ``preventHardNavigation`` is disabled, it has no effect and the user will be hard redirected
53
+ * to ``myAccountUrl``.
50
54
  */
51
55
  onRequestMyAccount?: (myAccountUrl: string) => void;
52
56
  /** Called when an anonymous user clicks on the Sign In button inside the auxiliary links section */
package/dist/index.d.ts CHANGED
@@ -519,11 +519,15 @@ interface HeaderProps {
519
519
  * Typically used to make soft navigation in your framework (React, NextJs, etc).
520
520
  * e.g. for NextJs `onRequestHomePage={(url) => router.push(url)}`
521
521
  * url argument is the `homePageUrl` prop value.
522
+ * NOTE: When ``preventHardNavigation`` is disabled, it has no effect and the user will be hard redirected
523
+ * to ``homePageUrl``.
522
524
  */
523
525
  onRequestHomePage?: (homePageUrl: string) => void;
524
526
  /**
525
527
  * Called when an authenticated user clicks on the My Account link inside the main right HeaderChip.
526
- * The url parameter is ``myAccountUrl``
528
+ * The url parameter is ``myAccountUrl``.
529
+ * NOTE: When ``preventHardNavigation`` is disabled, it has no effect and the user will be hard redirected
530
+ * to ``myAccountUrl``.
527
531
  */
528
532
  onRequestMyAccount?: (myAccountUrl: string) => void;
529
533
  /** Called when an anonymous user clicks on the Sign In button inside the auxiliary links section */