@alveole/components 2.0.0-alpha.20 → 2.0.0-alpha.22
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/MarkdownDescription/MarkdownDescription.stories.d.ts +1 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.js +9 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.d.ts +2 -0
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/MarkdownDescription.stories.sources.js +2 -0
- package/dist/core/MarkdownDescription/markdownComponents.d.ts.map +1 -1
- package/dist/core/MarkdownDescription/markdownComponents.js +2 -2
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/ui/FormControl/FormControl.stories.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.js +4 -5
- package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.sources.js +4 -4
- package/dist/ui/FormControl/TextInput.d.ts +1 -0
- package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.stories.d.ts +1 -0
- package/dist/ui/FormControl/TextInput.stories.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInput.types.d.ts +2 -0
- package/dist/ui/FormControl/TextInput.types.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.d.ts +1 -0
- package/dist/ui/FormControl/TextInputInline.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputInline.js +2 -2
- package/dist/ui/FormControl/TextInputMirror.d.ts +1 -0
- package/dist/ui/FormControl/TextInputMirror.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputModal.d.ts +1 -0
- package/dist/ui/FormControl/TextInputModal.d.ts.map +1 -1
- package/dist/ui/FormControl/TextInputPassword.d.ts +1 -0
- package/dist/ui/FormControl/TextInputPassword.d.ts.map +1 -1
- package/dist/ui/FormControl/textInputStyles.d.ts +2 -1
- package/dist/ui/FormControl/textInputStyles.d.ts.map +1 -1
- package/dist/ui/FormControl/textInputStyles.js +2 -1
- package/dist/ui/Header/Header.styles.js +1 -1
- package/dist/ui/LucideIcon/catalogueLucide.d.ts +312 -0
- package/dist/ui/LucideIcon/catalogueLucide.d.ts.map +1 -1
- package/dist/ui/LucideIcon/vendor/lab.js +1 -1
- package/dist/ui/LucideIcon/vendor/lucide.d.ts +5318 -4083
- package/dist/ui/LucideIcon/vendor/lucide.js +3 -3
- package/dist/ui/Sidebar/Sidebar.styles.js +1 -1
- package/dist/ui/TextareaInput/TextareaInput.d.ts +1 -0
- package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +2 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.js +3 -5
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts +2 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -1
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +3 -1
- package/package.json +11 -11
|
@@ -108,7 +108,7 @@ const item = ({ color, spacing }) => ({
|
|
|
108
108
|
});
|
|
109
109
|
const etatDeLItem = ({ color, spacing, radius }) => ({
|
|
110
110
|
sidebarItemSelectedDesktop: {
|
|
111
|
-
backgroundColor: color.light.background['
|
|
111
|
+
backgroundColor: color.light.background['default-grey-active'],
|
|
112
112
|
},
|
|
113
113
|
sidebarItemSelectedMobile: {
|
|
114
114
|
borderRadius: radius('lg'),
|
|
@@ -14,6 +14,7 @@ export declare const TextareaInput: React.ForwardRefExoticComponent<Omit<import(
|
|
|
14
14
|
openModal?: boolean;
|
|
15
15
|
modalSubmitLabel?: string;
|
|
16
16
|
onModalSubmit?: () => void;
|
|
17
|
+
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
17
18
|
} & {
|
|
18
19
|
numberOfLines?: number;
|
|
19
20
|
onModalSubmit?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAK7E,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAK7E,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;oBAJR,MAAM;oBACN,MAAM,IAAI;0CAkB1B,CAAC"}
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
openModal?: boolean;
|
|
14
14
|
modalSubmitLabel?: string;
|
|
15
15
|
onModalSubmit?: () => void;
|
|
16
|
+
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
16
17
|
} & {
|
|
17
18
|
numberOfLines?: number;
|
|
18
19
|
onModalSubmit?: () => void;
|
|
@@ -21,5 +22,6 @@ declare const _default: {
|
|
|
21
22
|
};
|
|
22
23
|
export default _default;
|
|
23
24
|
export declare const Default: () => import("react").JSX.Element;
|
|
25
|
+
export declare const Redimensionnable: () => import("react").JSX.Element;
|
|
24
26
|
export * as Sources from './TextareaInput.stories.sources';
|
|
25
27
|
//# sourceMappingURL=TextareaInput.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextareaInput.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCAYnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCAS5B,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '../../core/Box';
|
|
3
|
-
import { FormControl
|
|
4
|
-
import { InputHeading } from '../InputHeading';
|
|
3
|
+
import { FormControl } from '../FormControl';
|
|
5
4
|
import { TextareaInput } from './TextareaInput';
|
|
6
5
|
export default {
|
|
7
6
|
title: 'TextareaInput',
|
|
@@ -11,7 +10,6 @@ export default {
|
|
|
11
10
|
component: TextareaInput,
|
|
12
11
|
styleFn: () => ({}),
|
|
13
12
|
};
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(Champ, { label: "Message", children: _jsx(TextareaInput, { placeholder: "Votre message...", numberOfLines: 4 }) }), _jsx(Champ, { label: "Avec valeur", children: _jsx(TextareaInput, { value: "Contenu du message", numberOfLines: 4 }) }), _jsx(Champ, { label: "D\u00E9sactiv\u00E9", children: _jsx(TextareaInput, { placeholder: "D\u00E9sactiv\u00E9", disabled: true, numberOfLines: 4 }) })] }));
|
|
13
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Message", children: _jsx(TextareaInput, { placeholder: "Votre message...", numberOfLines: 4 }) }), _jsx(FormControl, { label: "Avec valeur", children: _jsx(TextareaInput, { value: "Contenu du message", numberOfLines: 4 }) }), _jsx(FormControl, { label: "D\u00E9sactiv\u00E9", children: _jsx(TextareaInput, { placeholder: "D\u00E9sactiv\u00E9", disabled: true, numberOfLines: 4 }) })] }));
|
|
14
|
+
export const Redimensionnable = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: "3W", children: [_jsx(FormControl, { label: "Verticalement", children: _jsx(TextareaInput, { placeholder: "Tirer le coin pour agrandir...", numberOfLines: 4, resize: "vertical" }) }), _jsx(FormControl, { label: "Dans les deux sens", children: _jsx(TextareaInput, { placeholder: "Tirer le coin pour agrandir...", numberOfLines: 4, resize: "both" }) })] }));
|
|
17
15
|
export * as Sources from './TextareaInput.stories.sources';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const Default: () => string;
|
|
2
|
+
export declare const Redimensionnable: () => string;
|
|
2
3
|
export declare const storySources: {
|
|
3
4
|
readonly Default: () => string;
|
|
5
|
+
readonly Redimensionnable: () => string;
|
|
4
6
|
};
|
|
5
7
|
export type StorySourceName = keyof typeof storySources;
|
|
6
8
|
//# sourceMappingURL=TextareaInput.stories.sources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"TextareaInput.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/TextareaInput/TextareaInput.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAAwgB,CAAC;AAE7hB,eAAO,MAAM,gBAAgB,cAAyd,CAAC;AAEvf,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// This file is generated. Do not edit manually.
|
|
2
2
|
// Source: src/ui/TextareaInput/TextareaInput.stories.tsx
|
|
3
|
-
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Message\">\n <TextareaInput placeholder=\"Votre message...\" numberOfLines={4} />\n </FormControl>\n <FormControl label=\"Avec valeur\">\n <TextareaInput value=\"Contenu du message\" numberOfLines={4} />\n </FormControl>\n <FormControl label=\"Désactivé\">\n <TextareaInput placeholder=\"Désactivé\" disabled numberOfLines={4} />\n </FormControl>\n </Box>\n);";
|
|
4
|
+
export const Redimensionnable = () => "export const Redimensionnable = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap=\"3W\">\n <FormControl label=\"Verticalement\">\n <TextareaInput placeholder=\"Tirer le coin pour agrandir...\" numberOfLines={4} resize=\"vertical\" />\n </FormControl>\n <FormControl label=\"Dans les deux sens\">\n <TextareaInput placeholder=\"Tirer le coin pour agrandir...\" numberOfLines={4} resize=\"both\" />\n </FormControl>\n </Box>\n);";
|
|
4
5
|
export const storySources = {
|
|
5
6
|
Default,
|
|
7
|
+
Redimensionnable,
|
|
6
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alveole/components",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.22",
|
|
4
4
|
"description": "Shared UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"@react-native-community/datetimepicker": "9.2.1",
|
|
29
29
|
"@react-native/jest-preset": "0.88.0",
|
|
30
30
|
"@shopify/flash-list": "2.3.2",
|
|
31
|
-
"@tamagui/core": "3.1.
|
|
32
|
-
"@tamagui/toast": "3.1.
|
|
31
|
+
"@tamagui/core": "3.1.9",
|
|
32
|
+
"@tamagui/toast": "3.1.9",
|
|
33
33
|
"@testing-library/react": "16.3.3",
|
|
34
34
|
"@testing-library/react-native": "14.1.0",
|
|
35
35
|
"@types/react-syntax-highlighter": "15.5.13",
|
|
36
36
|
"babel-preset-expo": "58.0.20",
|
|
37
|
-
"eslint": "10.
|
|
38
|
-
"expo": "58.0.
|
|
37
|
+
"eslint": "10.14.0",
|
|
38
|
+
"expo": "58.0.21",
|
|
39
39
|
"expo-application": "58.1.2",
|
|
40
|
-
"expo-asset": "58.0.
|
|
40
|
+
"expo-asset": "58.0.19",
|
|
41
41
|
"expo-document-picker": "58.0.4",
|
|
42
42
|
"expo-image-picker": "58.0.10",
|
|
43
43
|
"expo-in-app-updates": "0.13.0",
|
|
44
44
|
"expo-linear-gradient": "58.0.3",
|
|
45
|
-
"expo-modules-core": "58.0.
|
|
46
|
-
"expo-router": "58.0.
|
|
47
|
-
"expo-system-ui": "58.0.
|
|
45
|
+
"expo-modules-core": "58.0.28",
|
|
46
|
+
"expo-router": "58.0.28",
|
|
47
|
+
"expo-system-ui": "58.0.7",
|
|
48
48
|
"expo-web-browser": "58.0.7",
|
|
49
49
|
"jest": "29.7.0",
|
|
50
50
|
"jest-environment-jsdom": "30.5.2",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"pdfjs-dist": "6.4.299",
|
|
53
53
|
"react": "19.3.0",
|
|
54
54
|
"react-dom": "19.3.0",
|
|
55
|
-
"react-native": "0.88.
|
|
55
|
+
"react-native": "0.88.1",
|
|
56
56
|
"react-native-keyboard-controller": "1.22.7",
|
|
57
57
|
"react-native-otp-entry": "1.8.6",
|
|
58
58
|
"react-native-web": "0.21.4",
|
|
59
59
|
"react-select": "5.10.2",
|
|
60
60
|
"react-syntax-highlighter": "16.1.2",
|
|
61
|
-
"tamagui": "3.1.
|
|
61
|
+
"tamagui": "3.1.9",
|
|
62
62
|
"test-renderer": "1.3.1"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|