@newskit-render/my-account 0.118.0 → 0.121.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 (68) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/Components/Sections/Form/Address/FormAddress.js +8 -8
  3. package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
  4. package/dist/Components/Sections/Form/Landline/Landline.js +1 -1
  5. package/dist/Components/Sections/Form/Landline/Landline.js.map +1 -1
  6. package/dist/Components/Sections/Form/Phone/Phone.js +9 -4
  7. package/dist/Components/Sections/Form/Phone/Phone.js.map +1 -1
  8. package/dist/Components/Sections/Form/Phone/types.d.ts +1 -1
  9. package/dist/Components/Sections/Form/onFormSubmit.js +4 -0
  10. package/dist/Components/Sections/Form/onFormSubmit.js.map +1 -1
  11. package/dist/api/mutateHandler.js +4 -9
  12. package/dist/api/mutateHandler.js.map +1 -1
  13. package/dist/helpers/apiHandlerUtils.d.ts +2 -2
  14. package/dist/helpers/apiHandlerUtils.js +13 -17
  15. package/dist/helpers/apiHandlerUtils.js.map +1 -1
  16. package/dist/index.d.ts +0 -1
  17. package/dist/index.js +1 -3
  18. package/dist/index.js.map +1 -1
  19. package/dist/pages/Error.js +2 -2
  20. package/dist/pages/Error.js.map +1 -1
  21. package/dist/pages/NewslettersAndAlerts.js +2 -2
  22. package/dist/pages/NewslettersAndAlerts.js.map +1 -1
  23. package/dist/pages/PersonalDetails.d.ts +10 -1
  24. package/dist/pages/PersonalDetails.js +13 -13
  25. package/dist/pages/PersonalDetails.js.map +1 -1
  26. package/dist/pages/SubscriptionAndBilling.js +2 -2
  27. package/dist/pages/SubscriptionAndBilling.js.map +1 -1
  28. package/dist/providers/newslettersAndAlertsProvider.js +6 -2
  29. package/dist/providers/newslettersAndAlertsProvider.js.map +1 -1
  30. package/dist/providers/types.d.ts +1 -5
  31. package/dist/queries/getEditField.js +1 -1
  32. package/dist/queries/getEditField.js.map +1 -1
  33. package/dist/queries/getUserProfile.js +1 -1
  34. package/dist/queries/getUserProfile.js.map +1 -1
  35. package/dist/queries/index.d.ts +0 -3
  36. package/dist/queries/index.js +0 -3
  37. package/dist/queries/index.js.map +1 -1
  38. package/dist/queries/mutateCancellation.d.ts +2 -2
  39. package/dist/queries/mutateCancellation.js +2 -5
  40. package/dist/queries/mutateCancellation.js.map +1 -1
  41. package/dist/queries/mutateDisplayName.d.ts +2 -2
  42. package/dist/queries/mutateDisplayName.js +1 -3
  43. package/dist/queries/mutateDisplayName.js.map +1 -1
  44. package/dist/queries/mutatePaymentMethod.d.ts +2 -2
  45. package/dist/queries/mutatePaymentMethod.js +2 -5
  46. package/dist/queries/mutatePaymentMethod.js.map +1 -1
  47. package/dist/queries/mutateUser.d.ts +2 -2
  48. package/dist/queries/mutateUser.js +2 -5
  49. package/dist/queries/mutateUser.js.map +1 -1
  50. package/package.json +15 -5
  51. package/dist/queries/getUserNewsletter.d.ts +0 -1
  52. package/dist/queries/getUserNewsletter.js +0 -11
  53. package/dist/queries/getUserNewsletter.js.map +0 -1
  54. package/dist/queries/mutateAddress.d.ts +0 -2
  55. package/dist/queries/mutateAddress.js +0 -15
  56. package/dist/queries/mutateAddress.js.map +0 -1
  57. package/dist/queries/mutateCustom.d.ts +0 -4
  58. package/dist/queries/mutateCustom.js +0 -15
  59. package/dist/queries/mutateCustom.js.map +0 -1
  60. package/dist/theme/border-radius.json +0 -3
  61. package/dist/theme/colors.json +0 -135
  62. package/dist/theme/fonts.json +0 -162
  63. package/dist/theme/index.d.ts +0 -4
  64. package/dist/theme/index.js +0 -1107
  65. package/dist/theme/index.js.map +0 -1
  66. package/dist/theme/overlays.json +0 -12
  67. package/dist/theme/shadows.json +0 -8
  68. package/dist/theme/typography-presets.json +0 -289
