@newskit-render/shared-components 4.61.0 → 4.61.1

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.
@@ -53,7 +53,7 @@ export interface ListItemType {
53
53
  target?: string;
54
54
  label: string;
55
55
  labelIcon?: LabelIcon;
56
- default: string | string[] | BenefitsListItemContent[];
56
+ default: string | string[] | BenefitsListItemContent[] | JSX.Element;
57
57
  labelDescription?: string;
58
58
  valueDescription?: string;
59
59
  valueDescriptionLink?: ListItemDescriptionLink;
@@ -99,7 +99,7 @@ export declare enum HolidayStopStatus {
99
99
  processed = "processed",
100
100
  cancelled = "cancelled"
101
101
  }
102
- export type ItemTypes = 'name' | 'dob' | 'displayName' | 'email' | 'password' | 'mobile' | 'landline' | 'address' | 'subscription' | 'price' | 'customerNumber' | 'subDate' | 'payment' | 'paymentMethods' | 'billDate' | 'amountDue' | 'newsletters' | 'commentingNotifications' | 'contactPreferences' | 'benefits' | 'benefitsV2' | 'deliveryInstructions' | 'holidayStops' | 'billingPostcode' | 'vouchers' | 'vouchersStartDate' | 'paymentHistory' | 'gender';
102
+ export type ItemTypes = 'name' | 'dob' | 'displayName' | 'email' | 'password' | 'mobile' | 'landline' | 'address' | 'subscription' | 'price' | 'customerNumber' | 'subDate' | 'payment' | 'paymentMethods' | 'billDate' | 'amountDue' | 'newsletters' | 'commentingNotifications' | 'contactPreferences' | 'benefits' | 'benefitsV2' | 'deliveryInstructions' | 'holidayStops' | 'billingPostcode' | 'vouchers' | 'vouchersStartDate' | 'paymentHistory' | 'gender' | 'contactMethod';
103
103
  export type EditComponentType = 'likedYourMessage' | 'userMentioned' | 'repliedToMessage';
104
104
  export interface ContentListViewProps {
105
105
  children: React.ReactElement<StructuredListProps> | React.ReactElement<StructuredListProps>[];
@@ -53,7 +53,7 @@ export interface ListItemType {
53
53
  target?: string;
54
54
  label: string;
55
55
  labelIcon?: LabelIcon;
56
- default: string | string[] | BenefitsListItemContent[];
56
+ default: string | string[] | BenefitsListItemContent[] | JSX.Element;
57
57
  labelDescription?: string;
58
58
  valueDescription?: string;
59
59
  valueDescriptionLink?: ListItemDescriptionLink;
@@ -99,7 +99,7 @@ export declare enum HolidayStopStatus {
99
99
  processed = "processed",
100
100
  cancelled = "cancelled"
101
101
  }
102
- export type ItemTypes = 'name' | 'dob' | 'displayName' | 'email' | 'password' | 'mobile' | 'landline' | 'address' | 'subscription' | 'price' | 'customerNumber' | 'subDate' | 'payment' | 'paymentMethods' | 'billDate' | 'amountDue' | 'newsletters' | 'commentingNotifications' | 'contactPreferences' | 'benefits' | 'benefitsV2' | 'deliveryInstructions' | 'holidayStops' | 'billingPostcode' | 'vouchers' | 'vouchersStartDate' | 'paymentHistory' | 'gender';
102
+ export type ItemTypes = 'name' | 'dob' | 'displayName' | 'email' | 'password' | 'mobile' | 'landline' | 'address' | 'subscription' | 'price' | 'customerNumber' | 'subDate' | 'payment' | 'paymentMethods' | 'billDate' | 'amountDue' | 'newsletters' | 'commentingNotifications' | 'contactPreferences' | 'benefits' | 'benefitsV2' | 'deliveryInstructions' | 'holidayStops' | 'billingPostcode' | 'vouchers' | 'vouchersStartDate' | 'paymentHistory' | 'gender' | 'contactMethod';
103
103
  export type EditComponentType = 'likedYourMessage' | 'userMentioned' | 'repliedToMessage';
104
104
  export interface ContentListViewProps {
105
105
  children: React.ReactElement<StructuredListProps> | React.ReactElement<StructuredListProps>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/shared-components",
3
- "version": "4.61.0",
3
+ "version": "4.61.1",
4
4
  "description": "Newskit Render Shared Components",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -106,5 +106,5 @@
106
106
  "@types/react-dom": "18.0.10",
107
107
  "newskit/react-hook-form": "7.20.2"
108
108
  },
109
- "gitHead": "db66e3702b7cc7349f49f066008cfb47fd06588e"
109
+ "gitHead": "400275a99a1207292850cf0dfe84a2add161c468"
110
110
  }