@gataca/design-system 0.4.6 → 0.4.8

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,4 @@
1
+ import React from 'react';
2
+ import { ChipGroupProps } from './ChipGroup.types.native';
3
+ declare const ChipGroup: (props: React.PropsWithChildren<ChipGroupProps>) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default ChipGroup;
@@ -0,0 +1,5 @@
1
+ import { ChipProps } from '../Chip/Chip.types.native';
2
+ export interface ChipGroupProps {
3
+ id?: string;
4
+ list?: ChipProps[];
5
+ }
@@ -0,0 +1,2 @@
1
+ import ChipGroup from './ChipGroup.native';
2
+ export default ChipGroup;
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ chipGroupContainer: {
3
+ display: "flex";
4
+ alignItems: "center";
5
+ justifyContent: "flex-start";
6
+ flexDirection: "row";
7
+ flexWrap: "wrap";
8
+ gap: number;
9
+ };
10
+ };
11
+ export default _default;
@@ -6,6 +6,7 @@ import { SegmentedButtonProps } from '../../Buttons/SegmentedButton/SegmentedBut
6
6
  import { MiniCredentialCardProps } from '../../Cards/MiniCredential/miniCredential_types.native';
7
7
  import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.native';
8
8
  import { ChipProps } from '../../Chips/Chip/Chip.types.native';
9
+ import { ChipGroupProps } from '../../Chips/ChipGroup/ChipGroup.types.native';
9
10
  import { IconSize } from '../../Icons/icon_types';
10
11
  import { IconGroupProps } from '../../Icons/IconGroup/iconGroup_types.native';
11
12
  import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.native';
@@ -17,7 +18,7 @@ export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
17
18
  export type ListItemSize = 'medium' | 'small';
18
19
  export type ListItemColor = 'black' | 'gray' | 'white' | 'red';
19
20
  export type ListItemAlign = 'left' | 'right';
20
- export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'chip' | 'indicator' | 'buttonIcon';
21
+ export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'chip' | 'indicator' | 'buttonIcon' | 'chipGroup';
21
22
  export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'notifications' | 'icon' | 'segmentedButton' | 'value' | 'action' | 'button' | 'chip' | 'iconGroup';
22
23
  export interface ListItemProps {
23
24
  id?: string;
@@ -67,5 +68,6 @@ export interface ListItemProps {
67
68
  button?: ButtonProps;
68
69
  leadingChip?: ChipProps;
69
70
  chip?: ChipProps;
71
+ chipGroup?: ChipGroupProps;
70
72
  onPress?: (x: any) => void;
71
73
  }
@@ -0,0 +1,6 @@
1
+ import { ChipProps } from '../Chip/Chip.types.web';
2
+ export interface ChipGroupProps {
3
+ id?: string;
4
+ className?: string;
5
+ list?: ChipProps[];
6
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ChipGroupProps } from './ChipGroup.types.web';
3
+ declare const ChipGroup: (props: React.PropsWithChildren<ChipGroupProps>) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default ChipGroup;
@@ -0,0 +1,2 @@
1
+ import ChipGroup from './ChipGroup.web';
2
+ export default ChipGroup;
@@ -0,0 +1,3 @@
1
+ export declare const styles: () => {
2
+ chipGroupContainer: React.CSSProperties;
3
+ };
@@ -6,6 +6,7 @@ import { SegmentedButtonProps } from '../../Buttons/SegmentedButton/SegmentedBut
6
6
  import { MiniCredentialCardProps } from '../../Cards/MiniCredential/miniCredential_types.web';
7
7
  import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.web';
8
8
  import { ChipProps } from '../../Chips/Chip/Chip.types.web';
9
+ import { ChipGroupProps } from '../../Chips/ChipGroup/ChipGroup.types.web';
9
10
  import { IconSize } from '../../Icons/icon_types';
10
11
  import { IconGroupProps } from '../../Icons/IconGroup/iconGroup_types.web';
11
12
  import { RadioButtonProps } from '../../RadioButton/RadioButton/radioButton_types.web';
@@ -17,7 +18,7 @@ export type ListItemCondition = 'all' | 'title' | 'titleExtraInfo';
17
18
  export type ListItemSize = 'medium' | 'small';
18
19
  export type ListItemColor = 'black' | 'gray' | 'white' | 'red';
19
20
  export type ListItemAlign = 'left' | 'right';
20
- export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'indicator' | 'chip' | 'buttonIcon';
21
+ export type ListItemLeading = 'none' | 'avatar' | 'credential' | 'icon' | 'indicator' | 'chip' | 'buttonIcon' | 'chipGroup';
21
22
  export type ListItemTrailing = 'none' | 'checkbox' | 'switch' | 'radioButton' | 'notifications' | 'icon' | 'segmentedButton' | 'value' | 'action' | 'button' | 'chip' | 'iconGroup';
22
23
  export interface ListItemProps {
23
24
  id?: string;
@@ -68,6 +69,7 @@ export interface ListItemProps {
68
69
  button?: ButtonProps;
69
70
  leadingChip?: ChipProps;
70
71
  chip?: ChipProps;
72
+ chipGroup?: ChipGroupProps;
71
73
  leadingButtonIcon?: ButtonIconProps;
72
74
  onClick?: (x?: any) => void;
73
75
  }