@axa-fr/design-system-apollo-react 1.0.3-alpha.219 → 1.0.3-alpha.220

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/ClickIcon/ClickIconApollo.scss";
2
+ export { ClickIcon } from "./ClickIconCommon";
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/ClickIcon/ClickIconApollo.scss";
2
+ export { ClickIcon } from "./ClickIconCommon";
@@ -0,0 +1,9 @@
1
+ import { ComponentPropsWithRef } from "react";
2
+ import { IconVariants } from "../Icon/IconCommon";
3
+ export type ClickIconProps = ComponentPropsWithRef<"button"> & {
4
+ src: string;
5
+ className?: string;
6
+ iconVariant?: IconVariants;
7
+ iconClassName?: string;
8
+ };
9
+ export declare const ClickIcon: ({ src, className, iconVariant, iconClassName, ...props }: ClickIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "../Icon/IconCommon";
3
+ export const ClickIcon = ({ src, className, iconVariant = "primary", iconClassName, ...props }) => (_jsx("button", { type: "button", className: ["af-click-icon", className].filter(Boolean).join(" "), ...props, children: _jsx(Icon, { src: src, variant: iconVariant, className: iconClassName }) }));
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/ClickIcon/ClickIconLF.scss";
2
+ export { ClickIcon } from "./ClickIconCommon";
@@ -0,0 +1,2 @@
1
+ import "@axa-fr/design-system-apollo-css/dist/ClickIcon/ClickIconLF.scss";
2
+ export { ClickIcon } from "./ClickIconCommon";
@@ -3,7 +3,7 @@ import { Svg } from "../Svg/Svg";
3
3
  export declare const iconVariants: {
4
4
  readonly primary: "primary";
5
5
  readonly secondary: "secondary";
6
- readonly tertiary: "tertiary";
6
+ readonly disabled: "disabled";
7
7
  };
8
8
  export type IconVariants = keyof typeof iconVariants;
9
9
  export declare const iconSizeVariants: {
@@ -5,7 +5,7 @@ import { Svg } from "../Svg/Svg";
5
5
  export const iconVariants = {
6
6
  primary: "primary",
7
7
  secondary: "secondary",
8
- tertiary: "tertiary",
8
+ disabled: "disabled",
9
9
  };
10
10
  export const iconSizeVariants = {
11
11
  L: "large",
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export { TextArea } from "./Form/TextArea/TextAreaApollo";
14
14
  export { TextInput } from "./Form/TextInput/TextInputApollo";
15
15
  export { Icon, iconVariants, type IconVariants, iconSizeVariants, type IconSizeVariants, } from "./Icon/IconApollo";
16
16
  export { Divider } from "./Divider/DividerApollo";
17
+ export { ClickIcon } from "./ClickIcon/ClickIconApollo";
17
18
  export { Toggle } from "./Toggle/ToggleApollo";
18
19
  export { BasePicture } from "./BasePicture/BasePictureApollo";
19
20
  export { Message, messageVariants, type MessageVariants, } from "./Message/MessageApollo";
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ export { TextArea } from "./Form/TextArea/TextAreaApollo";
14
14
  export { TextInput } from "./Form/TextInput/TextInputApollo";
15
15
  export { Icon, iconVariants, iconSizeVariants, } from "./Icon/IconApollo";
16
16
  export { Divider } from "./Divider/DividerApollo";
17
+ export { ClickIcon } from "./ClickIcon/ClickIconApollo";
17
18
  export { Toggle } from "./Toggle/ToggleApollo";
18
19
  export { BasePicture } from "./BasePicture/BasePictureApollo";
19
20
  export { Message, messageVariants, } from "./Message/MessageApollo";
package/dist/indexLF.d.ts CHANGED
@@ -13,6 +13,7 @@ export { TextArea } from "./Form/TextArea/TextAreaLF";
13
13
  export { TextInput } from "./Form/TextInput/TextInputLF";
14
14
  export { Icon, iconVariants, type IconVariants, iconSizeVariants, type IconSizeVariants, } from "./Icon/IconLF";
15
15
  export { Divider } from "./Divider/DividerLF";
16
+ export { ClickIcon } from "./ClickIcon/ClickIconLF";
16
17
  export { Toggle } from "./Toggle/ToggleLF";
17
18
  export { BasePicture } from "./BasePicture/BasePictureLF";
18
19
  export { Message, messageVariants, type MessageVariants, } from "./Message/MessageLF";
package/dist/indexLF.js CHANGED
@@ -13,6 +13,7 @@ export { TextArea } from "./Form/TextArea/TextAreaLF";
13
13
  export { TextInput } from "./Form/TextInput/TextInputLF";
14
14
  export { Icon, iconVariants, iconSizeVariants, } from "./Icon/IconLF";
15
15
  export { Divider } from "./Divider/DividerLF";
16
+ export { ClickIcon } from "./ClickIcon/ClickIconLF";
16
17
  export { Toggle } from "./Toggle/ToggleLF";
17
18
  export { BasePicture } from "./BasePicture/BasePictureLF";
18
19
  export { Message, messageVariants, } from "./Message/MessageLF";
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.219",
3
+ "version": "1.0.3-alpha.220",
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.219",
50
- "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.219",
49
+ "@axa-fr/design-system-apollo-css": "1.0.3-alpha.220",
50
+ "@axa-fr/design-system-look-and-feel-css": "1.0.3-alpha.220",
51
51
  "@material-symbols/svg-400": ">= 0.19.0",
52
52
  "react": ">= 18"
53
53
  },