@esri/calcite-design-tokens 4.0.0-next.1 → 4.0.0-next.10

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.
@@ -31,6 +31,18 @@ $calcite-font-size-md: 16px;
31
31
  $calcite-font-size-lg: 18px;
32
32
  $calcite-font-size-xl: 20px;
33
33
  $calcite-font-size-xxl: 24px;
34
+ $calcite-font-size-relative-xs: 0.625rem;
35
+ $calcite-font-size-relative-sm: 0.75rem;
36
+ $calcite-font-size-relative-base: 0.875rem;
37
+ $calcite-font-size-relative-md: 1rem;
38
+ $calcite-font-size-relative-lg: 1.125rem;
39
+ $calcite-font-size-relative-xl: 1.25rem;
40
+ $calcite-font-size-relative-2xl: 1.625rem;
41
+ $calcite-font-size-relative-3xl: 2rem;
42
+ $calcite-font-size-relative-4xl: 2.5rem;
43
+ $calcite-font-size-relative-5xl: 3rem;
44
+ $calcite-font-size-relative-6xl: 3.5rem;
45
+ $calcite-font-size-relative-7xl: 4rem;
34
46
  $calcite-font-style-emphasis: italic; // used in ratings
35
47
  $calcite-font-line-height-fixed-sm: 12px;
36
48
  $calcite-font-line-height-fixed-base: 16px;
@@ -48,6 +60,18 @@ $calcite-font-line-height-relative-snug: 1.375; // 1.375
48
60
  $calcite-font-line-height-relative-normal: 1.5; // 1.5
49
61
  $calcite-font-line-height-relative-relaxed: 1.625; // 1.625
50
62
  $calcite-font-line-height-relative-loose: 2; // 2
63
+ $calcite-font-line-height-xs: 0.75rem;
64
+ $calcite-font-line-height-sm: 1rem;
65
+ $calcite-font-line-height-base: 1rem;
66
+ $calcite-font-line-height-md: 1.25rem;
67
+ $calcite-font-line-height-lg: 1.5rem;
68
+ $calcite-font-line-height-xl: 1.5rem;
69
+ $calcite-font-line-height-2xl: 2rem;
70
+ $calcite-font-line-height-3xl: 2.5rem;
71
+ $calcite-font-line-height-4xl: 3rem;
72
+ $calcite-font-line-height-5xl: 4rem;
73
+ $calcite-font-line-height-6xl: 4rem;
74
+ $calcite-font-line-height-7xl: 5rem;
51
75
  $calcite-font-letter-spacing-tight: -0.4px; // Deprecated
52
76
  $calcite-font-letter-spacing-normal: 0; // Deprecated
53
77
  $calcite-font-letter-spacing-wide: 0.4px; // Deprecated
@@ -92,19 +116,32 @@ $calcite-spacing-fixed-lg: 14px; // deprecated
92
116
  $calcite-spacing-fixed-xl: 16px; // deprecated
93
117
  $calcite-spacing-fixed-xxl: 20px; // deprecated
94
118
  $calcite-spacing-fixed-xxxl: 32px; // deprecated
