@esri/calcite-design-tokens 1.0.0 → 1.1.0-next.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.
Files changed (111) hide show
  1. package/.eslintrc.cjs +85 -0
  2. package/.turbo/turbo-build.log +64 -0
  3. package/.turbo/turbo-test.log +14 -0
  4. package/CHANGELOG.md +13 -4
  5. package/CONTRIBUTING.md +41 -0
  6. package/LICENSE.md +13 -0
  7. package/README.md +9 -11
  8. package/dist/css/brand-light.css +1 -1
  9. package/dist/css/calcite-dark.css +1 -1
  10. package/dist/css/calcite-headless.css +2 -1
  11. package/dist/css/calcite-light.css +1 -1
  12. package/dist/scss/brand-light.scss +1 -1
  13. package/dist/scss/calcite-dark.scss +1 -1
  14. package/dist/scss/calcite-headless.scss +3 -1
  15. package/dist/scss/calcite-light.scss +1 -1
  16. package/jest.config.json +16 -0
  17. package/package.json +11 -72
  18. package/src/$metadata.json +76 -0
  19. package/src/$themes.json +2360 -0
  20. package/src/brand/dark.json +1 -0
  21. package/src/brand/global.json +1 -0
  22. package/src/brand/light.json +20 -0
  23. package/src/calcite/dark.json +2488 -0
  24. package/src/calcite/light.json +2508 -0
  25. package/src/component/accordion-item.json +172 -0
  26. package/src/component/accordion.json +192 -0
  27. package/src/component/action-bar-grid.json +66 -0
  28. package/src/component/action-bar.json +66 -0
  29. package/src/component/action-pad-grid.json +80 -0
  30. package/src/component/action-pad.json +80 -0
  31. package/src/component/action.json +156 -0
  32. package/src/component/alert.json +258 -0
  33. package/src/component/avatar.json +140 -0
  34. package/src/component/block-section.json +124 -0
  35. package/src/component/block.json +198 -0
  36. package/src/component/button.json +650 -0
  37. package/src/component/card.json +116 -0
  38. package/src/component/checkbox.json +110 -0
  39. package/src/component/chip.json +382 -0
  40. package/src/component/color-picker.json +148 -0
  41. package/src/component/combobox.json +152 -0
  42. package/src/component/date-picker.json +354 -0
  43. package/src/component/dropdown-item.json +384 -0
  44. package/src/component/dropdown.json +58 -0
  45. package/src/component/fab.json +490 -0
  46. package/src/component/filter.json +174 -0
  47. package/src/component/input-date-picker.json +224 -0
  48. package/src/component/input-datetime-local.json +230 -0
  49. package/src/component/input-email.json +244 -0
  50. package/src/component/input-file.json +244 -0
  51. package/src/component/input-message.json +72 -0
  52. package/src/component/input-month.json +244 -0
  53. package/src/component/input-number.json +244 -0
  54. package/src/component/input-password.json +244 -0
  55. package/src/component/input-search.json +244 -0
  56. package/src/component/input-telephone.json +244 -0
  57. package/src/component/input-text.json +244 -0
  58. package/src/component/input-time.json +1 -0
  59. package/src/component/input-week.json +244 -0
  60. package/src/component/label.json +26 -0
  61. package/src/component/link.json +44 -0
  62. package/src/component/loader.json +130 -0
  63. package/src/component/modal.json +278 -0
  64. package/src/component/notice.json +280 -0
  65. package/src/component/pagination.json +152 -0
  66. package/src/component/panel-header.json +88 -0
  67. package/src/component/popover.json +170 -0
  68. package/src/component/radio.json +124 -0
  69. package/src/component/rating.json +243 -0
  70. package/src/component/scrim.json +18 -0
  71. package/src/component/segmented-control.json +154 -0
  72. package/src/component/slider-histogram-range.json +284 -0
  73. package/src/component/slider-histogram.json +280 -0
  74. package/src/component/slider-range.json +226 -0
  75. package/src/component/slider.json +226 -0
  76. package/src/component/split-button.json +830 -0
  77. package/src/component/stepper-item.json +372 -0
  78. package/src/component/stepper.json +152 -0
  79. package/src/component/switch.json +178 -0
  80. package/src/component/tab-title.json +228 -0
  81. package/src/component/tabs.json +242 -0
  82. package/src/component/textarea.json +200 -0
  83. package/src/component/time-picker.json +138 -0
  84. package/src/component/tip-manager.json +118 -0
  85. package/src/component/tip.json +114 -0
  86. package/src/component/tooltip.json +66 -0
  87. package/src/component/tree-item.json +176 -0
  88. package/src/core.json +1709 -0
  89. package/src/semantic.json +1709 -0
  90. package/support/run.ts +16 -0
  91. package/support/token-transformer/format/scss.ts +81 -0
  92. package/support/token-transformer/getThemes.ts +41 -0
  93. package/support/token-transformer/parse/expandComposites.test.ts +144 -0
  94. package/support/token-transformer/parse/expandComposites.ts +72 -0
  95. package/support/token-transformer/sd-run.ts +147 -0
  96. package/support/token-transformer/transform/nameCamelCase.test.ts +36 -0
  97. package/support/token-transformer/transform/nameCamelCase.ts +15 -0
  98. package/support/token-transformer/transform/nameKebabCase.test.ts +36 -0
  99. package/support/token-transformer/transform/nameKebabCase.ts +26 -0
  100. package/support/token-transformer/utils/compositeTokens.test.ts +133 -0
  101. package/support/token-transformer/utils/compositeTokens.ts +103 -0
  102. package/support/token-transformer/utils/convertTokenToStyleDictionaryFormat.ts +20 -0
  103. package/support/token-transformer/utils/matchList.ts +11 -0
  104. package/support/token-transformer/utils/parseName.ts +18 -0
  105. package/support/token-transformer/utils/parseTokenPath.ts +19 -0
  106. package/support/token-transformer/utils/regex.ts +9 -0
  107. package/support/token-transformer/utils/sortAllTokens.ts +12 -0
  108. package/support/token-transformer/utils/transformOptions.ts +31 -0
  109. package/tsconfig-base.json +17 -0
  110. package/tsconfig-eslint.json +4 -0
  111. package/tsconfig.json +4 -0
