pixel-react 1.2.5 → 1.2.7

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.
@@ -66,6 +66,14 @@ export interface DrawerProps {
66
66
  * Left side Secondary | Cancel button props
67
67
  */
68
68
  leftSecondaryButtonProps?: BtnPropsCommon;
69
+ /**
70
+ * Left side Tertiary Button | Help button props
71
+ */
72
+ leftTertiaryButtonProps?: BtnPropsCommon;
73
+ /**
74
+ * Right side Tertiary Button | More Info button props
75
+ */
76
+ rightTertiaryButtonProps?: BtnPropsCommon;
69
77
  /**
70
78
  * Onclick function for edit button
71
79
  */
@@ -106,13 +114,6 @@ export interface DrawerProps {
106
114
  * If provided, this will render in place of the default footer.
107
115
  */
108
116
  customFooter?: ReactNode;
109
- /**
110
- * Tertiary button properties (optional)
111
- */
112
- tertiaryButtonProps?: {
113
- left?: BtnPropsCommon;
114
- right?: BtnPropsCommon;
115
- };
116
117
  /**
117
118
  * Custom z-index for the drawer
118
119
  */
@@ -1,4 +1,4 @@
1
1
  import './MultiSelect.scss';
2
2
  import { MultiSelectProps } from './MultiSelectTypes';
3
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, placeholderForSearching, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MultiSelect;
@@ -20,5 +20,6 @@ interface MultiSelectProps {
20
20
  withSelectButton?: boolean;
21
21
  onSelect?: () => void;
22
22
  displayCount?: boolean;
23
+ placeholderForSearching?: string;
23
24
  }
24
25
  export { Option, MultiSelectProps };
package/lib/index.d.ts CHANGED
@@ -139,6 +139,14 @@ interface DrawerProps {
139
139
  * Left side Secondary | Cancel button props
140
140
  */
141
141
  leftSecondaryButtonProps?: BtnPropsCommon;
142
+ /**
143
+ * Left side Tertiary Button | Help button props
144
+ */
145
+ leftTertiaryButtonProps?: BtnPropsCommon;
146
+ /**
147
+ * Right side Tertiary Button | More Info button props
148
+ */
149
+ rightTertiaryButtonProps?: BtnPropsCommon;
142
150
  /**
143
151
  * Onclick function for edit button
144
152
  */
@@ -179,13 +187,6 @@ interface DrawerProps {
179
187
  * If provided, this will render in place of the default footer.
180
188
  */
181
189
  customFooter?: ReactNode;
182
- /**
183
- * Tertiary button properties (optional)
184
- */
185
- tertiaryButtonProps?: {
186
- left?: BtnPropsCommon;
187
- right?: BtnPropsCommon;
188
- };
189
190
  /**
190
191
  * Custom z-index for the drawer
191
192
  */
@@ -262,9 +263,10 @@ interface MultiSelectProps {
262
263
  withSelectButton?: boolean;
263
264
  onSelect?: () => void;
264
265
  displayCount?: boolean;
266
+ placeholderForSearching?: string;
265
267
  }
266
268
 
267
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
269
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, placeholderForSearching, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
268
270
 
269
271
  interface ToasterProps {
270
272
  /**Boolean value to handle state of toaster. */