hplx-react-elements-dev 1.1.65 → 1.1.67
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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { InputTagProps } from "../types";
|
|
3
|
-
declare const InputTag: ({ inputProps, className, dropdownClassName, options, tagList, tagString, handleValChange, onDropdownClick, allowDuplicates, getInputValue, }: InputTagProps) => JSX.Element;
|
|
3
|
+
declare const InputTag: ({ inputProps, className, dropdownClassName, options, tagList, tagString, tagClassName, handleValChange, onDropdownClick, allowDuplicates, getInputValue, shouldModifyTextCase, }: InputTagProps) => JSX.Element;
|
|
4
4
|
export default InputTag;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -223,6 +223,14 @@ export interface TooltipProps extends React.DetailedHTMLProps<React.HTMLAttribut
|
|
|
223
223
|
supportingText?: string;
|
|
224
224
|
children: ReactNode;
|
|
225
225
|
}
|
|
226
|
+
export interface PopoverProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
227
|
+
variant?: tooltipPosition;
|
|
228
|
+
children: ReactNode;
|
|
229
|
+
content: ReactNode;
|
|
230
|
+
isOpen: boolean;
|
|
231
|
+
onClickOutside: () => void;
|
|
232
|
+
backgroundClassname?: string;
|
|
233
|
+
}
|
|
226
234
|
type statusIcon = "online" | "company" | "offline" | "none";
|
|
227
235
|
type AvatarSize = "Display xs" | "Text xl" | "Text lg" | "Text md" | "Text sm" | "Text xs" | "Text xxs";
|
|
228
236
|
type AvatarShape = "hplxt-rounded" | "hplxt-rounded-md" | "hplxt-rounded-lg" | "hplxt-rounded-full";
|
|
@@ -273,6 +281,7 @@ export interface DropdownFieldProps<IsMulti extends boolean> {
|
|
|
273
281
|
className?: string;
|
|
274
282
|
showSelectAllOption?: IsMulti extends true ? boolean : never;
|
|
275
283
|
selectAllLabel?: IsMulti extends true ? string : never;
|
|
284
|
+
prefixLabel?: string;
|
|
276
285
|
}
|
|
277
286
|
export type Select = <IsMulti extends boolean = false>(props: DropdownFieldProps<IsMulti>) => ReactElement;
|
|
278
287
|
export interface CardType {
|
|
@@ -477,6 +486,7 @@ export interface InputTagProps {
|
|
|
477
486
|
className?: string;
|
|
478
487
|
tagList?: Array<string>;
|
|
479
488
|
tagString?: string;
|
|
489
|
+
tagClassName?: string;
|
|
480
490
|
dropdownClassName?: string;
|
|
481
491
|
onDropdownClick?: (value: any, index?: number, searchString?: string) => void;
|
|
482
492
|
options?: Array<DropdownItemsProps>;
|
|
@@ -484,6 +494,7 @@ export interface InputTagProps {
|
|
|
484
494
|
handleValChange?: (value: any, _currentInputValue?: string, fromEvent?: fromEventType) => void;
|
|
485
495
|
allowDuplicates?: boolean;
|
|
486
496
|
getInputValue?: (value: string) => void;
|
|
497
|
+
shouldModifyTextCase?: boolean;
|
|
487
498
|
}
|
|
488
499
|
export interface CarouselProps {
|
|
489
500
|
leftIconClassName?: string;
|