@cleartrip/ct-design-segment 4.0.0-SNAPSHOT-reactnative.13 → 4.0.0-SNAPSHOT-native-main.5
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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Segment.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/Segment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAOjF,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"Segment.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/Segment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAOjF,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAevC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgQpC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/SegmentButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SegmentButton.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/SegmentButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAI7C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsGvD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.native.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/SegmentButton.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SegmentButton.native.d.ts","sourceRoot":"","sources":["../packages/components/Segment/src/SegmentButton.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAI7C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiGvD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-segment",
|
|
3
|
-
"version": "4.0.0-SNAPSHOT-
|
|
3
|
+
"version": "4.0.0-SNAPSHOT-native-main.5",
|
|
4
4
|
"description": "Segment component migrated to ct-design-style-manager",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "./dist/ct-design-segment.cjs.js",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"src"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cleartrip/ct-design-button": "4.0.0-SNAPSHOT-
|
|
28
|
-
"@cleartrip/ct-design-container": "4.0.0-SNAPSHOT-
|
|
29
|
-
"@cleartrip/ct-design-
|
|
30
|
-
"@cleartrip/ct-design-
|
|
31
|
-
"@cleartrip/ct-design-tokens": "4.0.0-SNAPSHOT-
|
|
32
|
-
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-
|
|
33
|
-
"@cleartrip/ct-design-
|
|
34
|
-
"@cleartrip/ct-design-
|
|
27
|
+
"@cleartrip/ct-design-button": "4.0.0-SNAPSHOT-native-main.5",
|
|
28
|
+
"@cleartrip/ct-design-container": "4.0.0-SNAPSHOT-native-main.5",
|
|
29
|
+
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-native-main.5",
|
|
30
|
+
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-native-main.5",
|
|
31
|
+
"@cleartrip/ct-design-tokens": "4.0.0-SNAPSHOT-native-main.5",
|
|
32
|
+
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-native-main.5",
|
|
33
|
+
"@cleartrip/ct-design-typography": "4.0.0-SNAPSHOT-native-main.5",
|
|
34
|
+
"@cleartrip/ct-design-hooks": "4.0.0-SNAPSHOT-native-main.5"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@cleartrip/ct-design-use-isomorphic-effect": "4.0.0-SNAPSHOT-
|
|
37
|
+
"@cleartrip/ct-design-use-isomorphic-effect": "4.0.0-SNAPSHOT-native-main.5"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=16.8.0",
|
package/src/Segment.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import { useStyles, useWebMergeStyles } from '@cleartrip/ct-design-style-manager
|
|
|
5
5
|
import { Container } from '@cleartrip/ct-design-container';
|
|
6
6
|
|
|
7
7
|
import { getSegmentVariantStyles, segmentStaticStyles, segmentWebThumbStyles } from './style';
|
|
8
|
-
import { ISegmentProps
|
|
8
|
+
import { ISegmentProps } from './type';
|
|
9
9
|
import { SegmentVariant } from './constants';
|
|
10
10
|
import { SegmentButton } from './SegmentButton';
|
|
11
11
|
import { css } from '@emotion/css';
|
|
@@ -4,7 +4,7 @@ import { Button, ButtonColor, ButtonSize, ButtonVariant } from '@cleartrip/ct-de
|
|
|
4
4
|
import { useStyles } from '@cleartrip/ct-design-style-manager';
|
|
5
5
|
import { useTheme } from '@cleartrip/ct-design-theme';
|
|
6
6
|
|
|
7
|
-
import { ISegmentButtonProps
|
|
7
|
+
import { ISegmentButtonProps } from './type';
|
|
8
8
|
import { SegmentVariant } from './constants';
|
|
9
9
|
import { getStyledSegmentButtonStyles, segmentStaticStyles } from './style';
|
|
10
10
|
|
package/src/SegmentButton.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { Button, ButtonColor, ButtonSize, ButtonVariant } from '@cleartrip/ct-de
|
|
|
4
4
|
import { useStyles } from '@cleartrip/ct-design-style-manager';
|
|
5
5
|
import { useTheme } from '@cleartrip/ct-design-theme';
|
|
6
6
|
|
|
7
|
-
import { ISegmentButtonProps
|
|
7
|
+
import { ISegmentButtonProps } from './type';
|
|
8
8
|
import { SegmentVariant } from './constants';
|
|
9
9
|
import { getStyledSegmentButtonStyles, segmentStaticStyles } from './style';
|
|
10
10
|
|