@gataca/design-system 1.0.38 → 1.0.39

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.
@@ -28,6 +28,7 @@ export { default as Tooltip } from './web/Tooltips/Tooltip/index.web';
28
28
  export { default as Popover } from './web/Popover/index.web';
29
29
  export { default as TextField } from './web/TextField/TextField/index.web';
30
30
  export { default as MenuItem } from './web/Menus/MenuItem/index.web';
31
+ export { default as Tabs } from './web/Tabs/Tabs/index.web';
31
32
  export { default as IconGroup } from './web/Icons/IconGroup/index.web';
32
33
  export { default as Illustration } from './web/Illustrations/index.web';
33
34
  export { default as GatacaLogoHorIcon } from './web/Icons/icons/brand/gatacaLogoHor';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TabsProps } from './tabs_types.web';
3
+ declare const Tabs: (props: React.PropsWithChildren<TabsProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Tabs;
@@ -0,0 +1,2 @@
1
+ import Tabs from './Tabs.web';
2
+ export default Tabs;
@@ -0,0 +1,4 @@
1
+ export declare const styles: () => {
2
+ tabsContainer: React.CSSProperties;
3
+ tab: React.CSSProperties;
4
+ };
@@ -0,0 +1,42 @@
1
+ export type TabsState = 'enable' | 'hover' | 'disable' | 'active';
2
+ export interface TabProps {
3
+ id?: string;
4
+ className?: string;
5
+ state: TabsState;
6
+ text?: string;
7
+ numberBadge?: number;
8
+ info?: string;
9
+ containerStyle?: any;
10
+ }
11
+ export interface TabsProps {
12
+ id?: string;
13
+ className?: string;
14
+ tabs: TabProps[];
15
+ selectedTabIndex: number;
16
+ containerStyle?: any;
17
+ onChange: (index?: number) => void;
18
+ }
19
+ export declare enum textColorByState {
20
+ 'enable' = "neutral1000",
21
+ 'active' = "primary700",
22
+ 'disable' = "neutral500",
23
+ 'hover' = "neutral1000"
24
+ }
25
+ export declare enum numberBadgeColorByState {
26
+ 'enable' = "neutral500",
27
+ 'active' = "primary700",
28
+ 'disable' = "neutral500",
29
+ 'hover' = "neutral600"
30
+ }
31
+ export declare enum borderColorByState {
32
+ 'enable' = "neutral400",
33
+ 'active' = "primary700",
34
+ 'disable' = "neutral500",
35
+ 'hover' = "neutral1000"
36
+ }
37
+ export declare enum infoIconColorByState {
38
+ 'enable' = "neutral1000",
39
+ 'active' = "neutral1000",
40
+ 'disable' = "neutral500",
41
+ 'hover' = "neutral1000"
42
+ }