@gataca/design-system 0.3.6 → 0.3.7

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.
@@ -14,6 +14,7 @@ export { default as Indicator } from './native/Indicator/Indicator/index.native'
14
14
  export { default as Avatar } from './native/Avatars/Avatar/index.native';
15
15
  export { default as AvatarGroup } from './native/Avatars/AvatarGroup/index.native';
16
16
  export { default as TopAppBar } from './native/TopAppBar/TopAppBar/index.native';
17
+ export { default as List } from './native/Lists/List/index.native';
17
18
  export { default as ListMetaContainer } from './native/Lists/ListMetaContainer/index.native';
18
19
  export { default as ListItem } from './native/Lists/ListItem/index.native';
19
20
  export { default as Checkbox } from './native/Checkbox/Checkbox/index.native';
@@ -12,6 +12,7 @@ export { default as SegmentedButton } from './web/Buttons/SegmentedButton/index.
12
12
  export { default as Indicator } from './web/Indicator/Indicator/index.web';
13
13
  export { default as Avatar } from './web/Avatars/Avatar/index.web';
14
14
  export { default as AvatarGroup } from './web/Avatars/AvatarGroup/index.web';
15
+ export { default as List } from './web/Lists/List/index.web';
15
16
  export { default as ListMetaContainer } from './web/Lists/ListMetaContainer/index.web';
16
17
  export { default as ListItem } from './web/Lists/ListItem/index.web';
17
18
  export { default as Checkbox } from './web/Checkbox/Checkbox/index.web';
@@ -402,6 +402,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
402
402
  enable: {
403
403
  iconColor: string;
404
404
  textColor: string;
405
+ bordersColor: string;
405
406
  };
406
407
  hover: {
407
408
  textColor: string;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ListProps } from './list_types.native';
3
+ declare const List: (props: React.PropsWithChildren<ListProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default List;
@@ -0,0 +1,2 @@
1
+ import List from './List.native';
2
+ export default List;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ listContainer: {
3
+ alignSelf: "flex-start";
4
+ width: "100%";
5
+ borderRadius: number;
6
+ flexDirection: "column";
7
+ overflow: "hidden";
8
+ };
9
+ listInnerContainer: {
10
+ display: "flex";
11
+ flexDirection: "column";
12
+ justifyContent: "flex-start";
13
+ alignItems: "stretch";
14
+ gap: number;
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ListItemProps } from '../ListItem/listItem_types.native';
2
+ export type ListBg = 'grey' | 'white';
3
+ export interface ListProps {
4
+ list: ListItemProps[];
5
+ bgColor?: ListBg;
6
+ containerStyle?: any;
7
+ }
@@ -8,6 +8,7 @@ import { ChipProps } from '../../Chips/Chip/Chip.types.native';
8
8
  import { IconSize } from '../../Icons/icon_types';
9
9
  import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.native';
10
10
  import { SwitchProps } from '../../Switch/Switch/switch_types.native';
11
+ export type ListItemBg = 'transparent' | 'white';
11
12
  export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
12
13
  export type ListItemSize = 'medium' | 'small';
13
14
  export type ListItemColor = 'black' | 'gray';
@@ -16,6 +17,7 @@ export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'indic
16
17
  export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'notifications' | 'icon' | 'segmentedButton' | 'value' | 'action' | 'button' | 'chip';
17
18
  export interface ListItemProps {
18
19
  condition: ListItemCondition;
20
+ bgColor?: ListItemBg;
19
21
  title?: string;
20
22
  content?: string;
21
23
  extraInfo?: string;
@@ -402,6 +402,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
402
402
  enable: {
403
403
  iconColor: string;
404
404
  textColor: string;
405
+ bordersColor: string;
405
406
  };
406
407
  hover: {
407
408
  textColor: string;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ListProps } from './list_types.web';
3
+ declare const List: (props: React.PropsWithChildren<ListProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default List;
@@ -0,0 +1,2 @@
1
+ import List from './List.web';
2
+ export default List;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const styles: () => {
3
+ listContainer: React.CSSProperties;
4
+ };
@@ -0,0 +1,7 @@
1
+ import { ListItemProps } from '../ListItem/listItem_types.web';
2
+ export type ListBg = 'grey' | 'white';
3
+ export interface ListProps {
4
+ list: ListItemProps[];
5
+ bgColor?: ListBg;
6
+ containerStyle?: any;
7
+ }
@@ -8,6 +8,7 @@ import { ChipProps } from '../../Chips/Chip/Chip.types.web';
8
8
  import { IconSize } from '../../Icons/icon_types';
9
9
  import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.web';
10
10
  import { SwitchProps } from '../../Switch/Switch/switch_types.web';
11
+ export type ListItemBg = 'white' | 'transparent';
11
12
  export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
12
13
  export type ListItemSize = 'medium' | 'small';
13
14
  export type ListItemColor = 'black' | 'gray';
@@ -16,6 +17,7 @@ export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'indic
16
17
  export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'notifications' | 'icon' | 'segmentedButton' | 'value' | 'action' | 'button' | 'chip';
17
18
  export interface ListItemProps {
18
19
  condition: ListItemCondition;
20
+ bgColor?: ListItemBg;
19
21
  title?: string;
20
22
  content?: string;
21
23
  extraInfo?: string;