@cleartrip/ct-design-tooltip 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 +13 -11
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-tooltip.umd.js","children":[{"name":"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","uid":"d8f0-133"},{"name":"src","children":[{"uid":"d8f0-135","name":"type.ts"},{"uid":"d8f0-137","name":"style.ts"},{"name":"StyledTooltip","children":[{"uid":"d8f0-139","name":"style.ts"},{"uid":"d8f0-141","name":"StyledTooltip.tsx"}]},{"name":"TooltipArrow","children":[{"uid":"d8f0-143","name":"style.ts"},{"name":"StyledTooltipArrow","children":[{"uid":"d8f0-145","name":"style.ts"},{"uid":"d8f0-147","name":"StyledTooltipArrow.tsx"}]},{"uid":"d8f0-149","name":"TooltipArrow.tsx"}]},{"uid":"d8f0-151","name":"Tooltip.tsx"},{"uid":"d8f0-153","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"d8f0-133":{"renderedLength":1756,"gzipLength":833,"brotliLength":648,"metaUid":"d8f0-132"},"d8f0-135":{"renderedLength":296,"gzipLength":146,"brotliLength":129,"metaUid":"d8f0-134"},"d8f0-137":{"renderedLength":384,"gzipLength":207,"brotliLength":159,"metaUid":"d8f0-136"},"d8f0-139":{"renderedLength":921,"gzipLength":315,"brotliLength":231,"metaUid":"d8f0-138"},"d8f0-141":{"renderedLength":383,"gzipLength":188,"brotliLength":148,"metaUid":"d8f0-140"},"d8f0-143":{"renderedLength":1079,"gzipLength":279,"brotliLength":220,"metaUid":"d8f0-142"},"d8f0-145":{"renderedLength":365,"gzipLength":191,"brotliLength":164,"metaUid":"d8f0-144"},"d8f0-147":{"renderedLength":385,"gzipLength":186,"brotliLength":161,"metaUid":"d8f0-146"},"d8f0-149":{"renderedLength":535,"gzipLength":262,"brotliLength":224,"metaUid":"d8f0-148"},"d8f0-151":{"renderedLength":4117,"gzipLength":1216,"brotliLength":1086,"metaUid":"d8f0-150"},"d8f0-153":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"d8f0-152"}},"nodeMetas":{"d8f0-132":{"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-tooltip.umd.js":"d8f0-133"},"imported":[],"importedBy":[{"uid":"d8f0-150"},{"uid":"d8f0-136"},{"uid":"d8f0-138"},{"uid":"d8f0-148"},{"uid":"d8f0-142"}]},"d8f0-134":{"id":"/src/type.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-135"},"imported":[],"importedBy":[{"uid":"d8f0-152"},{"uid":"d8f0-150"},{"uid":"d8f0-142"}]},"d8f0-136":{"id":"/src/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-137"},"imported":[{"uid":"d8f0-132"}],"importedBy":[{"uid":"d8f0-150"}]},"d8f0-138":{"id":"/src/StyledTooltip/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-139"},"imported":[{"uid":"d8f0-132"},{"uid":"d8f0-164"}],"importedBy":[{"uid":"d8f0-140"}]},"d8f0-140":{"id":"/src/StyledTooltip/StyledTooltip.tsx","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-141"},"imported":[{"uid":"d8f0-164"},{"uid":"d8f0-138"}],"importedBy":[{"uid":"d8f0-150"}]},"d8f0-142":{"id":"/src/TooltipArrow/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-143"},"imported":[{"uid":"d8f0-132"},{"uid":"d8f0-134"}],"importedBy":[{"uid":"d8f0-148"}]},"d8f0-144":{"id":"/src/TooltipArrow/StyledTooltipArrow/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-145"},"imported":[],"importedBy":[{"uid":"d8f0-146"}]},"d8f0-146":{"id":"/src/TooltipArrow/StyledTooltipArrow/StyledTooltipArrow.tsx","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-147"},"imported":[{"uid":"d8f0-164"},{"uid":"d8f0-144"}],"importedBy":[{"uid":"d8f0-148"}]},"d8f0-148":{"id":"/src/TooltipArrow/TooltipArrow.tsx","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-149"},"imported":[{"uid":"d8f0-132"},{"uid":"d8f0-154"},{"uid":"d8f0-156"},{"uid":"d8f0-142"},{"uid":"d8f0-146"},{"uid":"d8f0-165"}],"importedBy":[{"uid":"d8f0-158"}]},"d8f0-150":{"id":"/src/Tooltip.tsx","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-151"},"imported":[{"uid":"d8f0-132"},{"uid":"d8f0-154"},{"uid":"d8f0-155"},{"uid":"d8f0-156"},{"uid":"d8f0-157"},{"uid":"d8f0-134"},{"uid":"d8f0-136"},{"uid":"d8f0-140"},{"uid":"d8f0-158"},{"uid":"d8f0-159"},{"uid":"d8f0-160"},{"uid":"d8f0-161"},{"uid":"d8f0-162"},{"uid":"d8f0-163"}],"importedBy":[{"uid":"d8f0-152"}]},"d8f0-152":{"id":"/src/index.ts","moduleParts":{"ct-design-tooltip.umd.js":"d8f0-153"},"imported":[{"uid":"d8f0-150"},{"uid":"d8f0-134"}],"importedBy":[],"isEntry":true},"d8f0-154":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"},{"uid":"d8f0-148"}],"isExternal":true},"d8f0-155":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-156":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"},{"uid":"d8f0-148"}],"isExternal":true},"d8f0-157":{"id":"@cleartrip/ct-design-container","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-158":{"id":"/src/TooltipArrow/index.ts","moduleParts":{},"imported":[{"uid":"d8f0-148"}],"importedBy":[{"uid":"d8f0-150"}]},"d8f0-159":{"id":"@cleartrip/ct-design-portal","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-160":{"id":"@cleartrip/ct-design-conditional-wrap","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-161":{"id":"@cleartrip/ct-design-use-merge-refs","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-162":{"id":"@cleartrip/ct-design-use-isomorphic-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-163":{"id":"@cleartrip/ct-design-transition","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-150"}],"isExternal":true},"d8f0-164":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-140"},{"uid":"d8f0-138"},{"uid":"d8f0-146"}],"isExternal":true},"d8f0-165":{"id":"@cleartrip/ct-design-icons","moduleParts":{},"imported":[],"importedBy":[{"uid":"d8f0-148"}],"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-tooltip.umd.js","children":[{"name":"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","uid":"4ac5-133"},{"name":"src","children":[{"uid":"4ac5-135","name":"type.ts"},{"uid":"4ac5-137","name":"style.ts"},{"name":"StyledTooltip","children":[{"uid":"4ac5-139","name":"style.ts"},{"uid":"4ac5-141","name":"StyledTooltip.tsx"}]},{"name":"TooltipArrow","children":[{"uid":"4ac5-143","name":"style.ts"},{"name":"StyledTooltipArrow","children":[{"uid":"4ac5-145","name":"style.ts"},{"uid":"4ac5-147","name":"StyledTooltipArrow.tsx"}]},{"uid":"4ac5-149","name":"TooltipArrow.tsx"}]},{"uid":"4ac5-151","name":"Tooltip.tsx"},{"uid":"4ac5-153","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"4ac5-133":{"renderedLength":1756,"gzipLength":833,"brotliLength":648,"metaUid":"4ac5-132"},"4ac5-135":{"renderedLength":296,"gzipLength":146,"brotliLength":129,"metaUid":"4ac5-134"},"4ac5-137":{"renderedLength":384,"gzipLength":207,"brotliLength":159,"metaUid":"4ac5-136"},"4ac5-139":{"renderedLength":921,"gzipLength":315,"brotliLength":231,"metaUid":"4ac5-138"},"4ac5-141":{"renderedLength":383,"gzipLength":188,"brotliLength":148,"metaUid":"4ac5-140"},"4ac5-143":{"renderedLength":1079,"gzipLength":279,"brotliLength":220,"metaUid":"4ac5-142"},"4ac5-145":{"renderedLength":365,"gzipLength":191,"brotliLength":164,"metaUid":"4ac5-144"},"4ac5-147":{"renderedLength":385,"gzipLength":186,"brotliLength":161,"metaUid":"4ac5-146"},"4ac5-149":{"renderedLength":535,"gzipLength":262,"brotliLength":224,"metaUid":"4ac5-148"},"4ac5-151":{"renderedLength":4117,"gzipLength":1216,"brotliLength":1086,"metaUid":"4ac5-150"},"4ac5-153":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4ac5-152"}},"nodeMetas":{"4ac5-132":{"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-tooltip.umd.js":"4ac5-133"},"imported":[],"importedBy":[{"uid":"4ac5-150"},{"uid":"4ac5-136"},{"uid":"4ac5-138"},{"uid":"4ac5-148"},{"uid":"4ac5-142"}]},"4ac5-134":{"id":"/src/type.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-135"},"imported":[],"importedBy":[{"uid":"4ac5-152"},{"uid":"4ac5-150"},{"uid":"4ac5-142"}]},"4ac5-136":{"id":"/src/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-137"},"imported":[{"uid":"4ac5-132"}],"importedBy":[{"uid":"4ac5-150"}]},"4ac5-138":{"id":"/src/StyledTooltip/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-139"},"imported":[{"uid":"4ac5-132"},{"uid":"4ac5-164"}],"importedBy":[{"uid":"4ac5-140"}]},"4ac5-140":{"id":"/src/StyledTooltip/StyledTooltip.tsx","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-141"},"imported":[{"uid":"4ac5-164"},{"uid":"4ac5-138"}],"importedBy":[{"uid":"4ac5-150"}]},"4ac5-142":{"id":"/src/TooltipArrow/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-143"},"imported":[{"uid":"4ac5-132"},{"uid":"4ac5-134"}],"importedBy":[{"uid":"4ac5-148"}]},"4ac5-144":{"id":"/src/TooltipArrow/StyledTooltipArrow/style.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-145"},"imported":[],"importedBy":[{"uid":"4ac5-146"}]},"4ac5-146":{"id":"/src/TooltipArrow/StyledTooltipArrow/StyledTooltipArrow.tsx","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-147"},"imported":[{"uid":"4ac5-164"},{"uid":"4ac5-144"}],"importedBy":[{"uid":"4ac5-148"}]},"4ac5-148":{"id":"/src/TooltipArrow/TooltipArrow.tsx","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-149"},"imported":[{"uid":"4ac5-132"},{"uid":"4ac5-154"},{"uid":"4ac5-156"},{"uid":"4ac5-142"},{"uid":"4ac5-146"},{"uid":"4ac5-165"}],"importedBy":[{"uid":"4ac5-158"}]},"4ac5-150":{"id":"/src/Tooltip.tsx","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-151"},"imported":[{"uid":"4ac5-132"},{"uid":"4ac5-154"},{"uid":"4ac5-155"},{"uid":"4ac5-156"},{"uid":"4ac5-157"},{"uid":"4ac5-134"},{"uid":"4ac5-136"},{"uid":"4ac5-140"},{"uid":"4ac5-158"},{"uid":"4ac5-159"},{"uid":"4ac5-160"},{"uid":"4ac5-161"},{"uid":"4ac5-162"},{"uid":"4ac5-163"}],"importedBy":[{"uid":"4ac5-152"}]},"4ac5-152":{"id":"/src/index.ts","moduleParts":{"ct-design-tooltip.umd.js":"4ac5-153"},"imported":[{"uid":"4ac5-150"},{"uid":"4ac5-134"}],"importedBy":[],"isEntry":true},"4ac5-154":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"},{"uid":"4ac5-148"}],"isExternal":true},"4ac5-155":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-156":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"},{"uid":"4ac5-148"}],"isExternal":true},"4ac5-157":{"id":"@cleartrip/ct-design-container","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-158":{"id":"/src/TooltipArrow/index.ts","moduleParts":{},"imported":[{"uid":"4ac5-148"}],"importedBy":[{"uid":"4ac5-150"}]},"4ac5-159":{"id":"@cleartrip/ct-design-portal","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-160":{"id":"@cleartrip/ct-design-conditional-wrap","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-161":{"id":"@cleartrip/ct-design-use-merge-refs","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-162":{"id":"@cleartrip/ct-design-use-isomorphic-effect","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-163":{"id":"@cleartrip/ct-design-transition","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-150"}],"isExternal":true},"4ac5-164":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-140"},{"uid":"4ac5-138"},{"uid":"4ac5-146"}],"isExternal":true},"4ac5-165":{"id":"@cleartrip/ct-design-icons","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ac5-148"}],"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-tooltip",
3
- "version": "1.2.0-beta.1",
3
+ "version": "2.0.1-beta.0",
4
4
  "description": "Tooltip Component",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "main": "dist/ct-design-tooltip.cjs.js",
