@elliemae/ds-toast 3.46.5 → 3.46.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.
@@ -2,15 +2,15 @@
2
2
  import type { DSToastT } from '../react-desc-prop-types.js';
3
3
  export declare const useToast: (props: DSToastT.Props) => {
4
4
  propsWithDefault: DSToastT.InternalProps;
5
- toastifyWrapperRef: import("react").MutableRefObject<HTMLDivElement | null>;
5
+ toastifyWrapperRef: import("react").RefObject<HTMLDivElement | null>;
6
6
  onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
7
- globalAttributes: Partial<Pick<object, "default" | "form" | "list" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap"> & Omit<{
7
+ globalAttributes: Partial<Pick<object, "default" | "form" | "list" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap"> & Omit<{
8
8
  default?: boolean | undefined;
9
9
  form?: string | undefined;
10
10
  list?: string | undefined;
11
11
  "aria-activedescendant"?: string | undefined;
12
12
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
13
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
13
+ "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
14
14
  "aria-braillelabel"?: string | undefined;
15
15
  "aria-brailleroledescription"?: string | undefined;
16
16
  "aria-busy"?: (boolean | "true" | "false") | undefined;
@@ -25,7 +25,7 @@ export declare const useToast: (props: DSToastT.Props) => {
25
25
  "aria-description"?: string | undefined;
26
26
  "aria-details"?: string | undefined;
27
27
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
28
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
28
+ "aria-dropeffect"?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
29
29
  "aria-errormessage"?: string | undefined;
30
30
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
31
31
  "aria-flowto"?: string | undefined;
@@ -220,13 +220,22 @@ export declare const useToast: (props: DSToastT.Props) => {
220
220
  onAnimationEndCapture?: import("react").AnimationEventHandler<Element> | undefined;
221
221
  onAnimationIteration?: import("react").AnimationEventHandler<Element> | undefined;
222
222
  onAnimationIterationCapture?: import("react").AnimationEventHandler<Element> | undefined;
223
+ onToggle?: import("react").ToggleEventHandler<Element> | undefined;
224
+ onBeforeToggle?: import("react").ToggleEventHandler<Element> | undefined;
225
+ onTransitionCancel?: import("react").TransitionEventHandler<Element> | undefined;
226
+ onTransitionCancelCapture?: import("react").TransitionEventHandler<Element> | undefined;
223
227
  onTransitionEnd?: import("react").TransitionEventHandler<Element> | undefined;
224
228
  onTransitionEndCapture?: import("react").TransitionEventHandler<Element> | undefined;
229
+ onTransitionRun?: import("react").TransitionEventHandler<Element> | undefined;
230
+ onTransitionRunCapture?: import("react").TransitionEventHandler<Element> | undefined;
231
+ onTransitionStart?: import("react").TransitionEventHandler<Element> | undefined;
232
+ onTransitionStartCapture?: import("react").TransitionEventHandler<Element> | undefined;
225
233
  defaultChecked?: boolean | undefined;
226
234
  defaultValue?: string | number | readonly string[] | undefined;
227
235
  suppressContentEditableWarning?: boolean | undefined;
228
236
  suppressHydrationWarning?: boolean | undefined;
229
237
  accessKey?: string | undefined;
238
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
230
239
  autoFocus?: boolean | undefined;
231
240
  className?: string | undefined;
232
241
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
@@ -241,7 +250,7 @@ export declare const useToast: (props: DSToastT.Props) => {
241
250
  slot?: string | undefined;
242
251
  spellCheck?: (boolean | "true" | "false") | undefined;
243
252
  style?: import("react").CSSProperties | undefined;
244
- tabIndex?: 0 | -1 | undefined;
253
+ tabIndex?: any;
245
254
  title?: string | undefined;
246
255
  translate?: "yes" | "no" | undefined;
247
256
  radioGroup?: string | undefined;
@@ -257,7 +266,6 @@ export declare const useToast: (props: DSToastT.Props) => {
257
266
  rev?: string | undefined;
258
267
  typeof?: string | undefined;
259
268
  vocab?: string | undefined;
260
- autoCapitalize?: string | undefined;
261
269
  autoCorrect?: string | undefined;
262
270
  autoSave?: string | undefined;
263
271
  color?: string | undefined;
@@ -268,12 +276,16 @@ export declare const useToast: (props: DSToastT.Props) => {
268
276
  itemRef?: string | undefined;
269
277
  results?: number | undefined;
270
278
  security?: string | undefined;
271
- unselectable?: "on" | "off" | undefined;
272
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
279
+ unselectable?: "off" | "on" | undefined;
280
+ popover?: "" | "auto" | "manual" | undefined;
281
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
282
+ popoverTarget?: string | undefined;
283
+ inert?: boolean | undefined;
284
+ inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
273
285
  is?: string | undefined;
274
286
  accept?: string | undefined;
275
287
  acceptCharset?: string | undefined;
276
- action?: string | undefined;
288
+ action?: string | ((formData: FormData) => void | Promise<void>) | undefined;
277
289
  allowFullScreen?: boolean | undefined;
278
290
  allowTransparency?: boolean | undefined;
279
291
  alt?: string | undefined;
@@ -299,7 +311,7 @@ export declare const useToast: (props: DSToastT.Props) => {
299
311
  disabled?: boolean | undefined;
300
312
  download?: any;
301
313
  encType?: string | undefined;
302
- formAction?: string | undefined;
314
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
303
315
  formEncType?: string | undefined;
304
316
  formMethod?: string | undefined;
305
317
  formNoValidate?: boolean | undefined;
@@ -16,10 +16,10 @@ export declare const ToastType: {
16
16
  };
17
17
  export declare const toastTypes: readonly ["info", "success", "warning", "error", "default"];
18
18
  export declare const TYPE_TO_ICON: {
19
- readonly success: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
20
- readonly warning: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
21
- readonly info: (rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
22
- readonly error: (props: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
19
+ readonly success: (props: SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
20
+ readonly warning: (props: SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
21
+ readonly info: (rest: any) => import("react/jsx-runtime").JSX.Element;
22
+ readonly error: (props: SvgIconT.Props) => import("react/jsx-runtime").JSX.Element;
23
23
  readonly default: () => null;
24
24
  };
25
25
  export declare const TYPE_TO_ICON_COLOR: {
@@ -1,5 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const DSToastActionLink: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, {
3
- children?: import("react").ReactNode;
4
- } & import("@elliemae/ds-props-helpers").XstyledProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
1
+ export declare const DSToastActionLink: any;
5
2
  export declare const DSToastActionLinkWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{}>;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
- import type { SvgIconT } from '@elliemae/ds-icons';
3
2
  import { type DSToastT } from '../react-desc-prop-types.js';
4
- export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((rest: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | (() => null);
3
+ export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | ((rest: any) => import("react/jsx-runtime.js").JSX.Element) | ((props: SvgIconT.Props) => import("react/jsx-runtime.js").JSX.Element) | (() => null);
5
4
  export declare const getIconColorByToastType: (type: DSToastT.ToastTypes) => SvgIconT.ColorType;
6
5
  export interface DSToastContentProps {
7
6
  type?: DSToastT.ToastTypes;
@@ -1,16 +1,10 @@
1
- /// <reference types="react" />
2
- import type { XstyledProps } from '@elliemae/ds-props-helpers';
3
- export declare const StyledToastContainer: import("styled-components").StyledComponent<import("react").FC<import("react-toastify").ToastContainerProps>, import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").FC<import("react-toastify").ToastContainerProps>>, never>;
4
- export declare const StyledLink: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, {
5
- children?: import("react").ReactNode;
6
- } & XstyledProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
7
- export declare const StyledContainer: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
8
- export declare const StyledIconContainer: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
9
- export declare const StyledMessageContent: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
10
- export declare const StyledMessageHeader: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
11
- export declare const StyledMessageText: import("styled-components").StyledComponent<"span", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"span">, never>;
12
- export declare const StyledAction: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, import("@xstyled/system").Props<import("@xstyled/system").Theme> & import("@xstyled/system").TypographyProps<import("@xstyled/system").Theme> & import("@elliemae/ds-system").BackgroundProps & import("@elliemae/ds-system").SpaceProps & import("@xstyled/system").BoxShadowProps<import("@xstyled/system").Theme> & import("@xstyled/system").FlexboxesProps<import("@xstyled/system").Theme> & import("@xstyled/system").LayoutProps<import("@xstyled/system").Theme> & import("@elliemae/ds-system").ColorProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
13
- export declare const StyledButton: import("styled-components").StyledComponent<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV2T.Props>, import("@elliemae/ds-system").Theme, {
14
- theme: import("@elliemae/ds-system").Theme;
15
- } & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<import("react").ComponentType<import("@elliemae/ds-button-v2").DSButtonV2T.Props>>, never>;
16
- export declare const ToastifyWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, import("@xstyled/system").Props<import("@xstyled/system").Theme> & import("@xstyled/system").TypographyProps<import("@xstyled/system").Theme> & import("@elliemae/ds-system").BackgroundProps & import("@elliemae/ds-system").SpaceProps & import("@xstyled/system").BoxShadowProps<import("@xstyled/system").Theme> & import("@xstyled/system").FlexboxesProps<import("@xstyled/system").Theme> & import("@xstyled/system").LayoutProps<import("@xstyled/system").Theme> & import("@elliemae/ds-system").ColorProps & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
1
+ export declare const StyledToastContainer: any;
2
+ export declare const StyledLink: any;
3
+ export declare const StyledContainer: any;
4
+ export declare const StyledIconContainer: any;
5
+ export declare const StyledMessageContent: any;
6
+ export declare const StyledMessageHeader: any;
7
+ export declare const StyledMessageText: any;
8
+ export declare const StyledAction: any;
9
+ export declare const StyledButton: any;
10
+ export declare const ToastifyWrapper: any;
@@ -38,7 +38,7 @@ export declare namespace DSToastT {
38
38
  }
39
39
  export declare const defaultProps: DSToastT.DefaultProps;
40
40
  export declare const actionDefaultProps: DSToastT.ActionDefaultProps;
41
- export declare const DSToastPropTypes: React.WeakValidationMap<unknown>;
41
+ export declare const DSToastPropTypes: WeakValidationMap<unknown>;
42
42
  export declare const DSToastActionLinkPropTypes: React.WeakValidationMap<unknown>;
43
43
  export declare const DSToastActionPropsTypes: React.WeakValidationMap<unknown>;
44
44
  export declare const DSToastContentPropTypes: React.WeakValidationMap<unknown>;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import type { ToastOptions } from 'react-toastify';
3
2
  import type { DSToastContentProps } from './parts/DSToastContent.js';
4
3
  declare const toast: (({ type, messageTitle, messageText, messageComponent, ...rest }: DSToastContentProps, options: ToastOptions) => React.ReactText) & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-toast",
3
- "version": "3.46.5",
3
+ "version": "3.46.7",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Toast",
6
6
  "files": [
@@ -63,16 +63,16 @@
63
63
  "@xstyled/system": "~3.7.3",
64
64
  "@xstyled/util": "3.7.0",
65
65
  "react-toastify": "~6.2.0",
66
- "@elliemae/ds-button-v2": "3.46.5",
67
- "@elliemae/ds-icons": "3.46.5",
68
- "@elliemae/ds-props-helpers": "3.46.5",
69
- "@elliemae/ds-system": "3.46.5",
70
- "@elliemae/ds-typescript-helpers": "3.46.5"
66
+ "@elliemae/ds-button-v2": "3.46.7",
67
+ "@elliemae/ds-icons": "3.46.7",
68
+ "@elliemae/ds-props-helpers": "3.46.7",
69
+ "@elliemae/ds-typescript-helpers": "3.46.7",
70
+ "@elliemae/ds-system": "3.46.7"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@elliemae/pui-cli": "9.0.0-next.50",
74
74
  "styled-components": "~5.3.9",
75
- "@elliemae/ds-monorepo-devops": "3.46.5"
75
+ "@elliemae/ds-monorepo-devops": "3.46.7"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "lodash": "^4.17.21",