@axa-fr/design-system-look-and-feel-react 0.2.0-beta.320 → 0.2.0-beta.321
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/List/List.stories.js +10 -35
- package/package.json +2 -2
@@ -1,8 +1,9 @@
|
|
1
|
-
import { jsx as _jsx
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import sync from "@material-symbols/svg-400/outlined/sync-fill.svg";
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import trashIcon from "@material-symbols/svg-400/outlined/delete.svg";
|
3
|
+
import publishedWithChangesIcon from "@material-symbols/svg-400/outlined/published_with_changes-fill.svg";
|
5
4
|
import { Svg } from "../Svg";
|
5
|
+
import { ClickItem } from "./ClickList";
|
6
|
+
import { ContentItemMono } from "./ContentItemMono";
|
6
7
|
import { List } from "./List";
|
7
8
|
const meta = {
|
8
9
|
title: "Components/List",
|
@@ -14,41 +15,15 @@ export const Default = {
|
|
14
15
|
render: ({ classModifier, ...args }) => (_jsx(List, { classModifier: classModifier.join(" "), ...args })),
|
15
16
|
args: {
|
16
17
|
children: [
|
17
|
-
_jsx(
|
18
|
-
_jsx(
|
19
|
-
|
20
|
-
display: "flex",
|
21
|
-
flexDirection: "row",
|
22
|
-
alignItems: "center",
|
23
|
-
gap: "0.5rem",
|
24
|
-
}, children: [_jsx(Svg, { src: sync }), _jsxs("div", { style: {
|
25
|
-
display: "flex",
|
26
|
-
flexDirection: "row",
|
27
|
-
alignItems: "center",
|
28
|
-
justifyContent: "space-between",
|
29
|
-
width: "100%",
|
30
|
-
}, children: [_jsx("span", { children: "Modifier le profil" }), _jsx(Svg, { src: arrow })] })] }, "list-item-3"),
|
31
|
-
_jsx("div", { style: {
|
32
|
-
display: "flex",
|
33
|
-
flexDirection: "row",
|
34
|
-
alignItems: "center",
|
35
|
-
gap: "4rem",
|
36
|
-
}, children: _jsxs("div", { style: {
|
37
|
-
display: "flex",
|
38
|
-
flexDirection: "row",
|
39
|
-
alignItems: "center",
|
40
|
-
gap: "0.5rem",
|
41
|
-
}, children: [_jsx(Svg, { src: trash }), _jsx("span", { children: "Supprimer le profil" })] }) }, "list-element-3"),
|
18
|
+
_jsx(ContentItemMono, { secondaryText: "nom.pr\u00E9nom@mail.fr", children: "Pr\u00E9nom NOM" }, 0),
|
19
|
+
_jsx(ClickItem, { icon: _jsx(Svg, { src: publishedWithChangesIcon }), children: "Modifier le profil" }, 1),
|
20
|
+
_jsx(ClickItem, { icon: _jsx(Svg, { src: trashIcon }), children: "Supprimer le profil" }, 2),
|
42
21
|
],
|
43
|
-
classModifier: [],
|
22
|
+
classModifier: ["first-separator-full-width"],
|
44
23
|
},
|
45
24
|
argTypes: {
|
46
25
|
classModifier: {
|
47
|
-
options: [
|
48
|
-
"large",
|
49
|
-
"first-separator-full-width",
|
50
|
-
"first-separator-full-width",
|
51
|
-
],
|
26
|
+
options: ["large", "first-separator-full-width"],
|
52
27
|
control: { type: "multi-select" },
|
53
28
|
defaultValue: [],
|
54
29
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@axa-fr/design-system-look-and-feel-react",
|
3
|
-
"version": "0.2.0-beta.
|
3
|
+
"version": "0.2.0-beta.321",
|
4
4
|
"description": "",
|
5
5
|
"exports": {
|
6
6
|
".": {
|
@@ -41,7 +41,7 @@
|
|
41
41
|
},
|
42
42
|
"homepage": "https://github.com/AxaFrance/design-system#readme",
|
43
43
|
"peerDependencies": {
|
44
|
-
"@axa-fr/design-system-look-and-feel-css": "0.2.0-beta.
|
44
|
+
"@axa-fr/design-system-look-and-feel-css": "0.2.0-beta.321",
|
45
45
|
"@material-symbols/svg-400": ">= 0.19.0",
|
46
46
|
"react": ">= 18"
|
47
47
|
},
|