@cleartrip/ct-design-toast 1.2.0-beta.1 → 2.0.1-beta.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.
Files changed (2) hide show
  1. package/dist/stats.html +1 -1
  2. package/package.json +11 -9
package/dist/stats.html CHANGED
@@ -4818,7 +4818,7 @@ var drawChart = (function (exports) {
4818
4818
  </script>
4819
4819
  <script>
4820
4820
  /*<!--*/
4821
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"ct-design-toast.umd.js","children":[{"name":"Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm","children":[{"name":"@rollup+plugin-typescript@9.0.2_rollup@3.29.4_tslib@2.6.2_typescript@4.9.5/node_modules/tslib/tslib.es6.js","uid":"e986-85"},{"name":"classnames@2.3.2/node_modules/classnames/index.js","uid":"e986-95"}]},{"name":"src","children":[{"uid":"e986-87","name":"type.ts"},{"uid":"e986-89","name":"style.ts"},{"name":"StyledToast/StyledToast.tsx","uid":"e986-91"},{"uid":"e986-97","name":"Toast.tsx"},{"uid":"e986-99","name":"index.ts"}]},{"name":"\u0000/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js?commonjs-module","uid":"e986-93"}]}],"isRoot":true},"nodeParts":{"e986-85":{"renderedLength":1516,"gzipLength":749,"brotliLength":580,"metaUid":"e986-84"},"e986-87":{"renderedLength":531,"gzipLength":198,"brotliLength":160,"metaUid":"e986-86"},"e986-89":{"renderedLength":2195,"gzipLength":524,"brotliLength":426,"metaUid":"e986-88"},"e986-91":{"renderedLength":135,"gzipLength":118,"brotliLength":106,"metaUid":"e986-90"},"e986-93":{"renderedLength":159,"gzipLength":99,"brotliLength":84,"metaUid":"e986-92"},"e986-95":{"renderedLength":1551,"gzipLength":581,"brotliLength":456,"metaUid":"e986-94"},"e986-97":{"renderedLength":2554,"gzipLength":884,"brotliLength":768,"metaUid":"e986-96"},"e986-99":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"e986-98"}},"nodeMetas":{"e986-84":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/@rollup+plugin-typescript@9.0.2_rollup@3.29.4_tslib@2.6.2_typescript@4.9.5/node_modules/tslib/tslib.es6.js","moduleParts":{"ct-design-toast.umd.js":"e986-85"},"imported":[],"importedBy":[{"uid":"e986-96"},{"uid":"e986-88"},{"uid":"e986-90"}]},"e986-86":{"id":"/src/type.ts","moduleParts":{"ct-design-toast.umd.js":"e986-87"},"imported":[],"importedBy":[{"uid":"e986-98"},{"uid":"e986-96"},{"uid":"e986-88"}]},"e986-88":{"id":"/src/style.ts","moduleParts":{"ct-design-toast.umd.js":"e986-89"},"imported":[{"uid":"e986-84"},{"uid":"e986-86"}],"importedBy":[{"uid":"e986-96"}]},"e986-90":{"id":"/src/StyledToast/StyledToast.tsx","moduleParts":{"ct-design-toast.umd.js":"e986-91"},"imported":[{"uid":"e986-84"},{"uid":"e986-109"}],"importedBy":[{"uid":"e986-107"}]},"e986-92":{"id":"\u0000/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js?commonjs-module","moduleParts":{"ct-design-toast.umd.js":"e986-93"},"imported":[],"importedBy":[{"uid":"e986-94"}]},"e986-94":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js","moduleParts":{"ct-design-toast.umd.js":"e986-95"},"imported":[{"uid":"e986-108"},{"uid":"e986-92"}],"importedBy":[{"uid":"e986-96"}]},"e986-96":{"id":"/src/Toast.tsx","moduleParts":{"ct-design-toast.umd.js":"e986-97"},"imported":[{"uid":"e986-84"},{"uid":"e986-100"},{"uid":"e986-101"},{"uid":"e986-102"},{"uid":"e986-103"},{"uid":"e986-104"},{"uid":"e986-105"},{"uid":"e986-106"},{"uid":"e986-88"},{"uid":"e986-107"},{"uid":"e986-86"},{"uid":"e986-94"}],"importedBy":[{"uid":"e986-98"}]},"e986-98":{"id":"/src/index.ts","moduleParts":{"ct-design-toast.umd.js":"e986-99"},"imported":[{"uid":"e986-96"},{"uid":"e986-86"}],"importedBy":[],"isEntry":true},"e986-100":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-101":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-102":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-103":{"id":"@cleartrip/ct-design-portal","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-104":{"id":"@cleartrip/ct-design-transition","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-105":{"id":"@cleartrip/ct-design-typography","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-106":{"id":"@cleartrip/ct-design-container","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-96"}],"isExternal":true},"e986-107":{"id":"/src/StyledToast/index.ts","moduleParts":{},"imported":[{"uid":"e986-90"}],"importedBy":[{"uid":"e986-96"}]},"e986-108":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-94"}]},"e986-109":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"e986-90"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4821
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"ct-design-toast.umd.js","children":[{"name":"Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm","children":[{"name":"@rollup+plugin-typescript@9.0.2_rollup@3.29.4_tslib@2.6.2_typescript@4.9.5/node_modules/tslib/tslib.es6.js","uid":"bc77-85"},{"name":"classnames@2.3.2/node_modules/classnames/index.js","uid":"bc77-95"}]},{"name":"src","children":[{"uid":"bc77-87","name":"type.ts"},{"uid":"bc77-89","name":"style.ts"},{"name":"StyledToast/StyledToast.tsx","uid":"bc77-91"},{"uid":"bc77-97","name":"Toast.tsx"},{"uid":"bc77-99","name":"index.ts"}]},{"name":"\u0000/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js?commonjs-module","uid":"bc77-93"}]}],"isRoot":true},"nodeParts":{"bc77-85":{"renderedLength":1516,"gzipLength":749,"brotliLength":580,"metaUid":"bc77-84"},"bc77-87":{"renderedLength":531,"gzipLength":198,"brotliLength":160,"metaUid":"bc77-86"},"bc77-89":{"renderedLength":2195,"gzipLength":524,"brotliLength":426,"metaUid":"bc77-88"},"bc77-91":{"renderedLength":135,"gzipLength":118,"brotliLength":106,"metaUid":"bc77-90"},"bc77-93":{"renderedLength":159,"gzipLength":99,"brotliLength":84,"metaUid":"bc77-92"},"bc77-95":{"renderedLength":1551,"gzipLength":581,"brotliLength":456,"metaUid":"bc77-94"},"bc77-97":{"renderedLength":2554,"gzipLength":884,"brotliLength":768,"metaUid":"bc77-96"},"bc77-99":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"bc77-98"}},"nodeMetas":{"bc77-84":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/@rollup+plugin-typescript@9.0.2_rollup@3.29.4_tslib@2.6.2_typescript@4.9.5/node_modules/tslib/tslib.es6.js","moduleParts":{"ct-design-toast.umd.js":"bc77-85"},"imported":[],"importedBy":[{"uid":"bc77-96"},{"uid":"bc77-88"},{"uid":"bc77-90"}]},"bc77-86":{"id":"/src/type.ts","moduleParts":{"ct-design-toast.umd.js":"bc77-87"},"imported":[],"importedBy":[{"uid":"bc77-98"},{"uid":"bc77-96"},{"uid":"bc77-88"}]},"bc77-88":{"id":"/src/style.ts","moduleParts":{"ct-design-toast.umd.js":"bc77-89"},"imported":[{"uid":"bc77-84"},{"uid":"bc77-86"}],"importedBy":[{"uid":"bc77-96"}]},"bc77-90":{"id":"/src/StyledToast/StyledToast.tsx","moduleParts":{"ct-design-toast.umd.js":"bc77-91"},"imported":[{"uid":"bc77-84"},{"uid":"bc77-109"}],"importedBy":[{"uid":"bc77-107"}]},"bc77-92":{"id":"\u0000/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js?commonjs-module","moduleParts":{"ct-design-toast.umd.js":"bc77-93"},"imported":[],"importedBy":[{"uid":"bc77-94"}]},"bc77-94":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.js","moduleParts":{"ct-design-toast.umd.js":"bc77-95"},"imported":[{"uid":"bc77-108"},{"uid":"bc77-92"}],"importedBy":[{"uid":"bc77-96"}]},"bc77-96":{"id":"/src/Toast.tsx","moduleParts":{"ct-design-toast.umd.js":"bc77-97"},"imported":[{"uid":"bc77-84"},{"uid":"bc77-100"},{"uid":"bc77-101"},{"uid":"bc77-102"},{"uid":"bc77-103"},{"uid":"bc77-104"},{"uid":"bc77-105"},{"uid":"bc77-106"},{"uid":"bc77-88"},{"uid":"bc77-107"},{"uid":"bc77-86"},{"uid":"bc77-94"}],"importedBy":[{"uid":"bc77-98"}]},"bc77-98":{"id":"/src/index.ts","moduleParts":{"ct-design-toast.umd.js":"bc77-99"},"imported":[{"uid":"bc77-96"},{"uid":"bc77-86"}],"importedBy":[],"isEntry":true},"bc77-100":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-101":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-102":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-103":{"id":"@cleartrip/ct-design-portal","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-104":{"id":"@cleartrip/ct-design-transition","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-105":{"id":"@cleartrip/ct-design-typography","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-106":{"id":"@cleartrip/ct-design-container","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-96"}],"isExternal":true},"bc77-107":{"id":"/src/StyledToast/index.ts","moduleParts":{},"imported":[{"uid":"bc77-90"}],"importedBy":[{"uid":"bc77-96"}]},"bc77-108":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-94"}]},"bc77-109":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"bc77-90"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4822
4822
 
