@cleartrip/ct-design-select 1.1.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.
@@ -0,0 +1,6 @@
1
+ import { SelectProps } from './type';
2
+ import { ForwardRefComponentWithStyle } from '@cleartrip/ct-design-types';
3
+ type PolymorphicSelect = ForwardRefComponentWithStyle<'div', SelectProps>;
4
+ declare const Select: PolymorphicSelect;
5
+ export default Select;
6
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../packages/components/Select/src/Select.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAY,MAAM,4BAA4B,CAAC;AASpF,KAAK,iBAAiB,GAAG,4BAA4B,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;AAK1E,QAAA,MAAM,MAAM,mBAyMU,CAAC;AAEvB,eAAe,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Select } from './Select';
2
+ export * from './type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/Select/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { CSSObject } from 'styled-components';
2
+ import { CSSWithTheme } from '@cleartrip/ct-design-types';
3
+ export declare const getSelectStyles: ({ width, height, theme, ...rest }: CSSWithTheme) => CSSObject;
4
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../packages/components/Select/src/style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,eAAO,MAAM,eAAe,sCAAuC,YAAY,KAAG,SAMhF,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from 'react';
2
+ import type { HtmlCompositeAttributes } from '@cleartrip/ct-design-types';
3
+ import { DropdownOption } from '@cleartrip/ct-design-dropdown';
4
+ import { OwnTextFieldProps } from '@cleartrip/ct-design-text-field';
5
+ import { PopoverProps } from '@cleartrip/ct-design-popover';
6
+ import { TypographyProps } from '@cleartrip/ct-design-typography';
7
+ type OwnSelectProps = {
8
+ optionList?: DropdownOption[];
9
+ selectedOption?: DropdownOption;
10
+ onSelect?: (selectedOption: DropdownOption) => void;
11
+ width?: string;
12
+ minWidth?: string;
13
+ height?: string;
14
+ icon?: ReactNode;
15
+ error?: string;
16
+ disabled?: boolean;
17
+ label?: string;
18
+ name: string;
19
+ selectCSS?: OwnTextFieldProps['textFieldCSS'];
20
+ disablePortal?: boolean;
21
+ popoverCardContainerCSS?: PopoverProps['popoverCardContainerCSS'];
22
+ labelTypographyProps?: TypographyProps;
23
+ textFieldHeight?: string;
24
+ textTypographyProps?: TypographyProps;
25
+ virtualised?: boolean;
26
+ searchable?: boolean;
27
+ onSearch?: (search: string) => void;
28
+ };
29
+ export interface SelectProps extends HtmlCompositeAttributes<OwnSelectProps, 'Div'>, OwnSelectProps {
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../packages/components/Select/src/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE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