@newskit-render/my-account 6.8.2-alpha.1 → 6.9.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.
|
@@ -2,7 +2,7 @@ import { As, FooterContext, NavigationPrimaryProps } from '@newskit-render/share
|
|
|
2
2
|
import { NavigationSecondaryInterface } from '../Components/Sections/NavigationSecondary';
|
|
3
3
|
export declare const baseContext: {
|
|
4
4
|
baseUrl: string;
|
|
5
|
-
pastDueBanner: import("@newskit-render/shared-components
|
|
5
|
+
pastDueBanner: import("@newskit-render/shared-components").PastDueBannerType;
|
|
6
6
|
data: {};
|
|
7
7
|
head: {
|
|
8
8
|
siteTitle: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavigationSecondaryInterface, NavigationSecondarySelected, NavigationSecondaryOverrides } from '../Components/Sections/NavigationSecondary';
|
|
3
3
|
import { ContentContainerProps } from '../Components/Sections/ContentContainer';
|
|
4
|
-
import { As, ListItemType, ListCellProps, ListItemProps, RequestHeaders, TitleOverrides, DescriptionOverrides, FooterContext, FooterContextOverrides, HeaderProps, InputText, NavigationPrimaryProps, ButtonGroupProps, ModalProps } from '@newskit-render/shared-components';
|
|
4
|
+
import { As, ListItemType, ListCellProps, ListItemProps, RequestHeaders, PastDueBannerType, TitleOverrides, DescriptionOverrides, FooterContext, FooterContextOverrides, HeaderProps, InputText, NavigationPrimaryProps, ButtonGroupProps, ModalProps } from '@newskit-render/shared-components';
|
|
5
5
|
import { MQ, InlineMessageProps } from 'newskit';
|
|
6
6
|
import { HeadProps } from '../Components/Elements/Head';
|
|
7
7
|
import { UserData, Data } from '../pages/types';
|
|
@@ -86,19 +86,6 @@ export interface Notice {
|
|
|
86
86
|
phoneNumber?: string;
|
|
87
87
|
button?: string;
|
|
88
88
|
}
|
|
89
|
-
export interface PastDueBannerTreshold {
|
|
90
|
-
firstNotice: number;
|
|
91
|
-
secondNotice: number;
|
|
92
|
-
}
|
|
93
|
-
export interface PastDueBanner {
|
|
94
|
-
firstNotice: Notice;
|
|
95
|
-
secondNotice: Notice;
|
|
96
|
-
terminated: Notice;
|
|
97
|
-
cancelled: Notice;
|
|
98
|
-
toBeCancelled: Notice;
|
|
99
|
-
toBeCancelledWithRefund: Notice;
|
|
100
|
-
treshold: PastDueBannerTreshold;
|
|
101
|
-
}
|
|
102
89
|
export interface ContextProviderProps {
|
|
103
90
|
children: ReactNode;
|
|
104
91
|
context: ContextOptions;
|
|
@@ -118,7 +105,7 @@ export declare enum ContextName {
|
|
|
118
105
|
}
|
|
119
106
|
export interface BaseContextOptions {
|
|
120
107
|
navigationPrimary: NavigationPrimaryProps;
|
|
121
|
-
pastDueBanner?:
|
|
108
|
+
pastDueBanner?: PastDueBannerType;
|
|
122
109
|
baseUrl: string;
|
|
123
110
|
head: HeadProps;
|
|
124
111
|
header: HeaderProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":";;;AAmIA,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,0CAA6B,CAAA;IAC7B,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;IACjB,gDAAmC,CAAA;AACrC,CAAC,EAXW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAWtB;AA+FD,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;AACnB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,mCAAe,CAAA;IACf,6CAAyB,CAAA;AAC3B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
|
|
@@ -2,7 +2,7 @@ import { As, FooterContext, NavigationPrimaryProps } from '@newskit-render/share
|
|
|
2
2
|
import { NavigationSecondaryInterface } from '../Components/Sections/NavigationSecondary';
|
|
3
3
|
export declare const baseContext: {
|
|
4
4
|
baseUrl: string;
|
|
5
|
-
pastDueBanner: import("@newskit-render/shared-components
|
|
5
|
+
pastDueBanner: import("@newskit-render/shared-components").PastDueBannerType;
|
|
6
6
|
data: {};
|
|
7
7
|
head: {
|
|
8
8
|
siteTitle: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { NavigationSecondaryInterface, NavigationSecondarySelected, NavigationSecondaryOverrides } from '../Components/Sections/NavigationSecondary';
|
|
3
3
|
import { ContentContainerProps } from '../Components/Sections/ContentContainer';
|
|
4
|
-
import { As, ListItemType, ListCellProps, ListItemProps, RequestHeaders, TitleOverrides, DescriptionOverrides, FooterContext, FooterContextOverrides, HeaderProps, InputText, NavigationPrimaryProps, ButtonGroupProps, ModalProps } from '@newskit-render/shared-components';
|
|
4
|
+
import { As, ListItemType, ListCellProps, ListItemProps, RequestHeaders, PastDueBannerType, TitleOverrides, DescriptionOverrides, FooterContext, FooterContextOverrides, HeaderProps, InputText, NavigationPrimaryProps, ButtonGroupProps, ModalProps } from '@newskit-render/shared-components';
|
|
5
5
|
import { MQ, InlineMessageProps } from 'newskit';
|
|
6
6
|
import { HeadProps } from '../Components/Elements/Head';
|
|
7
7
|
import { UserData, Data } from '../pages/types';
|
|
@@ -86,19 +86,6 @@ export interface Notice {
|
|
|
86
86
|
phoneNumber?: string;
|
|
87
87
|
button?: string;
|
|
88
88
|
}
|
|
89
|
-
export interface PastDueBannerTreshold {
|
|
90
|
-
firstNotice: number;
|
|
91
|
-
secondNotice: number;
|
|
92
|
-
}
|
|
93
|
-
export interface PastDueBanner {
|
|
94
|
-
firstNotice: Notice;
|
|
95
|
-
secondNotice: Notice;
|
|
96
|
-
terminated: Notice;
|
|
97
|
-
cancelled: Notice;
|
|
98
|
-
toBeCancelled: Notice;
|
|
99
|
-
toBeCancelledWithRefund: Notice;
|
|
100
|
-
treshold: PastDueBannerTreshold;
|
|
101
|
-
}
|
|
102
89
|
export interface ContextProviderProps {
|
|
103
90
|
children: ReactNode;
|
|
104
91
|
context: ContextOptions;
|
|
@@ -118,7 +105,7 @@ export declare enum ContextName {
|
|
|
118
105
|
}
|
|
119
106
|
export interface BaseContextOptions {
|
|
120
107
|
navigationPrimary: NavigationPrimaryProps;
|
|
121
|
-
pastDueBanner?:
|
|
108
|
+
pastDueBanner?: PastDueBannerType;
|
|
122
109
|
baseUrl: string;
|
|
123
110
|
head: HeadProps;
|
|
124
111
|
header: HeaderProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/context/types.ts"],"names":[],"mappings":"AAmIA,MAAM,CAAN,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,kDAAqC,CAAA;IACrC,gEAAmD,CAAA;IACnD,0CAA6B,CAAA;IAC7B,4DAA+C,CAAA;IAC/C,kCAAqB,CAAA;IACrB,sCAAyB,CAAA;IACzB,oCAAuB,CAAA;IACvB,4CAA+B,CAAA;IAC/B,8BAAiB,CAAA;IACjB,gDAAmC,CAAA;AACrC,CAAC,EAXW,WAAW,KAAX,WAAW,QAWtB;AA+FD,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;AACnB,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAED,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,mCAAe,CAAA;IACf,6CAAyB,CAAA;AAC3B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/my-account",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0",
|
|
4
4
|
"description": "Newskit Render",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@emotion/styled": "11.9.3",
|
|
35
35
|
"@hookform/resolvers": "2.9.10",
|
|
36
36
|
"@newskit-render/api": "^1.6.8",
|
|
37
|
-
"@newskit-render/shared-components": "^3.12.0
|
|
37
|
+
"@newskit-render/shared-components": "^3.12.0",
|
|
38
38
|
"@newskit-render/validation": "^1.8.0",
|
|
39
39
|
"@stripe/react-stripe-js": "1.4.1",
|
|
40
40
|
"@stripe/stripe-js": "1.46.0",
|