@newskit-render/my-account 0.115.0 → 0.117.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 +52 -0
- package/README.md +10 -22
- package/dist/Components/Sections/ContentListView/ContentListView.js +1 -1
- package/dist/Components/Sections/ContentListView/ContentListView.js.map +1 -1
- package/dist/Components/Sections/Form/Address/FormAddress.d.ts +0 -6
- package/dist/Components/Sections/Form/Address/FormAddress.js +19 -35
- package/dist/Components/Sections/Form/Address/FormAddress.js.map +1 -1
- package/dist/Components/Sections/Form/Address/isoCodes.js +1 -0
- package/dist/Components/Sections/Form/Address/isoCodes.js.map +1 -1
- package/dist/Components/Sections/Form/Address/types.d.ts +14 -11
- package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js +11 -3
- package/dist/Components/Sections/Form/CancellationReason/CancellationReason.js.map +1 -1
- package/dist/Components/Sections/Form/DisplayName/DisplayName.js.map +1 -1
- package/dist/Components/Sections/Form/Name/FormName.js.map +1 -1
- package/dist/Components/Sections/Form/Password/Password.js +3 -2
- package/dist/Components/Sections/Form/Password/Password.js.map +1 -1
- package/dist/Components/Sections/Form/Password/types.d.ts +2 -2
- package/dist/Components/Sections/Form/onFormSubmit.js +3 -5
- package/dist/Components/Sections/Form/onFormSubmit.js.map +1 -1
- package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.d.ts +7 -1
- package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js +70 -9
- package/dist/Components/Sections/NavigationPrimary/NavigationPrimary.js.map +1 -1
- package/dist/Components/Sections/NavigationPrimary/types.d.ts +5 -1
- package/dist/Components/Templates/EditRenderer.js.map +1 -1
- package/dist/Components/Templates/LayoutTemplate.js +2 -2
- package/dist/Components/Templates/LayoutTemplate.js.map +1 -1
- package/dist/Components/Templates/types.d.ts +1 -0
- package/dist/api/queryHandler.js +1 -3
- package/dist/api/queryHandler.js.map +1 -1
- package/dist/context/types.d.ts +10 -5
- package/dist/getProviderProps.js +5 -8
- package/dist/getProviderProps.js.map +1 -1
- package/dist/helpers/dataUtils.js +12 -14
- package/dist/helpers/dataUtils.js.map +1 -1
- package/dist/helpers/getQuery.js +1 -8
- package/dist/helpers/getQuery.js.map +1 -1
- package/dist/helpers/providerUtils.js +4 -4
- package/dist/helpers/providerUtils.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pages/Cancellation.js +2 -2
- package/dist/pages/Cancellation.js.map +1 -1
- package/dist/pages/EditField.js +44 -6
- package/dist/pages/EditField.js.map +1 -1
- package/dist/pages/NewslettersAndAlerts.js +2 -2
- package/dist/pages/NewslettersAndAlerts.js.map +1 -1
- package/dist/pages/Payment.js +2 -2
- package/dist/pages/Payment.js.map +1 -1
- package/dist/pages/PersonalDetails.js +16 -7
- package/dist/pages/PersonalDetails.js.map +1 -1
- package/dist/pages/SubscriptionAndBilling.js +2 -2
- package/dist/pages/SubscriptionAndBilling.js.map +1 -1
- package/dist/pages/types.d.ts +23 -7
- package/dist/pages/types.js.map +1 -1
- package/dist/providers/editFieldProvider.js +3 -12
- package/dist/providers/editFieldProvider.js.map +1 -1
- package/dist/queries/getEditField.js +1 -1
- package/dist/queries/getEditField.js.map +1 -1
- package/dist/queries/getUserProfile.js +1 -1
- package/dist/queries/getUserProfile.js.map +1 -1
- package/dist/queries/getUserQuery.d.ts +1 -2
- package/dist/queries/getUserQuery.js +5 -9
- package/dist/queries/getUserQuery.js.map +1 -1
- package/dist/queries/getUserSubscription.js +1 -1
- package/dist/queries/getUserSubscription.js.map +1 -1
- package/dist/theme/border-radius.json +3 -0
- package/dist/theme/colors.json +135 -0
- package/dist/theme/fonts.json +162 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.js +978 -1
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/overlays.json +12 -0
- package/dist/theme/shadows.json +8 -0
- package/dist/theme/typography-presets.json +289 -0
- package/package.json +4 -3
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{
|
|
2
|
+
"amber010": "rgba(255, 227, 176, 1)",
|
|
3
|
+
"amber020": "rgba(255, 210, 132, 1)",
|
|
4
|
+
"amber030": "rgba(255, 192, 88, 1)",
|
|
5
|
+
"amber040": "rgba(255, 173, 44, 1)",
|
|
6
|
+
"amber050": "rgba(255, 153, 0, 1)",
|
|
7
|
+
"amber060": "rgba(255, 143, 0, 1)",
|
|
8
|
+
"amber070": "rgba(255, 130, 0, 1)",
|
|
9
|
+
"amber080": "rgba(255, 114, 0, 1)",
|
|
10
|
+
"amber090": "rgba(255, 96, 0, 1)",
|
|
11
|
+
"amber100": "rgba(255, 75, 0, 1)",
|
|
12
|
+
"black": "rgba(10, 10, 10, 1)",
|
|
13
|
+
"white": "rgba(255, 255, 255, 1)",
|
|
14
|
+
"blue010": "rgba(235, 245, 255, 1)",
|
|
15
|
+
"blue020": "rgba(195, 224, 255, 1)",
|
|
16
|
+
"blue030": "rgba(141, 195, 255, 1)",
|
|
17
|
+
"blue040": "rgba(91, 169, 255, 1)",
|
|
18
|
+
"blue050": "rgba(38, 142, 255, 1)",
|
|
19
|
+
"blue060": "rgba(0, 114, 238, 1)",
|
|
20
|
+
"blue070": "rgba(0, 86, 180, 1)",
|
|
21
|
+
"blue080": "rgba(0, 62, 129, 1)",
|
|
22
|
+
"blue090": "rgba(0, 48, 100, 1)",
|
|
23
|
+
"blue100": "rgba(0, 26, 54, 1)",
|
|
24
|
+
"green010": "rgba(220, 252, 220, 1)",
|
|
25
|
+
"green020": "rgba(137, 244, 137, 1)",
|
|
26
|
+
"green030": "rgba(0, 222, 0, 1)",
|
|
27
|
+
"green040": "rgba(0, 193, 0, 1)",
|
|
28
|
+
"green050": "rgba(0, 165, 0, 1)",
|
|
29
|
+
"green060": "rgba(0, 138, 0, 1)",
|
|
30
|
+
"green070": "rgba(0, 104, 0, 1)",
|
|
31
|
+
"green080": "rgba(0, 75, 0, 1)",
|
|
32
|
+
"green090": "rgba(0, 58, 0, 1)",
|
|
33
|
+
"green100": "rgba(0, 31, 0, 1)",
|
|
34
|
+
"neutral010": "rgba(243, 243, 243, 1)",
|
|
35
|
+
"neutral020": "rgba(220, 221, 221, 1)",
|
|
36
|
+
"neutral030": "rgba(190, 191, 191, 1)",
|
|
37
|
+
"neutral040": "rgba(165, 166, 166, 1)",
|
|
38
|
+
"neutral050": "rgba(141, 142, 142, 1)",
|
|
39
|
+
"neutral060": "rgba(117, 119, 119, 1)",
|
|
40
|
+
"neutral070": "rgba(88, 89, 89, 1)",
|
|
41
|
+
"neutral080": "rgba(62, 63, 63, 1)",
|
|
42
|
+
"neutral090": "rgba(48, 48, 48, 1)",
|
|
43
|
+
"neutral100": "rgba(25, 26, 26, 1)",
|
|
44
|
+
"purple010": "rgba(178, 195, 213, 1)",
|
|
45
|
+
"purple020": "rgba(147, 161, 195, 1)",
|
|
46
|
+
"purple030": "rgba(117, 124, 177, 1)",
|
|
47
|
+
"purple040": "rgba(93, 88, 159, 1)",
|
|
48
|
+
"purple050": "rgba(80, 59, 140, 1)",
|
|
49
|
+
"purple060": "rgba(71, 30, 121, 1)",
|
|
50
|
+
"purple070": "rgba(80, 25, 107, 1)",
|
|
51
|
+
"purple080": "rgba(84, 20, 93, 1)",
|
|
52
|
+
"purple090": "rgba(79, 16, 73, 1)",
|
|
53
|
+
"purple100": "rgba(64, 12, 48, 1)",
|
|
54
|
+
"red010": "rgba(251, 242, 240, 1)",
|
|
55
|
+
"red020": "rgba(242, 215, 211, 1)",
|
|
56
|
+
"red030": "rgba(231, 179, 172, 1)",
|
|
57
|
+
"red040": "rgba(221, 147, 138, 1)",
|
|
58
|
+
"red050": "rgba(211, 115, 103, 1)",
|
|
59
|
+
"red060": "rgba(208, 72, 55, 1)",
|
|
60
|
+
"red070": "rgba(178, 20, 0, 1)",
|
|
61
|
+
"red080": "rgba(129, 14, 0, 1)",
|
|
62
|
+
"red090": "rgba(101, 11, 0, 1)",
|
|
63
|
+
"red100": "rgba(57, 6, 0, 1)",
|
|
64
|
+
"socialFacebook": "rgba(24, 119, 242, 1)",
|
|
65
|
+
"socialInstagram": "rgba(195, 42, 163, 1)",
|
|
66
|
+
"socialReddit": "rgba(255, 69, 0, 1)",
|
|
67
|
+
"socialTwitter": "rgba(29, 161, 242, 1)",
|
|
68
|
+
"socialWhatsapp": "rgba(37, 211, 102, 1)",
|
|
69
|
+
"socialYoutube": "rgba(255, 0, 0, 1)",
|
|
70
|
+
"sun010": "rgba(255, 240, 240, 1)",
|
|
71
|
+
"sun020": "rgba(255, 210, 210, 1)",
|
|
72
|
+
"sun030": "rgba(255, 168, 168, 1)",
|
|
73
|
+
"sun040": "rgba(255, 127, 128, 1)",
|
|
74
|
+
"sun050": "rgba(255, 76, 77, 1)",
|
|
75
|
+
"sun060": "rgba(235, 23, 1, 1)",
|
|
76
|
+
"sun070": "rgba(179, 18, 1, 1)",
|
|
77
|
+
"sun080": "rgba(130, 12, 1, 1)",
|
|
78
|
+
"sun090": "rgba(101, 10, 0, 1)",
|
|
79
|
+
"sun100": "rgba(57, 5, 0, 1)",
|
|
80
|
+
"inkBase": "{{colors.neutral090}}",
|
|
81
|
+
"inkBrand010": "{{colors.blue060}}",
|
|
82
|
+
"inkBrand020": "{{colors.sun060}}",
|
|
83
|
+
"inkContrast": "{{colors.neutral100}}",
|
|
84
|
+
"inkInformative": "{{colors.blue060}}",
|
|
85
|
+
"inkInverse": "{{colors.white}}",
|
|
86
|
+
"inkNegative": "{{colors.red060}}",
|
|
87
|
+
"inkNonEssential": "{{colors.neutral030}}",
|
|
88
|
+
"inkNotice": "{{colors.amber050}}",
|
|
89
|
+
"inkPositive": "{{colors.green060}}",
|
|
90
|
+
"inkSubtle": "{{colors.neutral060}}",
|
|
91
|
+
"interface010": "{{colors.white}}",
|
|
92
|
+
"interface020": "{{colors.neutral010}}",
|
|
93
|
+
"interface030": "{{colors.neutral020}}",
|
|
94
|
+
"interface040": "{{colors.neutral030}}",
|
|
95
|
+
"interface050": "{{colors.neutral040}}",
|
|
96
|
+
"interface060": "{{colors.neutral100}}",
|
|
97
|
+
"interfaceBackground": "{{colors.white}}",
|
|
98
|
+
"interfaceBrand010": "{{colors.sun060}}",
|
|
99
|
+
"interfaceBrand020": "{{colors.sun070}}",
|
|
100
|
+
"interfaceInformative010": "{{colors.blue060}}",
|
|
101
|
+
"interfaceInformative020": "{{colors.blue010}}",
|
|
102
|
+
"interfaceNegative010": "{{colors.red060}}",
|
|
103
|
+
"interfaceNegative020": "{{colors.sun010}}",
|
|
104
|
+
"interfaceNeutral010": "{{colors.neutral070}}",
|
|
105
|
+
"interfaceNeutral020": "{{colors.neutral010}}",
|
|
106
|
+
"interfaceNotice010": "{{colors.amber060}}",
|
|
107
|
+
"interfaceNotice020": "{{colors.amber010}}",
|
|
108
|
+
"interfacePositive010": "{{colors.green060}}",
|
|
109
|
+
"interfacePositive020": "{{colors.green010}}",
|
|
110
|
+
"interfaceSkeleton010": "{{colors.neutral010}}",
|
|
111
|
+
"interfaceSkeleton020": "{{colors.neutral020}}",
|
|
112
|
+
"transparent": "transparent",
|
|
113
|
+
"interactiveDisabled010": "{{colors.neutral010}}",
|
|
114
|
+
"interactiveNegative010": "{{colors.red020}}",
|
|
115
|
+
"interactiveNegative020": "{{colors.red030}}",
|
|
116
|
+
"interactiveNegative030": "{{colors.red060}}",
|
|
117
|
+
"interactiveNegative040": "{{colors.red070}}",
|
|
118
|
+
"interactiveNegative050": "{{colors.red080}}",
|
|
119
|
+
"interactivePositive010": "{{colors.green020}}",
|
|
120
|
+
"interactivePositive020": "{{colors.green030}}",
|
|
121
|
+
"interactivePositive030": "{{colors.green060}}",
|
|
122
|
+
"interactivePositive040": "{{colors.green070}}",
|
|
123
|
+
"interactivePositive050": "{{colors.green080}}",
|
|
124
|
+
"interactivePrimary010": "{{colors.blue020}}",
|
|
125
|
+
"interactivePrimary020": "{{colors.blue030}}",
|
|
126
|
+
"interactivePrimary030": "{{colors.blue060}}",
|
|
127
|
+
"interactivePrimary040": "{{colors.blue070}}",
|
|
128
|
+
"interactivePrimary050": "{{colors.blue080}}",
|
|
129
|
+
"interactiveSecondary010": "{{colors.neutral020}}",
|
|
130
|
+
"interactiveSecondary020": "{{colors.neutral030}}",
|
|
131
|
+
"interactiveSecondary030": "{{colors.neutral080}}",
|
|
132
|
+
"interactiveSecondary040": "{{colors.neutral090}}",
|
|
133
|
+
"interactiveSecondary050": "{{colors.neutral100}}",
|
|
134
|
+
"interactiveVisited010": "{{colors.purple060}}"
|
|
135
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
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;
|