diditui 1.1.8 → 1.2.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.
- package/dist/diditui.cjs +19 -19
- package/dist/diditui.d.ts +5 -3
- package/dist/diditui.js +797 -784
- package/package.json +1 -1
package/dist/diditui.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ declare const iconStyles: (props?: ({
|
|
|
138
138
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
139
139
|
} & ClassProp) | undefined) => string;
|
|
140
140
|
|
|
141
|
-
export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'scan2' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'diditNameLogo' | 'close' | 'diditLogo' | 'home' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'spinner' | 'closeCircleBold' | 'checkCircle' | 'checkCircleBold' | 'refresh' | 'refresh2' | 'repeat' | 'chevronLeft' | 'eye' | 'eyeSlash' | 'email' | 'face' | 'location' | 'shieldSearch' | 'search' | 'slack' | 'wifi' | 'external' | 'chevronDown' | 'settings2' | 'play' | 'chart' | 'addCircle' | 'addCircleBold' | 'document' | 'profile' | 'profileBold' | 'securitySafe' | 'moreCircles' | 'logout' | 'edit' | 'trash' | 'filterAdd' | 'filterRemove' | 'warningBold' | 'locationBold' | 'profileEditBold' | 'faceBold' | 'shieldSearchBold' | 'distance' | 'userSquare' | 'bell' | 'hierarchy' | 'code' | 'percentage' | 'world' | 'colorSwatch' | 'verify' | 'brush' | 'smartPhone' | 'camera' | 'cameraLinear' | 'shield' | 'userEdit' | 'iphone' | 'instagram' | 'instagramCircle' | 'bank' | 'x' | 'xCircle' | 'tiktok' | 'tiktokCircle' | 'over18' | 'over21' | 'shieldBold' | 'emailBold' | 'settings2Bold' | 'amlV2' | 'faceMatchingV2' | 'idVerificationV2' | 'ipV2' | 'livenessV2' | 'nfcV2' | 'phoneV2' | 'poaV2' | 'houseBold' | 'receiptTextBold' | 'searchStatusBold' | 'circleSlash' | 'data';
|
|
141
|
+
export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'scan2' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'diditNameLogo' | 'close' | 'diditLogo' | 'home' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'spinner' | 'closeCircleBold' | 'checkCircle' | 'checkCircleBold' | 'refresh' | 'refresh2' | 'repeat' | 'chevronLeft' | 'eye' | 'eyeSlash' | 'email' | 'face' | 'location' | 'shieldSearch' | 'search' | 'slack' | 'wifi' | 'external' | 'chevronDown' | 'settings2' | 'play' | 'chart' | 'addCircle' | 'addCircleBold' | 'document' | 'profile' | 'profileBold' | 'securitySafe' | 'moreCircles' | 'logout' | 'edit' | 'trash' | 'filterAdd' | 'filterRemove' | 'warningBold' | 'locationBold' | 'profileEditBold' | 'faceBold' | 'shieldSearchBold' | 'distance' | 'userSquare' | 'bell' | 'hierarchy' | 'code' | 'percentage' | 'world' | 'colorSwatch' | 'verify' | 'brush' | 'smartPhone' | 'camera' | 'cameraLinear' | 'shield' | 'userEdit' | 'iphone' | 'instagram' | 'instagramCircle' | 'bank' | 'x' | 'xCircle' | 'tiktok' | 'tiktokCircle' | 'over18' | 'over21' | 'shieldBold' | 'emailBold' | 'settings2Bold' | 'amlV2' | 'faceMatchingV2' | 'idVerificationV2' | 'ipV2' | 'livenessV2' | 'nfcV2' | 'phoneV2' | 'emailV2' | 'questionnaireV2' | 'poaV2' | 'houseBold' | 'receiptTextBold' | 'searchStatusBold' | 'circleSlash' | 'data';
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Allows for inheriting the props from the specified element type so that
|
|
@@ -172,7 +172,7 @@ export declare const MediaQuery: {
|
|
|
172
172
|
XXL: number;
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
export declare function Modal({ children, className, overlayClassName, withBorder, appElementId, onRequestClose, ...props }: Props): JSX.Element;
|
|
175
|
+
export declare function Modal({ children, className, overlayClassName, wrapperClassName, withBorder, appElementId, onRequestClose, ...props }: Props): JSX.Element;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* A more sophisticated version of `InheritableElementProps` where
|
|
@@ -189,6 +189,7 @@ declare type PolymorphicRef<C extends default_2.ElementType> = default_2.Compone
|
|
|
189
189
|
declare interface Props {
|
|
190
190
|
withBorder?: boolean;
|
|
191
191
|
appElementId?: string;
|
|
192
|
+
wrapperClassName?: string | Classes | undefined;
|
|
192
193
|
testId?: string | undefined;
|
|
193
194
|
id?: string | undefined;
|
|
194
195
|
children?: ReactNode;
|
|
@@ -254,7 +255,7 @@ declare interface SearchMiniProps {
|
|
|
254
255
|
onChange: (searchQuery: string) => void;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
|
-
export declare function SelectDropdown({ id, className, dataTestId, label, placeholder, value, options, disabled, required, withSearch, showIcon, errorMessage, dropdownClassName, dropdownTriggerClassName, dropdownOptionClassName, dropdownSelectedOptionClassName, iconPosition, labelIcon, onChange, onClick }: SelectDropdownProps): JSX.Element;
|
|
258
|
+
export declare function SelectDropdown({ id, className, dataTestId, label, placeholder, value, options, disabled, required, withSearch, showIcon, errorMessage, dropdownClassName, dropdownTriggerClassName, dropdownOptionClassName, dropdownSelectedOptionClassName, iconPosition, labelIcon, noOptionsMessage, onChange, onClick }: SelectDropdownProps): JSX.Element;
|
|
258
259
|
|
|
259
260
|
export declare interface SelectDropdownOptionType {
|
|
260
261
|
label: string;
|
|
@@ -282,6 +283,7 @@ export declare interface SelectDropdownProps {
|
|
|
282
283
|
dropdownSelectedOptionClassName?: string;
|
|
283
284
|
iconPosition?: 'left' | 'right';
|
|
284
285
|
labelIcon?: ReactNode | null;
|
|
286
|
+
noOptionsMessage?: string;
|
|
285
287
|
onChange?: (value: SelectDropdownOptionType['value']) => void;
|
|
286
288
|
onClick?: (value?: SelectDropdownOptionType['value']) => void;
|
|
287
289
|
}
|