@cleartrip/ct-design-dropdown 4.0.0-SNAPSHOT-rnfinaltest65.0 → 4.0.0-SNAPSHOT-reactnative.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/type.d.ts +2 -2
- package/dist/type.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/type.ts +2 -2
package/dist/type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import type { Styles } from '@cleartrip/ct-design-types';
|
|
2
|
+
import type { Styles, TextStyle } from '@cleartrip/ct-design-types';
|
|
3
3
|
import { TypographyStyleConfigProps } from '@cleartrip/ct-design-typography';
|
|
4
4
|
export interface Item {
|
|
5
5
|
label: string;
|
|
@@ -19,7 +19,7 @@ export interface DropdownProps {
|
|
|
19
19
|
showDropDownListOnTop?: boolean;
|
|
20
20
|
styleConfig?: {
|
|
21
21
|
placeHolderContainer?: Styles[];
|
|
22
|
-
placeHolderTextContainer?:
|
|
22
|
+
placeHolderTextContainer?: TextStyle[];
|
|
23
23
|
dropDownItemListContainer?: Styles[];
|
|
24
24
|
dropDownItemContainer?: Styles[];
|
|
25
25
|
dropDownItemTextContainer?: TypographyStyleConfigProps;
|
package/dist/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../packages/components/Dropdown/src/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../packages/components/Dropdown/src/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,4BAA4B,CA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4
|
"description": "Dropdown Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "./dist/ct-design-dropdown.cjs.js",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"src"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cleartrip/ct-design-
|
|
28
|
-
"@cleartrip/ct-design-
|
|
29
|
-
"@cleartrip/ct-design-
|
|
30
|
-
"@cleartrip/ct-design-typography": "4.0.0-SNAPSHOT-
|
|
31
|
-
"@cleartrip/ct-design-
|
|
32
|
-
"@cleartrip/ct-design-
|
|
27
|
+
"@cleartrip/ct-design-theme": "4.0.0-SNAPSHOT-reactnative.0",
|
|
28
|
+
"@cleartrip/ct-design-container": "4.0.0-SNAPSHOT-reactnative.0",
|
|
29
|
+
"@cleartrip/ct-design-types": "4.0.0-SNAPSHOT-reactnative.0",
|
|
30
|
+
"@cleartrip/ct-design-typography": "4.0.0-SNAPSHOT-reactnative.0",
|
|
31
|
+
"@cleartrip/ct-design-style-manager": "4.0.0-SNAPSHOT-reactnative.0",
|
|
32
|
+
"@cleartrip/ct-design-icons": "39.0.0-SNAPSHOT-reactnative.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=16.8.0",
|
package/src/type.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
import type { Styles } from '@cleartrip/ct-design-types';
|
|
3
|
+
import type { Styles, TextStyle } from '@cleartrip/ct-design-types';
|
|
4
4
|
import { TypographyStyleConfigProps } from '@cleartrip/ct-design-typography';
|
|
5
5
|
|
|
6
6
|
export interface Item {
|
|
@@ -59,7 +59,7 @@ export interface DropdownProps {
|
|
|
59
59
|
/** Styles for the placeholder container. */
|
|
60
60
|
placeHolderContainer?: Styles[];
|
|
61
61
|
/** Styles for the placeholder text container. */
|
|
62
|
-
placeHolderTextContainer?:
|
|
62
|
+
placeHolderTextContainer?: TextStyle[];
|
|
63
63
|
/** Styles for the dropdown list container. */
|
|
64
64
|
dropDownItemListContainer?: Styles[];
|
|
65
65
|
/** Styles for a single dropdown item container. */
|