package/.eslintrc.cjs ADDED
@@ -0,0 +1,85 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ "jest/globals": true,
5
+ },
6
+ extends: [
7
+ "plugin:@cspell/recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:jest/recommended",
10
+ "plugin:jsdoc/recommended",
11
+ "prettier",
12
+ ],
13
+ ignorePatterns: ["dist"],
14
+ parser: "@typescript-eslint/parser",
15
+ parserOptions: {
16
+ tsconfigRootDir: __dirname,
17
+ project: ["tsconfig-eslint.json"],
18
+ ecmaVersion: 2021,
19
+ sourceType: "module",
20
+ },
21
+ plugins: [
22
+ "@typescript-eslint",
23
+ "import",
24
+ "jest",
25
+ "jsdoc",
26
+ "prettier",
27
+ "unicorn",
28
+ ],
29
+ rules: {
30
+ "@typescript-eslint/ban-types": "warn",
31
+ "@typescript-eslint/explicit-module-boundary-types": [
32
+ "error",
33
+ {
34
+ allowArgumentsExplicitlyTypedAsAny: true,
35
+ },
36
+ ],
37
+ "@typescript-eslint/no-explicit-any": "off",
38
+ "@typescript-eslint/no-unused-vars": "error",
39
+ curly: "error",
40
+ "import/no-dynamic-require": ["error", { esmodule: true }],
41
+ "jest/expect-expect": "off",
42
+ "jest/no-export": "warn",
43
+ "jsdoc/check-tag-names": "off",
44
+ "jsdoc/require-jsdoc": "off",
45
+ "jsdoc/require-param-type": "off",
46
+ "jsdoc/require-returns-type": "off",
47
+ "jsdoc/tag-lines": ["error", "any", { startLines: 1 }],
48
+ "lines-between-class-members": ["error", "always"],
49
+ "no-eval": "error",
50
+ "no-implied-eval": "error",
51
+ "no-multiple-empty-lines": [
52
+ "error",
53
+ {
54
+ max: 1,
55
+ },
56
+ ],
57
+ "no-new-func": "error",
58
+ "no-unneeded-ternary": "error",
59
+ "one-var": ["error", "never"],
60
+ "unicorn/prefer-ternary": "error",
61
+ "unicorn/prevent-abbreviations": [
62
+ "error",
63
+ {
64
+ allowList: {
65
+ e2ePage: true,
66
+ },
67
+ extendDefaultReplacements: false,
68
+ replacements: {
69
+ e: {
70
+ error: true,
71
+ event: true,
72
+ },
73
+ },
74
+ checkProperties: false,
75
+ checkFilenames: false,
76
+ },
77
+ ],
78
+ },
79
+ settings: {
80
+ jsdoc: {
81
+ ignoreInternal: true,
82
+ ignorePrivate: true,
83
+ },
84
+ },
85
+ };
@@ -0,0 +1,64 @@
1
+
2
+ > @esri/calcite-design-tokens@1.0.0 build
3
+ > ts-node --esm support/run.ts
4
+
5
+
6
+ css
7
+ ! dist/css/brand-light.css, does not exist
8
+
9
+ scss
10
+ ! dist/scss/brand-light.scss, does not exist
11
+
12
+ css
13
+ ✔︎ dist/css/brand-light.css
14
+
15
+ scss
16
+ ✔︎ dist/scss/brand-light.scss
17
+
18
+ css
19
+ ! dist/css/brand-dark.css, does not exist
20
+
21
+ scss
22
+ ! dist/scss/brand-dark.scss, does not exist
23
+
24
+ css
25
+ No properties for brand-dark.css. File not created.
26
+
27
+ scss
28
+ No properties for brand-dark.scss. File not created.
29
+
30
+ css
31
+ ! dist/css/calcite-dark.css, does not exist
32
+
33
+ scss
34
+ ! dist/scss/calcite-dark.scss, does not exist
35
+
36
+ css
37
+ ✔︎ dist/css/calcite-dark.css
38
+
39
+ scss
40
+ ✔︎ dist/scss/calcite-dark.scss
41
+
42
+ css
43
+ ! dist/css/calcite-light.css, does not exist
44
+
45
+ scss
46
+ ! dist/scss/calcite-light.scss, does not exist
47
+
48
+ css
49
+ ✔︎ dist/css/calcite-light.css
50
+
51
+ scss
52
+ ✔︎ dist/scss/calcite-light.scss
53
+
54
+ css
55
+ ! dist/css/calcite-headless.css, does not exist
56
+
57
+ scss
58
+ ! dist/scss/calcite-headless.scss, does not exist
59
+
60
+ css
61
+ ✔︎ dist/css/calcite-headless.css
62
+
63
+ scss
64
+ ✔︎ dist/scss/calcite-headless.scss
@@ -0,0 +1,14 @@
1
+
2
+ > @esri/calcite-design-tokens@1.0.0 test
3
+ > jest
4
+
5
+ PASS support/token-transformer/parse/expandComposites.test.ts (9.936 s)
6
+ PASS support/token-transformer/utils/compositeTokens.test.ts
7
+ PASS support/token-transformer/transform/nameKebabCase.test.ts
8
+ PASS support/token-transformer/transform/nameCamelCase.test.ts
9
+
10
+ Test Suites: 4 passed, 4 total
11
+ Tests: 12 passed, 12 total
12
+ Snapshots: 0 total
13
+ Time: 11.831 s
14
+ Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,18 @@
1
- # Changelog
1
+ # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
5
 
