@esri/calcite-design-tokens 3.2.0-next.8 → 3.2.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.
@@ -1423,13 +1423,213 @@ export default {
1423
1423
  name: "Font Line Height Fixed Xl",
1424
1424
  path: ["semantic", "font", "line-height", "fixed", "xl"],
1425
1425
  },
1426
+ "2xl": {
1427
+ key: "{semantic.font.line-height.fixed.2xl}",
1428
+ value: "32px",
1429
+ type: "lineHeight",
1430
+ attributes: {
1431
+ category: "font",
1432
+ group: "line-height",
1433
+ kind: "fixed",
1434
+ type: "font",
1435
+ item: "line-height",
1436
+ subitem: "fixed",
1437
+ state: "2xl",
1438
+ names: {
1439
+ scss: "$calcite-font-line-height-fixed-2xl",
1440
+ css: "var(--calcite-font-line-height-fixed-2xl)",
1441
+ js: "semantic.font.line-height.fixed.2xl",
1442
+ docs: "semantic.font.line-height.fixed.2xl",
1443
+ es6: "calciteFontLineHeightFixed2xl",
1444
+ },
1445
+ "calcite-schema": {
1446
+ system: "calcite",
1447
+ tier: "semantic",
1448
+ type: "lineHeight",
1449
+ },
1450
+ },
1451
+ filePath: "src/tokens/semantic/font.json",
1452
+ isSource: true,
1453
+ original: {
1454
+ value: "{core.size.default.32}",
1455
+ type: "lineHeight",
1456
+ attributes: {
1457
+ category: "font",
1458
+ group: "line-height",
1459
+ kind: "fixed",
1460
+ },
1461
+ key: "{semantic.font.line-height.fixed.2xl}",
1462
+ },
1463
+ name: "Font Line Height Fixed 2xl",
1464
+ path: ["semantic", "font", "line-height", "fixed", "2xl"],
1465
+ },
1466
+ "3xl": {
1467
+ key: "{semantic.font.line-height.fixed.3xl}",
1468
+ value: "40px",
1469
+ type: "lineHeight",
1470
+ attributes: {
1471
+ category: "font",
1472
+ group: "line-height",
1473
+ kind: "fixed",
1474
+ type: "font",
1475
+ item: "line-height",
1476
+ subitem: "fixed",
1477
+ state: "3xl",
1478
+ names: {
1479
+ scss: "$calcite-font-line-height-fixed-3xl",
1480
+ css: "var(--calcite-font-line-height-fixed-3xl)",
1481
+ js: "semantic.font.line-height.fixed.3xl",
1482
+ docs: "semantic.font.line-height.fixed.3xl",
1483
+ es6: "calciteFontLineHeightFixed3xl",
1484
+ },
1485
+ "calcite-schema": {
1486
+ system: "calcite",
1487
+ tier: "semantic",
1488
+ type: "lineHeight",
1489
+ },
1490
+ },
1491
+ filePath: "src/tokens/semantic/font.json",
1492
+ isSource: true,
1493
+ original: {
1494
+ value: "{core.size.default.40}",
1495
+ type: "lineHeight",
1496
+ attributes: {
1497
+ category: "font",
1498
+ group: "line-height",
1499
+ kind: "fixed",
1500
+ },
1501
+ key: "{semantic.font.line-height.fixed.3xl}",
1502
+ },
1503
+ name: "Font Line Height Fixed 3xl",
1504
+ path: ["semantic", "font", "line-height", "fixed", "3xl"],
1505
+ },
1506
+ "4xl": {
1507
+ key: "{semantic.font.line-height.fixed.4xl}",
1508
+ value: "48px",
1509
+ type: "lineHeight",
1510
+ attributes: {
1511
+ category: "font",
1512
+ group: "line-height",
1513
+ kind: "fixed",
1514
+ type: "font",
1515
+ item: "line-height",
1516
+ subitem: "fixed",
1517
+ state: "4xl",
1518
+ names: {
1519
+ scss: "$calcite-font-line-height-fixed-4xl",
1520
+ css: "var(--calcite-font-line-height-fixed-4xl)",
1521
+ js: "semantic.font.line-height.fixed.4xl",
1522
+ docs: "semantic.font.line-height.fixed.4xl",
1523
+ es6: "calciteFontLineHeightFixed4xl",
1524
+ },
1525
+ "calcite-schema": {
1526
+ system: "calcite",
1527
+ tier: "semantic",
1528
+ type: "lineHeight",
1529
+ },
1530
+ },
1531
+ filePath: "src/tokens/semantic/font.json",
1532
+ isSource: true,
1533
+ original: {
1534
+ value: "{core.size.default.48}",
1535
+ type: "lineHeight",
1536
+ attributes: {
1537
+ category: "font",
1538
+ group: "line-height",
1539
+ kind: "fixed",
1540
+ },
1541
+ key: "{semantic.font.line-height.fixed.4xl}",
1542
+ },
1543
+ name: "Font Line Height Fixed 4xl",
1544
+ path: ["semantic", "font", "line-height", "fixed", "4xl"],
1545
+ },
1546
+ "5xl": {
1547
+ key: "{semantic.font.line-height.fixed.5xl}",
1548
+ value: "64px",
1549
+ type: "lineHeight",
1550
+ attributes: {
1551
+ category: "font",
1552
+ group: "line-height",
1553
+ kind: "fixed",
1554
+ type: "font",
1555
+ item: "line-height",
1556
+ subitem: "fixed",
1557
+ state: "5xl",
1558
+ names: {
1559
+ scss: "$calcite-font-line-height-fixed-5xl",
1560
+ css: "var(--calcite-font-line-height-fixed-5xl)",
1561
+ js: "semantic.font.line-height.fixed.5xl",
1562
+ docs: "semantic.font.line-height.fixed.5xl",
1563
+ es6: "calciteFontLineHeightFixed5xl",
1564
+ },
1565
+ "calcite-schema": {
1566
+ system: "calcite",
1567
+ tier: "semantic",
1568
+ type: "lineHeight",
1569
+ },
1570
+ },
1571
+ filePath: "src/tokens/semantic/font.json",
1572
+ isSource: true,
1573
+ original: {
1574
+ value: "{core.size.default.64}",
1575
+ type: "lineHeight",
1576
+ attributes: {
1577
+ category: "font",
1578
+ group: "line-height",
1579
+ kind: "fixed",
1580
+ },
1581
+ key: "{semantic.font.line-height.fixed.5xl}",
1582
+ },
1583
+ name: "Font Line Height Fixed 5xl",
1584
+ path: ["semantic", "font", "line-height", "fixed", "5xl"],
1585
+ },
1586
+ "6xl": {
1587
+ key: "{semantic.font.line-height.fixed.6xl}",
1588
+ value: "80px",
1589
+ type: "lineHeight",
1590
+ attributes: {
1591
+ category: "font",
1592
+ group: "line-height",
1593
+ kind: "fixed",
1594
+ type: "font",
1595
+ item: "line-height",
1596
+ subitem: "fixed",
1597
+ state: "6xl",
1598
+ names: {
1599
+ scss: "$calcite-font-line-height-fixed-6xl",
1600
+ css: "var(--calcite-font-line-height-fixed-6xl)",
1601
+ js: "semantic.font.line-height.fixed.6xl",
1602
+ docs: "semantic.font.line-height.fixed.6xl",
1603
+ es6: "calciteFontLineHeightFixed6xl",
1604
+ },
1605
+ "calcite-schema": {
1606
+ system: "calcite",
1607
+ tier: "semantic",
1608
+ type: "lineHeight",
1609
+ },
1610
+ },
1611
+ filePath: "src/tokens/semantic/font.json",
1612
+ isSource: true,
1613
+ original: {
1614
+ value: "{core.size.default.80}",
1615
+ type: "lineHeight",
1616
+ attributes: {
1617
+ category: "font",
1618
+ group: "line-height",
1619
+ kind: "fixed",
1620
+ },
1621
+ key: "{semantic.font.line-height.fixed.6xl}",
1622
+ },
1623
+ name: "Font Line Height Fixed 6xl",
1624
+ path: ["semantic", "font", "line-height", "fixed", "6xl"],
1625
+ },
1426
1626
  },
