@axa-fr/design-system-look-and-feel-react 1.0.3-alpha.186 → 1.0.3-alpha.189

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.
@@ -1,3 +1,2 @@
1
1
  import "@axa-fr/design-system-look-and-feel-css/dist/List/ClickList/ClickList.scss";
2
2
  export { ClickItem, createClickItemParent } from "./ClickItem";
3
- export { ClickList } from "./ClickList";
@@ -1,3 +1,2 @@
1
1
  import "@axa-fr/design-system-look-and-feel-css/dist/List/ClickList/ClickList.scss";
2
2
  export { ClickItem, createClickItemParent } from "./ClickItem";
3
- export { ClickList } from "./ClickList";
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export { Footer } from "./Layout/Footer/Footer";
22
22
  export { BurgerMenu, Header, NavBar, PreviousLink } from "./Layout/Header";
23
23
  export { Link } from "./Link";
24
24
  export { List } from "./List";
25
- export { ClickItem, ClickList, createClickItemParent } from "./List/ClickList";
25
+ export { ClickItem, createClickItemParent } from "./List/ClickList";
26
26
  export { ContentItemDuo } from "./List/ContentItemDuo";
27
27
  export { ContentItemMono, ContentItemMonoSize } from "./List/ContentItemMono";
28
28
  export { ContentTabItem, ContentTabList } from "./List/ContentTabList";
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ export { Footer } from "./Layout/Footer/Footer";
21
21
  export { BurgerMenu, Header, NavBar, PreviousLink } from "./Layout/Header";
22
22
  export { Link } from "./Link";
23
23
  export { List } from "./List";
24
- export { ClickItem, ClickList, createClickItemParent } from "./List/ClickList";
24
+ export { ClickItem, createClickItemParent } from "./List/ClickList";
25
25
  export { ContentItemDuo } from "./List/ContentItemDuo";
26
26
  export { ContentItemMono, ContentItemMonoSize } from "./List/ContentItemMono";
27
27
  export { ContentTabItem, ContentTabList } from "./List/ContentTabList";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/design-system-look-and-feel-react",
3
- "version": "1.0.3-alpha.186",
3
+ "version": "1.0.3-alpha.189",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -47,10 +47,10 @@
47
47
  },
48
48
  "homepage": "https://github.com/AxaFrance/design-system#readme",
49
49
  "peerDependencies": {
50
- "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.186",
50
+ "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.189",
51
51
  "@material-symbols/svg-400": ">= 0.19.0",
52
52
  "react": ">= 18",
53
- "@axa-fr/design-system-apollo-react": "1.0.3-alpha.186"
53
+ "@axa-fr/design-system-apollo-react": "1.0.3-alpha.189"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@material-symbols/svg-400": {
@@ -1,8 +0,0 @@
1
- import type { ComponentProps } from "react";
2
- import { ClickItem } from "./ClickItem";
3
- type TClickList = {
4
- items: Array<ComponentProps<typeof ClickItem>>;
5
- classModifier?: string;
6
- };
7
- export declare const ClickList: ({ items, classModifier }: TClickList) => import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { List } from "..";
3
- import { ClickItem } from "./ClickItem";
4
- export const ClickList = ({ items, classModifier }) => (_jsx(List, { classModifier: `click-list ${classModifier}`, children: items.map(({ id, ...props }) => (_jsx(ClickItem, { id: id, ...props }, id))) }));