@alveole/components 1.1.0 → 1.1.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/core/A/A.js +1 -1
- package/dist/core/A/A.stories.d.ts +3 -0
- package/dist/core/A/A.stories.d.ts.map +1 -1
- package/dist/core/A/A.styles.d.ts +3 -0
- package/dist/core/A/A.styles.d.ts.map +1 -1
- package/dist/core/A/A.styles.js +3 -0
- package/dist/core/Highlight/Highlight.stories.d.ts +1 -0
- package/dist/core/Highlight/Highlight.stories.d.ts.map +1 -1
- package/dist/core/Highlight/Highlight.stories.js +2 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.d.ts +15 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.d.ts.map +1 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.js +52 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.d.ts +12 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.d.ts.map +1 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.js +12 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/stories/index.d.ts +1 -0
- package/dist/stories/index.d.ts.map +1 -1
- package/dist/stories/index.js +1 -0
- package/dist/ui/FormControl/FormControlFileInput.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControlFileInput.js +20 -11
- package/dist/ui/Grid/Grid.stories.d.ts +8 -2
- package/dist/ui/Grid/Grid.stories.d.ts.map +1 -1
- package/dist/ui/Grid/Grid.stories.js +13 -12
- package/dist/ui/Grid/Grid.stories.sources.d.ts +16 -4
- package/dist/ui/Grid/Grid.stories.sources.d.ts.map +1 -1
- package/dist/ui/Grid/Grid.stories.sources.js +16 -4
- package/package.json +2 -2
package/dist/core/A/A.js
CHANGED
|
@@ -11,6 +11,6 @@ export const A = (props) => {
|
|
|
11
11
|
const styles = useStyles();
|
|
12
12
|
const canAccessFromContext = useContext(LinkAccessContext);
|
|
13
13
|
const canAccess = canAccessProp ?? canAccessFromContext ?? (() => true);
|
|
14
|
-
const expoLink = (_jsx(Link, { href: href, asChild: true, replace: direction === 'replace', push: direction === 'push', dismissTo: direction === 'dismiss', children: _jsx(Pressable, { children: _jsx(Box, { tag: "a-pressable", style: { ...styles.pressable, ...style }, hoverStyle: hoverStyle, children: children }) }) }));
|
|
14
|
+
const expoLink = (_jsx(Link, { href: href, asChild: true, replace: direction === 'replace', push: direction === 'push', dismissTo: direction === 'dismiss', children: _jsx(Pressable, { style: styles.link, children: _jsx(Box, { tag: "a-pressable", style: { ...styles.pressable, ...style }, hoverStyle: hoverStyle, children: children }) }) }));
|
|
15
15
|
return canAccess(href) ? expoLink : _jsx(_Fragment, { children: children });
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A.stories.d.ts","sourceRoot":"","sources":["../../../src/core/A/A.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A.stories.d.ts","sourceRoot":"","sources":["../../../src/core/A/A.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAMA,wBAQkB;AAElB,eAAO,MAAM,OAAO,mCAInB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAWrB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A.styles.d.ts","sourceRoot":"","sources":["../../../src/core/A/A.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"A.styles.d.ts","sourceRoot":"","sources":["../../../src/core/A/A.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;CAYnB,CAAC"}
|
package/dist/core/A/A.styles.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Highlight.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Highlight/Highlight.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Highlight.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Highlight/Highlight.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,wBAUkB;AAElB,eAAO,MAAM,aAAa,mCAEzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mCAE/B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAExB,CAAC;AAeF,eAAO,MAAM,aAAa,mCAA0D,CAAC;AAerF,eAAO,MAAM,aAAa,mCAA0D,CAAC;AAErF,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC"}
|
|
@@ -5,7 +5,8 @@ export default {
|
|
|
5
5
|
title: 'Highlight',
|
|
6
6
|
tags: ['core'],
|
|
7
7
|
experimental: true,
|
|
8
|
-
|
|
8
|
+
shortDescription: 'Affiche du code en typescript, html, json, etc. Composant de type Light (react-syntax-highlighter).',
|
|
9
|
+
description: 'Affiche du code en typescript, html, json, etc. Composant de type Light ([react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter)).',
|
|
9
10
|
component: Highlight,
|
|
10
11
|
styleFn: useStyles,
|
|
11
12
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: "core"[];
|
|
4
|
+
experimental: false;
|
|
5
|
+
description: string;
|
|
6
|
+
component: ({ children }: import("./MarkdownDescription").MarkdownDescriptionProps) => import("react").JSX.Element;
|
|
7
|
+
styleFn: () => {};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Default: () => import("react").JSX.Element;
|
|
11
|
+
export declare const SimpleText: () => import("react").JSX.Element;
|
|
12
|
+
export declare const WithCodeBlock: () => import("react").JSX.Element;
|
|
13
|
+
export declare const WithTable: () => import("react").JSX.Element;
|
|
14
|
+
export * as Sources from './MarkdownDescription.stories.sources';
|
|
15
|
+
//# sourceMappingURL=MarkdownDescription.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownDescription.stories.d.ts","sourceRoot":"","sources":["../../../src/core/MarkdownDescription/MarkdownDescription.stories.tsx"],"names":[],"mappings":";;;;;;;;AAGA,wBAOkB;AAkClB,eAAO,MAAM,OAAO,mCAAmE,CAAC;AAExF,eAAO,MAAM,UAAU,mCAEtB,CAAC;AAEF,eAAO,MAAM,aAAa,mCAMzB,CAAC;AAEF,eAAO,MAAM,SAAS,mCAIrB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { MarkdownDescription } from './MarkdownDescription';
|
|
3
|
+
export default {
|
|
4
|
+
title: 'MarkdownDescription',
|
|
5
|
+
tags: ['core'],
|
|
6
|
+
experimental: false,
|
|
7
|
+
description: 'Affiche du contenu Markdown enrichi : titres, listes, code inline, blocs de code, tableaux.',
|
|
8
|
+
component: MarkdownDescription,
|
|
9
|
+
styleFn: () => ({}),
|
|
10
|
+
};
|
|
11
|
+
const FULL_MARKDOWN = `# Titre principal
|
|
12
|
+
|
|
13
|
+
Paragraphe avec du texte **en gras** et du texte *en italique*.
|
|
14
|
+
|
|
15
|
+
## Titres et listes
|
|
16
|
+
|
|
17
|
+
### Liste à puces
|
|
18
|
+
|
|
19
|
+
- Premier élément
|
|
20
|
+
- Deuxième élément
|
|
21
|
+
- Troisième élément
|
|
22
|
+
|
|
23
|
+
## Code
|
|
24
|
+
|
|
25
|
+
Code inline : \`const id = 'user_id_1';\`
|
|
26
|
+
|
|
27
|
+
Bloc de code TypeScript :
|
|
28
|
+
|
|
29
|
+
\`\`\`typescript
|
|
30
|
+
const greet = (name: string): string => {
|
|
31
|
+
return \`Bonjour, \${name} !\`;
|
|
32
|
+
};
|
|
33
|
+
\`\`\`
|
|
34
|
+
|
|
35
|
+
## Tableau
|
|
36
|
+
|
|
37
|
+
| Colonne A | Colonne B | Colonne C |
|
|
38
|
+
|-----------|-----------|-----------|
|
|
39
|
+
| Cellule 1 | Cellule 2 | Cellule 3 |
|
|
40
|
+
| Cellule 4 | Cellule 5 | Cellule 6 |
|
|
41
|
+
`;
|
|
42
|
+
export const Default = () => _jsx(MarkdownDescription, { children: FULL_MARKDOWN });
|
|
43
|
+
export const SimpleText = () => (_jsx(MarkdownDescription, { children: 'Paragraphe simple avec du texte **en gras** et du texte *en italique*.' }));
|
|
44
|
+
export const WithCodeBlock = () => (_jsx(MarkdownDescription, { children: `Utilisez \`npm install\` pour installer les dépendances.
|
|
45
|
+
|
|
46
|
+
\`\`\`bash
|
|
47
|
+
npm install @alveole/components
|
|
48
|
+
\`\`\`` }));
|
|
49
|
+
export const WithTable = () => (_jsx(MarkdownDescription, { children: `| Nom | Type | Description |
|
|
50
|
+
|-----|------|-------------|
|
|
51
|
+
| children | string | Contenu Markdown à afficher |` }));
|
|
52
|
+
export * as Sources from './MarkdownDescription.stories.sources';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const Default: () => string;
|
|
2
|
+
export declare const SimpleText: () => string;
|
|
3
|
+
export declare const WithCodeBlock: () => string;
|
|
4
|
+
export declare const WithTable: () => string;
|
|
5
|
+
export declare const storySources: {
|
|
6
|
+
readonly Default: () => string;
|
|
7
|
+
readonly SimpleText: () => string;
|
|
8
|
+
readonly WithCodeBlock: () => string;
|
|
9
|
+
readonly WithTable: () => string;
|
|
10
|
+
};
|
|
11
|
+
export type StorySourceName = keyof typeof storySources;
|
|
12
|
+
//# sourceMappingURL=MarkdownDescription.stories.sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownDescription.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/core/MarkdownDescription/MarkdownDescription.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAmG,CAAC;AAExH,eAAO,MAAM,UAAU,cAAyK,CAAC;AAEjM,eAAO,MAAM,aAAa,cAA6N,CAAC;AAExP,eAAO,MAAM,SAAS,cAAiN,CAAC;AAExO,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is generated. Do not edit manually.
|
|
2
|
+
// Source: src/core/MarkdownDescription/MarkdownDescription.stories.tsx
|
|
3
|
+
export const Default = () => "export const Default = () => <MarkdownDescription>{FULL_MARKDOWN}</MarkdownDescription>;";
|
|
4
|
+
export const SimpleText = () => "export const SimpleText = () => (\n <MarkdownDescription>{'Paragraphe simple avec du texte **en gras** et du texte *en italique*.'}</MarkdownDescription>\n);";
|
|
5
|
+
export const WithCodeBlock = () => "export const WithCodeBlock = () => (\n <MarkdownDescription>{`Utilisez \\`npm install\\` pour installer les dépendances.\n\n\\`\\`\\`bash\nnpm install @alveole/components\n\\`\\`\\``}</MarkdownDescription>\n);";
|
|
6
|
+
export const WithTable = () => "export const WithTable = () => (\n <MarkdownDescription>{`| Nom | Type | Description |\n|-----|------|-------------|\n| children | string | Contenu Markdown à afficher |`}</MarkdownDescription>\n);";
|
|
7
|
+
export const storySources = {
|
|
8
|
+
Default,
|
|
9
|
+
SimpleText,
|
|
10
|
+
WithCodeBlock,
|
|
11
|
+
WithTable,
|
|
12
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ALVEOLE_COMPONENTS_VERSION: "1.1.
|
|
1
|
+
export declare const ALVEOLE_COMPONENTS_VERSION: "1.1.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ALVEOLE_COMPONENTS_VERSION = "1.1.
|
|
1
|
+
export const ALVEOLE_COMPONENTS_VERSION = "1.1.2";
|
package/dist/stories/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * as Highlight from '../core/Highlight/Highlight.stories';
|
|
|
6
6
|
export * as ImageStory from '../core/Image/Image.stories';
|
|
7
7
|
export * as LottieStory from '../core/Lottie/Lottie.stories';
|
|
8
8
|
export * as MapStory from '../core/Map/Map.stories';
|
|
9
|
+
export * as MarkdownDescriptionStory from '../core/MarkdownDescription/MarkdownDescription.stories';
|
|
9
10
|
export * as MetabaseStory from '../core/Metabase/Metabase.stories';
|
|
10
11
|
export * as PageStory from '../core/Page/Page.stories';
|
|
11
12
|
export * as PdfViewerStory from '../core/PdfViewer/PdfViewer.stories';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stories/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,kBAAkB,MAAM,6CAA6C,CAAC;AAClF,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,aAAa,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,kBAAkB,MAAM,6CAA6C,CAAC;AAClF,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,YAAY,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,e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AM,yCAAyC,CAAC;AAC7E,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,kBAAkB,MAAM,2CAA2C,CAAC;AAChF,OAAO,KAAK,kBAAkB,MAAM,2CAA2C,CAAC;AAChF,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,mBAAmB,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,qBAAqB,MAAM,iDAAiD,CAAC;AACzF,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
|
package/dist/stories/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export * as Highlight from '../core/Highlight/Highlight.stories';
|
|
|
7
7
|
export * as ImageStory from '../core/Image/Image.stories';
|
|
8
8
|
export * as LottieStory from '../core/Lottie/Lottie.stories';
|
|
9
9
|
export * as MapStory from '../core/Map/Map.stories';
|
|
10
|
+
export * as MarkdownDescriptionStory from '../core/MarkdownDescription/MarkdownDescription.stories';
|
|
10
11
|
export * as MetabaseStory from '../core/Metabase/Metabase.stories';
|
|
11
12
|
export * as PageStory from '../core/Page/Page.stories';
|
|
12
13
|
export * as PdfViewerStory from '../core/PdfViewer/PdfViewer.stories';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControlFileInput.d.ts","sourceRoot":"","sources":["../../../src/ui/FormControl/FormControlFileInput.tsx"],"names":[],"mappings":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,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,6BAqFpE,CAAC"}
|
|
@@ -21,22 +21,31 @@ export const FormControlFileInput = (props) => {
|
|
|
21
21
|
return value.name;
|
|
22
22
|
return '1 fichier';
|
|
23
23
|
}, [placeholder, value, forcePlaceholder]);
|
|
24
|
+
const isPickingRef = React.useRef(false);
|
|
24
25
|
const handlePickFile = React.useCallback(async () => {
|
|
26
|
+
if (isPickingRef.current)
|
|
27
|
+
return;
|
|
25
28
|
onPickStart?.();
|
|
26
29
|
if (disabled)
|
|
27
30
|
return;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
isPickingRef.current = true;
|
|
32
|
+
try {
|
|
33
|
+
const result = await DocumentPicker.getDocumentAsync({
|
|
34
|
+
copyToCacheDirectory: true,
|
|
35
|
+
multiple: multiple ?? false,
|
|
36
|
+
type: type,
|
|
37
|
+
});
|
|
38
|
+
if (multiple) {
|
|
39
|
+
const newValue = result.assets && result.assets.length > 0 ? result.assets : null;
|
|
40
|
+
onChange?.(newValue);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const newValue = result.assets?.[0] ?? null;
|
|
44
|
+
onChange?.(newValue);
|
|
45
|
+
}
|
|
36
46
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
onChange?.(newValue);
|
|
47
|
+
finally {
|
|
48
|
+
isPickingRef.current = false;
|
|
40
49
|
}
|
|
41
50
|
}, [onPickStart, disabled, multiple, type, onChange]);
|
|
42
51
|
React.useEffect(() => {
|
|
@@ -18,7 +18,13 @@ declare const _default: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export default _default;
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
21
|
+
export declare const TwoEqualColumns: () => import("react").JSX.Element;
|
|
22
|
+
export declare const AsymmetricColumns: () => import("react").JSX.Element;
|
|
23
|
+
export declare const ThreeColumns: () => import("react").JSX.Element;
|
|
24
|
+
export declare const FourColumns: () => import("react").JSX.Element;
|
|
25
|
+
export declare const FullWidthColumn: () => import("react").JSX.Element;
|
|
26
|
+
export declare const ResponsiveColumns: () => import("react").JSX.Element;
|
|
27
|
+
export declare const ResponsiveThreeColumns: () => import("react").JSX.Element;
|
|
28
|
+
export declare const WithLargeGap: () => import("react").JSX.Element;
|
|
23
29
|
export * as Sources from './Grid.stories.sources';
|
|
24
30
|
//# sourceMappingURL=Grid.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Grid/Grid.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAKA,wBASkB;
|
|
1
|
+
{"version":3,"file":"Grid.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Grid/Grid.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAWlB,eAAO,MAAM,eAAe,mCAS3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAS7B,CAAC;AAEF,eAAO,MAAM,YAAY,mCAYxB,CAAC;AAEF,eAAO,MAAM,WAAW,mCAevB,CAAC;AAEF,eAAO,MAAM,eAAe,mCAY3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAS7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAYlC,CAAC;AAEF,eAAO,MAAM,YAAY,mCAYxB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, Typography } from '../../core';
|
|
3
3
|
import { Grid } from './Grid';
|
|
4
4
|
import { useStyles } from './Grid.styles';
|
|
5
5
|
export default {
|
|
@@ -11,14 +11,15 @@ export default {
|
|
|
11
11
|
component: Grid,
|
|
12
12
|
styleFn: useStyles,
|
|
13
13
|
};
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
14
|
+
const colColor = '#88b2bd';
|
|
15
|
+
const colColorAlt = '#b9c47f';
|
|
16
|
+
const Col = ({ color = colColor, label }) => (_jsx(Box, { backgroundColor: color, p: '050', style: { borderRadius: 4 }, children: _jsx(Typography, { children: label }) }));
|
|
17
|
+
export const TwoEqualColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: 6, children: _jsx(Col, { label: "6 colonnes" }) }), _jsx(Grid.Column, { size: 6, children: _jsx(Col, { label: "6 colonnes" }) })] }));
|
|
18
|
+
export const AsymmetricColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: 4, children: _jsx(Col, { label: "4 colonnes" }) }), _jsx(Grid.Column, { size: 8, children: _jsx(Col, { color: colColorAlt, label: "8 colonnes" }) })] }));
|
|
19
|
+
export const ThreeColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: 4, children: _jsx(Col, { label: "4 colonnes" }) }), _jsx(Grid.Column, { size: 4, children: _jsx(Col, { color: colColorAlt, label: "4 colonnes" }) }), _jsx(Grid.Column, { size: 4, children: _jsx(Col, { label: "4 colonnes" }) })] }));
|
|
20
|
+
export const FourColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: 3, children: _jsx(Col, { label: "3" }) }), _jsx(Grid.Column, { size: 3, children: _jsx(Col, { color: colColorAlt, label: "3" }) }), _jsx(Grid.Column, { size: 3, children: _jsx(Col, { label: "3" }) }), _jsx(Grid.Column, { size: 3, children: _jsx(Col, { color: colColorAlt, label: "3" }) })] }));
|
|
21
|
+
export const FullWidthColumn = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: 12, children: _jsx(Col, { label: "12 colonnes (pleine largeur)" }) }), _jsx(Grid.Column, { size: 6, children: _jsx(Col, { label: "6 colonnes" }) }), _jsx(Grid.Column, { size: 6, children: _jsx(Col, { color: colColorAlt, label: "6 colonnes" }) })] }));
|
|
22
|
+
export const ResponsiveColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: { mobile: 12, desktop: 6 }, children: _jsx(Col, { label: "12 mobile / 6 desktop" }) }), _jsx(Grid.Column, { size: { mobile: 12, desktop: 6 }, children: _jsx(Col, { color: colColorAlt, label: "12 mobile / 6 desktop" }) })] }));
|
|
23
|
+
export const ResponsiveThreeColumns = () => (_jsxs(Grid, { gap: 8, children: [_jsx(Grid.Column, { size: { mobile: 12, tablet: 6, desktop: 4 }, children: _jsx(Col, { label: "12 mobile / 6 tablet / 4 desktop" }) }), _jsx(Grid.Column, { size: { mobile: 12, tablet: 6, desktop: 4 }, children: _jsx(Col, { color: colColorAlt, label: "12 mobile / 6 tablet / 4 desktop" }) }), _jsx(Grid.Column, { size: { mobile: 12, tablet: 12, desktop: 4 }, children: _jsx(Col, { label: "12 mobile / 12 tablet / 4 desktop" }) })] }));
|
|
24
|
+
export const WithLargeGap = () => (_jsxs(Grid, { gap: 24, children: [_jsx(Grid.Column, { size: 4, children: _jsx(Col, { label: "gap 24" }) }), _jsx(Grid.Column, { size: 4, children: _jsx(Col, { color: colColorAlt, label: "gap 24" }) }), _jsx(Grid.Column, { size: 4, children: _jsx(Col, { label: "gap 24" }) })] }));
|
|
24
25
|
export * as Sources from './Grid.stories.sources';
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const TwoEqualColumns: () => string;
|
|
2
|
+
export declare const AsymmetricColumns: () => string;
|
|
3
|
+
export declare const ThreeColumns: () => string;
|
|
4
|
+
export declare const FourColumns: () => string;
|
|
5
|
+
export declare const FullWidthColumn: () => string;
|
|
6
|
+
export declare const ResponsiveColumns: () => string;
|
|
7
|
+
export declare const ResponsiveThreeColumns: () => string;
|
|
8
|
+
export declare const WithLargeGap: () => string;
|
|
3
9
|
export declare const storySources: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
10
|
+
readonly TwoEqualColumns: () => string;
|
|
11
|
+
readonly AsymmetricColumns: () => string;
|
|
12
|
+
readonly ThreeColumns: () => string;
|
|
13
|
+
readonly FourColumns: () => string;
|
|
14
|
+
readonly FullWidthColumn: () => string;
|
|
15
|
+
readonly ResponsiveColumns: () => string;
|
|
16
|
+
readonly ResponsiveThreeColumns: () => string;
|
|
17
|
+
readonly WithLargeGap: () => string;
|
|
6
18
|
};
|
|
7
19
|
export type StorySourceName = keyof typeof storySources;
|
|
8
20
|
//# sourceMappingURL=Grid.stories.sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Grid/Grid.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Grid.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Grid/Grid.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,cAA0P,CAAC;AAEvR,eAAO,MAAM,iBAAiB,cAAgR,CAAC;AAE/S,eAAO,MAAM,YAAY,cAA+V,CAAC;AAEzX,eAAO,MAAM,WAAW,cAAka,CAAC;AAE3b,eAAO,MAAM,eAAe,cAAqX,CAAC;AAElZ,eAAO,MAAM,iBAAiB,cAAwV,CAAC;AAEvX,eAAO,MAAM,sBAAsB,cAAyhB,CAAC;AAE7jB,eAAO,MAAM,YAAY,cAAoV,CAAC;AAE9W,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/Grid/Grid.stories.tsx
|
|
3
|
-
export const
|
|
4
|
-
export const
|
|
3
|
+
export const TwoEqualColumns = () => "export const TwoEqualColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={6}>\n <Col label=\"6 colonnes\" />\n </Grid.Column>\n <Grid.Column size={6}>\n <Col label=\"6 colonnes\" />\n </Grid.Column>\n </Grid>\n);";
|
|
4
|
+
export const AsymmetricColumns = () => "export const AsymmetricColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={4}>\n <Col label=\"4 colonnes\" />\n </Grid.Column>\n <Grid.Column size={8}>\n <Col color={colColorAlt} label=\"8 colonnes\" />\n </Grid.Column>\n </Grid>\n);";
|
|
5
|
+
export const ThreeColumns = () => "export const ThreeColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={4}>\n <Col label=\"4 colonnes\" />\n </Grid.Column>\n <Grid.Column size={4}>\n <Col color={colColorAlt} label=\"4 colonnes\" />\n </Grid.Column>\n <Grid.Column size={4}>\n <Col label=\"4 colonnes\" />\n </Grid.Column>\n </Grid>\n);";
|
|
6
|
+
export const FourColumns = () => "export const FourColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={3}>\n <Col label=\"3\" />\n </Grid.Column>\n <Grid.Column size={3}>\n <Col color={colColorAlt} label=\"3\" />\n </Grid.Column>\n <Grid.Column size={3}>\n <Col label=\"3\" />\n </Grid.Column>\n <Grid.Column size={3}>\n <Col color={colColorAlt} label=\"3\" />\n </Grid.Column>\n </Grid>\n);";
|
|
7
|
+
export const FullWidthColumn = () => "export const FullWidthColumn = () => (\n <Grid gap={8}>\n <Grid.Column size={12}>\n <Col label=\"12 colonnes (pleine largeur)\" />\n </Grid.Column>\n <Grid.Column size={6}>\n <Col label=\"6 colonnes\" />\n </Grid.Column>\n <Grid.Column size={6}>\n <Col color={colColorAlt} label=\"6 colonnes\" />\n </Grid.Column>\n </Grid>\n);";
|
|
8
|
+
export const ResponsiveColumns = () => "export const ResponsiveColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={{ mobile: 12, desktop: 6 }}>\n <Col label=\"12 mobile / 6 desktop\" />\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, desktop: 6 }}>\n <Col color={colColorAlt} label=\"12 mobile / 6 desktop\" />\n </Grid.Column>\n </Grid>\n);";
|
|
9
|
+
export const ResponsiveThreeColumns = () => "export const ResponsiveThreeColumns = () => (\n <Grid gap={8}>\n <Grid.Column size={{ mobile: 12, tablet: 6, desktop: 4 }}>\n <Col label=\"12 mobile / 6 tablet / 4 desktop\" />\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, tablet: 6, desktop: 4 }}>\n <Col color={colColorAlt} label=\"12 mobile / 6 tablet / 4 desktop\" />\n </Grid.Column>\n <Grid.Column size={{ mobile: 12, tablet: 12, desktop: 4 }}>\n <Col label=\"12 mobile / 12 tablet / 4 desktop\" />\n </Grid.Column>\n </Grid>\n);";
|
|
10
|
+
export const WithLargeGap = () => "export const WithLargeGap = () => (\n <Grid gap={24}>\n <Grid.Column size={4}>\n <Col label=\"gap 24\" />\n </Grid.Column>\n <Grid.Column size={4}>\n <Col color={colColorAlt} label=\"gap 24\" />\n </Grid.Column>\n <Grid.Column size={4}>\n <Col label=\"gap 24\" />\n </Grid.Column>\n </Grid>\n);";
|
|
5
11
|
export const storySources = {
|
|
6
|
-
|
|
7
|
-
|
|
12
|
+
TwoEqualColumns,
|
|
13
|
+
AsymmetricColumns,
|
|
14
|
+
ThreeColumns,
|
|
15
|
+
FourColumns,
|
|
16
|
+
FullWidthColumn,
|
|
17
|
+
ResponsiveColumns,
|
|
18
|
+
ResponsiveThreeColumns,
|
|
19
|
+
WithLargeGap,
|
|
8
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alveole/components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Shared UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@testing-library/react-native": "14.0.1",
|
|
44
44
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
45
45
|
"babel-preset-expo": "56.0.17",
|
|
46
|
-
"eslint": "9.39.
|
|
46
|
+
"eslint": "9.39.5",
|
|
47
47
|
"expo": "56.0.17",
|
|
48
48
|
"expo-asset": "56.0.21",
|
|
49
49
|
"expo-document-picker": "56.0.4",
|