@axa-fr/design-system-apollo-react 1.0.3-alpha.208 → 1.0.3-alpha.209

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.
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/BasePicture/BasePictureApollo.scss";
2
+ export { BasePicture } from "./BasePictureCommon";
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/BasePicture/BasePictureApollo.scss";
2
+ export { BasePicture } from "./BasePictureCommon";
@@ -0,0 +1 @@
1
+ export declare const BasePicture: ({ className, src, ...rest }: React.ImgHTMLAttributes<HTMLImageElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useMemo } from "react";
3
+ import logo from "@axa-fr/design-system-look-and-feel-css/logo-axa.svg";
4
+ import { getComponentClassName } from "../utilities/getComponentClassName";
5
+ export const BasePicture = ({ className, src, ...rest }) => {
6
+ const componentClassName = useMemo(() => getComponentClassName("af-basepicture", className), [className]);
7
+ return (_jsx("img", { className: componentClassName, alt: "", src: src || logo, ...rest }));
8
+ };
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/BasePicture/BasePictureLF.scss";
2
+ export { BasePicture } from "./BasePictureCommon";
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/BasePicture/BasePictureLF.scss";
2
+ export { BasePicture } from "./BasePictureCommon";
package/dist/index.d.ts CHANGED
@@ -13,3 +13,4 @@ export { TextInput } from "./Form/TextInput/TextInputApollo";
13
13
  export { Icon, iconVariants, type IconVariants, iconSizeVariants, type IconSizeVariants, } from "./Icon/IconApollo";
14
14
  export { Divider } from "./Divider/DividerApollo";
15
15
  export { Toggle } from "./Toggle/ToggleApollo";
16
+ export { BasePicture } from "./BasePicture/BasePictureApollo";
package/dist/index.js CHANGED
@@ -13,3 +13,4 @@ export { TextInput } from "./Form/TextInput/TextInputApollo";
13
13
  export { Icon, iconVariants, iconSizeVariants, } from "./Icon/IconApollo";
14
14
  export { Divider } from "./Divider/DividerApollo";
15
15
  export { Toggle } from "./Toggle/ToggleApollo";
16
+ export { BasePicture } from "./BasePicture/BasePictureApollo";
package/dist/indexLF.d.ts CHANGED
@@ -12,3 +12,4 @@ export { TextInput } from "./Form/TextInput/TextInputLF";
12
12
  export { Icon, iconVariants, type IconVariants, iconSizeVariants, type IconSizeVariants, } from "./Icon/IconLF";
13
13
  export { Divider } from "./Divider/DividerLF";
14
14
  export { Toggle } from "./Toggle/ToggleLF";
15
+ export { BasePicture } from "./BasePicture/BasePictureLF";
package/dist/indexLF.js CHANGED
@@ -12,3 +12,4 @@ export { TextInput } from "./Form/TextInput/TextInputLF";
12
12
  export { Icon, iconVariants, iconSizeVariants, } from "./Icon/IconLF";
13
13
  export { Divider } from "./Divider/DividerLF";
14
14
  export { Toggle } from "./Toggle/ToggleLF";
15
+ export { BasePicture } from "./BasePicture/BasePictureLF";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/design-system-apollo-react",
3
- "version": "1.0.3-alpha.208",
3
+ "version": "1.0.3-alpha.209",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "homepage": "https://github.com/AxaFrance/design-system#readme",
48
48
  "peerDependencies": {
49
- "@axa-fr/design-system-apollo-css": "1.0.3-alpha.208",
50
- "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.208",
49
+ "@axa-fr/design-system-apollo-css": "1.0.3-alpha.209",
50
+ "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.209",
51
51
  "@material-symbols/svg-400": ">= 0.19.0",
52
52
  "react": ">= 18"
53
53
  },