@gataca/design-system 0.2.49 → 0.3.1

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 (26) hide show
  1. package/dist/components/index.native.d.ts +2 -0
  2. package/dist/components/index.web.d.ts +2 -0
  3. package/dist/components/native/Lists/ListItem/listItem_styles.native.d.ts +2 -1
  4. package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +14 -8
  5. package/dist/components/native/NavBar/NavOption/NavOption.native.d.ts +4 -0
  6. package/dist/components/native/NavBar/NavOption/index.native.d.ts +2 -0
  7. package/dist/components/native/NavBar/NavOption/navOption_styles.native.d.ts +14 -0
  8. package/dist/components/native/NavBar/NavOption/navOption_types.native.d.ts +16 -0
  9. package/dist/components/native/NavBar/NavigationBar/NavigationBar.native.d.ts +4 -0
  10. package/dist/components/native/NavBar/NavigationBar/index.native.d.ts +2 -0
  11. package/dist/components/native/NavBar/NavigationBar/navigationBar_styles.native.d.ts +20 -0
  12. package/dist/components/native/NavBar/NavigationBar/navigationBar_types.native.d.ts +17 -0
  13. package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +14 -8
  14. package/dist/components/web/NavBar/NavOption/NavOption.web.d.ts +4 -0
  15. package/dist/components/web/NavBar/NavOption/index.web.d.ts +2 -0
  16. package/dist/components/web/NavBar/NavOption/navOption_styles.web.d.ts +4 -0
  17. package/dist/components/web/NavBar/NavOption/navOption_types.web.d.ts +15 -0
  18. package/dist/components/web/NavBar/NavigationBar/NavigationBar.web.d.ts +4 -0
  19. package/dist/components/web/NavBar/NavigationBar/index.web.d.ts +2 -0
  20. package/dist/components/web/NavBar/NavigationBar/navigationBar_styles.web.d.ts +4 -0
  21. package/dist/components/web/NavBar/NavigationBar/navigationBar_types.web.d.ts +17 -0
  22. package/dist/index.native.js +1 -1
  23. package/dist/index.native.js.map +1 -1
  24. package/dist/index.web.js +1 -1
  25. package/dist/index.web.js.map +1 -1
  26. package/package.json +1 -1
@@ -19,6 +19,8 @@ export { default as ListItem } from './native/Lists/ListItem/index.native';
19
19
  export { default as Checkbox } from './native/Checkbox/Checkbox/index.native';
20
20
  export { default as RadioButton } from './native/RadioButton/RadioButton/index.native';
21
21
  export { default as Switch } from './native/Switch/Switch/index.native';
22
+ export { default as NavOption } from './native/NavBar/NavOption/index.native';
23
+ export { default as NavigationBar } from './native/NavBar/NavigationBar/index.native';
22
24
  export { default as CheckIcon } from './native/Icons/icons/check';
23
25
  export { default as InfoIcon } from './native/Icons/icons/info';
24
26
  export { default as ChevronDownIcon } from './native/Icons/icons/chevronDown';
@@ -17,6 +17,8 @@ export { default as ListItem } from './web/Lists/ListItem/index.web';
17
17
  export { default as Checkbox } from './web/Checkbox/Checkbox/index.web';
18
18
  export { default as RadioButton } from './web/RadioButton/RadioButton/index.web';
19
19
  export { default as Switch } from './web/Switch/Switch/index.web';
20
+ export { default as NavOption } from './web/NavBar/NavOption/index.web';
21
+ export { default as NavigationBar } from './web/NavBar/NavigationBar/index.web';
20
22
  export { default as CheckIcon } from './web/Icons/icons/check';
21
23
  export { default as InfoIcon } from './web/Icons/icons/info';
22
24
  export { default as ChevronDownIcon } from './web/Icons/icons/chevronDown';
