@cleartrip/ct-design-segment 2.1.0-beta.0 → 2.2.0-SNAPSHOT-ITINERARY.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.
package/dist/Segment.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { BaseStyleConfigProps } from '@cleartrip/ct-design-types';
3
- interface IOption {
3
+ export interface IOption {
4
4
  tabId: string;
5
5
  text: string;
6
6
  icon?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Segment.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/Segment.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAYhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOlE,UAAU,OAAO;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAE5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAShB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAGnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAG3C,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAKpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE;QACZ,IAAI,CAAC,EAAE,oBAAoB,CAAC;QAC5B,mBAAmB,CAAC,EAAE,oBAAoB,CAAC;QAC3C,aAAa,CAAC,EAAE,oBAAoB,CAAC;QACr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AC;AAEF,eAAe,OAAO,CAAC"}
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-segment.umd.js","children":[{"name":"Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system","children":[{"name":"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":"f10f-49"},{"name":"packages/hooks/use-isomorphic-effect/dist/ct-design-useIsomorphicEffect.esm.js","uid":"f10f-53"}]},{"name":"src","children":[{"uid":"f10f-51","name":"style.ts"},{"uid":"f10f-55","name":"Segment.tsx"},{"uid":"f10f-57","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f10f-49":{"renderedLength":1516,"gzipLength":749,"brotliLength":580,"metaUid":"f10f-48"},"f10f-51":{"renderedLength":2100,"gzipLength":635,"brotliLength":525,"metaUid":"f10f-50"},"f10f-53":{"renderedLength":124,"gzipLength":113,"brotliLength":83,"metaUid":"f10f-52"},"f10f-55":{"renderedLength":3600,"gzipLength":894,"brotliLength":814,"metaUid":"f10f-54"},"f10f-57":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"f10f-56"}},"nodeMetas":{"f10f-48":{"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-segment.umd.js":"f10f-49"},"imported":[],"importedBy":[{"uid":"f10f-54"}]},"f10f-50":{"id":"/src/style.ts","moduleParts":{"ct-design-segment.umd.js":"f10f-51"},"imported":[],"importedBy":[{"uid":"f10f-54"}]},"f10f-52":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/packages/hooks/use-isomorphic-effect/dist/ct-design-useIsomorphicEffect.esm.js","moduleParts":{"ct-design-segment.umd.js":"f10f-53"},"imported":[{"uid":"f10f-59"}],"importedBy":[{"uid":"f10f-54"}]},"f10f-54":{"id":"/src/Segment.tsx","moduleParts":{"ct-design-segment.umd.js":"f10f-55"},"imported":[{"uid":"f10f-48"},{"uid":"f10f-58"},{"uid":"f10f-59"},{"uid":"f10f-50"},{"uid":"f10f-60"},{"uid":"f10f-61"},{"uid":"f10f-52"}],"importedBy":[{"uid":"f10f-56"}]},"f10f-56":{"id":"/src/index.ts","moduleParts":{"ct-design-segment.umd.js":"f10f-57"},"imported":[{"uid":"f10f-54"}],"importedBy":[],"isEntry":true},"f10f-58":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"f10f-54"}],"isExternal":true},"f10f-59":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f10f-54"},{"uid":"f10f-52"}],"isExternal":true},"f10f-60":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"f10f-54"}],"isExternal":true},"f10f-61":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"f10f-54"}],"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-segment.umd.js","children":[{"name":"Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system","children":[{"name":"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":"2350-49"},{"name":"packages/hooks/use-isomorphic-effect/dist/ct-design-useIsomorphicEffect.esm.js","uid":"2350-53"}]},{"name":"src","children":[{"uid":"2350-51","name":"style.ts"},{"uid":"2350-55","name":"Segment.tsx"},{"uid":"2350-57","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2350-49":{"renderedLength":1516,"gzipLength":749,"brotliLength":580,"metaUid":"2350-48"},"2350-51":{"renderedLength":2100,"gzipLength":635,"brotliLength":525,"metaUid":"2350-50"},"2350-53":{"renderedLength":124,"gzipLength":113,"brotliLength":83,"metaUid":"2350-52"},"2350-55":{"renderedLength":3600,"gzipLength":894,"brotliLength":814,"metaUid":"2350-54"},"2350-57":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"2350-56"}},"nodeMetas":{"2350-48":{"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-segment.umd.js":"2350-49"},"imported":[],"importedBy":[{"uid":"2350-54"}]},"2350-50":{"id":"/src/style.ts","moduleParts":{"ct-design-segment.umd.js":"2350-51"},"imported":[],"importedBy":[{"uid":"2350-54"}]},"2350-52":{"id":"/Users/kanishk.gupta/Desktop/Cleartrip/ct-design-system/packages/hooks/use-isomorphic-effect/dist/ct-design-useIsomorphicEffect.esm.js","moduleParts":{"ct-design-segment.umd.js":"2350-53"},"imported":[{"uid":"2350-59"}],"importedBy":[{"uid":"2350-54"}]},"2350-54":{"id":"/src/Segment.tsx","moduleParts":{"ct-design-segment.umd.js":"2350-55"},"imported":[{"uid":"2350-48"},{"uid":"2350-58"},{"uid":"2350-59"},{"uid":"2350-50"},{"uid":"2350-60"},{"uid":"2350-61"},{"uid":"2350-52"}],"importedBy":[{"uid":"2350-56"}]},"2350-56":{"id":"/src/index.ts","moduleParts":{"ct-design-segment.umd.js":"2350-57"},"imported":[{"uid":"2350-54"}],"importedBy":[],"isEntry":true},"2350-58":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"2350-54"}],"isExternal":true},"2350-59":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2350-54"},{"uid":"2350-52"}],"isExternal":true},"2350-60":{"id":"@cleartrip/ct-design-theme","moduleParts":{},"imported":[],"importedBy":[{"uid":"2350-54"}],"isExternal":true},"2350-61":{"id":"styled-components","moduleParts":{},"imported":[],"importedBy":[{"uid":"2350-54"}],"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-segment",
3
- "version": "2.1.0-beta.0",
3
+ "version": "2.2.0-SNAPSHOT-ITINERARY.0",
4
4
  "description": "Segment Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-design-segment.cjs.js",
@@ -15,12 +15,12 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@cleartrip/ct-design-types": "2.1.0-beta.0",
19
- "@cleartrip/ct-design-tokens": "2.1.0-beta.0",
20
- "@cleartrip/ct-design-theme": "2.1.0-beta.0"
18
+ "@cleartrip/ct-design-tokens": "2.1.0",
19
+ "@cleartrip/ct-design-types": "2.1.0",
20
+ "@cleartrip/ct-design-theme": "2.1.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@cleartrip/ct-design-use-isomorphic-effect": "2.1.0-beta.0"
23
+ "@cleartrip/ct-design-use-isomorphic-effect": "2.1.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.0",