@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.
Files changed (62) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/Components/Sections/ContentListView/types.d.ts +1 -1
  3. package/dist/Components/Sections/Form/Address/FormAddress.d.ts +2 -2
  4. package/dist/Components/Sections/Form/Address/FormAddress.js +1 -2
  5. package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
  6. package/dist/Components/Sections/Form/Address/types.d.ts +1 -2
  7. package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js +2 -7
  8. package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js.map +1 -1
  9. package/dist/Components/Sections/Form/CommentingNotifications/types.d.ts +1 -1
  10. package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js +17 -15
  11. package/dist/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
  12. package/dist/Components/Sections/Form/ConfirmCancellation/types.d.ts +4 -2
  13. package/dist/Components/Sections/Form/DisplayName/DisplayName.d.ts +1 -1
  14. package/dist/Components/Sections/Form/DisplayName/DisplayName.js +4 -3
  15. package/dist/Components/Sections/Form/DisplayName/DisplayName.js.map +1 -1
  16. package/dist/Components/Sections/Form/Email/Email.d.ts +1 -1
  17. package/dist/Components/Sections/Form/Email/Email.js +4 -3
  18. package/dist/Components/Sections/Form/Email/Email.js.map +1 -1
  19. package/dist/Components/Sections/Form/Landline/Landline.d.ts +1 -1
  20. package/dist/Components/Sections/Form/Mobile/Mobile.d.ts +1 -1
  21. package/dist/Components/Sections/Form/Name/FormName.d.ts +1 -1
  22. package/dist/Components/Sections/Form/Name/FormName.js +4 -3
  23. package/dist/Components/Sections/Form/Name/FormName.js.map +1 -1
  24. package/dist/Components/Sections/Form/Password/Password.js +1 -2
  25. package/dist/Components/Sections/Form/Password/Password.js.map +1 -1
  26. package/dist/Components/Sections/Form/Password/types.d.ts +1 -1
  27. package/dist/Components/Sections/Form/Payment/Stripe/index.d.ts +1 -1
  28. package/dist/Components/Sections/Form/Payment/Stripe/index.js.map +1 -1
  29. package/dist/Components/Sections/Form/Phone/Phone.js.map +1 -1
  30. package/dist/Components/Sections/Form/Phone/types.d.ts +1 -1
  31. package/dist/Components/Templates/EditRenderer.d.ts +5 -5
  32. package/dist/Components/Templates/PaymentRenderer.d.ts +1 -1
  33. package/dist/constants/index.d.ts +0 -1
  34. package/dist/constants/index.js +1 -15
  35. package/dist/constants/index.js.map +1 -1
  36. package/dist/context/types.d.ts +1 -4
  37. package/dist/helpers/dataUtils.d.ts +2 -4
  38. package/dist/helpers/dataUtils.js +1 -6
  39. package/dist/helpers/dataUtils.js.map +1 -1
  40. package/dist/pages/Cancellation.js +40 -14
  41. package/dist/pages/Cancellation.js.map +1 -1
  42. package/dist/theme/index.js +10 -0
  43. package/dist/theme/index.js.map +1 -1
  44. package/package.json +3 -3
  45. package/dist/Components/Sections/CancelModal/CancelModal.d.ts +0 -4
  46. package/dist/Components/Sections/CancelModal/CancelModal.js +0 -65
  47. package/dist/Components/Sections/CancelModal/CancelModal.js.map +0 -1
  48. package/dist/Components/Sections/CancelModal/index.d.ts +0 -3
  49. package/dist/Components/Sections/CancelModal/index.js +0 -8
  50. package/dist/Components/Sections/CancelModal/index.js.map +0 -1
  51. package/dist/Components/Sections/CancelModal/types.d.ts +0 -22
  52. package/dist/Components/Sections/CancelModal/types.js +0 -3
  53. package/dist/Components/Sections/CancelModal/types.js.map +0 -1
  54. package/dist/Components/Sections/Form/FormComponent.d.ts +0 -4
  55. package/dist/Components/Sections/Form/FormComponent.js +0 -97
  56. package/dist/Components/Sections/Form/FormComponent.js.map +0 -1
  57. package/dist/Components/Sections/Form/FormGrid.d.ts +0 -7
  58. package/dist/Components/Sections/Form/FormGrid.js +0 -11
  59. package/dist/Components/Sections/Form/FormGrid.js.map +0 -1
  60. package/dist/Components/Sections/Form/types.d.ts +0 -35
  61. package/dist/Components/Sections/Form/types.js +0 -3
  62. 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,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/Components/Sections/Form/types.ts"],"names":[],"mappings":""}