pixel-react 1.2.5 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/Drawer/Types.d.ts +8 -7
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -0
- package/lib/index.d.ts +10 -8
- package/lib/index.esm.js +122 -124
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +122 -124
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppHeader/AppHeader.tsx +4 -4
- package/src/components/Drawer/Drawer.stories.tsx +8 -9
- package/src/components/Drawer/Drawer.tsx +8 -5
- package/src/components/Drawer/Types.ts +9 -7
- package/src/components/Form/Forms.tsx +5 -1
- package/src/components/ModulesChip/ModuleChip.scss +2 -2
- package/src/components/ModulesChip/ModuleChip.tsx +4 -4
- package/src/components/MultiSelect/Dropdown.tsx +5 -2
- package/src/components/MultiSelect/MultiSelect.scss +11 -10
- package/src/components/MultiSelect/MultiSelect.tsx +28 -18
- package/src/components/MultiSelect/MultiSelectTypes.ts +2 -1
- package/src/components/Table/Table.scss +0 -1
- package/src/components/Tooltip/Tooltip.scss +1 -1
@@ -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;
|
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. */
|