@cleartrip/ct-design-nav-tabs 4.0.0-TEST.3 → 5.0.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 (75) hide show
  1. package/README.md +69 -0
  2. package/dist/FlatTab/FlatTab.d.ts +0 -1
  3. package/dist/FlatTab/FlatTab.d.ts.map +1 -1
  4. package/dist/FlatTab/FlatTabContainer/index.d.ts +7 -0
  5. package/dist/FlatTab/FlatTabContainer/index.d.ts.map +1 -0
  6. package/dist/FlatTab/FlatTabContainer/type.d.ts +8 -0
  7. package/dist/FlatTab/FlatTabContainer/type.d.ts.map +1 -0
  8. package/dist/FlatTab/style.d.ts +5 -9
  9. package/dist/FlatTab/style.d.ts.map +1 -1
  10. package/dist/FlatTab/type.d.ts +34 -4
  11. package/dist/FlatTab/type.d.ts.map +1 -1
  12. package/dist/Tab.d.ts +5 -0
  13. package/dist/Tab.d.ts.map +1 -0
  14. package/dist/Tab.native.d.ts +5 -0
  15. package/dist/Tab.native.d.ts.map +1 -0
  16. package/dist/TabContainer/TabContainer.d.ts +4 -1
  17. package/dist/TabContainer/TabContainer.d.ts.map +1 -1
  18. package/dist/TabContainer/type.d.ts +3 -3
  19. package/dist/TabContainer/type.d.ts.map +1 -1
  20. package/dist/constants.d.ts +5 -0
  21. package/dist/constants.d.ts.map +1 -0
  22. package/dist/ct-design-nav-tabs.browser.cjs.js +1 -1
  23. package/dist/ct-design-nav-tabs.browser.cjs.js.map +1 -1
  24. package/dist/ct-design-nav-tabs.browser.esm.js +1 -1
  25. package/dist/ct-design-nav-tabs.browser.esm.js.map +1 -1
  26. package/dist/ct-design-nav-tabs.cjs.js +166 -87
  27. package/dist/ct-design-nav-tabs.cjs.js.map +1 -1
  28. package/dist/ct-design-nav-tabs.esm.js +164 -81
  29. package/dist/ct-design-nav-tabs.esm.js.map +1 -1
  30. package/dist/ct-design-nav-tabs.umd.js +164 -126
  31. package/dist/ct-design-nav-tabs.umd.js.map +1 -1
  32. package/dist/index.d.ts +3 -2
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/style.d.ts +1 -1
  35. package/dist/style.d.ts.map +1 -1
  36. package/dist/type.d.ts +17 -22
  37. package/dist/type.d.ts.map +1 -1
  38. package/package.json +31 -14
  39. package/src/FlatTab/FlatTab.tsx +163 -0
  40. package/src/FlatTab/FlatTabContainer/index.tsx +43 -0
  41. package/src/FlatTab/FlatTabContainer/type.ts +8 -0
  42. package/src/FlatTab/style.ts +53 -0
  43. package/src/FlatTab/type.ts +57 -0
  44. package/src/Tab.native.tsx +270 -0
  45. package/src/Tab.tsx +155 -0
  46. package/src/TabContainer/TabContainer.tsx +29 -0
  47. package/src/TabContainer/type.ts +7 -0
  48. package/src/constants.ts +4 -0
  49. package/src/index.ts +3 -0
  50. package/src/style.ts +8 -0
  51. package/src/type.ts +75 -0
  52. package/dist/FlatTab/StyledFlatTab/StyledFlatTab.d.ts +0 -7
  53. package/dist/FlatTab/StyledFlatTab/StyledFlatTab.d.ts.map +0 -1
  54. package/dist/FlatTab/StyledFlatTab/index.d.ts +0 -2
  55. package/dist/FlatTab/StyledFlatTab/index.d.ts.map +0 -1
  56. package/dist/FlatTab/StyledFlatTab/style.d.ts +0 -6
  57. package/dist/FlatTab/StyledFlatTab/style.d.ts.map +0 -1
  58. package/dist/FlatTab/StyledFlatTab/type.d.ts +0 -6
  59. package/dist/FlatTab/StyledFlatTab/type.d.ts.map +0 -1
  60. package/dist/FlatTab/index.d.ts +0 -2
  61. package/dist/FlatTab/index.d.ts.map +0 -1
  62. package/dist/NavTabs.d.ts +0 -5
  63. package/dist/NavTabs.d.ts.map +0 -1
  64. package/dist/StyledCounter/StyledCounter.d.ts +0 -4
  65. package/dist/StyledCounter/StyledCounter.d.ts.map +0 -1
  66. package/dist/StyledCounter/index.d.ts +0 -2
  67. package/dist/StyledCounter/index.d.ts.map +0 -1
  68. package/dist/StyledCounter/style.d.ts +0 -7
  69. package/dist/StyledCounter/style.d.ts.map +0 -1
  70. package/dist/StyledCounter/type.d.ts +0 -6
  71. package/dist/StyledCounter/type.d.ts.map +0 -1
  72. package/dist/TabContainer/index.d.ts +0 -2
  73. package/dist/TabContainer/index.d.ts.map +0 -1
  74. package/dist/TabContainer/style.d.ts +0 -7
  75. package/dist/TabContainer/style.d.ts.map +0 -1
