@gataca/design-system 0.3.0 → 0.3.2
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.
- package/dist/components/index.native.d.ts +2 -0
- package/dist/components/index.web.d.ts +2 -0
- package/dist/components/native/NavBar/NavOption/NavOption.native.d.ts +4 -0
- package/dist/components/native/NavBar/NavOption/index.native.d.ts +2 -0
- package/dist/components/native/NavBar/NavOption/navOption_styles.native.d.ts +14 -0
- package/dist/components/native/NavBar/NavOption/navOption_types.native.d.ts +16 -0
- package/dist/components/native/NavBar/NavigationBar/NavigationBar.native.d.ts +4 -0
- package/dist/components/native/NavBar/NavigationBar/index.native.d.ts +2 -0
- package/dist/components/native/NavBar/NavigationBar/navigationBar_styles.native.d.ts +20 -0
- package/dist/components/native/NavBar/NavigationBar/navigationBar_types.native.d.ts +17 -0
- package/dist/components/web/NavBar/NavOption/NavOption.web.d.ts +4 -0
- package/dist/components/web/NavBar/NavOption/index.web.d.ts +2 -0
- package/dist/components/web/NavBar/NavOption/navOption_styles.web.d.ts +4 -0
- package/dist/components/web/NavBar/NavOption/navOption_types.web.d.ts +15 -0
- package/dist/components/web/NavBar/NavigationBar/NavigationBar.web.d.ts +4 -0
- package/dist/components/web/NavBar/NavigationBar/index.web.d.ts +2 -0
- package/dist/components/web/NavBar/NavigationBar/navigationBar_styles.web.d.ts +4 -0
- package/dist/components/web/NavBar/NavigationBar/navigationBar_types.web.d.ts +17 -0
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- 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';
|
|
@@ -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,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
navigationBarContainer: {
|
|
3
|
+
width: "100%";
|
|
4
|
+
right: number;
|
|
5
|
+
left: number;
|
|
6
|
+
position: "absolute";
|
|
7
|
+
bottom: 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
|
+
}
|
|
@@ -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,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
|
+
}
|