4823
4823
  const run = () => {
4824
4824
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-design-toast",
3
- "version": "1.2.0-beta.1",
3
+ "version": "2.0.1-beta.0",
4
4
  "description": "Toast Component",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "main": "dist/ct-design-toast.cjs.js",
@@ -15,15 +15,15 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@cleartrip/ct-design-portal": "1.2.0-beta.1",
19
- "@cleartrip/ct-design-typography": "1.2.0-beta.1",
20
- "@cleartrip/ct-design-container": "1.1.0-beta.1",
21
- "@cleartrip/ct-design-theme": "1.2.0-beta.1",
22
- "@cleartrip/ct-design-transition": "1.2.0-beta.1"
18
+ "@cleartrip/ct-design-portal": "2.0.0",
19
+ "@cleartrip/ct-design-typography": "2.0.0",
20
+ "@cleartrip/ct-design-transition": "2.1.0-beta.0",
21
+ "@cleartrip/ct-design-theme": "2.0.0",
22
+ "@cleartrip/ct-design-container": "2.0.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@cleartrip/ct-design-button": "1.2.0-beta.1",
26
- "@cleartrip/ct-design-icons": "1.2.0-beta.1"
25
+ "@cleartrip/ct-design-icons": "2.0.0",
26
+ "@cleartrip/ct-design-button": "2.0.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.8.0",
@@ -37,6 +37,8 @@
37
37
  "license": "ISC",
38
38
  "scripts": {
39
39
  "test": "echo \"Error: no test specified\" && exit 1",
40
- "build-package": "rm -rf dist && rollup -c"
40
+ "watch-package": "rollup -c -w",
41
+ "build-package": "rollup -c",
42
+ "build-package:clean": "rm -rf dist && rollup -c"
41
43
  }
42
44
  }