@lzzjokerzzl/react-ui-components 1.4.3 → 1.4.5
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/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +1061 -1035
- package/dist/index.js.map +1 -1
- package/dist/react-ui-components.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3223,7 +3223,7 @@ export declare interface ToastProps extends ToastItem {
|
|
|
3223
3223
|
* @param props - ToastProvider component properties
|
|
3224
3224
|
* @returns JSX element representing the toast provider
|
|
3225
3225
|
*/
|
|
3226
|
-
export declare const ToastProvider: ({ children, position, maxToasts, defaultDuration, }: ToastProviderProps) => JSX.Element;
|
|
3226
|
+
export declare const ToastProvider: ({ children, position, maxToasts, defaultDuration, className, viewport, }: ToastProviderProps) => JSX.Element;
|
|
3227
3227
|
|
|
3228
3228
|
/**
|
|
3229
3229
|
* Toast provider props
|
|
@@ -3234,6 +3234,7 @@ export declare interface ToastProviderProps {
|
|
|
3234
3234
|
maxToasts?: number;
|
|
3235
3235
|
defaultDuration?: number;
|
|
3236
3236
|
className?: string;
|
|
3237
|
+
viewport?: boolean;
|
|
3237
3238
|
}
|
|
3238
3239
|
|
|
3239
3240
|
/**
|
|
@@ -3256,6 +3257,12 @@ declare type ToastType = "success" | "error" | "warning" | "info" | "default";
|
|
|
3256
3257
|
*/
|
|
3257
3258
|
declare type ToastVariant = "solid" | "bordered" | "flat" | "faded" | "shadow";
|
|
3258
3259
|
|
|
3260
|
+
/**
|
|
3261
|
+
* ToastViewport component that renders all toast containers for all positions
|
|
3262
|
+
* This is a convenience component that renders containers for all positions
|
|
3263
|
+
*/
|
|
3264
|
+
export declare const ToastViewport: ({ className, maxToasts, "data-testid": dataTestId, }: Omit<ToastContainerProps, "position">) => JSX.Element;
|
|
3265
|
+
|
|
3259
3266
|
export declare const Tooltip: default_2.FC<TooltipProps>;
|
|
3260
3267
|
|
|
3261
3268
|
/**
|