@alveole/components 0.14.5 → 0.15.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.
- package/dist/core/Box/Box.d.ts +1 -1
- package/dist/core/Box/Box.stories.d.ts +3 -3
- package/dist/core/Typography/Typography.stories.d.ts +2 -2
- package/dist/ui/Avatar/Avatar.d.ts +10 -0
- package/dist/ui/Avatar/Avatar.d.ts.map +1 -0
- package/dist/ui/Avatar/Avatar.js +27 -0
- package/dist/ui/Avatar/Avatar.stories.d.ts +27 -0
- package/dist/ui/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/ui/Avatar/Avatar.stories.js +15 -0
- package/dist/ui/Avatar/Avatar.styles.d.ts +16 -0
- package/dist/ui/Avatar/Avatar.styles.d.ts.map +1 -0
- package/dist/ui/Avatar/Avatar.styles.js +13 -0
- package/dist/ui/Avatar/index.d.ts +2 -0
- package/dist/ui/Avatar/index.d.ts.map +1 -0
- package/dist/ui/Avatar/index.js +1 -0
- package/dist/ui/Button/Button.d.ts.map +1 -1
- package/dist/ui/Button/Button.js +1 -0
- package/dist/ui/ListItem/ListItem.d.ts +15 -0
- package/dist/ui/ListItem/ListItem.d.ts.map +1 -0
- package/dist/ui/ListItem/ListItem.js +10 -0
- package/dist/ui/ListItem/ListItem.stories.d.ts +104 -0
- package/dist/ui/ListItem/ListItem.stories.d.ts.map +1 -0
- package/dist/ui/ListItem/ListItem.stories.js +23 -0
- package/dist/ui/ListItem/ListItem.styles.d.ts +88 -0
- package/dist/ui/ListItem/ListItem.styles.d.ts.map +1 -0
- package/dist/ui/ListItem/ListItem.styles.js +82 -0
- package/dist/ui/ListItem/index.d.ts +2 -0
- package/dist/ui/ListItem/index.d.ts.map +1 -0
- package/dist/ui/ListItem/index.js +1 -0
- package/dist/ui/LucideIcon/LucideIcon.props.d.ts +6 -6
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts +3 -3
- package/dist/ui/ResourceList/ResourceList.d.ts +14 -0
- package/dist/ui/ResourceList/ResourceList.d.ts.map +1 -0
- package/dist/ui/ResourceList/ResourceList.js +28 -0
- package/dist/ui/ResourceList/ResourceList.stories.d.ts +96 -0
- package/dist/ui/ResourceList/ResourceList.stories.d.ts.map +1 -0
- package/dist/ui/ResourceList/ResourceList.stories.js +45 -0
- package/dist/ui/ResourceList/ResourceList.styles.d.ts +82 -0
- package/dist/ui/ResourceList/ResourceList.styles.d.ts.map +1 -0
- package/dist/ui/ResourceList/ResourceList.styles.js +73 -0
- package/dist/ui/ResourceList/ResourceListNoContent.d.ts +95 -0
- package/dist/ui/ResourceList/ResourceListNoContent.d.ts.map +1 -0
- package/dist/ui/ResourceList/ResourceListNoContent.js +13 -0
- package/dist/ui/ResourceList/index.d.ts +3 -0
- package/dist/ui/ResourceList/index.d.ts.map +1 -0
- package/dist/ui/ResourceList/index.js +2 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.d.ts +6 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.d.ts.map +1 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.js +16 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +33 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts.map +1 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.js +18 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +23 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts.map +1 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.js +18 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNavIcon.d.ts +9 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNavIcon.d.ts.map +1 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNavIcon.js +5 -0
- package/dist/ui/ToolbarBottomNav/index.d.ts +3 -0
- package/dist/ui/ToolbarBottomNav/index.d.ts.map +1 -0
- package/dist/ui/ToolbarBottomNav/index.js +9 -0
- package/dist/ui/ToolbarTop/ToolbarTop.d.ts +14 -0
- package/dist/ui/ToolbarTop/ToolbarTop.d.ts.map +1 -0
- package/dist/ui/ToolbarTop/ToolbarTop.js +18 -0
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +59 -0
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts.map +1 -0
- package/dist/ui/ToolbarTop/ToolbarTop.stories.js +20 -0
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +43 -0
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts.map +1 -0
- package/dist/ui/ToolbarTop/ToolbarTop.styles.js +37 -0
- package/dist/ui/ToolbarTop/index.d.ts +2 -0
- package/dist/ui/ToolbarTop/index.d.ts.map +1 -0
- package/dist/ui/ToolbarTop/index.js +1 -0
- package/dist/ui/index.d.ts +5 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +5 -0
- package/package.json +18 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconProps } from '@alveole/components';
|
|
2
|
+
import { Color } from '@alveole/theme';
|
|
3
|
+
export type ToolbarBottomNavIconProps = {
|
|
4
|
+
color: Color;
|
|
5
|
+
};
|
|
6
|
+
export declare const toolbarBottomNavIcon: (name: IconProps["name"]) => (props: {
|
|
7
|
+
color: Color;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=ToolbarBottomNavIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarBottomNavIcon.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/ToolbarBottomNavIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,MAAM,MAAM,yBAAyB,GAAG;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC;AACzD,eAAO,MAAM,oBAAoB,GAAI,MAAM,SAAS,CAAC,MAAM,CAAC,MAC5B,OAAO;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,4CAEpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,EAAE,GAGjB,CAAC;AAEH,OAAO,EAAE,IAAI,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Tabs as ExpoTabs } from 'expo-router';
|
|
2
|
+
import { ToolbarBottomNav as ToolbarBottomNavBase } from './ToolbarBottomNav';
|
|
3
|
+
import { toolbarBottomNavIcon } from './ToolbarBottomNavIcon';
|
|
4
|
+
// L'annotation explicite évite de faire fuiter des types internes de React Navigation.
|
|
5
|
+
export const Tabs = Object.assign(ToolbarBottomNavBase, {
|
|
6
|
+
Screen: ExpoTabs.Screen,
|
|
7
|
+
Icon: toolbarBottomNavIcon,
|
|
8
|
+
});
|
|
9
|
+
export { Tabs as ToolbarBottomNav };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ToolbarTopVariant = 'default' | 'large' | 'compactLarge';
|
|
3
|
+
export type ToolbarTopProps = {
|
|
4
|
+
variant?: ToolbarTopVariant;
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
background?: boolean;
|
|
8
|
+
showSubtitle?: boolean;
|
|
9
|
+
canGoBack?: boolean;
|
|
10
|
+
onNavigateBack?: () => void;
|
|
11
|
+
actions?: React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
export declare const ToolbarTop: (props: ToolbarTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=ToolbarTop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarTop.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarTop/ToolbarTop.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,OAAO,GAAG,cAAc,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,4CAwChD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, ButtonIcon, Typography } from '@alveole/components';
|
|
3
|
+
import { useRouter } from 'expo-router';
|
|
4
|
+
import { useStyles } from './ToolbarTop.styles';
|
|
5
|
+
export const ToolbarTop = (props) => {
|
|
6
|
+
const { title, subtitle, background, canGoBack, actions, variant, onNavigateBack } = props;
|
|
7
|
+
const router = useRouter();
|
|
8
|
+
const styles = useStyles();
|
|
9
|
+
const handleBack = () => {
|
|
10
|
+
if (onNavigateBack) {
|
|
11
|
+
onNavigateBack();
|
|
12
|
+
}
|
|
13
|
+
else if (router.canGoBack()) {
|
|
14
|
+
router.back();
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
return (_jsxs(Box, { tag: "toolbar", style: { ...styles.container, ...(background && styles.containerWithBackground) }, children: [variant !== 'compactLarge' && (_jsxs(Box, { tag: "toolbar-haut", style: styles.toolbarHaut, children: [_jsx(Box, { tag: "toolbar-navigation", children: canGoBack && _jsx(ButtonIcon, { size: "lg", variant: "tertiary", icon: "ArrowLeft", onPress: handleBack }) }), _jsx(Box, { tag: "toolbar-actions", children: actions })] })), _jsxs(Box, { tag: "toolbar-informations", style: { ...styles.informations, ...(variant === 'compactLarge' && styles.compactLargeInformations) }, children: [_jsx(Box, { tag: "toolbar-titre", children: _jsx(Typography, { style: styles.titre, children: title }) }), subtitle && (_jsx(Box, { tag: "toolbar-sous-titre", children: _jsx(Typography, { style: styles.sousTitre, children: subtitle }) }))] })] }));
|
|
18
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: ["Composant"];
|
|
4
|
+
experimental: false;
|
|
5
|
+
description: string;
|
|
6
|
+
figmaURL: string;
|
|
7
|
+
component: (props: import("@alveole/components").ToolbarTopProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
styleFn: () => {
|
|
9
|
+
container: {
|
|
10
|
+
display: "flex";
|
|
11
|
+
width: "100%";
|
|
12
|
+
};
|
|
13
|
+
containerWithBackground: {
|
|
14
|
+
backgroundColor: "#FFFFFF";
|
|
15
|
+
};
|
|
16
|
+
toolbarHaut: {
|
|
17
|
+
display: "flex";
|
|
18
|
+
flexDirection: "row";
|
|
19
|
+
justifyContent: "space-between";
|
|
20
|
+
alignItems: "center";
|
|
21
|
+
width: "100%";
|
|
22
|
+
minHeight: import("@alveole/theme").Spacing;
|
|
23
|
+
};
|
|
24
|
+
informations: {
|
|
25
|
+
display: "flex";
|
|
26
|
+
paddingLeft: import("@alveole/theme").Spacing;
|
|
27
|
+
paddingRight: import("@alveole/theme").Spacing;
|
|
28
|
+
paddingBottom: import("@alveole/theme").Spacing;
|
|
29
|
+
};
|
|
30
|
+
compactLargeInformations: {
|
|
31
|
+
paddingBottom: number;
|
|
32
|
+
height: number;
|
|
33
|
+
justifyContent: "center";
|
|
34
|
+
};
|
|
35
|
+
titre: {
|
|
36
|
+
color: "#151617";
|
|
37
|
+
fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
|
|
38
|
+
fontSize: 32 | 40;
|
|
39
|
+
lineHeight: 48 | 40;
|
|
40
|
+
letterSpacing: 0;
|
|
41
|
+
};
|
|
42
|
+
sousTitre: {
|
|
43
|
+
color: "#5F6571";
|
|
44
|
+
fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
|
|
45
|
+
fontSize: 14;
|
|
46
|
+
lineHeight: 20;
|
|
47
|
+
letterSpacing: 0;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
52
|
+
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export declare const WithSubtitle: () => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare const WithBackground: () => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare const WithBackButton: () => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
export declare const WithActions: () => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const Full: () => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare const CompactLarge: () => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
//# sourceMappingURL=ToolbarTop.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarTop.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarTop/ToolbarTop.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAElB,eAAO,MAAM,OAAO,+CAAyC,CAAC;AAE9D,eAAO,MAAM,YAAY,+CAA4E,CAAC;AAEtG,eAAO,MAAM,cAAc,+CAE1B,CAAC;AAEF,eAAO,MAAM,cAAc,+CAO1B,CAAC;AAEF,eAAO,MAAM,WAAW,+CAUvB,CAAC;AAEF,eAAO,MAAM,IAAI,+CAShB,CAAC;AAEF,eAAO,MAAM,YAAY,+CAA0E,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ButtonIcon } from '@alveole/components';
|
|
3
|
+
import { useStyles } from './ToolbarTop.styles';
|
|
4
|
+
import { ToolbarTop } from './index';
|
|
5
|
+
export default {
|
|
6
|
+
title: 'ToolbarTop',
|
|
7
|
+
tags: ['Composant'],
|
|
8
|
+
experimental: false,
|
|
9
|
+
description: "Barre d'outils en haut de page avec titre, sous-titre optionnel, bouton retour et actions.",
|
|
10
|
+
figmaURL: 'https://www.figma.com/design/xJz8Z6vfrnZPKTtRbuT2W8/Alveole---Composants?node-id=1749-4674&t=baZKFA9BpkeQGeZm-4',
|
|
11
|
+
component: ToolbarTop,
|
|
12
|
+
styleFn: useStyles,
|
|
13
|
+
};
|
|
14
|
+
export const Default = () => _jsx(ToolbarTop, { title: "Mon titre" });
|
|
15
|
+
export const WithSubtitle = () => _jsx(ToolbarTop, { title: "Mon titre", subtitle: "Un sous-titre optionnel" });
|
|
16
|
+
export const WithBackground = () => (_jsx(ToolbarTop, { title: "Page avec fond", subtitle: "Le fond utilise la couleur par d\u00E9faut", background: true }));
|
|
17
|
+
export const WithBackButton = () => (_jsx(ToolbarTop, { title: "Page d\u00E9tails", subtitle: "Avec bouton de retour", canGoBack: true, onNavigateBack: () => console.log('Retour') }));
|
|
18
|
+
export const WithActions = () => (_jsx(ToolbarTop, { title: "Page avec actions", actions: _jsxs(_Fragment, { children: [_jsx(ButtonIcon, { variant: "tertiary", icon: "Search", onPress: () => console.log('Recherche') }), _jsx(ButtonIcon, { variant: "tertiary", icon: "MoveVertical", onPress: () => console.log('Menu') })] }) }));
|
|
19
|
+
export const Full = () => (_jsx(ToolbarTop, { title: "Tous les options", subtitle: "Sous-titre avec fond et actions", background: true, canGoBack: true, onNavigateBack: () => console.log('Retour'), actions: _jsx(ButtonIcon, { variant: "tertiary", icon: "Share", onPress: () => console.log('Partager') }) }));
|
|
20
|
+
export const CompactLarge = () => _jsx(ToolbarTop, { title: "Titre compact large", variant: "compactLarge" });
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const useStyles: () => {
|
|
2
|
+
container: {
|
|
3
|
+
display: "flex";
|
|
4
|
+
width: "100%";
|
|
5
|
+
};
|
|
6
|
+
containerWithBackground: {
|
|
7
|
+
backgroundColor: "#FFFFFF";
|
|
8
|
+
};
|
|
9
|
+
toolbarHaut: {
|
|
10
|
+
display: "flex";
|
|
11
|
+
flexDirection: "row";
|
|
12
|
+
justifyContent: "space-between";
|
|
13
|
+
alignItems: "center";
|
|
14
|
+
width: "100%";
|
|
15
|
+
minHeight: import("@alveole/theme").Spacing;
|
|
16
|
+
};
|
|
17
|
+
informations: {
|
|
18
|
+
display: "flex";
|
|
19
|
+
paddingLeft: import("@alveole/theme").Spacing;
|
|
20
|
+
paddingRight: import("@alveole/theme").Spacing;
|
|
21
|
+
paddingBottom: import("@alveole/theme").Spacing;
|
|
22
|
+
};
|
|
23
|
+
compactLargeInformations: {
|
|
24
|
+
paddingBottom: number;
|
|
25
|
+
height: number;
|
|
26
|
+
justifyContent: "center";
|
|
27
|
+
};
|
|
28
|
+
titre: {
|
|
29
|
+
color: "#151617";
|
|
30
|
+
fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
|
|
31
|
+
fontSize: 32 | 40;
|
|
32
|
+
lineHeight: 48 | 40;
|
|
33
|
+
letterSpacing: 0;
|
|
34
|
+
};
|
|
35
|
+
sousTitre: {
|
|
36
|
+
color: "#5F6571";
|
|
37
|
+
fontFamily: "Barlow-Light" | "Barlow-Regular" | "Barlow-Medium" | "Barlow-SemiBold" | "Barlow-Bold" | "Inter-Light" | "Inter-Regular" | "Inter-Medium" | "Inter-SemiBold" | "Inter-Bold";
|
|
38
|
+
fontSize: 14;
|
|
39
|
+
lineHeight: 20;
|
|
40
|
+
letterSpacing: 0;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=ToolbarTop.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolbarTop.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarTop/ToolbarTop.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCnB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { makeStyles } from '@alveole/theme';
|
|
2
|
+
export const useStyles = makeStyles(({ text, spacing, color }) => ({
|
|
3
|
+
container: {
|
|
4
|
+
display: 'flex',
|
|
5
|
+
width: '100%',
|
|
6
|
+
},
|
|
7
|
+
containerWithBackground: {
|
|
8
|
+
backgroundColor: color.background.default,
|
|
9
|
+
},
|
|
10
|
+
toolbarHaut: {
|
|
11
|
+
display: 'flex',
|
|
12
|
+
flexDirection: 'row',
|
|
13
|
+
justifyContent: 'space-between',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
width: '100%',
|
|
16
|
+
minHeight: spacing('300'),
|
|
17
|
+
},
|
|
18
|
+
informations: {
|
|
19
|
+
display: 'flex',
|
|
20
|
+
paddingLeft: spacing('2W'),
|
|
21
|
+
paddingRight: spacing('2W'),
|
|
22
|
+
paddingBottom: spacing('050'),
|
|
23
|
+
},
|
|
24
|
+
compactLargeInformations: {
|
|
25
|
+
paddingBottom: 0,
|
|
26
|
+
height: 60,
|
|
27
|
+
justifyContent: 'center',
|
|
28
|
+
},
|
|
29
|
+
titre: {
|
|
30
|
+
...text.Titres['H1 - XL'],
|
|
31
|
+
color: color.light.text['title-grey'],
|
|
32
|
+
},
|
|
33
|
+
sousTitre: {
|
|
34
|
+
...text['Corps de texte'].SM.Regular,
|
|
35
|
+
color: color.light.text['mention-grey'],
|
|
36
|
+
},
|
|
37
|
+
}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarTop/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ToolbarTop';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
export * from './Avatar';
|
|
1
2
|
export * from './Button';
|
|
2
3
|
export * from './Divider';
|
|
4
|
+
export * from './ListItem';
|
|
3
5
|
export * from './LucideIcon';
|
|
6
|
+
export * from './ResourceList';
|
|
7
|
+
export * from './ToolbarBottomNav';
|
|
8
|
+
export * from './ToolbarTop';
|
|
4
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
|
package/dist/ui/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alveole/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Shared UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,14 +34,29 @@
|
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@alveole/theme": "*",
|
|
37
|
-
"@tamagui/core": "
|
|
37
|
+
"@tamagui/core": "^1.129.0 <2.0.0",
|
|
38
|
+
"@tamagui/accordion": "^1.129.0 <2.0.0",
|
|
39
|
+
"@tamagui/animations-css": "^1.129.0 <2.0.0",
|
|
40
|
+
"@tamagui/avatar": "^1.129.0 <2.0.0",
|
|
41
|
+
"@tamagui/config": "^1.129.0 <2.0.0",
|
|
42
|
+
"@tamagui/dialog": "^1.129.0 <2.0.0",
|
|
43
|
+
"@tamagui/popover": "^1.129.0 <2.0.0",
|
|
44
|
+
"@tamagui/radio-group": "^1.129.0 <2.0.0",
|
|
45
|
+
"@tamagui/sheet": "^1.129.0 <2.0.0",
|
|
46
|
+
"@tamagui/slider": "^1.129.0 <2.0.0",
|
|
47
|
+
"@tamagui/switch": "^1.129.0 <2.0.0",
|
|
48
|
+
"@tamagui/tabs": "^1.129.0 <2.0.0",
|
|
49
|
+
"@tamagui/toast": "^1.129.0 <2.0.0",
|
|
50
|
+
"tamagui": "^1.129.0 <2.0.0",
|
|
38
51
|
"react": "*",
|
|
39
52
|
"react-native": "*",
|
|
53
|
+
"react-native-svg": "^15.0.0",
|
|
40
54
|
"lucide-react-native": "0.557.0",
|
|
41
55
|
"@lucide/lab": "*",
|
|
42
56
|
"react-native-webview": ">=13",
|
|
43
57
|
"expo-application": "*",
|
|
44
|
-
"expo-image": "*"
|
|
58
|
+
"expo-image": "*",
|
|
59
|
+
"expo-router": "*"
|
|
45
60
|
},
|
|
46
61
|
"publishConfig": {
|
|
47
62
|
"access": "public"
|