@selfdecode/sd-component-library 4.0.13-diet-10 → 4.0.13-diet-11

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.
@@ -9,7 +9,7 @@ export declare type refsMap = {
9
9
  /**
10
10
  * Interface for Anchor props.
11
11
  */
12
- export interface AnchorProps extends BoxProps {
12
+ export interface AnchorProps extends BoxProps, ScrollIntoViewOptions {
13
13
  /**
14
14
  * Hash id of the component.
15
15
  */
@@ -29,7 +29,7 @@ declare class RefsManager {
29
29
  * @param id ID for the component.
30
30
  * @param behavior Scroll behavior.
31
31
  */
32
- scrollToRef(id: string, behavior?: "smooth" | "auto"): void;
32
+ scrollToRef(id: string, { behavior, block, inline }: ScrollIntoViewOptions): void;
33
33
  }
34
34
  export declare const refsManager: RefsManager;
35
35
  export {};