@axa-fr/canopee-react 2.0.1-alpha.13 → 2.0.1-alpha.14

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,10 +1,10 @@
1
- import { type ComponentProps, type ComponentPropsWithRef, type ComponentType } from "react";
1
+ import { type ComponentProps, type ComponentPropsWithRef, type ComponentType, type ReactNode } from "react";
2
2
  import type { GridContainerProps } from "../../utilities/types/GridContainerProps";
3
3
  import { ItemLabelCommon, type ItemLabelProps } from "../ItemLabel/ItemLabelCommon";
4
4
  import { type ItemMessageProps } from "../ItemMessage/ItemMessage";
5
5
  export type TextAreaProps = ComponentPropsWithRef<"textarea"> & {
6
6
  label?: ItemLabelProps["children"];
7
- helper?: string;
7
+ helper?: ReactNode;
8
8
  containerProps?: GridContainerProps;
9
9
  } & Pick<ItemLabelProps, "description" | "moreButtonLabel" | "onMoreButtonClick" | "sideButtonLabel" | "onSideButtonClick"> & Pick<ItemMessageProps, "message" | "messageType">;
10
10
  type TextAreaCommonProps = TextAreaProps & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/canopee-react",
3
- "version": "2.0.1-alpha.13",
3
+ "version": "2.0.1-alpha.14",
4
4
  "description": "Package React - Design System Canopée",
5
5
  "type": "module",
6
6
  "exports": {
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "homepage": "https://github.com/AxaFrance/design-system#readme",
56
56
  "peerDependencies": {
57
- "@axa-fr/canopee-css": "2.0.1-alpha.13",
57
+ "@axa-fr/canopee-css": "2.0.1-alpha.14",
58
58
  "@material-symbols/svg-400": ">= 0.19.0",
59
59
  "@material-symbols/svg-700": ">= 0.19.0",
60
60
  "react": ">= 19"