@@ -1,162 +0,0 @@
1
- {
2
- "fontWeight010": 400,
3
- "fontWeight020": 500,
4
- "fontWeight030": 700,
5
- "fontFamily010": {
6
- "fontFamily": "TheSun-Bold",
7
- "cropConfig": {
8
- "top": 8.38,
9
- "bottom": 8
10
- },
11
- "cropAdjustments": {
12
- "{{fonts.fontSize010}}": {
13
- "top": -1,
14
- "bottom": 0
15
- },
16
- "{{fonts.fontSize020}}": {
17
- "top": -1,
18
- "bottom": -1
19
- },
20
- "{{fonts.fontSize030}}": {
21
- "top": -1,
22
- "bottom": -1
23
- },
24
- "{{fonts.fontSize040}}": {
25
- "top": -1,
26
- "bottom": -1
27
- },
28
- "{{fonts.fontSize050}}": {
29
- "top": -1,
30
- "bottom": 0
31
- },
32
- "{{fonts.fontSize060}}": {
33
- "top": -1,
34
- "bottom": 0
35
- },
36
- "{{fonts.fontSize070}}": {
37
- "top": -1,
38
- "bottom": 0
39
- }
40
- }
41
- },
42
- "fontFamily020": {
43
- "fontFamily": "TheSun-HeavyNarrow",
44
- "cropConfig": {
45
- "top": 8.38,
46
- "bottom": 8
47
- },
48
- "cropAdjustments": {
49
- "{{fonts.fontSize020}}": {
50
- "top": -1,
51
- "bottom": -1
52
- },
53
- "{{fonts.fontSize030}}": {
54
- "top": -1,
55
- "bottom": -1
56
- },
57
- "{{fonts.fontSize040}}": {
58
- "top": -1,
59
- "bottom": -1
60
- },
61
- "{{fonts.fontSize050}}": {
62
- "top": -1,
63
- "bottom": 0
64
- },
65
- "{{fonts.fontSize060}}": {
66
- "top": -1,
67
- "bottom": 0
68
- },
69
- "{{fonts.fontSize070}}": {
70
- "top": -1,
71
- "bottom": -1
72
- },
73
- "{{fonts.fontSize080}}": {
74
- "top": -1,
75
- "bottom": 0
76
- },
77
- "{{fonts.fontSize110}}": {
78
- "top": -1,
79
- "bottom": 0
80
- }
81
- }
82
- },
83
- "fontFamily030": {
84
- "fontFamily": "TheSun-Regular",
85
- "cropConfig": {
86
- "top": 8.38,
87
- "bottom": 8
88
- },
89
- "cropAdjustments": {
90
- "{{fonts.fontSize020}}": {
91
- "top": -1,
92
- "bottom": -1
93
- },
94
- "{{fonts.fontSize030}}": {
95
- "top": -1,
96
- "bottom": -1
97
- },
98
- "{{fonts.fontSize040}}": {
99
- "top": -1,
100
- "bottom": -1
101
- },
102
- "{{fonts.fontSize050}}": {
103
- "top": -1,
104
- "bottom": 0
105
- }
106
- }
107
- },
108
- "fontFamily040": {
109
- "fontFamily": "TheSun-Medium",
110
- "cropConfig": {
111
- "top": 8.38,
112
- "bottom": 8
113
- },
114
- "cropAdjustments": {
115
- "{{fonts.fontSize010}}": {
116
- "top": -1,
117
- "bottom": -1
118
- },
119
- "{{fonts.fontSize020}}": {
120
- "top": -1,
121
- "bottom": -1
122
- },
123
- "{{fonts.fontSize030}}": {
124
- "top": -1,
125
- "bottom": -1
126
- },
127
- "{{fonts.fontSize040}}": {
128
- "top": -1,
129
- "bottom": -1
130
- },
131
- "{{fonts.fontSize050}}": {
132
- "top": -1,
133
- "bottom": -1
134
- }
135
- }
136
- },
137
- "fontLetterSpacing010": 0,
138
- "fontSize010": "12px",
139
- "fontSize020": "14px",
140
- "fontSize030": "16px",
141
- "fontSize040": "18px",
142
- "fontSize050": "20px",
143
- "fontSize060": "24px",
144
- "fontSize070": "28px",
145
- "fontSize080": "32px",
146
- "fontSize090": "36px",
147
- "fontSize100": "40px",
148
- "fontSize110": "44px",
149
- "fontLineHeight010": 1.0909090909090908,
150
- "fontLineHeight020": 1.1,
151
- "fontLineHeight030": 1.1111111111111112,
152
- "fontLineHeight040": 1.125,
153
- "fontLineHeight050": 1.1428571428571428,
154
- "fontLineHeight060": 1.1666666666666667,
155
- "fontLineHeight070": 1.2,
156
- "fontLineHeight080": 1.25,
157
- "fontLineHeight090": 1.3333333333333333,
158
- "fontLineHeight100": 1.4285714285714286,
159
- "fontLineHeight110": 1.5,
160
- "fontLineHeight120": 1.6,
161
- "fontLineHeight130": 1.6666666666666667
162
- }
@@ -1,4 +0,0 @@
1
- export declare const accountTheme: import("newskit").UncompiledTheme;
2
- export declare const timesTheme: import("newskit").UncompiledTheme;
3
- export declare const virginRadioTheme: import("newskit").UncompiledTheme;
4
- export declare const theSunTheme: import("newskit").UncompiledTheme;