5
- ## [1.0.0-beta.0](https://github.com/Esri/calcite-styles/compare/v0.1.0...v1.0.0-beta.0) (2023-05-04)
6
+ ## [1.1.0-next.0](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-design-tokens@1.0.0...@esri/calcite-design-tokens@1.1.0-next.0) (2023-10-12)
6
7
 
7
8
  ### Features
8
9
 
9
- - add scss platform ([5624b4e](https://github.com/Esri/calcite-styles/commit/5624b4e0f59171a57b49a4ce48cab996d981e54a))
10
+ - add xxs breakpoint to tokens ([#7992](https://github.com/Esri/calcite-design-system/issues/7992)) ([05512b6](https://github.com/Esri/calcite-design-system/commit/05512b6e5b58d4391972dfc9bbf559503301a025)), closes [#7856](https://github.com/Esri/calcite-design-system/issues/7856)
11
+
12
+ ## [1.0.0](2023-05-11)
13
+
14
+ ### Features
15
+
16
+ - Uses @token-studio tokens format
17
+ - Add css platform
18
+ - Add scss platform
@@ -0,0 +1,41 @@
1
+ # Contributing to `calcite-design-tokens`
2
+
3
+ This document contains information about contributing to the `calcite-design-tokens` package. Please read the general [CONTRIBUTING](../../CONTRIBUTING.md) document first, which includes initial setup, commit message conventions, and more.
4
+
5
+ ## Project scripts
6
+
7
+ ### Build
8
+
9
+ Build the tokens to platform asset formats like CSS, SCSS, and JavaScript.
10
+
11
+ `npm --workspace=packages/calcite-design-tokens run build`
12
+
13
+ ## Test
14
+
15
+ Be sure your code passes our integration and unit tests
16
+
17
+ ```bash
18
+ # Test current code
19
+ npm --workspace=packages/calcite-design-tokens run test
20
+ ```
21
+
22
+ ## Understanding token files
23
+
24
+ All token files may be updated by the Figma Token Studio plugin. These can also be updated in the code directly. Any changes to token files must be reviewed by the Calcite Design Team.
25
+
26
+ | Name | Description |
27
+ | -------------------- | ----------------------------------------------------------------------------------------------------------------- |
28
+ | `src/$metadata.json` | This file is used by Figma Token Studio but is not used to determine final token asset output. |
29
+ | `src/$themes.json` | Each theme defined in this file will output a token asset in each format defined in the token transformer config. |
30
+ | `src/core.json` | The core design tokens upon which the rest of the tokens are built. |
31
+ | `src/semantic.json` | The semantic design tokens used by theme files and components. |
32
+ | `src/component/` | The component design tokens. These are used by themes. |
33
+ | `src/calcite/` | The Calcite themes. This currently consists of a light and dark theme. |
34
+
35
+ ### Open a PR
36
+
37
+ Designers working in Figma will need to manually open a PR through GitHub after updating their branch via the Figma plugin. PRs should be opened against main.
38
+
39
+ ### Wait for reviewers
40
+
41
+ All Token PRs require sign-off from a Calcite Designer and Engineer before merging into main.
package/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ # Licensing
2
+
3
+ COPYRIGHT © 2023 Esri
4
+
5
+ All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
+
7
+ This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
8
+
9
+ See use restrictions at <http://www.esri.com/legal/pdfs/mla_e204_e300/english>
10
+
11
+ For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
12
+
13
+ email: contracts@esri.com
package/README.md CHANGED
@@ -8,7 +8,7 @@ Install the design tokens module.
8
8
  npm install @esri/calcite-design-tokens
9
9
  ```
10
10
 
11
- Reference tokens in your CSS.
11
+ Reference tokens in your CSS:
12
12
 
13
13
  ```css
14
14
  @import "@esri/calcite-design-tokens/css/calcite-light";
@@ -20,14 +20,12 @@ Reference tokens in your CSS.
20
20
 
21
21
  ## Token assets
22
22
 
23
- These are the published asset files generated by the token transformer
23
+ These are the published asset files generated by the token transformer:
24
24
 
25
- | Name | CSS | SCSS |
26
- | ------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
27
- | Calcite Headless | @esri/calcite-design-tokens/css <br> @esri/calcite-design-tokens/css/calcite-headless | @esri/calcite-design-tokens/scss <br> @esri/calcite-design-tokens/scss/calcite-headless |
28
- | Calcite Light | @esri/calcite-design-tokens/css/calcite-light | @esri/calcite-design-tokens/scss/calcite-light |
29
- | Calcite Dark | @esri/calcite-design-tokens/css/calcite-dark | @esri/calcite-design-tokens/scss/calcite-dark |
30
- | Calcite Brand Light | @esri/calcite-design-tokens/css/brand-light | @esri/calcite-design-tokens/scss/brand-light |
31
- | Calcite Brand Dark | @esri/calcite-design-tokens/css/brand-dark | @esri/calcite-design-tokens/scss/brand-dark |
32
-
33
- For a full list of tokens and their detailes, please refer to https://developers.arcgis.com/calcite-design-system/tokens
25
+ | Name | CSS | SCSS |
26
+ | ------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
27
+ | Calcite Headless | @esri/calcite-design-tokens/css @esri/calcite-design-tokens/css/calcite-headless | @esri/calcite-design-tokens/scss @esri/calcite-design-tokens/scss/calcite-headless |
28
+ | Calcite Light | @esri/calcite-design-tokens/css/calcite-light | @esri/calcite-design-tokens/scss/calcite-light |
29
+ | Calcite Dark | @esri/calcite-design-tokens/css/calcite-dark | @esri/calcite-design-tokens/scss/calcite-dark |
30
+ | Calcite Brand Light | @esri/calcite-design-tokens/css/brand-light | @esri/calcite-design-tokens/scss/brand-light |
31
+ | Calcite Brand Dark | @esri/calcite-design-tokens/css/brand-dark | @esri/calcite-design-tokens/scss/brand-dark |
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:11 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:11 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:28 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:13 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:31 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -25,6 +25,7 @@
25
25
  --calcite-app-breakpoint-width-md: 1152px; /* min-width size */
26
26
  --calcite-app-breakpoint-width-sm: 768px; /* min-width size */
27
27
  --calcite-app-breakpoint-width-xs: 476px; /* min-width size */
28
+ --calcite-app-breakpoint-width-xxs: 320px; /* Small handheld devices and mini-windows */
28
29
  --calcite-app-spacing-none: 0px;
29
30
  --calcite-app-spacing-28: 288px;
30
31
  --calcite-app-spacing-27: 256px;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:12 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:30 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:11 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:26 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:11 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:28 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:13 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:32 GMT
4
4
  */
5
5
 
6
6
 
@@ -24,6 +24,7 @@ $breakpoint-width-lg: 1440px; // min-width size
24
24
  $breakpoint-width-md: 1152px; // min-width size
25
25
  $breakpoint-width-sm: 768px; // min-width size
26
26
  $breakpoint-width-xs: 476px; // min-width size
27
+ $breakpoint-width-xxs: 320px; // Small handheld devices and mini-windows
27
28
  $spacing-none: 0px;
28
29
  $spacing-28: 288px;
29
30
  $spacing-27: 256px;
@@ -403,6 +404,7 @@ $breakpoint-margin: 24px;
403
404
  --calcite-app-breakpoint-width-md: 1152px; /* min-width size */
404
405
  --calcite-app-breakpoint-width-sm: 768px; /* min-width size */
405
406
  --calcite-app-breakpoint-width-xs: 476px; /* min-width size */
407
+ --calcite-app-breakpoint-width-xxs: 320px; /* Small handheld devices and mini-windows */
406
408
  --calcite-app-spacing-none: 0px;
407
409
  --calcite-app-spacing-28: 288px;
408
410
  --calcite-app-spacing-27: 256px;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 May 2023 18:56:12 GMT
3
+ * Generated on Thu, 12 Oct 2023 18:10:30 GMT
4
4
  */
5
5
 
6
6
 
@@ -0,0 +1,16 @@
1
+ {
2
+ "preset": "ts-jest",
3
+ "testEnvironment": "node",
4
+ "extensionsToTreatAsEsm": [".ts"],
5
+ "moduleNameMapper": {
6
+ "^(\\.{1,2}/.*)\\.js$": "$1"
7
+ },
8
+ "transform": {
9
+ "^.+\\.tsx?$": [
10
+ "ts-jest",
11
+ {
12
+ "useESM": true
13
+ }
14
+ ]
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,18 +1,16 @@
1
1
  {
2
2
  "name": "@esri/calcite-design-tokens",
3
- "version": "1.0.0",
3
+ "version": "1.1.0-next.0",
4
4
  "description": "Esri's Calcite Design System Tokens",
5
- "homepage": "https://github.com/Esri/calcite-design-tokens",
6
5
  "keywords": [
7
6
  "Calcite",
8
7
  "Calcite Design System",
9
8
  "design tokens",
10
9
  "tokens"
11
10
  ],
12
- "main": "./dist/js/calcite-headless.js",
11
+ "main": "./dist/scss/calcite-headless.scss",
13
12
  "type": "module",
14
13
  "exports": {
15
- ".": "./dist/js/calcite-headless.js",
16
14
  "./css": "./dist/css/calcite-headless.css",
17
15
  "./css/brand/dark": "./dist/css/brand-dark.css",
18
16
  "./css/brand/light": "./dist/css/brand-light.css",
@@ -24,85 +22,26 @@
24
22
  "./scss/brand/light": "./dist/scss/brand-light.scss",
25
23
  "./scss/calcite/dark": "./dist/scss/calcite-dark.scss",
26
24
  "./scss/calcite/light": "./dist/scss/calcite-light.scss",
27
- "./scss/headless": "./dist/scss/calcite-headless.scss",
28
- "./js/brand/dark": "./dist/js/brand-dark.js",
29
- "./js/brand/light": "./dist/js/brand-light.js",
30
- "./js/calcite/dark": "./dist/js/calcite-dark.js",
31
- "./js/calcite/light": "./dist/js/calcite-light.js",
32
- "./js/headless": "./dist/js/calcite-headless.js"
25
+ "./scss/headless": "./dist/scss/calcite-headless.scss"
33
26
  },
34
27
  "repository": {
35
28
  "type": "git",
36
- "url": "git://github.com/Esri/calcite-design-tokens.git"
29
+ "url": "git://github.com/Esri/calcite-design-system.git"
37
30
  },
38
31
  "author": {
39
32
  "name": "Esri"
40
33
  },
41
- "contributors": [
42
- {
43
- "name": "Ali Stump",
44
- "email": "astump@esri.com"
45
- },
46
- {
47
- "name": "Erik Harper-Dicianno",
48
- "email": "eharperdicianno@esri.com"
49
- },
50
- {
51
- "name": "Bruno Aires",
52
- "email": "baires@esri.com"
53
- },
54
- {
55
- "name": "Jacques Keet",
56
- "email": "jkeet@esri.com"
57
- },
58
- {
59
- "name": "Manuela Costa",
60
- "email": "mcosta@esri.com"
61
- }
62
- ],
63
- "license": "SEE LICENSE IN README.md",
64
34
  "bugs": {
65
- "url": "https://github.com/Esri/calcite-design-tokens/issues"
35
+ "url": "https://github.com/Esri/calcite-design-system/issues"
66
36
  },
67
37
  "scripts": {
68
- "build:tokens": "node bin/run.js",
69
- "build:ts": "tsc --project tsconfig.prod.json",
70
- "build": "npm run build:ts && npm run build:tokens",
38
+ "build": "ts-node --esm support/run.ts",
71
39
  "clean": "rimraf dist",
72
- "lint:eslint": "eslint --ext .ts,.tsx --fix .",
73
- "lint:markdown": "markdownlint --fix --disable MD024 MD013 MD041 MD033",
74
- "lint:prettier": "prettier --write .",
75
- "lint:staged": "lint-staged",
76
- "lint": "npm run lint:eslint && npm run lint:markdown && npm run lint:prettier",
77
- "prepare": "husky install",
78
- "release": "echo 'release is still TBD. Please message Ali Stump for more information.",
40
+ "lint:json": "prettier --write \"**/*.json\" >/dev/null",
41
+ "lint:md": "markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore && prettier --write \"**/*.md\" >/dev/null",
42
+ "lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
43
+ "lint": "concurrently npm:lint:*",
79
44
  "test": "jest"
80
45
  },
81
- "devDependencies": {
82
- "@tokens-studio/sd-transforms": "^0.8.2",
83
- "@types/jest": "^29.5.0",
84
- "@types/node": "^18.15.11",
85
- "@typescript-eslint/eslint-plugin": "^5.59.2",
86
- "change-case": "^4.1.2",
87
- "eslint": "^8.39.0",
88
- "eslint-config-prettier": "^8.8.0",
89
- "eslint-plugin-jest": "^27.2.1",
90
- "eslint-plugin-jsdoc": "^43.1.1",
91
- "eslint-plugin-prettier": "^4.2.1",
92
- "eslint-plugin-unicorn": "^46.0.0",
93
- "gh-release": "^7.0.2",
94
- "husky": "^8.0.3",
95
- "jest": "^29.5.0",
96
- "markdownlint-cli": "^0.34.0",
97
- "prettier": "^2.8.8",
98
- "rimraf": "^5.0.0",
99
- "shell-quote": "^1.8.1",
100
- "style-dictionary": "^3.7.1",
101
- "token-transformer": "^0.0.27",
102
- "ts-jest": "^29.0.5",
103
- "ts-node": "^10.9.1",
104
- "tslib": "^2.5.0",
105
- "typescript": "^5.0.2",
106
- "yargs": "^17.7.2"
107
- }
46
+ "gitHead": "8ea00eccee8ee6c40b0a1ae9992beb575247532f"
108
47
  }
@@ -0,0 +1,76 @@
1
+ {
2
+ "tokenSetOrder": [
3
+ "core",
4
+ "semantic",
5
+ "component/accordion-item",
6
+ "component/accordion",
7
+ "component/action",
8
+ "component/button",
9
+ "component/split-button",
10
+ "component/fab",
11
+ "component/checkbox",
12
+ "component/chip",
13
+ "component/dropdown",
14
+ "component/dropdown-item",
15
+ "component/action-bar",
16
+ "component/action-bar-grid",
17
+ "component/action-pad",
18
+ "component/action-pad-grid",
19
+ "component/alert",
20
+ "component/avatar",
21
+ "component/block",
22
+ "component/block-section",
23
+ "component/card",
24
+ "component/combobox",
25
+ "component/date-picker",
26
+ "component/color-picker",
27
+ "component/input-date-picker",
28
+ "component/input-datetime-local",
29
+ "component/input-email",
30
+ "component/input-file",
31
+ "component/input-month",
32
+ "component/input-number",
33
+ "component/input-password",
34
+ "component/input-search",
35
+ "component/input-telephone",
36
+ "component/input-message",
37
+ "component/input-time",
38
+ "component/input-text",
39
+ "component/input-week",
40
+ "component/modal",
41
+ "component/notice",
42
+ "component/textarea",
43
+ "component/label",
44
+ "component/link",
45
+ "component/filter",
46
+ "component/loader",
47
+ "component/radio",
48
+ "component/tab-title",
49
+ "component/tabs",
50
+ "component/rating",
51
+ "component/tip",
52
+ "component/tip-manager",
53
+ "component/tooltip",
54
+ "component/panel-header",
55
+ "component/popover",
56
+ "component/pagination",
57
+ "component/segmented-control",
58
+ "component/slider",
59
+ "component/slider-histogram",
60
+ "component/slider-histogram-range",
61
+ "component/slider-range",
62
+ "component/stepper",
63
+ "component/stepper-item",
64
+ "component/switch",
65
+ "component/[template-comp-name]",
66
+ "component/time-picker",
67
+ "component/scrim",
68
+ "component/tree-item",
69
+ "component/accordion_backup",
70
+ "calcite/light",
71
+ "calcite/dark",
72
+ "brand/global",
73
+ "brand/light",
74
+ "brand/dark"
75
+ ]
76
+ }