@maxio-com/self-service 1.4.2 → 1.5.0

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.
Files changed (17) hide show
  1. package/dist/maxio-components.cjs.js +1 -1
  2. package/dist/maxio-components.esm.js +1 -1
  3. package/dist/maxio-components.umd.js +69 -14
  4. package/package.json +1 -1
  5. package/typings/packages/custom-ui-components/src/components/molecules/Alert/Alert.d.ts +5 -2
  6. package/typings/packages/custom-ui-components/src/components/molecules/Alert/Alert.styles.d.ts +0 -1
  7. package/typings/packages/custom-ui-components/src/components/molecules/Alert/components/Title.d.ts +8 -0
  8. package/typings/packages/custom-ui-components/src/components/molecules/Alert/components/Title.styles.d.ts +2 -0
  9. package/typings/packages/custom-ui-components/src/components/molecules/Alert/components/index.d.ts +2 -1
  10. package/typings/packages/custom-ui-components/src/components/molecules/DatePicker/DatePicker.styles.d.ts +0 -1
  11. package/typings/packages/icons/src/Icon.styles.d.ts +1 -1
  12. package/typings/packages/subscriptions-manager/src/components/PlanChangeAlerts/PlanChangeAlerts.d.ts +2 -1
  13. package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/PlanChangeSummary.d.ts +5 -2
  14. package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/components/NonProratedColumns.d.ts +10 -0
  15. package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/components/ProratedColumns.d.ts +8 -0
  16. package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/components/index.d.ts +2 -0
  17. package/typings/packages/subscriptions-manager/src/containers/PreviewProductMigrationContainer/PreviewProductMigrationContainer.d.ts +2 -1
@@ -3,4 +3,3 @@ export declare const Container: import("styled-components").StyledComponent<"div
3
3
  color: Color;
4
4
  size: Size;
5
5
  }, never>;
6
- export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, import("styled-system").MarginProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").PaddingProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").JustifyContentProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>, never>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { IconType } from "../../../../../../icons/src";
3
+ declare type Props = {
4
+ text: string;
5
+ icon?: IconType;
6
+ };
7
+ export declare const Title: ({ text, icon }: Props) => JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { GridProps } from 'styled-system';
2
+ export declare const TitleWrapper: import("styled-components").StyledComponent<"div", any, GridProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>, never>;
@@ -1,2 +1,3 @@
1
1
  import { TextMessage } from './TextMessage';
2
- export { TextMessage };
2
+ import { Title } from './Title';
3
+ export { TextMessage, Title };
@@ -1,5 +1,4 @@
1
1
  import { Theme } from '../../../themeBase';
2
- export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const DatePickerStyles: import("styled-components").GlobalStyleComponent<{
4
3
  theme: Theme;
5
4
  }, import("styled-components").DefaultTheme>;
@@ -1,4 +1,4 @@
1
1
  import { ColorProps } from 'styled-system';
2
- export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {
2
+ export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {
3
3
  size: number;
4
4
  } & ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
@@ -5,6 +5,7 @@ declare type Props = {
5
5
  nextBillingDate: string;
6
6
  basePlanPrice: string;
7
7
  totalCharge: string;
8
+ creditBalance: string;
8
9
  };
9
- export declare const PlanChangeAlerts: ({ basePlanPrice, productChangeStrategy, nextBillingDate, totalCharge, }: Props) => JSX.Element;
10
+ export declare const PlanChangeAlerts: ({ basePlanPrice, productChangeStrategy, nextBillingDate, totalCharge, creditBalance, }: Props) => JSX.Element;
10
11
  export {};
@@ -1,11 +1,14 @@
1
1
  /// <reference types="react" />
2
+ import { ProductChangeStrategy } from '../../machines/changePlan/index';
2
3
  declare type Props = {
3
4
  productName: string;
4
5
  basePlanPrice: string;
5
- isProrated: boolean;
6
+ productChangeStrategy: ProductChangeStrategy;
6
7
  existingBalance: string;
7
8
  billingEndDate: string;
8
9
  nextBillingAmount: string;
10
+ proratedCreditAmount: string;
11
+ currentProductName: string;
9
12
  };
10
- export declare const PlanChangeSummary: ({ productName, basePlanPrice, isProrated, existingBalance, billingEndDate, nextBillingAmount, }: Props) => JSX.Element;
13
+ export declare const PlanChangeSummary: ({ productName, basePlanPrice, productChangeStrategy, existingBalance, billingEndDate, nextBillingAmount, currentProductName, proratedCreditAmount, }: Props) => JSX.Element;
11
14
  export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare type Props = {
3
+ existingBalance: string;
4
+ billingEndDate: string;
5
+ nextBillingAmount: string;
6
+ productName: string;
7
+ isImmediate: boolean;
8
+ };
9
+ export declare const NonProratedColumns: ({ existingBalance, productName, billingEndDate, nextBillingAmount, isImmediate, }: Props) => JSX.Element;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare type Props = {
3
+ productName: string;
4
+ billingEndDate: string;
5
+ proratedCreditAmount: string;
6
+ };
7
+ export declare const ProratedColumns: ({ proratedCreditAmount, productName, billingEndDate, }: Props) => JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ export { ProratedColumns } from './ProratedColumns';
2
+ export { NonProratedColumns } from './NonProratedColumns';
@@ -4,6 +4,7 @@ import { ChangePlanInterpreter } from '../../machines/changePlan/types';
4
4
  declare type Props = {
5
5
  changePlanService: ChangePlanInterpreter;
6
6
  currency: Currency;
7
+ currentProductName: string;
7
8
  };
8
- export declare const PreviewProductMigrationContainer: ({ changePlanService, currency, }: Props) => JSX.Element;
9
+ export declare const PreviewProductMigrationContainer: ({ changePlanService, currency, currentProductName, }: Props) => JSX.Element;
9
10
  export {};