@4alldigital/foundation-ui--gamma 1.53.0 → 1.53.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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Props } from './SubscriptionManager.types';
3
3
  declare const SubscriptionManager: {
4
- ({ testID, title, children, subscription, plans, changeSubscriptionCallback, pauseSubscriptionCallback, selectedPlanCallback, contactSupportCallback, isLoading, }: Props): React.ReactElement;
4
+ ({ testID, title, children, subscription, plans, changeSubscriptionCallback, pauseSubscriptionCallback, selectedPlanCallback, confirmPlanCallback, isLoading, }: Props): React.ReactElement;
5
5
  displayName: string;
6
6
  };
7
7
  export default SubscriptionManager;
@@ -3,7 +3,7 @@ export interface Props {
3
3
  title?: string;
4
4
  description?: string;
5
5
  children?: React.ReactNode;
6
- subscription: {
6
+ subscription?: {
7
7
  id: string;
8
8
  status: string;
9
9
  plan: string;
@@ -19,8 +19,8 @@ export interface Props {
19
19
  icon?: string;
20
20
  }[];
21
21
  isLoading?: boolean;
22
- changeSubscriptionCallback: (id: string) => void;
23
- pauseSubscriptionCallback: () => void;
24
- contactSupportCallback: () => void;
22
+ changeSubscriptionCallback?: (id: string) => void;
23
+ pauseSubscriptionCallback?: () => void;
25
24
  selectedPlanCallback?: (planId: string) => void;
25
+ confirmPlanCallback?: (planId: string) => void;
26
26
  }
@@ -504,6 +504,14 @@ declare const strings: {
504
504
  RETURN_TO_HOMEPAGE: string;
505
505
  EXPLORE_SITE: string;
506
506
  STILL_NEED_HELP: string;
507
+ SUBSCRIPTON_UPDATED_SUCCESS: string;
508
+ SUBSCRIPTON_UPDATED_FAILED: string;
509
+ SELECT_A_PLAN: string;
510
+ CONFIRM_CHOICE: string;
511
+ PROVIDE_PAYMENT_DETAILS: string;
512
+ SUBSCRIPTON_TRIALING: string;
513
+ NEED_HELP_WITH_SUBSCRIPTION: string;
514
+ CONTACT_SUPPORT: string;
507
515
  };
508
516
  ERRORS: {
509
517
  GENERIC_ERROR: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4alldigital/foundation-ui--gamma",
3
- "version": "1.53.0",
3
+ "version": "1.53.1",
4
4
  "description": "Foundation UI Component library with GAMMA theme. ",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -39,7 +39,7 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "4892e178c64bd6a34eb6013dce686892808bb165",
42
+ "gitHead": "92c685073087f21e78af71caf4306f630c28500c",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.21.5",