@selfdecode/sd-component-library 2.45.10 → 2.45.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.
@@ -1,8 +1,11 @@
1
1
  import { UpdatedMenuRowProps } from "../../../../../updated-navbar-desktop/partials/updated-menu-row/interfaces";
2
+ import { FC, SVGProps } from "react";
2
3
  export interface PrimaryFoldedItemProps {
3
4
  title?: string;
4
5
  url?: string;
5
6
  isInternal?: boolean;
6
7
  items?: UpdatedMenuRowProps[];
7
8
  onClick?: () => void;
9
+ active?: boolean;
10
+ Icon?: FC<SVGProps<SVGSVGElement>>;
8
11
  }
@@ -4,6 +4,5 @@ export interface UnfoldedItemRowProps {
4
4
  url?: string;
5
5
  isInternal?: boolean;
6
6
  items?: UpdatedMenuRowProps[];
7
- isUnfolded?: boolean;
8
7
  onClick?: () => void;
9
8
  }
@@ -16,3 +16,4 @@ export { ShortDownArrowIcon } from "./short-dropdown-arrow-icon";
16
16
  export { StarIcon } from "./star-icon";
17
17
  export { VialIcon } from "./vial-icon";
18
18
  export { WarningCircleIcon } from "./warning-circle-icon";
19
+ export { TriangularPointerIcon } from "./triangular-pointer-icon";
@@ -0,0 +1,2 @@
1
+ export { TriangularPointerIcon } from "./triangular-pointer-icon";
2
+ export * from "./interfaces";
@@ -0,0 +1,7 @@
1
+ import { BoxProps } from "rebass";
2
+ export declare type PointerDirection = "top" | "bottom" | "left" | "right";
3
+ export interface TriangularPointerIconProps extends BoxProps {
4
+ color?: string;
5
+ size?: string;
6
+ direction: PointerDirection;
7
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { TriangularPointerIconProps as Props } from "./interfaces";
3
+ export declare const TriangularPointerIcon: React.FC<Props>;
package/lib/index.d.ts CHANGED
@@ -205,4 +205,4 @@ export { PageTracker } from "./components/utils/page-tracker";
205
205
  export { ScrollToTop } from "./components/utils/scroll-to-top";
206
206
  export { ScrollToTopOnMount } from "./components/utils/scroll-to-top-on-mount";
207
207
  export { useResize } from "./core/custom-hooks";
208
- export { CartIcon, CrossIcon, HamburgerIcon, ProfileIcon, SDNavbarIcon, BorderedPlainWarningCircleIcon, PlainWarningCircleIcon, RoundBorderedStar, WarningCircleIcon, StarIcon, } from "./components/icons";
208
+ export * from "./components/icons";