1427
1627
  relative: {
1428
1628
  default: {
1429
1629
  key: "{semantic.font.line-height.relative.default}",
1430
- value: "auto",
1630
+ value: "normal",
1431
1631
  type: "lineHeight",
1432
- description: "1",
1632
+ description: "normal",
1433
1633
  attributes: {
1434
1634
  category: "font",
1435
1635
  group: "line-height",
@@ -1438,14 +1638,14 @@ export default {
1438
1638
  item: "line-height",
1439
1639
  subitem: "relative",
1440
1640
  state: "default",
1441
- value: "auto",
1442
- description: "1",
1641
+ value: "normal",
1642
+ description: "normal",
1443
1643
  filePath: "src/tokens/semantic/font.json",
1444
1644
  isSource: true,
1445
1645
  key: "{semantic.font.line-height.relative.default}",
1446
1646
  name: "calcite-semantic-font-line-height-relative-default",
1447
1647
  path: ["semantic", "font", "line-height", "relative", "default"],
1448
- comment: "1",
1648
+ comment: "normal",
1449
1649
  names: {
1450
1650
  scss: "$calcite-font-line-height-relative",
1451
1651
  css: "var(--calcite-font-line-height-relative)",
@@ -1462,9 +1662,9 @@ export default {
1462
1662
  filePath: "src/tokens/semantic/font.json",
1463
1663
  isSource: true,
1464
1664
  original: {
1465
- value: "{core.size.relative.auto}",
1665
+ value: "{core.size.relative.normal}",
1466
1666
  type: "lineHeight",
1467
- description: "1",
1667
+ description: "normal",
1468
1668
  attributes: {
1469
1669
  category: "font",
1470
1670
  group: "line-height",
@@ -1474,6 +1674,57 @@ export default {
1474
1674
  },
1475
1675
  name: "Font Line Height Relative",
1476
1676
  path: ["semantic", "font", "line-height", "relative", "default"],
1677
+ comment: "normal",
1678
+ },
1679
+ base: {
1680
+ key: "{semantic.font.line-height.relative.base}",
1681
+ value: "1",
1682
+ type: "lineHeight",
1683
+ description: "1",
1684
+ attributes: {
1685
+ category: "font",
1686
+ group: "line-height",
1687
+ kind: "relative",
1688
+ type: "lineHeight",
1689
+ item: "line-height",
1690
+ subitem: "relative",
1691
+ state: "base",
1692
+ value: "100%",
1693
+ description: "1",
1694
+ filePath: "src/tokens/semantic/font.json",
1695
+ isSource: true,
1696
+ key: "{semantic.font.line-height.relative.base}",
1697
+ name: "calcite-semantic-font-line-height-relative-base",
1698
+ path: ["semantic", "font", "line-height", "relative", "base"],
1699
+ comment: "1",
1700
+ names: {
1701
+ scss: "$calcite-font-line-height-relative-base",
1702
+ css: "var(--calcite-font-line-height-relative-base)",
1703
+ js: "semantic.font.line-height.relative.base",
1704
+ docs: "semantic.font.line-height.relative.base",
1705
+ es6: "calciteFontLineHeightRelativeBase",
1706
+ },
1707
+ "calcite-schema": {
1708
+ system: "calcite",
1709
+ tier: "semantic",
1710
+ type: "lineHeight",
1711
+ },
1712
+ },
1713
+ filePath: "src/tokens/semantic/font.json",
1714
+ isSource: true,
1715
+ original: {
1716
+ value: "{core.size.relative.100}",
1717
+ type: "lineHeight",
1718
+ description: "1",
1719
+ attributes: {
1720
+ category: "font",
1721
+ group: "line-height",
1722
+ kind: "relative",
1723
+ },
1724
+ key: "{semantic.font.line-height.relative.base}",
1725
+ },
1726
+ name: "Font Line Height Relative Base",
1727
+ path: ["semantic", "font", "line-height", "relative", "base"],
1477
1728
  comment: "1",
1478
1729
  },
1479
1730
  tight: {
@@ -562,6 +562,7 @@ $calcite-size-relative-150: 150%;
562
562
  $calcite-size-relative-162: 162.5%;
563
563
  $calcite-size-relative-200: 200%;
564
564
  $calcite-size-relative-auto: auto;
565
+ $calcite-size-relative-normal: normal;
565
566
  $calcite-z-index-0: -999999;
566
567
  $calcite-z-index-1: 1;
567
568
  $calcite-z-index-3: 300;
@@ -7,7 +7,7 @@ $calcite-color-background-none: rgba(255, 255, 255, 0);
7
7
  $calcite-color-foreground-1: #2b2b2b;
8
8
  $calcite-color-foreground-2: #212121;
9
9
  $calcite-color-foreground-3: #141414;
10
- $calcite-color-foreground-current: #2b465f; // deprecated, use --calcite-color-foreground-highlight instead
10
+ $calcite-color-foreground-current: #2b465f; // deprecated, use --calcite-color-surface-highlight instead
11
11
  $calcite-color-surface-highlight: #2b465f;
12
12
  $calcite-color-transparent: rgba(255, 255, 255, 0);
13
13
  $calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
@@ -38,7 +38,13 @@ $calcite-font-line-height-fixed-sm: 12px;
38
38
  $calcite-font-line-height-fixed-base: 16px;
39
39
  $calcite-font-line-height-fixed-lg: 20px;
40
40
  $calcite-font-line-height-fixed-xl: 24px;
41
- $calcite-font-line-height-relative: auto; // 1
41
+ $calcite-font-line-height-fixed-2xl: 32px;
42
+ $calcite-font-line-height-fixed-3xl: 40px;
43
+ $calcite-font-line-height-fixed-4xl: 48px;
44
+ $calcite-font-line-height-fixed-5xl: 64px;
45
+ $calcite-font-line-height-fixed-6xl: 80px;
46
+ $calcite-font-line-height-relative: normal; // normal
47
+ $calcite-font-line-height-relative-base: 1; // 1
42
48
  $calcite-font-line-height-relative-tight: 1.25; // 1.25
43
49
  $calcite-font-line-height-relative-snug: 1.375; // 1.375
44
50
  $calcite-font-line-height-relative-normal: 1.5; // 1.5
@@ -46,7 +46,7 @@
46
46
  --calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
47
47
  --calcite-color-transparent: rgba(0, 0, 0, 0);
48
48
  --calcite-color-surface-highlight: #d6efff;
49
- --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-foreground-highlight instead */
49
+ --calcite-color-foreground-current: #d6efff; /** deprecated, use --calcite-color-surface-highlight instead */
50
50
  --calcite-color-foreground-3: #ebebeb;
51
51
  --calcite-color-foreground-2: #f2f2f2;
52
52
  --calcite-color-foreground-1: #ffffff;
@@ -93,7 +93,7 @@
93
93
  --calcite-color-transparent-hover: rgba(255, 255, 255, 0.12);
94
94
  --calcite-color-transparent: rgba(255, 255, 255, 0);
95
95
  --calcite-color-surface-highlight: #2b465f;
96
- --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-foreground-highlight instead */
96
+ --calcite-color-foreground-current: #2b465f; /** deprecated, use --calcite-color-surface-highlight instead */
97
97
  --calcite-color-foreground-3: #141414;
98
98
  --calcite-color-foreground-2: #212121;
99
99
  --calcite-color-foreground-1: #2b2b2b;
@@ -7,7 +7,7 @@ $calcite-color-background-none: rgba(255, 255, 255, 0);
7
7
  $calcite-color-foreground-1: #ffffff;
8
8
  $calcite-color-foreground-2: #f2f2f2;
9
9
  $calcite-color-foreground-3: #ebebeb;
10
- $calcite-color-foreground-current: #d6efff; // deprecated, use --calcite-color-foreground-highlight instead
10
+ $calcite-color-foreground-current: #d6efff; // deprecated, use --calcite-color-surface-highlight instead
11
11
  $calcite-color-surface-highlight: #d6efff;
12
12
  $calcite-color-transparent: rgba(0, 0, 0, 0);
13
13
  $calcite-color-transparent-hover: rgba(0, 0, 0, 0.04);
@@ -36,7 +36,13 @@ $calcite-font-line-height-fixed-sm: 12px;
36
36
  $calcite-font-line-height-fixed-base: 16px;
37
37
  $calcite-font-line-height-fixed-lg: 20px;
38
38
  $calcite-font-line-height-fixed-xl: 24px;
39
- $calcite-font-line-height-relative: auto; // 1
39
+ $calcite-font-line-height-fixed-2xl: 32px;
40
+ $calcite-font-line-height-fixed-3xl: 40px;
41
+ $calcite-font-line-height-fixed-4xl: 48px;
42
+ $calcite-font-line-height-fixed-5xl: 64px;
43
+ $calcite-font-line-height-fixed-6xl: 80px;
44
+ $calcite-font-line-height-relative: normal; // normal
45
+ $calcite-font-line-height-relative-base: 1; // 1
40
46
  $calcite-font-line-height-relative-tight: 1.25; // 1.25
41
47
  $calcite-font-line-height-relative-snug: 1.375; // 1.375
42
48
  $calcite-font-line-height-relative-normal: 1.5; // 1.5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-design-tokens",
3
- "version": "3.2.0-next.8",
3
+ "version": "3.2.0",
4
4
  "description": "Esri's Calcite Design System Tokens",
5
5
  "keywords": [
6
6
  "Calcite",
@@ -31,9 +31,9 @@
31
31
  "build": "echo $MODE $GITHUB_ACTION && tsx src/build-tokens.ts",
32
32
  "build:watch": "tsx --watch src/build-tokens.ts",
33
33
  "clean": "rimraf node_modules dist .turbo",
34
- "lint:json": "prettier --write \"**/*.json\" >/dev/null",
35
- "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"",
36
- "lint:ts": "eslint --fix . && prettier --write \"**/*.{ts,tsx,cjs,mjs}\" >/dev/null",
34
+ "lint:json": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.json\" >/dev/null",
35
+ "lint:md": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"",
36
+ "lint:ts": "eslint --fix && prettier --ignore-path \"../../.prettierignore\" --write \"**/*.{ts,tsx,cjs,mjs}\" >/dev/null",
37
37
  "lint": "concurrently npm:lint:*",
38
38
  "test": "vitest run",
39
39
  "test:watch": "vitest",
@@ -46,5 +46,5 @@
46
46
  "devDependencies": {
47
47
  "vitest": "3.2.4"
48
48
  },
49
- "gitHead": "ba5103b1582367659e3c9513891e201f7097b926"
49
+ "gitHead": "e5e81153b227c32f15170678b919fb372f3f471c"
50
50
  }