@madgex/fert 3.0.0 → 4.0.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.
@@ -63,7 +63,6 @@ module.exports = async function buildCssFromTokens(srcTokensPath, buildPath) {
63
63
  'name/cti/kebab',
64
64
  'color/css',
65
65
  'css/rawData',
66
- 'custom/pxToRem',
67
66
  ];
68
67
  const prefix = 'mds';
69
68
 
@@ -102,8 +101,7 @@ module.exports = async function buildCssFromTokens(srcTokensPath, buildPath) {
102
101
  // Use StyleDictionary to build a tokens SCSS file
103
102
  const StyleDictionary = StyleDictionaryPackage.extend(styleDictionaryConfig);
104
103
 
105
- const tokenBaseFontSize = brandObj?.font?.size?.base?.value; // will default to 16px if undefined
106
- await registerTransforms(StyleDictionary, tokenBaseFontSize);
104
+ await registerTransforms(StyleDictionary);
107
105
  await runSilently(StyleDictionary.buildAllPlatforms.bind(StyleDictionary));
108
106
 
109
107
  // clean-up temp SD file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/fert",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "Tool to help build the V6 branding",
5
5
  "bin": {
6
6
  "fert": "./bin/cli.js"
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/wiley/madgex-frontend-rollout-tool.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">=16.0.0"
21
+ "node": ">=18.20.0"
22
22
  },
23
23
  "author": "Madgex",
24
24
  "license": "UNLICENSED",
@@ -31,7 +31,7 @@
31
31
  "@hapi/inert": "^7.1.0",
32
32
  "@hapi/vision": "^7.0.3",
33
33
  "@hapipal/toys": "^4.0.0",
34
- "@madgex/design-system": "^6.1.4",
34
+ "@madgex/design-system": "^7.0.0",
35
35
  "@private/header-footer-podlet-server": "github:wiley/madgex-header-footer-podlet",
36
36
  "axios": "^1.6.2",
37
37
  "cac": "^6.7.14",
@@ -14,7 +14,7 @@ module.exports = {
14
14
  delete filteredHeaders['accept-encoding'];
15
15
 
16
16
  const podletResponse = await request.server.inject({
17
- url: `/_podlet/${request.path}`,
17
+ url: `/_podlet${request.path}`,
18
18
  method: request.method,
19
19
  headers: filteredHeaders,
20
20
  auth: request.auth.isAuthenticated ? request.auth : null,
@@ -28,7 +28,7 @@
28
28
  </div>
29
29
  <div class="mds-grid-col-12 mds-grid-col-lg-3">
30
30
  <div class="mds-branded-container mds-branded-container--1 mds-padding-b4 mds-padding-bottom-b5 mds-margin-bottom-b5">
31
- <h2 class="mds-font-great-primer">Branded Container</h2>
31
+ <h2 class="mds-font-s2">Branded Container</h2>
32
32
  <p class="mds-margin-bottom-b4">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
33
33
  <a href="#" draggable="false" class="mds-button mds-button--neutral mds-button--small">Lorem ipsum</a>
34
34
  </div>