@vettvangur/design-system 2.0.44 → 2.0.45

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 (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3535,7 +3535,7 @@ const BASE_SCREENS = {
3535
3535
  'desktop-l': 1280,
3536
3536
  'desktop-xl': 1367,
3537
3537
  'desktop-xxl': 1740,
3538
- ultrawide: 2000
3538
+ ultrawide: 1921
3539
3539
  };
3540
3540
  function pickFirstNumber(values) {
3541
3541
  if (!values || typeof values !== 'object') {
@@ -3597,7 +3597,8 @@ async function generateScreens(figmaVariables, config) {
3597
3597
  }
3598
3598
  const n = pickFirstNumber(tok?.values);
3599
3599
  if (n != null) {
3600
- extras[key] = n;
3600
+ extras[key] = `${n}px`;
3601
+ extras[`${key}-unitless`] = n;
3601
3602
  }
3602
3603
  }
3603
3604
  const outDir = path.join(config.paths.styles, 'config');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettvangur/design-system",
3
- "version": "2.0.44",
3
+ "version": "2.0.45",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "type": "module",