package/src/Tab.tsx ADDED
@@ -0,0 +1,155 @@
1
+ import { forwardRef } from 'react';
2
+
3
+ import { IconPosition } from '@cleartrip/ct-design-types';
4
+ import { useTheme } from '@cleartrip/ct-design-theme';
5
+ import { makeStyles, useStyles } from '@cleartrip/ct-design-style-manager';
6
+ import { Container } from '@cleartrip/ct-design-container';
7
+ import { HorizontalScroll } from '@cleartrip/ct-design-horizontal-scroll';
8
+ import { Chip } from '@cleartrip/ct-design-chip';
9
+
10
+ import { getTabContainerStyles } from './style';
11
+ import TabContainer from './TabContainer/TabContainer';
12
+ import FlatTab from './FlatTab/FlatTab';
13
+ import { NavTabsProps } from './type';
14
+ import { TabVariants } from './constants';
15
+ import { ScrollContainerRef } from '@cleartrip/ct-design-scroll-container';
16
+ import { TabSize } from './FlatTab/type';
17
+
18
+ const staticStyles = makeStyles(() => ({
19
+ scrollContainer: {
20
+ backgroundColor: 'white',
21
+ },
22
+ root: {
23
+ width: '100%',
24
+ },
25
+ }));
26
+
27
+ const NavTabs = forwardRef<ScrollContainerRef, NavTabsProps>(
28
+ (
29
+ {
30
+ tabType = TabVariants.FLAT,
31
+ tabList,
32
+ selectedTab,
33
+ showIcon = false,
34
+ tabGap,
35
+ onClick,
36
+ iconPosition = IconPosition.LEFT,
37
+ tabSize = TabSize.SMALL,
38
+ showCounter = false,
39
+ counterBgColor,
40
+ nonSelectedCounterBgColor,
41
+ containerSpace,
42
+ tabWidth,
43
+ showBottomBorder = true,
44
+ styleConfig = {},
45
+ navTabsIdPrefix = '',
46
+ rootProps,
47
+ },
48
+ forwardedRef,
49
+ ) => {
50
+ const theme = useTheme();
51
+ const { chip, container = [], flatTab, root, tabContainer = [], tabTypeContainer = [] } = styleConfig;
52
+ const showBottomLine = showBottomBorder && tabType === TabVariants.FLAT;
53
+ const tabContainerStyles = getTabContainerStyles({ showBottomLine, theme: theme });
54
+
55
+ const _counterBgColor = counterBgColor || theme.color.background.link2;
56
+ const _nonSelectedCounterBgColor = nonSelectedCounterBgColor || theme.color.background.defaultDark;
57
+
58
+ const renderChipTab = () => {
59
+ return tabList.map((tab) => {
60
+ const { label, id, Icon = undefined, count } = tab || {};
61
+ return (
62
+ <Chip
63
+ label={label}
64
+ key={id}
65
+ isSelected={selectedTab === id}
66
+ {...{
67
+ prefixIcon: iconPosition === IconPosition.LEFT ? Icon : null,
68
+ topIcon: iconPosition === IconPosition.TOP ? Icon : null,
69
+ suffixIcon: iconPosition === IconPosition.RIGHT ? Icon : null,
70
+ }}
71
+ onClick={() => onClick(id)}
72
+ showCounter={showCounter}
73
+ count={count}
74
+ styleConfig={chip}
75
+ id={navTabsIdPrefix + id}
76
+ />
77
+ );
78
+ });
79
+ };
80
+
81
+ const renderFlatTab = () => {
82
+ return tabList.map((tab) => {
83
+ const { label, id, Icon = undefined, count } = tab || {};
84
+ return (
85
+ <FlatTab
86
+ key={id}
87
+ label={label}
88
+ onClick={() => onClick(id)}
89
+ size={tabSize}
90
+ isSelected={selectedTab === id}
91
+ showCounter={showCounter}
92
+ count={count}
93
+ counterBgColor={_counterBgColor}
94
+ nonSelectedCounterBgColor={_nonSelectedCounterBgColor}
95
+ showIcon={showIcon}
96
+ iconPosition={iconPosition}
97
+ Icon={Icon}
98
+ tabWidth={tabWidth}
99
+ styleConfig={flatTab}
100
+ id={navTabsIdPrefix + id}
101
+ />
102
+ );
103
+ });
104
+ };
105
+
106
+ const renderTabType = () => {
107
+ switch (tabType) {
108
+ case TabVariants.FLAT: {
109
+ return renderFlatTab();
110
+ }
111
+ case TabVariants.CHIP: {
112
+ return renderChipTab();
113
+ }
114
+ default: {
115
+ return renderFlatTab();
116
+ }
117
+ }
118
+ };
119
+
120
+ const dynamicStyles = useStyles(
121
+ (theme) => {
122
+ return {
123
+ tabTypeContainer: {
124
+ flexDirection: 'row',
125
+ alignItems: 'center',
126
+ columnGap: tabGap || theme?.spacing[4],
127
+ paddingLeft: containerSpace || theme?.spacing[4],
128
+ paddingRight: containerSpace || theme?.spacing[4],
129
+ },
130
+ };
131
+ },
132
+ [tabGap, containerSpace],
133
+ );
134
+
135
+ return (
136
+ <HorizontalScroll
137
+ {...rootProps}
138
+ styleConfig={{ childContainer: [...(root || []), staticStyles.scrollContainer] }}
139
+ ref={forwardedRef}
140
+ >
141
+ <Container styleConfig={{ root: [staticStyles.root, ...container] }}>
142
+ <TabContainer {...tabContainerStyles} rootStyles={tabContainer}>
143
+ <Container styleConfig={{ root: [dynamicStyles.tabTypeContainer, ...tabTypeContainer] }}>
144
+ {renderTabType()}
145
+ </Container>
146
+ </TabContainer>
147
+ </Container>
148
+ </HorizontalScroll>
149
+ );
150
+ },
151
+ );
152
+
153
+ NavTabs.displayName = 'NavTabs';
154
+
155
+ export default NavTabs;
@@ -0,0 +1,29 @@
1
+ import { Styles } from '@cleartrip/ct-design-types';
2
+ import { Container } from '@cleartrip/ct-design-container';
3
+ import { useStyles } from '@cleartrip/ct-design-style-manager';
4
+
5
+ import { TabContainerProps } from './type';
6
+
7
+ const TabContainer: React.FC<TabContainerProps & { rootStyles: Styles[] }> = ({
8
+ borderBottomWidth,
9
+ borderColor,
10
+ children,
11
+ rootStyles: customRootStyles = [],
12
+ }) => {
13
+ const dynamicStyles = useStyles(
14
+ (_) => {
15
+ return {
16
+ root: {
17
+ borderBottomWidth,
18
+ borderColor,
19
+ minWidth: '100%',
20
+ width: 'auto',
21
+ },
22
+ };
23
+ },
24
+ [borderBottomWidth, borderColor],
25
+ );
26
+ return <Container styleConfig={{ root: [dynamicStyles.root, ...customRootStyles] }}>{children}</Container>;
27
+ };
28
+
29
+ export default TabContainer;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export interface TabContainerProps {
4
+ borderBottomWidth?: number;
5
+ borderColor?: string;
6
+ children?: ReactNode;
7
+ }
@@ -0,0 +1,4 @@
1
+ export enum TabVariants {
2
+ FLAT = 'flat',
3
+ CHIP = 'chip',
4
+ }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ export { default as NavTabs } from './Tab';
2
+ export type * from './type';
3
+ export * from './constants';
package/src/style.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { Theme } from '@cleartrip/ct-design-theme';
2
+
3
+ export const getTabContainerStyles = ({ showBottomLine, theme }: { showBottomLine: boolean; theme: Theme }) => {
4
+ return {
5
+ borderBottomWidth: showBottomLine ? theme.border.width.sm : theme.border.width.none,
6
+ borderColor: theme.color.border.default,
7
+ };
8
+ };
package/src/type.ts ADDED
@@ -0,0 +1,75 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ import { Styles } from '@cleartrip/ct-design-types';
4
+ import { IChipStyleConfig } from '@cleartrip/ct-design-chip';
5
+ import { ContainerRef, IContainer } from '@cleartrip/ct-design-container';
6
+
7
+ import { FlatTabStyleConfigProps, TabSizeType, IconPosition } from './FlatTab/type';
8
+
9
+ import { TabVariants } from './constants';
10
+
11
+ /** Configuration object for individual tab items */
12
+ export type TabListType = {
13
+ /** Unique identifier for the tab */
14
+ id: string;
15
+ /** Display text for the tab */
16
+ label: string;
17
+ /** Optional icon element to display in the tab */
18
+ Icon?: ReactNode;
19
+ /** Optional count/badge number to display */
20
+ count?: number;
21
+ };
22
+
23
+ /** Configuration object for customizing NavTabs styling */
24
+ export interface INavTabsStyleConfig {
25
+ /** Styles for the root wrapper element */
26
+ root?: Styles[];
27
+ /** Styles for the main container */
28
+ container?: Styles[];
29
+ /** Styles for the tab items container */
30
+ tabContainer?: Styles[];
31
+ /** Styles for the tab type specific container */
32
+ tabTypeContainer?: Styles[];
33
+ /** Style configuration for flat tab variant */
34
+ flatTab?: FlatTabStyleConfigProps;
35
+ /** Style configuration for chip tab variant */
36
+ chip?: IChipStyleConfig;
37
+ }
38
+
39
+ /** Props for the NavTabs component */
40
+ export interface NavTabsProps {
41
+ /** The visual variant of the tabs. Defaults to 'flat' */
42
+ tabType?: `${TabVariants}`;
43
+ /** Whether to display icons in the tabs. Icons are provided via tabList items */
44
+ showIcon?: boolean;
45
+ /** Callback function called when a tab is clicked. Receives the tab id as parameter */
46
+ onClick: (value: string) => void;
47
+ /** Array of tab configuration objects defining the tabs to render */
48
+ tabList: TabListType[];
49
+ /** ID of the currently selected/active tab */
50
+ selectedTab?: string;
51
+ /** Spacing between individual tabs in pixels */
52
+ tabGap?: number;
53
+ /** Position of icons relative to tab text. Only applies when showIcon is true */
54
+ iconPosition?: `${IconPosition}`;
55
+ /** Size variant of the tabs affecting padding and font size */
56
+ tabSize?: TabSizeType;
57
+ /** Whether to display count badges on tabs that have count values */
58
+ showCounter?: boolean;
59
+ /** Horizontal spacing around the entire tab container in pixels */
60
+ containerSpace?: number;
61
+ /** Fixed width for individual tabs. Can be any valid CSS width value */
62
+ tabWidth?: number | 'auto';
63
+ /** Background color for count badges on selected tabs */
64
+ counterBgColor?: string;
65
+ /** Background color for count badges on non-selected tabs */
66
+ nonSelectedCounterBgColor?: string;
67
+ /** Whether to show a bottom border under the tab container */
68
+ showBottomBorder?: boolean;
69
+ /** Custom style configuration object for overriding component styles */
70
+ styleConfig?: INavTabsStyleConfig;
71
+ /** Props to forward to the root container component */
72
+ rootProps?: React.ForwardRefExoticComponent<IContainer & React.RefAttributes<ContainerRef>>;
73
+ /** Prefix string for generating unique tab element IDs for accessibility */
74
+ navTabsIdPrefix?: string;
75
+ }
@@ -1,7 +0,0 @@
1
- import { CSSProperties } from 'styled-components';
2
- import { StyledFlatTabProps } from './type';
3
- declare const StyledFlatTab: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledFlatTabProps & {
4
- css?: CSSProperties | undefined;
5
- }, never>;
6
- export default StyledFlatTab;
7
- //# sourceMappingURL=StyledFlatTab.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StyledFlatTab.d.ts","sourceRoot":"","sources":["../../../packages/components/NavTabs/src/FlatTab/StyledFlatTab/StyledFlatTab.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAc,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,QAAA,MAAM,aAAa;;SAMlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,2 +0,0 @@
1
- export { default as StyledFlatTab } from './StyledFlatTab';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/components/NavTabs/src/FlatTab/StyledFlatTab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { Theme } from '@cleartrip/ct-design-theme';
2
- import { StyledFlatTabProps } from './type';
3
- export declare const getStyledFlatTabStyles: ({ theme, borderBottomColor, borderBottomWidth, width, }: StyledFlatTabProps & {
4
- theme: Theme;
5
- }) => import("styled-components").FlattenSimpleInterpolation;
6
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../packages/components/NavTabs/src/FlatTab/StyledFlatTab/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,sBAAsB;WAM1B,KAAK;4DAyBb,CAAC"}
@@ -1,6 +0,0 @@
1
- export interface StyledFlatTabProps {
2
- borderBottomWidth?: string;
3
- borderBottomColor?: string;
4
- width?: string;
5
- }
6
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../packages/components/NavTabs/src/FlatTab/StyledFlatTab/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export { default as FlatTab } from './FlatTab';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/FlatTab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
package/dist/NavTabs.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavTabsProps } from './type';
3
- declare const NavTabs: React.FC<NavTabsProps>;
4
- export default NavTabs;
5
- //# sourceMappingURL=NavTabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavTabs.d.ts","sourceRoot":"","sources":["../packages/components/NavTabs/src/NavTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAwB,MAAM,QAAQ,CAAC;AAQ5D,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsGnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,4 +0,0 @@
1
- import { StyledCounterProps } from './type';
2
- declare const StyledCounter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledCounterProps, never>;
3
- export default StyledCounter;
4
- //# sourceMappingURL=StyledCounter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StyledCounter.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/StyledCounter/StyledCounter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,QAAA,MAAM,aAAa,yHAElB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,2 +0,0 @@
1
- export { default as StyledCounter } from './StyledCounter';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/StyledCounter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { CSSObject } from 'styled-components';
2
- import { Theme } from '@cleartrip/ct-design-theme';
3
- import { StyledCounterProps } from './type';
4
- export declare const getStyledCounterStyles: ({ backgroundColor, theme, }: StyledCounterProps & {
5
- theme: Theme;
6
- }) => CSSObject;
7
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/StyledCounter/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,sBAAsB;WAGF,KAAK;MAAK,SAU1C,CAAC"}
@@ -1,6 +0,0 @@
1
- import { CSSProperties } from "styled-components";
2
- export interface StyledCounterProps {
3
- backgroundColor?: string;
4
- css?: CSSProperties;
5
- }
6
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/StyledCounter/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,kBAAkB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,aAAa,CAAA;CACnB"}
@@ -1,2 +0,0 @@
1
- export { default as TabContainer } from './TabContainer';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/TabContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { CSSObject } from 'styled-components';
2
- import { Theme } from '@cleartrip/ct-design-theme';
3
- import { TabContainerProps } from './type';
4
- export declare const getTabContainerStyles: ({ borderBottomWidth, borderColor, theme, }: TabContainerProps & {
5
- theme: Theme;
6
- }) => CSSObject;
7
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../packages/components/NavTabs/src/TabContainer/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,eAAO,MAAM,qBAAqB;WAIF,KAAK;MAAK,SAQzC,CAAC"}