@newskit-render/my-account 0.118.0 → 0.119.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 +11 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/pages/Error.js +2 -2
- package/dist/pages/Error.js.map +1 -1
- package/dist/pages/NewslettersAndAlerts.js +2 -2
- package/dist/pages/NewslettersAndAlerts.js.map +1 -1
- package/dist/pages/SubscriptionAndBilling.js +2 -2
- package/dist/pages/SubscriptionAndBilling.js.map +1 -1
- package/package.json +1 -1
- package/dist/theme/border-radius.json +0 -3
- package/dist/theme/colors.json +0 -135
- package/dist/theme/fonts.json +0 -162
- package/dist/theme/index.d.ts +0 -4
- package/dist/theme/index.js +0 -1107
- package/dist/theme/index.js.map +0 -1
- package/dist/theme/overlays.json +0 -12
- package/dist/theme/shadows.json +0 -8
- package/dist/theme/typography-presets.json +0 -289
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.119.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/my-account@0.118.0...@newskit-render/my-account@0.119.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PPDSR-605:** remove unused theme folders ([#552](https://github.com/newscorp-ghfb/ncu-newskit-render/issues/552)) ([47fe584](https://github.com/newscorp-ghfb/ncu-newskit-render/commit/47fe584f2ac3c7c5f772764ad3071fcbf6209a3f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.118.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/my-account@0.117.1...@newskit-render/my-account@0.118.0) (2022-01-06)
|
|
7
18
|
|
|
8
19
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from './pages/SubscriptionAndBilling';
|
|
|
6
6
|
export * from './pages/NewslettersAndAlerts';
|
|
7
7
|
export * from './pages/Error';
|
|
8
8
|
export * from './api';
|
|
9
|
-
export { accountTheme } from './theme';
|
|
10
9
|
export * from './pages/Cancellation';
|
|
11
10
|
export { ContextOptions } from './context';
|
|
12
11
|
export { componentMap } from './Components/Templates';
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.PaymentProvider = exports.filterSubscriptions = exports.PastDueBannerExternal = exports.componentMap =
|
|
13
|
+
exports.PaymentProvider = exports.filterSubscriptions = exports.PastDueBannerExternal = exports.componentMap = void 0;
|
|
14
14
|
__exportStar(require("./pages/PersonalDetails"), exports);
|
|
15
15
|
__exportStar(require("./pages/EditField"), exports);
|
|
16
16
|
__exportStar(require("./pages/Payment"), exports);
|
|
@@ -19,8 +19,6 @@ __exportStar(require("./pages/SubscriptionAndBilling"), exports);
|
|
|
19
19
|
__exportStar(require("./pages/NewslettersAndAlerts"), exports);
|
|
20
20
|
__exportStar(require("./pages/Error"), exports);
|
|
21
21
|
__exportStar(require("./api"), exports);
|
|
22
|
-
var theme_1 = require("./theme");
|
|
23
|
-
Object.defineProperty(exports, "accountTheme", { enumerable: true, get: function () { return theme_1.accountTheme; } });
|
|
24
22
|
__exportStar(require("./pages/Cancellation"), exports);
|
|
25
23
|
var Templates_1 = require("./Components/Templates");
|
|
26
24
|
Object.defineProperty(exports, "componentMap", { enumerable: true, get: function () { return Templates_1.componentMap; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,0DAAuC;AACvC,oDAAiC;AACjC,kDAA+B;AAC/B,qDAAkC;AAClC,iEAA8C;AAC9C,+DAA4C;AAC5C,gDAA6B;AAC7B,wCAAqB;AACrB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,0DAAuC;AACvC,oDAAiC;AACjC,kDAA+B;AAC/B,qDAAkC;AAClC,iEAA8C;AAC9C,+DAA4C;AAC5C,gDAA6B;AAC7B,wCAAqB;AACrB,uDAAoC;AAEpC,oDAAqD;AAA5C,yGAAA,YAAY,OAAA;AACrB,2CAAoD;AAA3C,mHAAA,qBAAqB,OAAA;AAC9B,qCAA+C;AAAtC,8GAAA,mBAAmB,OAAA;AAC5B,uCAA+C;AAAtC,wGAAA,eAAe,OAAA"}
|
package/dist/pages/Error.js
CHANGED
|
@@ -18,7 +18,7 @@ exports.GenericError = exports.NotFound = exports.GenericErrorContext = exports.
|
|
|
18
18
|
var react_1 = __importDefault(require("react"));
|
|
19
19
|
var Templates_1 = __importDefault(require("../Components/Templates"));
|
|
20
20
|
var shared_components_1 = require("@newskit-render/shared-components");
|
|
21
|
-
var
|
|
21
|
+
var shared_components_2 = require("@newskit-render/shared-components");
|
|
22
22
|
var constants_1 = require("../constants");
|
|
23
23
|
var helpers_1 = require("../helpers");
|
|
24
24
|
var notFoundtitle = 'Page not found';
|
|
@@ -93,7 +93,7 @@ var Error = function (_a) {
|
|
|
93
93
|
if (context && context.header && context.header.backButton) {
|
|
94
94
|
context.header.backButton.href = (0, helpers_1.replaceBaseURL)(context.header.backButton.href, constants_1.FALLBACK_URL_REPLACEMENT.home);
|
|
95
95
|
}
|
|
96
|
-
return (react_1.default.createElement(Templates_1.default, { footer: true, context: context, customTheme: customTheme ||
|
|
96
|
+
return (react_1.default.createElement(Templates_1.default, { footer: true, context: context, customTheme: customTheme || shared_components_2.sharedTheme },
|
|
97
97
|
react_1.default.createElement(shared_components_1.HeaderReverse, __assign({}, context === null || context === void 0 ? void 0 : context.header))));
|
|
98
98
|
};
|
|
99
99
|
var NotFound = function (_a) {
|
package/dist/pages/Error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error.js","sourceRoot":"","sources":["../../src/pages/Error.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,sEAA4C;AAC5C,uEAAiE;AAGjE,
|
|
1
|
+
{"version":3,"file":"Error.js","sourceRoot":"","sources":["../../src/pages/Error.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,sEAA4C;AAC5C,uEAAiE;AAGjE,uEAA+E;AAC/E,0CAAiE;AACjE,sCAA2C;AAE3C,IAAM,aAAa,GAAG,gBAAgB,CAAA;AACtC,IAAM,iBAAiB,GAAG,sBAAsB,CAAA;AAEnC,QAAA,eAAe,GAAmB;IAC7C,OAAO,EAAE,oBAAQ;IACjB,IAAI,EAAE;QACJ,SAAS,EAAE,aAAa;KACzB;IACD,MAAM,EAAE;QACN,KAAK,EAAE;YACL,GAAG,EAAE,oCAAoC;YACzC,GAAG,EAAE,EAAE;SACR;QACD,KAAK,EAAE,aAAa;QACpB,cAAc,EAAE;YACd,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;SAC/C;QACD,WAAW,EACT,mIAAmI;QACrI,oBAAoB,EAAE;YACpB,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;SAC/C;QACD,UAAU,EAAE,UAAU;QACtB,UAAU,EAAE;YACV,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,oBAAQ;YACd,YAAY,EAAE,MAAM;SACrB;QACD,mBAAmB,EAAE;YACnB,UAAU,EAAE,EAAE,EAAE,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AAC,IAAI,EAC9B,oCAAwB,CAAC,IAAI,CAC9B,CAAA;KACF;IACD,OAAO,CACL,8BAAC,mBAAM,IACL,MAAM,QACN,OAAO,EAAE,OAAyB,EAClC,WAAW,EAAE,WAAW,IAAI,+BAAY;QAExC,8BAAC,iCAAa,eAAK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAI,CAC/B,CACV,CAAA;AACH,CAAC,CAAA;AAEM,IAAM,QAAQ,GAA4B,UAAC,EAAwB;QAAtB,WAAW,iBAAA,EAAE,OAAO,aAAA;IACtE,IAAM,WAAW,GAAG,OAAO,IAAI,uBAAe,CAAA;IAC9C,OAAO,8BAAC,KAAK,IAAC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,GAAI,CAAA;AAClE,CAAC,CAAA;AAHY,QAAA,QAAQ,YAGpB;AAEM,IAAM,YAAY,GAA4B,UAAC,EAGrD;QAFC,WAAW,iBAAA,EACX,OAAO,aAAA;IAEP,IAAM,WAAW,GAAG,OAAO,IAAI,2BAAmB,CAAA;IAClD,OAAO,8BAAC,KAAK,IAAC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,GAAI,CAAA;AAClE,CAAC,CAAA;AANY,QAAA,YAAY,gBAMxB"}
|
|
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.NewslettersAndAlerts = exports.NewslettersAndAlertsContext = void 0;
|
|
37
37
|
var react_1 = __importDefault(require("react"));
|
|
38
38
|
var Templates_1 = __importStar(require("../Components/Templates"));
|
|
39
|
-
var
|
|
39
|
+
var shared_components_1 = require("@newskit-render/shared-components");
|
|
40
40
|
var PastDueBanner_1 = require("../Components/Elements/PastDueBanner");
|
|
41
41
|
var title = 'Newsletters & Alerts';
|
|
42
42
|
exports.NewslettersAndAlertsContext = {
|
|
@@ -94,7 +94,7 @@ exports.NewslettersAndAlertsContext = {
|
|
|
94
94
|
var NewslettersAndAlerts = function (_a) {
|
|
95
95
|
var customTheme = _a.customTheme, setTheme = _a.setTheme, context = _a.context, user = _a.user;
|
|
96
96
|
var c = __assign(__assign({}, (context || exports.NewslettersAndAlertsContext)), { userData: user });
|
|
97
|
-
return (react_1.default.createElement(Templates_1.default, { sidebar: true, footer: true, context: c, customTheme: customTheme ||
|
|
97
|
+
return (react_1.default.createElement(Templates_1.default, { sidebar: true, footer: true, context: c, customTheme: customTheme || shared_components_1.sharedTheme, setTheme: setTheme },
|
|
98
98
|
react_1.default.createElement(Templates_1.DisplayRenderer, null)));
|
|
99
99
|
};
|
|
100
100
|
exports.NewslettersAndAlerts = NewslettersAndAlerts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewslettersAndAlerts.js","sourceRoot":"","sources":["../../src/pages/NewslettersAndAlerts.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,mEAAiE;AAGjE,
|
|
1
|
+
{"version":3,"file":"NewslettersAndAlerts.js","sourceRoot":"","sources":["../../src/pages/NewslettersAndAlerts.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,mEAAiE;AAGjE,uEAA+E;AAC/E,sEAAkF;AAElF,IAAM,KAAK,GAAG,sBAAsB,CAAA;AAEvB,QAAA,2BAA2B,GAAmB;IACzD,IAAI,EAAE;QACJ,SAAS,EAAE,KAAK;KACjB;IACD,aAAa,EAAE,2CAA2B;IAC1C,MAAM,EAAE;QACN,KAAK,OAAA;QACL,WAAW,EACT,2EAA2E;QAC7E,oBAAoB,EAAE;YACpB,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;SAC/C;QACD,KAAK,EAAE;YACL,GAAG,EAAE,oCAAoC;YACzC,GAAG,EAAE,EAAE;SACR;KACF;IACD,eAAe,EAAE,wBAAwB;IACzC,QAAQ,EAAE;QACR;YACE,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE;gBACL,SAAS,EAAE,2BAA2B;gBACtC,KAAK,EAAE;oBACL;wBACE,KAAK,EAAE,aAAa;wBACpB,gBAAgB,EACd,gJAAgJ;wBAClJ,OAAO,EAAE,EAAE;wBACX,SAAS,EAAE,aAAa;wBACxB,IAAI,EAAE,GAAG;wBACT,IAAI,EAAE,UAAU;qBACjB;oBACD;wBACE,KAAK,EAAE,0BAA0B;wBACjC,gBAAgB,EACd,4JAA4J;wBAC9J,OAAO,EAAE,EAAE;wBACX,SAAS,EAAE,0BAA0B;wBACrC,IAAI,EAAE,yCAAyC;wBAC/C,IAAI,EAAE,UAAU;qBACjB;oBACD;wBACE,KAAK,EAAE,qBAAqB;wBAC5B,gBAAgB,EACd,qJAAqJ;wBACvJ,OAAO,EAAE,EAAE;wBACX,SAAS,EAAE,qBAAqB;wBAChC,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,GAAG;qBACV;iBACF;aACF;SACF;KACF;CACF,CAAA;AAEM,IAAM,oBAAoB,GAAwC,UAAC,EAKzE;QAJC,WAAW,iBAAA,EACX,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,IAAI,UAAA;IAEJ,IAAM,CAAC,yBACF,CAAC,OAAO,IAAI,mCAA2B,CAAC,KAC3C,QAAQ,EAAE,IAAI,GACf,CAAA;IACD,OAAO,CACL,8BAAC,mBAAM,IACL,OAAO,QACP,MAAM,QACN,OAAO,EAAE,CAAC,EACV,WAAW,EAAE,WAAW,IAAI,+BAAY,EACxC,QAAQ,EAAE,QAAQ;QAElB,8BAAC,2BAAe,OAAG,CACZ,CACV,CAAA;AACH,CAAC,CAAA;AArBY,QAAA,oBAAoB,wBAqBhC"}
|
|
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.SubscriptionAndBilling = exports.SubscriptionAndBillingContext = void 0;
|
|
37
37
|
var react_1 = __importStar(require("react"));
|
|
38
38
|
var Templates_1 = __importStar(require("../Components/Templates"));
|
|
39
|
-
var
|
|
39
|
+
var shared_components_1 = require("@newskit-render/shared-components");
|
|
40
40
|
var PastDueBanner_1 = require("../Components/Elements/PastDueBanner");
|
|
41
41
|
var router_1 = require("next/router");
|
|
42
42
|
var newskit_1 = require("newskit");
|
|
@@ -163,7 +163,7 @@ var SubscriptionAndBilling = function (_a) {
|
|
|
163
163
|
}
|
|
164
164
|
}, []);
|
|
165
165
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
166
|
-
react_1.default.createElement(Templates_1.default, { sidebar: true, footer: true, context: enhancedContext, customTheme: customTheme ||
|
|
166
|
+
react_1.default.createElement(Templates_1.default, { sidebar: true, footer: true, context: enhancedContext, customTheme: customTheme || shared_components_1.sharedTheme, setTheme: setTheme },
|
|
167
167
|
react_1.default.createElement(Templates_1.DisplayRenderer, null)),
|
|
168
168
|
react_1.default.createElement(newskit_1.ToastProvider, { position: 'bottom-center', verticalOffset: 'space040', horizontalOffset: { xs: 'space000', lg: 'space040' } })));
|
|
169
169
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionAndBilling.js","sourceRoot":"","sources":["../../src/pages/SubscriptionAndBilling.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAwC;AACxC,mEAAiE;AAGjE,
|
|
1
|
+
{"version":3,"file":"SubscriptionAndBilling.js","sourceRoot":"","sources":["../../src/pages/SubscriptionAndBilling.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAwC;AACxC,mEAAiE;AAGjE,uEAA+E;AAC/E,sEAAkF;AAClF,sCAAuC;AACvC,mCAAuC;AACvC,8DAA6B;AAC7B,qFAA8D;AAC9D,0CAAuC;AAEvC,IAAM,KAAK,GAAG,wBAAwB,CAAA;AAEzB,QAAA,6BAA6B,GAAmB;IAC3D,OAAO,EAAE,oBAAQ;IACjB,IAAI,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,CAAC,OAAO,8BAA2B,EACrD,SAAS,EACT;gBACE,OAAO,EAAE,IAAI;aACd,CACF,CAAA;SACF;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IACN,OAAO,CACL;QACE,8BAAC,mBAAM,IACL,OAAO,QACP,MAAM,QACN,OAAO,EAAE,eAAe,EACxB,WAAW,EAAE,WAAW,IAAI,+BAAY,EACxC,QAAQ,EAAE,QAAQ;YAElB,8BAAC,2BAAe,OAAG,CACZ;QACT,8BAAC,uBAAa,IACZ,QAAQ,EAAE,eAAe,EACzB,cAAc,EAAE,UAAU,EAC1B,gBAAgB,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GACrC,CAChB,CACJ,CAAA;AACH,CAAC,CAAA;AAnDY,QAAA,sBAAsB,0BAmDlC"}
|
package/package.json
CHANGED
package/dist/theme/colors.json
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/theme/fonts.json
DELETED
|
@@ -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
|
-
}
|
package/dist/theme/index.d.ts
DELETED
|
@@ -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;
|