@newskit-render/my-account 0.110.0 → 0.113.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.
- package/CHANGELOG.md +49 -0
- package/dist/Components/Sections/ContentListView/types.d.ts +1 -1
- package/dist/Components/Sections/Form/Address/FormAddress.d.ts +2 -2
- package/dist/Components/Sections/Form/Address/FormAddress.js +1 -2
- package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
- package/dist/Components/Sections/Form/Address/types.d.ts +1 -2
- package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js +2 -7
- package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js.map +1 -1
- package/dist/Components/Sections/Form/CommentingNotifications/types.d.ts +1 -1
- package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js +17 -15
- package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
- package/dist/Components/Sections/Form/ConfirmCancellation/types.d.ts +4 -2
- package/dist/Components/Sections/Form/DisplayName/DisplayName.d.ts +1 -1
- package/dist/Components/Sections/Form/DisplayName/DisplayName.js +4 -3
- package/dist/Components/Sections/Form/DisplayName/DisplayName.js.map +1 -1
- package/dist/Components/Sections/Form/Email/Email.d.ts +1 -1
- package/dist/Components/Sections/Form/Email/Email.js +4 -3
- package/dist/Components/Sections/Form/Email/Email.js.map +1 -1
- package/dist/Components/Sections/Form/Landline/Landline.d.ts +1 -1
- package/dist/Components/Sections/Form/Mobile/Mobile.d.ts +1 -1
- package/dist/Components/Sections/Form/Name/FormName.d.ts +1 -1
- package/dist/Components/Sections/Form/Name/FormName.js +4 -3
- package/dist/Components/Sections/Form/Name/FormName.js.map +1 -1
- package/dist/Components/Sections/Form/Password/Password.js +1 -2
- package/dist/Components/Sections/Form/Password/Password.js.map +1 -1
- package/dist/Components/Sections/Form/Password/types.d.ts +1 -1
- package/dist/Components/Sections/Form/Payment/Stripe/index.d.ts +1 -1
- package/dist/Components/Sections/Form/Payment/Stripe/index.js.map +1 -1
- package/dist/Components/Sections/Form/Phone/Phone.js.map +1 -1
- package/dist/Components/Sections/Form/Phone/types.d.ts +1 -1
- package/dist/Components/Templates/EditRenderer.d.ts +5 -5
- package/dist/Components/Templates/PaymentRenderer.d.ts +1 -1
- package/dist/constants/index.d.ts +0 -1
- package/dist/constants/index.js +1 -15
- package/dist/constants/index.js.map +1 -1
- package/dist/context/types.d.ts +1 -4
- package/dist/helpers/dataUtils.d.ts +2 -4
- package/dist/helpers/dataUtils.js +1 -6
- package/dist/helpers/dataUtils.js.map +1 -1
- package/dist/pages/Cancellation.js +40 -14
- package/dist/pages/Cancellation.js.map +1 -1
- package/dist/theme/index.js +10 -0
- package/dist/theme/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/Components/Sections/CancelModal/CancelModal.d.ts +0 -4
- package/dist/Components/Sections/CancelModal/CancelModal.js +0 -65
- package/dist/Components/Sections/CancelModal/CancelModal.js.map +0 -1
- package/dist/Components/Sections/CancelModal/index.d.ts +0 -3
- package/dist/Components/Sections/CancelModal/index.js +0 -8
- package/dist/Components/Sections/CancelModal/index.js.map +0 -1
- package/dist/Components/Sections/CancelModal/types.d.ts +0 -22
- package/dist/Components/Sections/CancelModal/types.js +0 -3
- package/dist/Components/Sections/CancelModal/types.js.map +0 -1
- package/dist/Components/Sections/Form/FormComponent.d.ts +0 -4
- package/dist/Components/Sections/Form/FormComponent.js +0 -97
- package/dist/Components/Sections/Form/FormComponent.js.map +0 -1
- package/dist/Components/Sections/Form/FormGrid.d.ts +0 -7
- package/dist/Components/Sections/Form/FormGrid.js +0 -11
- package/dist/Components/Sections/Form/FormGrid.js.map +0 -1
- package/dist/Components/Sections/Form/types.d.ts +0 -35
- package/dist/Components/Sections/Form/types.js +0 -3
- package/dist/Components/Sections/Form/types.js.map +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const FormGrid: import("@emotion/styled").StyledComponent<import("newskit").GridProps & {
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & {
|
|
5
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export default FormGrid;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
var newskit_1 = require("newskit");
|
|
8
|
-
var FormGrid = (0, newskit_1.styled)(newskit_1.Grid)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-bottom: 224px;\n ", " {\n padding-bottom: 0;\n }\n"], ["\n padding-bottom: 224px;\n ", " {\n padding-bottom: 0;\n }\n"])), (0, newskit_1.getMediaQueryFromTheme)('sm'));
|
|
9
|
-
exports.default = FormGrid;
|
|
10
|
-
var templateObject_1;
|
|
11
|
-
//# sourceMappingURL=FormGrid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormGrid.js","sourceRoot":"","sources":["../../../../src/Components/Sections/Form/FormGrid.ts"],"names":[],"mappings":";;;;;;AAAA,mCAA8D;AAE9D,IAAM,QAAQ,GAAG,IAAA,gBAAM,EAAC,cAAI,CAAC,wIAAA,gCAEzB,EAA4B,mCAG/B,KAHG,IAAA,gCAAsB,EAAC,IAAI,CAAC,CAG/B,CAAA;AACD,kBAAe,QAAQ,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ButtonGroupProps } from '@newskit-render/shared-components';
|
|
2
|
-
import { MQ, InlineMessageProps, TextInputProps } from 'newskit';
|
|
3
|
-
import { Data } from '../../../pages/types';
|
|
4
|
-
export interface InfoPanel extends InlineMessageProps {
|
|
5
|
-
infoPanelCells?: MQ<number>;
|
|
6
|
-
spaceStack?: MQ<string>;
|
|
7
|
-
}
|
|
8
|
-
export interface InputText extends TextInputProps {
|
|
9
|
-
cells?: MQ<number>;
|
|
10
|
-
spaceStack?: MQ<string>;
|
|
11
|
-
stylePreset?: MQ<string>;
|
|
12
|
-
spaceInset?: MQ<string>;
|
|
13
|
-
}
|
|
14
|
-
export interface FormWrapperProps {
|
|
15
|
-
text?: string[];
|
|
16
|
-
textOverriders?: {
|
|
17
|
-
stylePreset?: MQ<string>;
|
|
18
|
-
typographyPreset?: MQ<string>;
|
|
19
|
-
spaceStack?: MQ<string>;
|
|
20
|
-
};
|
|
21
|
-
buttonGroupProps?: ButtonGroupProps;
|
|
22
|
-
inputText?: Omit<InputText, 'label'>;
|
|
23
|
-
data?: Data;
|
|
24
|
-
infoPanel?: InfoPanel;
|
|
25
|
-
}
|
|
26
|
-
export interface EditField {
|
|
27
|
-
value: string | boolean;
|
|
28
|
-
field: string;
|
|
29
|
-
}
|
|
30
|
-
export interface FormProps extends FormWrapperProps {
|
|
31
|
-
validation?: Record<string, any>;
|
|
32
|
-
validationSchemaKey?: string;
|
|
33
|
-
fields: EditField[];
|
|
34
|
-
disable?: boolean;
|
|
35
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/Components/Sections/Form/types.ts"],"names":[],"mappings":""}
|