95
- $calcite-spacing-none: 0;
96
- $calcite-spacing-px: 1px;
97
- $calcite-spacing-base: 2px;
98
- $calcite-spacing-xxs: 0.25rem;
99
- $calcite-spacing-xs: 0.375rem;
100
- $calcite-spacing-sm: 0.5rem;
101
- $calcite-spacing-sm-plus: 0.625rem;
102
- $calcite-spacing-md: 0.75rem;
103
- $calcite-spacing-md-plus: 0.875rem;
104
- $calcite-spacing-lg: 1rem;
105
- $calcite-spacing-xl: 1.25rem;
106
- $calcite-spacing-xxl: 1.5rem;
107
- $calcite-spacing-xxxl: 2rem;
119
+ $calcite-spacing-none: 0; // deprecated, use `--calcite-space-none` instead
120
+ $calcite-spacing-px: 1px; // deprecated, use `--calcite-space-px` instead
121
+ $calcite-spacing-base: 2px; // deprecated, use `--calcite-space-base` instead
122
+ $calcite-spacing-xxs: 0.25rem; // deprecated, use `--calcite-space-2xs` instead
123
+ $calcite-spacing-xs: 0.375rem; // deprecated, use `--calcite-space-xs` instead
124
+ $calcite-spacing-sm: 0.5rem; // deprecated, use `--calcite-space-sm` instead
125
+ $calcite-spacing-sm-plus: 0.625rem; // deprecated, use `--calcite-space-sm-plus` instead
126
+ $calcite-spacing-md: 0.75rem; // deprecated, use `--calcite-space-md` instead
127
+ $calcite-spacing-md-plus: 0.875rem; // deprecated, use `--calcite-space-md-plus` instead
128
+ $calcite-spacing-lg: 1rem; // deprecated, use `--calcite-space-lg` instead
129
+ $calcite-spacing-xl: 1.25rem; // deprecated, use `--calcite-space-xl` instead
130
+ $calcite-spacing-xxl: 1.5rem; // deprecated, use `--calcite-space-2xl` instead
131
+ $calcite-spacing-xxxl: 2rem; // deprecated, use `--calcite-space-3xl` instead
132
+ $calcite-space-none: 0;
133
+ $calcite-space-px: 1px;
134
+ $calcite-space-base: 2px;
135
+ $calcite-space-2xs: 0.25rem;
136
+ $calcite-space-xs: 0.375rem;
137
+ $calcite-space-sm: 0.5rem;
138
+ $calcite-space-sm-plus: 0.625rem;
139
+ $calcite-space-md: 0.75rem;
140
+ $calcite-space-md-plus: 0.875rem;
141
+ $calcite-space-lg: 1rem;
142
+ $calcite-space-xl: 1.25rem;
143
+ $calcite-space-2xl: 1.5rem;
144
+ $calcite-space-3xl: 2rem;
108
145
  $calcite-z-index-deep: -999999;
109
146
  $calcite-z-index: 1;
110
147
  $calcite-z-index-sticky: 300;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-design-tokens",
3
- "version": "4.0.0-next.1",
3
+ "version": "4.0.0-next.10",
4
4
  "description": "Esri's Calcite Design System Tokens",
5
5
  "keywords": [
6
6
  "Calcite",
@@ -18,7 +18,7 @@
18
18
  "repository": {
19
19
  "type": "git",
20
20
  "url": "git://github.com/Esri/calcite-design-system.git",
21
- "directory": "packages/calcite-design-tokens"
21
+ "directory": "packages/design-tokens"
22
22
  },
23
23
  "author": {
24
24
  "name": "Esri"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "SEE LICENSE.md",
30
30
  "scripts": {
31
- "build": "echo $MODE $GITHUB_ACTION && tsx src/build-tokens.ts",
32
- "build:watch": "tsx --watch src/build-tokens.ts",
31
+ "build": "echo $MODE $GITHUB_ACTION && node src/build-tokens.ts",
32
+ "build:watch": "node --watch src/build-tokens.ts",
33
33
  "clean": "rimraf node_modules dist .turbo",
34
34
  "lint:json": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.json\" >/dev/null",
35
35
  "lint:md": "prettier --ignore-path \"../../.prettierignore\" --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"",
@@ -37,14 +37,14 @@
37
37
  "lint": "concurrently npm:lint:*",
38
38
  "test": "vitest run",
39
39
  "test:watch": "vitest",
40
- "util:update-3rd-party-licenses": "tsx ../../support/createThirdPartyLicenses.ts",
40
+ "util:update-3rd-party-licenses": "node ../../support/createThirdPartyLicenses.mts",
41
41
  "util:update-test-snapshots": "vitest --update"
42
42
  },
43
43
  "volta": {
44
44
  "extends": "../../package.json"
45
45
  },
46
46
  "devDependencies": {
47
- "vitest": "3.2.4"
47
+ "vitest": "4.0.14"
48
48
  },
49
- "gitHead": "fdb0fc68d84e5308018aff01b834c460ce0f5f0d"
49
+ "gitHead": "e3a2cf16bbce4abe62d2160186e4db35d87f6d05"
50
50
  }