@elliemae/ds-toast 3.70.0-next.6 → 3.70.0-next.60
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/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +1 -4
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/package.json +1 -4
- package/dist/types/constants.d.ts +4 -4
- package/dist/types/parts/CloseButton.d.ts +2 -1
- package/dist/types/parts/DSToastContent.d.ts +1 -1
- package/package.json +12 -13
- package/dist/types/tests/toast-axe.test.d.ts +0 -1
- package/dist/types/tests/toast-render.test.d.ts +0 -1
- package/dist/types/typescript-testing/typescript-toast-valid.d.ts +0 -1
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["export { DSToast, DSToastWithSchema } from './parts/DSToast.js';\nexport { toast } from './toast.js';\nexport { ToastType, toastTypes, ToastPosition, toastsPositions } from './constants.js';\nexport { DSToastAction, DSToastActionWithSchema } from './parts/DSToastAction.js';\nexport { DSToastActionLink, DSToastActionLinkWithSchema } from './parts/DSToastActionLink.js';\nexport { DSToastContent, DSToastContentWithSchema } from './parts/DSToastContent.js';\nexport {\n DSToastName,\n DSToastActionName,\n DSToastActionLinkName,\n DSToastSlots,\n DSToastActionSlots,\n DSToastActionLinkSlots,\n DSToastDataTestIds,\n DSToastActionDataTestIds,\n DSToastActionLinkDataTestIds,\n} from './DSToastDefinitions.js';\nexport type { DSToastT } from './react-desc-prop-types.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAA2C;AAC3C,mBAAsB;AACtB,uBAAsE;AACtE,2BAAuD;AACvD,+BAA+D;AAC/D,4BAAyD;AACzD,gCAUO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/package.json
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSToast, DSToastWithSchema } from './parts/DSToast.js';\nexport { toast } from './toast.js';\nexport { ToastType, toastTypes, ToastPosition, toastsPositions } from './constants.js';\nexport { DSToastAction, DSToastActionWithSchema } from './parts/DSToastAction.js';\nexport { DSToastActionLink, DSToastActionLinkWithSchema } from './parts/DSToastActionLink.js';\nexport { DSToastContent, DSToastContentWithSchema } from './parts/DSToastContent.js';\nexport {\n DSToastName,\n DSToastActionName,\n DSToastActionLinkName,\n DSToastSlots,\n DSToastActionSlots,\n DSToastActionLinkSlots,\n DSToastDataTestIds,\n DSToastActionDataTestIds,\n DSToastActionLinkDataTestIds,\n} from './DSToastDefinitions.js';\nexport type { DSToastT } from './react-desc-prop-types.js';\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,SAAS,yBAAyB;AAC3C,SAAS,aAAa;AACtB,SAAS,WAAW,YAAY,eAAe,uBAAuB;AACtE,SAAS,eAAe,+BAA+B;AACvD,SAAS,mBAAmB,mCAAmC;AAC/D,SAAS,gBAAgB,gCAAgC;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/package.json
CHANGED
|
@@ -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) =>
|
|
20
|
-
readonly warning: (props: import("@elliemae/ds-icons").SvgIconT.Props) =>
|
|
21
|
-
readonly info: (rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react
|
|
22
|
-
readonly error: (props: import("@elliemae/ds-icons").SvgIconT.Props) =>
|
|
19
|
+
readonly success: (props: import("@elliemae/ds-icons").SvgIconT.Props) => React.JSX.Element;
|
|
20
|
+
readonly warning: (props: import("@elliemae/ds-icons").SvgIconT.Props) => React.JSX.Element;
|
|
21
|
+
readonly info: (rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react").JSX.Element;
|
|
22
|
+
readonly error: (props: import("@elliemae/ds-icons").SvgIconT.Props) => React.JSX.Element;
|
|
23
23
|
readonly default: () => null;
|
|
24
24
|
};
|
|
25
25
|
export declare const TYPE_TO_ICON_COLOR: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DSToastT } from '../react-desc-prop-types.js';
|
|
2
3
|
interface CloseButtonProps {
|
|
3
4
|
closeToast: () => void;
|
|
4
5
|
}
|
|
5
6
|
export declare const CloseButton: ({ closeButtonRef }: {
|
|
6
7
|
closeButtonRef: DSToastT.Props["closeButtonRef"];
|
|
7
|
-
}) => ({ closeToast }: CloseButtonProps) =>
|
|
8
|
+
}) => ({ closeToast }: CloseButtonProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { SvgIconT } from '@elliemae/ds-icons';
|
|
3
3
|
import { type DSToastT } from '../react-desc-prop-types.js';
|
|
4
|
-
export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: SvgIconT.Props) =>
|
|
4
|
+
export declare const getIconByToastType: (type: DSToastT.ToastTypes) => ((props: SvgIconT.Props) => React.JSX.Element) | ((props: SvgIconT.Props) => React.JSX.Element) | ((rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react").JSX.Element) | ((props: SvgIconT.Props) => React.JSX.Element) | (() => null);
|
|
5
5
|
export declare const getIconColorByToastType: (type: DSToastT.ToastTypes) => SvgIconT.ColorType;
|
|
6
6
|
export interface DSToastContentProps {
|
|
7
7
|
type?: DSToastT.ToastTypes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-toast",
|
|
3
|
-
"version": "3.70.0-next.
|
|
3
|
+
"version": "3.70.0-next.60",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Toast",
|
|
6
6
|
"files": [
|
|
@@ -36,25 +36,24 @@
|
|
|
36
36
|
"indent": 4
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xstyled/system": "~3.8.1",
|
|
40
39
|
"react-toastify": "~6.2.0",
|
|
41
|
-
"@elliemae/ds-button-v2": "3.70.0-next.
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-typescript-helpers": "3.70.0-next.
|
|
40
|
+
"@elliemae/ds-button-v2": "3.70.0-next.60",
|
|
41
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.60",
|
|
42
|
+
"@elliemae/ds-icons": "3.70.0-next.60",
|
|
43
|
+
"@elliemae/ds-system": "3.70.0-next.60",
|
|
44
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.60"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"jest": "^30.0.0",
|
|
49
|
-
"styled-components": "~5.3.
|
|
50
|
-
"@elliemae/ds-monorepo-devops": "3.70.0-next.
|
|
51
|
-
"@elliemae/ds-test-utils": "3.70.0-next.
|
|
48
|
+
"styled-components": "~5.3.11",
|
|
49
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-next.60",
|
|
50
|
+
"@elliemae/ds-test-utils": "3.70.0-next.60"
|
|
52
51
|
},
|
|
53
52
|
"peerDependencies": {
|
|
54
|
-
"lodash-es": "^4.
|
|
53
|
+
"lodash-es": "^4.18.1",
|
|
55
54
|
"react": "^18.3.1",
|
|
56
55
|
"react-dom": "^18.3.1",
|
|
57
|
-
"styled-components": "~5.3.
|
|
56
|
+
"styled-components": "~5.3.11"
|
|
58
57
|
},
|
|
59
58
|
"publishConfig": {
|
|
60
59
|
"access": "public",
|
|
@@ -69,4 +68,4 @@
|
|
|
69
68
|
"build": "cross-env NODE_ENV=production node ../../../scripts/build/build.mjs",
|
|
70
69
|
"checkDeps": "npx -yes ../../util/ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
71
70
|
}
|
|
72
|
-
}
|
|
71
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|