@phcdevworks/spectre-tokens 4.3.0 → 4.4.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/dist/index.css CHANGED
@@ -571,6 +571,13 @@
571
571
  --sp-radius-3xl: 24px;
572
572
  --sp-radius-4xl: 32px;
573
573
  --sp-radius-pill: 999px;
574
+ --sp-tracking-tightest: -0.075em;
575
+ --sp-tracking-tighter: -0.05em;
576
+ --sp-tracking-tight: -0.025em;
577
+ --sp-tracking-normal: 0em;
578
+ --sp-tracking-wide: 0.025em;
579
+ --sp-tracking-wider: 0.05em;
580
+ --sp-tracking-widest: 0.1em;
574
581
  --sp-icon-xs: 12px;
575
582
  --sp-icon-sm: 16px;
576
583
  --sp-icon-md: 20px;
package/dist/index.d.cts CHANGED
@@ -1357,6 +1357,15 @@ interface SpectreGeneratedTokens {
1357
1357
  dotted: string;
1358
1358
  };
1359
1359
  };
1360
+ tracking: {
1361
+ tightest: string;
1362
+ tighter: string;
1363
+ tight: string;
1364
+ normal: string;
1365
+ wide: string;
1366
+ wider: string;
1367
+ widest: string;
1368
+ };
1360
1369
  surface: {
1361
1370
  page: string;
1362
1371
  card: string;
package/dist/index.d.ts CHANGED
@@ -1357,6 +1357,15 @@ interface SpectreGeneratedTokens {
1357
1357
  dotted: string;
1358
1358
  };
1359
1359
  };
1360
+ tracking: {
1361
+ tightest: string;
1362
+ tighter: string;
1363
+ tight: string;
1364
+ normal: string;
1365
+ wide: string;
1366
+ wider: string;
1367
+ widest: string;
1368
+ };
1360
1369
  surface: {
1361
1370
  page: string;
1362
1371
  card: string;
package/dist/index.js CHANGED
@@ -1358,6 +1358,15 @@ var coreTokens = {
1358
1358
  "dotted": "dotted"
1359
1359
  }
1360
1360
  },
1361
+ "tracking": {
1362
+ "tightest": "-0.075em",
1363
+ "tighter": "-0.05em",
1364
+ "tight": "-0.025em",
1365
+ "normal": "0em",
1366
+ "wide": "0.025em",
1367
+ "wider": "0.05em",
1368
+ "widest": "0.1em"
1369
+ },
1361
1370
  "surface": {
1362
1371
  "page": "{colors.neutral.50}",
1363
1372
  "card": "{colors.white}",
@@ -1756,6 +1765,12 @@ var createCssVariableMap = (tokens2, options = {}) => {
1756
1765
  Object.entries(baseTokens.radii).forEach(([key, value]) => {
1757
1766
  assign(toVariableName(prefix, "radius", key), value);
1758
1767
  });
1768
+ const tracking = baseTokens.tracking;
1769
+ if (tracking) {
1770
+ Object.entries(tracking).forEach(([key, value]) => {
1771
+ assign(toVariableName(prefix, "tracking", key), value);
1772
+ });
1773
+ }
1759
1774
  const icons = baseTokens.icons;
1760
1775
  if (icons) {
1761
1776
  Object.entries(icons).forEach(([key, value]) => {