@selfdecode/sd-component-library 2.44.2 → 2.45.0

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.
@@ -4,7 +4,7 @@ export interface AccordionProps extends BaseComponentProps {
4
4
  /**
5
5
  * The button's width
6
6
  */
7
- width?: Array<string>;
7
+ width?: string | string[];
8
8
  /**
9
9
  * Text that will be shown when the accordion is closed.
10
10
  */
@@ -53,7 +53,7 @@ export interface AccordionProps extends BaseComponentProps {
53
53
  /**
54
54
  * paddingX of wrapper.
55
55
  */
56
- px?: Array<string>;
56
+ px?: string | string[];
57
57
  /**
58
58
  * paddingY of wrapper.
59
59
  */
@@ -61,7 +61,7 @@ export interface AccordionProps extends BaseComponentProps {
61
61
  /**
62
62
  * padding of wrapper.
63
63
  */
64
- p?: Array<string>;
64
+ p?: string | string[];
65
65
  /**
66
66
  * Should the arrow be hidden?
67
67
  */
@@ -89,4 +89,12 @@ export interface AccordionProps extends BaseComponentProps {
89
89
  * disable CSS Flex if pdf flow.
90
90
  */
91
91
  isPDFflow?: boolean;
92
+ /**
93
+ * Accordion arrow color. Defaults to blue.
94
+ */
95
+ arrowColor?: string;
96
+ /**
97
+ * Accordion arrow color in the opened state.
98
+ */
99
+ openedArrowColor?: string;
92
100
  }
@@ -45,4 +45,8 @@ export interface CustomScrollbarBoxProps {
45
45
  * Sx prop to customize inner container
46
46
  */
47
47
  sx?: SxProps["sx"];
48
+ /**
49
+ * Whether scrollbar should appear only on hover.
50
+ */
51
+ makeVisibleOnHoverOnly?: boolean;
48
52
  }