@@ -24,9 +24,10 @@ declare const _default: {
24
24
  listItemLeftContainer: {
25
25
  display: "flex";
26
26
  flexDirection: "row";
27
- justifyContent: "center";
27
+ justifyContent: "flex-start";
28
28
  alignItems: "center";
29
29
  gap: number;
30
+ flex: number;
30
31
  };
31
32
  notificationContainer: {
32
33
  display: "flex";
@@ -27,14 +27,20 @@ export interface ListItemProps {
27
27
  checkbox?: CheckboxProps;
28
28
  switchOpt?: SwitchProps;
29
29
  radioButton?: RadioButtonProps;
30
- LeadingIcon?: React.FC<{
31
- size: IconSize;
32
- color: string;
33
- }>;
34
- TrailingIcon?: React.FC<{
35
- size: IconSize;
36
- color: string;
37
- }>;
30
+ leadingIcon?: {
31
+ Icon: React.FC<{
32
+ size: IconSize;
33
+ color: string;
34
+ }>;
35
+ color?: string;
36
+ };
37
+ trailingIcon?: {
38
+ Icon: React.FC<{
39
+ size: IconSize;
40
+ color: string;
41
+ }>;
42
+ color?: string;
43
+ };
38
44
  segmentedButton?: SegmentedButtonProps;
39
45
  trailingValue?: string;
40
46
  hasHoverStyle?: boolean;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { NavOptionProps } from './navOption_types.native';
3
+ declare const NavOption: (props: React.PropsWithChildren<NavOptionProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default NavOption;
@@ -0,0 +1,2 @@
1
+ import NavOption from './NavOption.native';
2
+ export default NavOption;
@@ -0,0 +1,14 @@
1
+ declare const _default: {
2
+ navOptionContainer: {
3
+ display: "flex";
4
+ flexDirection: "column";
5
+ alignItems: "center";
6
+ justifyContent: "center";
7
+ gap: number;
8
+ alignSelf: "flex-start";
9
+ cursor: "pointer";
10
+ paddingVertical: number;
11
+ flex: number;
12
+ };
13
+ };
14
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { IconSize, IconStyle } from '../../Icons/icon_types';
2
+ export type NavOptionSize = 'medium' | 'small';
3
+ export type NavOptionState = 'active' | 'default';
4
+ export type NavOptionAlign = 'left' | 'right';
5
+ export interface NavOptionProps {
6
+ state: NavOptionState;
7
+ label?: string;
8
+ Icon: React.FC<{
9
+ size: IconSize;
10
+ color: string;
11
+ style: IconStyle;
12
+ }>;
13
+ containerStyle?: any;
14
+ key?: string | number;
15
+ onPress?: (x?: any) => void;
16
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { NavigationBarProps } from './navigationBar_types.native';
3
+ declare const NavigationBar: (props: React.PropsWithChildren<NavigationBarProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default NavigationBar;
@@ -0,0 +1,2 @@
1
+ import NavigationBar from './NavigationBar.native';
2
+ export default NavigationBar;
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ navigationBarContainer: {
3
+ width: "100%";
4
+ right: number;
5
+ left: number;
6
+ position: "absolute";
7
+ top: number;
8
+ zIndex: number;
9
+ display: "flex";
10
+ flexDirection: "row";
11
+ alignItems: "center";
12
+ justifyContent: "center";
13
+ gap: number;
14
+ alignSelf: "flex-start";
15
+ borderTopWidth: number;
16
+ paddingHorizontal: number;
17
+ minHeight: number;
18
+ };
19
+ };
20
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { IconSize, IconStyle } from '../../Icons/icon_types';
2
+ export type NavigationBarSize = 'medium' | 'small';
3
+ export type NavigationBarState = 'active' | 'default';
4
+ export type NavigationBarAlign = 'left' | 'right';
5
+ export interface NavigationBarProps {
6
+ navOptions: {
7
+ state: NavigationBarState;
8
+ label?: string;
9
+ Icon: React.FC<{
10
+ size: IconSize;
11
+ color: string;
12
+ style: IconStyle;
13
+ }>;
14
+ onPress?: (x?: any) => void;
15
+ }[];
16
+ containerStyle?: any;
17
+ }
@@ -27,14 +27,20 @@ export interface ListItemProps {
27
27
  containerStyle?: any;
28
28
  checkbox?: CheckboxProps;
29
29
  switchOpt?: SwitchProps;
30
- LeadingIcon?: React.FC<{
31
- size: IconSize;
32
- color: string;
33
- }>;
34
- TrailingIcon?: React.FC<{
35
- size: IconSize;
36
- color: string;
37
- }>;
30
+ leadingIcon?: {
31
+ Icon: React.FC<{
32
+ size: IconSize;
33
+ color: string;
34
+ }>;
35
+ color?: string;
36
+ };
37
+ trailingIcon?: {
38
+ Icon: React.FC<{
39
+ size: IconSize;
40
+ color: string;
41
+ }>;
42
+ color?: string;
43
+ };
38
44
  segmentedButton?: SegmentedButtonProps;
39
45
  trailingValue?: string;
40
46
  actionItem?: ActionItemsProps;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { NavOptionProps } from './navOption_types.web';
3
+ declare const NavOption: (props: React.PropsWithChildren<NavOptionProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default NavOption;
@@ -0,0 +1,2 @@
1
+ import NavOption from './NavOption.web';
2
+ export default NavOption;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const styles: () => {
3
+ navOptionContainer: React.CSSProperties;
4
+ };
@@ -0,0 +1,15 @@
1
+ import { IconSize, IconStyle } from '../../Icons/icon_types';
2
+ export type NavOptionSize = 'medium' | 'small';
3
+ export type NavOptionState = 'active' | 'default';
4
+ export type NavOptionAlign = 'left' | 'right';
5
+ export interface NavOptionProps {
6
+ state: NavOptionState;
7
+ label?: string;
8
+ Icon: React.FC<{
9
+ size: IconSize;
10
+ color: string;
11
+ style: IconStyle;
12
+ }>;
13
+ containerStyle?: any;
14
+ onPress?: (x?: any) => void;
15
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { NavigationBarProps } from './navigationBar_types.web';
3
+ declare const NavigationBar: (props: React.PropsWithChildren<NavigationBarProps>) => import("react/jsx-runtime").JSX.Element;
4
+ export default NavigationBar;
@@ -0,0 +1,2 @@
1
+ import NavigationBar from './NavigationBar.web';
2
+ export default NavigationBar;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const styles: () => {
3
+ navigationBarContainer: React.CSSProperties;
4
+ };
@@ -0,0 +1,17 @@
1
+ import { IconSize, IconStyle } from '../../Icons/icon_types';
2
+ export type NavigationBarSize = 'medium' | 'small';
3
+ export type NavigationBarState = 'active' | 'default';
4
+ export type NavigationBarAlign = 'left' | 'right';
5
+ export interface NavigationBarProps {
6
+ navOptions: {
7
+ state: NavigationBarState;
8
+ label?: string;
9
+ Icon: React.FC<{
10
+ size: IconSize;
11
+ color: string;
12
+ style: IconStyle;
13
+ }>;
14
+ onPress?: (x?: any) => void;
15
+ }[];
16
+ containerStyle?: any;
17
+ }