@@ -15,15 +15,15 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@cleartrip/ct-design-transition": "1.2.0-beta.1",
19
- "@cleartrip/ct-design-portal": "1.2.0-beta.1",
20
- "@cleartrip/ct-design-conditional-wrap": "1.0.1-beta",
21
- "@cleartrip/ct-design-use-merge-refs": "1.2.0-beta.1",
22
- "@cleartrip/ct-design-use-isomorphic-effect": "1.2.0-beta.1",
23
- "@cleartrip/ct-design-theme": "1.2.0-beta.1",
24
- "@cleartrip/ct-design-container": "1.1.0-beta.1",
25
- "@cleartrip/ct-design-types": "1.2.0-beta.1",
26
- "@cleartrip/ct-design-icons": "1.2.0-beta.1"
18
+ "@cleartrip/ct-design-types": "2.0.0",
19
+ "@cleartrip/ct-design-transition": "2.1.0-beta.0",
20
+ "@cleartrip/ct-design-portal": "2.0.0",
21
+ "@cleartrip/ct-design-conditional-wrap": "2.0.0",
22
+ "@cleartrip/ct-design-use-merge-refs": "2.0.0",
23
+ "@cleartrip/ct-design-use-isomorphic-effect": "2.0.0",
24
+ "@cleartrip/ct-design-theme": "2.0.0",
25
+ "@cleartrip/ct-design-container": "2.0.0",
26
+ "@cleartrip/ct-design-icons": "2.0.0"
27
27
  },
28
28
  "devDependencies": {},
29
29
  "peerDependencies": {
@@ -38,6 +38,8 @@
38
38
  "license": "ISC",
39
39
  "scripts": {
40
40
  "test": "echo \"Error: no test specified\" && exit 1",
41
- "build-package": "rm -rf dist && rollup -c"
41
+ "watch-package": "rollup -c -w",
42
+ "build-package": "rollup -c",
43
+ "build-package:clean": "rm -rf dist && rollup -c"
42
44
  }
43
45
  }